Update account creation for HF18

Apologies if the code isn't the cleanest, but it does work, it's currently in production on AnonSteem. (thanks @arhag).
I originally had the fee multiplication in operations.py - however it was causing some sort-of recursive multiplication, the fee was going from 1, to 30, to 900, thus I moved it back to the source (steem.py)

Codecov Report

Merging #36 into develop will decrease coverage by 2.02%.
The diff coverage is 78.94%.

@@             Coverage Diff             @@
##           develop      #36      +/-   ##
===========================================
- Coverage     53.7%   51.67%   -2.03%
===========================================
  Files           34       35       +1
  Lines         2905     3427     +522
===========================================
+ Hits          1560     1771     +211
- Misses        1345     1656     +311

Impacted Files
Coverage Δ

piston/steem.py
43.18% <100%> (+0.2%)
:arrow_up:

pistonbase/operationids.py
100% <100%> (ø)
:arrow_up:

pistonbase/operations.py
76.98% <71.42%> (-1.71%)
:arrow_down:

pistonbase/signedtransactions.py
73.07% <0%> (-26.93%)
:arrow_down:

piston/utils.py
21.41% <0%> (-15.87%)
:arrow_down:

pistonbase/transactions.py
91.17% <0%> (-8.83%)
:arrow_down:

pistonbase/chains.py
100% <0%> (ø)
:arrow_up:

pistonbase/objecttypes.py
100% <0%> (ø)

piston/amount.py
27.84% <0%> (+2.53%)
:arrow_up:

... and 1 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 a8f0407...ea2dd22. Read the comment docs.

This changes default behavior of create_account and will implicitly break people's code.

@Netherdrake Account_create is deprecated. See the issue here. This does the exact same behaviour, delegation is disabled by default (notice the 0.00000 VESTS for delegation, which means do not use delegation by default, instead use a fee, which can be overridden with a kwarg if you want to use delegation)
Example:
Use Default Fee (Pay with STEEM, no delegation of SP)
s.create_account('bob', creator='john', password='123456')

Use Delegation
s.create_account('bob', creator='john', password='123456', fee='0.000 STEEM', delegation='1000000.000000 VESTS')

Thanks for the assistance with the fix!


Isolate NodeJS dependent code

Task description
Currently the SDK is not usable outside of nodeJS environments, because the node client uses nodeJS specific libraries, and is everything is exported from the index.
We should restructure the SDK, so that modules reliant on nodeJS is isolated, and the SDK can easily be used in web environments.

Closed as a duplicate of https://github.com/Concordium/concordium-node-sdk-js/issues/30.


Bunting is not defined

Hi,
We're late to the party and just discovered these calendars. They're very much appreciated!
We're curious as to what a "buntable" holiday is (aka "bunting": true). We couldn't find any documentation on it. Current guess is that non-bunting holidays can't be bumped to the next working day?
Thanks

Great to hear you like the calendars, @labooner! The bunting is a bit of fun! It appears on all bank holidays where the bunting: attribute is true. At Christmas, the flags turn into tinsel.


note without css selector

gallery(@page=0) = "https://e-hentai.org/g/1034547/27cc8cb432/?p={@page}"
tags[]: gallery -> $("div#taglist table tr td:eq(1) div a")
name: .html
The name will always return the first html selected by css("div#taglist table tr td:eq(1) div a").

Hi,
Can you describe the problem in more detail?

I want to get and print all tags from the page https://e-hentai.org/g/1034547/27cc8cb432/ using the following creeper script:

and my main.go prints the tags:

When I run main.go, it always print the first tag(apsnish) in the page:

Maybe my creeper script is wrong, what is the correct one?

I just fixed this bug. Now you can try the following code to achieve the same purpose
c := creeper.New(`
gallery(@page=0) = "https://e-hentai.org/g/1034547/27cc8cb432/?p={@page}"
tags[]: gallery -> $("div#taglist table tr td div a")
	name*: .html`)
c.Array("tags").Each(func(c *creeper.Creeper) {
	println(c.String("name"))
})

Tip: The * of the name field indicates that this is a primary key for deduplication and judging the terminating page.
Thanks for reporting.


Many rule violations do not appear in inspections

For a simple ruff.toml config and a trivial Python script, a number of rule violations that are indicated by ruff check do not appear as inspections results in PyCharm.
Config / Code
ruff.toml
select = ["ALL"]
ignore = ["ANN", "D", "EM"]

[lint]
preview = true

foo.py (screenshot to show line numbers, raw source code is attached)

Results
As shown below ruff check reports 12 errors, whereas the plugin only reports 4 (plus some other issues raised by builtin PyCharm inspections).  The rules missed by the plugin are: CPY001, TD002, TD003, FIX002, W293, COM812, W292.  This is a bare-bones example and I don't expect that this is a comprehensive list of rules that do not appear in the inspection results.
I've tried a number of configurations tweaks, but none have made a difference.  Also, I can't seem to discern any sort of pattern as far as which rules show up in the inspections, and which do not.
ruff check

Plugin

Environment

IDE: PyCharm Community 2023.2.3
OS: Windows 10 22H2 19045.3570
Python: 3.11.6
Ruff Version: 0.1.3
Plugin version: 0.0.24

ruff.toml.txt
foo.py.txt
bar.py.txt

Thank you for creating the issue.
It's interesting. the inspection feature might not get some of the results of ruff warning 🤔
I will check it.


oncreate and conditionals

if i'm doing that:
const Panel = (prop, children) => (

 console.log('created', prop.id)}>
    {children}
    {prop.current && ' (active)'}

)

const state = {
  panels: Array.from(new Array(10), (val, index) => index + 1),
  currentPanel: 1
}

const actions = {
  prevPanel: () => state => ({
    currentPanel: state.currentPanel > 0 ? state.currentPanel - 1 : 0
  }),
  nextPanel: () => state => ({
    currentPanel: state.currentPanel < state.panels.length - 1 ? state.currentPanel + 1 : state.panels.length - 1
  })
}

const view = (state, actions) => (

      <button onclick={actions.prevPanel}>
          Prev
        </button>
        <button onclick={actions.nextPanel}>
          Next
        </button>

        {state.panels.map((v, i) => (
          <Panel id={i} current={i === state.currentPanel}>
            This is Panel {v}
          </Panel>
        ))}

)

app(state, actions, view, root)

everything works as expected and i get a couple of "created x" at my console log
but if i'm changing to this, to render only the active panel:
const Panel = (prop, children) =>
  prop.current && (

 console.log('created', prop.id)}>
      {children}

  )

now i get one console log for the first element, then if i change state.currentPanel the app works as expected but without triggering the oncreate... so no further console line!
any ideas?

gotcha, hyperapp recycles the section-element...
if i add a key to the element then it works as expected:
 console.log('created', prop.id)}>
is this intended?

@mietennet Yes, definitely. 👍

@mietennet Yup! This is exactly (one of) the purpose of keys: controlling when elements are destroyed/created vs reused.

ok, thanks...
is it also intended, that i have to use oncreate inside my component-function but not like that:
<Panel id={i} current={i === state.currentPanel} oncreate={element => console.log('created', i)}>
  This is Panel {v}
</Panel>

Yeah kind of intended: oncreate is about elements, and only means something when attached to a vnode. Your Panel is just a function that returns the section vnode.

It's one of those things that's less confusing if you're not using JSX

ok, thanks again!
great work, guys


New option to remove queue/exchange auto creation

Fixes https://github.com/gameeapp/nette-rabbitmq/issues/12

Awesome, thank you

@paveljanda please, can you create a new release?


Clients should identify themselves on connect

CLIENT SETINFO is a new fire-and-forget command that is available as part of redis 7.2. Clients should send the lowercased version of the client name (i.e redis-py, jedis, go-redis) as part of the initial connect, after authenticating to the server.

Yes, please!

the replacement for #1237


The new DATAX task cannot list the library names in the ORACLE data source

Schema/USER in the library cannot be listed, only the service name or instance name in the template creation stage can be listed, and it cannot be named by "library name" here. To be precise, it should be represented by user or Schema.
不能列出库中的Schema/USER，仅仅列出模板创建阶段的服务名或实例名，并且这里不能用“库名”来命名。准确来说应该使用用户或Schema来表示。

The latest version is exchangis1.1.1 and support using serviceName to connect to Oracle.. You can pay attention to it.


wrapped _send call in exception handler to account for garbage data

per issue #12

withdrawing, needs more work

updated to prevent infinite loop


Click event not firing the second time

Steps to reproduce
Tell us about your environment:

Puppeteer version: 0.13.0
Platform / OS version: Windows 10
URLs (if applicable): https://teams.microsoft.com, https://login.microsoftonline.com
Node.js version: v8.9.1

What steps will reproduce the problem?
const puppeteer = require('puppeteer')

const sleep = seconds =>
  new Promise(resolve => setTimeout(resolve, (seconds || 1) * 1000))

const run = (async () => {
  const browser = await puppeteer.launch({ headless: false })

  const page = await browser.newPage()
  await page.setViewport({ width: 1024, height: 768 })

  await page.goto('https://teams.microsoft.com', { waitUntil: 'networkidle2' })

  try {
    const btn = await page.$('#idSIButton9')
    const value = await btn.getProperty('innerText')
    console.log('value: ', await value.jsonValue())

    await page.type('input[type=email]'<EMAIL_ADDRESS>    await btn.click()
    console.log('clicked 1')

    await page.type('input[type=password]', 'password')

    const btn2 = await page.$('#idSIButton9')
    console.log(btn2)

    const value2 = await btn2.getProperty('innerText')
    console.log('value2: ', await value2.jsonValue())

    await btn2.click()
    console.log('clicked 2')
  } catch (error) {
    console.log('error: ', error)
  }

  await browser.close()
  await sleep(5000)
})()

Navigating to the first URL redirects to the second, kicking off a typical OAuth flow with a sign in dialog. The script above attempts to first fill the username field, click next, then fill the password field and click sign in.
Notice that the selector is the same for both the Next button and the Sign In button. That's not a mistake, and Microsoft seems to be using that same id for both input[type=submit] elements. Though only one exists on the page at a given time. So far, nothing I have tried has allowed me to get the Sign In button to be clicked, though it works just fine manually.
I originally assumed I was just doing something wrong, but it's possible there's some sort of edge case here with reusing ids? Maybe Microsoft is doing something unconventional under the hood that is breaking this.

@brownbl1 this seems to be working fine for me on pptr 1.4.0:
const puppeteer = require('.');

const sleep = seconds =>
  new Promise(resolve => setTimeout(resolve, (seconds || 1) * 1000))

const run = (async () => {
  const browser = await puppeteer.launch({ headless: false })
  const page = await browser.newPage()
  page.goto('https://teams.microsoft.com')

  try {
    const btn = await page.waitForSelector('#idSIButton9')

    await page.type(
      'input[type=email]',
<EMAIL_ADDRESS>    )
    await btn.click()

    await page.type('input[type=password]', 'somepassword')

    const btn2 = await page.$('#idSIButton9')
    await btn2.click()
  } catch (error) {
    console.error('error: ', error)
  }

  await browser.close()
})()


Illegal state while comparing versions with latest.release

This exception was thrown:
Caused by: java.lang.RuntimeException: Error while visiting build.gradle: java.lang.IllegalStateException: Illegal state while comparing versions : [latest.<IP_ADDRESS>.0.0] and [3.0.1]. Metadata = [3.0.1]
  org.openrewrite.semver.LatestRelease.compare(LatestRelease.java:164)
  org.openrewrite.semver.VersionComparator.upgrade(VersionComparator.java:45)
  org.openrewrite.gradle.DependencyVersionSelector.select(DependencyVersionSelector.java:142)
  org.openrewrite.gradle.DependencyVersionSelector.select(DependencyVersionSelector.java:83)
  org.openrewrite.gradle.UpgradeDependencyVersion$1.visitMethodInvocation(UpgradeDependencyVersion.java:227)
  org.openrewrite.gradle.UpgradeDependencyVersion$1.visitMethodInvocation(UpgradeDependencyVersion.java:148)

When using a gradle dependency with map notation and latest.release version.
For example:
implementation group: 'com.jayway.jsonpath', name: 'json-path', version: 'latest.release'

When using String notation things work as expected:
implementation 'com.jayway.jsonpath:json-path:latest.release'

What version of OpenRewrite are you using?
rewrite-core version: 8.40.2

How are you running OpenRewrite?

I am using the Gradle init script.

Thanks for the report @asibross ! Indeed seems like we're misinterpreting the version for that particular notation. Would you want to help resolve the issue by opening a draft PR that adds a unit test first? UpgradeDependencyVersionTest.java has a few examples already that should be easy to copy and adjust to match your case.

Hmm; I've briefly tried to replicate this issue by adding a test to
https://github.com/openrewrite/rewrite/blob/372246cbdc55d39dc8507f1cc5c7dae7c84b8d2e/rewrite-gradle/src/test/java/org/openrewrite/gradle/UpgradeDependencyVersionTest.java#L37
So far this test passes; do you spot anything I might be doing differently that could make a similar test fail?
@Issue("https://github.com/openrewrite/rewrite/issues/4684")
@Test
void mapNotationLiteralLatestRelease() {
    rewriteRun(
      buildGradle(
        """
          plugins {
            id 'java-library'
          }

          repositories {
            mavenCentral()
          }

          dependencies {
            implementation group: "com.google.guava", name: "guava", version: 'latest.release'
            testImplementation group: "com.google.guava", name: "guava", version: 'latest.integration'
          }
          """
      )
    );
}

@timtebeek, I don't see anything in particular either. And looking back at the old version, the logic remains the same as today when scanning the source file to find the variable mappings (if they are present). So I wonder if @asibross may be able to try again with the latest versions of provide some more information about his setup.

Hmm; #4822 is not related here; but we can reopen this issue if new details emerge on how to trigger the issue with a test or reproducer.


CORE-7944: run release branch every 3 hours

LGTM - @ronanbrowne this is temp right ?

@yarivus yes support request from flow worker team to gain data points for ongoing investigations


How to manually encrypt all the databases using BYOL?

Are there any commands by which we can manually enable encryption on the database using Key vault BYOL?

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

ID: 7600c6cf-0b4d-1ffa-c1bb-ebf23adafc1f
Version Independent ID: 1ae4f15b-b978-882e-c5f4-d23522a53bb4
Content: TDE - Bring Your Own Key (BYOK) - Azure SQL Database
Content Source: articles/sql-database/transparent-data-encryption-byok-azure-sql.md
Service: sql-database
GitHub Login: @aliceku
Microsoft Alias: aliceku

@Anmolgan81 We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


add compile sets

A compile set is a directory (the root) from which the relative path (of the .p's, .cls's and .w's) is derived.
A set can contain 1 or more excludes relative from the root. These directories are not taken into consideration.
The sets definition in .oecconfig looks like:
"sourcesets": [
   { srcroot: string, basedir: string, excludes?: string[] }
    ...
}

The excludes property will be implemented in another issue.


Revert "Helper reallocate packet (#3110)" (#3263)

This reverts commit 13eed744fe5256c123ed3e216f3ea7b7ad04a5aa.
Description
Cherry-pick: #3263
Testing
CICD
Documentation
_Is there any documentation impact for this change? No change.
Installation
_Is there any installer impact for this change? No change

Abandon this PR, as the cherry-picks are done in another PR.


Cherry-pick: Add basic onPointerEnter/Leave event emitting to iOS

Please select one of the following

[ ] I am removing an existing difference between facebook/react-native and microsoft/react-native-macos :thumbsup:
[x] I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos :thumbsup:
[ ] I am making a fix / change for the macOS implementation of react-native
[ ] I am making a change required for Microsoft usage of react-native

Summary
Cherry-pick a<EMAIL_ADDRESS>commit into the current main branch:
https://github.com/facebook/react-native/commit/c5cb707ba8b
Add basic onPointerEnter/Leave event emitting to iOS
Changelog
Changelog: [Internal]
Test Plan
Builds with Fabric enabled and without (CircleCI)

There's a future change where the onPointer*2 methods are renamed to exclude the 2 right? Is that one of your future cherry picks?

There's a future change where the onPointer*2 methods are renamed to exclude the 2 right? Is that one of your future cherry picks?

Luckily it got renamed in later iterations > https://github.com/facebook/react-native/blob/main/React/Fabric/RCTSurfaceTouchHandler.mm#L661-L688

This change depends on more un-merged JS changes ... Abandoning ...


rendering glitch

I am trying to plot some live data, using react-rt-chart, and it works, but it gives me oddly looking graphs, with some black color. Here is my code :
import React from "react";
import RTChart from "react-rt-chart";

class Test extends React.Component {
  componentDidMount() {
    setInterval(() => this.forceUpdate(), 1000);
  }

  render() {
    var data = {
      date: new Date(),
      Car: Math.random() % 20,
      Bus: Math.random() % 30
    };

    return <RTChart fields={["Car", "Bus"]} data={data} />;
  }
}
export default Test;

Here is a snap, I waited for a long if it is a glitch and fixes itself, no luck :

Here is my codesandbox.io
Here is the question on stackoverflow

For other people that have this issue, please remember to import the styling document as noted in the package description.

@RomanStadlhuber please check here, i have added c3.css as resource.


Fixing serialization problem with PyTorch 0.4.1

I updated pytorch deployer and container to use pytorch built-in save and load for serialization. New image is needed. An example can be found here: clipper/examples/pytorch_updated_container/ . First run build_new_image.sh to build the new image with tag "custom-pytorch36-container:1". A better way will be update the image in dockerhub and change the image part (line 218) in pytorch deployer back to "clipper/pytorch36-container:{}".
I did not test for all python and clipper version. But regardless of python version (3.5 and 3.6), when using PyTorch 0.4.1, this method solves the bug caused by the original serialization method.

Can one of the admins verify this patch?

jenkins test this lease

jenkins ok to test

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1646/
Test FAILed.

This is our infrastructure tooling bug. I’ll try to fix this within a month (sorry there’s a paper deadline)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1647/
Test FAILed.

@simon-mo Shouldn't this be fixed by just rolling out a new version of the pytorch deploying container with 0.4.1 installed? PyTorch is backwards compatible and the only issue we have is that the new models are serialized differently, but installing the latest version fixes that problem right?

@RehanSD Is this issue fixed by your PR? Can I close?

The version is updated with our newest build. A new release should resolve this.


Allow BulkInsert to be used with ActiveRecord in non-Rails projects.

Change Worker#save! to check the ActiveRecord version instead of the Rails version when quoting values for insert.
Allows BulkInsert to be used in ActiveRecord projects that do not use Rails. Addresses issue #10 .

This blocking us at the moment in a grape project :( is it possible to merge it? any objections?

Apologies for taking so long to get to this. It's all merged, and I'll see about bundling a new version for release today.


cannot use @web or @webroot in config.

i want to setup some aliases in the app config such as an uploads directory:
'aliases' => [
'@uploadsurl' => '@web/uploads'
],
however this fails because @web is unavailable in the config stage which sucks. @web and @webroot shouldn't need to wait until Request to be defined. are they not extremely independent values?

Config is the first thing included even before the app is started. In order to have these aliases available in config these should be defined explicitly either at the very start of index.php or on top of the config itself. I'm not sure it's a good idea though.

We can not change this. To set up @web and @webroot aliases we need a request component of the application. This is done after configuring the application, in the bootstrap phase. If you want to define aliases based on @web or @webroot you have to implement a method for application bootstrap and register the alias there.

i do not agree with "cannot change this"
software allows anything to be possible with the proper design. defining aliases from @web are a very common and essential requirement for many web apps so insisting on a design that prevents this is, in my opinion, bad practice. a request component should not be required to define basic app-wide constants.
for now i am forced to hack a solution. but i'm disappointed that this would not be up for discussion as i've seen it reported before.

https://github.com/yiisoft/yii2/blob/master/framework/web/Application.php#L60 that's what @cebe is referring to.
@jpodpro how do you propose to solve that?

well the obvious answer to me is to move the setting of these aliases into the main config:
'aliases' => [
'@web' => stripos($_SERVER['SERVER_PROTOCOL'],'https') === true ? 'https://' : 'http://' . $_SERVER['SERVER_NAME']
],
there might require fancier logic to determine if the site isn't installed into the web root. but this doesn't seem very complicated to me.

here's another related problem: if i'm doing an ajax query on a relative path ( ie: /track/owner ) then the @web alias is empty. this is terrible as i would again expect @web to be universally defined as an app constant and not dependent on the current request. obviously i need to define my own version of @web (which seems silly). if you guys are stuck on this way of doing things then your documentation should be much more clear somewhere that @web and @webroot are not absolute values that can be depended on.

@samdark One way would be to "lazy init" the aliases: Resolve them in getAlias() instead of setAlias(). But I'm not sure about implications on backwards compatibility, though. Users may have done nifty things and already rely on the current behavior. Definitely something for 2.1.x.
@jpodpro I'm not sure what you mean by "ajax query on a relative path". In general @web and @webroot are always available after your app has been initialized. This has nothing to do with AJAX requests.

app initialization happens for each request. the application state is not "saved" once the initial page load is complete. so an ajax request for a relative path is a new request and thus a whole new app initialization. since the request is not an absolute url, @web ends up being null because clearly @web is determined by the request url and not by a more reliable method.
Yii::setAlias('@web', $request->getBaseUrl());

@jpodpro It's very unclear what exactly you talk about. From a server perspective there's no such thing like a "relative request". And there's also no difference for AJAX requests. So of course, the app is initialized for each request. And also @web is set with exactly the line that you pasted (it's in yii\web\Application.).
So maybe you can provide a concrete boiled down example inlcuding the relevant parts of configuration  (i.e. URL rules, ...) and the request you make, that exemplifies your problem.

it appears that @web is always empty. i think i remember battling with this a while back and giving up. here's my main config
<?php
return [
    'name' => 'YewBeats',
    //'language' => 'sr',
    'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
    'modules' => [
        'user' => 'common\modules\user\Module',
        'track' => 'common\modules\track\Module',
    ],
    'components' => [
        'assetManager' => [
            'bundles' => [
                // we will use bootstrap css from our theme
                'yii\bootstrap\BootstrapAsset' => [
                    'css' => [], // do not use yii default one
                ],
                // // use bootstrap js from CDN
                // 'yii\bootstrap\BootstrapPluginAsset' => [
                //     'sourcePath' => null,   // do not use file from our server
                //     'js' => [
                //         'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js']
                // ],
                // // use jquery from CDN
                // 'yii\web\JqueryAsset' => [
                //     'sourcePath' => null,   // do not use file from our server
                //     'js' => [
                //         'ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js',
                //     ]
                // ],
            ],
        ],
        'cache' => [
            'class' => 'yii\caching\FileCache',
        ],
        'urlManager' => [
            'class' => 'yii\web\UrlManager',
            'enablePrettyUrl' => true,
            'showScriptName' => false
            //'rules' => array( )
        ],
        'user' => [
            'identityClass' => 'common\modules\user\models\User',
            'enableSession' => false,
            'enableAutoLogin' => true,
            'loginUrl' => null,
        ],
        'session' => [
            'class' => 'yii\web\DbSession',
        ],
        'authManager' => [
            'class' => 'yii\rbac\DbManager',
        ],
        'i18n' => [
            'translations' => [
                'app*' => [
                    'class' => 'yii\i18n\PhpMessageSource',
                    'basePath' => '@common/translations',
                    'sourceLanguage' => 'en',
                ],
                'yii' => [
                    'class' => 'yii\i18n\PhpMessageSource',
                    'basePath' => '@common/translations',
                    'sourceLanguage' => 'en'
                ],
            ],
        ],
        'request' => [
            'class' => '\yii\web\Request',
            'enableCookieValidation' => false,
            'parsers' => [
                'application/json' => 'yii\web\JsonParser',
            ],
        ],
        'response' => [
            'class' => 'common\components\CustomResponse'
        ],
    ], // components

    // set allias for our uploads folder so it can be shared by both frontend and backend applications
    // @appRoot alias is definded in common/config/bootstrap.php file
    'aliases' => [
        '@uploads' => '@root/uploads',
        '@uploadsurl' => stripos($_SERVER['SERVER_PROTOCOL'],'https') === true ? 'https://' : 'http://' . $_SERVER['SERVER_NAME'] . '/uploads',
        '@temp' => '@root/uploads/tmp'
    ],
];

From the guide:

@web, the base URL of the currently running Web application. It has the same value as yii\web\Request::$baseUrl.

So if your application is not installed in a subdirectory of your domain, then @web will always be empty.

so there's no built-in way of getting the base server url?

Nope. The app has no idea.

I like the idea of about resolving aliases when these are used. That is not a guarantee that the app was initialized though.

perhaps leaving @web and @webroot alone is a good idea. instead you could add a new one like @baseurl, defined in main config so other aliases can depend on it. when i was first learning Yii it was confusing that @web didn't mean this so adding a new one that is explicitly defined as the base url, factoring in secure state and any sub-directory installation would be my suggestion.

@jpodpro I still don't get it: What is the "base server url"? Do you maybe mean the hostInfo in the request component?

geez - you don't know what i mean by base server url? yes - the hostinfo of the request component.

There are many terms floating around without being well defined. So what is a "base server url" for you can be somethign else for someone else. I still wonder why you can't simply use Yii::$app->request->hostInfo now in that case. Why do you need that information so badly? If for example you need an absolute URL to some part of your app, you should use Url::to() instead of messing around with URL components manually.

so you think it is unnecessary to define an alias based on this value?

I'm waiting for your use case, why you need it. I've built a couple of Yii2 apps and never found myself in a situation where I would need this.

i suppose, understanding where to get the hostInfo now, it should be possible to always build the value i need. it was originally unclear why @web was null and what it is even supposed to be.

I'm using this in my config:
$webroot = dirname(__DIR__) . '/www';
$web = rtrim(dirname($_SERVER["SCRIPT_NAME"]), '/');

return [
	...
    // Path aliases.
    'aliases' => [
        '@uploadPath' => $webroot . '/uploads', // @webroot isn't available yet (@webroot/uploads).
        '@uploadUrl' => $web . '/uploads', // @web isn't available yet (@web/uploads).
    ],
    ...
]

apparently i'm not the only one who has ever wanted to use these aliases to define new ones.

Ok, as I've suggested above, aliases could be resolved on getAlias and not alread on setAlias. This way you could use aliases inside aliases here. Let's see if it gets accepted.

I agree with @mikehaertl . May be setAlias should have an optional parameter whether to be resolve the alias when adding it.

How about this?
Yii::setAlias('@bar','@foo/bar');
echo Yii::getAlias('@bar'); // <- @foo/bar
Yii::setAlias('@foo','path/to/foo');
echo Yii::getAlias('@bar'); // <- path/to/foo/bar

just a ping.
I see that issue was not updated more than 4 monthes. When are you going to implement the solution? Or am I waiting in vain?

Milestone is set to 2.1.

if we use @mikehaertl or my suggestion, it can be done in 2.0.x

@mdmunir yes but that would change behavior significantly.

how about this logic.
By default setAlias just stores 'alias' => 'path' as array.
New method Yii::parseAlias() will parse all the alias at once, this command will be called by the application on bootstraps()
After that method is called then a new configuration is called too Yii::autoParseAlias() so after that the Yii::setAlias() method will automatically parse any new alias.
The most important alias are called before the method bootstrap() on  this method https://github.com/yiisoft/yii2/blob/1f7134634b8de22d6bac1ec2bc6f5d657f1ecb7b/framework/base/Application.php#L217
So the bootstrap code would look something like this
class Yii
{
    /**
     * @param prepend wheter to add this param at the end of the alias or at the beggining.
     * the order is used during the alias parsing.
     */
    public function setAlias($alias, $path, $prepend = false)
    {
        // code
    }
}

namespace yii\base;

class Application extends Module
{
    public function bootstrap()
    {
        Yii::parseAlias();
        Yii::autoParseAlias();
        // existing code
    }
}

namespace yii\web;

class Application extends \yii\base\Application
{
    public function bootstrap()
    {
        $request = $this->getRequest();
        Yii::setAlias('@webroot', dirname($request->getScriptFile()), true);
        Yii::setAlias('@web', $request->getBaseUrl(), true);
        parent::bootstrap();
    }
}

@samdark want me to make a PR with my solution? it would be a BC break in the sense that the Yii::getAlias() method will change signature and might be a problem for anyone extending the method

Yes. That's 2.1. We may break things,

What about what @mikehaertl suggested? What's the benefit of your solution compared to his?

@samdark our solutions are very similar in the sense that both of us want to avoid parsing the alias on setAlias() but for what i understand his solution implies to parse the alias everytime getAlias() is called. I might be wrong on this understanding and we have to ask @mikehaertl abou it.

Results could be cached after first access so it's not necessary "everytime".

@samdark ok i think i still don't understand that solution clearly then.
and we will still need a $prepend param when setting alias so they know the order in which alias are processed

Umm, why? The solution is like:
public static function getAlias($alias, $throwException = true)
{
    // ...
    if (!isset(static::$aliases[$root])) {
         // calculate alias value
    }
    // ...
    return $alias;
}

Why order is important?

@samdark this entire thread is about the order in which the alias are defined.
Yii::setAlias('@docs', '@web/uploads/docs');
Yii::setAlias('@docsroot', '@webroot/uploads/docs');

Neither will work if @web alias is not defined first.
    if (!isset(static::$aliases[$root])) {
         // calculate alias value
         static::$aliases[$root] = $value;
    }
    // ...
    return $alias;

The same applies here, you will need to calculate all other alias or at least make a filter about which ones might be related and calculate them first.

The same applies here, you will need to calculate all other alias or at least

You'd use a recursive algorithm in getAlias().
Yii::setAlias('@docs', '@web/uploads/docs');
Yii::setAlias('@docsroot', '@webroot/uploads/docs');

So in this example, when you resolve @docs you'd find that it points to another alias @web/uploads/docs and call getAlias(@web/uploads/docs`).

Exactly. You've made the point about possible infinite recursion though. It should be considered.

Honestly I still don't see it and still think we need to parse them in order but maybe can @mikehaertl make a pr?

$imgPath = Yii::getAlias('@web/uploads/images');
Yii::setAlias('@web/uploads', '@web/files/uploads');

asertEquals($imgPath, Yii::getAlias('@web/uploads/images'); // will fail

Is this the expected behavior on the proposal by @mikehaertl proposal?

You can not set an alias like @web/uploads. It can only be @web or the like
You can of course not use getAlias() before you have set the alias

Here's my suggested fix. I have to admit, that I did not test this deeply, but it fixes the initial issue addressed on top of this issue.
Note that it resolves the alias ich time you call getAlias(). So it adds a minor overhead to the existing code.

As pointed out by @Faryshta there could be a situation when an target alias is changed, after it was already fetched from getAlias():
Yii::setAlias('@foo', '/x');
Yii::setAlias('@bar', '@foo');
$a = Yii::getAlias('@bar');
// $a === '/x';

Yii::setAlias('@foo', '/y');
$b = Yii::getAlias('@bar');
// $b === ???

The question is: Which value should $b have now? I tend to /y, because @bar obviously should be an alias for @foo, so if @foo is changed this should be reflected in the value of @bar. That's how the code from my PR works now. The same should be true for mixed aliases that have / in them.
So if we resolve them each time getAlias() is called, we always get the current path for the target alias.

@mikehaertl on my solution i added the  $prepend parameter to the setAlias() method to know the order in which the alias are resolved.
Example.
Yii::setAlias('@bar', '@foo/bar');

// first case, $prepend = false;
Yii::setAlias('@foo', '@web/foo',  false);
Yii::getAlias('@bar'); // throw error/exception

// second case, $prepend = true;
Yii::setAlias('@foo', '@web/foo',  true);
Yii::getAlias('@bar'); // returns the same as Yii::getAlias('@web/foo/bar');

Second example.
$bazPath = Yii::getAlias('@foo/bar/baz');

// if $prepend = false

Yii::setAlias('@foor/bar', '@web/bar', false);
$bazPath == Yii::getAlias('@foo/bar/baz'); // is true

// if $prepend = true;
Yii::setAlias('@foor/bar', '@web/bar', true);
$bazPath == Yii::getAlias('@foo/bar/baz'); // is false

Also with this method you can avoid recursive loops like Yii::setAlias('@foo/bar', '@bar/foo'); Yii::setAlias('@bar/foo', '@foo/bar');

Hmm, to be honest: This seems to unnecessarily complicate things. Aliases can already get quite complex, given that an alias can look like @foo/bar/baz. IMO they should not be overused and we should not encourage users to do too complex things with them. In your case I would have to read a couple of times over the documentation to understand, what exactly that $prepend option does. I still don't quite get it.
In that sense circular references are a clear sign of overusing aliases. And if this happens, the developer will immediately know it, because it simply won't resolve.
Actually my fix really only addresses the initial use case of setting alias @a to alias @b, before alias @b is even defined. And it adds the "late resolving" on top, so that you could even change the target alias and @a would still resolve, similar to how symlinks work on Linux filesystems.

In that sense circular references are a clear sign of overusing aliases. And if this happens, the developer will immediately know it, because it simply won't resolve.

Agree. Thats my point. So we need to show an exception error or something when the user does it.

what exactly that $prepend option does.

Its not documented, since its a new parameter. I explained what it does on this discussion. Basically its tohave the alias ordered and then thats used to decide in which order they are calculated.

Also waiting for this - really bothers me that @web is always empty as it makes things difficult. :(

how can this be out for an entire year? Come on. What app doesn't know its own baseURL?

No, it was not fixed. It is planned for Yii 2.1.


⚠ Bofrost.at has degraded performance

In 7c5d787, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1815 ms

Resolved: Bofrost.at performance has improved in 79bd281.


OOD-13: no winston gelf for fd

Fd don't want no winston gelf transporter.
https://funidata.atlassian.net/browse/OOD-13

Has received FD approval :partying_face:


Fixing compilation errors with g++ 12.x

Closes #186.

Whether the compiler complains or not depend on internal structure of STL headers. With gcc 11.x and clang,   header is probably imported implicitly via another header included in ModelArray.hpp .  We may consider running the whole code through one of the tools which enforce 'include what you use' approach.


[#160614327] Update bosh-cli-v2 to 5.2.1 with SKI for certs

What?
The version 5.2.1 [1] supports generating certificates via --vars-store with SKI/AKI.
We need this to be able to rotate CA certificates used by CF API, otherwise
it is not possible to use two CA certs with the same name at the same time.
More info in [2]
[1] https://github.com/cloudfoundry/bosh-cli/releases/tag/v5.2.1
[2] https://github.com/cloudfoundry/config-server/pull/9
The upstream project for bosh-cli now
How to review
Check that the new container generate certs with the SKI. You can do so
with this script:
test_bosh_cli_cert() {
    image=$1
    manifest='
cert: ((test.certificate))

variables:
- name: test
  options:
    common_name: foo
    is_ca: true
  type: certificate
'
    echo "${manifest}" | \
        docker run -i ${image} bosh interpolate - --vars-store=/ignore.yml | \
        ruby -ryaml -e 'puts YAML.load(STDIN)["cert"] ' | \
        openssl x509 -text -noout -in - | \
        grep -A 4 "Subject Key Identifier"

}

test_bosh_cli_cert governmentpaas/bosh-cli-v2:latest

test_bosh_cli_cert governmentpaas/bosh-cli-v2:update_bosh_cli-160614327

What next?
Once merged, a new container id would be gerated and paas-cf needs updating.
Who?
Not me

waiting for https://hub.docker.com/r/governmentpaas/bosh-cli-v2/builds/bdqhaxoavpkqqlgq2ivyg5k/


response.json() throws different Error than one thrown in browser

To Reproduce:
        fetchMock.mock("*", {
            body: "<html></html>",
            status: 200,
            statusText: "Ok",
            headers: {},
            __redirectUrl: "http://localhost/login",
        }, { method: "GET" })
        await fetch("http://localhost/", { method: "GET" })
            .then((resp) => resp.json().catch((err) => {
            if (err instanceof SyntaxError) {
                console.log("Matches fetch behavior")
            } else {
                console.log("Does not match fetch behavior")
            }
        })

Current Behavior
    Expected value to be an instance of:
      "SyntaxError"
    Received:
      [FetchError: invalid json response body at http://localhost:8080/login reason: Unexpected token < in JSON at position 0]
    Constructor:
      "FetchError"

Expected Behavior:
I cannot find an actual link between these two documents but from testing on chrome parsing invalid json always throws a SyntaxError. The mocks should behave the same way.

MDN: SyntaxError
MDN: Body.json()

What are your thoughts?

I've looked into this and it's a deliberate variation from the fetch spec done in node-fetch https://github.com/bitinn/node-fetch/blob/master/ERROR-HANDLING.md, so closing this as a won't fix

New link for the above md file is https://github.com/node-fetch/node-fetch/blob/main/docs/ERROR-HANDLING.md#error-handling-with-node-fetch


Change VSCode "format that" to "file format"

I believe this is better because it is more object oriented. Moreover, "that" usually refers to this thing that was done last, for example the last utterance

For posterity, it's these commands:
https://github.com/knausj85/knausj_talon/blob/2e9e03ddb559c782e65650120a9d91079b6dc643/apps/vscode/vscode.talon#L106-L107
We should also figure out what to do about this JetBrains command:
https://github.com/knausj85/knausj_talon/blob/2e9e03ddb559c782e65650120a9d91079b6dc643/apps/jetbrains/jetbrains.talon#L37


[SPARK-34524][SQL][FOLLOWUP] Remove unused checkAlterTablePartition in CheckAnalysis.scala

What changes were proposed in this pull request?

#31637 removed the usage of CheckAnalysis.checkAlterTablePartition but didn't remove the function.
Why are the changes needed?

To removed an unused function.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Existing tests.

Test build #139618 has started for PR 32855 at commit 470ff35.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44145/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44145/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44145/

Test build #139618 has finished for PR 32855 at commit 470ff35.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139618/

thanks, merging to master!


Delete GraphQL API topClustersByScore

I'd like to request the deletion of the GraphQL query topClustersByScore. Although this API is currently still available, it always returns an empty ClusterScoreSet, rendering its result useless.
The reason for this is that the underlying implementation relies on review_database::Database::get_top_clusters_by_score, which uses data from the csv_indicator table in the database to build the set. However, this table is no longer populated (as confirmed by @sehkone in petabi/review-database#341) and remains empty. Furthermore, it is slated for deletion from review-database in the near future.
Given that the API is not providing any meaningful data and its dependency is being removed, I propose that we delete it to avoid confusion and reduce maintenance overhead.

Thank you for reminding me of this. I will work on it soon.

Pending because I realized the UI should be modified accordingly before doing this.


docs: bump kcl-lang.github.io to kcl-lang.io

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

docs: use kcl-lang.io domain and bump kcl-lang.github.io to kcl-lang.io in readme

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.712%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1369

Relevant Lines:
1526

💛  - Coveralls


mass list of website added

wonder if you can added more target website (on list) on 1 attack, not only 1 target at a time.

yes. if u can do this it will be great.


User dropdown inconsistency after logout

The user dropdown should be reset properly after logout.

:tada: This issue has been resolved in version 6.7.0 :tada:
The release is available on:

GitHub release
v6.7.0

Your semantic-release bot :package::rocket:


ZFS Snapshots

It would be useful for IML to have the ability
to manage snapshots. This includes:

Ability to schedule snapshots for filesystems at some regular interval (possibly with some retention rules).
Ability to take adhoc snapshot on filesystem(s).
Ability to view / delete previous snapshots.
Ability to rollback to a given snapshot.
Ability to rename a snapshot.
Take snapshot at key points (I.E. lustre upgrade).

Given all of these features, we will also want to tie the functionality into a given zpool.
This means being able to click on a zpool / dataset in the GUI and see info about that pool, along with any
snapshots on it's datasets.
Overall we will want an aggregate view of snapshots and an individual view over pools / datasets.

It would be useful to also create automount maps so that on login or other interactive user nodes could automatically mount names snapshots (e.g. "yesterday") when they change into the appropriate subdirectory (e.g. /mnt/testfs/.lustre/snapshots/yesterday/ or /mnt/testfs-yesterday/ or similar).   The "nice name" to "snapshot name" mapping would be updated daily when new snapshots are created.


Render DDK in web site

Render readmes

We need to discuss this. Turns out that we can't just render the DDK markdown into the docs because of the many links in the document. I've done a first pass at partially ingesting the DDK in docs (mostly redudant text) but we should make a decision about how to organize this.

https://microsoft.github.io/jacdac-docs/hardware/ddk


Wording of default message in quick outline

re https://github.com/microsoft/vscode/issues/93643

trigger quick outline where it cannot be triggered
see the message below, the last part reads weird

How about

The active text editor does not provide [symbols|symbol information|outline information]
To go to a symbol, open a text editor with symbol information first

* To go to a symbol, open a text editor with symbol information first

If this option is preferred I suggest a slight variation:

To go to a symbol, first open a text editor with symbol information.

We actually need 2 messages:

no editor or no text editor open
text editor open but no symbol information

I went with:

To go to a symbol, first open a text editor with symbol information.
The active text editor does not provide symbol information.

I find the new message missing some directions to where/how to provide some symbol information. Finally I figure out that I have to enable the c/cpp extension for the workspace.


SAMZA-1376: Create a leasing utility class for blobs in Azure

@navina
PR 1: AzureClient + AzureConfig
PR 2: LeaseBlobManager (current PR)

@PawasChhokra Can you rebase with upstream ? I closed your previous PR #254


Boot errors with enable_crash_reports

How would you suggest handling boot errors when enable_crash_reports is activated? My team has run into this situation a few times, which in matter of seconds or minutes tens of thousands of errors have been reported to Rollbar because of a core process not being able to start (usually a configuration issue, for example: new database was not yet provisioned so the corresponding Ecto.Repo crashes).
I would like to implement some kind of control / back off to avoid generating so many error reports at once in these circumstances. I wonder if anyone has run into this problem before and already found a good solution for it. I suspect Rollbax.Reporter would be the right place to resolve this but any guidance would be appreciated too.
Thank you!

@polmiro currently I'm "just" setting an appropriate quota on the Rollbar token. But I'd be curious to hear about what you may have implemented to mitigate this otherwise? Thanks!

@thbar I have not found any way to mitigate this. Implementing something for it fell down our priority list. Thanks for your suggestion of using Rollbar token quotas.  This is probably something not worth adding to the library itself so I will close this issue.

@polmiro that you didn't have to implement anything is a useful feedback, thank you!
I'll just use quotas then. Many thanks!


Store executor in hidden attribute of AST and remove EventDataset object from args

Changes the underlying way information is passed around in EventDataSet when it is converted to a python AST. Instead of storing a pointer back to an object, it stores the arguments used to create it in the first place. This specifically enables scenarios like #64 for uproot, and will also fix up issues likely to be encountered when doing the same thing for xAOD. Consider this cleaning up technical debt.
Should have no outward-facing changes.
Resolves #64.

Finally tested this - seems to make no difference, indeed, to the backend running!

Thanks for testing/merging this! I don't think the description is accurate, though. I would say this PR allows backends to put information in the EventDataset arguments in the AST, but this PR itself doesn't do that part. What this does is, instead of adding the EventDataset object as an "argument", it adds the executor function as hidden attribute.


Fixed package json by adding types in export

Checklist
Please put "X" in the below checkboxes that apply::

[ ] If committing a bugfix, I have tested it in different browsers (Chrome, Firefox, Safari).
[ ] If committing a new feature, I have first submitted an issue (Please note: you are free to open PRs for non-issued features, but opening an issue increases your chance of a successful PR).
[ ] If committing a new feature, I have also written an appropriate test suite for it.
[x] My pr is not a feature fix; it is a package fix

I have tested the following:
This does not apply

[ ] Qalendar component in month mode.
[ ] Qalendar component in week mode.
[ ] Qalendar component in day mode.
[ ] All of the above modes on emulated mobile view.
[ ] Dragging and dropping events.
[ ] Resizing events in day/week modes.
[ ] Clicking events to open event dialog.

This PR solves the following problem**.
Newer releases of typescript are not able to detect types for this project since they were not included in the export field.
How to test this PR**.

Install the module
Import the component anywhere in a <script setup lang="ts"/> block.
It doesn’t show an error now

@tomosterlund


Failed to upload files

like #7
Releases created successfully, but attachments cannot be uploaded.
Got Failed to upload the files. Failed to upload xxx artifact: invalid character '<' looking for beginning of value
Gitea app.ini
APP_NAME = Gitea
RUN_USER = git
RUN_MODE = prod

[database]
DB_TYPE  = sqlite3
HOST     = <IP_ADDRESS>:3306
NAME     = gogs
USER     = root
PASSWD   =
SSL_MODE = disable
PATH     = data/gitea.db

[repository]
ROOT = /var/data/gitea/repositories

[server]
DOMAIN           = *REMOVED*
HTTP_PORT        = 3000
ROOT_URL         = *REMOVED*
DISABLE_SSH      = false
SSH_PORT         = 22
SSH_LISTEN_PORT  = 2222
START_SSH_SERVER = true
OFFLINE_MODE     = false

[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL     = false
DISABLE_REGISTRATION   = true
ENABLE_CAPTCHA         = false
REQUIRE_SIGNIN_VIEW    = true

[picture]
DISABLE_GRAVATAR        = false
ENABLE_FEDERATED_AVATAR = false

[session]
PROVIDER = file

[attachment]
ALLOWED_TYPES = */*
MAX_SIZE = 4096

[log]
MODE      = file
LEVEL     = INFO
ROOT_PATH = /var/data/gitea/log

[security]
INSTALL_LOCK   = true
SECRET_KEY     = *REMOVED*
INTERNAL_TOKEN = *REMOVED*
[oauth2]
JWT_SECRET = *REMOVED*

It's a different issue than on the linked issue. The error indicates that the response from gitea isn't formatted in json format, which quite often comes from wrong gitea urls or if the gitea server tries to redirect from http to https.

It's solved after re-config HTTPS for Gitea (follow this).
Cuz I just migrated from Gogs (HTTPS via Nginx with 301 redirect from HTTP)


Example of Swift 2 implementation?

Can anybody please provide an example of a RATreeView working in Swift 2?

class TreeViewController:
    UIViewController,
    RATreeViewDataSource,
    RATreeViewDelegate
{
    private var treeView: RATreeView!
    private let xibName = "TreeViewSampleCell"

    override dynamic func viewDidLoad() {
        treeView = RATreeView(frame: self.view.bounds)
        treeView.delegate = self
        treeView.dataSource = self

        treeView.autoresizingMask = [.FlexibleWidth, .FlexibleHeight]
        view.addSubview(treeView)
        treeView.reloadData()

        treeView.registerNib(
            UINib(nibName: xibName, bundle: nil),
            forCellReuseIdentifier: xibName)
    }

    func treeView(treeView: RATreeView!, numberOfChildrenOfItem item: AnyObject!) -> Int {
        return item ? 3 : 0
    }

    func treeView(treeView: RATreeView!, cellForItem item: AnyObject!) -> UITableViewCell! {
        let cell = treeView!.dequeueReusableCellWithIdentifier(xibName) as! TreeViewCell
        ...
          return cell
    }

    func treeView(treeView: RATreeView!, child index: Int, ofItem item: AnyObject!) -> AnyObject! {
        return index
    }
}

@tapz thank you so much! This is very helpful!! I have a bounty on the same question on StackOverflow: http://stackoverflow.com/questions/32983132/working-example-of-ratreeview-in-swift-2 feel free to post your answer there to pick the bounty up.
Thanks again!


Deployment.

App deployed on Digital Ocean using the App Platform

for the admin site, see ww.w.manifestke.com/custom_admin
for the registration site, see ww.w.manifestke.com/members/register

App deployed on Digital Ocean using the App Platform

for the admin site, see ww.w.manifestke.com/custom_admin
for the registration site, see ww.w.manifestke.com/members/register


app doesn't alphabetize the words

The app sorts the words by binary ASCII code. Zebra comes before apple.
Tried to add collate to the ColumnInfo clause, or, an index to the Entity clause.
A workaround might be to restrict entry to a single case, but that seems very rigid.
I assume that Room and SQLite support collate or other means, so this should be
a very simple correction.
Thanks

Here is the corrected code:
@Query("SELECT * from word_table ORDER BY word collate NOCASE ASC")
fun getAlphabetizedWords(): LiveData<List>
This issue is closed.


FixServer misleading error message

in testplan/common/utils/sockets/fix/server.py:451 the error message states 'there are more connections active' also when there is 0 connection active.
Ideally should say 'more or no connections active' or even better have 3 cases 0, 1 and more.
Happy to provide a pull request if you would like one :-)

Hi Francois, welcome back! Let me fix this one real quick :)
Thanks for pointing it out!

Thanks a lot!


Add points command

Plz add a command to display the person's current points and nominations.
Also display a rank that very well chosen using the rankList.json file.

resolved in f0e97a7bc225cfffc0a2769e0ac1ee84ef3207c3


publish<EMAIL_ADDRESS>

Requested by: @bruno-garcia
Quick links:

View changes
View check runs

Assign the accepted label to this issue to approve the release.
Targets

[ ] github

Targets marked with a checkbox have already been executed.  Administrators can manually tick a checkbox to force craft to skip it.

Build seems stuck

We couldn't respond to your request in time.

Sorry about that. Please try refreshing and contact us if the problem persists.

  Contact Support —
  GitHub Status —
  @githubstatus

...
Hello future GitHubber! I bet you're here to remove those nasty inline styles,
  DRY up these templates and make 'em nice and re-usable, right?

  Please, don't. [github.com/styleguide/templates/2.0](https://github.com/styleguide/templates/2.0)

  -->

  <title>Unicorn! · GitHub</title>


add provider Open-Meteo

please add Open-Meteo it provide so much information with free api's with multiple customization

Sounds like a good addition, thanks!


Can't drag items from FileSystem module to floating script window

Tested versions

Reproducible in Godot 4.3.stable
Unsure of other versions

System information
Windows 11 23H2
Issue description
A quick way to reference an item from the FileSystem in a script is to click+drag it from the FileSystem module into the script editor. Holding Ctrl during this produces a pre-formatted result as well. It's an awesome feature.
Unfortunately, if the script editor has been set to floating by clicking the "make the script editor floating" button at the top-right of the script editor, this click+drag function (with or without Ctrl) does not work. It seems to not even be able to register in the 2nd window that you're trying to drag something in.

I have multiple monitors, and using the floating script editor is a great way for me to see everything at once. Having the functionality in either floating or not floating should be a thing!
Steps to reproduce

Open a project with multiple scenes, files, etc. ("items") in the res:// folder.
View a script in the Script Editor screen.
Locate an item in the FileSystem module, typically either found on the lower-left or bottom of your Godot window.

Click-and-drag this item into the script, with or without Ctrl. Observe that something appeared in your script and how seamless that was.

Click the "Make the script editor floating" button at the top-right of the script editor. A second window of the script editor should appear.

Somehow make it so you can see both the original window and the new script window (easier with multiple monitors, but splitting down the middle of a 16:9 monitor should be fine).
Repeat steps 3 and 4, but into the script editor 2nd window. Or at least, attempt to. Notice how it doesn't work.

Minimal reproduction project (MRP)
Basic process, any project will do.

Thank you for your report, this has already been fixed in the latest version and a fix will be added to 4.3.1, to confirm you can test using 4.4.dev1
Consolidating in the original report for the same problem:

https://github.com/godotengine/godot/issues/95639


Sample .editorconfig not up-to-date

The sample .editorconfig on this pages states:
"here is an example .editorconfig file with the default options"

However it is missing the defaults for some of the newer options like csharp_style_prefer_switch_expression. It would be good if this could be updated (and kept up to date), as it provides a good starting point to ensure nothing is missed.

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

ID: 410f3156-99cc-2a5c-2696-9d354c4f34c7
Version Independent ID: fe3c3dfe-251f-2585-fe18-7fae3bcc76d0
Content: .NET coding convention settings For EditorConfig - Visual Studio
Content Source: docs/ide/editorconfig-code-style-settings-reference.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @jillre
Microsoft Alias: jillfra

@brads55 Thanks for your suggestion; we've placed it in the queue for an update.

Is there a reference for all the properties that exist for C# and .net ?

@brads55 Thanks again for your suggestion; we've replaced the example .editorconfig file in the Example EditorConfig file section with one that we've created by using the recent version 16.5 release.
And for more information about what's listed in the example, please see the links that are listed in the Convention categories section of the page.


Add Django 4.1 support

Only a small change was required in the tests to handle this change about removing the type="text/css" attributes for CSS link tags:

It might make sense when releasing a new version to drop support for Python 3.6 and Django 2.2, 3.0 and 3.1 since they have all reached end of life. If you want I can push that in this PR or seperately

From the looks of it, the changeset here only appears to cover test files and workflows, correct? The current version of django-pipelines should still be ok to utilize in a 4.1 project? (Genuine question. I still think this PR is important regardless of the answer!)

Yea we've been using the latest (2.0.8) django-pipeline release with Django 4.1 (on Python 3.10) in production for a couple months and it's been fine (for the narrow case we're using it for). So this PR was just updating the testing matrix and classifiers so the package "officially" supports Django 4.1

@kevinmarsh
I think if you resolve the conflict in your PR it could be merged.
Because support for Python 3.6 dropped in the earlier commits and your PR wouldn't be failed anymore.

Looks like this got released in #786


docs: Fix Simple Input Example

Changes proposed

On registerField, the path was target.value, but the correct is only value

Hey @lcandiago, thanks for this fix. Really appreciate it 💜
Keep rocking 🚀


Add pagination to list commands

This PR adds pagination to all list functions as well as sort by and order by support. I needed this as we had to deal with >2100 tickets so I took the opportunity to add this missing feature.
All normal list function signatures like TicketList() keep unchanged but they now use pagination under the hood. So this PR will not break compatibility but instead the list functions truly return all elements if there are >100.
For users that need more control there are new functions that return a "result" struct implemented in a generic way, for instance TicketListResult(). All those functions support options to set the desired page, items per page, sort by and order by.
ticketsRes := client.TicketListResult(zammad.WithPerPage(50))

The returned result struct has a function  Next() as proposed in #9 that can be used in a for loop to iterate over the result set. To retrieve the current results inside the loop you can use Fetch(). To retrieve all results at once use FetchAll().
Fixes #9

@AlessandroSechi The testClient used in some of the unit tests was not compatible with pagination. I added a new field pages to set the desired number of pages. The tests now pass.
❯ go test -v ./... -count=1
=== RUN   TestOrganization
=== RUN   TestOrganization/0-OrganizationList
--- PASS: TestOrganization (0.00s)
    --- PASS: TestOrganization/0-OrganizationList (0.00s)
=== RUN   TestRequestOptions
=== RUN   TestRequestOptions/page%3D2%26per_page%3D50
=== RUN   TestRequestOptions/order_by%3Dasc%26sort_by%3Dname
=== RUN   TestRequestOptions/order_by%3Ddesc%26page%3D2%26per_page%3D50%26sort_by%3Ddate
--- PASS: TestRequestOptions (0.00s)
    --- PASS: TestRequestOptions/page%3D2%26per_page%3D50 (0.00s)
    --- PASS: TestRequestOptions/order_by%3Dasc%26sort_by%3Dname (0.00s)
    --- PASS: TestRequestOptions/order_by%3Ddesc%26page%3D2%26per_page%3D50%26sort_by%3Ddate (0.00s)
=== RUN   TestTicket
=== RUN   TestTicket/0-TicketList
=== RUN   TestTicket/1-TicketSearch
--- PASS: TestTicket (0.00s)
    --- PASS: TestTicket/0-TicketList (0.00s)
    --- PASS: TestTicket/1-TicketSearch (0.00s)
=== RUN   TestTicketCreate
--- SKIP: TestTicketCreate (0.00s)
=== RUN   TestUserAccessToken
=== RUN   TestUserAccessToken/0-UserAccessTokenList
--- PASS: TestUserAccessToken (0.00s)
    --- PASS: TestUserAccessToken/0-UserAccessTokenList (0.00s)
PASS
ok      github.com/AlessandroSechi/zammad-go    0.375s

Thanks!


Enhanced Memory Metrics

Hello all. I'm a big user of NewRelic but I'm also interested in getting a lot of the JVM stats it provides into a more open metrics solution (graphite/influxdb/cloudwatch). This project exposes some of those metrics but there are a few pieces that are missing.
First and easiest would be class (un)loading tracking which an be accessed via http://docs.oracle.com/javase/7/docs/api/java/lang/management/ClassLoadingMXBean.html
Second and a bit more involved but also a bit more valuable would be memory pool tracking (old gen, eden, survivor) which I think can be accessed via http://docs.oracle.com/javase/7/docs/api/java/lang/management/MemoryPoolMXBean.html
Would these additions be valuable to this tool and in keeping with its vision? I wanted to ask before jumping in on any implementation work.

Yes, those would absolutely be valuable.  Thanks for your interest in contributing!


Add CODE_OF_CONDUCT.md file

A code of conduct helps maintain a respectful and welcoming community. Without it, contributors may not know what behavior is expected.

I added CODE_OF_CONDUCT.md file.
Since this is my first contribution ,If any Changes required please tell.

@Nikhil0-3 Please create PR.

i have updated the file and added the PR. Please check and tell me if any further changes required.


Run integration tests on Windows runner

At the moment we are testing on Mac (my local dev env) and on Linux with Ubuntu runners in GitHub CI.
Many users are developing on Windows, and we want to catch any issues early.
So: create a GitHub CI task that runs on Windows and runs the integration tests against Camunda SaaS.

Set this up, and found one issue straight away - the OAuthProvider constructor does not throw on Windows if the cache directory is not writeable. The reason is that fs.accessSync functions differently on Windows.


[Meshery Docs] Quick Start - typo

Description

Path: Meshery Docs - Quick Start
This sentence has typo: "...Kubernetes API Server availabe in the control plane. "
Expected Behavior

Fix spelling: "...Kubernetes API Server available in the control plane. "
Screenshots

Contributor Guides and Handbook

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@Harsha-10 Since you asked for the issue to be assigned to you first before it was transfered to correct repo, you can go ahead.

Okay

@sandramsc  i am having issues in setting up locally.... can you please assign to someone else

@sandramsc i am having issues in setting up locally.... can you please assign to someone else

I suggest giving yourself more time to find a solution (assignment was given less than a few hours ago), the discussion forum and Slack channel are great places to ask for help from the community.

are you getting this error:

@Harsha-10

are you getting this error:  @Harsha-10

Hi @vaibhavpnimkar please direct posts like this to the discussion forum, as the assignee has not specified the issue the issuee they encountered, this creates more noise than help for the assignee working on the issue.

hey @sandramsc the is resolved already and it was common issue faced by everyone who was trying to run make-ui setup so sorry if i create more noisei was trying to help out


Make fetch stable

This change is to stabilize the behavior of fetch.
Changes

Use native-fetch instead of node-fetch

Node.js 18 support fetch

Implement fetchWithRetry

Details
node-fetch has an issue

https://github.com/node-fetch/node-fetch/issues/1735

When I was running it locally, the next error occurred frequently.
:error: FetchError: request to https://tc39.es/proposal-regexp-dotall-flag/ failed, reason: read ECONNRESET
    at ClientRequest.<anonymous> (file:///Users/azu/ghq/github.com/tc39/dataset/node_modules/node-fetch/src/index.js:108:11)
    at ClientRequest.emit (node:events:517:28)
    at TLSSocket.socketErrorListener (node:_http_client:501:9)
    at TLSSocket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  erroredSysCall: 'read'
}

This problem is hard to occur in native fetch.
Addtionaly, I have implemented fetch retry.

thank you!


feat: add css-variables color overview

🔗 Linked issue

❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Document the defined css color variables inside the six-webcomponents library.

📝 Checklist

[ ] I have linked an issue or discussion.
[x] It's submitted to the main branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] I have updated the documentation accordingly.
[x] All tests are passing
[ ] New/updated tests are included
[ ] I have updated the "upcoming" section inside docs/changelog.md explaining the changes I contributed

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Great, thanks. Please add new sub-menu "Styling" and move Tables+Colors there.


Consider not abbreviating “Integer”

I just started trying Prisma and got to this code snippet in the Quickstart.
model Post {
  post_id    Int      @id @default(autoincrement())
  content    String?
  created_at DateTime @default(now())
  title      String
  author     User?
}

Why is “Integer” abbreviated to “Int”? I looked up the data types and it appears “Integer” is the only one that is abbreviated, which is unexpected/inconsistent.
If it’s too difficult to change it now to be consistent, could it be aliased so both “Int” and “Integer” work?

its probably because in graphql the type is named Int and prisma1 used graphql language for the schema.

@macrozone Oh, you’re right, I think I knew that and had forgotten. What a bizarre choice—I wonder if there was a good reason 🤔
This is sort of an interesting problem—on the one hand it totally makes sense to keep to the spec, but on the other hand, I’ve been using GraphQL for a not insignificant amount of time and I was confused by this. Also for many people Prisma might be their first experience with GraphQL 🤷🏼♂ Aliasing it feels like a nice convenience for users but I can see the argument against it too.

@brandonweiss in many languages its actually int ;- ) like in c. It's short and matches the short "float" as well, i am fine with it ;-)

That's not something we are considering right now.


Path for design file (docker WSL2)?

Dear all
I wonder how the "design=" variable in the section of # ANALYSIS VARIABLES in the design file be set if I using the docker in Windows Subsystem for Linux 2 (WSL2)?
Based on the code generated by xcpengine-docker, I tried the following code:
docker run --rm -it
-v E:\XCP_test\fc-36p.dsn:/design/design.dsn
-v E:\XCP_test\func_cohort.csv:/cohort/cohort.csv
-v E:\XCP_test\xcp_output:/xcpOutput
-v E:\XCP_test:/relative
pennbbl/xcpengine:latest
-d /design/design.dsn
-c /cohort/cohort.csv
-o /xcpOutput
-m s
-r /relative
I tried "/relative/fc-36p.dsn" or "/design/design.dsn" but error messages as  "No such file or directorycaliser" or "No such file or directoryrintx" for the design file occurred.
After searching the previous threads, I supposed such might relate to the privilege of reading and writing.
Actually, I ever had a similar problem with the cohort file when using the xcpengine-docker which mounts the .csv file with "ro".
Currently, the cohort and design files were in the same directory, and the cohort file works fairly with the img as fmriprep/sub-1/func/sub-1_task-rest_space-T1w_desc-preproc_bold.nii.gz to indicate the file in E:\XCP_test\fmriprep.
Accordingly, I supposed the problem occurred at the settings of the "design=" variable in the section of # ANALYSIS VARIABLES in the design file.
Thanks a lot!

Dear all
update for the problem:
It seems ok when I modified the codes and used "design=/design/fc-36p.dsn" in the design file.
docker run --rm -it
-v E:\002_DAT-FC-SCH\004_XCP\fc-36p.dsn:/design/fc-36p.dsn
-v E:\002_DAT-FC-SCH\004_XCP\func_cohort.csv:/cohort/cohort.csv
-v E:\002_DAT-FC-SCH\004_XCP\xcp_output:/xcpOutput
-v E:\002_DAT-FC-SCH\004_XCP\xcp_work:/work
-v E:\002_DAT-FC-SCH\002_analysis:/relative
pennbbl/xcpengine:latest
-d /design/fc-36p.dsn
-c /cohort/cohort.csv
-i /work
-o /xcpOutput
-m s
-r /relative


Add page switch transition.

I added smooth page switching transitions using the instructions from this link: https://nuxt.com/docs/getting-started/transitions. Any feedback is appreciated.

thansk! made it a bit more seamless by using position absolute to stack the two pages and allowed to disable it with a media query, but looking good!


commands/fork: handle missing "origin" remote

Fixes nil reference crash. Fixes #1042.

/cc @port-kentaro-honda @jingweno @mislav

Thanks for fixing! That should take care of the crash. But, I'm confused about the functionality of this command right now.
If the command aborted and exited with status 1, was forking successful or not? It seems like it was, but then we abort just prior to final git remote add. What did we fork from if there was no origin remote to start from?

Good point @mislav. @parkr, it's better we check the error before all the ceremonies.

What did we fork from if there was no origin remote to start from?

@mislav From what I understand from the code, the fork is performed by the remote returned by localRepo.MainProject(), which appears to just pull in the first remote listed by git.

it'd be better we check the error before all the ceremonies.

@jingweno Updated.

Thanks @parkr!! :tada:

My pleasure. Apologies for all the back and forth. Looking forward to the next release! :sparkles:


Prevent map overlay back end 500 with correct binSpec range using fancy significant figures rounding up/down

Fixes #1301

Or we may introduce a new prop at a single function like upDown: "up" (or "down") to round-up or round-down if necessary

If we went with the unified function, we'd need to roll in the functionality of the existing numberSignificantFigures (for when neither 'up' nor 'down' is provided).
In that case do we continue to do the "if integer, return unchanged" behaviour?
The function has only been used in the default axis range function, and the motivation was to avoid ridiculous 0.111111111111111 appearing in the range control inputs.
I think we could keep the old integer behaviour in the unified function.  I'll have a think about it.


Flutter Web - Assertion failed: !_debugNeedsLayout for AppBar

This is in 2.10.1 but also in earlier versions.
I cannot reproduce this consistently, it occurs intermittently with the appearance of a page. I have a suspicion that it is related to my app bar code, as it appears to not exist without the code:
      appBar: const PreferredSize(
        preferredSize: Size.fromHeight(Constants.BarHeight),
        child: ZLandingMenuBar(),
      ),

Which eventually calls -
class ZMenuBar extends StatelessWidget {
  const ZMenuBar({Key? key, required this.children, this.color})
      : super(key: key);

  final List<Widget> children;
  final Color? color;

  @override
  Widget build(BuildContext context) {
    return Container(
      height: Constants.BarHeight,
      decoration: BoxDecoration(color: color ?? context.backgroundColor),
      child: Row(
        children: children,
      ),
    );
  }
}

I was curious if the dual height settings could cause a problem but I'm unsure.

logs
Assertion failed:
../…/painting/text_painter.dart:953
!_debugNeedsLayout
is not true
    at Object.throw_ [as throw] ([http://localhost:5000/dart_sdk.js:5067:11]())
    at Object.assertFailed ([http://localhost:5000/dart_sdk.js:4992:15]())
at text_painter.TextPainter.new.getPositionForOffset ([http://localhost:5000/packages/flutter/src/painting/placeholder_span.dart.lib.js:2371:43]())
at paragraph.RenderParagraph.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/paragraph.dart.lib.js:602:45]())
at paragraph.RenderParagraph.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderTransform.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at [http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:2625:179]()
at box.BoxHitTestResult.wrap.addWithRawTransform ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:7815:19]())
at box.BoxHitTestResult.wrap.addWithPaintTransform ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:7786:19]())
at proxy_box.RenderTransform.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:2625:21]())
at proxy_box.RenderTransform.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:2620:19]())
at proxy_box.RenderAnimatedOpacity.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderAnimatedOpacity.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at [http://localhost:5000/packages/flutter/src/rendering/shifted_box.dart.lib.js:149:47]()
at box.BoxHitTestResult.wrap.addWithPaintOffset ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:7798:19]())
at shifted_box.RenderPositionedBox.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/shifted_box.dart.lib.js:147:23]())
at shifted_box.RenderPositionedBox.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderConstrainedBox.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderConstrainedBox.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at [http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:8048:44]()
at box.BoxHitTestResult.wrap.addWithPaintOffset ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:7798:19]())
at stack.RenderStack.new.defaultHitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:8046:30]())
at stack.RenderStack.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/stack.dart.lib.js:614:19]())
at stack.RenderStack.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderConstrainedBox.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderConstrainedBox.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderRepaintBoundary.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderRepaintBoundary.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at [http://localhost:5000/packages/flutter/src/rendering/shifted_box.dart.lib.js:149:47]()
at box.BoxHitTestResult.wrap.addWithPaintOffset ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:7798:19]())
at shifted_box.RenderPositionedBox.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/shifted_box.dart.lib.js:147:23]())
at shifted_box.RenderPositionedBox.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderConstrainedBox.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderConstrainedBox.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderFittedBox.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at [http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:2935:138]()
at box.BoxHitTestResult.wrap.addWithRawTransform ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:7815:19]())
at box.BoxHitTestResult.wrap.addWithPaintTransform ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:7786:19]())
at proxy_box.RenderFittedBox.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:2935:21]())
at proxy_box.RenderFittedBox.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderConstrainedBox.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderConstrainedBox.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at [http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:8048:44]()
at box.BoxHitTestResult.wrap.addWithPaintOffset ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:7798:19]())
at stack.RenderStack.new.defaultHitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:8046:30]())
at stack.RenderStack.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/stack.dart.lib.js:614:19]())
at stack.RenderStack.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderRepaintBoundary.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderRepaintBoundary.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderIndexedSemantics.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderIndexedSemantics.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at [http://localhost:5000/packages/flutter/src/rendering/sliver.dart.lib.js:1337:106]()
at box.BoxHitTestResult.wrap.addWithOutOfBandPosition ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:7838:19]())
at sliver_list.RenderSliverList.new.hitTestBoxChild ([http://localhost:5000/packages/flutter/src/rendering/sliver.dart.lib.js:1337:21]())
at sliver_list.RenderSliverList.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/sliver_multi_box_adaptor.dart.lib.js:505:18]())
at sliver_list.RenderSliverList.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/sliver.dart.lib.js:977:18]())
at sliver$.SliverHitTestResult.wrap.addWithAxisOffset ([http://localhost:5000/packages/flutter/src/rendering/sliver.dart.lib.js:795:19]())
at sliver_padding.RenderSliverPadding.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/sliver_padding.dart.lib.js:221:16]())
at sliver_padding.RenderSliverPadding.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/sliver.dart.lib.js:977:18]())
at [http://localhost:5000/packages/flutter/src/rendering/sliver.dart.lib.js:1932:116]()
at box.BoxHitTestResult.wrap.addWithOutOfBandPosition ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:7838:19]())
at viewport.RenderShrinkWrappingViewport.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/sliver.dart.lib.js:1932:30]())
at viewport.RenderShrinkWrappingViewport.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderIgnorePointer.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderIgnorePointer.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderIgnorePointer.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:3470:38]())
at proxy_box.RenderSemanticsAnnotations.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderSemanticsAnnotations.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderPointerListener.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderPointerListener.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:527:26]())
at proxy_box.RenderSemanticsGestureHandler.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderSemanticsGestureHandler.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:527:26]())
at proxy_box.RenderPointerListener.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderPointerListener.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:527:26]())
at scrollable$._RenderScrollSemantics.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at scrollable$._RenderScrollSemantics.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderRepaintBoundary.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderRepaintBoundary.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at custom_paint.RenderCustomPaint.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at custom_paint.RenderCustomPaint.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/custom_paint.dart.lib.js:325:20]())
at custom_paint.RenderCustomPaint.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderMouseRegion.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderMouseRegion.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderMouseRegion.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:3246:20]())
at proxy_box.RenderPointerListener.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderPointerListener.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:527:26]())
at proxy_box.RenderSemanticsGestureHandler.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderSemanticsGestureHandler.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:527:26]())
at proxy_box.RenderRepaintBoundary.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderRepaintBoundary.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at [http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:8048:44]()
at box.BoxHitTestResult.wrap.addWithPaintOffset ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:7798:19]())
at custom_layout.RenderCustomMultiChildLayoutBox.new.defaultHitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:8046:30]())
at custom_layout.RenderCustomMultiChildLayoutBox.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/custom_layout.dart.lib.js:283:19]())
at custom_layout.RenderCustomMultiChildLayoutBox.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at material._RenderInkFeatures.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at material._RenderInkFeatures.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderPhysicalModel.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderPhysicalModel.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderPhysicalModel.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:2163:20]())
at proxy_box.RenderSemanticsAnnotations.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
at proxy_box.RenderSemanticsAnnotations.new.hitTest ([http://localhost:5000/packages/flutter/src/rendering/layer.dart.lib.js:4452:18]())
at proxy_box.RenderRepaintBoundary.new.hitTestChildren ([http://localhost:5000/packages/flutter/src/rendering/proxy_box.dart.lib.js:437:56]())
....

flutter doctor -v
[✓] Flutter (Channel stable, 2.10.1, on macOS 11.6.1 20G224 darwin-x64, locale en-US)
    • Flutter version 2.10.1 at /Users/alexanderkornhauser/Documents/loveleaf/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db747aa133 (5 days ago), 2022-02-09 13:57:35 -0600
    • Engine revision ab46186b24
    • Dart version 2.16.1
    • DevTools version 2.9.2
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/alexanderkornhauser/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
[✓] VS Code (version 1.64.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.34.0
[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 98.0.4758.102
[✓] HTTP Host Availability
• All required HTTP hosts are available

Similar to #86545 but their issues are not consistent with my own. Any ideas will help. Can share larger code sample.

@kornha
Would be good to get a self contained but complete minimal reproducible code sample that throws this error. Make sure the code is without any 3rd party plugins.

It can be very hard to do so since there is just a massive error printout without indicating where or what the error is, and the printout is intermittent. I am working on it.


segfault in drow while parsing sections of some ELFs

From @EMCELLY:
I did some quick testing here are the results.
Centos 8.1 - works as expected.
Ubunutu 18 - segfault in drow
Ubuntu 16 - segfault in drow
Centos 7.-0 - segfault in drow
Centos 6.0 - segfault in drow
Attaching some gdb logs and a core file since they all seem to be the same issue on line 103 of find_exe_seg_last_section function.
core.15948.gz
ubuntu-18.crash.txt
ubuntu-16.crash.txt
centos-7.0.crash.txt
centos-6.0-crash.txt
Originally posted by @EMCELLY in https://github.com/zznop/drow/issues/2#issuecomment-653823785

@EMCELLY I worked on a fix last night and just merged this commit in master https://github.com/zznop/drow/pull/5/commits/7a040494aca05184e8fb2e4eea1e625d6c445523
I was able to reproduce the issue with Ubuntu ls. The problem was that it had a nobits RX segment (no sections in it). This commit adds a check to ensure that the last section in the RX segment is found. If it is not, then it continues parsing program headers to find the next RX segment (if one exists). drow now successfully applies the patch to the ubuntu binary that I tested with. I have not tested on Centos. Thanks for your contributions lately. Let me know if you have any other issues.


Distributed DNN training

Hi Davis,
Thank you for open sourcing this awesome project. I'm wondering if the distributed DNN training support is in the roadmap? If it's in your plan, what do you want it looks like?
Thanks,

Thanks, glad you like dlib :)
No, I'm probably not going to add multi-machine training.  You can already train with multiple GPUs. So for example, you could stuff 8 NVIDIA 1080ti GPUs into one machine and train with them as a group.  Support for training with multiple GPUs in multiple machines requires special hardware to enable fast communication.  It's not the sort of thing you are going to want to do with commodity machines connected with gigabit ethernet if that's what you have in mind.

Thanks for your kindly reply. One of my friend mentioned that TensorFlow supports distributed training. And so I am curious about your thoughts.
I also wonder if it's worth to do the dnn training across different machine with gigabit eth.

I highly doubt that works well.

If you want to train fast buy some NVIDIA 1080ti cards

Thank you for sharing the thoughts :)
Thanks again for this awesome project


java.lang.NoClassDefFoundError: com/coveo/nashorn_modules/Folder

I include this in my pom.xml, and get this at runtime:
java.lang.NoClassDefFoundError: com/coveo/nashorn_modules/Folder
I'm loading it into a Bukkit plugin in Minecraft.

When calling ResourceFolder.create you need to pass a class loader and path. What are you entering there?

I got around that issue - I had to do this: https://bukkit.org/threads/tutorial-use-external-library-s-with-your-plugin.103781/
Now I have two distinct issues:

I'm loading files from the file system. It seems like I have to supply an absolute file path as the file root?
With an absolute path, the first file is loaded with a require; however that file in turn requires another file (from the same directory) and that require fails.

I don't think you need to supply an absolute path, in particular the UT for FilesystemFolder uses a relative path. Also that's how I use this lib in a separate project. But then there might be something I'm missing.
For the require part, do you prefix the name of the string to include with ./, if it's a file in the same folder? This is required as per https://nodejs.org/api/modules.html (to the best of my understanding).

Yes, my require looks like require('./module1.js').
Inside module1.js it has require('./module2.js'). That second include fails.

Are you able to reproduce that issue outside Bukkit? Here it certainly works. Since you're getting a NoClassDefFound I guess that somehow something is messing up with the class loader...


upgrade to 0.7.0

#61

will there be some changelog or release note or git tags?
nothing after 0.4.0 on GitHub releases
https://github.com/Yoctol/yoctol-nlu-py/releases


Upload .ckans instead of .repo/metadata.tar.gz as workflow artifact

See https://github.com/KSP-CKAN/xKAN-meta_testing/pull/80 and https://github.com/KSP-CKAN/NetKAN/pull/8704#issuecomment-895115027, this uploads the .ckans directory instead of the .repo/metadata.tar.gz file, to avoid double compression. I hope the filename turns out the way I think it does.

chmod: cannot access '.ckans': No such file or directory

While not fatal, would be nice to get rid of this to avoid PRs without .netkan changes to fail.
We could try whether it works without chmodding...

Thinking about it, I'm not sure whether we would've seen the same exception with https://github.com/KSP-CKAN/xKAN-meta_testing/pull/80 already merged. But it doesn't hurt to get rid of unneeded chmods.
So far it looks good, but we need the xKAN-meta_testing PR deployed to fully test it.
Drop the last Astrogator commit before merging.

Upload worked fine, but unfortunately the placeholder didn't get replaced correctly:

https://github.com/KSP-CKAN/NetKAN/suites/3563133927/artifacts/85552240
Maybe an environment variable would work. Taking a look at https://github.com/actions/upload-artifact, maybe it had come up in already.