breaks google maps delegate method "idleatcameratposition" when map is panned

is still called when zoomed.

the comment suggests that this decision was deliberate, but should still be highlighted to save others some time and frustration.
commenting out this line re-enabled the callback on pan in my case...

(void)mapView:(GMSMapView *)mapView idleAtCameraPosition:(GMSCameraPosition *)cameraPosition {
assert(mapView == _mapView);
// Don't re-compute clusters if the map has just been panned/tilted/rotated.
GMSCameraPosition *position = [mapView camera];
/**
if (previousCameraPosition != nil && previousCameraPosition.zoom == position.zoom) {
return;
}
**/
previousCameraPosition = [mapView camera];
[self cluster];
if ([self delegate] != nil
&& [self.delegate respondsToSelector:@selector(mapView:idleAtCameraPosition:)]) {
[self.delegate mapView:mapView idleAtCameraPosition:cameraPosition];
}
}

This appears to be a bug report for a different google-maps-ios-utils project. This one doesn't contain any code to do with rendering, just a quad box implementation. Thanks!

gotcha, sorry about that!
was meant for this fork: https://github.com/DDRBoxman/google-maps-ios-utils


Relationships for dictionary tables

Let's say I have the models: User, Address, AddressType, Country and City (for brevity I won't include, AddressType, Country and City, their models are the same with no relation mappings and a simple id column).
class User extends Model {
    static get tableName() {
        return "users";
    }
    static get relationMappings() {
        return {
            addresses: {
                relation: Model.HasManyRelation,
                modelClass: Address,
                join: {
                    from: 'users.Id',
                    to: 'addresses.userId'
                }
            }
        }
    }
}

class Address extends Model {
    static get tableName() {
        return "addresses";
    }
    static get idColumn() {
        return ["userId", "typeId"];
    }
    static get relationMappings() {
        return {
            type: {
                relation: Model.HasOneRelation,
                modelClass: Type,
                join: {
                    from: 'addresses.typeId',
                    to: 'addressesTypes.Id'
                }
            },
            country: {
                relation: Model.HasOneRelation,
                modelClass: Country,
                join: {
                    from: 'addresses.countryId',
                    to: 'countries.Id'
                }
            },
            city: {
                relation: Model.HasOneRelation,
                modelClass: City,
                join: {
                    from: 'addresses.cityId',
                    to: 'cyties.Id'
                }
            }
        }
    }
}

A User can have multiple Addresses, but just one of each type, and each address has a foreign key id referencing a Country and a City. They can't be enums.
The following code
User.query().eager({
    "addresses": {
        "type": true,
        "country": true,
        "city": true
    }
}).where("user.Id", 1)

results in the following json:
{
    "id": 1,
    "name": "Cosme Fulanito",
    "addresses": [
        {
            "userId": 1,
            "typeId": 2,
            "countryId": 10,
            "cityId": 8,
            "type": {
                "id": 2,
                "name": "Personal"
            },
            "country": {
                "id": 10,
                "name": "USA"
            },
            "city": {
                "id": 8,
                "name": "New York"
            }
        }
    ]
}

The question is:
Is it possible to flatten the address object to look like this?
{
    "type": "Personal",
    "country": "USA",
    "city": "New York",
}

Or at least omit the properties in the response that have the ids? So that the object looks like this:
{
    "type": {
        "name": "Personal"
    },
    "country": {
        "name": "USA"
    },
    "city": {
        "name": "New York"
    }
}

I thought about using a view for address, but I think I won't be able to do inserts that way? Any other advice would be appreciated.

You can do that using joins:
User.query()
  .eager({ addresses: true })
  .where("user.Id", 1)
  .modifyEager('addresses', builder => {
    builder
      .joinRelation({
        type: true,
        country: true,
        city: true
      })
      .select([
        'type.name as type',
        'country.name as country',
        'city.name as city'
      ])
  })

I'm not 100% sure if you can use the same identifiers type, country and city for both the joined relations and the selected columns. If that's not possible, you can easily alias the joined tables like this:
User.query()
  .eager({ addresses: true })
  .where("user.Id", 1)
  .modifyEager('addresses', builder => {
    builder
      .joinRelation({
        typeAlias: { $relation: 'type' },
        countryAlias: { $relation: 'country' },
        cityAlias: { $relation: 'city' },
      })
      .select([
        'typeAlias.name as type',
        'countryAlias.name as country',
        'cityAlias.name as city'
      ])
  })

The relation expression is a bit cleaner if you use the string expressions:
      .joinRelation(`[
        type as typeAlias,
        city as cityAlias,
        country as countryAlias
      `])

If you only want to select certain columns, you can do that using modifyEager too:
User.query()
  .eager({
    addresses: {
      type: true,
      country: true,
      city: true
    }
  })
  .where("user.Id", 1)
  .modifyEager('addresses.[type, country, city]', builder => {
    builder.select('name')
  })

You probably don't want to copy-paste all this everywhere. You can create a namedFilter instead and just reference that filter in the eager expressions.

This is exactly what I need. I did try joinRelation before coming here but I was doing it wrong. Thank you!


fix: Possible Goroutine hang if input occurs during program exit

This only seems to happen in some cases, but I have noticed if I use bubbletea with the tea.WithInput option there's a chance readLoop will hang on line 92 if a user inputs characters at the same time as the program exits. This results in a very gradual memory leak.
This PR allows readLoop to short-circuit when reading input if the program has been killed.

This was resolved in b1e7f42ab0625c298c70f3dcd1f04da979a2e8be


oeqa/runtime/ima.py : fix case issue if IMA disabled

/bin/sh is a symbolic link , so it always get 'Text file busy' no matter
IMA disabled or not.
The fix uses an uncommon binary 'arping' to check this to decrease
side-effect if IMA disabled.
Signed-off-by: Wu Dawei<EMAIL_ADDRESS>

Looks good to me

Thanks for review. My consideration is that both status and output are OK .  For ssh connection issue , the comments "Signed file could be written" doesn't make sense ,so I will modify this comments.  For the second , it 's a good point ,  so I will add ssh connection judgement firstly for all of them.

Is that OK now ? @acornea

Looks good. Thanks

Thanks for review . Updated code for this.


Overwrite+adding default classes to theme

Im using the Button Component with a custom primary color and a 'href' attribute
  <Button href="/Admin/ResponseTemplates"
        > Abbrechen
      </Button>

inside my global.css i set colors for links
a {
  @apply text-primary-700;
}
a:hover {
  @apply text-primary-600;
}

the link inside the button will be text-primary-600 on hover while the button is bg-primary-800 and i have to explicitely use hover:text-white on the Button element to prevent it being unreadable.
Solution:
checking the code  of the component
const colorClasses = {
    alternative: 'text-gray-900 bg-white border border-gray-200 hover:bg-gray-100 dark:bg-gray-800 dark:text-gray-400 hover:text-primary-700 focus:text-primary-700 dark:focus:text-white dark:hover:text-white',
    blue: 'text-white bg-blue-700 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700',
    dark: 'text-white bg-gray-800 hover:bg-gray-900 dark:bg-gray-800 dark:hover:bg-gray-700',
    green: 'text-white bg-green-700 hover:bg-green-800 dark:bg-green-600 dark:hover:bg-green-700',
    light: 'text-gray-900 bg-white border border-gray-300 hover:bg-gray-100 dark:bg-gray-800 dark:text-white dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600',
    primary: 'text-white bg-primary-700 hover:bg-primary-800 dark:bg-primary-600 dark:hover:bg-primary-700',
    purple: 'text-white bg-purple-700 hover:bg-purple-800 dark:bg-purple-600 dark:hover:bg-purple-700',
    red: 'text-white bg-red-700 hover:bg-red-800 dark:bg-red-600 dark:hover:bg-red-700',
    yellow: 'text-white bg-yellow-400 hover:bg-yellow-500 ',
    none: ''
};

instead of hardcoding it i suggest using a global store or some other method, to allow modyfing it during runtime  like
$buttonThemesStore.colorClasses.primary += ' hover:text-white';

doing this way would also allow to add new colors to the components

Thank you for your contribution.
Currently, we don't have a plan to move styles globally.
But you can set color props to none and add your classes using class="your-class".

While this work, it will force me to do this every time i use the component adding redudant code and bad dx... ofc i could make a wrapper and then use the flowbite component inside with the correct classes - but still think its bad design

Can you add your class to the tailwind.config.cjs and use it in your components?

By doing that I assume there will be many items in the config file and styling will be done in the the file rather than your svelte file. I'm now sure if other uses want to do in that way.

Well you will only need the config files if you have the need for it. Otherwise use default values
Going svelte store way people can easily split the code and add the things they want to do in runtime
If making config files its still possible to import differenct config files and use a (deep)merge. So you can still split code like you want.

Do you want to show some examples forking this stackblitz?

https://stackblitz.com/edit/sveltejs-kit-template-default-fnwquw?file=src%2Froutes%2F%2Blayout.svelte

When you use svelte store for class, won't it accumulate when you refresh a browser?
  import { theme } from '$lib/flowbite.theme.js';
  console.log($theme.buttons.colorClasses.blue += ' hover:!text-red-900')

text-white bg-blue-700 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 hover:text-white hover:text-white hover:text-red-900 hover:text-red-900 hover:!text-red-900
text-white bg-blue-700 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 hover:text-white hover:text-white hover:text-red-900 hover:text-red-900 hover:!text-red-900 hover:!text-red-900
text-white bg-blue-700 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 hover:text-white hover:text-white hover:text-red-900 hover:text-red-900 hover:!text-red-900 hover:!text-red-900 hover:!text-red-900

I can see the benefit of doing this way but there are disadvantage:

Pills

  <ButtonGroup class="space-x-px">
    <Button color="light" class="!text-red-900">Profile</Button>
    <Button color="light" class="!text-green-900">Settings</Button>
    <Button color="light" class="!text-purple-500">Messages</Button>
  </ButtonGroup>

Pills NewButton but extended

  <ButtonGroup class="space-x-px">
    <NewButton color="light">Profile</NewButton>
    <NewButton color="light">Settings</NewButton>
    <NewButton color="light">Messages</NewButton>
  </ButtonGroup>

Benefit:
Users can change their style by overwriting Svelte store values.
Disadvantage:
Not flexible as you see in the above example when you want to change the color by button.
You have to use unnecessary if-statements if you want to change different values.

I'm also pulling out my hair trying to overcome hardcoded classes. Especially on the Input element where it seems that you cannot override the classes at all, you can just append or prepend additional classes, leading to a lot of duplication of classes on the element ...unless I'm missing something.

@ron-wade There is a PR for your issue that we may merge. But not at the moment.

Well you wouldnt change the theme story somewhere else, not where you gonna use the components - like a global layout file or even complety outside of svelte - but i see your point and i think there's a solution...
the simple appending is a really bad example - i see two solutions for it

use a custom store, checking the classes and filter out duplicates before updating the store
use a helper function in userland

import { theme } from '$lib/flowbite.theme.js';
$theme.buttons.colorClasses.light = sanitizeCSSClasses($theme.buttons.colorClasses.light + ' text-red-900');

function sanitizeCSSClasses(input: string) : string {
    let splitted = input.split(/\s+/);
    let uniqued = [...new Set(splitted)];
    return uniqued.join(' ');
}

I too am unable to get this to work. I'm using the exclamation point before the classes, nothing is working.
Can't seem to get any of the navbar elements to go to black on dark mode. It keeps choosing the default class no matter what.
DOM will say bg-gray-700 or something even though there's a !bg-black in the class as well.

@Dudek-AMS
You can take this approach.

Create your button component in the lib dir:

// src/lib/MyButton.svelte

<Button color="green" pill class="p-8">

<slot />

</Button>

Use it in your project

<MyButton>My New Button</MyButton>

https://sveltejskittemplatedefaultefqg-kxp3--5173--77657b1e.local-corp.webcontainer.io/customization

I close the issue for now.
Thank you for your contribution.
Please feel free to open a new issue.


Flex cli shows wrong exe name

The Flex CLI help page displayes inexor.js as it's name, which is simply wrong as it is inexor-flex.
In my opinion the name shouldn't be shown at all in the commands list as it doesn't belong to the command name.
So inexor.js should be removed from that help page.

I would like to do this. How can I help?

@jinxac this should be a setting withing yargs. You can find our command line module, command, here, https://github.com/inexorgame/inexor-flex/tree/master/server/commands


Create a template R script to demonstrate good script organisation

Break it up into sections using the ---- feature of Markdown
Include reference to loading all packages at the start of the script
Reference the template at the end of tutorial 5, perhaps adding a section to go through the template

Probably best to explain this template as a section in the Coding with Style tutorial.

This doesn't seem to fit very well with Tutorial 5, but I'm not sure where it should go.


more ruby versions added to travis config

Coverage increased (+1.5%) when pulling 1d6c196ab25c2f764b2811a61d30f0b8fb72614e on travis into 378536654c77721f292cd3630d5d5e1cab3405c1 on master.

Coverage remained the same when pulling f95c62bdc4b9bdde3ad79297cc76868317097d8c on travis into 4e409b8d8b534335d21f06db543ac576be85e9ec on master.


Solving #4073

formatted as GitHub.
#4073

@nenonix @JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@ManikaDhiman - PR has been copy edited and is ready for final review. This is based on issue #4073
Thank you.

@j0rt3g4 We use code to parse the /mdm/policy*.md files, which is based on the existing syntax style. If you change the syntax style from HTML to MD, it breaks the automation code. Additionally, in the updated syntax, Scope is added as separate H3s, when it should be part of the given policy section itselft. The original H2s are also updated, which alters the "In this article" list. For example, we want Line#508 to appear in the "In this article" list, which will not appear now. Request you to please undo all the syntax changes. Thanks!

@ManikaDhiman  Will do

@mani


Bad request

After call of $provider->getAccessToken('authorization_code', [
'code' => $_GET['code']
]);
the methode $this->checkResponse($response, $parsed); causes error
Uncaught exception: "Bad request" with code 1 in file /vendor/larabros/oauth2-psn/src/Psn.php on line 63.
no other details. could you please help?

Hi, sorry this project is not actively maintained any longer.


How to repair UNTRUSTED_FILE for Android

I use infer to scan Android programs. It was found that UNTRUSTED_FILE was reported in the process of using "File file=new file(path)", but after the online query, it did not know how to fix the problem. Is there any information that can help me improve this problem? ?

UNTRUSTED_FILE is coming from Quandary, infer's taint analysis engine tuned towards security issues. Did infer explore help identify the issue that infer was complaining about? If you're accessing files on disk based on arbitrary paths taken from user input then that could lead to security issues.

thank you for your reply. I need the user to upload the video and display it on the Android, then how to deal with this video file (mp4) to handle this error type？


[prometheus]: Lowercase host value for metrics

What this PR does / why we need it:
Lowercases host value for metrics
Which issue this PR fixes:
fixes #299

Now the host gets lowercased at the beginning.


"Scripts" file is overwhelming

The Readme is sort of confusing. All the code in the "scripts" file is overwhelming especially for people who have not made the code. It's hard to understand and follow everything and know what does what.

separated out the scripts folder now you just need to look at the user folder in scripts


Collision State

Handle the player's collision state so the player is only allowed to drop down on platforms.

git fetch origin
git checkout 23-collision-state


Ionic requires global npm installation

From @bentomas on October 27, 2014 18:55
I don't install npm packages globally, as I like all of my dependencies to be specified in a package.json file and stored within the CWD of my project.  I always add ./node_modules/.bin to my path, so I am easily able to run commands.
I installed Ionic and Cordova using the following line:
npm install cordova ionic

I have no problem running both the ionic and cordova executables from the command line, as they are in my path.  Then I created a project with:
ionic start myApp tabs

And this is the output:
Creating Ionic app in folder PATH based on tabs project

Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
[=============================]  100%  0.0s

Downloading: https://github.com/driftyco/ionic-starter-tabs/archive/master.zip
[=============================]  100%  0.0s

Update config.xml
Initializing cordova project
/bin/sh: cordova: command not found
Unable to add plugins. Perhaps your version of Cordova is too old. Try updating (npm install -g cordova), removing this project folder, and trying again. (CLI v1.2.8)

If Ionic depends on Cordova, then it should list Cordova as a dependency in package.json. But since it seems like it is clear you aren't interested in doing that, it should at least look in the current $PATH for the executable and run from there.
Copied from original issue: driftyco/ionic#2451

What's the latest on this issue?

@adamduren I have a branch where I'm using the cordova-lib module directly instead of relying on child processes running a globally installed cordova command.
I'm running into issues with arguments and options passed in through the command line going into options and args to the cordova-lib calls. I gave it a day or two, and I've had to move on to other tasks in the meantime.
I'm always up for a helping hand though ;)

Has this been fixed?  This is an issue for me because I develop other Cordova-based apps that use different Cordova versions, so installing Cordova globally is not an option.

why is this closed? Is it not planned to support a local cordova installation?

Not sure why projects do this since NPM makes it very easy package everything you need.  We can not use this package do to the global install as we wont be able to have multiple versions installed at the same time for testing.
Too bad Ionic looked really interesting.

Seems to work for me:

installed ionic in my project's dir
created an ionic project from (within) my project's dir
cd'd to ionic project dir
ln -s ../node_modules node_modules

It requires an extra directory level, but that is much cleaner than a global install.

I've added this "postinstall" script to my project's package.json. Simply updates the path temporarily for the current bash session... Not sure how you would do the same on Windows :/ I think it would be: SET PATH=%PATH%;.\node_modules\.bin
...
"scripts": {
	"postinstall": "PATH=$PATH:./node_modules/.bin/"
	...
}
...

Seems to work :)

Or just add './node_modules/.bin' to your $PATH (via the .bash_profile or .bash_rc files)

Relative paths in the system path look like a neat trick at first, but they create security vulnerabilities that can be accidentally or intentionally exploited. Some of us don't like the convenience/security trade-off there, so it'd be great if ionic would not require global installation.

So, this is still a thing? On Ubuntu 16.04. Can't install cordova globally, need multiple versions.


[KBM Editor] fix crash when mapping left and right modifier to the combined key.

Summary of the Pull Request
What is this about:
The keyboard manager editor allowed setting "Alt (Left)" -> "Alt" and "Alt (Right)" -> "Alt".
This would make it so that when these were combined when opening the Editor, they would be combined to "Alt" -> "Alt" and the editor would crash trying to present the error flyout.
What is include in the PR:
Three changes related to this crash:
1 - Don't combine the modifier keys to the combined key.
2 - Catch the exception when trying to show an unavailable flyout when loading the Window.
3 - Don't allow the user to make mappings such as "Alt (Left)" -> "Alt" or "Alt" -> "Alt (Left)".
How does someone test / validate:
Verify that before you could set up "Alt (Left)" -> "Alt" and "Alt (Right)" -> "Alt" and it would crash the KBM Editor if you saved and then try to reopen.
After having that configuration saved, verify that the Window no longer crashes when you try to open KBM Editor.
Quality Checklist

[x] Linked issue: #12978
[ ] Communication: I've discussed this with core contributors in the issue.
[ ] Tests: Added/updated and all pass
[ ] Installer: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[ ] Binaries: Any new files are added to WXS / YML

[x] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

I don't know if remapping like Alt (Left) -> Alt can be useful for someone but I think we should document it

I don't know if remapping like Alt (Left) -> Alt can be useful for someone but I think we should document it

This is a sort of special case of mapping to the same key. (That's why the combine logic was there before)


brian_region.npy file is work for other dataset when run back_remov.py ?

Hi, I am using the preproess methods in Data_Preprocess folder to preprocess my dataset,but i don't know the brain_region.ny provided in your code is still work for my dataset( my dataset may not have the same shape as your data)? if not ,could you introduce how to creat a new brain_region.npy file that work for my data?

Hi the brain_region.npy is based on the standard MNI space. If you are processing brain MRI data and have already registered the brain to the MNI152 template, then this brain-region.npy should work for your data. For more details you can view the script that does the registration.


Verifying the validity of the validate binary

Now that the PackageList repo has a binary version of validate, we may get some questions around how trustworthy that is. We know that it's compiled directly from the source in this repository, but other people might not be willing to take our word for it.
Technically I don't even know whether that binary did come from this source! I have no doubts, but it's coming down to trust.
We should discuss what we do to put people's fears to rest. I'm open to all suggestions, from something as simple as a checksum that we ship in the PackageList repository, to something more fundamental. I know @finestructure has some views on this so please do chime in.
Also, script.sh now downloads a binary, executes it, and deletes it. That's technically no more risky than what it did before, but it somehow feels it! 😬 Do we know if anyone is using this script? I'd maybe feel happier if we didn't have this script be part of the PackageList repository.

I use the script in my CI scripts:
...
      run: curl -s https://raw.githubusercontent.com/SwiftPackageIndex/PackageList/main/script.sh | bash -s -- mine

However I don't the script is necessary at all. I could easily run it via something like mint on my CI since it's a swift package.
I'm not sure the best way users can use the checksum. Perhaps if I included the binary as a zip and used GitHub releases for the checksum but I am open to suggestions as well.

However I don't the script is necessary at all. I could easily run it via something like mint on my CI since it's a swift package.

Or even just have this script in your repository. Let's remove it from the PackageList repo as soon as is convenient for you.

I'm not sure the best way users can use the checksum. Perhaps if I included the binary as a zip and used GitHub releases for the checksum but I am open to suggestions as well.

I think doing releases would be a great idea, regardless of the checksum issue. 👍

Or even just have this script in your repository. Let's remove it from the PackageList repo as soon as is convenient for you.
Agreed. I'll remove it

I think doing releases would be a great idea, regardless of the checksum issue. 👍
Is there a way rather than committing the binary here, we just use the latest release and then folks can run a checksum off of the zip file?

Do you mean not including the binary in the PackageList repository, or in this repository?.

including a zip in the GitHub release and not in the PackageList repository

How would people run validate on PackageList?

Create a script 😂
I am open to ideas but that's the only thing I can think of if we really want to validate the release. The script would:

download the zip from the latest release
check the zip file with a hard-coded SHA
unzip the file
run the executable and pass the arguments (diff, all, mine, etc...)


Add ability to turn off soak auto calculation on minion sheet.

In dev branch will be in version 1.2


Parallel invocation of AnalysisFacade fails spuriously in 1.20.0-RC1

Expected Behavior
It should be possible to run tests and other scenarios in parallel where AnalysisFacade is invoked.
Observed Behavior
io.github.detekt.tooling.api.UnexpectedError
	at app//io.gitlab.arturbosch.detekt.core.tooling.AnalysisFacade$runAnalysis$1.invoke(AnalysisFacade.kt:55)
	at app//io.gitlab.arturbosch.detekt.core.tooling.AnalysisFacade$runAnalysis$1.invoke(AnalysisFacade.kt:47)
	at app//io.gitlab.arturbosch.detekt.core.tooling.ProcessingSpecSettingsBridgeKt.withSettings(ProcessingSpecSettingsBridge.kt:26)
	at app//io.gitlab.arturbosch.detekt.core.tooling.AnalysisFacade.runAnalysis$detekt_core(AnalysisFacade.kt:47)
	at app//io.gitlab.arturbosch.detekt.core.tooling.AnalysisFacade.run(AnalysisFacade.kt:25)
        ...
Caused by: java.lang.RuntimeException: Duplicate registration for EP 'org.jetbrains.kotlin.com.intellij.treeCopyHandler': first in FakeIdForTests, second in FakeIdForTests
	at org.jetbrains.kotlin.com.intellij.openapi.components.ComponentManager.createError(ComponentManager.java:167)
	at org.jetbrains.kotlin.com.intellij.openapi.extensions.impl.ExtensionsAreaImpl.checkThatPointNotDuplicated(ExtensionsAreaImpl.java:235)
	at org.jetbrains.kotlin.com.intellij.openapi.extensions.impl.ExtensionsAreaImpl.registerExtensionPoint(ExtensionsAreaImpl.java:240)
	at org.jetbrains.kotlin.com.intellij.openapi.extensions.impl.ExtensionsAreaImpl.doRegisterExtensionPoint(ExtensionsAreaImpl.java:210)
	at org.jetbrains.kotlin.com.intellij.openapi.extensions.impl.ExtensionsAreaImpl.doRegisterExtensionPoint(ExtensionsAreaImpl.java:189)
	at org.jetbrains.kotlin.com.intellij.openapi.extensions.impl.ExtensionsAreaImpl.doRegisterExtensionPoint(ExtensionsAreaImpl.java:183)
	at org.jetbrains.kotlin.com.intellij.openapi.extensions.impl.ExtensionsAreaImpl.registerExtensionPoint(ExtensionsAreaImpl.java:160)
	at io.github.detekt.parser.DetektPomModel.<init>(DetektPomModel.kt:27)
	at io.github.detekt.parser.KotlinEnvironmentUtilsKt.createKotlinCoreEnvironment(KotlinEnvironmentUtils.kt:56)
	at io.gitlab.arturbosch.detekt.core.settings.EnvironmentFacade$environment$2.invoke(EnvironmentAware.kt:38)
	at io.gitlab.arturbosch.detekt.core.settings.EnvironmentFacade$environment$2.invoke(EnvironmentAware.kt:31)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at io.gitlab.arturbosch.detekt.core.settings.EnvironmentFacade.getEnvironment(EnvironmentAware.kt:31)
	at io.gitlab.arturbosch.detekt.core.ProcessingSettings.getEnvironment(ProcessingSettings.kt)
	at io.gitlab.arturbosch.detekt.core.KtTreeCompiler.<init>(KtTreeCompiler.kt:14)
	at io.gitlab.arturbosch.detekt.core.tooling.ParsingStrategyKt$inputPathsToKtFiles$1.invoke(ParsingStrategy.kt:24)
	at io.gitlab.arturbosch.detekt.core.tooling.ParsingStrategyKt$inputPathsToKtFiles$1.invoke(ParsingStrategy.kt:23)
	at io.gitlab.arturbosch.detekt.core.tooling.Lifecycle$analyze$filesToAnalyze$1.invoke(Lifecycle.kt:38)
	at io.gitlab.arturbosch.detekt.core.tooling.Lifecycle$analyze$filesToAnalyze$1.invoke(Lifecycle.kt:38)
	at io.gitlab.arturbosch.detekt.core.util.PerformanceMonitor.measure(PerformanceMonitor.kt:42)
	at io.gitlab.arturbosch.detekt.core.tooling.Lifecycle$DefaultImpls.measure(Lifecycle.kt:34)
	at io.gitlab.arturbosch.detekt.core.tooling.Lifecycle$DefaultImpls.analyze(Lifecycle.kt:38)
	at io.gitlab.arturbosch.detekt.core.tooling.DefaultLifecycle.analyze(Lifecycle.kt:61)
	at io.gitlab.arturbosch.detekt.core.tooling.AnalysisFacade$runAnalysis$1.invoke(AnalysisFacade.kt:48)
	... 47 more

This is quite similar to https://github.com/detekt/detekt/issues/2433
Steps to Reproduce
Reproduction could be provided if requested.
Context
I'm trying to execute parallel JUnit tests where AnalysisFacade is being invoked, and it hints that parallel production execution also would fail similarly
Your Environment

Version of Detekt used: 1.20.0-RC1
Version of Gradle used (if applicable): 7.4
Gradle scan link (add --scan option when running the gradle task): N/A
Operating System and version: macOS
Link to your project (if it's a public repository): N/A

This is a regression, right?

I think this might be the root cause:

https://github.com/detekt/detekt/pull/4545

Reverting that will cause the autoCorrect feature to don't work at all for anyone. I was not able to find a better solution sadly.

Why wouldn't you be able to reintroduce the synchronized? To me it looks like that would solve this issue and I don't see why that would cause secondary issues.

Why wouldn't you be able to reintroduce the synchronized?

That could work. My gut feeling was that the source of all the pain was a call to getRootArea(). I frankly don't know what's the root cause of the stacktrace you reported. Wrapping with synchronized could work (it was originally removed as we mirrored our setup to the KtLint one).

I think in my case, the problem stems from the fact that multiple threads are running DetektPomModel.<init> in parallel.

@davidburstrom do you have time to create a PR with your proposal to fix this?

Yeah, I can take a stab at it, especially since I can repro it locally. How much time do I have before the GA release?

I don't think we can launch the stable release until this is fixed. So there's not an eta.

As far as I can tell, the bug is fixed in 1.20.0-RC2.


add how to install

Hi, I added how to install section to README.md since I had a bit difficulty finding minimum requirements to use http4s.

This is all covered on the website: https://http4s.org/versions/

And starting with 0.22, it'll work for Scala 2 and Scala 3.  I guess it doesn't hurt to link to the versions page from this page, since it's confusing new users?


List of recent option files

Checking different settings is a bit tedious now. It should be possible to select one of recently loaded options from a list, instead of clicking on "Load..." button and selecting a file.
In the future Wangscape could store cache on user's computer, so selecting recent options file will be possible even after Wangscape's restart.

The goal of this task is to add a combo box at the top of the options editor with loaded option files' names displayed in it. After selecting one of them, options editor should present options from that file, i.e. displayed options should be replaced by the new ones. It would be also nice to have #201 in mind and implement it in a way that Wangscape will ask about saving edited files before the change.


core v5 fixes

PR Checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] If applicable, have a visual design approval

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] clarity.design website / infrastructure changes
[ ] Other... Please describe:

What is the new behavior?

improve rendering performance for cds-icon. Prior we could render in-view around 10,000 instances in about 60 seconds. This updated version has this down to about 6 seconds.
Improve a11y with icon and docs on appropriate use cases
Added support for alert actions and cds-text links
fixed various missing registry imports causing some components to not load
add missing background color from themes

Angular 11 + 10,000 icons
Before: ~57 seconds

After ~7 seconds

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

I goofed and rebased early. I fixed the comments above but ping if there are any questions


Optimization: lookupObject

Could I have enough information in lookupObject that I would not need to lookup the constructor by name?
The only issue is that this would prevent me from creating objects for "most derived" types.

This covers more: #555


aa/attester: add IBM Secure Execution driver framework

This is the initial draft to fix: https://github.com/confidential-containers/guest-components/issues/485 and the draft PR provides the API framework without a real pvattest crate yet.
Try it after adding the new Tee type Tee::Se in https://github.com/virtee/kbs-types/blob/main/src/lib.rs#L24, run:
cd guest-components
TEE_PLATFORM=se KBC=cc_kbc make

Depends on:

[x] https://github.com/virtee/kbs-types/issues/26

Thanks @huoqifeng for the contribution! I'd love to review this if it is ok : D

@Xynnn007 this is not fully ready for review, but I think we can start discuss the potential changes both on guest-components side and on trustee side, which is tracked by https://github.com/confidential-containers/trustee/pull/345.
We want to move the challenge generation from session to attestation-service and introduce a new fn generate_challenge. like in https://github.com/huoqifeng/trustee/blob/s390x-verifier/attestation-service/attestation-service/src/lib.rs#L243, we want use this challenge.extra_params in guest like https://github.com/huoqifeng/guest-components/blob/s390x-attester/attestation-agent/kbs_protocol/src/client/rcar_client.rs#L140
The reason is: for IBM Secure Execution (SE), attester need an attestation-request to generate the evidence, while the attestation-request should always be created on verifier. CC @BbolroC  @steffen-eiden

@Xynnn007 @fitzthum I'd like start the review process of the API change to support IBM SE. May you please help on that?

@huoqifeng Are we waiting for the underlying SE crate before we merge this? Any idea when it will be ready?

@fitzthum because the code tools/client in trustee PR depends on the kbs_protocol in guest-components, I'm think we merge this PR after review completed without the underlying IBM SE crate, and then add it after the PR in trustee merged. So the steps will be:

Review and merge  https://github.com/confidential-containers/guest-components/pull/492 without IBM SE crate
Review and merge https://github.com/confidential-containers/trustee/pull/345/ with IBM SE crate (@Xynnn007 suggest we should add the real crate in trustee)
Add IBM SE crate in guest-components in a new PR
@fitzthum @Xynnn007 wdyt?

@mkulke @Xynnn007 comments addressed, thanks for all of your review! I'm curious why the CI is not health with no failure task?

@mkulke @Xynnn007 comments addressed, thanks for all of your review! I'm curious why the CI is not health with no failure task?

some workflows have been cancelled, seemingly for no reason. I've noticed this problem elsewhere this week, I'll re-schedule the cancelled ones, that worked so far.

@Xynnn007 I guess the failure in https://github.com/confidential-containers/guest-components/actions/runs/9358373555/job/25760080271?pr=492 is caused by network connection?

@mkulke @Xynnn007 thank you very much for reviewing the PR and gave so many useful suggestions! thanks for your approval.

@huoqifeng I noticed the CI will not alert about code that doesn't compile in the se-attester module. I suppose due to the target-toggle. Do you plan to add CI for s390? If not, maybe we should revisit that toggle, otherwise the code will break unnoticed w/ future refactorings.

I know @BbolroC is working on this, maybe, we bring back the change in lib.rs to enable CI for se?

For reviewers, you can find CI enablement for s390x at #576 . Thanks! 😉


Enhancement: File tree listing

Please remove the up (..) and current (.) folders when opening a folder. These are not needed i order to use the file tree.

these folders, do you see in any folder?

Yeah! I see them in every folder...

ok try below
open edit server setting panel and then
input "., .." to exclude files.
click "update" button.

Nice! That helped. Any plans to implement this by default?

ok I will set to default "., .." to next update.


Allow target_chunksize to be passed to reader when loading in CASA datasets

In some cases the target_chunksize can end up being too large so this gives the option to customize it. The test will fail for now, will try and fix later today.

Codecov Report

Merging #705 (3ac5cfb) into master (4bc8fa9) will decrease coverage by 4.71%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #705      +/-   ##
==========================================
- Coverage   80.30%   75.59%   -4.72%
==========================================
  Files          24       24
  Lines        5551     5421     -130
==========================================
- Hits         4458     4098     -360
- Misses       1093     1323     +230

Impacted Files
Coverage Δ

spectral_cube/io/casa_image.py
66.05% <100.00%> (ø)

spectral_cube/visualization-tools.py
0.00% <0.00%> (-12.25%)
:arrow_down:

spectral_cube/ytcube.py
18.81% <0.00%> (-10.90%)
:arrow_down:

spectral_cube/spectral_cube.py
74.07% <0.00%> (-9.89%)
:arrow_down:

spectral_cube/dask_spectral_cube.py
83.30% <0.00%> (-5.89%)
:arrow_down:

spectral_cube/lower_dimensional_structures.py
78.58% <0.00%> (-5.39%)
:arrow_down:

spectral_cube/masks.py
79.41% <0.00%> (-4.03%)
:arrow_down:

spectral_cube/base_class.py
84.61% <0.00%> (-3.17%)
:arrow_down:

spectral_cube/conftest.py
89.54% <0.00%> (-0.99%)
:arrow_down:

spectral_cube/cube_utils.py
79.39% <0.00%> (-0.77%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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

@keflavich - the 0 line changes are old data files I'm removing (now in casa-formats-io). I'll try and provide some guidance about the chunk size in the docs.

@keflavich @e-koch - I've edited the docs, can you check to see if this makes sense now?

Looks good! The explanation for rechunking along the spectral dimension is clear.


Fixed Vivado Automation Issues

Because the modules are named differently in the impl.v and reversed.v files, I added in logic to rename them to names that the testbench is looking for. Now when Vivado launches, it can link the two files together and automatically start the simulation tool with the testbench's simulation data.

@JakeEdvenson This has a conflict.


How the fallback works? And errors question

Just found this! I was writing my own mobx persistent lib, but this one will save me some time.
If the data isn't locally found, it will keep the initial value?
Also, if there is an error during the save/load, will there be any Error throw?

Also, there is an error in the example link in the README https://github.com/acrazing/mobx-sync#full-example

Well, I just wrote an example, you can check it out here:

Answer your questions:

If the data isn't locally found ,it will keep the value in memory.
If error occurs, it will emit an error event, you can pass the onError option to subscribe it. Here is the example: https://codesandbox.io/s/mobx-sync-todomvc-03mej?file=/src/store/RootStore.ts:940-994.

Thanks for the quick reply!
If onError isn't set, nothing will happen on error, right? Just to be sure.

Sure, you it will do nothing:
https://github.com/acrazing/mobx-sync/blob/74fee8fbb73e289ea8ebcf9dc358e837ea042e5b/src/async.ts#L77-L83


go extension: add lock in go side to avoid concurrency race

Commit Message: go extension: add lock in go side to avoid concurrency race
Additional Description: N/A
Risk Level: low
Testing: intergation test
Docs Changes: N/A

issue #27914 @doujiang24 PTAL, thanks.

/retest

/retest

/retest

cc @wbpcode


Add EnforcedNamespaceLabel to Prometheus CR

This introduces EnforcedNamespaceLabel which when set does the following:

In PodMonitor and ServiceMonitor for the case of MetricRelabelConfigs skips generating the relabilings if the EnforcedNamespaceLabel is the same value as the TargetLabel
For PodMonitor and ServiceMonitor for the case of RelabelConfigs the Namespace of the object is added as a relabaling as the last item.
For Rules we inject a new label EnforcedNamespaceLabel key with vlaue of the Objects Namespace. And add the same to the labels.

cc @brancz Can you have a look at the TODOs I left, its more like questions, thanks!

@brancz PTAL
cc @s-urbaniak @paulfantom

this looks great, i really just have nits! :tada:

@brancz @s-urbaniak Rebased and addressed the comments, PTAL, thanks!

lgtm on green

indeed, lgtm on green too :+1:


any info on Vulkan 1.1 support?

Hi,
just going to install Vulkan SDK 1.1 and VK1.1 drivers..
any info on what to expect to work and not using new Vulkan 1.1 APIs on Renderdoc 1.0?
thanks..

Vulkan 1.1 will be supported, yes. Some of the extensions that were promoted to core are already supported, others aren't, so it depends on what you're trying to do.


System.Exception: Unable to re-serialize json

Hi, I got the following error on multiple canvas apps, which I tried to unpack.
System.Exception: Unable to re-serialize json to match source!  Character at position: 1843 on line: 0 at 1844 is not correct.  To prevent potential app defects, extracting file C:\Program Files\DynamicsUtility\Tools\SPPoc\ext\Apps\FormToJson\Controls\103.json has stopped.
See 'C:\Program Files\DynamicsUtility\Tools\SPPoc\ext\Apps\FormToJson\Controls\103.json.original' for extracted version vs output version 'C:\Program Files\DynamicsUtility\Tools\SPPoc\ext\Apps\FormToJson\Controls\103.json.reserialized'.Character at position: 23392 on line: 1 at 0 is not correct.  To prevent potential app defects, extracting file C:\Program Files\DynamicsUtility\Tools\SPPoc\ext\Apps\FormToJson\Controls\103.json has stopped.
See 'C:\Program Files\DynamicsUtility\Tools\SPPoc\ext\Apps\FormToJson\Controls\103.json.original.json' for extracted formatted version vs output formatted version 'C:\Program Files\DynamicsUtility\Tools\SPPoc\ext\Apps\FormToJson\Controls\103.json.reserialized.json'.
at CanvasAppPackager.UnpackLogic.VerifySerialization(CanvasAppScreen screen, String json, String file, Version docVersion) in C:\Users\DarylLaBar\source\repos\CanvasAppPackager\CanvasAppPackager\UnpackLogic.cs:line 244
at CanvasAppPackager.UnpackLogic.ExtraCodeful(String controlsDir, String codeDirectory, Version version, Args options) in C:\Users\DarylLaBar\source\repos\CanvasAppPackager\CanvasAppPackager\UnpackLogic.cs:line 202
at CanvasAppPackager.UnpackLogic.ExtractCanvasApp(String appDirectory, Args options) in C:\Users\DarylLaBar\source\repos\CanvasAppPackager\CanvasAppPackager\UnpackLogic.cs:line 180
at CanvasAppPackager.UnpackLogic.Unpack(String file, String outputDirectory, Args options) in C:\Users\DarylLaBar\source\repos\CanvasAppPackager\CanvasAppPackager\UnpackLogic.cs:line 62
at CanvasAppPackager.UnpackLogic.ExtractApps(String outputDirectory, Args options) in C:\Users\DarylLaBar\source\repos\CanvasAppPackager\CanvasAppPackager\UnpackLogic.cs:line 80
at CanvasAppPackager.UnpackLogic.Unpack(String file, String outputDirectory, Args options) in C:\Users\DarylLaBar\source\repos\CanvasAppPackager\CanvasAppPackager\UnpackLogic.cs:line 62
at CanvasAppPackager.Program.Unpack(Args options) in C:\Users\DarylLaBar\source\repos\CanvasAppPackager\CanvasAppPackager\Program.cs:line 89
at CanvasAppPackager.Program.Main(String[] args) in C:\Users\DarylLaBar\source\repos\CanvasAppPackager\CanvasAppPackager\Program.cs:line 49
Here the demo app
FormToJson_20210413091552.zip
Best regards,
Marco

Sorry Marco, since Microsoft now has their own version of the tool that they will be supporting, I'm not planning on updating the project any more.  You can check it out here: https://github.com/microsoft/PowerApps-Language-Tooling


<EMAIL_ADDRESS>hash check failed

While trying to install defraggler, check of the hash code from downloaded file has beed failed.  After investigation the download url has beed changed from www.piriform.com to www.ccleaner.com.

This looks as duplicate of issue #2272

The hash 2edfa974fc2e8e34c0b8c152077da9c3a4ab28cad81a4ced463f0cf6634a0f01 in the manifest (the “expected” hash above) is correct. Please try again.


Document new Ravedude.toml manifest

PR #522 introduced a Ravedude.toml manifest for configuring ravedude.  This needs to be documented for users.  We need to decide on where this documentation should be placed.
I personally am in favor of just putting it into the crate documentation of ravedude so it shows up on docs.rs.
Alternatives that were proposed (could also be done additionally to the above):

mdbook documentation for ravedude (https://github.com/Rahix/avr-hal/pull/522#discussion_r1672951463)
--help-toml option for CLI documentation (https://github.com/Rahix/avr-hal/pull/522#discussion_r1672951463)
man page for ravedude (https://github.com/Rahix/avr-hal/pull/522#discussion_r1700550665)

Cc: @Creative0708, @tippfehlr

I’m also in favor of docs.rs. mdbook would work as well, but seems a bit overkill for ravedude alone and is probably more work to set up.
I personally think man pages would also be helpful, both for the cli and the config file.
We could use clap_mangen for the cli manpage (and clap-complete for shell completions ✨), we would only need to migrate to clap. Is there a reason not to?
I think there’s no way other than writing the ravedude.toml.5 manpage by hand, but I could do that from the other documentation. I think scdoc would be suitable (with quite readable source files).

Let's go with crate documentation then!

I personally think man pages would also be helpful, both for the cli and the config file.

I'm a fan of manpages as well, but deployment is difficult for tools installed via cargo.  The only solution I know of would be for ravedude to carry its manpages in its belly and provide them via a ravedude --man xyz CLI flag...  Not great, imo.
For distro packages like the one you crated, manpage deployment isn't an issue, of course.
The thought of a ravedude(3) and a Ravedude.toml(5) does sounds sweet though :D

we would only need to migrate to clap. Is there a reason not to?

My main reason for avoiding clap was the bloat.  We don't really need advanced commandline parsing and we need it even less now that most commandline options have moved into the config file.  So I'd rather keep ravedude with as few dependencies are really necessary...

Another point: is ravedude really related to avr-hal or would it be better to move it to it’s own repo?

I have conflicted feelings on this as I'm usually of the opinion that related software should rather live in one large repo than many small ones.  But I do know that the rust community at large is mostly following a different approach.  Not sure, I guess I'd be open to create an umbrella organization to house all the rust + avr related repos I'm currently maintaining.  And then also splitting out ravedude into its own repo.


Retaining presenter: Why not using loader?

I read a lot about how to retain presenters and I'm even a bit confused which method is preferred: Retain fragment, hold presenter in map/array, loaders,.....

One could use loaders, but historically they were a little bit more buggy than fragments (this seems to be fixed in latest support library) and I also think that the loaders API is not perfectly designed for such a use case (handling presenters).
Using a map / array is also a possible way, but then you have to assign id's to map views to presenter. Also you have to manage lifecylce events i.e. when do you remove a presenter from a map? Definitely solvable problems, but I think its easier to implement by saying the presenter sticks as long as the view object is not garbage collected.
Therefore, I, personally, prefer Retaining fragments.


impersonation

Can the login user impersonate as other users and subscribe other user's events?

No. Subscriptions are created via the Microsoft Graph API, which uses OAuth bearer tokens. The app in this case is always acting on the logged-in user's behalf.
You could modify this to use app-only authentication, which would require a tenant admin to consent to the app. It could then have permission to all user's in the tenant and subscribe to any of them.


Consolidate, correct and test devscripts checks

With the big changes introduced by #1777, some of the checks done in
devscripts to ensure the OCP cluster was present were broken or not
properly scaling.
This patch corrects this situation, and ensures the tests are properly
working with a dedicated molecule scenario.
It also makes a small logical correction in the reproducer role, to
ensure we don't do same tasks multiple times for nothing, and also to
ensure we're testing the right, up-to-date content.
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running

Anything using devscripts - so mostly VA, yes.

/approve

/approve


Bob

https://tea.xyz/what-is-this-file

version: 1.0.0
codeOwners:

'0xb232361bB70E5a10657d7F8F305628C2f638F534'
quorum: 1

What is this exactly?

bye bye


songbird 2?

Are there plans to update songbird to work with latest and upcoming versions of Qiime2?
This is a great tool. I can't always get it to work with my data (model fitting is not always easy to land) but I keep trying :)
Thanks

Thank you for your comments.
Yes, we are in the process of developing a second version, where we'll ditch Tensorflow in favor of Stan.
Can't give a timeline right now, since its still in active development.

Thank you for your comments.
Yes, we are in the process of developing a second version, where we'll ditch Tensorflow in favor of Stan.
Can't give a timeline right now, since its still in active development.

Hey, just wondering if there are any updates on a Songbird compatible with newer versions of Qiime2
Cheers

We actually have another iteration that is much more accurate. See below
for the preprint and github.
https://github.com/biocore/BIRDMAn
https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>6328v1
But I’ll be honest, it is not easy to setup and run, since it requires a
compute cluster. So we wont be able to have support for qiime2 in the near
future.
On Fri, Jul 7, 2023 at 4:47 AM Joana Sabino Pinto @.***>
wrote:

Hey, just wondering if there are any updates on a Songbird compatible with
newer versions of Qiime2
Cheers
—
Reply to this email directly, view it on GitHub
https://github.com/biocore/songbird/issues/148#issuecomment-1625071972,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA75VXJL6LTQTQWNO6TJWIDXO7EJFANCNFSM4WEHV6NQ
.
You are receiving this because you commented.Message ID:
@.***>


Fixing a recently introduced error with _create_locale

merge https://github.com/dmlc/dmlc-core/issues/478 first.

 The patch
```patch
From<PHONE_NUMBER>775ade063788306ba6409dc75648a8 Mon Sep 17 00:00:00 2001
From: KOLANICH
Date: Tue, 6 Nov 2018 19:58:15 +0300
Subject: [PATCH] Fixed the error with _create_locale not present in msvcrt.dll

CMakeLists.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5d6005e4..f1beec5b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -265,6 +265,18 @@ if(GOOGLE_TEST)
add_test(TestXGBoost testxgboost)
endif()
+if(MSVC)
+else(MSVC)

if(DMLC_CREATE_LOCALE_PRESENT)
include(${PROJECT_SOURCE_DIR}/dmlc-core/cmake/workaround_MinGW_MSVCRT_to_MSVCR100.cmake)
workaround_MinGW_MSVCRT_to_MSVCR100(xgboost)
workaround_MinGW_MSVCRT_to_MSVCR100(runxgboost)
if(GOOGLE_TEST)

 workaround_MinGW_MSVCRT_to_MSVCR100(testxgboost)

endif(GOOGLE_TEST)
endif(DMLC_CREATE_LOCALE_PRESENT)
+endif(MSVC)

Group sources
auto_source_group("${SOURCES}")
2.19.1.windows.1

</details>

See my comment at dmlc/dmlc-core#478.


Fulgor Indexing Error Due to Empty Bucket Detection

Hi @jermp !!
@karel-brinda and I are using Fulgor to build indexes of bacterial collections, but we're running into the same issue mentioned in https://github.com/COMBINE-lab/simpleaf/issues/126 (i.e. the indexing process gets aborted due to the detection of an empty bucket). We saw that you fixed this in sshash (https://github.com/jermp/sshash/issues/42), but Fulgor is still referring to its older version. Would it be possible to integrate those fixes into Fulgor?
Here's the error message I get when I run the fulgor build command:
=== step 3: 'build_index' 1.51034 [sec] (28.1915 [ns/kmer])
max_num_super_kmers_in_bucket 4121
max_num_super_kmers_in_bucket 4121
log2_max_num_super_kmers_in_bucket 13
num_buckets_in_skew_index 92/8799835(0.00104547%)
num_partitions 7
computing partitions...
num_kmers belonging to buckets of size > 64 and <= 128: 16574
num_kmers belonging to buckets of size > 128 and <= 256: 7551
num_kmers belonging to buckets of size > 256 and <= 512: 3626
num_kmers belonging to buckets of size > 512 and <= 1024: 3374
num_kmers belonging to buckets of size > 1024 and <= 2048: 6119
==> Empty bucket detected:
there is no list of size > 2048 and <= 4096
terminate called after throwing an instance of 'sshash::empty_bucket_runtime_error'
  what():  try a different choice of l or change seed
/usr/bin/bash: line 1: 83654 Aborted

Thank you in advance!!

Ciao @Francii-B!
As of 54244933aa096d6d8931a8f40b1df36ec4b26aae, this is now done. Thank you for pointing this out.
Let me know if this now works for you.


Make Component Types callable

One typo fix, two suggestions.

added subs property of a component so you can, instead of eg switch1.get_all_subcomponents() write

In [5]: switch1.subs
Out[5]:
[component ethernet-port: switch-wiz6-snABC_p04 (4192),
 component ethernet-port: switch-wiz6-snABC_p00 (8360),
 component ethernet-port: switch-wiz6-snABC_p02 (16552),
 component ethernet-port: switch-wiz6-snABC_p01 (40972360),
 component ethernet-port: switch-wiz6-snABC_p05 (40980488),
 component ethernet-port: switch-wiz6-snABC_p03 (81936464)]

Made ComponentType instances callable (by adding __call__ fn to the class definition).  This allows:

In [2]: t_switch           = ComponentType("switch", "a network switch").add()
ComponentType with name switch already exists in the database.

In [4]: switch1  = t_switch("switch-wiz-snABC").add()
Component with name switch-wiz-snABC already exists in the database.

instead of
In [3]: switch1  = Component("switch-wiz-snABC", t_switch).add()
Component with name switch-wiz-snABC already exists in the database.

I'm not sure I'm sold on making the class callable. For ComponentType it currently seem benign, but presumably we'd want to make other classes callable too, and for some other classes it would be problematic. E.g., if Component were callable, it would probably break things if you started doing operations on the object before it had actually been added to the DB.
I'm not necessarily opposed to the subs property, but is it mainly to make the call less verbose? I'd certainly be in favour of shortening some of the method names which are too long. I.e., would you be OK with shortening the method to subcomponents() or subcomps() or similar? Or is there a need to additionally have a property?

(Also, sorry for taking so long to finally comment …)


net: doc: Add Ethernet over USB basic documentation

Add basic documentation about Ethernet over USB and describe
prj_netusb.conf configuration file.
Signed-off-by: Andrei Emeltchenko<EMAIL_ADDRESS>

@loicpoulain

I addressed AFAIK most of comments.


Revert "Update gateway port to service port before gateway merging. (…

revert fix added by #31386. will added a different fix later on. Reverting the old fix would make it easier to compare before and after the new fix with tests.

/retest

/retest


bugfix: reqstat record keys may duplicate if concurrency level is high

In ngx_http_reqstat_module:

Root of the red-black tree may change when inserting a new record if rotation occurs. ctx->sh->rbtree.root is NOT read-only.
The process of retrieving the tree root is not protected by mutex lock, which may introduce race condition.

In some rare cases, when the concurrency level is high enough,
ngx_http_reqstat_rbtree_lookup() may fail to find an existing node and allocate a new one. This will cause repeated keys in the reqstat output.

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


map_overlap does not always trim properly when drop_axis is not None

What happened:
If either the depth or boundary argument to map_overlap is not the same for all axes and trim=True, then the code that trims the output does not take drop_axis into account, leading to incorrect trimming.
What you expected to happen:
When axes are dropped, the corresponding entries should also be dropped from depth and boundary so that trim works as expected.
Minimal Complete Verifiable Example:
import dask.array as da
x = da.ones((5, 10), dtype=float)

y = da.map_overlap(
    lambda x: x.mean(0), x, depth=(0, 2), drop_axis=(0,), chunks=(0,), dtype=float
).compute()
assert y.shape == (x.shape[1],)

The assertion will fail because depth=0 along the dropped axis, but the trimming code does not reduce the depth internally from (0, 2) to just (2,) to take into account the dropped axis. Thus 0 elements get trimmed from either end instead of 2!
# Put your MCVE code here

Anything else we need to know?:
@jakirkham: this is the issue I mentioned to you this afternoon. I have a solution and will make a PR with it now
Environment:

Dask version: 2012.7.0
Python version: 3.8.10
Operating System: linux
Install method (conda, pip, source):  conda-forge

cc @GenevieveBuckley

Fix is being worked on in PR ( https://github.com/dask/dask/pull/7894 )


Create a section on licensing

include a table of states and their position on the copyright status of government works (see the Wikipedia entry for a head start on this
link to the Open Government Data licensing page

Done.


Reduce the swap code to an actual single line in C

The current solution has 3 separate statements, so it doesn't seem right to call it a one-liner. By using ^=, we can reduce it to just one, so it's an actual one-liner. I have also separated the note from the explanation and added an example to show how it's used.

Nevermind, I have seen it causes unexpected behaviour in some compilers. It could be something like this: (x ^= y), (y ^= x), (x ^= y);, but surely it would be almost the same as the original solution hahaha. You can use the modified version I have proposed to extract the declaration from the solution and make it more readable though.

Thank you for the edit, deployed here: https://onelinerhub.com/c/swap_two_variables_values


feat: Create an about us page

We can build a about page. The About page will contain information about ProjectsHut, including the project's history, goals, and features.

We can build a about page. The About page will contain information about ProjectsHut, including the project's history, goals, and features.

great idea. +1 assigning to you

thanks

Hello @priyankarpal I have created a About Page and i have kept it as simple as like it have the details of Projects but it is very simple..

I will make the footer down

add texts to the center

add texts to the center

Okay 👍 any more changes?

add texts to the center

Okay +1 any more changes?

create a PR I will check

add texts to the center

Okay +1 any more changes?

create a PR I will check

Okay I will create by evening currently I am in class

Suggest me one thing that in this ScreenShot we love ProjectsHut is not looking good in about page we can move it in the footer... What say? If in footer then where it will look good in footer @priyankarpal

try to change to footer text proudly open source

can you drop some good resource which can help in creating about page for mobile view

don't need to do it just add the link & it will automatically add

okay

@priyankarpal These are 2 ss one is with more emoji and other one is of less emoji which is more good??

Use 2nd ss & use left align for text but middle position

okay got it

@priyankarpal facing issue while doing it

I am using this code:

Text here

take your time & build it. It's not urgent. 🥲💀

okay

The demo about page should be like this. Add image to the right side

okay which image to add???

okay which image to add???

you can find coding images on Unsplash

okay

The demo about page should be like this. Add image to the right side

all the text in about should be like this same correct??

The demo about page should be like this. Add image to the right side

all the text in about should be like this same correct??

I just gave you an idea.

okay i will work on it

@priyankarpal I am thinking to end our about page like this .. Aligning text with a coding image this is unique style as in our project this is will first unique design

@priyankarpal I am thinking to end our about page like this .. Aligning text with a coding image this is unique style as in our project this is will first unique design

show the full design

@priyankarpal I am thinking to end our about page like this .. Aligning text with a coding image this is unique style as in our project this is will first unique design

show the full design

Okay I will share it by tomorrow currently I am suffering from fever so taking rest

@priyankarpal This design is unique and good looking also... What say?

@priyankarpal This design is unique and good looking also... What say?

it's looking overwhelming. I previously gave you a sample design idea to try to make it like that.

okay

@priyankarpal  I tried designs but none of them was so good like the previous one i shared.. That one was more good

@priyankarpal I tried designs but none of them was so good like the previous one i shared.. That one was more good

I will work on it soon

@priyankarpal I tried designs but none of them was so good like the previous one i shared.. That one was more good

I will work on it soon

Okay 👍


Save action causes compilation to be run twice

Any change you make in a Java file and press cmd-s with the save action enabled causes compilation to take place at least twice

Just checked on latest plugin and some Flow based example project and got single COMPILATION STARTED / FINISHED in logs.
Must be something more complicated there...


[FEATURE] Expose convenient interfaces by agent

I'm submitting a

[ ] bug report.
[x] feature request.

Current Behaviour:

Presently Agent provides only CRUD operations for developers to interact with the APIDOC. It would be helpful to expose different methods like getSupportedOperations or getMembers. These methods can allow developers to take actions programatically, instead of parsing the response themselves. It would be nice to have methods similar as reference implementation: https://github.com/HydraCG/Heracles.ts/tree/master/docs#functions. Also, right now response is returned in the form of JSON, it would be nice have it transformed into dict so that user can reference members of response easily.
Expected Behaviour:

One would be able to query from the dict like they normally do. for eg: res.members to get members of the collections.
Steps to reproduce:

NA
Do you want to work on this issue?

yes

Not a bad idea! @chrizandr what do you think?

Yes this seems useful. Heracles already parses the response of the API, we should try something similar. I don't think getSupportedOperations would be a part of the response object, we already have supported operations in core library when the API Doc is parsed into the HydraDoc object.
It would be a good idea to consolidate how responses can be stored as python objects and how we parse the API responses, this would be a great addition to the core library and then we could use core in agent.


Reuse Events

Hi,
it seems like  event delivered to the  next Agent can be used only once , is there any method to use the event several times？
I delivered an express number to the Website Agent and scape Logistics information every five minutes， but it will use the express number only the first time it was delivered.
Fetching http://www.kuaidi100.com/query?type=&postid=

I solved it with Data output Agent and Website  Agent, although it seems a little silly.
And I will close this issue.


differentiate witness methods

The main idea is the new emitVJPReference function, which does the existing lookup logic for function_ref, and which does new lookup logic for witness_method. I refactored the 2 places that had function_ref lookup logic (PrimalGen::visitApplyInstWithVJP and Differentiation::processAutoDiffFunctionInst) to call emitVJPReference.
I added a SIL FileCheck test for it. An end-to-end test is currently not possible: It requires the builtins for looking up method VJPs. I will work on that next in a separate PR.
Other minor necessary fixes:

Made SILFunctionType::getAutoDiffAssociatedFunctionType work on @convention(witness_method) functions.
Made differentiation process transparent functions. The witness thunks with autodiff_functions are transparent for some reason. See test/AutoDiff/witness_table_silgen.swift for an example. The CHECKs in that are checking witness thunks.
Fixed bug so that differentiation processes autodiff_functions in modules without #gradient or [differentiable].

And finally, I re-enabled the SILVerifier check because now it passes.

@swift-ci please test tensorflow


Where to find the list of ONNX layers supported by Vitis-AI?

Hi,
Can you tell me where I can find the updated list of ONNX layers supported by Vitis-AI?
Thank you very much.

You can refer to https://docs.xilinx.com/r/en-US/ug1414-vitis-ai/Supported-Operators-and-DPU-Limitations

Hi @cmarabotto ,
Is there any update to this issue?

Hi @cmarabotto ,
Please reopen the issue if you still have other questions. thanks!


decimal to binary convertor project (js beta) - step 104 check is too strict

Describe the Issue
step 104 of the decimal to binary converter project (js beta) requires the users to type in the following answer:
document.getElementById(obj.inputVal); to pass the step.
However it rejects this other solution which seems equally valid (which is a template string  with the variable interpolated in)
document.getElementById(`{obj.inputVal}`);

Because campers do not have experience with how javascript can take a number and make it into a string, they assume, based on their learning experience so far, that they need to pass a string into the getElementById method. (and they see that the obj.inputVal is not a string but a number and that's why they try to pass in a template string with the variable interpolated into it) I should note, as fyi, that the most common mistake for this step seems to be a use of regular quotes to surround the variable (not too many people recall they need to use the backticks).
I think the check should allow them to write that answer (with the template literal) as it actually works well.
in addition, a specific check to catch out people who write regular quotes around the variable might be good in order to provide the appropriate hint.
At the risk of scope creep though, I also think that there is an opportunity here to discuss how JS coercion works if a little scenic detour in the project steps is allowed. I did a search for the word 'coercion' in the new js beta project files and couldn't find it, so that's why I think it might be a good time right here to discuss it and introduce the word?
(for eg. this specific step can request a template string, then the next new step can discuss removing the template literal and why that works because of coercion?)
Just some thoughts that I hope may make this project a little bit more useful.
(crossing my fingers that I'm not completely off track here)
Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-recursion-by-building-a-decimal-to-binary-converter/step-104
Your code
document.getElementById(`${obj.inputVal}`);

Expected behavior
The check should allow a template literal with the variable name interpolated to be used as an argument for the getElementById method.
A hint should be provided for the case where people try to place the variable in single or double quotes instead.
Ideally, an extra step could be added to discuss JS coercion and the example of taking away the template literal and just typing in the variable as-is (even though it is of type number) should still work with getElementById (even though it expects a string type)
Screenshots
No response
System
N/A
Additional context
No response

can i solve this issue

Hey @hbar1st,
Thank you for the detailed post. What is your opinion about just adding a hint like: "Remember to use string interpolation to get the element by the id."
This prevents us from writing false negative tests (which we do not want).
Let me know your thoughts so we can open this for contribution.

I apologize if I was not clear enough but at the moment this step will reject the string interpolation. (I discovered this when someone tried to do it in the forum and I couldn’t figure out why it was being rejected as it looked good to me). Therefore, just adding a line to remind people to use string interpolation will not work in this case?

my concern is that people may notice that they're passing a number and wonder why it works? (so fary they've all been trying to pass strings in whether correctly or incorrectly)
Ideally this is where a lesson on coercion would fit?

It would be fine to mention it here, but the fact that we don't teach coercion at all is something that should probably be remedied much earlier in the curriculum.


URLSearchParams behavior inconsistent with spec, browser, node.js

The following code:
 new URLSearchParams(new URL('https://example.com/?q1=foo&q2=foo+bar&q3=foo bar&q4=foo/bar').searchParams).toString();

...returns the following on Workers:
q1=foo&q2=foo+bar&q3=foo+bar&q4=foo/bar

...but in Node.js, browsers, etc returns:
q1=foo&q2=foo+bar&q3=foo+bar&q4=foo%2Fbar

/ instead of %2
We need to understand why this is the case and if a regression from https://github.com/cloudflare/workerd/pull/1273

This was indeed a bug with Ada's character sets. I've fixed it and will include this in v2.7.7

Fixed with #1778

This impacted our workers in a high severity way.  @jasnell any idea how long this fix will take it to reach production?  We need to understand if this is somethign we need to work around in the short term or not.

We ought to be able to get an update out fairly quickly. Let me look into it

Issue closed automatically because the workerd pr change landed. Working on updating the internal repo now and will update once the fix has rolled out to production.

@Kaelten ... let me know if you happen to spot anything else. We updated to use ada-url now under the covers which gave us a huge boost in both performance and spec compliance but it appears this one was missed to a gap in the test coverage (the web platform tests don't seem to even cover this particular case, which is fun). Overall, however, the implementation should be even more spec compliant now as a whole.

This was deployed to production. Any reason this did not appear in the change log?
https://developers.cloudflare.com/changelog/?product=workers

@jasnell @ldileonardo
console.log(new URLSearchParams(new URL('https://example.com/?sort=date%3Adesc').searchParams).toString());

Returns the following in Node and in browsers:
https://jsfiddle.net/jaswrks/a0x3j8L6/1/
sort=date%3Adesc

On Cloudflare workers it returns:
sort=date:desc


[FLINK-33194][Connectors/Kinesis] Remove dependency on Flink Shaded

Purpose of the change
[FLINK-33194] Remove dependency on Flink Shaded
Verifying this change
This change is already covered by existing tests.
Significant changes
(Please check any boxes [x] if the answer is "yes". You can first publish the PR and check them afterwards, for convenience.)

[ ] Dependencies have been added or upgraded
[ ] Public API has been changed (Public API is any class annotated with @Public(Evolving))
[ ] Serializers have been changed
[ ] New feature has been introduced

If yes, how is this documented? (not applicable / docs / JavaDocs / not documented)

Hi @hlteoh37, please help review it when you have time.
Thanks.

Hi @dannycranmer, could you help review this?
Thanks.

Hi @MartijnVisser, do you have time to help review it?
Thanks.


fix: stop sending mod acks on receipt when auto ack extensions are disabled

If auto Ack Extensions are disabled (maxAckExtensionPeriod is 0), we should not send a ModAck request when a message is first received.
Fixes #141 ☕

I'm confused about "mod" versus "mock" in the description. This doesn't look like a mock. Can you update the description to clarify?

Sorry about that, typo - I have fixed the description to be mod instead of mock

Also, if this isn't a mock, then a test for this bug would be very helpful. Thanks.

I have added a test as well.

Are we still going to send the receipt ack? If we don't, then the deadline won't be set properly and regardless of the setting, the deadline will be 10 minutes.


UniLinksPlugin.java uses or overrides a deprecated API

I'm using  uni_links 0.5.1 and am building APK (android).
There is a red note of Flutter:
Note: /Users/yinyuman/flutter/.pub-cache/hosted/pub.dartlang.org/uni_links-0.5.1/android/src/main/java/name/avioli/unilinks/UniLinksPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Is that important? Can you update this API?
Thanks so much.

I have the same problem.

I had a closer look using this approach: https://stackoverflow.com/questions/49711773/how-to-recompile-with-xlintdeprecation
Then flutter run shows:
2 warnings
/home/user/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/uni_links-0.5.1/android/src/main/java/name/avioli/unilinks/UniLinksPlugin.java:84: warning: [deprecation] Registrar in PluginRegistry has been deprecated
    public static void registerWith(@NonNull PluginRegistry.Registrar registrar) {
                                                           ^
1 warning

But I don't know how to fix this...


Scrolling across pandzoom content

Hello,
I would like scroll by swipping across the pandzoom content.
In my project the image has width: 100% of viewport, and when my Inch is on the pandzoom image, nothing appened, logic. But have you any tip for allow the scroll despite pandzoom ?
Example : When the image hasn't yet zoom ? when the image has zoom but the image is blocked by the limits of parent container ? When the scroll represent a certain percentage  from bottom to top ?
Than'ks you

I needed this behavior as well.  It would be nice if there was a flag "panOnlyWhenZoomed" that you could set.  In the meantime you can fake the functionality pretty easily by watching the touchstart and touchend events and setting the disablePan accordingly. I tested this on iOS devices and in a variety of the Chrome device emulators and it seems to work fine:
// Assuming we're starting in a zoomed-out state
isZoomed = false;

// Watch touchstart and disable panning if we're not zoomed in
$panzoom.on('touchstart', function(e) {
	if (!isZoomed)
		$(".panzoom").panzoom("option", "disablePan", true);
});

// Renable panning after done touching
$panzoom.on('touchend', function(e) {
	$(".panzoom").panzoom("option", "disablePan", false);
});

// When panzoom is zoomed, set boolean flag if we're zoomed in
$panzoom.on('panzoomzoom', function(e, panzoom, scale, options) {
	// We use a delta calculation here because scales are not
	// always exactly precise.  Adjust delta value as needed.
	isZoomed = Math.abs(scale - options.minScale) > 0.0001;
});

I agree. This function is very important, otherwise the lib is kinda useless .. especially on smaller touch devices.
It is not a very special case, that an image has 100% width on those devices and i think every end user will leave the page in case of being captured inside this image pan container :\


Workaround for self-attention using tf.matmul

We are currently trying to convert a tensorflow model to a tf-lite graph. In particular we are working on a transformer which uses self-attention. The problem with that operation seems to be that tf.matmul receives two non-constant inputs which is, according to the docs, not allowed:

tf.matmul - as long as the second argument is constant and transposition is not used

This seems like a major limitation for the self-attention mechanism. Is there any workaround available for this?
(see also stackoverflow question)

Currently matmul is not fully supported by tflite, and it will be resolve into fully_connected op during conversion.
since your use case self-attention needs it, we can definitely look into it.
do you have a model help us debug?
thanks!

Hi @stefan-falk ,
Sorry for belated, I saw that this transformer example is well converted into TFLite with tf-nightly.
https://www.tensorflow.org/tutorials/text/transformer
Could you try it?

@renjie-liu It seems that the Keras MultiHeadAttention has been massaged to use fully_connected, instead of BatchMatMul, during the TFLite conversion. Can you please confirm that and point me to where that is done? TIA.

It's being done here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/mlir/lite/tf_tfl_passes.cc#L216-L219

Hi @renjie-liu , thank you for the quick reply. I verified that the unfold_batchmatmul is an attribute of TFLiteConverterBase, which is the base class of  TFLiteConverterBaseV1.
However, in my experiment, a multi-head attention implemented in TF1 still results in BatchMatMul after conversion by tf.compat.v1.lite.TFLiteConverter. Can you please confirm whether BatchMatMul in TF1 models can be unfolded by tf.compat.v1.lite.TFLiteConverter?

I've included the implementation below. There are two calls to tf.linalg.matmul() to compute the attention score and attention probability matrices. Converting this TF1 model with tf.compat.v1.lite.TFLiteConverter produces BatchMatMul instead of the unfolded implementation with FC.
  qkv = tf.layers.dense(inputs, embed_dim*3, name=name+'/atten/qkv')

  bh_size, seq_len = tf.shape(inputs)[0], tf.shape(inputs)[1]

  # compute query, key, value matrices
  qkv = tf.reshape(qkv, shape=(bh_size, seq_len, 3, nb_heads, -1))
  qkv = tf.transpose(qkv, perm=(2, 0, 3, 1, 4))
  q, k, v = tf.split(qkv, num_or_size_splits=3)
  q, k, v = [tf.squeeze(t, axis=0) for t in (q, k, v)]

  # compute self attention weights, 'bhid,bhdi->bhii'
  dots = tf.linalg.matmul(q, k, transpose_b=True, name=name+'/atten/atten_score') * scale
  attn = tf.nn.softmax(dots, axis=-1)

  # compute weighted value matrix, 'bhii,bhid->bhid'
  out = tf.linalg.matmul(attn, v, name=name+'/atten/atten_prob')
  out = tf.transpose(out, perm=(0, 2, 1, 3))
  out = tf.reshape(out, shape=(bh_size, seq_len, embed_dim))

  # compute layer output
  out = tf.layers.dense(out, embed_dim, name=name+'/atten/proj')

Unroll batch_matmul is the default behavior however it only works when the input shape is static, I think if you set a static shape, the batch_matmul should be unrolled.

Thanks for pointing that out. Problem solved!

Hi @stefan-falk !
We are checking whether you are still looking for any assistance in this issue. TF.matmul is supported now in built-in ops . To enable select ops conversion, Please use select ops syntax before model conversion.
Thank you!


Dashed lines are not showing after calling show() method

Hi,
When i create the object of leader lines and passed {dash: true} and lines are displayed as dashed animation.
But when i called hide() method and after that calling show() method with changed lines colour,
lines are not displaying with dashed lines animation they are displaying as plain lines.
Note: I don't want to create again instance of the leader line.
Looking forward for your response
Thanks

Hi @akashb5432, thank you for the comment.
You have to specify dash: {animation: true} instead of dash: true, to enable animation.
For example: https://jsfiddle.net/fjeu3bda/

@anseki
Thanks for your response

I'm glad if I could help you. :smile:
So, could you close this issue if it was solved?


Implement range

Materialize website promotes the use of noUiSlider which is (afaik) not included in the default distribution. So I'd like to leave that out for now.
Standard Html5 range inputs are styled, though.
Usage (one of):
<md-range min="0" max="100" step="10" value.bind="rangeValue"></md-range>
<md-range md-min="0" md-max="100" md-step="10" md-value.bind="rangeValue"></md-range>

Which translates to:
<p class="range-field">
  <input type="range" min="0" max="100" step="10" />
</p>

If you use floats for min/max, value is undefined (regardless if it's a float or integer) and casting it to float (which doesn't seem to be necessary btw) causes an infinite loop.

Interesting, it's reproducable within a custom element.
http://plnkr.co/edit/ueZiAbRo1WVirWZtOe4T?p=preview
When using that on a native element, everything is okay.

That's not a "real" error. Seems I had a bad day (was a typo).


QuotaExceedError: storage.sync API call

This extension has been working fine but for a couple of days I have started a "QuotaExceedError: storage.sync API call exceeded its quota limitations" error while enabling the extension for a new website. Refreshing the page shows the website in its original colorscheme

.

It is very hard to fix this and keep using the settings synchronization so the easiest way to stop synchronization.
You can do it on the global settings tab


Sponsorship dashboard showing all CNCF events % to revenue goal + sales stage with revenue

The current dashboard in SFDC is here. Press refresh to see the current view.
Katelin is interviewing contractors to complete the following next steps:

[ ] See if we can integrate the % to revenue goal report and number into the same box as the sponsorship forecast funnel. Can it be a text box under the title that shows the % to goal number as well as the revenue amount closed/won?

[ ] Can the funnels be created so they are all the same color for each forecast status? eg. closed/won remains dark blue in every funnel per event?

[ ] Have all numbers auto-refresh? No manual entry for this dashboard.

[ ] Create a new dashboard for 2020 events.

[ ] Validate the numbers are accurate with Kathy

Hi @dheerajkottali, here are all of the 2020 event names that need to be in the 2020 dashboard:
Kubernetes Forum Bengaluru 2020
Kubernetes Forum Delhi 2020
KubeCon + CloudNativeCon Europe 2020
Cloud Native Security Day Europe 2020
Serverless Practitioners Summit Europe 2020
ServiceMeshCon Europe 2020
gRPConf2020
KubeCon + CloudNativeCon + Open Source Summit China 2020
KubeCon + CloudNativeCon North America 2020

And Kubernetes Forum Tokyo 2020

Cannot integrate the % to revenue goal number into the same box as the sponsorship forecast funnel in SFDC natively, so Dheeraj is researching if/how we can do this with Einstein.

@dankohn Are you ok with this order of events in the dashboard so they are in order of start date throughout the year?
Kubernetes Forum Bengaluru 2020
Kubernetes Forum Delhi 2020
KubeCon + CloudNativeCon Europe 2020
Cloud Native Security Day Europe 2020
Serverless Practitioners Summit Europe 2020
ServiceMeshCon Europe 2020
gRPConf2020
KubeCon + CloudNativeCon + Open Source Summit China 2020
KubeCon + CloudNativeCon North America 2020
Or would you prefer them grouped by event type, so KubeCon events first, Project events second, Kubernetes Forms last?
Thanks!

@dheerajkottali is working with Pallavi to get the production data into the sandbox. We are still missing K8s Delhi and Bengaluru data in sandbox.

By event date is my preference.

@dankohn Please find updated CNCF Event sponsorship dashboard here: https://linuxfoundation.lightning.force.com/wave/wave.app?tsid=02u2M000001Z7xA#dashboard/0FK2M000000bpIHWAY for your review. I also have a call with the rest of the sponsorship sales team + Colleen this Thursday to share and get feedback.

This dashboard is complete for 2020.


Picture is not clear and cropping problem

Hello
When I click the image and crop it which part i have crop that not showing in the app some different part show the app.
2. when i save the picture and check it again it is not clear how i can in create picture quality.

Agreed with the second issue of picture quality, but first issue I never experienced.

What I can do for picture quality.
On Sun, 18 Oct, 2020, 7:27 pm Jhansi Karee<EMAIL_ADDRESS>wrote:

Agreed with the second issue of picture quality, but first issue I never
experienced.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jhansireddy/AndroidScannerDemo/issues/133#issuecomment-711171590,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG7UKM7HWKEKMA25BID2S63SLLX4LANCNFSM4QLXCQKA
.

@jhansireddy The cropped images is different from the points selected. How can I fix it?

In Case , Your Image is Simply getting cropped then just change the following things :

In ScanFragment.java

change method
              private Bitmap scaledBitmap(Bitmap bitmap, int width, int height){
        Matrix m = new Matrix();
       m.setRectToRect(new RectF(0, 0, bitmap.getWidth(), bitmap.getHeight()), new RectF(0, 0, width, height),         Matrix.ScaleToFit.CENTER);
       return Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth(), bitmap.getHeight(), m, false);

    }

to :
 private Bitmap scaledBitmap(Bitmap bitmap, int width, int height){
       return Bitmap.createScaledBitmap(bitmap,width,height,false);
    }

@arunkush @jhansireddy did you got resolution of improving image quality?


scalar errors in output but runs to completion

I seem to have many errors but TranscriptClean just finish and joins up outputs into one file as expected.
Can these errors be ignored?
I provide an example output file.
minimap2
minimap2 -t 10 -2 -ax splice -uf --MD --junc-bed /home/scratch/callum/Genome_files/gencode.v39.annotation.bed --secondary=no /home/scratch/callum/Genome_files/GRCh38_no_alt_analysis_set_GCA_000001405.15.fasta.mmi tail_trimmer/iPSC_rep1_run1_out/fastq/iPSC_rep1_run1_out.cleaned.fq.gz > iPSC_rep1_run1_pass_genome.sam

TranscriptClean
python 3.6.5
commit ae9e71556a6b2e2c1fd80a9dca8fbab8d8196206 (HEAD -> master, tag: v2.0.3, origin/master, origin/HEAD)
Author: M. Hasan Celk<EMAIL_ADDRESS>Date:   Fri Sep 3 19:04:55 2021 -0700
python /home/callum/TranscriptClean/TranscriptClean.py -t 12 --sam iPSC_rep1_run1/iPSC_rep1_run1_pass_genome.sam --genome /home/scratch/callum/Genome_files/GRCh38_no_alt_analysis_set_GCA_000001405.15_cleanheader.fasta -j /home/scratch/callum/Genome_files/gencode.v39.annotation.SJs.txt --outprefix iPSC_rep1_run1/TranscriptClean_ver3 --deleteTmp --tmpDir iPSC_rep1_run1/TranscriptClean_ver3/tmp

slurm-5134.out.txt

Hey! Sorry for the late response, but the latest commits have fixed this issue.


add osx-arm64

Hi! This is the friendly automated conda-forge-webservice.
I've started rerendering the recipe as instructed in #50.
If I find any needed changes to the recipe, I'll push them to this PR shortly. Thank you for waiting!
Here's a checklist to do before merging.

[ ] Bump the build number if needed

Fixes #50

@conda-forge-admin please rerender

@conda-forge-admin please rerender


Fix single indented JSX comment

This one was pretty annoying to figure out but now it's working. All the crazy comments I could throw at jsx seems to be working fine now :)
Fixes #543

Nice!


Issues with DNS server

Using issues closed beforehand, I was able to get the server to almost work. However, I have an issue when starting a DNS server on an Arch-Linux based machine. Here I have the log pasted from the terminal.
logdream.txt

Another process is already using port 53, you’ll have to kill that process.

TCP or UDP?

UDP, I'm not sure how you'd go about finding it on linux, sorry.

TCP or UDP? and how do I find/kill that process?

sudo netstat -lnp | grep ':53'


Install does not work during release

Install script assume that assets exists in release but release timeline is following:

we creating release
we building artifacts
we adding artifacts to release

So between 1 and 3 if you execute install script
➜ wget -qO- https://raw.githubusercontent.com/gustawdaniel/gpt-cli/main/install.sh | bash

you will see
http://: Invalid host name

Solutions:

install should use last released version instead of latest, then on release this version will be changed in install file by sed

Currently project has only 12 stars and 8 releases that takes 6 min so chance of this error are small.

fixed in https://github.com/gustawdaniel/gpt-cli/commit/e42b404bf9707598ef46caf7400de0cdc6fc4fb0


macos window splitting

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:

Version: 1.66.2
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date: 2022-04-11T07:47:29.396Z (1 wk ago)
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 21.4.0

OS Version:

System Version:	macOS 12.3.1 (21E258)
Kernel Version:	Darwin 21.4.0

Steps to Reproduce:

open 2 vsc instances, make them fullscreen, and then drag them next to each other to split the screen (also reproducable by splitting with other apps like chrome)
now the app is kinda considered as a one piece, so the side menu will fade away when you minimize the screen too much

(notice how half of the menu is faded)

?

hi @bpasero, I think it is very disrespectful for you to comment a '?' . what is the wrong with you?

this is the first time I see this much disrespect against a person trying to make the product better.

@adnanjpg That amount of horizontal space just isn't enough for VS Code to fully render. While it is still operational, it is below an optimal size. There are a bunch of open feature requests related to workbench layout which would help in this specific case of narrow width, feel free to subscribe to them and upvote them.


fix: fixed 2048 tile not being generated on win condition on some browsers

Todo

[x] add test to validate failure condition
[x] implement fix for the failure condition
[x] ensure fix works on all browsers

Motivation
Expert-2048 sometimes didn't properly show the 2048 square on some browsers at the end of the game.
Summary of changes

Tests added to validate that when entering a word like hello all letters are marked as green for correct
Game no longer resets after user clicks ok, related to below.
Game was not properly disabled after win or failure condition, implementation of the new tile system is recursive. On failure condition, game would infinitely attempt to spawn new tiles with no exit condition - resulting in a stack overflow. Addressing this recursive implementation would be ideal, as some preliminary testing shows that the function runs 150-200 times in some cases to generate valid tiles - which is excessive. Calls to checkLost mean this function takes 1-2ms to run, which on a modern browser is excessive.

Attached GitHub issue
Closes #94
Checklist
Local Build

[x] Ran all local tests npm run test:ci
[x] Manually tested my solution

GitHub

[x] Target branch has been set correctly
[x] PR has been rebased onto target branch
[x] PR has been assigned an owner
[x] Author has performed a self-review of the code
[x] Removed the WIP message from the top of this PR

Rebased onto release-1.0 after merge of #117 generated conflicts.


Edit the content of the page

What content to edit can you describe?

I

What content to edit can you describe?

We need to edit the index.html content, some description of Queue, and other DS descriptions which are not good

Okay i will look into it and try to solve it.


Data read in using uint16 instead of int16?

Sorry, I pressed Enter too soon.
Using dca_read the data is read in using uint16 instead of int16. I previously used the mmwave studio and read in the bin file using int16 which gives "nice looking" data. Recording with openradar the data is read from buffer using uint16 which gives a wrong output.

That's a bug. @DashKosaka has already pointed this out. Change in adc.py all uint16 into int16, then it should work properly.

Does it mean that the line   "adc_data = np.fromfile('./data/circle.bin', dtype=np.uint16) " in people_tracking.py should be modified to  "adc_data = np.fromfile('./data/circle.bin', dtype=np.int16)" ? I've tried to modify this but the result gets much noisier. Does this mean that some parameters when using CFAR also need to be modified?
Thanks.


Licensing for Business Critical for customers with Standard Edition + SA licenses

https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/frequently-asked-questions-faq#what-service-tier-am-i-eligible-for
Contradicts the linked page which states that Standard Edition + SA customers may use AHB at a rate of 4 Standard Cores = 1 Business Critical core.

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

ID: cc18c2bc-ae31-5ad9-061b-0d6f6d03b5b4
Version Independent ID: 0fc6037f-1bed-f2a3-1feb-3736aab4a696
Content: Frequently asked questions (FAQ) - Azure SQL Managed Instance
Content Source: articles/azure-sql/managed-instance/frequently-asked-questions-faq.yml
Service: sql-managed-instance
Sub-service: service-overview
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

Hi, @si-chan Thank you for reaching out. At this time we are reviewing the ask and will provide an update as appropriate

I'm assigning this to the author for the feedback review.

Hi @si-chan , thanks so much for contacting Microsoft and helping improve our docs! My apologies for the delay as we've been working through a large backlog of Issues. I've processed a change to update this that should be live later this week. I'll go ahead and close out this Git Issue but please feel free to comment should you need anything further.
Thanks again and I hope you have a wonderful rest of your day!
Masha from the SQL Docs team
#please-close
#assign:MashaMSFT


unreadable code in response

pyspider version:
Operating system:
Start up command:

Expected behavior

Actual behavior

How to reproduce

Setting content-type in heades worked.
headers = {'content-type': 'utf-8'}
self.crawl(url='', data=post_data, headers=headers, timeout=120, callback=self.index_page, save={'start': start}, method="POST")


[help wanted] on CSS Libraries / Modules Preparation

Hi Snel Community.
First of all: Congratulations!! I love Snel.
I use it in some fun open source projects with some of my students.
We are wondering what would be the best way to use assets like https://illright.github.io/attractions/ or svelte-frappe-charts via Snel...
I tried

trex --custom svelte-frappe-charts=https://cdn.skypack.dev/svelte-frappe-charts

which lead to

Could anyone give us any hints on that?
Michael

what do you think of the following approach: https://www.npmjs.com/package/svelte-adapter-deno ?

after stumbling over ...

etc. we have just decided to implement the relatively simple CSS on our side instead of using a UI Kit --> closing this issue.


⚠ File access has degraded performance

In 35b1696, File access (https://fyle.uk/file/fish) experienced degraded performance:

HTTP code: 200
Response time: 3644 ms

Resolved: File access performance has improved in 202c931 after 8 minutes.