webpack 2 support

I am not sure if the issue is in carte-blanche itself or some dependency.. but as soon as I add the webpack plugin I start getting callback is not defined
Webpack<EMAIL_ADDRESS>Node: v6.3.0
NPM: 3.10.3
Stack:
CarteBlanche started at //carte-blanche
Uncaught Exception...
TypeError: callback is not a function
    at MultiModuleFactory.create (/Users/edvinerikson/code/fulcrum-frontend/node_modules/extra-entry-webpack-plugin/node_modules/webpack/lib/MultiModuleFactory.js:17:2)
    at Compilation.process [as _addModuleChain] (/Users/edvinerikson/code/fulcrum-frontend/node_modules/webpack/lib/Compilation.js:350:16)
    at Compilation.process [as addEntry] (/Users/edvinerikson/code/fulcrum-frontend/node_modules/webpack/lib/Compilation.js:421:7)
    at MultiEntryPlugin.<anonymous> (/Users/edvinerikson/code/fulcrum-frontend/node_modules/extra-entry-webpack-plugin/node_modules/webpack/lib/MultiEntryPlugin.js:25:15)
    at Compiler.applyPluginsParallel (/Users/edvinerikson/code/fulcrum-frontend/node_modules/webpack/node_modules/tapable/lib/Tapable.js:156:14)
    at Compiler.compile (/Users/edvinerikson/code/fulcrum-frontend/node_modules/webpack/lib/Compiler.js:431:7)
    at Watching.<anonymous> (/Users/edvinerikson/code/fulcrum-frontend/node_modules/webpack/lib/Compiler.js:47:17)
    at next (/Users/edvinerikson/code/fulcrum-frontend/node_modules/webpack/node_modules/tapable/lib/Tapable.js:81:11)
    at Compiler.invalidAsyncPlugin (/Users/edvinerikson/code/fulcrum-frontend/node_modules/webpack-dev-middleware/middleware.js:80:3)
    at next (/Users/edvinerikson/code/fulcrum-frontend/node_modules/webpack/node_modules/tapable/lib/Tapable.js:83:14)
    at Compiler.<anonymous> (/Users/edvinerikson/code/fulcrum-frontend/node_modules/webpack/lib/CachePlugin.js:31:4)
    at Compiler.applyPluginsAsync (/Users/edvinerikson/code/fulcrum-frontend/node_modules/webpack/node_modules/tapable/lib/Tapable.js:85:13)
    at Watching._go (/Users/edvinerikson/code/fulcrum-frontend/node_modules/webpack/lib/Compiler.js:45:16)
    at Watching.<anonymous> (/Users/edvinerikson/code/fulcrum-frontend/node_modules/webpack/lib/Compiler.js:37:8)
    at Compiler.readRecords (/Users/edvinerikson/code/fulcrum-frontend/node_modules/webpack/lib/Compiler.js:339:10)
    at new Watching (/Users/edvinerikson/code/fulcrum-frontend/node_modules/webpack/lib/Compiler.js:34:16)
Uncaught Exception...
undefined

Webpack config
/**
 * DEVELOPMENT WEBPACK CONFIGURATION
 */

const path = require('path');
const fs = require('fs');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CarteBlanche = require('carte-blanche');
const logger = require('../../server/logger');
const pkg = require(path.resolve(process.cwd(), 'package.json'));
const dllPlugin = pkg.dllPlugin;

// PostCSS plugins
const cssnext = require('postcss-cssnext');
const postcssFocus = require('postcss-focus');
const postcssReporter = require('postcss-reporter');

const plugins = [
  new CarteBlanche({
    componentRoot: path.join(process.cwd(), 'app', 'components'),
  }),
  new webpack.HotModuleReplacementPlugin(), // Tell webpack we want hot reloading
  new webpack.NoErrorsPlugin(),
  new HtmlWebpackPlugin({
    inject: true, // Inject all files that are generated by webpack, e.g. bundle.js
    templateContent: templateContent(), // eslint-disable-line no-use-before-define
  }),
];

module.exports = require('./webpack.base.babel')({
  // Add hot reloading in development
  entry: [
    'eventsource-polyfill', // Necessary for hot reloading with IE
    'webpack-hot-middleware/client',
    path.join(process.cwd(), 'app/app.js'), // Start with js/app.js
  ],

  // Don't use hashes in dev mode for better performance
  output: {
    filename: '[name].js',
    chunkFilename: '[name].chunk.js',
  },

  // Add development plugins
  plugins: dependencyHandlers().concat(plugins), // eslint-disable-line no-use-before-define

  // Load the CSS in a style tag in development
  cssLoaders: 'style-loader!css-loader?localIdentName=[local]__[path][name]__[hash:base64:5]&modules&importLoaders=1&sourceMap!postcss-loader',

  // Process the CSS with PostCSS
  postcssPlugins: [
    postcssFocus(), // Add a :focus to every :hover
    cssnext({ // Allow future CSS features to be used, also auto-prefixes the CSS...
      browsers: ['last 2 versions', 'IE > 10'], // ...based on this browser list
    }),
    postcssReporter({ // Posts messages from plugins to the terminal
      clearMessages: true,
    }),
  ],

  // Tell babel that we want to hot-reload
  babelQuery: {
    presets: ['react-hmre'],
  },

  // Emit a source map for easier debugging
  devtool: 'eval-source-map',
});

/**
 * Select which plugins to use to optimize the bundle's handling of
 * third party dependencies.
 *
 * If there is a dllPlugin key on the project's package.json, the
 * Webpack DLL Plugin will be used.  Otherwise the CommonsChunkPlugin
 * will be used.
 *
 */
function dependencyHandlers() {
  // Don't do anything during the DLL Build step
  if (process.env.BUILDING_DLL) { return []; }

  // If the package.json does not have a dllPlugin property, use the CommonsChunkPlugin
  if (!dllPlugin) {
    return [
      new webpack.optimize.CommonsChunkPlugin({
        name: 'vendor',
        children: true,
        minChunks: 2,
        async: true,
      }),
    ];
  }

  const dllPath = path.resolve(process.cwd(), dllPlugin.path || 'node_modules/react-boilerplate-dlls');

  /**
   * If DLLs aren't explicitly defined, we assume all production dependencies listed in package.json
   * Reminder: You need to exclude any server side dependencies by listing them in dllConfig.exclude
   *
   * @see https://github.com/gutro/fulcrum-frontend/tree/master/docs/general/webpack.md
   */
  if (!dllPlugin.dlls) {
    const manifestPath = path.resolve(dllPath, 'reactBoilerplateDeps.json');

    if (!fs.existsSync(manifestPath)) {
      logger.error('The DLL manifest is missing. Please run `npm run build:dll`');
      process.exit(0);
    }

    return [
      new webpack.DllReferencePlugin({
        context: process.cwd(),
        manifest: require(manifestPath), // eslint-disable-line global-require
      }),
    ];
  }

  // If DLLs are explicitly defined, we automatically create a DLLReferencePlugin for each of them.
  const dllManifests = Object.keys(dllPlugin.dlls).map((name) => path.join(dllPath, `/${name}.json`));

  return dllManifests.map((manifestPath) => {
    if (!fs.existsSync(path)) {
      if (!fs.existsSync(manifestPath)) {
        logger.error(`The following Webpack DLL manifest is missing: ${path.basename(manifestPath)}`);
        logger.error(`Expected to find it in ${dllPath}`);
        logger.error('Please run: npm run build:dll');

        process.exit(0);
      }
    }

    return new webpack.DllReferencePlugin({
      context: process.cwd(),
      manifest: require(manifestPath), // eslint-disable-line global-require
    });
  });
}

/**
 * We dynamically generate the HTML content in development so that the different
 * DLL Javascript files are loaded in script tags and available to our application.
 */
function templateContent() {
  const template = fs.readFileSync(path.resolve(process.cwd(), 'app/index.html')).toString();

  if (!dllPlugin) { return template; }

  const dllNames = dllPlugin.dlls ? Object.keys(dllPlugin.dlls) : ['reactBoilerplateDeps'];

  return template.replace(
    '<!-- #PLACE_FOR_DLLS# -->',
    dllNames.map(dllName => `<script data-dll='true' src='/${dllName}.dll.js'></script>`).join('\n')
  );
}

I've seen that webpack config before, hah :wink:
I think this is already being tracked in #386.

@mxstbr Thanks for the fast answer but I don't think it has anything to do with DLL plugin though

True but the overarching issue is react-boilerplate support, not specific issues with it :+1:

Same Issue :(

I also have the same issue without using react-boilerplate or the DLL plugin.

Any updates on this? Almost 3 months have passed since last comment. I still have the issue.

Also having the same issue.

Hi folks, I wanna try your product, but that issue blocks me out. Do you have fixing in plan?

+1 here


[Issue]: Reactivate does not work

Why is this issue important?
Deactivating a user works as expected, but reactivate does not work.
Current State
When I click Reactivate on the users page, the button doesn't change back to "Deactivate" as expected. If I click edit and trying to change the status to Active for the deactivated user, I get this error:

Expected State
When a user is changed to deactivated, clicking "Reactivate" should:

change them back to active
show the "Deactivate" button on the users page again

Implementation Plan
The following functions need to be added...
Relevant Code Snippets
No response

confirmed that this is now working as expected


StatsInfo Not Populating When SetOutputIdentity and CalculateStats are set to true.

I'm trying to use the following code to insert entities into an SQLite database.
  var config = new BulkConfig
            {
                SetOutputIdentity = true,
                CalculateStats = true,
                StatsInfo = new StatsInfo()
            };
            _dbContext.BulkInsertOrUpdate(humanList, config);

            return config.StatsInfo.StatsNumberInserted;

I've read the readme and setting CalculateStats to true should populate StatsInfo with the amount inserted and updated, but after debugging, both of those values are set to 0. Is this a bug or am I missing something?

Your code seems fine.
You can check that StatsInfo work if you download the Project and run BulkTest.
(put breakpoint in method RunInsertOrUpdate on line 207)

I ran the test and I noticed that the StatsInfo object is still null at line 207. How do you access the information inside the StatsInfo object if you don't set it to a new instance of a StatsInfo object? Isn't it supposed to populate when CalculateStats is set to true?

I only now see that this issue is for Sqlite, I was testing it for SqlServer.
On Sqlite this feature is not supported since it is implemented as part of MERGE-Table statement which exist only for SqlServer, there when CalculateStats is set then StatsInfo is automatically instantiated,
On Sqlite Merge is done with raw Sql.

Is there a workaround for this that can work with Sqlite? The issue is that my database could be inserting entities, so I can't compare the entities before and after the operation because new data is always being pushed to the database, but I need to know how much data was imported so I know how successful my import operation was.

I tried using BulkRead. However a MethodIsNotImplementedError is thrown. I've followed the example and I have included sample code below.
  var config = new BulkConfig
            {
                UpdateByProperties = new List<string> { nameof(HumanEntity.Id) },
            };
            _dbContext.BulkRead(humanList, config);
            _dbContext.BulkInsertOrUpdate(humanList, config);

Is there something I'm missing for specifcally Sqlite that prevents BulkRead from working?

You are right, that's still not implemented for Sqlite.

Ahh okay I see know. So is there a workaround that would work for Sqlite or would I not be able to calculate the amount of entities imported with BulkInsertOrUpdate() ?

You could try with regular Read(Select), if there isn't too much rows in Db.
Otherwise no other option at the moment.

BulkRead is now implemented for Sqlite, v5.0.8.+

I am using 8.0.0 in an Azure Function (dotnet-isolated) against Azure SQL DB (elastic pool).
StatsInfo doesnt seem to populate nor be instantiated.
I have tried reading statsinfo inside the strategy execution as well (see example) - its always null.
I tried to find where it is being set with little luck. Seems like only the graph part uses StatsInfo?
But even with IncludeGraph, StatsInfo is always null.
Is there any other way to get affected records / inserts count like the int result from SaveChanges (besides counting before after or comparing unique ids)?
Kind Regards

      bulkConfig = new BulkConfig
      {
          BatchSize = 10000,
          CalculateStats = true,
          SetOutputIdentity = true, //tried with this as well
          IncludeGraph = true, //tried with this as well
          SetOutputNonIdentityColumns = true //tried flipping this as well
      };

        await _strategy.ExecuteAsync(
            async () =>
            {
                using var transaction = await context.Database.BeginTransactionAsync(IsolationLevel.Snapshot);

                await context.BulkDeleteAsync(context.SowRows.Where(x => x.farmId == farmId), bulkConfig);
                await context.BulkDeleteAsync(context.FarrowingRows.Where(x => x.farmId == farmId), bulkConfig);
                await context.BulkDeleteAsync(context.MatingRows.Where(x => x.farmId == farmId), bulkConfig);
                await context.BulkDeleteAsync(context.MedicineusageRows.Where(x => x.farmId == farmId), bulkConfig);
                await context.BulkDeleteAsync(context.WeaningRows.Where(x => x.farmId == farmId), bulkConfig);
                await context.BulkDeleteAsync(context.BackFatSowsRows.Where(x => x.farmId == farmId), bulkConfig);
                await context.BulkDeleteAsync(context.PigletDeathRows.Where(x => x.farmId == farmId), bulkConfig);

                await transaction.CommitAsync();
            });
        totalRowsDeleted = bulkConfig.StatsInfo.StatsNumberDeleted;

@KevinSebastin Have you tested whether it works against a local SQL Server container?
The following BulkConfig have StatsInfo populated for a local instance of SQL Server 2022:
    var bulkConfig = new BulkConfig
        {
            BatchSize = batchSize,
            SetOutputIdentity = true,
            CalculateStats = true,
        };

I'm using version 8.0.1 of BulkExtensions with a strategy execution:
      var executionStrategy = dbContext.Database.CreateExecutionStrategy();
        return executionStrategy.ExecuteAsync(async () =>
        {
            await using var transaction = await dbContext.Database.BeginTransactionAsync(cancellationToken).ConfigureAwait(false);
            try
            {
                await saveData(dbContext, data, batchSize, logger, cancellationToken).ConfigureAwait(false);
                await transaction.CommitAsync(cancellationToken).ConfigureAwait(false);
                await onSuccessfulSave().ConfigureAwait(false);
            }
            catch
            {
                await transaction.RollbackAsync(cancellationToken).ConfigureAwait(false);
                throw;
            }
        });


Travis -> GHA

Added some test versions because we're using it in other versions:

Sweetness is 2.6
deploy-api is 3.3

https://app.shortcut.com/aptible/story/25605/mini-ca-travis-migration


Traffic Router Exception (1.1.6)

Not sure where this came from...  Couldn't really find the "equivalent" access.log since the time has now changed from DNS [02/Oct/2015:19:28:53.516 +0000] to<PHONE_NUMBER>.357.
ERROR 2015-10-06T00:11:58.703 [pool-9-thread-222] com.comcast.cdn.traffic_control.traffic_router.core.dns.NameServer -
java.lang.NullPointerException
	at com.comcast.cdn.traffic_control.traffic_router.core.dns.NameServer.addAnswers(NameServer.java:80)
	at com.comcast.cdn.traffic_control.traffic_router.core.dns.NameServer.query(NameServer.java:69)
	at com.comcast.cdn.traffic_control.traffic_router.core.dns.protocol.AbstractProtocol.query(AbstractProtocol.java:120)
	at com.comcast.cdn.traffic_control.traffic_router.core.dns.protocol.UDP$UDPPacketHandler.run(UDP.java:105)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
ERROR 2015-10-06T00:11:58.707 [pool-9-thread-222] com.comcast.cdn.traffic_control.traffic_router.core.dns.protocol.UDP -
java.lang.NullPointerException
	at com.comcast.cdn.traffic_control.traffic_router.core.dns.DNSAccessEventBuilder.createQuery(DNSAccessEventBuilder.java:100)
	at com.comcast.cdn.traffic_control.traffic_router.core.dns.DNSAccessEventBuilder.createDnsMessageHeader(DNSAccessEventBuilder.java:51)
	at com.comcast.cdn.traffic_control.traffic_router.core.dns.DNSAccessEventBuilder.createEvent(DNSAccessEventBuilder.java:45)
	at com.comcast.cdn.traffic_control.traffic_router.core.dns.DNSAccessEventBuilder.create(DNSAccessEventBuilder.java:86)
	at com.comcast.cdn.traffic_control.traffic_router.core.dns.protocol.AbstractProtocol.query(AbstractProtocol.java:128)
	at com.comcast.cdn.traffic_control.traffic_router.core.dns.protocol.UDP$UDPPacketHandler.run(UDP.java:105)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

I took a look at the code in commit 780ceb7, which is what TR 1.1.6 was built from, and it appears that in both cases we have an invalid DNS request that appears to be causing the null pointer exception.  We should protect against the NPE, but the good news is that it doesn't appear to be something that would affect a valid query.
Specifically, the first exception is being caused by this:
	private void addAnswers(final Message request, final Message response, final InetAddress clientAddress, final DNSAccessRecord.Builder builder) {
		final Record question = request.getQuestion();
		final int qclass = question.getDClass();

...the last line is line 80, and is being caused because request.getQuestion() is returning null.
The section exception is caused by this:
    private static String createQuery(final Record query) {
        final String qname = query.getName().toString();

...the last line is line 100 from the exception, and is being caused by either query itself being null, or query.getName() returning null.
Also, for what it's worth, we have not seen either of these (or any) exceptions logged in production in the last week.


cholangiocte improvements

Improve representation of cholangiocytes based on:
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3743051/

See also:
https://github.com/obophenotype/uberon/issues/653

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 1 Mar 2015 at 10:05

WARNING: This issue has been automatically closed because it has not been updated in more than 3 years. Please re-open it if you still need this to be addressed – we are now getting some resources to deal with such issues.


Add support json formatting of logs sent to a socket

This PR is dependent on the PR I opened on Quarkus
https://github.com/quarkusio/quarkus/pull/43232
It will allow sending json in ECS format directly to a Logstash TCP input

will need the change in quarkus to be approved, merged and released for this to compile


Conflict with Vanilla and Steel Anvil

Unlike BTW, we can't straight up remove the vanilla anvil and make it the Dead Weight, yet having a conflicting name would get confusing.
@BeetoGuy and I have talked about it and think it would be cool to remove the ability to add enchants with the vanilla anvil while still keeping the ability to repair. Along with this we would remodel and rename it to a Rune Forge.

A config option to remove this and keep the original BTW balance (where repairing is done by smelting in Crucible and recrafting the tool) would be nice.


cant craft primitive machine chassis

with Roughly Enough Items (fabric) i can see that to craft a primitive machine chassis u need 4 tin plates and 4 copper plates in a crafting bench. i put them in in the correct way and nothing appears? was wondering if anyone can help?

update REI, I released a broken version of REI


Live Highlighting: unpredictable when changing selection will "flash" the highlight

Open the Getting Started project and launch Live Preview
Click around rapidly in the HTML or CSS code, while watching the browser window

Result: seemingly randomly, as the Live Highlighting changes, some of the time it will just draw a blue border with no animation and other times it will flash the entire rectangle with a fade-out animation.
It seems like the pattern is: if you change the highlight while the previous one was still animating, the next one won't animate at all.
I'm guessing the intent was to suppress the animation while moving the cursor around rapidly.  But this isn't the behavior: because the second highlight is drawn without animation, the third will be animated, the fourth won't, the fifth will, etc.  So the animation flashes on & off as the cursor is moved instead of just staying off.
But it actually may be even buggier than that: if you click around enough, it seems like you get into states where, even many seconds after the animation is over, clicking to a different item still doesn't animate sometimes.  But that's harder to repro.

This seems to have been fixed by @busykai 's PR #10151. FBNC back to @peterflynn .

@peterflynn Hi. I checked for this issue. It has been fixed.
Can we close this issue?

Closing as this seems to be fixed now.


Enhanced CMS fields

Added a set of enhanced CMS fields, to streamline Pathfinder management
Coming later:

Pathfinder front-end

Thanks @pjayme , I'll add these in my next PR


[WIP] Allow pg 10-14+ in dev, require pg 13 in production

[x] Manually test pg 13 appliance HA
[x] Manually test pg 13 podified
[x] Manually test pg 13 logical replication (locally) (rake development:replication:setup and teardown
[ ] Update tests to use pg 13 image and do cross repo. See https://github.com/ManageIQ/manageiq/blob/1d140d7d3b4ebea9dcee7826fdfdb764b154dcd2/.github/workflows/ci.yaml#L26

To be merged with:

[ ] Update appliance_console to reference repmgr13 new locations and syntax changes: https://github.com/ManageIQ/manageiq-appliance_console/pull/192
[ ] Update to pg 13 in appliances: https://github.com/ManageIQ/manageiq-appliance-build/pull/532
[ ] Build repmgr13 against pg 13 and use it in manageiq-appliance: https://github.com/ManageIQ/manageiq-rpm_build/pull/309
[ ] Update container-postgresql to build image with PG 13 rpms https://github.com/ManageIQ/container-postgresql/pull/41
[ ] Update podified to default to PG image tag 13 https://github.com/ManageIQ/manageiq-pods/pull/893

Follow up work:

[ ] Manually test pg 13 appliance logical replication
[ ] Document out how users upgrade from appliances/podified with pg 10 to pg 13

PG 15 was just released - is it worth verifying?

Once green, this is ready to go. :shipit:

💚 Ready to review


Replace sched_yield with usleep(1) on Linux

to avoid the massive overhead of the sched_yield call on Linux kernels since its semantics were changed in early 2003 (late 2.5 series) to include reordering of the thread queue. Ref. #900,#923

@martin-frbg Do you measure the overhead of sched_yield or usleep(1) ?

Unfortunately I do not have access to any serious HPC system (and I have to agree the two issue threads I refered to are a bit confusing, with attempts to modify the GEMM thresholds intermixed with the changes to YIELDING ). On my lowly dual-core Kaby Lake laptop I do see a significant increase in throughput with the (improved) deig.R benchmark (2k x 2k going from 8000Mflops/28sec to 24000/9sec) though most of that will probably be due to avoiding thermal throttling.
Note also that wernsaar already replaced sched_yield with asm(nop) for a number of AMD cpus in the past while I do not think the underlying issue is in cpu hardware. Should I open a separate issue to discuss ?

@xianyi just start idle CPU hog e.g.:
nice yes > /dev/null &
Then see how much spare time you get running same sample with different YIELDING options.
It demonstrates more CPU to competing users, or less heat for nothing in absence of such...
I don't get significant boost in wall time spent, but system CPU time consumption drops noticeably, somebody with watt-meter could be better positioned to measure.

I'll see if I can retask at least a 4-core Haswell to benchmarking tomorrow.

First results (still with deig.R, on a quadcore Haswell with turboboost disabled to ensure repeatability) show a slight slowdown rather than the 10 percent speedup reported for fenrus75' test case. The change however does allow the cores to drop to "idle" intermittently, where with sched_yield the core allocation was split between userspace and system time - this is probably what helps thermal management and would make the calculation run faster with dynamic overclocking enabled.

for me YIELDING {} gave best result with 0.1um speedup

Interestingly an empty YIELDING is what was used in early versions of libGoto2 up to at least 1.08, while 1.13 had sched_yield.

Some preliminary data (more to come next weekend if time and workload permits). deig.R benchmark
modified for matrix size 10240x10240, four threads on otherwise idle quadcore Haswell 3.4GHz w/o turboboost, YIELDING defined as:
sched_yield 62626.0 MFlops 457.1 sec
usleep(1)    56996.8 MFlops 502.2 sec
nothing       62442.8 MFlops 458.4 sec
8xnop         62759.1 MFlops 456.1 sec
So usleep(1) appears to be significantly slower, the other alternatives are basically on par in terms of speed but as mentioned above sched_yield keeps the cores from going idle. Results for 2 and 8 threads are similar to this (though I only have them for small matrix sizes up to 2048x2048)

you can cat() whole z: z[1] would be user time (that makes flops) and z[2] system time (that generates heat)
2k2k8B=32MB, probably dont try at NUMA...

From sched_yield(2) manual page:
Strategic  calls to sched_yield() can improve performance by giving other threads or processes a chance to run when (heavily) contended resources (e.g., mutexes) have been released by the caller.  Avoid calling sched_yield() unnecessarily or inappropriately
(e.g., when resources needed by other schedulable threads are still held by the caller), since doing so will result in unnecessary context switches, which will degrade system performance.

Yeah we can all read manpages - my problem is when would a call to sched_yield clearly be considered unnecessary, inappropriate and indecent, and why would K.Goto and all who came after him decide this was not the case here ?

PR updated to current favorite just to prevent accidental merging of known bad idea.

Did not get around to much more yet, so no complete picture. Quick comparison of deig.R run with 4 threads and 10240x10240 matrix, i7-4770 with and without turboboost enabled:
sched_yield, fixed freq  62625 MFlops 457 sec   turboboost 64515 MFlops 443 sec
asm(8xnop), fixed freq  62759 MFlops 456 sec   turboboost 65407 MFlops 437 sec

Seems that slack turns up for small samples more without impacting overall time.

Just remember that sched_yield has a significant upside over nop when oversubscribing.  It would be a lot better to allow users to select the more forgiving option if they intend to run in a multi-tenant or desktop environment.

Thanks for that comment - indeed I am still looking for reasons why sched_yield was preferred so far. If I am not mistaken, a default build of OpenBLAS will have a built-in thread limit of two times the number of kernels on x86 at least and so far the behaviour of a "lightly" overloaded system without sched_yield did not appear to be worse. (And I did see a clear improvement in terms of thermal management with my - apparently poorly designed - early Kaby Lake laptop). So perhaps it would be sufficient to provide a choice of implementations for "YIELDING" in Makefile.rule or couple it to the NUM_THREADS value in relation to physical cores detected ? (Lastly there is always the option to limit the number of threads to some managable quantity for the given system at runtime)

Closing this for now as the results so far are a bit inconclusive and I need to get rid of my current fork as doing subsequent PRs from it seems to have led to an unintended revert of #988


$LASTEXITCODE does not get set for native commands in pipelines

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
I am trying to get the exit code of a native command, but the variable $LASTEXITCODE is not set. This happens only, if I pipe the output of the native command to a cmdlet.
The stripped down script, to reproduce this, is:
Set-StrictMode -Version:'3.0'
$local:ErrorActionPreference = 'Stop'

# Using cmd.exe here is only an example. Could be any native command.
$firstLine = cmd.exe /c 'echo hello & echo world & exit 42' | Select-Object -First 1
$firstLine
"The exit code of cmd.exe is ${LASTEXITCODE}"
'end'

I give this script the name temp.ps1.
To run this script, I execute the following line in cmd.exe:
pwsh -NoProfile -File .\temp.ps1

Expected behavior
The expected output is:
hello
the exit code of cmd.exe is 42
end

Actual behavior
The actual output is:
hello
InvalidOperation: C:\Users\User\temp.ps1:7
Line |
   7 |  "The exit code of cmd.exe is ${LASTEXITCODE}"
     |                               ~~~~~~~~~~~~~~~
     | The variable '$LASTEXITCODE' cannot be retrieved because it has not been set.

Error details
Type        : System.Management.Automation.RuntimeException
ErrorRecord :
    Exception             :
        Type    : System.Management.Automation.ParentContainsErrorRecordException
        Message : The variable '$LASTEXITCODE' cannot be retrieved because it has not been set.
        HResult : -2146233087
    TargetObject          : LASTEXITCODE
    CategoryInfo          : InvalidOperation: (LASTEXITCODE:String) [], ParentContainsErrorRecordException
    FullyQualifiedErrorId : VariableIsUndefined
    InvocationInfo        :
        ScriptLineNumber : 7
        OffsetInLine     : 30
        HistoryId        : -1
        ScriptName       : C:\Users\User\temp.ps1
        Line             : "The exit code of cmd.exe is ${LASTEXITCODE}"

        PositionMessage  : At C:\Users\User\temp.ps1:7 char:30
                           + "The exit code of cmd.exe is ${LASTEXITCODE}"
                           +                              ~~~~~~~~~~~~~~~
        PSScriptRoot     : C:\Users\User
        PSCommandPath    : C:\Users\User\temp.ps1
        CommandOrigin    : Internal
    ScriptStackTrace      : at <ScriptBlock>, C:\Users\User\temp.ps1: line 7
                            at <ScriptBlock>, <No file>: line 1
TargetSite  :
    Name          : Invoke
    DeclaringType : System.Management.Automation.Runspaces.PipelineBase, System.Management.Automation, Version=<IP_ADDRESS>0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    MemberType    : Method
    Module        : System.Management.Automation.dll
Message     : The variable '$LASTEXITCODE' cannot be retrieved because it has not been set.
Data        : System.Collections.ListDictionaryInternal
Source      : System.Management.Automation
HResult     : -2146233087
StackTrace  :
   at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
   at Microsoft.PowerShell.Executor.ExecuteCommandHelper(Pipeline tempPipeline, Exception& exceptionThrown, ExecutionOptions options)

Environment data
Name                           Value
----                           -----
PSVersion                      7.3.4
PSEdition                      Core
GitCommitId                    7.3.4
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

and also

Name                           Value
----                           -----
PSVersion                      7.4.0-preview.3
PSEdition                      Core
GitCommitId                    7.4.0-preview.3
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

pwsh -NoProfile -File .\temp.ps1

Exit code of your script has to return $LASTEXITCODE = 1
Inside the script you have to catch the exception:
Set-StrictMode -Version:'3.0'
$local:ErrorActionPreference = 'Stop'

try { bash -c "exit 42" } catch { $LASTEXITCODE }

Hi @237dmitry!
Thanks for the quick answer!
Executing cmd /c exit 42 or bash -c "exit 42" does not throw an error/exception that can be caught by try-catch.
But that is ok, because not for every program an exit code unequal zero signals an error. For some programs an exit code like 7 signals a successfuly run.
PowerShell doesn't terminate, when cmd.exe exits (that's ok), but when accessing the variable $LASTEXITCODE.
You can use Get-Variable to see, if LASTEXITCODE is set:
Set-StrictMode -Version:'3.0'
$local:ErrorActionPreference = 'Stop'

# LASTEXITCODE is not set, because a native command wasn't executed yet
Get-Variable -Name:LASTEXITCODE -ErrorAction:Continue

$firstLine = cmd.exe /c 'echo hello & echo world & exit 42' | Select-Object -First 1
$firstLine

# LASTEXITCODE should be set now, because a native command was executed, but it isn't
Get-Variable -Name:LASTEXITCODE -ErrorAction:Continue

cmd.exe /c 'echo hello & echo world & exit 42'

# LASTEXITCODE is finally set now
Get-Variable -Name:LASTEXITCODE -ErrorAction:Continue

'end'

Executing cmd /c exit 42 or bash -c "exit 42" does not throw an error/exception that can be caught by try-catch.

I found inconsistencies between 7.3 and 7.4.
This should be related to the implementation parameters.

7.3 vs 7.4

New defaults change there. Check the values of your $PSNativeCommandErrorActionPreference, $PSNativeCommandUseErrorActionPreference , $ErrorActionPreference
the docs gives this example
$definedPreference = $PSNativeCommandUseErrorActionPreference
$PSNativeCommandUseErrorActionPreference = $false
robocopy.exe D:\reports\operational "\\reporting\ops" CY2022Q4.md
$robocopyExitCode = $LASTEXITCODE
if ($robocopyExitCode -gt 8) {
    throw "robocopy failed with exit code $robocopyExitCode"
}
$PSNativeCommandUseErrorActionPreference = $definedPreference

Oh, that is interesting. I will try that tomorrow.

Yes, using the parentheses works. Thank you @SeeminglyScience!
I used these two command lines to test:
cmd.exe /c 'echo firstline & timeout /T 3 & echo secondline & echo to file > file.txt & echo to conout > CONOUT$ & echo to stderr 1>&2 & exit 7'  | Select-Object -First:1; $LASTEXITCODE

(cmd.exe /c 'echo firstline & timeout /T 3 & echo secondline & echo to file > file.txt & echo to conout > CONOUT$ & echo to stderr 1>&2 & exit 42')  | Select-Object -First:1; $LASTEXITCODE

But I have to correct you. You said:

Select-Object -First 1 stops upstream commands after they have output one item, so cmd never hits the exit 42 part.

But Select-Object -First 1 (and PowerShell) do not stop upstream commands. PowerShell just doesn't wait for the cmd.exe process to exit. Cmd is still able to write to a file or to the console via CONOUT$ or the standard error stream. (To see what CONOUT$ is, look in the documentation for CreateFileA.)
I guess the difference between having parentheses and not having parentheses is as designed. But you PowerShell guys should know that.
When I think about it, bash and POSIX shells also cannot report the exit code of the first command in a pipeline.
#!/bin/sh
# "false" and "true" are programs defined in POSIX
# note: we only use one "|" character to make a pipeline, and not "||" for logical or.
false | true
echo $? # this should display "0"

But in bash we can use "pipefail".
#!/bin/bash
set -e
set -o pipefail

false | echo hello
echo world # at least "world" should not be displayed

I close this issue, because I see that the label "Issue-Question" was added. I interpret this to mean that the behaviour is as designed.
Thanks again for your help.


yo cg-angular:controller my-controller

I think there should be a cg-angular:controller out of the box.....

"But is there ever a controller without a partial or directive?"
I don't agree with it at all -- in a complex app it is useful to have a BaseController class + several other "common" controllers that are inherited in child controllers. We use these to handle things like managing LocalStorage (LocalStorageController); User (UserController) etc. They don't have partials or directives.


Functions/variables defined outside of RSJob invisible to RSJob

Bug/Enhancement
Current Behavior: User defined functions/variables defined outside of RSJob multi-thread are not visible to to RSJob.
Expected Behavior: User can define functions/variable in the script and be able to use said function as part of the RsJob script block. This allows for a cleaner looking script. Could be a flag for Start-RsJob like -excludeexternalvariables and -excludeexternalfunctions
Using PowerShell 4.0 on Windows 7
`
Function Get-DNSName ($ip){
try{
$DNSName = ([System.Net.Dns]::GetHostbyAddress($ip).HostName)
$DNSName = $DNSName.ToUpper()
$hostName = $DNSName.Replace(".AREA52.AFNOAPPS.USAF.MIL", "")}
catch{$hostName = $null}
Return $hostName }
$ip = Get-Content $PSScriptRoot\hosts.txt
$date = Get-Date -Format ("yyyy-MM-dd")
$outpath = "$PSScriptRoot\FQDN-($date).CSV"
Start-RSJob -Name {"$($_)"} -Throttle 15 -ScriptBlock{
$HostName = Get-DNSName $ip
$outPut | Add-Member -MemberType NoteProperty -Name "IPAddress" -Value $IP
$outPut | Add-Member -MemberType NoteProperty -Name "FQDN"      -Value $HostName

$outPut | Export-Csv -Path $outpath  -Append -NoTypeInformation

}
`
Output presented: The term 'Get-DNSName' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is corre
ct and try again.

Now there is -FunctionsToLoad for functions and standart $using syntax for variables which solve your problem.
anyway, if you want to resolve dns in multithreaded way, you make it wrong:
if you want to speedup resolwing with multithreading there must be something like that:
$ip | start-rsjob -name {"$($_)"} -Throttle 15 -ScriptBlock{ Get-DNSName $_ }  -FunctionsToLoad Get-DNSName
and after all jobs completed you should Get-RSJob | Receive-RSJob and export it to csv
or if you just want to start-and-forget (note the $using: prefix )
start-rsjob -name {"$($_)"} -Throttle 15 -ScriptBlock{
 $using:ip | Foreach-Object{
[PSCustomObject]@{
  IPAddress = $_
 HostName = Get-DNSName $_
} | Export-Csv -Append -Path $using:outpath -NoTypeInformation
 }
 }  -FunctionsToLoad Get-DNSName

note the foreach-object cycle.
your $HostName = Get-DNSName $ip doesn;t work not only because you do not use $using syntax, but you also try to push array to your function which not support it

I apologize. Rookie POSH user here. Was not aware of the $using prefix or the -FunctionsToLoad for using external functions and variables within the script block.
Excuse the terrible script block, was trying to remove simplify to show the situation I was trying to explain. I was previously using $ip | start-rsjob...
Thank you for your assistance/patience!

@aex90832 Did @MVKozlov 's answer satisfy your question? If so, I will go ahead and close this issue out, otherwise feel free to let us know if you have more questions with regard to this issue.

@proxb  this is +1 for -ValiablesToLoad ;-)
and may be for -Import(Valiable/Function/Module/Snapin) aliases

All is good for me! Thank you!


Set up interface between Uproot and Awkward so that Awkward can be used to optimize object-reading.

Corresponds to scikit-hep/uproot4#96.

Many of these commits, starting with "Differences in parameters are checked at the 'mergeable' level..", are actually from PR #449, which I merged into this for testing. It all goes to the same master branch, anyway.


How to add Interaction UI for AR Scene ?

Hi All,
Is there any tutorial on implementing Interaction UI with AR ?

Hi @mkharibalaji, you can look at this AR Sample that demonstrates a full cross platform AR app made in Viro React. The app mixes  React components for UI purposes with AR interactions:
https://github.com/viromedia/ViroARSampleApp
Hopefully that helps!


Add missing files to CMakeLists

This fixes the cmake build.
Test: Run cmake build.

Thanks Florian!


Add notice about the v2 SSO's beta status

I don't consider it very wise to direct people reading the docs, many of who may be working on their first EVE app, to use a version of the SSO which is in beta and still has several major issues.
I'm suggesting the addition of this notice which informs readers of this fact, and offers the old documentation as an alternative resource. Please discuss.

I talked to CCP Ghostrider and he says the v2 routes are not considered in Beta anymore. However, he did mention there are some fixes coming beginning of next week. What is it particularly about the v2 routes that is tripping people up?

@ccp-zoetrope Any follow-up on this?
It's cool that SSOv2 isn't considered in Beta anymore, but surely it isn't working as intended, right?
The issues stated above, and the fact that Auth-only apps do not function at all (https://github.com/ccpgames/sso-issues/issues/40), seems to me that some serious bugfixing needs to be done before SSOv2 is ready for use.

@Ionaru I understand now that the bugs still present in v2 SSO do warrant a warning of some sort. However I have removed the "beta" wording. All the issues presented in this pull request are also actively being worked on CCP Ghostrider and will be fixed in upcoming releases. Until then, I am good with having a warning though.


Remove empty while loop

This empty loop was causing me some problems on checkout. Now it works fine.

@RoverWire We do need that loop as it moves the order through the checkout steps as far as it can

It causes me problems on checkout, when Y dropped, all works fine.

Can you please describe what problems it causes? Your PR breaks the specs because the loop provides functionality we are expecting

@RoverWire trying to think of how this might break things for you.  Is it possible that your state machine allows you to transition to confirm via next, and this code makes the order go too far?

In fact yes, it breaks with problem related with state machine and does not allows to continue with checkout, when I remove it, all works fine.

@RoverWire can you give more details on what exactly is happening?  You said:

it breaks with problem related with state machine and does not allows to continue with checkout

How exactly does it break?  Do you have any error messages or stack traces you can paste in here?  Does the end user see any error messages?

@RoverWire what are the states of your state machine?  What is your output for Spree::Order.checkout_steps?
The default for Solidus is this:
>> pp Spree::Order.checkout_steps
{:address=>{},
 :delivery=>{},
 :payment=>
  {:if=>
    #<Proc:0x007ff890216e80@/Users/jordan/repos/solidus/core/app/models/spree/order.rb:25 (lambda)>},
 :confirm=>{}}

On the project, we are using:
  checkout_flow do
    go_to_state :address
    go_to_state :delivery
    go_to_state :payment
    go_to_state :complete
  end

And the error displayed when I use the gem as it:

removing the loop solves the problem on my case.

@RoverWire any chance you'd be able to add a failing spec to this PR?

@jordan-brough I will close this PR since I realize that the original problem is the project's state machine. Thanks for your help.


MAINT: Tweak versions for doc builds [circle front]

@larsoner since you're already PRing into 0.20, I never did backport #7804...  would it make sense to cherry-pick 683613a into this PR?

Good idea, done


[beta] Typo in the instructions of challenge, Data Visualization with D3: Set a Domain and a Range on a Scale

Typo in the instructions of the challenge, Data Visualization with D3: Set a Domain and a Range on a Scale
"Say a data set has values ranging from 50 to 480. This in the input information for a scale, and is also known as the domain."
change to
"Say a data set has values ranging from 50 to 480. This is the input information for a scale, and is also known as the domain."

Fine by me, first-timers only. You can follow the Contributing Guide to submit a pull request once you've made the fix locally.

first timer here, is this up for grabs?

Its already been done @htalat

@tommygebru Can this issue be closed if it is already done then?

hey @tesla809 I would if i could but i dont think the process is 100% complete, otherwise it would be closed

@tommygebru Ok, sweet. Is there a way I can help? I am looking for my first pull request and commit on an open source project. Know of any?

@tesla809 there are a bunch of OS projects and Quincy posts a link to this often, but here is one that looks good http://up-for-grabs.net/#/
But if you review some challenges on Freecodecamp on the live or beta version you may find a typo or some inconsistency and you can help point that out and fix as well 👍

I can do it.  I will make a pull request shortly.

@CodingPower472 please read the comment history, I have made a PR for this issue :+1:

@tommygebru Oh.

Closing as fixed by https://github.com/freeCodeCamp/freeCodeCamp/pull/15408.


Fix shifting status bar on mobile

Should fix #124.
Please give it a test and let me know if it's working for you. My phone and computer emulated version share the same navbar height so I can't confirm.
For me it is still working though.

I also added extra debugging since I'm still finding getting the metadata mTime at the end of sync to still be slow.

Merged, will test!


ProgressRing code sample does not work

Which version of the app?
WinUI 3 Gallery
Description
The simplest sample provided in WinUIGallery/ControlPages/ProgressRingPage.xaml does not work and will break the app. But using the x:Bind on IsActive property is working well. It's maybe a bug of the SDK. I've no idea about that.
Screenshots

Windows version
Windows 11 21H2 (22000)
Additional context
The app breaks so suddenly that cannot see the error detail in the Diagnostic window.

@NagiaME are you still able to reproduce this issue? Unfortunately (or luckily) this does not crash the app for me.

Is this still an issue with the latest version?


[plot3d] Add silx.gui.plot3d package

This PR imports plot3d project as silx.gui.plot3d.
It provides a ScalarFieldView widget based on a Plot3DWindow main window (which central widget is  a Plot3DWidget). This widgets allows to display isosurfaces and a cutting plane on a 3D volume of scalars. The bounding box of the volume has some ticks and labels.
It also provides a Tree widget: SFViewParamTree which allows to control the display of isos
It is based on OpenGL2.1 (and extensions that are core in OpenGL 3).
So it adds a dependency to PyOpenGL (and an OpenGL driver...).
Internal packages are organised this way:

glutils: Loads PyOpenGL and provide classes to handle OpenGL resources
scene: Provides a hierarchical scene structure handling rendering and interaction. It includes its own event system (for rendering dirty flags for now), transformation matrix classes with caching, and a node structure to organise the OpenGL rendering.
utils: Miscellaneous: tick axes layout and video saving in MNG format encoding
Those packages are not directly exposed from the widget level API, and the internal API are most probably subject to change with future developments.

The widgets level API (ScalarFieldView) should hopefully be relatively stable.
For the cutting plane, the silx.gui.plot3d provides a colormap class... This class should be the same as for the plot (see #146), so it should be adapted.
Finally, compared to silx standard, it currently has barely no tests.
TODOs:

For this PR:

[x] Documentation
[x] Sample code
[x] Manual tests: on Mac, Windows, python 3, PySide, PyQt5

What I would like to leave for other PRs:

True test suite
Continuous integration

Added some documentation and sample code.
By the way, I forgot credits and thanks to @dnaudet for his contribution to this package and his feedbacks!

A few updates:

ScalarFieldView added to dataviewer thanks to @vallsv
Added methods resetZoom + clearIsosurfaces to ScalarFieldView
Fix video save in MNG

No issue with code or user API for me. Just one remark which might be important (that we saw with @vallsv) :
It's looks like the PlaneOrientationItem is not taking into account the name of the axes setted by the user
in PlaneOrientationItem you have :
"
    _PLANE_ACTIONS = (
        ('3d-plane-normal-x', 'YZ-Plane',
         'Set plane perpendicular to X axis', (1., 0., 0.)),
        ('3d-plane-normal-y', 'XZ-Plane',
         'Set plane perpendicular to Y axis', (0., 1., 0.)),
        ('3d-plane-normal-z', 'XY-Plane',
         'Set plane perpendicular to Z axis', (0., 0., 1.)),
    )
"

And in the example (examples/viewer3DVolume) if you set different axis names like: "window.setAxesLabels('Y', 'X', 'Z')" you can end up with some misleading information.

Some cosmetic optimisation which would be nice from my point of view but no urgency:

update camera view position icon : it would be nice to get something more "main stream" with an eye or a camera and the field of view
viewer3d example (also from @vallsv ) :

adding and deleting an isosurface (+ - buttons) would be better slightly move to the right (under level and color items) from @vallsv
double click on the isosurface level :
+ reset it to 0
+ launch probably a subroutine and don't wait for validation
+ don't reset the QSlider value of the iso level
transparency : It would be nice to an information about the setted value (and min and max)

To end some more general question about the structure :
- Isosurface might be in an independent file ?
- would  it be interesting to create a geometry module (under plot3d) (including for example transform, scane.utils, primitives...)
- some functions might also be needed somewhere else (like angleBetweenVectors, segmentPlaneIntersect, Plane ...) and generate an higher module (under silx )

Plane names and parameter tree remarks were addressed.
Manually tested, it worked on:

Debian (7 and 8) with python2.7/PyQt4 and PySide and python3.4/PyQt4, PyQt5.
Windows with python2.7/PyQt4.8 and python3.5/PyQt5.6

There is some issues on Mac OS X python3.5/PyQt5.7.
Not tested (yet) on Mac OS X python2.7/PyQt4.
I can fix Mac OS X support in another PR if you like.

Fixed MacOSX issue
Added support for Qt5 high resolution display

Nice feature.


Create a profile view page

your projects and  membership info: hours, skills, roles, active
make profile display names in project views links to their profile page


[consensus] integrate onchain_config

Motivation
Bridge the move resource with corresponding on-chain config Rust struct, so it can be used in consensus.
This PR adds the DiemConsensusConfig::initialize in genesis and add the config id in REGISTRY, so existing chain has to initialize the config before deploying this change otherwise the code would panic with failing to access the on chain config.
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
Added test.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/diem/diem/tree/main/developers.diem.com, and link to your PR here.)
If targeting a release branch, please fill the below out as well

Justification and breaking nature (who does it affect? validators, full nodes, tooling, operators, AOS, etc.)
Comprehensive test results that demonstrate the fix working and not breaking existing workflows.
Why we must have it for V1 launch.
What workarounds and alternative we have if we do not push the PR.

/land


Left eye is recorded even if Right Eye is selected

I attempted to record from the right eye in DCS, since that is where most of the HMD's are displayed by default.  Sure enough, no matter whether "Right Eye" is checked in the plugin properties, the render is always from the left eye.
Unless that's what you meant by "left eye mirror", but it's confusing having the "right eye" option in the properties :)

Yeah this bit just wasn't finished yet. Should be fixed in v0.2.3 release. Let me know if that is working.

I tried out 0.2.3 and it seems to select the right eye fine!


🎁: Heat trace - Garden - Bold heading

Expected outcome
Garden headings needs to be bold
Today:

Should be:

Business Value / Developer Experience
More uniformly ui
Acceptance Criteria
Bold heading

please do verify that this is uniform cross the other apps.


when we click on address bar, text is selected on all other opened instances

when we click on address bar, text is selected on all other opened instances of browser.
STR:

open browser and open a new window
click address bar of any of the windows
the text on the address bar of other window is selected

This should be sorted as part of #593

This issue was fixed by #751

QA verified


Output value disappearing when output gets too large on polygon trade ui

Describe the bug
A bit hard for me to explain this in words, video below.  the output value disappears under certain conditions, perhaps when it has to route through multiple pools?  (Can't see routing prior to trading anymore)
This does not happen if you manually type the output.
To Reproduce
Steps to reproduce the behavior:

Go to polygon trade interface
input: matic output: usdc
type in 2000 matic as input, the trade will route properly.  input 20000, the trade will route correctly for a brief moment, then the output will disappear

Screenshots
video:
https://user-images.githubusercontent.com/90106964/165843233-a116d28d-cda1-48f1-9b5d-10c3dff3f34f.mov
with input as 2000

with input as 20000

Expected behavior
The output value should not disappear.

Fixed in 1819


973 hide allday text

Description

Adds the ability to hide the "hours" for all day events which just shows "All Day"
Related issues

closes #973
Motivation and Context

Requested feature
How has this been tested

Tested in my lab
Types of changes

[x] Docs change / refactoring.
[x] Non-breaking change (fix or feature that wouldn't cause existing functionality to change/break).
[ ] Breaking change (fix or feature that would cause existing functionality to change/break).

Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes don't generate new warnings.
[x] I have read the CONTRIBUTING document.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests pass.

Hi @marksie1988 , I've just updated to 7.5, rebooted HA and added "showAllDayHours: false" to my card but the "All Day" text is still showing.


Support regex patterns for the exclude_suffix in s3 scan

Is your feature request related to a problem? Please describe.
As a user of the s3 source with scan, I would like to be able to exclude objects from processing based on a regex pattern instead of a static string. This would allow me to filter out all objects from folders like
exclude_suffix:
  - "folder-name/.*"

Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Perhaps we can do this with an Ant-style/glob pattern.


Add APV support; Fog is lit by GI

Fog is now lit by GI using Adaptive Probe Volumes, like HDRP fog. requires unity 2023.1 or newer

Thank you so much for this! I was not looking forward to digging through a crap-ton of SRP include files to find the GI sampling stuff, so I appreciate your help. Since I didn't see this pull request earlier and I changed the project structure a lot some commits ago, I just stuck in the relevant shader stuff by hand in commit 0fbd90b.  Again, much appreciated!


add pandas data frame ingestion support in tecton operators

@saguziel regarding python package version, until airflow fixes its problem, we should pin pydantic version. o.w. our client will need to do that.

@saguziel regarding python package version, until airflow fixes its problem, we should pin pydantic version. o.w. our client will need to do that.

removed the version since airflow fixed it.


How to control the number of newly (excluding the original input) generated tokens？

max_new_tokens should represent the number of newly generated tokens (excluding the original input), is this a bug?

The input prompt does not count as the generated token


0.1.92 crashes after install and causes Kodi to boot in safe mode

Current Behavior
After installation Kodi crashes, tries to start a number of times and eventually starts in safe mode.
Steps to Reproduce (for bugs)
Install 0.1.92 from zip of from the add-on repo.
Context
It works with version 0.1.91, but fails with 0.1.92. I've removed and reinstalled both from zip and from the add-on repo, both with the same effect. Installing 0.1.91 again fixes the issue.
For those looking for a quick solution: I've removed the plugin in safe mode over ssh by executing rm -rf /storage/.kodi.FAILED/addons/plugin.video.elementum/; reboot.
Your Environment

Version used:
0.1.92
Environment name and version:
LibreElec 11.0.1 on RPi 4

Log
2023-07-10 21:10:05.184 T:1496  warning <general>: [plugin.video.elementum] elementumd: starting elementumd
2023-07-10 21:10:05.185 T:1495  warning <general>: [plugin.video.elementum] elementum: starting jsonrpc service
2023-07-10 21:10:05.185 T:1484     info <general>: JSONRPC Server: New connection added
2023-07-10 21:10:05.185 T:1496  warning <general>: [plugin.video.elementum] Kodi's JSON-RPC service is available, starting up...
2023-07-10 21:10:05.186 T:1484     info <general>: JSONRPC Server: Disconnection detected
2023-07-10 21:10:05.189 T:1496  warning <general>: [plugin.video.elementum] Binary detection. Version: v0.1.92, Source: /storage/.kodi/addons/plugin.video.elementum/resources/bin/linux_armv7/elementum, Destination: /storage/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum
2023-07-10 21:10:05.190 T:1496  warning <general>: [plugin.video.elementum] Deleting stale files set()
2023-07-10 21:10:05.190 T:1496  warning <general>: [plugin.video.elementum] Binary detection: [ Source: /storage/.kodi/addons/plugin.video.elementum/resources/bin/linux_armv7/elementum, Destination: /storage/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum ]
2023-07-10 21:10:05.190 T:1496  warning <general>: [plugin.video.elementum] Binary dir: /storage/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7, item: /storage/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum
2023-07-10 21:10:05.198 T:1496  warning <general>: [plugin.video.elementum] elementumd: start args: ['/storage/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum', '-remotePort=65221', '-localPort=65220'], kw: {'stdout': -1, 'stderr': -2, 'cwd': '/storage/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7', 'env': {'HISTFILESIZE': '200', 'HOSTNAME': 'woonkamer', 'SHLVL': '1', 'LD_LIBRARY_PATH': '/storage/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7:/usr/lib:/storage/.kodi/addons/script.module.certifi/lib:/storage/.kodi/addons/script.module.chardet/lib:/storage/.kodi/addons/script.module.future/lib:/storage/.kodi/addons/script.module.idna/lib:/storage/.kodi/addons/script.module.inputstreamhelper/lib:/storage/.kodi/addons/script.module.requests/lib:/storage/.kodi/addons/script.module.urllib3/lib:/storage/.kodi/addons/script.openweathermap.maps/lib:/usr/lib/pulseaudio', 'HOME': '/storage', 'PS1': '\\[\\e[1;32m\\]\\h\\[\\e[1;32m\\]:\\[\\e[1;34m\\]\\w \\[\\e[0m\\]\\$ ', 'SYSTEMD_EXEC_PID': '1455', 'KODI_HOME': '/usr/share/kodi/', 'JOURNAL_STREAM': '7:24393', 'MALLOC_MMAP_THRESHOLD_': '8192', 'TERM': 'linux', 'KODI_ARGS': '', 'PATH': '/usr/bin:/usr/sbin', 'INVOCATION_ID': 'f7e404d5ecd942ce94afb9eadff2bc7a', 'KODI_AE_SINK': 'ALSA+PULSE', 'LOCPATH': '/storage/.cache/locpath', 'LANG': 'C.UTF-8', 'SYSTEMD_COLORS': '0', 'KODI_TEMP': '/storage/.kodi/temp', 'PWD': '/', 'EDITOR': 'nano', 'KODI_BIN_HOME': '/usr/lib/kodi', 'OS': 'Linux', 'TZ': ':Europe/Amsterdam', 'LIRC_SOCKET_PATH': '/var/run/lirc/lircd', 'PYTHONOPTIMIZE': '1'}, 'close_fds': True}
2023-07-10 21:10:05.198 T:1496  warning <general>: [plugin.video.elementum] elementumd: Forcing library startup
2023-07-10 21:10:05.199 T:1496  warning <general>: [plugin.video.elementum] elementumd: loading shared library from /storage/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum.so

I can retrace my steps and provide a more detailed log if needed.

@martijk Strange that RPI4 could not run library for armv7.
Interesting to know what causes it, but probably you won't be able to get details easily.
New build of 0.1.92 is now prepared, try to re-download it.

Using 0.1.92 since the update 4 hours ago (happened between episodes lol), took 3 seconds, the firewall needed approval, accepted, and I was able to continue watching as if nothing happen.
*Did notice something new: From the Task Manager, Elementum no longer exists as a service, only Kodi.exe ...Is it normal now?
PC Win 7/10 x64

I experience the same issue on LibreElec running on Odroid N2+

@SubEdict That is because it forced to start as a shared library, not as a separate binary. Re-download and re-install 0.1.92 and it will work as previously. Usually you won't notice any difference.

I feel that it is an issue with a shared library and Rpi4, much alike this one - https://github.com/golang/go/issues/58548
So it probably needs some changes in compilation process to run properly on Rpi4.
But to do that - Rpi4 is required and trying to resolve it playing with libtorrent-go docker image.
Closing this one, as there is nothing I, personally, can do.
If someone wants to try a fix on his own - I can reopen this issue and help with instructions on how to re-create docker images.

I've not tested it yet, hence no reaction from my side, but looking at the changes I'm fully convinced that it will not crash anymore. Thanks!


Installer: Break up privileged and services install

Changes the installer to run in 2 stages. The native installer runs for privileged tasks. Then we run keybase -d install from Electron.

@chromakode @cjb
cc @keybase/react-hackers

This works around the NSTask installer hang. Also good to break up the install tasks this way.

Admittedly I don't have the greatest familarity with this code. These changes appear to (to check my own comprehension):

Check the system mount index for our fuse mount rather than using the keybase binary.
Not install the service, kbfs, and updater using the helper (these get installed by the keybase install command, which installs any which are missing).
Make the electron app call keybase install on startup.

:+1:

I agree with this as the best way to do it, but I don't want to merge it in and just mask the hang.  I'm worried the hang will hit us again and we should root cause it.  I don't think we know of any reason why the way we're doing it now should cause any hang.  So let's make this change independent from the hang fix, if possible (and merge it after the hang's fixed).  Thanks!


Simplified fillMatrix(color) and Fixed #16.

fillMatrix(color) can just draw 1 secondary color square that includes the whole canvas area. The little primary color squares are then just drawn on it. No need to draw n^2 little squares.

fixed #16 by rounding off the position values and rounding up the height and width values.
Now, the code works fine if the canvas size and the number of blocks per edge are NOT divisible without remainder:
Example:
canvas height and width: 541
blocks per edge: 7

Just recognized: My solution almost solves #16 (no more lines / unwanted spaces between 2 adjacent boxes)

but it's still not perfect as it does not work diagonally.

So I'll close this pull request.
I think, commit 63760ac is a good idea.
But commit 0f8d73f doesn't fix #16 completely.
I think, I know how to fix it regardless (if you give me a few days)..

We don't want to remove spaces as primary application was to generate random patterns so spaces are fine.

Are you sure?
Given this code:
new minBlock({
      canvasID: "myCanvas",
      blocksPerEdge: 5,
      padding: 0,
      color: {
        primary: "#002277",
        secondary: "#22FF66"
      }
    });

If someone chooses the canvas size 500, it looks like this (no lines/spaces):

zoomed in:

Now that person chooses the canvas size 541 and there are spaces between the boxes (although that person did not set spacing: 1 px or something similar:

zoomed in:

This project tries to make GitHub similar pixel avatars.
But those GitHub-avators don't have such spaces between boxes:

So for me, this looks like unexpected behavior / a bug.
If someone wants spaces between the boxes he/she can explicitly define them:
new minBlock({
      canvasID: "myCanvas",
      spacing: 1 // <--------- here
    });

So I just want to fill these 1 pixel-lines like this:

ah i get it , you are good to go

Please create a PR if you want and thanks a lot.


translation issues

@saeedmb8 :cake: from me.
Just a question, why are we removing some already existing translation e.g.
gem/templates/comments/comment_block and gem/templates/wagtailadmin/pages/listing/_page_title_explore

@Mitso I shouldn't have remove the comment_block one thanks for noticing that 🍰 but we don't need to translate the admin texts, we only translate the words that users see and those have been added to pootle accidentally.


No module named prettytable

I downloaded the SimCSE folder and tried training a supervised roBERTa model in Python. I was able to perform all the steps up to running the evaluation.py file without error. However, when I tried running the evaluation.py file, I was told I needed a module named prettytable b/c evaluation.py uses it on line 6. I installed pretty table by executing "pip install prettytable" , but running evaluation.py again still returned the same message. What's going on? Do I need to install a specific version?

*I downloaded the SimCSE folder in this post by clicking "Download zip" under "Code"

Hi,
Can you post the exact error message here? Thanks!

Traceback (most recent call last):
File "/Users/davidsun/Downloads/SimCSE/evaluation.py", line 6, in
import prettytable
ImportError: No module named prettytable

Traceback (most recent call last):
File "/Users/davidsun/Downloads/SimCSE/evaluation.py", line 6, in
from prettytable import PrettyTable
ImportError: No module named prettytable

Hi,
This should be able to address by pip install prettytable.

I no longer need help w/ this issue


Fixed mismatch between serialization with Avro and Deserialization wi…

This fix is for issue "
SecorSchemaRegisteryClient serialization/deserialization Error [SerializationException: Unknown magic byte error!] #950"

Change looks fine, waiting for the build to pass.


Eventual send transform (placeholder)

Q
A

Fixed Issues?
Fixes #1, Fixes #2

Patch: Bug Fix?

Major: Breaking Change?

Minor: New Feature?

Tests Added + Pass?
Yes

Documentation PR Link

Any Dependency Changes?

License
MIT

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@83d365a). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #3   +/-   ##
=========================================
  Coverage          ?   91.65%
=========================================
  Files             ?      437
  Lines             ?    27607
  Branches          ?     8307
=========================================
  Hits              ?    25303
  Misses            ?     2274
  Partials          ?       30

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 83d365a...4f0eda4. Read the comment docs.


Circos & JBrowse, Visualisation Topic

We (the @shiltemann / @hexylena dream team) have written a tutorial on using our Circos tool covering three diverse examples:

A cancer genomics example with real data and lots of good biological explanation
A non-genomics data plotting the mentions of other candidates during a debate
A minimal reproduction of a NATURE cover

To round out the visualisation topic we've also added: A quick tutorial on using different track types in JBrowse. This doesn't follow any biological example due to a lack of a good one. So instead we go a bit more in depth with how best to configure a couple common track types.

@abretaud could you look over the JBrowse portion? Does it look OK?

thanks for also looking at the Circos tutorial and slides @abretaud!

Yeah, appreciate it! JBrowse half now fixed too. :)

@abretaud does that look ok now?
@bgruening would you have a couple minutes to review and merge if you like? We're so close to done :)

Omg. Of course! :heart:  Give me an hour or so!

It's impressive that the accessibility of Galaxy enables everyone to reproduce Nature covers.

Very cool.   Is this using JB 1 circos or JB2?
Also, is this visible somewhere that I can show others?    Thanks.

@bedroesb it's an outdated workflow, and tools.yml shouldn't be there, we'll fix that. Thanks!
@nathandunn it's using JB1 since JB2 doesn't seem to be public yet? Whenever they make JB2 public we can start testing, but not until then.
You can find it here now :) there was a temporary build error
https://training.galaxyproject.org/training-material/topics/visualisation/

@hexylena  I am impressed!
JB2 is public https://github.com/GMOD/jbrowse-components/  but still very much in alpha, so maybe early to redo a training, but not too early to play around with it.  I kind of put together some doc in a PR (https://github.com/GMOD/jbrowse-components/pull/774/files?short_path=b6525ef#diff-b6525ef7f3fea2ebec7234653f972b6d) if that helps.
Tagging @cmdcolin @rbuels @garrettjstevens if they have any comments.

Ah between seeing an "early access program" mentioned and looking for a
repo named jbrowse2, I didn't notice that. my mistake :)
fre. 10. jan. 2020, 22:37 skrev Nathan Dunn<EMAIL_ADDRESS>
@hexylena https://github.com/hexylena I am impressed!
JB2 is public https://github.com/GMOD/jbrowse-components/ but still very
much in alpha, so maybe early to redo a training, but not too early to play
around with it. I kind of put together some doc in a PR (
https://github.com/GMOD/jbrowse-components/pull/774/files?short_path=b6525ef#diff-b6525ef7f3fea2ebec7234653f972b6d)
if that helps.
Tagging @cmdcolin https://github.com/cmdcolin @rbuels
https://github.com/rbuels @garrettjstevens
https://github.com/garrettjstevens if they have any comments.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/galaxyproject/training-material/pull/1548?email_source=notifications&email_token=AADP7O7UPIK3TKLHBI75B7DQ5DTBBA5CNFSM4IQAXHOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIVJDPY#issuecomment-573215167,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADP7OZBG27QE2KSXQZARILQ5DTBBANCNFSM4IQAXHOA
.


Wslay and OpenSSL

Hi,
I have server that works with unsecured WebSocket using Wslay. I wanted modify this server to use secured variant of WebSocket. I try to use OpenSSL for this purpose. I'm able to do  HTTP handshake with Google Chrome, but I'm not able to do almost any further communication with web browser (I'm able to receive messages from web browser) ... It is strange: until first message from web client is received, then non existing write events are detected on socket. After message is received, my WebSocket server tries to echo this message back to web browser, then no more write event is detected at socket. Simplified code with main loop can be found at Gist:
https://gist.github.com/jirihnidek/5996105
Does anybody have any experience with Wslay and OpenSSL? Does anybody know, where can be  bug  (my code or Wslay)?

Hi,
I'm sorry but I come a bit late into the party but I'm also trying to understand how do we mix OpenSSL with wslay especially since a call to SSL_write can request some read condition (because it may ask to read data). So even if you want to write you may need to poll until the socket is available for reading.
However in the aria2 code it looks like there are no distinction between the condition, in the sendCallback call we check if SSL requires either read or write conditions and mark the wslay context as would block. Then, the WebSocketSession::wantRead may return true while SSL may need a write condition in that place.
Or maybe I miss something?


Fixes to allow SCM model to run

Description

This PR has fixes for letting the SCM run with MAPL develop
Related Issue

Closes #2601
Motivation and Context

Let's the SCM run!
How Has This Been Tested?

Will test with SCM and GEOSgcm before undrafting
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)

Checklist:

[ ] I have tested this change with a run of GEOSgcm (if non-trivial)
[x] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[x] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

Confirm that SCM and GEOSgcm both happy with this (as far as I can test).


Is there a way to know if the server has been established when the client connects?

In my project, the server and client are in different projects, and I don't know who will start running first.
So once the server is not established and the client starts to connect to the server, the client connection will hang, which will affect my other tasks.
So, I want to know if there is any way to know if the server is not set up or the client has timed out to give up the connection.
I used the request and response, publish and sucscribe.
Thank you

You can use monitor events for this, though it's generally considered the case that you shouldn't be checking for whether peers are up with zmq. Rather, to avoid the hang that's the more direct concern, use POLLOUT on the socket you are sending to tell whether a send right now will block. You can use async/eventloops/polling to avoid blocking other actions while waiting for a socket to be ready to send.


Can I specify the extension version when installing PHP?

Just like:
phpbrew install -j $(nproc) 7.4.19 +ssh2 1.3.1

I think you can install the PHP with default extension and use the extension installer to install the specific extension.
The more details about the extension installer is available here.


Server thread should set abort_on_exception

Current if an exception happens while trying to start the server thread (for example the appropriate gem is not found), the user doesn't get any feedback other than "server failed to start".
I think the thread should set Thread.current.abort_on_exception = true so the user is immediately notified about such errors. Alternative, the inside of the thread could be wrapped in a begin ... rescue ... end that captures any error and prints out out with the "server failed to start" message.

http://ruby-doc.org/core-1.9.3/Thread.html#method-i-abort_on_exception-3D
I'm wondering if a failed server thread is bad enough that you'd always want to kill the main thread. Maybe it is.
We could also test for #alive?.
diff --git a/lib/capybara/server.rb b/lib/capybara/server.rb
index d1b4dfd..d463abc 100644
--- a/lib/capybara/server.rb
+++ b/lib/capybara/server.rb
@@ -60,15 +60,21 @@ module Capybara
           @port = Capybara.server_port || find_available_port
<EMAIL_ADDRESS>= @port

-          Thread.new do
+          server_thread = Thread.new do
+            # By default this goes to Capybara.run_default_server
             Capybara.server.call(Identify.new(@app), @port)
           end

-          Timeout.timeout(60) { sleep(0.1) until responsive? }
+          Timeout.timeout(60) do
+            until responsive?
+              sleep(0.1)
+              raise "Server thread died unexpectedly" unless server_thread.alive?
+            end
+          end
         end
       end
     rescue TimeoutError
-      raise "Rack application timed out during boot"
+      raise TimeoutError, "Rack application timed out during boot"
     else
       self
     end

But I'd actually like to see a minimal example of a failing server so we can test this. I seem to recall that it's pretty hard to get the Identify server to die in the Timeout.timeout(60) part of the code, so perhaps this diff is not solving the problem at all.
Maybe we need to catch exceptions and print something helpful in the Thread.new block instead.
Let's keep this issue around until we have a failing test case for it.

In my case the error happened because I have a dependency in my Gemfile that depended on Thin. I upgraded that dependency, and it no longer depended on Thin. I also happened to not have Thin in my Gemfile independently. This means that the require in my Capybara.server block failed, but the only feedback I got was that the server failed to start, which made it quite hard to track down.

Interesting. Normally Capybara should fall back to Webrick if Thin isn't available, but perhaps something funny was going on.
Anyways, it sounds perfectly reasonable to have some helpful output. Perhaps a catch-all rescue in the Thread.new block and printing the exception to stdout might do the trick already.

Yeah - the reason it didn't fallback is because I had my own Capybara.server definition.

Related: #660

Thread.abort_on_exception is not thread safe and shouldn't be used.

See #661

Closing this then, cheers.


owl-lisp: 0.1.16 -> 0.1.19

Motivation for this change
Regular update - new upstream as well.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@GrahamcOfBorg build owl-lisp

@GrahamcOfBorg build owl-lisp


.centerx doesn't work

Hi,
When I'm trying to use the .centerx class on my elements, it doesn't work. (css properties align center, flex, etc... aren't loaded)
Package.json
"vuesax": "^3.5.0"

Main.js
...
import Vuesax from 'vuesax'
import 'vuesax/dist/vuesax.css'
Vue.use(Vuesax)
...

Details :
Browser : Chrome 60.0.4
OS : MacOS High Sierra
Node > 8
Any tip ?
Thanks !

.centerx is a classe that is only in the documents is not found as such in the framework, to center the elements you can use the vuesax grid
https://lusaxweb.github.io/vuesax/layout/#flex-layout


Did some light copy editing of the introductory text and added a list of FP libraries

I really wasn't sure what you wanted for lodash, but it seems most sensible to me to just link the main lodash repo rather than the lodash/fp plugin specifically.

Yes. The documentation for -fp isn't as good


[Bug] Snapshots and incremental models cannot add array columns

Is this a new bug?

[X] I believe this is a new bug
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Adding an array-type column to an existing snapshot or incremental model will result in the following syntax error.
alter table "postgres"."dbt_teddy_snapshots"."test_model_snapshot" add column "some_array" ARRAY;
Postgres adapter: Postgres error: syntax error at or near "ARRAY"
Example
# example_model.sql (before)
select
  1::numeric as col_a,
  2::int as col_b,
  'some_text' as col_c

# example_model.sql (after)
select
  1::numeric as col_a,
  2::int as col_b,
  'some_text' as col_c
  null::text[] as some_array

Expected Behavior
Alter table command should look like something like the following:
alter table "postgres"."dbt_snapshots"."example_model_snapshot" add column "some_array" text[];
Steps To Reproduce

Build above example_model with a downstream snapshot and incremental model
Add an array column to example_model
Build example_model and the downstream incremental models and snapshots

Relevant log output
14:41:28.002733 [debug] [Thread-1 (]: SQL status: SELECT 8 in 0.003 seconds
14:41:28.005418 [debug] [Thread-1 (]: Using postgres connection "snapshot.thymecare.test_model_snapshot"
14:41:28.005658 [debug] [Thread-1 (]: On snapshot.thymecare.test_model_snapshot: /* {"app": "dbt", "dbt_version": "1.8.6", "profile_name": "postgres", "target_name": "local", "node_id": "snapshot.thymecare.test_model_snapshot"} */

      alter table "postgres"."dbt_snapshots"."test_model_snapshot" add column "some_array" ARRAY;

14:41:28.009511 [debug] [Thread-1 (]: Postgres adapter: Postgres error: syntax error at or near "ARRAY"
LINE 3: ...pshots"."test_model_snapshot" add column "some_array" ARRAY;

Environment
- OS: Sequoia 15.0.1
- Python: 3.11.4
- dbt-postgres: 1.8.2

Additional Context
No response

bump on this


Implementation in albumentations API

Thanks for the interesting work!
It would be quite beneficial if these methods can be provided as a ready to use class that follows albumentation API which is probably the most used augmentation library. A pip package would also increase the adoption.
Is there anything in your method that is specific to image clasification? Can it be utilized in semantic or instance segmentation or even in other modalities such as audio/speech?

Thanks for your comment and interest in our work!
It has been a busy few weeks on our end, but a better packaging for our method is in our radar - we are hoping to do that in the near future.
We have focused on image classification so far; although we have not tested it in other vision tasks, I believe there is a good chance they will be helpful. Exploring other modalities is definitely a good venue to explore - but something we have not done yet.


{Compute} az vm/vmss create: Add warning log to recommend users to specify the --enable-secure-boot True and --enable-vtpm True when the --security-type used by the VM/VMSS creation is TrustedLaunch

Related command

az vm create, az vmss create
Description

When the --security-type used by the VM/VMSS creation is TrustedLaunch, print the warning log to recommend users to specify the --enable-secure-boot True and --enable-vtpm True first.

Close https://github.com/Azure/azure-cli/issues/23144
Testing Guide

History Notes

{Compute} az vm/vmss create: Add warning log to recommend users to specify the --enable-secure-boot True and --enable-vtpm True when the --security-type used by the VM/VMSS creation is TrustedLaunch

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Compute


provider docker img: maintenance operations to ensure that database size does not get too large

parent #45

Duplicate of #260


charts: add defualt-ip-retain

Pull Request Description
Describe what this PR does / why we need it
Add defualtIPRetain to chart parameters.
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

Codecov Report

Merging #205 (560e86f) into main (f2c17cb) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #205   +/-   ##
=======================================
  Coverage   27.67%   27.67%
=======================================
  Files          23       23
  Lines        1655     1655
=======================================
  Hits          458      458
  Misses       1145     1145
  Partials       52       52

Flag
Coverage Δ

unittests
27.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 f2c17cb...560e86f. Read the comment docs.


[KrakenLatte][Discord] The custom gossip option button doesn't appear with Immersion loaded

This is what Immersion looks like, so the default MerchantFrame isn't loaded. I will need to address the compatibility issue from my end.

Addressed with b5d53bb.


add https flag to python cli

Fix #1940

Motivation and context

How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG file
[x] I have updated the documentation accordingly
[x] I have linked related issues (read github docs)
[ ] I have added tests to cover my changes
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Pull Request Test Coverage Report for Build 6601

4 of 6 (66.67%)  changed or added relevant lines in 3 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 64.936%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

utils/cli/cli.py
0
1
0.0%

utils/cli/core/core.py
3
4
75.0%

Files with Coverage Reduction
New Missed Lines
%

cvat/apps/engine/media_extractors.py
2
75.52%

Totals

Change from base Build 6575:
-0.01%

Covered Lines:
11082

Relevant Lines:
16661

💛  - Coveralls

@azhavoro , could you please test and merge the PR?


Question about support for libyang 3.x

Hello,
I would like to know if/when the sysrepo-cpp and libyang-cpp packages be built using libyang 3.x

As far as I know the v3 API has not hit the upstream devel branch yet. Once that happens (and assuming that there are no "big breaking changes"), we will very likely follow suite.
There's one problem which is the rework of the auth backend in libnetconf2/netopeer2-server. We're relying on an auth method which uses either SSH keys, or kbd-interactive, or password authentication, allowing any of these to succeed. So far, it's been OK to run the devel branch of libyang + sysrepo with a slightly older Netopeer2. If that's not the case in libyang v3, we will have some PAM code backporting to do.
TL;DR: if you need this, please submit a patch so that others can benefit from the port. We might not merge it as-is right now, but it's good to have code ready and publicly available.

As far as I know the v3 API has not hit the upstream devel branch yet.

Do you mean master branch?

Ah, my bad -- I was looking for a merge commit, but they rebased. Patches welcome, we're currently busy with some internal deadlines.

just fyi, the patches are up for grabs/testing/feedback here: https://gerrit.cesnet.cz/q/topic:libyang-v3

Merged.


V1.2.2 Include fonts instead of using all your computer's fonts

Fix Lavender theme
Fix GameObjectFactory.CreateBubble
Add the thunderstore files and programmatically zip them up

This change is pushed out already. Shouldn't this be merged into the master branch already?


Fixed error 404 not found in Candy Store Project

🛠 Fixes Issue (Number)
Closes #889

👨💻 Changes proposed
Fixed error 404 not found in Candy Store Project

✅ Check List (Check all the applicable boxes)

[x] My code doesn't break any part of the project (Zero Octave-Javascript-Projects).
[x] This PR does not contain plagiarized content.
[x] My Addition/Changes works properly and matches the overall repo pattern.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

@Astrodevil Kindly merge the PR

@Astrodevil Will you merge this PR or not?


Implement null / empty string handling for sqllogictest

As explained in https://duckdb.org/dev/sqllogictest/result_verification#null-values-and-empty-strings
Empty lines have special significance for the SQLLogic test runner: they signify an end of the current statement or query. For that reason, empty strings and NULL values have special syntax that must be used in result verification. NULL values should use the string NULL, and empty strings should use the string (empty), e.g.:

query II
SELECT NULL, ''
----
NULL
(empty)

The goal of this ticket is to make the DataFusion sqlogictest framework do the same thing

Currently the sqllogictest framework uses the arrow csv writer
This we would need some way to control how NULLs are printed in the CSV writer  in order to change the display of null values to "NULL" -- I will attempt to upstream that.
Rewriting "" to (empty) is possible now


podinfo: add a deleted pod cache

Add a deleted pod cache for pod association. See commits.

Thanks for the review. Pushed a new version based on the feedback. Merging.


adding option to include filename and line numbers in log lines

The cost of the increased complexity and difficulty to parse what is going on doesn't really seem like it is worth the changes in a minimalist focused library. The effort to get the correct line numbers isn't necessary when log entries are written appropriately.


Fix branch state page error after disconnecting from internet

Fix occasional Cannot read property 'get' of undefined that sometimes appears after a polling request fails
cc @jonathanwgoodwin

🚢


Extend docs with info on how to call C functions from Numba

As suggested on discourse, I'm extending the docs with information on how to call C functions from Numba

@guilhermeleobas this looks great! Can you use code-block for the highlighting!
https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-code-block

Out of interest, why not use Numba's ctypes support, it's more idiomatic python?

Out of interest, why not use Numba's ctypes support, it's more idiomatic python?

Good question. No particular reason. I just didn't find in the docs a way to do this.

@guilhermeleobas this looks good. I think we should merge this now and then perhaps a second example that uses the ctypes variant? I think this could be interesting for many people.

The issue with binding to C libraries as demonstrated in this example is that if the @njit decorator is removed, the code stops working correctly. Whereas the use of ctypes works invariant of the JIT:
from numba import njit
import ctypes
DSO = ctypes.CDLL('./libfoo.so')

# Add typing information
c_func = DSO.sum
c_func.restype = ctypes.c_int
c_func.argtypes = [ctypes.c_int, ctypes.c_int]

@njit
def example(x, y):
    return c_func(x, y)

print(example(3, 4)) # 7
print(example.py_func(3, 4)) # 7

Thanks, Stuart. I'll update the docs to use ctypes.

@guilhermeleobas I just took another look at this and would like to make the following suggestions:

Add a ctypes example and mention why this is superior (can run w/o Numba)
Mention that this is likely to only work on a LInux (or at least UNIX) style OS

I tested the example locally and both variants did work fine.

Thank you for the patch!


Update angular

Legacy components seem to work quite well by now. I suggest migrating them later step by step.
Resolves #2755

Before merging the ngx-translate-extract libraries need to be replaced by the new packages.


Please update the branch from develop so there is an accurate change request to review.

+1


Fixed some TAngularCorrelation bugs.

The backgrounds plotted in the fitting visualization now belong to that slice, rather than just the last fit.
If the area error is less than the Sqrt of the area, the error is fixed to the Sqrt of the area.
Fixed a bug in UpdatePeak.

Is there a warning that the error has been fudged?

On Apr 14, 2016, at 6:51 PM, SmithJK<EMAIL_ADDRESS>wrote:
The backgrounds plotted in the fitting visualization now belong to that slice, rather than just the last fit.
If the area error is less than the Sqrt of the area, the error is fixed to the Sqrt of the area.
Fixed a bug in UpdatePeak.
You can view, comment on, or merge this pull request online at:
https://github.com/GRIFFINCollaboration/GRSISort/pull/682 https://github.com/GRIFFINCollaboration/GRSISort/pull/682
Commit Summary
Fixed some TAngularCorrelation bugs.
File Changes
M libraries/TGRSIAnalysis/TAngularCorrelation/TAngularCorrelation.cxx https://github.com/GRIFFINCollaboration/GRSISort/pull/682/files#diff-0 (14)
Patch Links:
https://github.com/GRIFFINCollaboration/GRSISort/pull/682.patch https://github.com/GRIFFINCollaboration/GRSISort/pull/682.patch
https://github.com/GRIFFINCollaboration/GRSISort/pull/682.diff https://github.com/GRIFFINCollaboration/GRSISort/pull/682.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub https://github.com/GRIFFINCollaboration/GRSISort/pull/682

No, but good idea.
On Thu, Apr 14, 2016 at 4:13 PM, Ryan Dunlop<EMAIL_ADDRESS>wrote:

Is there a warning that the error has been fudged?

On Apr 14, 2016, at 6:51 PM, SmithJK<EMAIL_ADDRESS>wrote:
The backgrounds plotted in the fitting visualization now belong to that
slice, rather than just the last fit.
If the area error is less than the Sqrt of the area, the error is fixed
to the Sqrt of the area.
Fixed a bug in UpdatePeak.
You can view, comment on, or merge this pull request online at:
https://github.com/GRIFFINCollaboration/GRSISort/pull/682 <
https://github.com/GRIFFINCollaboration/GRSISort/pull/682>
Commit Summary
Fixed some TAngularCorrelation bugs.
File Changes
M libraries/TGRSIAnalysis/TAngularCorrelation/TAngularCorrelation.cxx <
https://github.com/GRIFFINCollaboration/GRSISort/pull/682/files#diff-0>
(14)
Patch Links:
https://github.com/GRIFFINCollaboration/GRSISort/pull/682.patch <
https://github.com/GRIFFINCollaboration/GRSISort/pull/682.patch>
https://github.com/GRIFFINCollaboration/GRSISort/pull/682.diff <
https://github.com/GRIFFINCollaboration/GRSISort/pull/682.diff>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub <
https://github.com/GRIFFINCollaboration/GRSISort/pull/682>

—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/GRIFFINCollaboration/GRSISort/pull/682#issuecomment-210199336


QUIC: Fix crypto stream buffering

Following on from #22295
Built on @mattcaswell's fixes and @t8m's large chain PR:

Make sure we remember how much data we sent in the event of a retry (#22473)
When requeueing deferred URXEs retain the order (#22452)
QUIC: Test connection with large client and server cert chains (#22295)

Changes:

QUIC TLS: Ensure QUIC_TLS is ticked between each processed RX packet
We tick TLS in between all packet processing, allowing it to train the receive-side crypto stream as soon as (in-order) data is received on it. If no data arrives for QUIC_TLS we give it one tick anyway, in case it wants to spontaneously do something.

QUIC CHANNEL: Correct timeout calculation for ACKs
ACKs are not restricted by CC, so next tick deadline should not stop us from generating an ACK just because of CC.

QUIC CHANNEL: Tweak crypto buffer sizes
Increase crypto buffer sizes to 16 KiB. This size was chosen on the grounds that our current congestion control implementation limits us from sending more than about 11 KiB at t=0 of a connection anyway, so more on the send side isn't going to help much and more on the receive side only becomes relevant due to packet reordering with the above fixes.

RXFC behaviour was investigated and found to be as desired.
Note that congestion control is applicable to crypto streams and this can offer some backpressure conditions. So as things stand there is actually a control keeping our own implementation from sending more than ~11 KiB of crypto stream data initially, which can't overflow our 16 KiB receive buffer anyway, even in the event of reordering/loss/etc. Of course this doesn't mean other implementations will behave the same way, though our congestion control is the reference implementation so one hopes other implementations will behave similarly.
The other backpressure condition of interest is the send stream buffer filling up. Since we can't cull data from it until it is acknowledged, proving we won't need to retransmit it, this means the sender receiving ACKs essentially controls how fast it can send crypto stream data. Currently we ACK incoming Initial/Handshake EL packets immediately without waiting for an ACK delay (in fact the RFC says we MUST do so). So throughput on crypto streams is limited by the RTT. This limits throughput to 16/RTT KiB/s. Of course again other implementations may behave differently.
Thanks to @mattcaswell for investigation of a bug in the TLS record layer. (#22473)

Fuzzing is passing with my new ping deadline fix.

Pushed. The first two commits were skipped because they were already merged via other PRs.


I dont this this code scraps formatted text

It is ignoring the italics or formatted text in the verse text from the bible versions. You can verify this by scraping Romans 10:6 NTE or the bold text in NET

The original intent of the tools was to target cli usage, where pure ASCII output is preferred. Though, adding additional output formats which can support html/markdown formatting should totally be doable and within scope. What kind of formatted output are you looking for?

I dont know anything about coding. I just happen to do it all using the ai chatbots help using python for the first time. It gave me to use  find_all and "tags" and "Verse" attributes to include the formatted html text, but the result error showed that this package doesn't have those. Then it suggested to use beautifulsoup, but soup does not generate the bible verse text the way we want and its also very bad for this purpose. I guess you need to edit the package to include html or find_all attributes to include bold and italic texts.