Add minimal documentation about using CoreNEURON with NEURON

As part of NEURON documentation here : https://neuronsimulator.github.io/nrn/py_doc/index.html
We should CoreNEURON sub-section describing:

How to build CoreNEURON inside NEUERON (CMake Options); recommend to use Intel compiler; mention NMODL option as well but say that it's still beta / under development;
Add simple example of python to run with in-memory mode : https://github.com/neuronsimulator/nrn/tree/master/test/coreneuron
Also show hoc example for the same : https://github.com/neuronsimulator/nrn/tree/master/test/coreneuron
Add section about running on GPU

Added first draft of documentation in https://github.com/neuronsimulator/nrn/tree/docs/coreneuron

@iomaganaris : seems like you added documentation but PR is not created or it's not appearing in the https://neuronsimulator.github.io/nrn/index.html ?

@iomaganaris : seems like you added documentation but PR is not created or it's not appearing in the https://neuronsimulator.github.io/nrn/index.html ?

@pramodk You're right. I think there was no PR for this. Will do now

@pramodk You're right. I think there was no PR for this. Will do now

https://github.com/neuronsimulator/nrn/pull/912
This is now merged

https://github.com/neuronsimulator/nrn/pull/912
This is now merged


Function "LOD" with "MANT_SIZE > 14"?

I see the the function "LOD" can only be treated with "MANT_SIZE < 15".
So how about Single-Precision with "MANT_SIZE = 23", and even Double-Precision with "MANT_SIZE = 53"?

This library was specifically for low-precision floating-point operations. For single-precision or double-precision it'd be much better to use the built in support

Yes, but CFP has a specific advantage over built-in float/double that the CFP is portable, and not dependent upon Xilinx FP Core.
Will it be possible for you to have an updating for CFP to support real arbitary precision floating-point synthesis?
Best Regards : -)
Oxygen

I'm not currently working on this project anymore unfortunately but it shouldn't be too much extra effort to augment for larger mantissa sizes


Using meteor-autoform-typeahead with autoform-modals

Hi All,
I am trying to add typeahead functionality to my bootstrap modal, using data from a server side method.
HTML
{{#afModal formId="newtransactionform" class="btn btn-sm btn-primary valign_button hspace_button pull-right" collection="transaction" operation="insert" title="Add new transaction" buttonContent="Add" template="bootstrap3-horizontal" label-class="col-sm-3" input-col-class="col-sm-9" omitFields="portfolio,portfolioowner,entered,enteredby" data-source="search"}}Add new {{/afModal}}

JS
Schema:
	ticker: {
		type: String,
		label: "Ticker",
		max: 200,
		autoform: {
            type: "typeahead",
            afFieldInput: {
                typeaheadOptions: {},
                typeaheadDatasets: {}
            }
        }
	},

Modified example from https://github.com/sergeyt/meteor-typeahead:
Meteor.methods({
		'eqsearch' (query, options) {
            options = options || {};
            // guard against client-side DOS: hard limit to 50
            if (options.limit) {
                options.limit = Math.min(50, Math.abs(options.limit));
            } else {
                options.limit = 50;
            }
            // TODO fix regexp to support multiple tokens
            var regex = new RegExp("^" + query);
            console.log(regex);
            console.log(eqprofile.find({'ticker': {$regex:  regex}}, options).fetch());
            return eqprofile.find({'ticker': {$regex:  regex}}, options).fetch();
        }
	});

	Template.portfoliodetail.helpers({
            'search': function(query, sync, callback) {
            Meteor.call('eqsearch', query, {}, function(err, res) {
            if (err) {
            console.log(err);
            return;
            }
            callback(res.map(function(v){ return {value: v.ticker}; }));
      });
    }
	});

To access the data from the helper i added data-source="search" in the html with no success, whenever a letter is typed in the field on the modal I get this error in my console:
"Uncaught TypeError: Cannot read property 'length' of undefined"
How do I go about having typeahead in my modal with serverside data? If somebody could spot the issue here or point me in the right direction that would be super.

You always can use vanilla jquery to init. I don't remember what problems I have with this package, but remember that I decide to use like next:
  var source = function (query, process) {
    Meteor.call('typehead-method', query, function(err, res) {
      // filter
      // ...
      process(matches);
    });
  };

  var options = {
    highlight: true
  };
  var datasets = {
    source: source
  };

  this.$('.typehead-input').typeahead(options, datasets);

good luck!

Hi Olexandr,
Very much appreciate the help with this, are you able to provide your 'typehead-method' code for the server side search and the relevant section from your collection schema as well? There are a few others here asking for help on the server side search too.
Many thanks

Hello, I found why I use jquery init.. because of
This package work fine with autoform only if you init typehead not for array of string in Schema like this:
afFieldInput: {
        typeaheadDatasets: {
          source: function (query, process) {
            Meteor.call('phones-typehead', query, function(err, res) {
              var items = _.map(res || [], mkLabelValue);
              process(items);
            });
          }
        }

But I have problem with array of strings that should have typehead. See next issue: https://github.com/comerc/meteor-autoform-typeahead/issues/8 for mine workaround that make work typehead on schema's array of string. I also add mine server's method for you in that issue:).

So  you don't need manually instantiate, just add source to typeaheadDatasets in collection's schema

Thanks very much for your help @osv
Here's how I managed to get it going in the end:
Schema:
ticker: {
		type: String,
		label: "Ticker",
		max: 200,
		autoform: {
            type: "typeahead",
            afFieldInput: {
                typeaheadOptions: {},
                typeaheadDatasets: {
                    'source': function(query, process) {
                    Meteor.call('search', query, {}, function(err, res) {
                    if (err) {
                          console.log(err);
                          return;
                        }
                    items = res.map(function(v){ return {'value': v.ticker, 'label': v.name}; });
                    console.log(items);
                    process(items);
                    });

                }
                }
            }
        }
	}

What worked was using process() instead of callback().
Server side search method:
        'search': function(query, options) {
            options = options || {};

            // guard against client-side DOS: hard limit to 50
            if (options.limit) {
                options.limit = Math.min(50, Math.abs(options.limit));
            } else {
                options.limit = 50;
            }

            // TODO fix regexp to support multiple tokens
            var regex = new RegExp(query, 'i');
            console.log(regex);
            console.log(options);
            return eqprofile.find({$or: [{'ticker': {$regex:  regex}}, {'name': {$regex:  regex}}]}, options).fetch();
        }

This was adopted from the example at https://github.com/sergeyt/meteor-typeahead
I am still trying to figure out how to use custom templates or at least show a string in the suggestion box that differs to the underlying value.


Allow to add additional DFLAGS when building Phobos

https://github.com/dlang/dmd/pull/8089 for Phobos, s.t. downstream packers can set their custom flags and don't need to patch posix.mak like e.g. https://github.com/dlang/phobos/pull/5966
It's also useful for quickly applying a flag for local testing:
make -f posix.mak std/algorithm/iteration.test DFLAGS="-debug=MyDebug"

For reference, environment variables aren't read, so global DFLAGS won't start to influence this Makefile, e.g.
DFLAGS="-debug=MyDebug" make -f posix.mak std/algorithm/iteration.test

FYI the analog DMD PR has been merged a few days ago now.


Feature/dev flutter

Flutter : 支持在主面板添加自定义入口kit & 增加悬浮按钮点击事件回调能力

PR contains too many unrelated commits. I updated feature/dev_flutter to keep sync with the master branch.
Resubmit a PR please.


Roll Plugins from 8a739b46dbca to 475b4555b8e7 (1 revision)

https://github.com/flutter/plugins/compare/8a739b46dbca...475b4555b8e7
2021-04-27<EMAIL_ADDRESS>Fix grammatical error in contributing guide (flutter/plugins#3217)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


Update how-to-install-macos-client.md

Added M4 processor in the prerequisites part of Documentation

@HULKsmashGithub
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

#sign-off


feature request : Automesh - Startup as AP when the SSID is not found

Good job on your software. I'm using the automesh mode to create a local network between multiple motocyles to communicate via a smartphone app.
Unfortunatly I have to create a hotspot with either another esp or the smartphone as root node of the mesh.
Would it be possible to let the esp create an AP when the ssid is not around? So that there would be seperate networks if they loose each other but join into one mesh as soon as they are in range?

Not so easy to add that in the generic software as each ESP that does not see a level 0 AP would begin to start its own mesh. So during boot-up many outer nodes might think, that there is no AP and will start.
Think, you would need one special alternative level 0 AP.

I just noticed that in order to work, there is a difficult logic how and when to shutdown its own AP to join networks.
Maybe a list of ssid:passwd with different priorities would do the job.
So every bike has another esp which acts as a level 0 AP but every bike with another ssid.
And in the level 1-x esp every ssid is valid but there is a order of priority so if they are all in range they are in the same network.
Do you think something like this would work or is possible?


Icon only buttons don't click

If you have radio buttons using the javascript plugin and there are only icons in the button then they won't select if the user clicks on only the icon.
Example code:

Clicking on any gray part of the button will register and depress it, however clicking on the arrow icons themselves won't work.
Hope I explained it well :)

I used quick fix, there is probably better way...
bootstrap-button.js

$(function () {
    $('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) {
        var $target = $(e.target);
        if ($target.hasClass('btn')){
            $target.button('toggle');
        } else {
            $target.parents('.btn').button('toggle');
        }
    })
})

Your code above seems to disable simple on/off buttons. This issue seems to happen with any tag within a button, not just an  tag. Ex. using a  tag inside a  tag.

@veljamatic solution worked for me!

I'd like to confirm the issue.
In more detail it happens in cases where we have a child element inside of a button which "hijacks" the click event.
I like @veljamatic 's solution but would like to make it a little bit more specific:
$(function () {
  $('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) {
    var tmp
      , $target = $(e.target)
    if (!$target.hasClass('btn')) {
      tmp = $target.parentsUntil('.btn-group', '.btn')
      if (tmp.length > 0) $target = $(tmp[0])
    }
    $target.button('toggle')
  })
})

Either way this needs some attention.

FWIW, I found this issue in Safari and Chrome, but not FFX. I did not try IE.
http://jsfiddle.net/ABBzK/1/
I'll give @zonak's solution a shot for now.

this is already fixed in 2.0.1 js

I tested the fix from 2.0.1 and now I am noticing the same issue in IE7,8,9, FF, Opera, Safari but Chrome works fine.
Can someone please verify this?


Executions need cleanup/rewrite and then be re-added.

Description
 I dont know how to code, so im just gonna make this and hope someone does this in the freeze. Executions were fun and made for some nice rp.
Additional context
 h

dupe #24180


Ensure dokku can read nginx logs and don't remove other perms

add current members of adm group to dokku group
change group of /var/log/nginx (recursively) to dokku
add group readable perm to everything in /var/log/nginx
removes the check to bypass running nginx:*-logs commands as dokku

closes #1572

We need to document this so that users are aware of the adm change. We should probably add a new logging doc anyhow.

When you say "we" need to, are you going to update the docs?

Yes.

Cool. Just wanted to clarify.

Need to make sure this doesn't break when running multiple times. I'll do that when I get back in front of a computer

:+1:

AFAICT this is not actually a fix because nginx's logrotate script switches new log files back to www-data:adm so unless that script is switched to www-data:dokku or dokku is added to the adm group this is still a problem.
Came back to work on Monday after logrotate and my access-log tail was busted again with permission denied.

@mmerickel mind filing a bug?

Versus reopening #1572 I guess?

Sure, I can do that. Commenting on a closed pr definitely wasn't going to help ;)

Fair enough!


Gas intrinsic proto

As our measurements show that gas counting is significant part of execution cost,
we need to optimize it as much as possible. This PR provides support for shared
fast gas counter structure, second part is implemented in near/nearcore#5121
Fast gas counter has three fields: current counter, limit and op cost. When we see call to host
function called gas with single argument we do not actually emit such a call, but instead
emit inline instruction sequence to increment gas counter per requested amount and if limit is hit -
GasExceed trap happens.
For fast gas counter to work VM embedder shall provide gas counter context, and VM will trap on call
to gas function if such context wasn't provided.

Practically speaking opcode cost is intended to be way below 2G, and presume the best fix would be assert that on instantiation.


help! can your offer ShapeNetChairRFC datasets?

Hi, sorry that we currently do not plan to release the ShapeNetChairRFC dataset. For generating the dataset, you can follow the generation approach referred to in Pix2Vox++.

could you  describ more detail about  generating the dataset! (@^ @)!

could you describ more detail about generating the dataset! (@^ @)!

Hi, you need to use the Render tool to generate 60 images for each chair in the ShapeNet. By the way, you need to add the backgrounds samples from the SUN database.


Missplaced calendar

For some reason the calendar covers the entire field that triggers the calendar, any idea of how to solve this? (The field that triggered the calendar is hidden behind it)

This is intended behaviour. Normally, the picker would display under the input. But if there is not enough space under the input, the picker's place would be adjusted in order to show in the view.

The thing is that there's enough space for it to place under the input.

If that's the case, please use StackBlitz to build an app to show the issue you mentioned above.


inkscape: 1.3.2 -> 1.4

Things done

light refactor of meta
add x123 as maintainer
update inkscape from 1.3.2 -> 1.4
update inkex patches and deps
mark svg2tikz as broken due to upstream not handling inkscape/inkex 1.4

NOTE: nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD" had broken deps related to svg2tikz. This appears to be an upstream issue with svg2tikz in that the code references functions that are no longer available in 1.4 (or are otherwise renamed). I'm not sure what the best practice is here, but I feel it would be a bit silly to hold back some major improvements brought by 1.4 over a single extension. I've marked svg2tikz as broken and will create an issue for it.
I've tested the binary on x86_64-linux and on aarch64-darwin and the program appears to function as it should.

The results from nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD" (after marking svg2tikz as broken):
┏━ Dependency Graph:
┃ ✔ review-shell
┣━━━ Builds
┗━ ∑ ⏵ 0 │ ✔ 1 │ ⏸ 0 │ Finished at 21:44:04 after 3s
--------- Report for 'x86_64-linux' ---------
8 packages marked as broken and skipped:
python311Packages.svg2tikz python311Packages.svg2tikz.dist python312Packages.svg2tikz python312Packages.svg2tikz.dist spring springLobby svg2tikz svg2tikz.dist

125 packages built:
adapta-gtk-theme arc-theme arx-libertatis asciidoc-full asciidoc-full-with-plugins asciidoc-full-with-plugins.dist asciidoc-full.dist ayu-theme-gtk breeze-hacked-cursor-theme capitaine-cursors catppuccin-cursors catppuccin-cursors.frappeBlue catppuccin-cursors.frappeDark catppuccin-cursors.frappeFlamingo catppuccin-cursors.frappeGreen catppuccin-cursors.frappeLavender catppuccin-cursors.frappeLight catppuccin-cursors.frappeMaroon catppuccin-cursors.frappeMauve catppuccin-cursors.frappePeach catppuccin-cursors.frappePink catppuccin-cursors.frappeRed catppuccin-cursors.frappeRosewater catppuccin-cursors.frappeSapphire catppuccin-cursors.frappeSky catppuccin-cursors.frappeTeal catppuccin-cursors.frappeYellow catppuccin-cursors.latteBlue catppuccin-cursors.latteDark catppuccin-cursors.latteFlamingo catppuccin-cursors.latteGreen catppuccin-cursors.latteLavender catppuccin-cursors.latteLight catppuccin-cursors.latteMaroon catppuccin-cursors.latteMauve catppuccin-cursors.lattePeach catppuccin-cursors.lattePink catppuccin-cursors.latteRed catppuccin-cursors.latteRosewater catppuccin-cursors.latteSapphire catppuccin-cursors.latteSky catppuccin-cursors.latteTeal catppuccin-cursors.latteYellow catppuccin-cursors.macchiatoBlue catppuccin-cursors.macchiatoDark catppuccin-cursors.macchiatoFlamingo catppuccin-cursors.macchiatoGreen catppuccin-cursors.macchiatoLavender catppuccin-cursors.macchiatoLight catppuccin-cursors.macchiatoMaroon catppuccin-cursors.macchiatoMauve catppuccin-cursors.macchiatoPeach catppuccin-cursors.macchiatoPink catppuccin-cursors.macchiatoRed catppuccin-cursors.macchiatoRosewater catppuccin-cursors.macchiatoSapphire catppuccin-cursors.macchiatoSky catppuccin-cursors.macchiatoTeal catppuccin-cursors.macchiatoYellow catppuccin-cursors.mochaBlue catppuccin-cursors.mochaDark catppuccin-cursors.mochaFlamingo catppuccin-cursors.mochaGreen catppuccin-cursors.mochaLavender catppuccin-cursors.mochaLight catppuccin-cursors.mochaMaroon catppuccin-cursors.mochaMauve catppuccin-cursors.mochaPeach catppuccin-cursors.mochaPink catppuccin-cursors.mochaRed catppuccin-cursors.mochaRosewater catppuccin-cursors.mochaSapphire catppuccin-cursors.mochaSky catppuccin-cursors.mochaTeal catppuccin-cursors.mochaYellow cinnamon-screensaver clevis clevis.man coreboot-configurator dblatexFull diagrams-as-code diagrams-as-code.dist disorderfs emojione fim find-billy hackneyed hikounomizu inkscape inkscape-extensions.applytransforms inkscape-extensions.silhouette inkscape-extensions.silhouette.dist inkscape-extensions.textext inkscape-extensions.textext.dist inkscape-with-extensions iso-flags iso-flags-png-320x240 k40-whisperer kakounePlugins.rep luksmeta mate.mate-panel-with-applets mate.mate-utils material-cursors mojave-gtk-theme numix-cursor-theme numix-solarized-gtk-theme plata-theme pop-gtk-theme python311Packages.diagrams python311Packages.diagrams.dist python311Packages.inkex python311Packages.inkex.dist python311Packages.osc-diagram python311Packages.osc-diagram.dist python312Packages.diagrams python312Packages.diagrams.dist python312Packages.inkex python312Packages.inkex.dist python312Packages.osc-diagram python312Packages.osc-diagram.dist tang tang.man vimix-cursors volantes-cursors wpa_supplicant_gui

The results from nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD" (before marking svg2tikz as broken):
┏━ 2 Errors:
 ⋮
┃        >             return None
┃        > >       shape = inkex.properties.match_url_and_return_element(url, self.svg)
┃        > E       AttributeError: module 'inkex.properties' has no attribute 'match_url_and_return_e…
┃        >
┃        > svg2tikz/tikz_export.py:822: AttributeError
┃        > =========================== short test summary info ============================
┃        > FAILED tests/test_tikz_path_exporter.py::TestTikZPathExporter::test_get_text - AttributeEr…
┃        > FAILED tests/test_tikz_path_exporter.py::TestTikZPathExporter::test_handle_shape - Attribu…
┃        > =================== 2 failed, 64 passed, 1 skipped in 0.91s ====================
┃        For full logs, run 'nix log /nix/store/vyw4rxkxmynw7gnv7632wx62d395bmyc-python3.12-svg2tikz-…
┣━ Dependency Graph:
┃    ┌─ ✔ adapta-gtk-theme-<IP_ADDRESS> ⏱ 3m12s
┃    ├─ ✔ vimix-cursors-2020-02-24-unstable-2021-09-18 ⏱ 3m18s
┃    ├─ ✔ capitaine-cursors-4 ⏱ 4m37s
┃    ├─ ✔ numix-solarized-gtk-theme-20230408 ⏱ 4m55s
┃    ├─ ✔ catppuccin-cursors-0.4.0 ⏱ 8m20s
┃    ├─ ⚠ python3.11-svg2tikz-3.2.0 failed with exit code 1 after ⏱ 3s in pytestCheckPhase
┃    ├─ ⚠ python3.12-svg2tikz-3.2.0 failed with exit code 1 after ⏱ 2s in pytestCheckPhase
┃ ┌─ ⏸ env
┃ ⏸ review-shell
┣━━━ Builds
┗━ ∑ ⏵ 0 │ ✔ 9 │ ⏸ 2 │ ⚠ Exited after 2 build failures at 21:35:26 after 8m24s
--------- Report for 'x86_64-linux' ---------
2 packages marked as broken and skipped:
spring springLobby

4 packages failed to build:
python311Packages.svg2tikz python311Packages.svg2tikz.dist svg2tikz svg2tikz.dist

125 packages built:
adapta-gtk-theme arc-theme arx-libertatis asciidoc-full asciidoc-full-with-plugins asciidoc-full-with-plugins.dist asciidoc-full.dist ayu-theme-gtk breeze-hacked-cursor-theme capitaine-cursors catppuccin-cursors catppuccin-cursors.frappeBlue catppuccin-cursors.frappeDark catppuccin-cursors.frappeFlamingo catppuccin-cursors.frappeGreen catppuccin-cursors.frappeLavender catppuccin-cursors.frappeLight catppuccin-cursors.frappeMaroon catppuccin-cursors.frappeMauve catppuccin-cursors.frappePeach catppuccin-cursors.frappePink catppuccin-cursors.frappeRed catppuccin-cursors.frappeRosewater catppuccin-cursors.frappeSapphire catppuccin-cursors.frappeSky catppuccin-cursors.frappeTeal catppuccin-cursors.frappeYellow catppuccin-cursors.latteBlue catppuccin-cursors.latteDark catppuccin-cursors.latteFlamingo catppuccin-cursors.latteGreen catppuccin-cursors.latteLavender catppuccin-cursors.latteLight catppuccin-cursors.latteMaroon catppuccin-cursors.latteMauve catppuccin-cursors.lattePeach catppuccin-cursors.lattePink catppuccin-cursors.latteRed catppuccin-cursors.latteRosewater catppuccin-cursors.latteSapphire catppuccin-cursors.latteSky catppuccin-cursors.latteTeal catppuccin-cursors.latteYellow catppuccin-cursors.macchiatoBlue catppuccin-cursors.macchiatoDark catppuccin-cursors.macchiatoFlamingo catppuccin-cursors.macchiatoGreen catppuccin-cursors.macchiatoLavender catppuccin-cursors.macchiatoLight catppuccin-cursors.macchiatoMaroon catppuccin-cursors.macchiatoMauve catppuccin-cursors.macchiatoPeach catppuccin-cursors.macchiatoPink catppuccin-cursors.macchiatoRed catppuccin-cursors.macchiatoRosewater catppuccin-cursors.macchiatoSapphire catppuccin-cursors.macchiatoSky catppuccin-cursors.macchiatoTeal catppuccin-cursors.macchiatoYellow catppuccin-cursors.mochaBlue catppuccin-cursors.mochaDark catppuccin-cursors.mochaFlamingo catppuccin-cursors.mochaGreen catppuccin-cursors.mochaLavender catppuccin-cursors.mochaLight catppuccin-cursors.mochaMaroon catppuccin-cursors.mochaMauve catppuccin-cursors.mochaPeach catppuccin-cursors.mochaPink catppuccin-cursors.mochaRed catppuccin-cursors.mochaRosewater catppuccin-cursors.mochaSapphire catppuccin-cursors.mochaSky catppuccin-cursors.mochaTeal catppuccin-cursors.mochaYellow cinnamon-screensaver clevis clevis.man coreboot-configurator dblatexFull diagrams-as-code diagrams-as-code.dist disorderfs emojione fim find-billy hackneyed hikounomizu inkscape inkscape-extensions.applytransforms inkscape-extensions.silhouette inkscape-extensions.silhouette.dist inkscape-extensions.textext inkscape-extensions.textext.dist inkscape-with-extensions iso-flags iso-flags-png-320x240 k40-whisperer kakounePlugins.rep luksmeta mate.mate-panel-with-applets mate.mate-utils material-cursors mojave-gtk-theme numix-cursor-theme numix-solarized-gtk-theme plata-theme pop-gtk-theme python311Packages.diagrams python311Packages.diagrams.dist python311Packages.inkex python311Packages.inkex.dist python311Packages.osc-diagram python311Packages.osc-diagram.dist python312Packages.diagrams python312Packages.diagrams.dist python312Packages.inkex python312Packages.inkex.dist python312Packages.osc-diagram python312Packages.osc-diagram.dist tang tang.man vimix-cursors volantes-cursors wpa_supplicant_gui

The error in upstream svg2tikz appears to be here:
https://github.com/xyz2tex/svg2tikz/blob/89d17219ac22d80570a8171bb1d4b01700787fba/svg2tikz/tikz_export.py#L822

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Hi, thanks for the PR but we already have #348253

Hi, thanks for the PR but we already have #348253

Ah, of course I should have searched first. Apologies for the noise, and clearly looks like I missed a few things. Will close this PR but hopefully something in it will be useful for getting #348253 over the line.


Looking for new maintainer

Since I'm not using Mina or Puma anymore I'm looking for a maintainer to take over the project.

@sandelius We're using both mina and puma extensively in Untitled Kingdom. I can take over maintaining this project :)

Hey, fork the project and give me the new rubygems maintainer name and I'll transfer it xD

Here's the fork: https://github.com/untitledkingdom/mina-puma
Here's the rubygems maintainer name: d4rky-pl

Now the ownership has been changed. Good luck :)

Thanks :) It might be a good idea to disable issues and pull requests on this repository to avoid confusion.

good call


add method for users to access data from certificate page

Part of https://github.com/theodi/shared/issues/54
There should be a method for users to download the data behind the certificate from the HTML page (without looking at the source HTML for the page to find the link!). I suggest using a button similar to and next to that used for 'Embed this on your site', opening up a dialog that lists the formats that are available.
If @pezholio can knock something up, @jolankester could perhaps review to make sure it doesn't suck :)

+1 to adding to bottom of certificate page


Add large negative weight to empty channels

When returning channels, a user is almost certainly not looking for empty channels.
It'd probably also make sense to give a boost to large channels, but empty channels in particular should be given a large negative weight.

We can't add negative weights. However, we could add a new field to the elastic search document that sets a value for nr_claims_in_channel. Then if its a channel the number will be x. We can then add weight to the search algo for that field. How much should we weight this is the question. This also puts it against claims too not just channels. I think this is ok if a channel becomes more relevant that a claim simply because it has a lot of claims in the channel. We already separate our claims and channels in the search result.


[Space] in Base station password doesnt work

i have my wifi and its name is Yesh112 but my wifi password contain one [space] for example: "yesh 112" ("yesh[space]112"). Suppose if i give set password command as "set password yesh 112" then the esp8266 is taking only till the [space] means now the password is "yesh". This problem I am facing. If it is fixed then this project will help a lot for me. Thank you very much for such a nice project.

If you want to enter non-ASCII or special characters you can use HTTP-style hex encoding (e.g. "My%20AccessPoint") or, only on the CLI, as shortcut C-style quotes with backslash (e.g. "My\ AccessPoint"). Both methods will result in a string "My AccessPoint".

Thank you my problem is solved by using blackslash( \ ) in password.


Multiple unique values on same mqtt topic [bug]

Version 3.2.2
Zwave2Mqtt version: 3.2.2
Openzwave Version: 1.6.974
Describe the bug
Using a CT-32 Zwave thermostat which publishes termperature on 49-1-1 and humidity on 49-1-5. These 2 unique values however are being sent to the same MQTT topic (thermostat/sensor_multilevel/instance_1_unknown)
Expected behavior
different unique values from different sources should never default to the same mqtt topic. (in this case temperature and humidity should be on different topics)
Additional context
in the "user" section of the control panel in zwave2mqtt you can see the 2 values on separate lines, temp shows 49-1-1 and humidity shows 49-1-5 (though both call themselves "instance 1: unknown") but unfortunately  on the MQTT server they use the same topic, overwriting each other with whichever one is more recent.
The "bug" goes beyond this one device, different unique values from different sources should never default to the same mqtt topic.

@ve6rah If you check docs you will see that the 'named topics' mode is not good to use, use gateway in valueId topic mode or manual


Fix Python 3 incompatibility in Mono build

This fixes the Python 3 incompatibility when trying to build the Mono module mentioned in #11860.
Building the engine with module_mono_enabled=yes fails for me during the link stage because of missing symbols GodotSharpBindings::get_core_api_hash, GodotSharpBindings::get_editor_api_hash(void) and GodotSharpBindings::register_generated_icalls(void) but this seems to be unrelated to the Python 3 issue.

that was quick :)

I aim to please ;)


Support for OpenID Connect

Allows the user to log-in and out of an OpenIP Connect provider, such as Keycloak.
Addresses: #124

Unit tests are failing due to a memory leak.
This PR did NOT introduce this leak so I am going to merge and raise an issue.


[bronze/dvsim/lint] General tooling update

This carries over all recent patches that went into dvsim on master, and aligns the lint and synthesis flows accordingly.
Also, IPs that have been missing from the over-arching lint cfg (like otbn, entropy_src, csrng and pattgen) are added in this PR.
The results of a manual run of this lint batch can be found here:
https://reports.opentitan.org/hw/top_earlgrey/lint/ascentlint/v1-bronze/summary.html
If needed, I can enable the v1-bronze lint patch in regressions to help designers fix their blocks.
(Note that even though this is built on bronze, it only contains the generic views and hence not proprietary info from /hw/foundry is published here).

Can we add waiting license by default not relying on the ascentlint options?

Can we add waiting license by default not relying on the ascentlint options?

Yes I wanted to have this in the common config core, but that does currently not work for the ascentlint_options section, since fusesoc only looks at the options defined in the core file that is being executed. The same thing holds for the verilator_options section.
Maybe we should just move this switch into the edalize template...

Once I have a solution for the wait-license switch on master, I will carry that over.


chore(ipfilter): Adding ipfilter in network chaos for containerd/crio

Signed-off-by: shubhamchaudhary<EMAIL_ADDRESS>

Helper pod logs
time="2020-09-18T22:44:08Z" level=info msg="[PreReq]: Getting the ENV variables"
time="2020-09-18T22:44:08Z" level=info msg="containerid:<PHONE_NUMBER>57dc2608408b74cb705f3c587a6596332f0c92641af28e27b3fc6c"
time="2020-09-18T22:44:08Z" level=info msg="[cri] Container ID=472485193157dc2608408b74cb705f3c587a6596332f0c92641af28e27b3fc6c has process PID=9075"
time="2020-09-18T22:44:08Z" level=info msg="/bin/bash -c nsenter -t 9075 -n tc qdisc add dev eth0 root handle 1: prio"
time="2020-09-18T22:44:08Z" level=info msg="/bin/bash -c nsenter -t 9075 -n tc qdisc add dev eth0 parent 1:3 netem loss 100"
time="2020-09-18T22:44:08Z" level=info msg="/bin/bash -c nsenter -t 9075 -n tc filter add dev eth0 protocol ip parent 1:0 prio 3 u32 match ip dst <IP_ADDRESS> flowid 1:3"
time="2020-09-18T22:44:08Z" level=info msg="/bin/bash -c nsenter -t 9075 -n tc filter add dev eth0 protocol ip parent 1:0 prio 3 u32 match ip dst <IP_ADDRESS> flowid 1:3"
time="2020-09-18T22:44:08Z" level=info msg="[Chaos]: Waiting for 60s"
time="2020-09-18T22:45:08Z" level=info msg="[Chaos]: Time is up for experiment: pod-network-loss"
time="2020-09-18T22:45:08Z" level=info msg="[Chaos]: Stopping the experiment"
time="2020-09-18T22:45:08Z" level=info msg="/bin/bash -c nsenter -t 9075 -n tc qdisc delete dev eth0 root"

chaos-pod logs
time="2020-09-18T22:43:53Z" level=info msg="[PreReq]: Getting the ENV for the  experiment"
time="2020-09-18T22:43:53Z" level=info msg="[PreReq]: Updating the chaos result of pod-network-loss experiment (SOT)"
time="2020-09-18T22:43:53Z" level=info msg="The application information is as follows\n" Ramp Time=10 Namespace=shubham Label="run=nginx"
time="2020-09-18T22:43:53Z" level=info msg="[Status]: Verify that the AUT (Application Under Test) is running (pre-chaos)"
time="2020-09-18T22:43:53Z" level=info msg="[Status]: Checking whether application containers are in running state"
time="2020-09-18T22:43:53Z" level=info msg="The running status of container are as follows" container=nginx Pod=nginx-56bc9bcb8c-sfkkt Status=Running
time="2020-09-18T22:43:55Z" level=info msg="[Status]: Checking whether application pods are in running state"
time="2020-09-18T22:43:55Z" level=info msg="The running status of Pods are as follows" Status=Running Pod=nginx-56bc9bcb8c-sfkkt
time="2020-09-18T22:43:57Z" level=info msg="[Chaos]:Number of pods targeted: 1"
time="2020-09-18T22:43:57Z" level=info msg="[Ramp]: Waiting for the 10s ramp time before injecting chaos"
time="2020-09-18T22:44:07Z" level=info msg="IP address: <IP_ADDRESS>"
time="2020-09-18T22:44:07Z" level=info msg="[Status]: Checking the status of the helper pods"
time="2020-09-18T22:44:07Z" level=info msg="[Status]: Checking whether application containers are in running state"
time="2020-09-18T22:44:09Z" level=info msg="[Status]: Checking whether application pods are in running state"
time="2020-09-18T22:44:09Z" level=info msg="The running status of Pods are as follows" Pod=pod-network-loss-zakdaw Status=Running
time="2020-09-18T22:44:11Z" level=info msg="[Wait]: waiting till the completion of the helper pod"
time="2020-09-18T22:44:11Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:12Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:13Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:14Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:15Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:16Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:17Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:18Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:19Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:20Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:21Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:22Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:23Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:24Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:25Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:26Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:27Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:28Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:29Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:30Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:31Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:32Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:33Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:34Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:35Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:36Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:37Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:38Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:39Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:40Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:41Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:42Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:43Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:44Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:45Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:46Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:47Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:48Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:49Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:50Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:51Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:52Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:53Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:54Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:55Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:56Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:57Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:58Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:44:59Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:45:00Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:45:01Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:45:02Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:45:03Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:45:04Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:45:05Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:45:06Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:45:07Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:45:08Z" level=info msg="helper pod status: Running"
time="2020-09-18T22:45:09Z" level=info msg="helper pod status: Succeeded"
time="2020-09-18T22:45:09Z" level=info msg="The running status of Pods are as follows" Status=Succeeded Pod=pod-network-loss-zakdaw
time="2020-09-18T22:45:10Z" level=info msg="[Cleanup]: Deleting all the helper pod"
time="2020-09-18T22:45:12Z" level=info msg="[Confirmation]: The pod network loss chaos has been applied"
time="2020-09-18T22:45:12Z" level=info msg="[Status]: Verify that the AUT (Application Under Test) is running (post-chaos)"
time="2020-09-18T22:45:12Z" level=info msg="[Status]: Checking whether application containers are in running state"
time="2020-09-18T22:45:12Z" level=info msg="The running status of container are as follows" container=nginx Pod=nginx-56bc9bcb8c-sfkkt Status=Running
time="2020-09-18T22:45:14Z" level=info msg="[Status]: Checking whether application pods are in running state"
time="2020-09-18T22:45:14Z" level=info msg="The running status of Pods are as follows" Pod=nginx-56bc9bcb8c-sfkkt Status=Running
time="2020-09-18T22:45:16Z" level=info msg="[The End]: Updating the chaos result of pod-network-loss experiment (EOT)"


Invalidate raw components as valid nodes.

This fixes #995.
I also converted the isolation test to Mocha to help me test that easier as well while writing this. It works in Firefox and Chrome, as well as old WebKit (well...Mocha mysteriously thinks there's a leaked i, but I highly doubt it's Mithril doing that).
As for performance, the TodoMVC benchmarks clock roughly a 5-10% speed improvement on Chrome and similar on Firefox. Also, the GC is a bit less. I didn't tune much outside what I had changed, though.
/cc @lhorie @tivac

Oh, and as a drive-by, I fixed the controllers to always be called with new, to match the documentation. I didn't update the docs with this commit, only the code.
As for #994, that can be trivially implemented, since all controller instantiation follows the same code path. I just didn't want to decide that yet, and just fix a place where documentation didn't match reality.

I don't have strong feelings on this beyond disliking the unrelated changes you've added. Those should be separate PRs.

@tivac I'm not unfixing the sometimes-construct problem (which is inconsistent with the docs), because it's a little too tied to the rest of my patch. The rest I can remove, though.

I've never knowingly run into the sometimes-new stuff, but I've looked at the code and seen it. I don't have a problem w/ that one.

@tivac The previous implementation was only observable in ES5 for edge case stuff. ES6 is when people got concerned, since it was very observable when using ES6 classes (hence #994 and the two pens there). Thankfully, whatever ends up the case with #994 is a trivial fix after this patch.

Note that I just updated the PR description.

Hey, sorry I forgot to add a comment here.
So, I went ahead and tried to update some project to this, but it actually turned out it was going to require a somewhat big migration effort in almost all of them.
The general challenge is that code using old school style component instantiation breaks. I had suspected that it would be possible to support both new and old component node structures, but if this requires a breaking change, I'm not convinced that the pros outweigh the cons. Basically, I know of several projects that would break with this change (some of which don't even have a maintenance retainer), but this fix wouldn't really have an upside for me (both in terms of code written and future code).

@lhorie That doesn't bode well for your rewrite... :frowning:
I did tag this as 0.3 for a reason - I knew it would break things, but I wasn't sure of the severity. If it takes a while for users to be fixed, I can wait. Mind if I leave this open for the time being? I'll try to keep it in sync with next.

@lhorie I could modify this to allow both, but it would slow things down somewhat.

Closing. If this ends up in an update between now and the rewrite's release, it can be rewritten against next of then.


Mark a single line of Vision uncovered.

I am declaring bankruptcy on the last line of coverage for now. I just want coveralls to stop giving Xes. I will go back and refactor that code later (it will be a non-trivial effort).

Coverage increased (+0.01%) to 100.0% when pulling 565ab9cc3c267d0f38e87ffb93f65d7e195fc689 on lukesneeringer:coverage-bankruptcy into 0b2c4c3c1a44bd082324ffecf5e4d907287abf38 on GoogleCloudPlatform:master.

OMG!


translate keyword doesn't work

This is quite odd. The translate keyword doesn't work, but gt does. Perhaps there is a conflicting keyword or something in my setup?

Version 3.0.0.

Ooops. Yeah, sorry that was my fault since I changed the file structure, I totally forgot to update the "translate" keyword. Please try version 3.0.1. https://github.com/thomashempel/AlfredGoogleTranslateWorkflow/releases/tag/V3.0.1
Best wishes,
Thomas

Thank you. It works.

Awesome! :-)


Autocomplete overlaps with typed text

Microsoft PowerToys version
0.82.1
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce

I tried to run a powerhell comand but forgot >
✔ Expected Behavior
Autocomplete after the typed text
❌ Actual Behavior
Autocomplete on first guess
Other Software
No response

/dup https://github.com/microsoft/PowerToys/issues/13554


Expose current commit on backend

[ ] https://docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto-git-info
[ ] update https://github.com/usds/prime-simplereport-docs/blob/main/DEBUG.md#check-current-commit

The problem here is not the spring side, or I would have done it weeks ago—it's the docker build context.


Feature request: Ability to turn off scripts and dependency on jquery

I'm aware that I can opt out of the scripts by setting every script to false in bootstrap-sass.config.js but the result still depends on jQuery, which I do not need.

Hi @positron I agree this is an issue, and I'd happily merge in a pull request.
We're extremely busy getting the successor to this ready:
Please see the links here: http://forum.shakacode.com/t/open-source-help-wanted/416
@positron if you can post some more info, I can help you with making this one work.

It looks like bootstrap-loader 0.0.5 does what I want, thanks!


Which version of Python should I use?

Hello, I am a beginner, so there are many things I don't understand. I would like to ask which version of Python should I use? 3.10.11？

I think it shouldn't matter. 3.10 is a good start point.


OperationalError

View details in Rollbar: https://rollbar.com/Zooniverse/Zooniverse_Aggregation/items/80/
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/rq/worker.py", line 568, in perform_job
    rv = job.perform()
  File "/usr/local/lib/python2.7/dist-packages/rq/job.py", line 495, in perform
    self._result = self.func(*self.args, **self.kwargs)
  File "/app/engine/jobs.py", line 11, in aggregate
    project.__setup__()
  File "/app/engine/aggregation_api.py", line 195, in __setup__
    self.__postgres_connect__(environment_details)
  File "/app/engine/aggregation_api.py", line 1491, in __postgres_connect__
    raise psycopg2.OperationalError()
OperationalError

No idea why this happened - subsequent runs have been fine.


[Learn Rebrand Metadata Publish]

Learn Build status updates of commit 8f6535d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

docs/data-markup/toc.md
:white_check_mark:Succeeded

docs/skills/index.yml
:white_check_mark:Succeeded
View

docs/skills/toc.md
:white_check_mark:Succeeded
View

docs/toc.md
:white_check_mark:Succeeded

README.md
:white_check_mark:Succeeded

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


[WIP] Verify CRD validation schema to be structural before updating

CRD schema needs to be structural as a requirement for CRD to
be eligible for updating.
Signed-off-by: Vu Dinh<EMAIL_ADDRESS>

@dinhxuanvu Now that master uses kube 1.16, is this easier to get in? Is it obsolete?

@njhale I need to rebase this PR but yes it will be a small change to get this in now that master is in 1.16.

This PR is outdated and no longer needed. Closed.


x/tools/gopls: bad error messages when changing package names

Repro case:
-- go.mod --
module mod.com
-- foo/foo.go --
package foo
-- foo/bar_test.go --
package foo_

Modifying foo/bar_test.go to contain package foo_test results in bad error messages (it doesn't recover from expecting that its name is foo_.

Is this a duplicate of #38866?

Possibly, but I think there are also issues with transitioning from a regular package to an x test.

I've got a repro based on the above testcase, and will start taking a peek soon. Is anyone else working on this, though? Don't want to step on toes. =)

Go right ahead. i was going to look at #38866 but there's other things to do.

Let's close this now that the test has been enabled.


ubuntu disable automatic screen dimming

https://askubuntu.com/questions/1072933/how-can-i-disable-automatic-screen-dimming-when-the-wireless-mouse-has-low-batte
:~# gsettings get org.gnome.settings-daemon.plugins.power idle-dim
true

:~# gsettings get org.gnome.settings-daemon.plugins.power idle-brightness
30

:~# gsettings set org.gnome.settings-daemon.plugins.power idle-dim false

(process:14320): dconf-WARNING **: 09:29:22.465: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY

https://askubuntu.com/questions/323776/gsettings-not-working-over-ssh/326773#326773
:~# dbus-launch  gsettings set org.gnome.settings-daemon.plugins.power idle-dim false
:~# gsettings get org.gnome.settings-daemon.plugins.power idle-dim
false

:~# gsettings get org.gnome.desktop.session idle-delay
uint32 300

:~# dbus-launch gsettings set org.gnome.desktop.session idle-delay 0

:~# gsettings get org.gnome.desktop.session idle-delay
uint32 0

:~# gsettings get org.gnome.desktop.screensaver lock-enabled
true

:~# dbus-launch gsettings set org.gnome.desktop.screensaver lock-enabled false

:~# gsettings get org.gnome.desktop.screensaver lock-enabled
false


Textfield behaves abnormally when Flutter Web App is loaded on some android devices running Webview on a native Android app

I built a flutter app and ran to on web and it works pretty smoothly.
But when I load the same webapp on an android webview, the textfield behaves abnormally in the webview.
Expected results: Textfield should behave normally.
Actual results: Text field behaves abnormally. The cursor position changes with extra spaces at the end of the text, as the text length increases.
Please refer gif:

Flutter web app link : https://ashank96.github.io/build/web/
Android Native web-view code
package com.ashank.nativeflutterwebview;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.text.TextUtils;
import android.webkit.ValueCallback;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.Toast;

public class MainActivity extends AppCompatActivity {
    WebView webView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        webView = findViewById(R.id.webView);
        webView.setWebViewClient(new WebViewClient() {
            @Override
            public boolean shouldOverrideUrlLoading(WebView view, String url) {
                view.loadUrl(url);
                return false;
            }
        });
        webView.getSettings().setJavaScriptEnabled(true);
        webView.setVerticalScrollBarEnabled(true);
        webView.setHorizontalScrollBarEnabled(true);
        webView.loadUrl("https://ashank96.github.io/build/web/");

    }
}

Logs
[✓] Flutter (Channel beta, 1.22.0, on Mac OS X 10.15.4 19E287, locale en-IN)
    • Flutter version 1.22.0 at /Users/ashankbharati/Applications/flutter
    • Framework revision d408d302e2 (6 days ago), 2020-09-29 11:49:17 -0700
    • Engine revision 5babba6c4d
    • Dart version 2.10.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/ashankbharati/Library/Android/sdk
    • Platform android-30, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install:
        sudo gem install cocoapods

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] IntelliJ IDEA Community Edition (version 2018.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] Connected device (3 available)
    • SM M315F (mobile) • RZ8N60E21VM • android-arm64  • Android 10 (API 29)
    • Web Server (web)  • web-server  • web-javascript • Flutter Tools
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 85.0.4183.121

! Doctor found issues in 2 categories.

Hi @ashank96
No issues when running in a new native on Android 10.

Can you please try the same native app on another device with a different keyboard? it could Samsung keyboard related issue

@TahaTesser
Yeah in some devices it's working. But how to fix this for all ?
Especially SAMSUNG devices.

Hi @ashank96
Thanks for the additional information
Sample Android APK with native webview and flutter URL
app-debug.apk.zip
@darshankawar Just tried on Samsung device running Android, it seems to be working fine as well

However, Textfield does behave abnormally on Samsung running Android 10

However, Textfield does behave abnormally on Samsung running Android 10

@TahaTesser then its an os-specific issue right ?

Hi @ashank96
It's device-specific since I can't reproduce.  the issue on another device running the same Android 10

@nturgut not sure if its a dup issue. It does effect web-10 customer.

@ferhatb whats dup issue ?

@ashank96 I don't have a duplicate issue for this case. I want to confirm you also experience this problem with webview right? Does text fields normally work for you with the Flutter Android application?

One suggestion I have is using the master channel instead of the beta channel. We did improvements on the text measurement which might address this issue -> "extra spaces at the end of the text, as the text length increases."

@nturgut Yes, it works fine with Flutter Android app. It also works fine on flutter webapp.
It just does not work fine if we run the same flutter web app, in an android webview.

One suggestion I have is using the master channel instead of the beta channel. We did improvements on the text measurement which might address this issue -> "extra spaces at the end of the text, as the text length increases."

Sure will try this @nturgut.
But in that case, I would need to take only those changes from master, as we cannot afford to overlook the stability that beta provides, by shifting fully to master, for the whole app.

@nturgut Can you please let me know the file(s)/PR(s) in which the changes have been done, so that I can accommodate those changes only?

Can you check with the most recent beta channel? Looks like our change also made it to the beta channel.
/cc @mdebbar is this text measurement related?

@nturgut I upgraded to flutter beta latest and checked. But the issue still persists.
Can you please let me know, what all files in master channel may have this fix, I will try to make those changes and check ?

@nturgut @ferhatb Can we please prioritise this? Or can you give some hints on the fix, so that I can try fixing it? Actually we have to go to production, and just this bug is a blocker.
We don't want to change our codebase setup from flutter web, just because of this issue.

@mariamhas can you evaluate the priority? This is measurement inside text field for Flutter Web App loaded as a webview. (According to the comments it's also not reproducible on every device)

@ashank96 , have you tried adding a font asset, making that font default text style for app?.  @mdebbar : could this be due to different default stylesheet for a browser on specific device?

@ferhatb No I haven't. How will that help?
Given that I am opening the fluter web app in an android native webview, where should I add the font asset ?

@mdebbar @ferhatb anyway I can test this fix merged to the engine ? How do I use this engine code in latest flutter master/beta? Or is there any timeline for new engine release for the flutter repo?
Can you please help here?
I just want to confirm if the issue is actually resolved by testing it.
TIA.

@ashank96 it first rolls into master. It should be in dev channel by next week. You can test today with master.

@ferhatb the issue still persists with the latest master update too. Can we please reopen this issue ?

/cc @mdebbar

@ashank96 I was able to repro this issue on all browsers before (even on desktop Chrome/Firefox/Safari). But now I'm not able to reproduce it anywhere.
Please make sure you are using the master channel and update it. If you are still seeing the issue, would you mind starting a new issue with all the details (reproduction steps, code sample, flutter doctor output, etc).


Modify the maximum allowable edge dimension

Fixes https://github.com/E3SM-Project/polaris/issues/149
Checklist

[ ] Testing comment in the PR documents testing used to verify the changes

@xylar I might replace this later with something more robust and elegant. This is a quick fix.

@xylar That's a good idea! I'll put that on the to-do list for after AGU.

@xylar Let me know what you think. I decided to go with just moving polygon coordinates so that they don't cross boundaries rather than removing or adding additional polygons (corresponding to cells or edge kites). The side that the polygons end up on depends on the value of xCell or xEdge (yCell or yEdge) so it can result in jagged boundaries for the kites. I'm personally ok with that because I prefer to see the fields as they actually are when testing. With duplicated polygons plotted, it may be hard to see just how many bad values emerge at the boundary, for example. If you have a strong feeling otherwise, let me know. I don't envision we would use edge quantities for publication-ready images anyhow given how difficult normalVelocity is to interpret by eye.

Sure, I'm fine with this approach.

Testing
I tested this approach on perlmutter with the in-development drying_slope test case. I will test it with any other tasks that produce edge-quantity viz before merging.

Merge when you're ready.

The only other task that currently plots a horizontal edge field with periodicity is baroclinic_channel. Its figure also looks good:


:tada: add prefect engine when running ETL

Adds option --engine for specifying which scheduler to use (default is --engine etl). Using --engine prefect orchestrates ETL with Prefect and creates SQLite file that could be inspected with Prefect UI.
The Prefect UI runs on http://staging-site-prefect:4200/flow-runs (there's a new link from Wizard). Here's an example of a run after changing regions.
It runs steps concurrently with a single worker (default) and uses Dask with multiple workers (flag --workers).
Comparison to --engine etl

Prefect doesn't interrupt other tasks on error and tries to complete as many tasks as possible
When using multiple workers, it's easy to find the failing task and the exception (it's not as trivial from Buildkite logs)
structlog.info adds colour to output, but Prefect can't decode it and prints characters like [0m [info. This should be soon fixed in https://github.com/PrefectHQ/prefect-ui-library/pull/2582
There's not much overhead from Prefect compared to multiprocessing
We could leverage Dask features (e.g. memory limiting), but it's also likely that a naive multiprocessing is good enough for us and we shouldn't complicate our lives (like with DVC)

My 2 cents
I'd find it very helpful for inspecting ETL runs on staging servers and in production (where I find searching through logs really annoying). We could give it a try and see if it was worth it in a few weeks. Prefect could also be useful for automatic dataset updates, which currently exist as bash scripts and are run by Buildkite. It works, but as @lucasrodes suggested, we might need more flexibility.
TODO before merging

[ ] Undo changes to regions.yml

This looks great, thanks for doing this, Mojmir.
This would be an alternative to Buildkite, where error logs are more legible?
I tried checking the Prefect UI on Wizard, and realised that one needs to first run make prefect-ui. This feels a bit confusing at first, maybe we should signal this somewhere. Maybe Wizard can have an option to trigger it? or some message Also wondering if the app should be in the 'Misc' category, or rather in 'Monitoring', for instance.
Also, I tried running make prefect-ui, but run into the following error.
make prefect-ui
--- Starting Prefect UI at http://<IP_ADDRESS>:4200
poetry run prefect server start --host <IP_ADDRESS>

 ___ ___ ___ ___ ___ ___ _____
| _ \ _ \ __| __| __/ __|_   _|
|  _/   / _|| _|| _| (__  | |
|_| |_|_\___|_| |___\___| |_|

Configure Prefect to communicate with the server with:

    prefect config set PREFECT_API_URL=http://<IP_ADDRESS>:4200/api

View the API reference documentation at http://<IP_ADDRESS>:4200/docs

Check out the dashboard at http://<IP_ADDRESS>:4200

10:17:43.352 | ERROR   | prefect.server.services.flowrunnotifications - Unexpected error in: OperationalError('(sqlite3.OperationalError) database is locked')
Traceback (most recent call last):
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
    self.dialect.do_execute(
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute
    cursor.execute(statement, parameters)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/aiosqlite.py", line 146, in execute
    self._adapt_connection._handle_exception(error)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/aiosqlite.py", line 298, in _handle_exception
    raise error
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/aiosqlite.py", line 128, in execute
    self.await_(_cursor.execute(operation, parameters))
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 131, in await_only
    return current.driver.switch(awaitable)  # type: ignore[no-any-return]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawn
    value = await result
            ^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/aiosqlite/cursor.py", line 48, in execute
    await self._execute(self._cursor.execute, sql, parameters)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/aiosqlite/cursor.py", line 40, in _execute
    return await self._conn._execute(fn, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/aiosqlite/core.py", line 132, in _execute
    return await future
           ^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/aiosqlite/core.py", line 115, in run
    result = function()
             ^^^^^^^^^^
sqlite3.OperationalError: database is locked

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/services/loop_service.py", line 79, in start
    await self.run_once()
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/database/dependencies.py", line 125, in async_wrapper
    return await fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/.pyenv/versions/3.11.1/lib/python3.11/contextlib.py", line 222, in __aexit__
    await self.gen.athrow(typ, value, traceback)
  File "/home/lucas/.pyenv/versions/3.11.1/lib/python3.11/contextlib.py", line 222, in __aexit__
    await self.gen.athrow(typ, value, traceback)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/database/configurations.py", line 453, in begin_transaction
    yield transaction
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/database/interface.py", line 119, in session_context
    yield session
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/services/flow_run_notifications.py", line 38, in run_once
    notifications = await db.get_flow_run_notifications_from_queue(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/database/interface.py", line 405, in get_flow_run_notifications_from_queue
    return await self.queries.get_flow_run_notifications_from_queue(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/database/query_components.py", line 1115, in get_flow_run_notifications_from_queue
    await session.execute(delete_stmt)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/ext/asyncio/session.py", line 461, in execute
    result = await greenlet_spawn(
             ^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 201, in greenlet_spawn
    result = context.throw(*sys.exc_info())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
    return self._execute_internal(
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2236, in _execute_internal
    result: Result[Any] = compile_state_cls.orm_execute_statement(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/orm/bulk_persistence.py", line 1953, in orm_execute_statement
    return super().orm_execute_statement(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/orm/context.py", line 293, in orm_execute_statement
    result = conn.execute(
             ^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1418, in execute
    return meth(
           ^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection
    return connection._execute_clauseelement(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement
    ret = self._execute_context(
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context
    return self._exec_single_context(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context
    self._handle_dbapi_exception(
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2353, in _handle_dbapi_exception
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
    self.dialect.do_execute(
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute
    cursor.execute(statement, parameters)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/aiosqlite.py", line 146, in execute
    self._adapt_connection._handle_exception(error)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/aiosqlite.py", line 298, in _handle_exception
    raise error
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/aiosqlite.py", line 128, in execute
    self.await_(_cursor.execute(operation, parameters))
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 131, in await_only
    return current.driver.switch(awaitable)  # type: ignore[no-any-return]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawn
    value = await result
            ^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/aiosqlite/cursor.py", line 48, in execute
    await self._execute(self._cursor.execute, sql, parameters)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/aiosqlite/cursor.py", line 40, in _execute
    return await self._conn._execute(fn, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/aiosqlite/core.py", line 132, in _execute
    return await future
           ^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/aiosqlite/core.py", line 115, in run
    result = function()
             ^^^^^^^^^^
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) database is locked
[SQL: DELETE FROM flow_run_notification_queue WHERE flow_run_notification_queue.id IN (SELECT 1 FROM (SELECT 1) WHERE 1!=1) RETURNING id]
(Background on this error at: https://sqlalche.me/e/20/e3q8)

This would be an alternative to Buildkite, where error logs are more legible?

This is more of a complement. We would run the Prefect web UI every staging server for you, and it would be an additional way of seeing individual ETL runs or changes made to your staging server and their logs.

Also, I tried running make prefect-ui, but run into the following error.

Hm, weird. Could you try running make prefect-reset and if that doesn't work, remove file ~/.prefect/prefect.db?

Also wondering if the app should be in the 'Misc' category, or rather in 'Monitoring', for instance.

Oh right 🤦 Moved it there.

This feels a bit confusing at first, maybe we should signal this somewhere. Maybe Wizard can have an option to trigger it? or some message

Good idea! Fixed that with nicer error message.

Some entry in the docs could be of great use if we want data managers / engineers to use this tool.

The plan is to "dark launch" this first. Once we confirm that it has value, we should let data managers know and add it to docs.

@Marigold Marcel and I were trying this now, and overall it's quite impressive, though there's a ton of errors of this form littered through the run, preventing it from executing cleanly:
Encountered exception during execution:
Traceback (most recent call last):
  File "/Users/lars/Documents/owid/etl/.venv/lib/python3.11/site-packages/prefect/engine.py", line 2145, in orchestrate_task_run
    result = await call.aresult()
             ^^^^^^^^^^^^^^^^^^^^
  File "/Users/lars/Documents/owid/etl/.venv/lib/python3.11/site-packages/prefect/_internal/concurrency/calls.py", line 327, in aresult
    return await asyncio.wrap_future(self.future)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/lars/Documents/owid/etl/.venv/lib/python3.11/site-packages/prefect/_internal/concurrency/calls.py", line 352, in _run_sync
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/lars/Documents/owid/etl/etl/command.py", line 421, in run_step
    return step.run()
           ^^^^^^^^^^
  File "/Users/lars/Documents/owid/etl/etl/steps/__init__.py", line 446, in run
    dataset.save()
  File "/Users/lars/Documents/owid/etl/lib/catalog/owid/catalog/datasets.py", line 173, in save
    assert self.metadata.short_name, "Missing dataset short_name"
AssertionError: Missing dataset short_name

💡 If we got this working and integrated this, one cool thing is that we could potentially provide step-level and run-level analytics on all our ETL steps and production runs, basically telling you how things are changing over time and what's most expensive.

though there's a ton of errors of this form littered through the run, preventing it from executing cleanly:

@larsyencken how did you get the error? I can't replicate it...

@Marigold Thanks for the suggestions.
Removing ~/.prefect/prefect.db made it work!
Tried make prefect-reset, but got a slightly different error now:
make prefect-reset
==> Installing packages
poetry install --no-ansi || poetry install --no-ansi
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: etl (0.1.0)
touch .venv
--- Resetting Prefect database
poetry run prefect server database reset -y
Downgrading database...
Upgrading database...
/home/lucas/.pyenv/versions/3.11.1/lib/python3.11/contextlib.py:144: SAWarning: Skipped unsupported reflection of expression-based index ix_flow_run__coalesce_start_time_expected_start_time_desc
  next(self.gen)
/home/lucas/.pyenv/versions/3.11.1/lib/python3.11/contextlib.py:144: SAWarning: Skipped unsupported reflection of expression-based index ix_flow_run__coalesce_start_time_expected_start_time_asc
  next(self.gen)
Prefect database "sqlite+aiosqlite:////home/lucas/.prefect/prefect.db" reset!
etl-py3.11(etl-py3.11) ➜  etl git:(prefect) ✗ make prefect-ui
--- Starting Prefect UI at http://<IP_ADDRESS>:4200
poetry run prefect server start --host <IP_ADDRESS>

 ___ ___ ___ ___ ___ ___ _____
| _ \ _ \ __| __| __/ __|_   _|
|  _/   / _|| _|| _| (__  | |
|_| |_|_\___|_| |___\___| |_|

Configure Prefect to communicate with the server with:

    prefect config set PREFECT_API_URL=http://<IP_ADDRESS>:4200/api

View the API reference documentation at http://<IP_ADDRESS>:4200/docs

Check out the dashboard at http://<IP_ADDRESS>:4200

13:48:05.689 | ERROR   | prefect.server.services.telemetry - Unexpected error in: OperationalError('(sqlite3.OperationalError) database is locked')
Traceback (most recent call last):
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
    self.dialect.do_execute(
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute
    cursor.execute(statement, parameters)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/aiosqlite.py", line 146, in execute
    self._adapt_connection._handle_exception(error)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/aiosqlite.py", line 298, in _handle_exception
    raise error
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/aiosqlite.py", line 128, in execute
    self.await_(_cursor.execute(operation, parameters))
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 131, in await_only
    return current.driver.switch(awaitable)  # type: ignore[no-any-return]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawn
    value = await result
            ^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/aiosqlite/cursor.py", line 48, in execute
    await self._execute(self._cursor.execute, sql, parameters)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/aiosqlite/cursor.py", line 40, in _execute
    return await self._conn._execute(fn, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/aiosqlite/core.py", line 132, in _execute
    return await future
           ^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/aiosqlite/core.py", line 115, in run
    result = function()
             ^^^^^^^^^^
sqlite3.OperationalError: database is locked

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/services/loop_service.py", line 79, in start
    await self.run_once()
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/services/telemetry.py", line 85, in run_once
    await self._fetch_or_set_telemetry_session()
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/database/dependencies.py", line 125, in async_wrapper
    return await fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/.pyenv/versions/3.11.1/lib/python3.11/contextlib.py", line 222, in __aexit__
    await self.gen.athrow(typ, value, traceback)
  File "/home/lucas/.pyenv/versions/3.11.1/lib/python3.11/contextlib.py", line 222, in __aexit__
    await self.gen.athrow(typ, value, traceback)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/database/configurations.py", line 453, in begin_transaction
    yield transaction
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/database/interface.py", line 119, in session_context
    yield session
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/services/telemetry.py", line 63, in _fetch_or_set_telemetry_session
    await configuration.write_configuration(session, telemetry_session)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/database/dependencies.py", line 125, in async_wrapper
    return await fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/prefect/server/models/configuration.py", line 29, in write_configuration
    await session.flush()
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/ext/asyncio/session.py", line 800, in flush
    await greenlet_spawn(self.sync_session.flush, objects=objects)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 203, in greenlet_spawn
    result = context.switch(value)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 4341, in flush
    self._flush(objects)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 4476, in _flush
    with util.safe_reraise():
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 4437, in _flush
    flush_context.execute()
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/orm/unitofwork.py", line 466, in execute
    rec.execute(self)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/orm/unitofwork.py", line 642, in execute
    util.preloaded.orm_persistence.save_obj(
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/orm/persistence.py", line 93, in save_obj
    _emit_insert_statements(
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/orm/persistence.py", line 1233, in _emit_insert_statements
    result = connection.execute(
             ^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1418, in execute
    return meth(
           ^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection
    return connection._execute_clauseelement(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement
    ret = self._execute_context(
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context
    return self._exec_single_context(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context
    self._handle_dbapi_exception(
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2353, in _handle_dbapi_exception
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
    self.dialect.do_execute(
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute
    cursor.execute(statement, parameters)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/aiosqlite.py", line 146, in execute
    self._adapt_connection._handle_exception(error)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/aiosqlite.py", line 298, in _handle_exception
    raise error
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/aiosqlite.py", line 128, in execute
    self.await_(_cursor.execute(operation, parameters))
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 131, in await_only
    return current.driver.switch(awaitable)  # type: ignore[no-any-return]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawn
    value = await result
            ^^^^^^^^^^^^
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site-packages/aiosqlite/cursor.py", line 48, in execute
    await self._execute(self._cursor.execute, sql, parameters)
  File "/home/lucas/repos/etl/.venv/lib/python3.11/site

@lucasrodes is the dashboard running on http://<IP_ADDRESS>:4200? I read that the timeout thing is more of a warning than an actual error.

@Marigold after removing ~/.prefect/prefect.db, it works perfectly. However, if I then run
make prefect-reset
make prefect-ui

I get the sqlalchemy.exc.OperationalError error I mentioned above.
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) database is locked
[SQL: DELETE FROM flow_run_notification_queue WHERE flow_run_notification_queue.id IN (SELECT 1 FROM (SELECT 1) WHERE 1!=1) RETURNING id]
(Background on this error at: https://sqlalche.me/e/20/e3q8)

though there's a ton of errors of this form littered through the run, preventing it from executing cleanly:

@larsyencken how did you get the error, please? I can't replicate it.

This is ready to be merged, but I'm rethinking whether it's a good idea to introduce more complexity to ETL. Setting it as blocked until we find the right moment.

@Marigold that makes sense. I've unset myself from the reviewers list. Feel free to add me back once you want me to review it! Thanks <3

Even though I'm in love with prefect, there's not as much added value and likely not worth making our stack more complex.


compress all images to increase page speed

I have compressed the newest header images

Case study image needs to be compressed