Skill Merger sound issues

I'm merging skills with their SE and VOX files, everything is merging well,
but the only problem is that the vox ones doesn't sound in game, only the se ones sound in game.
i'm merging skills with their SE and VOX files, everything is merging well
On some skills the se sounds right on each skill, but other merged skills they don't sound right, like the second skill's se sounds on the first skill and reverse.

This could be 2 things:

The skill may simply not be loading a VOX file. The U_0E flag value in the CUS determines what files a skill should load.
The skill/moveset merger is also quite outdated at this point and does have some issues. I plan to update it at some point but its just not a high priority right now.

I use the File Load Tool for that, i tick the skills's file types plus the se and vox, if the value was wrong then there would be infinite loading screen.
Once the skills are merged, the se and vox are merged too, i rename them so they will not overwrite the vanilla se and vox, then i copy their custom names and paste them in the CUS tab.
So why the skill does load the se and not the vox?
I can dm you on discord one of the merged skills to check it out if you want,
i can't attach it here because its not a supported file.

Missing ACB files wont actually cause infinite loading. Have you checked the log to see if they are being loaded?
VOX files need to be named in a specific way in the CUS ACB field. Maybe you've already accounted for this but if not you can find information about it in Eternity's skill guide.
Of course the problem could very well just be a skill merged bug. As I said it does have some known issues, especially with ACB stuff as it was my first time working with those files and doesn't include all the improvements I've made for ACE.


GPIO interrupt register accesses may be unsound

The pointers used to access GPIO interrupt registers are likely to be unsound (due to pointing outside of the original object).
Check if the original object in the PAC is an array, and if it isn't, convert it to an array then update src/gpio/reg.rs functions to index into it.
Originally posted by @9names in https://github.com/rp-rs/rp-hal/pull/147#discussion_r723732755

While I still think that the current code is probably sound, it has a different issue: The register access should be volatile.
The change suggested by @9names, using the PAC accessors, would solve that.


Build page does not fill whole height

I'm only reporting this because I remember there was a different look in earlier version, so I assume this isn't intentional.
This is the full view of the build page for one of our projects:

As you can see, there is a lot of white space at the bottom. It would be nice if the page would fill that space.

That whole page needs to be refactored, in reference to layout. I have a PR (#601) that's a wip for changing the build page substantially.

+1 awesome PR Ilya.
On Mon, Jan 26, 2015 at 10:14 AM, Ilya Radchenko<EMAIL_ADDRESS>wrote:

That whole page needs to be refactored, in reference to layout. I have a
PR (#601 https://github.com/Strider-CD/strider/pull/601) that's a wip
for changing the build page substantially.
—
Reply to this email directly or view it on GitHub
https://github.com/Strider-CD/strider/issues/706#issuecomment-71508394.

--
Niall O'Higgins
W: http://niallohiggins.com
E<EMAIL_ADDRESS>T: @niallohiggins

@niallo need to find time to finish it. Mainly time to understand the job-monitor.


Duplo 20869 TF: Taints support in EKS

Overview
Taint support for ASG and EC2
Summary of changes
Added support for taints to duplocloud_aws_host , duplocloud_asg_profile resources and datasources
This PR does the following:

Updated native host schema with taints attribute
Updated logic for ASG and Host
Updated documentation

Testing performed

[ ] Using unit tests
[ ] Manually, on my local system
[✓ ] Manually, on a remote test system

Describe any breaking changes

...

Task linked: DUPLO-20869 TF: Taints support in EKS


Feature request - coarse graining a network

I would like a functionality to convert a larger street network to one with less amount of nodes: Created by merging nodes that are closer than a threshold.
Sample usage would be something like:
>>> G = ox.graph_from_address("Berlin, Germany", distance=1000, distance_type='bbox')
>>> G.number_of_nodes(), G.number_of_edges()
(2417, 6163)
>>> H = ox.simplify.coarse_grain(G, radius=100) # collapses all nodes within 100m radius
>>> H.number_of_nodes(), H.number_of_edges() # H is a smaller graph
(800, 2400)

I do have a working implementation for this feature, since I needed it for some simulations.
I will be happy to submit it as a PR.

Closed by #339

@debsankha Hey Deb, how are you? Remember me?


(v4) Metadata cache generation doesn't discover entities

Describe the bug
I run
$ mikro-orm cache:generate

and get
MetadataError: No entities were discovered
    at Function.noEntityDiscovered ([project dir]/node_modules/@mikro-orm/core/utils/errors.js:121:16)
    at MetadataValidator.validateDiscovered ([project dir]/node_modules/@mikro-orm/core/metadata/MetadataValidator.js:28:41)
    at MetadataDiscovery.findEntities ([project dir]/node_modules/@mikro-orm/core/metadata/MetadataDiscovery.js:67:24)
    at async MetadataDiscovery.discover ([project dir]/node_modules/@mikro-orm/core/metadata/MetadataDiscovery.js:32:9)
    at async Object.handler ([project dir]/node_modules/@mikro-orm/cli/commands/GenerateCacheCommand.js:23:9) {
  entity: undefined,
  name: 'MetadataError'
}

My config looks pretty simple:
module.exports = {
	entitiesDirsTs: ['./src/entities'],
	entitiesDirs: ['./lib/entities'],
	dbName: 'temp',
	type: 'postgresql',
};

The entities are indeed in ./src/entities, and Typescript builds them out to lib.
To Reproduce
I can create a reproduction if needed, but I suspect the docs need updating because the config option is now entitiesTs, no?
Either way, if I omit those config options it still doesn't discover the entities.
Expected behavior
Expected entity discovery to succeed.
Versions

Dependency
Version

node
12.16.1

typescript
3.9.5

mikro-orm
"@mikro-orm/core": "4.0.0-alpha.5", "@mikro-orm/postgresql": "4.0.0-alpha.5", "@mikro-orm/cli": "4.0.0-alpha.5",

your-driver
Postgresql

Create repro. Live docs are for v3.

Here's a minimal repro: https://github.com/thekevinbrown/mikro-659

All docs are generated from master, so v4 will be there once we merge #527 (which for me means first RC release).
And as you mentioned, in v4 its entities and entitiesTs, so that will be probably why its not working for you. entitiesDirs and entitiesDirsTs are no longer there.

Now I'm getting
MetadataError: Entity 'MikroOrm' not found in ./lib/mikro-orm.config.js
    at Function.entityNotFound (/Users/kevin/development/mikro-659/node_modules/@mikro-orm/core/utils/errors.js:105:16)
    at MetadataDiscovery.getEntityClassOrSchema (/Users/kevin/development/mikro-659/node_modules/@mikro-orm/core/metadata/MetadataDiscovery.js:620:41)
    at MetadataDiscovery.discoverDirectories (/Users/kevin/development/mikro-659/node_modules/@mikro-orm/core/metadata/MetadataDiscovery.js:90:33)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async MetadataDiscovery.findEntities (/Users/kevin/development/mikro-659/node_modules/@mikro-orm/core/metadata/MetadataDiscovery.js:65:9)
    at async MetadataDiscovery.discover (/Users/kevin/development/mikro-659/node_modules/@mikro-orm/core/metadata/MetadataDiscovery.js:32:9)
    at async Object.handler (/Users/kevin/development/mikro-659/node_modules/@mikro-orm/cli/commands/GenerateCacheCommand.js:23:9) {
  entity: undefined,
  name: 'MetadataError'
}

I've updated the repo.

Ok, it discovers the entities now, but says:
$ mikro-orm cache:generate
Metadata cache was successfully generated
✨  Done in 3.96s.

But there's no ./temp that's created.

Because it thinks that your orm config is an entity...

Caching is disabled by default in v4.

Ah, well it probably shouldn't say "Metadata cache was successfully generated" if the cache is disabled and it didn't actually generate it.
I'll do a PR for this.


Add Persian Translations for v4.0.1

@sbwalker @hishamco  Please check the PR
Thanks

We'll be grateful if this PR merge into base branch at your earliest convenience.
Thank you.
@sbwalker @hishamco

@sbwalker there are a few PR's not procesed the oldest is from 2021, opened on Dec 13, 2021.


No CHANGELOG for newer versions

there seems to be no changelog info for 10.x versions

Please see GitHub Releases for all new releases.
https://github.com/bokmann/business_time/releases


VSCode high CPU when browse Native-base StyleProvider and React-native 0.60.4

Hi,
I post this specific ReactNative/Native-base weird behavior here because maybe it's a parse/eslint/jsx/etc... problem with all this big stuff.
Already posted here : https://github.com/GeekyAnts/NativeBase/issues/2849#issue-476933146
I've isolated a weird behavior in my workflow.
I'm using :
Win10 pro, Version : 1903, build : 18362.239
vscode 1.36.1
RN 0.60.4
Native-base 2.13.4 with theme ejected and up to date
As soon as i open the file that containing the styleProvider component and modify it, intellisence goes very slow on all the other files.
When i look at my process explorer, it looks like this screenshot above and it never improve before i restart VScode even if i close the problematic file.

Here a simple exemple that has the problem :
import React, { Component } from 'react';
import { Root, StyleProvider } from 'native-base';
import getTheme from '../native-base-theme/components';
import platform from '../native-base-theme/variables/platform';
import Main from './Main';
export default class App extends Component {
  constructor(props) {
    super(props);
  }
  render() {
    return (
      <Root>
        <StyleProvider style={getTheme(platform)}>
          <Main />
        </StyleProvider>
      </Root>
    );
  }

A workaround is to isolate this piece of code and never open it to keep vscode stable.
I've no error or warning due to lint/flows/etc..
It worked nice before my migration to RN 0.60.4 from RN 0.59.9

This issue is still present even with the last release of VScode 1.37.0
Also, an other person get the intellisence type script problem here : https://github.com/GeekyAnts/NativeBase/issues/2864

Can you please share a small, complete example project that demonstrates this issue
/needsMoreInfo

Thanks for replying.
You have to get a React native project : https://facebook.github.io/react-native/docs/getting-started.html from React native CLI quick start part (you don't need to setup an emulator device, just a react native project, the goal is to get a project with node_modules)
Once you get it, go inside your new project, and install Native-base with : yarn add native-base
then eject the theme folder with this command : node node_modules/native-base/ejectTheme.js (source https://docs.nativebase.io/Customize.html#theaming-nb-headref) the goal is to get a file that is causing the issue. Now you have a new folder named : native-base-theme
Go inside and open this file for exemple : native-base-theme\variables\platform.js
after a few second, you can see that a 10 or 15% CPU load is appeared and never go down even if you close this file.

Does this reproduce in the latest VS Code insiders build with all extensions disabled?


In screen reader mode, users have to tab bw activity bar sections

enable screen reader mode
focus the activity bar
try to use the down arrow key to reach the bottom section of the activity bar
🐛 users have to use tab or shift tab

@sandy081 do you know of any difference in how this works for screen reader mode that could explain this?

I can use the down key to reach the bottom, but then I can't use the up key to go back up; focus gets stuck on the Account icon.

Confirmed that I still see the issue on the latest Insiders on Windows 11.

Closing as I have seen no users reporting that this is an issue for them


fix #986 use posix path, so windows workflow works

Based on Jeremy's feedback on #986, I've spend today trying to fix it.
Problem
The problem was that windows gave windows path outputs, which makes the github actions workflow break (which uses ubuntu-latest and therefore outputs a different path).
Change
I've had to add as_posix() to 2 modules:
doclinks (1 time) and maker (2 times)
Open issue
My PR has another change, namely "display_name": "Python 3.10.0 64-bit", It's due to kernelspec being allowed als nb metadata_keys in clean_nb:
    "Clean `nb` from superfluous metadata"
    metadata_keys = {"kernelspec", "jekyll", "jupytext", "doc"}

Kernelspec could be removed, but I didn't dare, maybe you've left it in for a reason
Final note
Now I've had to jump through some hoops since on windows nbdev_export has some unicode problem with the sign for apl ⍝, which made the whole thing fail. Changed it temporarily to be able to run export and discarded this change.
And this is my first contribution to open-source software, I really hope I'm doing things right...
Thanks Jeremy and Hamel for the great software, love fastpages as well.

Good job! :D
I'll take a look at the kernel spec issue.

#995 should improve the display_name thing.


Add integrity-check command to irmin-fsck

Adds an integrity-check command to irmin-fsck
Updates src/irmin-pack/checks_intf.ml with Integrity_check and Reconstruct_index definitions

Needed for https://github.com/tarides/tezos/issues/8

Closes #1195

This only works for normal (i.e. not layered) stores. Could you detect if it's a layered store (maybe using https://github.com/mirage/irmin/blob/master/src/irmin-pack/checks.ml#L45 ?) and call the corresponding integrity-check if it is?

@icristescu I made that update and think this is ready for me to merge if you everything looks good


metrics.reset_state ignores shape of weights

Please go to TF Forum for help and support:
https://discuss.tensorflow.org/tag/keras
If you open a GitHub issue, here is our policy:
It must be a bug, a feature request, or a significant problem with the documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
Here's why we have that policy:.
Keras developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.
System information.

Have I written custom code (as opposed to using a stock example script provided in Keras): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): mac os x 12.3
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.8.0
Python version: 3.8.7
Bazel version (if compiling from source): NA
GPU model and memory: NA
Exact command to reproduce: (source below)

Describe the problem.
The Metric.reset_state method assigns scalar 0 to all variables. AFAIK it is not otherwise documented that all weights in Metric must be scalar or that reset_state should be overridden.
Describe the current behavior.
A subclass of Metric that uses non-scalar weights will cause a ValueError is reset_state is called, e.g. between training epochs.
Describe the expected behavior.
Options, in decreasing order of personal preference:

reset_state should not raise an Exception for subclassed Metrics with non-scalar weights

e.g. Metric.reset_state (here) should use backend.zeros_like instead of literal 0

Or using non-scalar weights should raise an exception or error unless reset_state is overridden
Or a note should be added to the documentation to encourage developers to override reset_state when they subclass Metric

Contributing.

Do you want to contribute a PR? (yes/no): no
If yes, please read this page for instructions
Briefly describe your candidate solution(if contributing):

Standalone code to reproduce the issue.
The following code raises an exception ValueError: Cannot assign value to variable ' weight:0': Shape mismatch.The variable shape (2,), and the assigned value shape () are incompatible.
from tensorflow.keras.metrics import Metric

class MyMetric(Metric):
    def __init__(self, *args, **kwargs) -> None:
        super().__init__(*args, **kwargs)
        self.add_weight("weight", shape=(2,))

    def update_state(self, y, y_hat):
        pass

    def result(self):
        return 1.

m = MyMetric()
m.reset_state()

@gadagashwini ,
I was able to reproduce the issue in tf v2.8, v2.7 and nightly.Please find the gist here.

This is expected behavior -- if you create any element of state, then you should also override update_state and reset_state.
We could make the default behavior of reset_state more general by taking into account the shape of the variable, but it wouldn't change the requirement that it needs to be overridden in order to make sure it does what you want. Is this a PR you'd like to work on (making the default reset_state set variables to 0 in a shape-dependent way?)

Thanks for the clarification!
I can probably submit a PR with a shape-aware zero-out implemented for Metric in the next few days, I will give that a go.
If you have any control over the docs here I would separately plead for a description of the expected behavior you describe above to be documented there since only __init__, update_state and result are called out there by name as needing to be overridden.  Thanks!


Cant view value in the edit form

Hi im using this in my rails 4 app
If I use the datepicker on the form in the edit part the value of the date field is empty and the datepicker is not selected with the value date form the database.
If need any more info let me know. thanx

      Fecha

        <input class="form-control" value="2014-02-14 13:47:00" type="text" name="training[date]" id="training_date">

where's the javascript for the picker?

on my application.js
$(function () {
    $('#datetimepicker2').datetimepicker({
        locale: 'es',
        format: 'DD/MM/YYYY h:mm a',
    });
});

your format string is not the sames as the textbox values'. Use extraFormats, change the dp's format or change the textbox value format

you can see that the date is not selected in the datepicker or the text_field

ok ill check that out and let you know

Thank it works I dnt see that. :+1:

np glad you got it working

Just another issues that I encontre is that if I have this value: 2015/04/22 09:59 am  on the view i get 2015/04/22 09:59 am  but if I go and edit it I get 2015/04/22 12:59 am

:+1:

@Frank004 can u help me understand what you ended up making your settings looks like, which made it work for you. I am still not able to display my date on the edit form.
Following is how I see the HTML with a date being displayed in my edit form:
<input class="form-control date-time" type="text" value="2015-09-14 05:44:00 UTC" name="talk[starts_at]" id="talk_starts_at">

and following is my application.js
$('.date-time').datetimepicker();
In my controller I have following to store the date submitted from the form:
def talk_params
      valid = params.require(:talk).permit(:topic, :details, :starts_at, :duration, :event_id, :tag_list)

      date_format = '%m/%d/%Y %I:%M %p'
      offset = DateTime.now.strftime('%z')
      valid[:starts_at] = valid[:starts_at] != '' ? DateTime.strptime(valid[:starts_at], date_format).change(:offset => offset).to_s : valid[:starts_at]
      valid
end

please help me also resolve this.
Many thanks

@sanjusoftware  Hi sorry for the late replay I endup doing this:
 <%= f.text_field :start_date, class: 'form-control', :value => (@varible.start_date.blank? ? '' : @varible.start_date.strftime('%d/%m/%Y'))  %>

so if I have a value in the column it will display in the field.

Thanks Frank, that worked!


data: project addition by

Add a new project to the list
Want to add Fruit Ninja Game built using HTML,CSS and JavaScript.
Code of Conduct

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

hey, @Mukesh751 you've created another same issue. you don't need to add multiple issues to add multiple projects at a time. You can add multiple projects by creating a single issue.
so I'm closing this issue.


In projects named warehouse, Snowflake warehouse config gets confused

Describe the bug
If a dbt project is named warehouse, almost all Snowflake models running in the 0.15.0 beta release experience the following error:
Database Error in model my_model (models/my_model.sql)
  001003 (42000): SQL compilation error:
  syntax error line 1 at position 14 unexpected '{'.
  compiled SQL at target/compiled/my_project/my_model.sql

This is caused by the changes in #1788, which allow per-model Snowflake warehouse specification using a warehouse config argument. If a dbt project is also named warehouse, confusion ensues.
In an example dbt_project.yml:
name: warehouse
. . .
models:
  warehouse:
    enabled: true
    materialized: view
    schema: analytics

For all models that do not have a warehouse config argument specified, Instead of skipping the use warehouse statement altogether, dbt is running
On my_model: use warehouse {'enabled': True, 'materialized': 'view', 'schema': 'analytics'}

I believe the relevant line is here of pre_model_hook, whereby config.get('warehouse', default_warehouse) returns... not the warehouse we're looking for.
Steps To Reproduce
Name your dbt project warehouse, and run any model on Snowflake without a warehouse config.
Expected behavior
A model with no warehouse config should always behave exactly the same as a model configured
{{config(
    warehouse = target.warehouse
) }}

System information
Which database are you using dbt with?

[x] snowflake

The output of dbt --version:
installed version: 0.15.0-b2
   latest version: 0.14.3

Your version of dbt is ahead of the latest release!

Additional context
The easiest solution here is to rename the dbt project to something other than warehouse. For that reason, I would understand if this is a #wontfix

Oh no, this is terrible. I think we need to add warehouse to the list of blacklisted project names in contracts/project.py, at least.

I just tested a project that is not named warehouse but which does have a models subdirectory named warehouse, with config present in dbt_project.yml. That also results in this error.
Is there a way to more tightly scope the {{config.get()}}? Or enforce that its type must be a str?

@beckjake let's rename warehouse to snowflake_warehouse to fix this specific problem.
Let's also revisit this question in a future release to figure out how to make dbt's config structure unambiguous. This will all break if people have projects or paths named sort, bind, dist`, etc etc etc which is not what we want here long term


Just show default image

The documentation describes the files property to show an initial image, which should be uploaded immediately. Is there a way to just show an image without uploading it?
My usecase is an avatar upload:

If the user has not uploaded anything yet, it shows the default empty template.
The user uploads an image.
Next time the user goes to his profile page, he sees the uploaded image

Two options I think:

Set the default empty template as a background image on the drop area.

Use the file poster plugin and add a stub file.

Thanks!

Good day @Konafets and @rikschennink
I have same concern but my usecase is similar to this,

There is a file already uploaded.
When the user wants to update a file, can see first the file as a preview before doing the upload.

I am using Filepond on react.
Below is are some plugins and the file poster
import { FilePond, registerPlugin } from 'react-filepond'
import FilePondPluginImagePreview from 'filepond-plugin-image-preview'
import FilePondPluginFilePoster from 'filepond-plugin-file-poster'
...other plugins
import 'filepond/dist/filepond.min.css'
import 'filepond-plugin-image-preview/dist/filepond-plugin-image-preview.min.css'
import 'filepond-plugin-file-poster/dist/filepond-plugin-file-poster.css'

registerPlugin(
    ...other plugins
    FilePondPluginImagePreview,
    FilePondPluginFilePoster
)

export default FilePond

And below is the component itself.
    const [file, setFile] = useState({
        source: '12345', //don't know what should be the value
        options: {
            type: 'local',
            file: {
                name: 'hedgehog.jpg',
                size: 189397, //correct size of the file
                type: 'image/jpeg'
            },
            metadata: {
                poster: 'http://localhost:3000/uploads/5e5a7981e1ee0b2128aa9ea6_hedgehog.jpg'
            }
        }
    })

return (
        <Uploader
            ref={ref => pond = ref}
            file={file}
            allowFileSizeValidation={true}
            maxFileSize="50mb"
            instantUpload={false}
            name='items'
            allowMultiple={false}
            allowFilePoster={true}
            onupdatefiles={fileItems => setMetadata(fileItems)}
            onprocessfile={(error, file) => {
                if (file && file.serverId)
                    d(setFileProp({ filenameExt: file.serverId }))
            }}
            onprocessfileprogress={(file, progress) => {
                if (file && file.status) {
                    d(setFileProp({ isUploading: file.status === 3 }))
                    d(setFileProp({ hasFileAdded: false }))
                }
            }}
            labelIdle='Drag & Drop files or Browse'
            server={`${apiBaseUrl}api/uploads/`}
        />
    )

But when the component is mounted, it won't display the image url.
I am hoping that you can help me. Thank you.

The files property can actually take an array with options, setting type option to local, prevents it from uploading again
file: {
    source: response.data.data.image,
    options: {
       type: 'local'
    }
}

@Riaan-ZA thank I'll try that

@Riaan-ZA I have the example below
https://codesandbox.io/s/filepond-file-poster-or-default-file-6xdlz
but it can render a preview of a remote image.
Do you have any idea that can help? Thank you.

I could finally figure a way which is not optimal to load the image. Check this answer on stackoverflow:

they have a great library and good documents but some little details are missing from the Docs, I hope they update the docs


chore(main): release protocol 1.3.0

:robot: I have created a release beep boop
1.3.0 (2024-04-10)
Features

protocol: add TaikoL1.getTransition(blockId, transitionID) function (2c63cb0)
protocol: allow assigned prover to prove blocks outside proving window (liveness bond not returned) (2c63cb0)
protocol: allow bridge to fail a message by the owner without retrying it (#16669) (dce651e)
protocol: remove contestations from TransitionState and events (it's buggy) (2c63cb0)
protocol: use 35000 as gas limit for sending Ether in Brdge (#16666) (4909782)

Bug Fixes

protocol: add GovernorSettingsUpgradeable (#16687) (eba82ba)
protocol: check invocation gas limit also in retryMessage (#16660) (8209a43)
protocol: check no loops in multi-hop in Bridge (#16659) (447cd52)
protocol: fix potential 1271 signature replay if proposers are smart contracts (#16665) (2b27477)
protocol: return liveness bond only to assigned prover (2c63cb0)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/taikoxyz/taiko-mono/releases/tag/untagged-3c5181e37e972d67d06f :sunflower:


vulnerability report

https://www.linkedin.com/feed/update/urn:li:activity:7058831264375549952/?origin=SHARED_BY_YOUR_NETWORK
I saw your repost on linkedIn.
http://buildbear.io/ and or competitors.
Could be interesting to generate such as report and show to Nexlabs users.
Please make a short list/overview of a couple of these tools and the result

Do you mean explaining attacks and vulnerabilities on a doc? If yes is the answer, yes I can.

Not explaining in general.
I would like you to generate reports that analyse our smart contract for vulnerabilities and then we can publish the findings.


Design mobile view landing page

https://www.figma.com/file/DnC164r4V3pl8RWdOPCnFi/Github-Links?node-id=989%3A13786


Refactoring in setup.py

I suggest refactoring in setup.py. @kennethreitz has published this great repository. We will use this project as great example of setup.py for us.

✨🍰✨

Hope you enjoy!

@kennethreitz Yet another cool project by You. Of Course I'm enjoy! Thanks!


Render combining characters in different color in the F1 list (in keybindings)

@alexandrudima is this not applying to any place where we show keybindings? e.g.

quick open (commands)
watermark
tooltips that show the keybinding in hover

I haven't added it yet on my side. I used to have a getHTMLLabel() that would do a slightly better rendering that was used in the tooltips, but @aeschli took that out once we moved the hover to markdown.
LMK how you would like to approach this. I can revive the getHTMLLabel() (I would use <span> to color it differently) or I can add a getMarkdownLabel() (not sure how to render it differently).

@alexandrudima the tooltips are native and cannot show HTML.

I was talking about these keybinding hovers:

Meanwhile I guess you were talking about these ones:

We can also drop this feature request and not do anything about it.
It was just a thought I had that it would be nice to render the combining characters in a special color, as they do it here:

:+1: for closing since we won't be able to do anything about the menus and native tooltips.

Let's discuss tomorrow in person 👍

We decided that this is a bit too crazy :).


fix(tab-bar): error in calculating the width of tab items

背景描述

TabBar在计算是否可滚动时的contentWidth是所有item宽度之和，但是当item宽度存在小数点时，使用offsetWidth无法取到精确值而造成1px左右误差，使得contentWidth大于wrapperWidth而出现滚动。如iphone6 safari
主要改动

item宽度获取由offsetWidth，改为getBoundingClientRect
需要注意

Codecov Report

Merging #601 into dev will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##             dev    #601   +/-   ##
=====================================
  Coverage   81.3%   81.3%
=====================================
  Files         98      98
  Lines       2835    2835
  Branches     553     553
=====================================
  Hits        2305    2305
  Misses       374     374
  Partials     156     156

Impacted Files
Coverage Δ

components/tab-bar/index.vue
87.71% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


self-hosted etcd pods need to tolerate master node taint

Not sure if we can add tolerations to the spec: https://github.com/kubernetes-incubator/bootkube/blob/master/pkg/util/etcdutil/migrate.go#L127
Example of other master components: https://github.com/kubernetes-incubator/bootkube/blob/master/pkg/asset/internal/templates.go#L317-L322
/cc @hongchaodeng @xiang90

hrm... i am wondering how tests can pass without toleration on etcd pods.

@aaronlevy
we need to add toleration to both the seed etcd pod (in bootkube) and the actual self hosted etcd pods, right?

toleration is already added for etcd operator.

@xiang90 tests are passing due to a bug in flannel that actually strips the taints -- but once we merge a fix for that (https://github.com/kubernetes-incubator/bootkube/issues/454) self hosted etcd stops working until we have tolerations on the etcd pods.

Also seed pod is a static pod -- and the taints are only scheduler based right now (so static pods are unaffected).

Also seed pod is a static pod

let's add the toleration anyway? in case it breaks in the future.

Not opposed - but the taint is actually different for a kubelet enforced taint (noExec vs noScheduler) -- and noExec isn't implemented. We could tolerate all of them-- but seems overkill right now

This may well be why scale test hasn't been passing: https://github.com/coreos/mantle/issues/567

This was only just merged yesterday though: https://github.com/kubernetes-incubator/bootkube/pull/434

and noExec isn't implemented.

good point. fine with me.

etcd operator and etcd pods tolerate taints now. we can close this. cc @aaronlevy

closed in https://github.com/kubernetes-incubator/bootkube/pull/461


Exploring a Fresh Style Inspired by Threads.com

I came across an exciting project called Threads.com (https://threads.com/) that features a youthful web3 style with stunning animations. This social software is currently gaining popularity, and I believe it could serve as a fantastic source of inspiration for your project.
Would you be interested in exploring this vibrant style for a new project? Looking forward to your response.

Looks cool, but page performance is not that good.
If you can suggest any lightweight modern design, that will be great/

it is so heavyyyyyy


TypeError: Cannot read properties of null (reading 'useState')

When I add
 <ProgressBar percentageValue={ 32 } marginTop="mt-2" />

it correctly displays the progressbar when automatically reloading the site, but throws the error TypeError: Cannot read properties of null (reading 'useState') when I manually load the site.
Full error message:
cont_2-frontend-1  | Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
cont_2-frontend-1  | 1. You might have mismatching versions of React and the renderer (such as React DOM)
cont_2-frontend-1  | 2. You might be breaking the Rules of Hooks
cont_2-frontend-1  | 3. You might have more than one copy of React in the same app
cont_2-frontend-1  | See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
cont_2-frontend-1  | TypeError: Cannot read properties of null (reading 'useState')
cont_2-frontend-1  |     at Object.useState (/node_modules/react/cjs/react.development.js:1622:21)
cont_2-frontend-1  |     at /node_modules/@tremor/react/dist/cjs/index.js:249:382363
cont_2-frontend-1  |     at renderWithHooks (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5658:16)
cont_2-frontend-1  |     at renderIndeterminateComponent (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5731:15)
cont_2-frontend-1  |     at renderElement (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7)
cont_2-frontend-1  |     at renderNodeDestructiveImpl (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11)
cont_2-frontend-1  |     at renderNodeDestructive (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14)
cont_2-frontend-1  |     at renderForwardRef (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5859:5)
cont_2-frontend-1  |     at renderElement (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6005:11)
cont_2-frontend-1  |     at renderNodeDestructiveImpl (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11)
cont_2-frontend-1  | error - TypeError: Cannot read properties of null (reading 'useState')
cont_2-frontend-1  |     at Object.useState (/node_modules/react/cjs/react.development.js:1622:21)
cont_2-frontend-1  |     at /node_modules/@tremor/react/dist/cjs/index.js:249:382363
cont_2-frontend-1  |     at renderWithHooks (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5658:16)
cont_2-frontend-1  |     at renderIndeterminateComponent (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5731:15)
cont_2-frontend-1  |     at renderElement (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7)
cont_2-frontend-1  |     at renderNodeDestructiveImpl (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11)
cont_2-frontend-1  |     at renderNodeDestructive (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14)
cont_2-frontend-1  |     at renderForwardRef (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5859:5)
cont_2-frontend-1  |     at renderElement (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6005:11)
cont_2-frontend-1  |     at renderNodeDestructiveImpl (/frontend/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) {
cont_2-frontend-1  |   page: '/'
cont_2-frontend-1  | }

Am I doing something wrong or is this an issue with tremor?

Solved it. The solution might have been to install the packages with npm instead of yarn.


Some HTML player bugs

For platformer example, there's no sound. Checked in Chrome, Opera and Firefox.
The platformer example can't run in IE11. All I can see is a grey background.
I the 3D platformer example you can't see the 3d models for player and the enemy. Also the sky texture is missing.

The HTML5 has evolved a lot since Feb 2014, it still has bugs but probably different ones, so let's archive this one.


Automatic repair of json for langchains agent

Left:  repaired Json
Right: original Json

This is a potential fix for #420 #421 #430
Tested an seems to work.

This looks neat! I want to dig into it for a minute but this seems like a great idea

I'm not too familiar with the package but IMHO it's worth trying. I did see some other wrong chars occasionally. A few thoughts:

we don't want to strip too much and lose track, either
but as long as we log everything, IMHO it's fine
I'm going to look into a more extensive logging system. We need it for LLM prompts/responses, stack traces, FE requests, print vars like this.

Took a look at the library. It's definitely a little hacky, but I think it's one of those LLM hacks that probably works very well in practice 😅 I say we get this in
Thanks for the contribution!

Hi! Thanks for checking out my library, while the repair actions are a bit hacky, the parser is very solid and at this point it's been tested against a lot of LLMs quite successfully.
One comment here about performance, you will be better off just using the json_repair.loads() drop in replacement instead of the current code, you won't get the diff between original and repaired but it will be faster (in the current code json.loads() and json.dumps() are called a few times).
Then you can run the current code behind a debug flag if you need to check out the diff for debug reasons.
In any case, always happy when someone finds my brainchild useful. If you have any questions or feature requests or bugs please let me know by opening an issue!
Cheers

@mangiucugna thanks for the tip! Seems like this will be really helpful for us

https://github.com/outlines-dev/outlines might be the best solution. when implemented, it will never output improper json, or any chosen schema/regex


WebView and national encoding

Windows 10

I use HARBOUR

Can you plain explain more carefully what this issue is about? Thanks.

Yes. For example:
function Main()
local oWebView := TWebView():New()
oWebView:SetHTML( Html() )
oWebView:Run()
oWebView:Destroy()
return nil
function Html()
local cHtml
TEXT INTO cHtml
data:text/html,

Using WebView from FWH
Test

ENDTEXT
return cHtml
That's how everything works fine and the Test button will appear. But if the word Test is changed to some other, in Cyrillic encoding, then nothing will happen

Thanks for providing more information. Can you please put your code into a code block so that it is formatted neatly, and specify the programming language/bindings used?

Windows 10 64, "HARBOUR" - is a desktop language (a la xBase) Spain
function Main()
   local oWebView := TWebView():New()

   oWebView:SetHTML( Html() )

   oWebView:Run()
   oWebView:Destroy()
return nil

function Html()
   local cHtml

   TEXT INTO cHtml
      data:text/html,

            <button onclick='MyFunction( )'>Test</button>

   ENDTEXT
return cHtml

That's how everything works fine and the Test button will appear. But if the word Test is changed to some other, in Cyrillic encoding, then nothing will happen

I found your forum post:
https://forums.fivetechsupport.com/viewtopic.php?t=42747
Which version of the core webview library are you using?

Can you please update your example code (add the problematic text) so that it produces the unwanted result?

Thanks for providing more information. When I asked for the version of the core webview library, I meant the library provided in this repository. Are you using a specific version or Git commit, or the latest code in the master branch?

I downloaded WebView 2 from here:
https://developer.microsoft.com/en-us/microsoft-edge/webview2/

Please let me try to clarify.
This Git repository provides a library named "webview" which is not the same thing as (Microsoft) WebView2. This library uses WebView2 on Windows and other underlying libraries on other platforms. This library is also not the same thing as what is being used directly in your code example.
Given the fact that you were referred to this Git repository, it means that you are using language bindings somehow on top of the core webview library provided here. My question was about the version of the core webview library.
While I cannot provide assistance for the language of your choice and other things outside the scope of the core library, I have made a simple C example for Windows that does not have the issue you described.
This shows that the core webview library (and WebView2) can work with the text you provided on my own machine.
#include "webview.h"
#include <Windows.h>

int WINAPI WinMain(HINSTANCE hInt, HINSTANCE hPrevInst, LPSTR lpCmdLine,
                   int nCmdShow) {
  webview_t w = webview_create(0, NULL);
  webview_set_title(w, "Issue 902");
  webview_set_size(w, 480, 320, WEBVIEW_HINT_NONE);
  webview_set_html(w, "<button onclick='alert(111)'>Пример</button>");
  webview_run(w);
  webview_destroy(w);
  return 0;
}

This was compiled with GCC 12.2.0.

If you are using the latest code in the master branch then this should be the expected result; otherwise it may depend on the version of the core library you are using or something else entirely.

I use MicrosoftEdgeWebView2RuntimeInstallerX86.exe
This example works correctly:
oWebView := TWebView():New()

  cHtml:="<button onclick='alert(111)'>Test</button>"

  oWebView:SetHTML(cHtml)
  oWebView:Run()
  oWebView:Destroy()

This example does not work:
oWebView := TWebView():New()

  cHtml:="<button onclick='alert(111)'>Пример</button>"

  oWebView:SetHTML(cHtml)
  oWebView:Run()
  oWebView:Destroy()

Try adding <meta charset="UTF-8" /> to your  and see if that resolves your issue.

Thanks for your reply. Where should I download Webview 2   x86 ?

Are you asking about the WebView2 SDK? If so then you can get it from NuGet. We have instructions in this project's readme. If you are talking about the WebView2 Runtime then you already have that (you posted the link earlier).

Sorry, I got it

Is it fair to assume that the issue has been resolved based on the solution presented in the forum post linked earlier?

To some extent, you helped me understand the situation !

Message ID:  <webview/webview/issues/902/1424201826 @ github . com>

--
natter

Can we close this issue then?

Yes !

Can we close this issue then?

--
natter


DotNetCoreCLIV2 push has no ability to skip duplicates

Required Information
Question, Bug, or Feature?
Type: Feature
Enter Task Name: DotNetCoreCLIV2
list here (V# not needed):
https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/DotNetCoreCLIV2
Environment

Server - Azure Pipelines

Agent - Hosted

Issue Description
A pipeline that tries to push a NuGet package can result in a 409 (Conflict) if the pipeline is run again with no change in the version number.
For example, if the following YAML is run more than once (with no project changes), all runs (except the first) result in an error:
steps:
- task: DotNetCoreCLI@2
  inputs:
    command: 'pack'
    packagesToPack: '**/*.csproj'
    versioningScheme: 'off'

- task: DotNetCoreCLI@2
  continueOnError: true
  inputs:
    command: 'push'
    packagesToPush: '$(Build.ArtifactStagingDirectory)/*.nupkg'
    nuGetFeedType: 'internal'
    publishVstsFeed: 'XXXXXXXX'

Pushing XXXX.1.0.0.nupkg to 'https://XXXX.pkgs.visualstudio.com/_packaging/XXXX/nuget/v2/'...
PUT https://XXXX.pkgs.visualstudio.com/_packaging/XXXX/nuget/v2/
Conflict https://XXXX.pkgs.visualstudio.com/_packaging/XXXX/nuget/v2/ 72ms
To skip already published packages, use the option --skip-duplicate
error: Response status code does not indicate success: 409 (Conflict - The feed already contains 'XXXX 1.0.0'. (DevOps Activity ID: CCA0F039-7739-4D8A-9B96-BC42DBCCEA1C)).

Per the error message, I need to set --skip-duplicate, but there is no way to set it. I tried adding an arguments value and inspected the source code, but I don't see any easy solutions.
Error logs

Pushing XXXX.1.0.0.nupkg to 'https://XXXX.pkgs.visualstudio.com/_packaging/XXXX/nuget/v2/'...
PUT https://XXXX.pkgs.visualstudio.com/_packaging/XXXX/nuget/v2/
Conflict https://XXXX.pkgs.visualstudio.com/_packaging/XXXX/nuget/v2/ 72ms
To skip already published packages, use the option --skip-duplicate
error: Response status code does not indicate success: 409 (Conflict - The feed already contains 'XXXX 1.0.0'. (DevOps Activity ID: CCA0F039-7739-4D8A-9B96-BC42DBCCEA1C)).

Workaround:
- task: NuGetAuthenticate@0

- pwsh: |
    Get-ChildItem -Recurse $(Build.ArtifactStagingDirectory) *.nupkg
      | ForEach-Object {
          dotnet nuget push $_.FullName --source https://pkgs.dev.azure.com/XXXX/_packaging/XXXX/nuget/v3/index.json --api-key AZDO --skip-duplicate
        }

We recommend using one of the two workarounds:

Use NuGet Authenticate task followed by a script task that does the dotnet command with --skip-duplicate
Use the "custom" command with the dotnet task and use the arguments option to add --skip-duplicate

Azure Artifacts no longer takes new feature requests or feature contributions for the bulkier package type tasks (nuget/dotnet/npm/maven/python) to restore/install or push packages to and from Artifacts feeds. The encouraged way to set up authentication is the authentication specific tasks such as NuGet Authenticate in this case. Contributions to these bulkier tasks is now limited to critical bug fixes.

now limited to critical bug fixes.

Is Azure DevOps moving into support mode so that development can be focused on GitHub?

+1 fall into the same situation. In order to be able of retry a job and at the same time avoid have to have the Conflict response, we need to pass --skit-duplicate but it is not possible with the DotNetCLI. I find the response that "it is not taking any feature request" vague and not what we expect from a supported product (ADO and the pipelines) which is getting new features.
Also, this is a bug to be honest. The arguments are passed to the underlying CLI when using all other types of commands, but the push one. It should respect whatever the user pass in the arguments.
The solution to fallback to the NuGetCommand is far from ideal some we get deprecation warnings now:
WARNING: The credential plugin model used by '/home/vsts/work/_tasks/NuGetCommand_333b11bd-d341-40d9-afcf-b32d5ce6f23b/2.216.0/CredentialProvider/CredentialProvider.TeamBuild.exe' is deprecated. Please contact the provider of the plugin for an alternative. More information about the recommended plugin model can be found at 'https://aka.ms/nuget-cross-platform-authentication-plugin'.

It's 2024 , the recomendation is to move from NuGet push task to dotnetCLI task and then use the push command but we can't use the skip flag. Now we should bypass using powershell ? Messy

And the allowPackageConflicts:true does not work for external sources


Update checkmarx-ast-cli binaries with 2.0.11

Updates checkmarx-ast-cli to 2.0.11
Auto-generated by [create-pull-request][2]

Closing this as the binaries are updated in the other branch.


[VS Code] Could not connect to the server. Check that you are connected to the internet.

%0A%0A%23%23 Error:%0ACould not connect to the server. Check that you are connected to the internet.%0A%0A%23%23 Steps to Reproduce:%0A1.%0A2.%0A%0A||Version Data|%0A|-:|:-|%0A|**extensionName**|VSLS|%0A|**extensionVersion**|1.0.182|%0A|**protocolVersion**|2.2|%0A|**applicationName**|VSCode|%0A|**applicationVersion**|1.34.0|%0A|**platformName**|Windows|%0A|**platformVersion**|10.0.16299|

@mohammedalnaggar: thanks for reporting this issue! Is it still occurring or was this a temporary connectivity issue?
If is still an issue, are you behind a proxy? These docs may be able to help:
https://github.com/MicrosoftDocs/live-share/blob/master/docs/reference/connectivity.md
https://github.com/MicrosoftDocs/live-share/blob/master/docs/troubleshooting.md
If this doesn't help, your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

Closing as a duplicate of #2037.  @mohammedalnaggar: if you're still hitting this issue let's consolidate the investigation and continue the discussion in #2037. thanks!


"Silent App Install" gives an error- work profile

Description:
When trying the "Silent App Install" feature on work profile it gives the following error even though the "installation from unknown sources" are allowed in settings.

Suggested Labels:
Type/Bug
Suggested Assignees:
@inoshperera
Affected Product Version:
wso2iot-3.1.0-update11

This needs to be investigated and the feature availability doc must be updated accordingly


<!invalidtagname ... > causes parser to hang when in the wrong context

Using, eg., <!ELEMENT br EMPTY> outside of a <!DOCTYPE> declaration makes the parser hang; continues to be true even if I make the definition for $.element_decl only parse for <!ELEMENT> and also only try to parse <!ELEMENT>. I think part of the problem is that there's no way for the parser to find <!ELEMENT> outside of  <!DOCTYPE>, but it sticks in a loop with $.document.

Not sure why it's not just taking it as text, though :thinking:

Not sure why it's not just taking it as text, though :thinking:

This also happens with any <!text> tag that's not literally or contextually valid; it's happening because of the $._char_data definition excluding < characters

This also happens with any <!text> tag that's not literally or contextually valid; it's happening because of the $._char_data definition excluding < characters

Fixed! I think I was wrong about the reasoning, it may have been an empty $._char_data conflicting with $.start_tag

Fixed! I think I was wrong about the reasoning, it may have been an empty $._char_data conflicting with $.start_tag


Webpage not loading for creating project.

Hi,
I have followed all the steps mentioned in the documentation.
Installation: option 2
Usage: option 2
# I'm not getting any error messages.

Your Environment

Operating System: ubuntu 18.04

Python Version Used: 3.6+

When you install doccano: today

How did you install doccano (Heroku button etc): manually using option 2.

Except for the doccano button and login page, all other buttons or links are not loading.

@ravi0912 this screenshot looks to me like webpack isn't running. You can verify that this is the problem by checking the network tab on the devtools; I'm assuming that the projects.js file isn't being loaded (error 404).
Could you ensure that the following steps have been executed?
cd app/server/static
npm install
npm start

@ravi0912 this screenshot looks to me like webpack isn't running. You can verify that this is the problem by checking the network tab on the devtools; I'm assuming that the projects.js file isn't being loaded (error 404).
Could you ensure that the following steps have been executed?
cd app/server/static
npm install
npm start

Hi @icoxfog417,
webpack is running. the problem is after login it directs to http://<IP_ADDRESS>:8080/projects.js file but it should direct to my :8080/projects.js  not localhost.

If you need webpack to serve output on an endpoint other than <IP_ADDRESS>:8080, you can configure this via the WEBPACK_HOST and WEBPACK_PORT environment variables (see webpack.config.js).

Thanks @c-w


Notifications don't work on KDE Plasma

Aknowledgements

[X] I have checked that there is no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.

[ ] This bug affects Discord website.

[ ] This issue is confirmed to be reproduceable when WebCord is packaged
on at least all three latest supported Electron major releases.

[ ] This issue is reproduceable in Chrome, Chromium or any
Chromium-based browser, e.g Brave or Edge (please write in
Additional Context which browser you have used if it is neither
Chrome nor unmodified Chromium).

[ ] There are no fixes done to master which resolves this issue.

[ ] My issue describes one of the unstable and/or not fully implemented
features.

[ ] I have found a workaround to mitigate or temporarily fix this issue
in affected releases (please write it in Additional context section
below).

Operating System / Platform
🐧 Linux
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
v24.0.-
Application version
v4.2.0
Bug description
When a notification happens, only the sound is played and no notification is sent.
Additional context
I'm using KDE Plasma on Wayland.
I'm using the AppImage.
WebCord is minimized to the tray.

When a notification happens, only the sound is played and no notification is sent.

Are these enabled in Discord settings? Does Discord have permission granted to them via the WebCord settings?

Yes, discord has permission.

Also notifications work for discord in Firefox, if the discord tab is opened.

Notifications on Brave work too.

Yes, discord has permission.

You didn't replied to this:

Are these [notifications] enabled in Discord settings?

Have you make sure Discord has notifications enabled?

Thank you, it works!


2Ship2Harkinian slows with audio artifacts when refresh rate set higher than 60

[ *] I have checked the known issues and searched Github to ensure this issue has not already been reported.
[ *] This is not a feature request, I know those belong on Discord/Github Discussions.

Description of the bug:
When playing on Arch Linux, slow-downs are present when graphics settings interpolation set to anything above 60FPS
Can you reproduce? If so please list the steps:

[ ] No, I cannot reproduce this bug
[* ] Yes, here are the steps to reproduce the bug:

Expected behavior:
When I set my FPS to 144, I expect it to produce 144FPS frame interpolation.
Screenshots or videos:
N/A
System Information:

OS: Arch Linux X86_64, Kernel 6.9.2-Arch1-1
GFX Backend: OpenGL
Game Version: V1.0
Rom Version: V1.0
CPU: AMD Ryzen 5 5600X @ 3.7Ghz
RAM: 16GB Ballistix DDR4-2966Mhz
GPU: Nvidia GeForce RTX 2060 6GB

Additional Information:
Nothing additional to add.

@dmahoney6 Out of curiosity, what is your refresh rate on your monitor?

couple questions:

what DE/WM?
wayland or x?
what happens if you check "windowed fullscreen" in "Settings -> Graphics" and restart the game?

@dmahoney6 Out of curiosity, what is your refresh rate on your monitor?

It's a 144hz Monitor.

couple questions:
* what DE/WM?

* wayland or x?

* what happens if you check "windowed fullscreen" in "Settings -> Graphics" and restart the game?

Currently it's DE is Budgie 10.9.1, and WM is Mutter(Budgie).
It's X based.
and if I check windowed fullscreen in the settings > graphics and restart it, it still does the same thing. Causes everything to slow down and the audio is slowed down to match the frame rate.

Keep in mind that OpenGL currently can't compensate if the target Framerate is not reached. So wrong speed and crackling are expected if the machine can't keep up. However, I can't tell why the performance is bad in the first place. All I noticed (on windows) is that SoH and 2s2h are pretty much always bottlenecked by the CPU (as long there is a at least somewhat recent dedicated GPU).

Keep in mind that OpenGL currently can't compensate if the target Framerate is not reached. So wrong speed and crackling are expected if the machine can't keep up. However, I can't tell why the performance is bad in the first place. All I noticed (on windows) is that SoH and 2s2h are pretty much always bottlenecked by the CPU (as long there is a at least somewhat recent dedicated GPU).

As far as it goes, I should have NO problem whatsoever pushing out 144+ frames per second using a RTX 2060 6GB and a Ryzen 5 5600x. I have no problem rendering 200+ for SoH-1, but 2S2H is the only one giving me issues, obviously because it had just been released, so no high expectations but just trying to help improve the experience for people with similar hardware like mine.

So from what I am seeing, Alfa Bravo fixed one half of the issue, the game actions/logic/animations are super slow, but the rain on the 2nd day is very nicely smooth on 144fps. It's so weird lol

Rika Bravo*


ELECTRON-967 (Remove auto retry logic and add manual retry)

Description
This changes the auto refresh logic to manual refresh where users can use the retry button to reload the client
ELECTRON-967
Solution Approach
Add a Retry button which on clicked loads the main window with the global config URL
Screenshot

Related PRs
List related PRs against other branches/repositories:

branch
PR

3.x
link

Since we are rebasing master with the TS branch, I'll close this PR as it is not relevant anymore.


bot not waiting for Prompts.text input

Running the following (intentionally simplified) code example:
...
var intents = new builder.IntentDialog();
bot.dialog('/', intents);

intents.matches(/^hi/i,
    function (session, args, next) {
      session.beginDialog('/getname');
      next();
    }
);

bot.dialog('/getname', [
    function (session) {
      builder.Prompts.text(session, 'Hi! What is your name?');
    },
    function (session, results) {
      session.userData.name = results.response;
      session.send('Nice to meet you %s.', session.userData.name);
      session.endDialog();
    }
]);

results in the following (I'm using the Emulator here):
Send message to bot:
hi
User1 said:
 hi
Bot1 said:
 Hi! What is your name?
Bot1 said:
 Nice to meet you undefined.

Notice that the bot did not wait at the Prompts.text for input.  Is this a bug, or am I doing something wrong?
I'm using node 7.0.0, botbuilder 3.4.2

Nevermind, I guess it's because of the next() function.

Ran the following code and the prompt was not waiting for the client's selection of choice.
bot.dialog('/Choices',[
                        function(session){
                                session.send("Please select one of the following Choices")
                                builder.Prompts.choice(session," ","Choice1|Choice2|Choice3");
                        },
                        function(session,results){
                        	var selection = results.response.entity
                        	console.log("Prompt Response")
                    		session.beginDialog("/"+results.response.entity
                        }
                        ])

Bot was taking the " undefined " as the choice and giving the following Error
Error: Dialog[*:/undefined] not found.     at Session.beginDialog (/home/user/node_modules/botbuilder/lib/Session.js:134:19)     at Array.<anonymous> (/home/user/workspace/XCubeLabsBOT/BOT2.js:141:35)     at SimpleDialog.waterfallAction [as fn] (/home/user/node_modules/botbuilder/lib/dialogs/DialogAction.js:116:32)     at SimpleDialog.dialogResumed (/home/user/node_modules/botbuilder/lib/dialogs/SimpleDialog.js:20:14)     at Session.endDialog (/home/user/node_modules/botbuilder/lib/Session.js:214:28)     at Array.<anonymous> (/home/user/workspace/XCubeLabsBOT/BOT2.js:65:33)     at SimpleDialog.waterfallAction [as fn] (/home/user/node_modules/botbuilder/lib/dialogs/DialogAction.js:116:32)     at SimpleDialog.dialogResumed (/home/user/node_modules/botbuilder/lib/dialogs/SimpleDialog.js:20:14     at Session.endDialogWithResult (/home/user/node_modules/botbuilder/lib/Session.js:237:28)     at SimpleDialog.waterfallAction [as fn] (/home/user/node_modules/botbuilder/lib/dialogs/DialogAction.js:123:19)


Throw Exception on MapBuilder, while building map

Evaluate whether it will be better to throw the exception on MapBuilder, line 45, to fail in case the mapping cannot be completed.
Throwing the exception there will kind of pollute the computeIfAbsent cases that are used in Yorm.java, although if MapBuilder fails, it will populate the map with null objects, so probably it should be checked anyway.

Done, the MapBuilder will throw an exception the moment something fails


triggering_actor is not listed in the github context

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
Contexts - GitHub Docs
https://docs.github.com/en/actions/learn-github-actions/contexts
https://github.com/github/docs/blob/b2f87cd6a0ddd32baba98455e0f56d7bc5a58fd0/content/actions/learn-github-actions/contexts.md
What part(s) of the article would you like to see updated?
The recent changelog(Differentiating triggering actor from executing actor | GitHub Changelog) says that the github context has a triggering_actor field, but the contexts page does not have that information.
I would like to see a description of what kind of information triggering_actor has.
Additional information
No response

@korosuke613 Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

👋 The docs have just been updated, and you'll be able to find an explanation of github.triggering_actor here: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context

Thanks!


Table editor of (column) properties

What would be fantastic would be a table view of all the columns (and in a later greater version, a picker for an object type), where properties can be edited en masse.
For instance, I may want to hide many columns, or set the format of a whole ton of columns, etc etc. and this would be much faster than the current way of clicking through
A table to do one property after the next would be a good start - but then a ctrl-click / checkbox to select multiple rows in the table and set the same property to many columns at once would be ideal

I’m not sure what you would gain from this, that you can’t already do today, by multi-selecting (hold down SHIFT or CTRL while clicking objects in the tree), and then setting the properties.
You can even multi select columns across tables by applying a filter such as :ObjectType="Column" and then displaying the results as a list.
Maybe I’m missing something?

This functionality will not make it into Tabular Editor. However, you may use the ExportProperties and ImportProperties script methods to export object properties to a file that you can then edit in Excel. See here.


New version: LinwoodCloud.Butterfly version 1.6.0

Pull request has been automatically created using 🛫 WinGet Releaser.
Microsoft Reviewers: Open in CodeFlow

Duplicate of #92208.

No it's for the stabile branch

Oh wait I think I did something wrong


dart bug or misunderstanding?

Steps to Reproduce

Execute flutter run on the code sample

void main() {
Future hello() async {
// return 1;
throw 'Hello';
}
void test() {
hello().then((value) => {print('qwe')}).catchError((err) {
print("Hello");
});
hello().then((value) => {1, 2, 3}).catchError((err) {
  print("Hello");
});

}
test();
}
it crashed, it is a mistake or bug, i do not know.
I want to know why ?
Expected results:
Actual results:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s) (onError): The error handler of Future.catchError must return a value of the future's type
#0      _FutureListener.handleError (dart:async/future_impl.dart:181:7)
#1      Future._propagateToListeners.handleError (dart:async/future_impl.dart:778:47)
#2      Future._propagateToListeners (dart:async/future_impl.dart:799:13)
#3      Future._completeError (dart:async/future_impl.dart:574:5)
#4      Future._asyncCompleteError. (dart:async/future_impl.dart:665:7)
#5      _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#6      _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)

Code sample

Logs

[✓] Flutter (Channel stable, 3.3.0, on macOS 12.6 21G115 darwin-x64, locale en-CN)
• Flutter version 3.3.0 on channel stable at /Users/zhiliang/Desktop/work/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ffccd96b62 (4 weeks ago), 2022-08-29 17:28:57 -0700
• Engine revision 5e9e0e0aa8
• Dart version 2.18.0
• DevTools version 2.15.0
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/zhiliang/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14A400
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• Android Studio at /Users/zhiliang/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8815526/Android
Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] Android Studio (version 2021.3)
• Android Studio at /Users/zhiliang/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android
Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
• IntelliJ at /Users/zhiliang/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/222.4167.29/IntelliJ IDEA CE.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] IntelliJ IDEA Community Edition (version 2022.2.1)
• IntelliJ at /Users/zhiliang/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/222.3739.54/IntelliJ IDEA CE.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.71.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (2 available)
• macOS (desktop) • macos  • darwin-x64     • macOS 12.6 21G115 darwin-x64
• Chrome (web)    • chrome • web-javascript • Google Chrome 105.0.5195.125
! Error: super的 iPhone has recently restarted. Xcode will continue when super的 iPhone is unlocked. (code -14)
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.

hello().then((value) => {1, 2, 3}).catchError((err) {
print("Hello");
return {};
});
it works;

(value) => {1, 2, 3} means (value) { return {1, 2, 3} } - meaning that you are returning Set<int> rather than int.
Same applies to (value) => { print('qwe') } - you are returning Set<void>.
I think you are confusing JS and Dart arrow function syntax. Dart syntax is (...) => expr or (...) { body; }. Not () => {body} like in JS.
Furthermore, as error states: catchError handle should return the value that is compatible with Future's type, so if you have Future<int> handler should return an int value.


Server start failure when ActionCable is not loaded

I tend to exclude railties that I am not using in a Rails app, so in the case of debugbar I am failing to start due to ActionCable not being defined.
/Users/taylor/.anyenv/envs/rbenv/gems/3.2.0/gems/debugbar-0.1.3/config/routes.rb:2:in `block in <main>': uninitialized constant ActionCable (NameError)

  mount ActionCable.server => '/cable'
        ^^^^^^^^^^^
Did you mean?  ActionMailer

It does look like debugbar requires ActionCable, which is fine, but it seems worth adding a check and a clear error message about why it failed.

I'm trying to think about a good way to handle this. It should probably be an initializer in engine.rb.
I expected that bundler or rails would handle it has I defined ActionCable as a dependency in the .gemspec.
I'm hoping to add a polling version in case ActionCable is not available but I wanted to publish a first version before that. Let's how many people interested in the debugbar have removed ActionCable.

I expected that bundler or rails would handle it has I defined ActionCable as a dependency in the .gemspec.

I think this is still the right move - by excluding the require statement for the railtie in my application.rb, I'm only avoiding the runtime penalty of actually starting/requiring it, ActionCable is definitely still part of my bundle.

Oh yeah I see 👍

I work on some apps that don't use actioncable so having some polling option would be great. The demo looks really promising. Thanks for making this awesome tool


Elapsed Time doesn't line up with Actual seconds/iteration

I am seeing some inconsistency with the Elapsed Time.
I have a query that I am comparing an old vs a new version. I was expecting the new version to be significantly faster.
SQLQueryStress wasn't showing that when comparing the Elapsed Time.
I dug into it further and I was able to use extended events to verify the AVG execution time for the query is significantly faster (2.5-3.5x). This is shown in the Actual Seconds/Iteration (Avg) but is not reflected in the Elapsed Time. The Elapsed Time shows about the same to slightly slower when compared with the old.
My settings are as follows:
The code is run inside a transaction.

In every respect the new version should have faster elapsed time.
I can't share the query exactly but the skeleton is this:
OLD
begin tran
DECLARE @var BINARY(8);
EXEC dbo.stored_procedure_old @var = @var OUTPUT
rollback tran

NEW
begin tran
DECLARE @var BINARY(8);
EXEC dbo.stored_procedure_old @var = @var OUTPUT
rollback tran

I think the main point here is that the NEW stored procedure runs significantly fast but that isn't reflected in the elapsed time.
If you have an idea of what part of the SQLQueryStress code is causing the problem I can look at the code in context of my stored procedure and see if I can't identify anything specific since I can't share the stored procedure code.

Edit:
Some more context -
The new stored procedure basically was made to be parallel run where the old stored procedure was completely serial. The old stored procedure had to wait for any other instance of it to finish before it could run. The new one is parallel up to a partitioned amount.

Look at the code that calculates the Elapsed time ???

I recommend profiling reads/writes, CPU time, memory, blocks/deadlocks and comparing query plans for the stored procedures. It's possible the new procedure is faster when run alone but has more blocking or other issues when running in parallel. It's not necessarily SQLQueryStress that's at issue. I'd want to rule those things out first.

I recommend profiling reads/writes, CPU time, memory, blocks/deadlocks and comparing query plans for the stored procedures. It's possible the new procedure is faster when run alone but has more blocking or other issues when running in parallel. It's not necessarily SQLQueryStress that's at issue. I'd want to rule those things out first.

I am doing some more testing to rule those out.

Looks like it's not the stored procedures:
I ran the stored procedures 40400 times each and collected the data using xevents.
Waits xevent:
CREATE EVENT SESSION [SA_query_monitor] ON SERVER
ADD EVENT sqlserver.sql_batch_completed(SET collect_batch_text=(1)
    ACTION(package0.event_sequence,sqlserver.client_app_name,sqlserver.client_pid,sqlserver.database_id,sqlserver.nt_username,sqlserver.query_hash,sqlserver.server_principal_name,sqlserver.session_id,sqlserver.sql_text)
    WHERE ([package0].[equal_boolean]([sqlserver].[is_system],(0)) AND [sqlserver].[like_i_sql_unicode_string]([sqlserver].[client_app_name],N'SQLQueryStress') AND [sqlserver].[like_i_sql_unicode_string]([batch_text],N'begin tran%rollback TRAN')))
ADD TARGET package0.ring_buffer(SET max_events_limit=(1000000))
WITH (MAX_MEMORY=8192 KB,EVENT_RETENTION_MODE=ALLOW_SINGLE_EVENT_LOSS,MAX_DISPATCH_LATENCY=5 SECONDS,MAX_EVENT_SIZE=0 KB,MEMORY_PARTITION_MODE=PER_CPU,TRACK_CAUSALITY=ON,STARTUP_STATE=OFF)
GO

Waits duration (milliseconds) and amount:
New stored proc -

Old stored proc -

Average run time and logical reads:
XEvent:
CREATE EVENT SESSION [SA wait_info] ON SERVER
ADD EVENT sqlos.wait_info(
    ACTION(package0.collect_cpu_cycle_time,package0.collect_current_thread_id,package0.collect_system_time,package0.event_sequence,sqlos.cpu_id,sqlos.numa_node_id,sqlos.scheduler_address,sqlos.scheduler_id,sqlos.system_thread_id,sqlos.task_time,sqlserver.client_app_name,sqlserver.client_connection_id,sqlserver.client_pid,sqlserver.compile_plan_guid,sqlserver.context_info,sqlserver.database_id,sqlserver.database_name,sqlserver.session_id,sqlserver.session_resource_group_id,sqlserver.session_resource_pool_id,sqlserver.sql_text,sqlserver.transaction_id,sqlserver.username)
    WHERE ([sqlserver].[equal_i_sql_unicode_string]([sqlserver].[database_name],N'a') AND [sqlserver].[equal_i_sql_unicode_string]([sqlserver].[client_app_name],N'SQLQueryStress')))
ADD TARGET package0.ring_buffer(SET max_events_limit=(10000))
WITH (MAX_MEMORY=4096 KB,EVENT_RETENTION_MODE=ALLOW_SINGLE_EVENT_LOSS,MAX_DISPATCH_LATENCY=30 SECONDS,MAX_EVENT_SIZE=0 KB,MEMORY_PARTITION_MODE=NONE,TRACK_CAUSALITY=OFF,STARTUP_STATE=OFF)
GO

Top is new (14 row_count) Bottom is old (17 row_count) - Duration (Microseconds)

I added an edit to explain the difference between the two procedures if that makes a difference.

I'm not sure what the 'Top is new (14 row_count) Bottom is old (17 row_count) - Duration (Microseconds)' data is showing or if the stored procedures were ran 40400 times each in parallel or serially. The code to generate times looks right to me. My best guess is that when using 200 threads, the CPU of the client is burdened and it's affecting the 'client seconds' reading. The CPU and Actual seconds are what SQL is reporting and they show the stored procedure has improved.

I'm not sure what the 'Top is new (14 row_count) Bottom is old (17 row_count) - Duration (Microseconds)' data is showing or if the stored procedures were ran 40400 times each in parallel or serially. The code to generate times looks right to me. My best guess is that when using 200 threads, the CPU of the client is burdened and it's affecting the 'client seconds' reading. The CPU and Actual seconds are what SQL is reporting and they show the stored procedure has improved.

The old stored procedure and the new one were run 40400 times. The old stored proc locks the table the stored procedure runs against so each thread (of the 200) has to wait for the previous one to run (serial). The new stored proc implements row level locks instead which allows multiple instances of the stores proc to run at a time (parallel). The first row (top) is the new stored procedure, and the second row (bottom) is the old stored procedure.
If it's client overhead then testing on a more powerful system (more everything, cpu, ram, network bandwidth) should improve things, right? Do you think the threading management could be improved?

Maybe related to this?https://github.com/ErikEJ/SqlQueryStress/pull/110

Erik's guess is a good one. The SQL stats showing in SQLQueryStress seems to show an order of magnitude improvement, but the client time is still the same.  Can you try again now that the garbage collection call has been removed?

Ya this definitely sounds like it might have been the issue. I will test sometime next week.

@jedthe3rd Any test results?


Add link to RP areas

See #8291

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

ID: 164d7efe-01bf-0b26-7a23-f10704f338f5
Version Independent ID: b3e2bc87-1582-2d34-c7c2-7c8e901ac771
Content: Introduction to Razor Pages in ASP.NET Core
Content Source: aspnetcore/razor-pages/index.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Fixed in #11290


Fix image vulnerabilities

The following vulnerabilities were found in the docker image 0acdb75f8cce of LEC:

CVE-2021-41816: CGI.escape_html in Ruby before 2.7.5 and 3.x before 3.0.3 has an integer overflow and resultant buffer overflow via a long string on platforms (such as Windows) where size_t and long have different numbers of bytes. This also affects the CGI gem before 0.3.1 for Ruby.
CVE-2021-41819: CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem through 0.3.0 for Ruby.
CVE-2021-28965: The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.

All of these vulnerabilities are already fixed in the current latest image (33e90d83c666).


Inference with old versions of YOLO v7

Hello,
I would like to know if it is possible to use models trained with the YOLOv7 repository (https://github.com/WongKinYiu/yolov7) in this version of YOLO MIT.
Are the YOLOv7 models from the above repository compatible with this implementation?
Thank you for your time and clarification!

There was already an issue here in the project.In short - no it's not possible.It might be possible if you try to modify the weights, but that might take you too much time and it's not guaranteed to work.On 24 Nov 2024, at 19:16, sergiovillanueva @.***> wrote:
Hello,
I would like to know if it is possible to use models trained with the YOLOv7 repository (https://github.com/WongKinYiu/yolov7) in this version of YOLO MIT.
Are the YOLOv7 models from the above repository compatible with this implementation?
Thank you for your time and clarification!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


adding ADAL sample

Hi Will,
I wasn't able to push directly to the repo due to:

! [remote rejected] master -> master (protected branch hook declined) error: failed to push some refs

Thus I put together this pull request with the changes.
          Peaky

@peakyy,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@peakyy I don't like the folder name, it's too long.  Can we simplify to "Managed Client sample"


feat: Added Options Button in Docs page.

Related Issue
#1519
Description
I have added the button that partitions the two methods of showing how to contribute to the user.
Screenshots

will check soon

@priyankarpal The reviewed changes have been resolved.

Okay let me look into it.

Resolved.


Updating Github Template files

Adding the docs to the repo that will reflect USM ACM. These are primarily the CONTRUBUTING,  ISSUE_TEMPLATE, and the PULL_REQUEST_TEMPLATE.

https://github.com/USM-ACM/acmWebsite/pull/3

Closing issue until @wrejcodes  checks the updates and will reopen if changes are needed.


Parent-relationship query: Clathrin-coated pit GO:0005905

GO:0005905 Clathrin-coated pit
is part_of plasma membrane region
but these can form in the TGN so this is not always true?
ref:
https://pubmed.ncbi.nlm.nih.gov/9242916/

Where does it say that? I scanned the chapter but I thought they only form on the plasma membrane ?  (obviously the clathrin coated vesicles occur in the TGN, but do they definitely form there? that wouldn't make sense if clathrin is restricted to endocytosis?)

https://pubmed.ncbi.nlm.nih.gov/8567724/
https://pubmed.ncbi.nlm.nih.gov/17284835/
https://pubmed.ncbi.nlm.nih.gov/12589051/

These dynamic steps have been investigated mainly in endocytosis on the cell membrane in living cells by fluorescent microscopy, and the behavior of clathrin-coated pits (CCPs) and the accumulation and dissociation of coat components on the pits have been described. However, the behavior of clathrin during pit formation at the TGN has received less attention.


Avoid if-def branching for threading code

Description
Currently we if-def around single-core vs multi-core implementation of functions which implement parallelism. The if-def asks for the availability of STAN_THREADS being set or not during compilation. Since the TBB simplifies on a single core to just run with 1 process (if configured to do so), we should drop the if-def while ensuring that we instruct C++ users accordingly to setup the TBB task_arena things run in to just have 1 core.
Example
Code should be easier to maintain due to fewer if-def.
Expected Output
No change in outputs.
Current Version:
v4.1.0

Does single thread code using TBB exhibit the same performance as sequential code without TBB?

There are two cases to discriminate:

The user defines STAN_THREADS... then then AD tape is thread local for which you pay a bit of performance (quite platform dependent). In this case the user anyway wants to use parallelism.
The user does not define STAN_THREADS... in that case you gain a bit of performance due to AD tape not being thread local. When a user now calls a TBB based function, then that function may incur a minor performance penalty which I would doubt that you can measure it. However, if a user intends to go sequential then he should anyway not call out to the TBB based functions.

So I think we are safe to simplify our code.


Trying to use mods like construction wand do some weird things

Pretty sure it's because all of the skybox blocks are labeled skybox, instead of them having different names, if that makes sense. Also, if this but is for construction wand, then it's for world edit too, which is a bigger problem

they're all the same block, but they have different nbt data; using worldedit, you'd fill an area with evening sky blocks using something like //set ultracraft:sky_block{type:"evening"} for example


An OOM error occurred while computing the perplexity of 128k Proofpoint documents with a maximum token count set to 128k.

Thank you so much for your open source work.
I evaluated the 128K context capacity of the LLaMA-27B model using an NVIDIA A100 (80G) GPU. However, I encountered an OOM error. Here is my script:
PG19="--tokenized emozilla/pg19-test-tokenized"
PROOFPILE_LONG_SMALL="--tokenized emozilla/proofpile-test-tokenized --dataset-min-tokens 131072 --samples 10 --truncate"
CUSTOM="--custom-model-together"

python eval/perplexity.py \
    ${PROOFPILE_LONG_SMALL} ${CUSTOM} \
    --output-file data/proofpile-long-small.csv \
    --min-tokens 131072 --max-tokens 131072 --tokens-step 2048 --aggressive-memory \
    -m llama2_7b_yarn_64k

I encountered the same issue! When evaluating the perplexity of a 32K text using a 40GB A100 GPU, I faced an out-of-memory (OOM) problem. Do you know of any solutions or optimization measures?


SA1513 and SA1009 Conflict and code fixes fight between themselves

In this program :
using System;

class Program
{
    private class Foo : IDisposable
    {
        public int Bar { get; set; }

        public void Dispose()
        {
        }
    }

    static void Main(string[] args)
    {
        foreach (
            var x in
            new[]
            {
                1,
                2,
                3
            })
        {
        }

        using (
            new Foo
            {
                Bar = 1
            })
        {
        }

        Console.WriteLine(
            new[]
            {
                1,
                2,
                3
            });
    }
}

Both the foreach and using trigger SA1513 at the end, but it isn't solvable, applying the codefix will produce SA1009.
Also applying SA1513 code fix once doesn't work, it add a line break between } and ) but no new line, applying it a second time fixes it but SA1009 is still there.

@vweijsters What did StyleCop classic do for this case?

SA1513 is not reported for the code above. After manually adding an empty line after the the closing brace, SA1009 is reported.
I would say that this should be corrected in SA1513, so that the code above will not raise SA1513.

Agreed, thanks!

Grabbing this


Postman collections

Adding Postman collections to our repo instead.

I've tested this on Stage and we render fine, so I'm proceeding to merge this to main!


Auth Sources: add specific view page for authority statements

See also #5444

Standard sections:

bookmarks
people
named notes
changes


Issue with upstash-kafka

Hi there!
Im trying to generate events to upstash-kafka destination.
Upstash kafka topic was created, and it were receiving events using pure Producer RESR API with success.
But

If i am trying mockingbird Cloud UI or Local UI - i got failed requests (to https://fit-mallard-XXXXX-eu2-kafka.upstash.io:9092/produce/Orders) in my browser console with no any HTTP status .
If I am trying CLI:  mockingbird-cli  upstash-kafka --address=https://fit-mallard-XXXXX-eu2-kafka.upstash.io:9092/ --user=XXXXXX --pass=XXXXXX --topic=Orders --eps=1 --limit=-1 --schema=/Users/vadym/development/mockingbird/schemas/schema.json
i got Upstash Error: {"message":"request to https://fit-mallard-XXXXX-eu2-kafka.upstash.io:9092/produce/Orders failed, reason: socket hang up","type":"system","errno":"ECONNRESET","code":"ECONNRESET"}.

do i do something wrong or it is some issue?

Thanks @SichikUA - we'll investigate this!

Upstash Kafka has been removed as Upstash has deprecated their Kafka service


Line 5288 - Cannot bind argument to parameter 'ReferenceObject' because it is null

Compare-Object: .\M365CallFlowVisualizer-main\M365CallFlowVisualizer-main\M365CallFlowVisualizerV2.ps1:5288
Line |
5288 |      if (Compare-Object -ReferenceObject $nestedVoiceApps -DifferenceO …
     |                                          ~~~~~~~~~~~~~~~~
     | Cannot bind argument to parameter 'ReferenceObject' because it is null.

Please provide more info. Does this happen for all call flows or only one? Please manually check all nested voice apps in TAC and confirm that they are configured correctly. Sometimes this happens when e.g. a linked resource account of a voice app was deleted.

I had a similar error when a call queue had a security group assigned, but it was deleted via the azure portal. A simple restore from the deleted items view and then it all worked after just 5minutes.On 20 Feb 2024, at 03:01, Martin Heusser @.***> wrote:
Please provide more info. Does this happen for all call flows or only one? Please manually check all nested voice apps in TAC and confirm that they are configured correctly. Sometimes this happens when e.g. a linked resource account of a voice app was deleted.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Please provide more info. Does this happen for all call flows or only one? Please manually check all nested voice apps in TAC and confirm that they are configured correctly. Sometimes this happens when e.g. a linked resource account of a voice app was deleted.

Yes, not all call flows, simple ones that are no calling other AA or CQ's seem to report fine... seems to be the higher top level flows with other nested AA or CQ's for a couple different clients.  I've confirmed all Resource accounts are active although we don't have phone #'s tied to many of them (just resource account licenses).  I've confirmed every flow has an active Voice App or  User tied to every call flow option.

What about holiday entries…On 20 Feb 2024, at 16:02, WLeishmanCyAs @.***> wrote:
Please provide more info. Does this happen for all call flows or only one? Please manually check all nested voice apps in TAC and confirm that they are configured correctly. Sometimes this happens when e.g. a linked resource account of a voice app was deleted.
Yes, not all call flows, simple ones that are no calling other AA or CQ's seem to report fine... seems to be the higher top level flows with other nested AA or CQ's for a couple different clients.  I've confirmed all Resource accounts are active although we don't have phone #'s tied to many of them (just resource account licenses).  I've confirmed every flow has an active Voice App or  User tied to every call flow option.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

What about holiday entries…>

We've removed all Holiday Entries (all were past years anyhow, had not updated for 2024)

We do have Voice Apps in some of the nested AutoAttendants to go back to the "Main Menu", which calls the AA that the Nested one spawned from.

Perhaps,Look at the AA via the TAC webpage, clicking next , and looking at each and every sub-menu. Ensure you click Ok or next. That will force validation to kick on.If there was a null reference somewhere, you should find it.I strongly believe this isn’t a coding issue with m365callflowvisualizer. The error comes from Microsoft’s API.On 20 Feb 2024, at 17:10, WLeishmanCyAs @.***> wrote:
We do have Voice Apps in some of the nested AutoAttendants to go back to the "Main Menu", which calls the AA that the Nested one spawned from.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Thanks @sjackson0109 for providing these tips. I agree, it's usually a misconfiguration somewhere in the call flow. The function to read the nested voice apps or user settings recuriavely has been working for forever and since noone else has reported any issues and it works for others, I beleive it must be something in your config...

I've gone through every AA and rebuilt each submenu item.  Seems to be something jacked with this Tenant that I'll probably need to escalate to MS... When I run the Auto Attendant Troubleshooter it tells me  "Required licenses are missing. Ensure the Phone System–Virtual User license has been enabled on the resource account."  The one I'm working on now happens to be a GCC Tenant and every resource account is already assigned a proper "Microsoft Teams Phone Resource Account for GCC" which should be working.  Love MS... not.

So did the visualizer script work after rebuilding the AAs?

Closing this

So did the visualizer script work after rebuilding the AAs?

Not at all, failed in exactly the same spot

My organization is also hitting this original issue on one of the first call flows we're building out. We're happy to see this kind of tool exists so we can visually inspect them after they're built. :) Thanks!
I traced this down to https://github.com/mozziemozz/M365CallFlowVisualizer/blob/9066ca1a1d7db0e2b6b0e2e593e29583648e900b/Functions/Get-TeamsUserCallFlow.ps1#L1050 adding a null/empty string value to $nestedVoiceApps.
I believe this is from earlier lines assuming that $forwardingTargetType (derived from the ApplicationId) is valid, even when its not. This also manifests as a compile error in the output mermaid, as $unansweredUserTargetVoiceAppId is null, and thus no node name is output.
https://github.com/mozziemozz/M365CallFlowVisualizer/blob/9066ca1a1d7db0e2b6b0e2e593e29583648e900b/Functions/Get-TeamsUserCallFlow.ps1#L1046
$user = Get-CsOnlineUser -Identity<EMAIL_ADDRESS>$callsettings = Get-CsUserCallingSettings -Identity $user.Identity
$unanswered_target = $callsettings.UnansweredTarget.Replace("sip:","")
Get-CsOnlineApplicationInstance -Identity $unanswered_target | Format-List

ApplicationId     :
DisplayName       : TargetUser
ObjectId          : yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
PhoneNumber       :
TenantId          : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
UserPrincipalName<EMAIL_ADDRESS>
I'm not sure if a blank ApplicationId is correct... it feels like an MS bug but I'm not confident on my knowledge of the backend side of this stuff.

If the lines which you mentioned are executed, it means that your call flow at some point forwards to a Teams user which forwards to either a call queue or an auto attendant which likely doesn't exist anymore.
Can you identify the user id of this user? You should be able to get the id from the script output. Then check this user either in Teams client, TAC or via Get-CsUserCallingSettings and see what's configured as unanswered target.
If that output where the ApplicationId is empty is from Get-CsOnlineApplicationInstance there's definitely something wrong with that resource account. I suggest to delete it and recreate it. The ApplicationId is always 11cd3e2e-fccb-42ad-ad00-878b93575e07 for CQs and ce933385-9390-45d1-9512-c8d228074e07 for AAs unless you use 3rd party voice apps like e.g. Luware or Landis queues etc.
I hope that helps. Otherwise, if you can we could do a remote session so I can live troubleshoot this.
You can also try the version from the dev branch. I recently made some changes there to Get-TeamsUserCallFlow.
Otherwise I would need to do a live troubleshooting session with you (if you can) where you share your screen...

I think I got something..
When looking at the Resource Account attached to the Auto Attendant, it showed properly as an 'Auto Attendant' resource account type (voice app id?), but the option was greyed out.

I was able to temporarily remove the RA from the AA, and when I looked back at the RA the option was blank. I manually set it to 'Auto Attendant' and assigned it back to the AA, and the ApplicationId was filled back in :)

It seems the process is a bit finicky though, as I tested with a fresh RA and had to repeat the assignments a few times until the ApplicationId updated/the Resource Account saved in the UI across refreshes.
Anyway - After doing that process, the graphing for that call flow tree worked like a charm. Thanks!

Yeah good old Microsoft…“Object not set to an instance of an object” :)On 28 Feb 2024, at 22:37, Chris Moore @.***> wrote:
I think I got something..
When looking at the Resource Account attached to the Auto Attendant, it showed properly as an 'Auto Attendant' resource account type (voice app id?), but the option was greyed out.
image.png (view on web)
I was able to temporarily remove the RA from the AA, and when I looked back at the RA the option was blank. I manually set it to 'Auto Attendant' and assigned it back to the AA, and the ApplicationId was filled back in :)
image.png (view on web)
It seems the process is a bit finicky though, as I tested with a fresh RA and had to repeat the assignments a few times until the ApplicationId updated/the Resource Account saved in the UI across refreshes.
Anyway - After doing that process, the graphing for that call flow tree worked like a charm. Thanks!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

I'm leaning towards a MS bug... I have 3 different clients on 3 completely different M365 Tenants (one GCC), completely different AA's and CQ's (some several levels deep, others pretty simple) and the script drops the same error on line 5288 on all of them.  I've gone through every RA, every App, on all of them with same error every time.

If it's failing for all, it might be a bug in the script or something I haven't encountered before. I could check it out in a screen share session if you want/can.