GwtBootstrap Extra - ToggleSwitch();

I use GwtBootstrap Extra 0.9.3 in my application. I have some following code:
ToggleSwitch toggleSwitch = new ToggleSwitch();
FlowPanel  flowPanel = new FlowPanel();
flowPanel.add(toggleSwitch);
return flowPanel;
Once I run in Chrome, I got the following exception:
Throwable.java:121 Uncaught Error: com.google.gwt.user.client.ui.AttachDetachException: Exception caught: Exception caught: Exception caught: Exception caught: (TypeError) : $wnd.jQuery is not a function(…)
I confirmed Window.jQuery is not defined in Chrome development tool. But on http://gwtbootstrap3.github.io/gwtbootstrap3-demo/#toggleswitch, Window.jQuery is defined. I don't know why jQuery is not loaded on my application. Please help me out.
James

Did you import directly or indirectly the GWT module
<inherits name="org.gwtbootstrap3.client.Resources"/> BEFORE toggleSwitch resources? If not, you have to ensure your self that jQuery.js is injected.

Next time, please create an issue in the extras project. Thanks!

Thanks for your reply.
After I added . I got
another error -  $wnd.jQuery(...).bootstrapSwitch is not a function(…).
Now my gwt.xml looks like the following:

<inherits name="org.gwtbootstrap3.GwtBootstrap3"/>

<inherits name="org.gwtbootstrap3.extras.toggleswitch.ToggleSwitch"/>

James
On Mon, Dec 12, 2016 at 10:02 AM, Xiaodong Sun<EMAIL_ADDRESS>wrote:

Next time, please create an issue in the extras project. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gwtbootstrap3/gwtbootstrap3/issues/496#issuecomment-266453010,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXY5tYvux9pa4MQr0zCfhtEDPiYrI1bPks5rHWIQgaJpZM4LKlaj
.


Is this project still alive?

This project seems to have been abandoned. Whats the status?

I'd like to see this alive. Probably I'll contribute later.
It looks like PRs are still handled, but no real development is going on.

Eh, duplicate to #414


dom.yml

@hierarchy-orbit I'm not sure of the purpose of this PR, and it looks like you've been opening similar ones on many other open source projects. Closing as spam.


Does the model support frame interpolation at any timestep？

Dear author：
Great work！But I have a question. I want to know if the model support frame interpolation at any timestep. If I put the timestep as control, and concat it with the embeddings of frame1 & frame2，can the model support any timestep frame interpolation?

Hello. Thank you very much for your interest in the work. Due to the way the model is trained, it does not support passing in timestep as input and interpolating at any time. The model assumes the desired output timestep is the middle of the two frames. To achieve what you described, one would need to fine-tune/re-train for the new setting (with appropriate modification of the model).
Thank you.


IndexError while running the SuStaIn Workshop file

Before running SuStaIn using my own data, I wanted to run SuStaIn using the workshop file. Everything went smoothly except for when I want to plot the positional variance diagrams (under "Evaluate subtypes" and "choosing the optimal number of subtypes"). Python then throws the following error at me:
IndexError                                Traceback (most recent call last)
 in
1 N_S_selected = 2
2
----> 3 pySuStaIn.ZscoreSustain._plot_sustain_model(sustain_input,samples_sequence,samples_f,M,subtype_order=(0,1))
4 _ = plt.suptitle('SuStaIn output')
5
~\xxx\pySuStaIn\ZscoreSustain.py in _plot_sustain_model(self, *args, **kwargs)
450
451     def _plot_sustain_model(self, *args, **kwargs):
--> 452         return ZscoreSustain.plot_positional_var(*args, Z_vals=self.Z_vals, **kwargs)
453
454     def subtype_and_stage_individuals_newData(self, data_new, samples_sequence, samples_f, N_samples):
~\xxx\pySuStaIn\notebooks\pySuStaIn\ZscoreSustain.py in plot_positional_var(samples_sequence, samples_f, n_samples, Z_vals, biomarker_labels, ml_f_EM, cval, subtype_order, biomarker_order, title_font_size, stage_font_size, stage_label, stage_rot, stage_interval, label_font_size, label_rot, cmap, biomarker_colours, figsize, separate_subtypes, save_path, save_kwargs)
622                     # Shuffle vals according to subtype_order
623                     # This defaults to previous method if custom order not given
--> 624                     vals = temp_mean_f[subtype_order]
625
626                     if n_samples != np.inf:
IndexError: too many indices for array
Could it be that there is something wrong with the dimensions of the array? When I get rid of ",subtype_order=(0,1))" (line 3), I get at least part of the output. Same applies to when I want to plot the positional variance diagrams before crossvalidation.
Any hint would be very welcome.
Kind regards

Hi @chinei
Thanks for raising this issue!
The problem was with numpy treating tuples differently from lists when indexing. This has been fixed, but if anything else comes up please raise another issue :)

I thought it must be a trivial thing but wow that was quick, many thanks! :)


mobile can't play album or artist

Playing specific things seems to work only with a hover event (when the mouse / trackpad pointer is above it a play button appears), so on desktops I can play everything from an artist, but not an album, even if I filter (there is a related issue)...  Neither of the two work at all on mobile browsers where there is no hover at all.  There I can only play everything (or everything at random).  I guess tapping on the artist icon could at least put that in the playlist.  Ideally though, tapping the play button at the bottom should play everything that is visible.  This way whatever is currently searched for / filtered gets added to a (new) playlist.  This can also fix some desktop usability issues and make the mobile experience consistent / usable.

This has been fixed on 2.0 branch.


You may need to add 'localhost'

Hi,
I have been using for around 2 weeks, with docker compose.
After an update, I am unable to access it.
This is the error I am getting:
Attaching to linkding
linkding    | Operations to perform:
linkding    |   Apply all migrations: admin, auth, authtoken, background_task, bookmarks, contenttypes, sessions
linkding    | Running migrations:
linkding    |   No migrations to apply.
linkding    | 2023-02-19 14:52:24,245 INFO Skip creating initial superuser, user already exists
linkding    | [uWSGI] getting INI configuration from uwsgi.ini
linkding    | [uwsgi-static] added mapping for /static => static
linkding    | [uwsgi-static] added mapping for /static => data/favicons
linkding    | [uwsgi-static] added mapping for /static => static
linkding    | [uwsgi-static] added mapping for /static => data/favicons
linkding    | *** Starting uWSGI 2.0.20 (64bit) on [Sun Feb 19 14:52:24 2023] ***
linkding    | compiled with version: 8.3.0 on 20 January 2023 20:30:39
linkding    | os: Linux-5.15.83-1-pve #1 SMP PVE 5.15.83-1 (2022-12-15T00:00Z)
linkding    | nodename: 9b03f3cd91d3
linkding    | machine: x86_64
linkding    | clock source: unix
linkding    | detected number of CPU cores: 4
linkding    | current working directory: /etc/linkding
linkding    | writing pidfile to /tmp/linkding.pid
linkding    | detected binary path: /opt/venv/bin/uwsgi
linkding    | !!! no internal routing support, rebuild with pcre support !!!
linkding    | setgid() to 33
linkding    | setuid() to 33
linkding    | your processes number limit is 63264
linkding    | your memory page size is 4096 bytes
linkding    | detected max file descriptor number: 524288
linkding    | building mime-types dictionary from file /etc/mime.types...565 entry found
linkding    | lock engine: pthread robust mutexes
linkding    | thunder lock: disabled (you can enable it with --thunder-lock)
linkding    | uWSGI http bound on :9090 fd 4
linkding    | uwsgi socket 0 bound to TCP address <IP_ADDRESS>:33639 (port auto-assigned) fd 3
linkding    | Python version: 3.10.6 (main, Aug 23 2022, 08:58:52) [GCC 8.3.0]
linkding    | Python main interpreter initialized at 0x560d01234ba0
linkding    | python threads support enabled
linkding    | your server socket listen backlog is limited to 100 connections
linkding    | your mercy for graceful operations on workers is 60 seconds
linkding    | mapped 274608 bytes (268 KB) for 4 cores
linkding    | *** Operational MODE: preforking+threaded ***
linkding    | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x560d01234ba0 pid: 1 (default app)
linkding    | *** uWSGI is running in multiple interpreter mode ***
linkding    | spawned uWSGI master process (pid: 1)
linkding    | spawned uWSGI worker 1 (pid: 15, cores: 2)
linkding    | spawned uWSGI worker 2 (pid: 17, cores: 2)
linkding    | *** Stats server enabled on <IP_ADDRESS>:9191 fd: 14 ***
linkding    | spawned uWSGI http 1 (pid: 19)
linkding    | 2023-02-19 14:52:51,556 ERROR Invalid HTTP_HOST header: 'localhost:9090'. You may need to add 'localhost' to ALLOWED_HOSTS.
linkding    | Traceback (most recent call last):
linkding    |   File "/opt/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
linkding    |     response = get_response(request)
linkding    |   File "/opt/venv/lib/python3.10/site-packages/django/utils/deprecation.py", line 135, in __call__
linkding    |     response = self.process_request(request)
linkding    |   File "/opt/venv/lib/python3.10/site-packages/django/middleware/common.py", line 48, in process_request
linkding    |     host = request.get_host()
linkding    |   File "/opt/venv/lib/python3.10/site-packages/django/http/request.py", line 148, in get_host
linkding    |     raise DisallowedHost(msg)
linkding    | django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: 'localhost:9090'. You may need to add 'localhost' to ALLOWED_HOSTS.

I have not changed the env file.
Is this a bug on the new image or is there a fix?
Thank You.

Testing the latest image locally I'm not getting the error:
git clone git@github.com:sissbruecker/linkding.git
cd linkding
mkdir data
cp .env.sample .env
docker pull sissbruecker/linkding:latest
docker-compose up
# Open localhost:9090 in browser

I would guess you are using a reverse proxy? Did you change your reverse proxy settings before the update? How is it configured?

Also you can try using the previous linkding version to check if the problem was actually introduced by the latest version: sissbruecker/linkding:1.17.1

Hi @sissbruecker I have tested recreating it, and it seems to work when I remove the     env_file: - .env statement from the compose file.
Even when removing everything from the env file, if I specify that file, it fails.
Tested on latest and 1.17.1, and had the same issue. Not sure why it was working before.


Migration 0010 fails on PostgreSQL

Fails with this error:
django.db.utils.OperationalError: cannot ALTER TABLE "djangocms_blog_blogcategory" because it has pending trigger events
This is probably because this migration does both schema and data migration in one transaction which is not allowed in PostgreSQL<9.4. See stack overflow.
Now the best way to solve this would be to split migration in to 2 separate migrations but this is not an option since migration numbering would be messed up. Another option would be to commit transaction after doing schema changes and start a new transaction before doing data migration.
@yakky Do you have any suggestions?

#203!


pull request for e2e test at 12/29/2016 07:45:14

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Q:Processing of ceres_scan_matcher_2d.cc

I would like to know what is being done in lines 75 to 82 of "ceres_scan_matcher_2d.cc".

We have a point_cloud and a grid.  What we are trying to compute is the transform that best aligns the points in point_cloud with the occupied cells in grid.
In Cartographer, this is formulated as an optimization problem for Ceres.  We provide functions that calculate the cost and Ceres finds the variables that minimize this cost.
Here the cost is the probability of a point being in empty space.  So if point_cloud contains many points that are empty in grid, this is considered high cost.  We want Ceres to calculate a pose that minimizes this cost, meaning more points matching non-empty (occupied) cells in the grid.
In CreateOccupiedSpaceCostFunction2D():
ceres::CostFunction* CreateOccupiedSpaceCostFunction2D(
    const double scaling_factor, const sensor::PointCloud& point_cloud,
    const Grid2D& grid) {
  return new ceres::AutoDiffCostFunction<OccupiedSpaceCostFunction2D,
                                         ceres::DYNAMIC /* residuals */,
                                         3 /* pose variables */>(
      new OccupiedSpaceCostFunction2D(scaling_factor, point_cloud, grid),
      point_cloud.size());
}

OccupiedSpaceCostFunction2D contains the logic for calculating the cost for Ceres.  You can see in OccupiedSpaceCostFunction2D::operator() how we are taking the location of each point, indexing into the grid, and returning the value in the grid cell.


Renaming/cloning entries

Describe the bug/problem
When renaming entry, current name is being deleted instead of being left for edition. Similarly when I duplicate entry, its not " (clone)" but "(clone)". They seemed similar enough for me to put them in single issue.
Steps to Reproduce the bug/problem
Add request entry and then change name or clone it.
Expected behavior
It should have current name editable when renaming and cursor put at the end, and while cloning it should use current name too.
Device Info (The device where you encountered this issue):

OS: opensuse Tumbleweed
Version: tubmleweed

Please add screenshots/videos

Thought it would be obvious but sure

@Michal-Szczepaniak

"untitled" is just a placeholder. It means no name has been assigned. That is why renaming it shows blank text field. You can try it for any other name, you won't have any issue.
" (clone)" becomes "(clone)" due to trimming which is fine for the time being.

but the name has been assigned that's what i'm telling you
I don't mean " (clone)" vs "(clone)" i never even mentioned it, i mentioned it should be "original name (clone)"

You would not believe it! Its working fine i was just renaming entry named untitled which was in fact not titled untitled but untitled


Option 2: Fix/unset fo sot when overdue

Change description
Nightly test fail because the the fo sot of field is set to true before the case goes overdue. This makes sure the fields are set to null when overdue.
Option 1: https://github.com/hmcts/nfdiv-frontend/pull/3368
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/NFDIV-
Pull request checklist
Before raising

[ ] tests have been updated / new tests has been added (if needed)
[ ] README and other documentation has been updated / added (if needed)

Before merging

[ ] this ticket been reviewed by QA
[ ] the user story been signed off by the PO

Note: Bug fixes, dependency updates and technical tasks do not directly impact the user experience and can be merged without QA and PO review.

Closing because I dont think this makes sense. The issue is we dont know if the other app will now apply even if its overdue so we cant set both to null.


(PUP-10315) Use http client to process the server list

Blocked on https://github.com/puppetlabs/puppet/pull/8010
If server_list is specified, then use the http client to route to the puppet
service and store the resulting server and port in the context so that
Puppet::Util::Connection.determine_{server,port} still return the last
resolved server/port.
If we failed to connect to an entry in the server list, then we tried to
access a variable that didn't exist while logging the debug message, which
masked why the server wasn't available.

CLA signed by all contributors.

jenkins please test with servertests

jenkins please test this with servertests

jenkins please test this with servertests


Evernote support

https://twitter.com/2Kids_UK/status/1224354513223589889?s=20
https://qiita.com/wtetsu/items/c43232c6c44918e977c9#comment-5e5eab9107f3932c4a26

Solution: Install Mouse Dictionary iframe support
https://chrome.google.com/webstore/detail/mouse-dictionary-iframe-s/nigglogmamjbcnljijokibobpcfgmdfn/related


Change mail id and it's link

Update the following email id to<EMAIL_ADDRESS>in the Contact Us section.

I am interested in this issue. please assign it to me

@ramdhanihendrie Go ahead


meaning of insertion_radii.txt

Hi,
I generated a monodisperse packing with your code and I'm interested in calculating the mean pore size within the packing. Does the insertion_radii.txt file contain the values of each pore size? Why are there negative values? I expected to find radii size (positive values).
Best wishes!

Hi,

Does the insertion_radii.txt file contain the values of each pore size?
Under some definition of pore sizes, yes. I.e. the program generates "pore centers" in the packing randomly and uniformly and calculates distances to the nearest sphere surfaces. The resulting distribution also sometimes called "nearest surface distribution".

Why are there negative values?
I write negative values for "pore centers" that appeared inside hard particles. I.e. these are the distances to the nearest surface from inside the hard particle (taken with the minus sign).

There was actually another project in this research group where we were calculating pore size distributions with different methods, so you may find it interesting: https://github.com/VasiliBaranov/PorousMediaAnalysis . The related paper is here: https://pubs.rsc.org/en/content/articlelanding/2016/nj/c5nj02814k#!divAbstract
Hope this helps.
Best,
Vasili

Thank you very much!


[gh-650] add tests for BTCAddress Move module and support passing authentication key type for Bitcoin addresses under ecdsa scheme.

Resolve #650 again.

Add tests for bitcoin_address.move, encoding.move, decoding.move files.
Support passing authentication key types p2pkh and p2sh into command line when updating Rooch account address with a new Bitcoin authentication key for ECDSA scheme.

@jolestar This PR is ready for review.


Bi-directional bindings between Observable<T> and DynamicSubject<T>?

I've found myself wanting these a few times this past couple of weeks - am I coming at the problem wrong, or is this something that could be useful elsewhere?

Ignore me, swiftc was being slow. It works fine, thanks :)


Updates for GNP

We need to verify what has been implemented for GNP, add any remaining functionality, and test everything. If the rule is stayed, we will need to remove the functionality already added by CVP.

The list of Jira tickets is here:
https://camddevelopment.atlassian.net/issues/?filter=14101&jql=project %3D EC AND type !%3D Epic and "Epic Link" %3D EC-3759 and status not in (Closed%2C Invalid) and Sprint !%3D 1084 ORDER BY key ASC
EC-3753	GNP: Add Program Code to MP (Development)
EC-3754	GNP: Method Checks Updates (Development)
EC-3755	GNP: Formula Checks Updates (Development)
EC-3756	GNP: NOX Apportionment (Development)
EC-3758	GNP: Daily Backstop Rate (Development)
EC-3921	GNP: Daily NOx Emission Check Updates (Requirements)


Notebooks should source "markdown.styles"

Stylesheets added to "markdown.styles" should be used by Notebooks on rendered Markdown cells! Tagging @mjbvz for his work on #121256.

I’m not convinced they should. The markdown preview and notebook cells have very different dom structures and uses

@mjbvz would you be opposed to a "notebook.markup.styles" setting? If not, how are users with custom styles expected to achieve visual parity between plain markdown and Notebook previews currently?


Error input Stream

[ERROR] -  Error: input stream: Unable to retrieve video metadata
   at getJSONWatchPage (/home/pi0/discord-music-24-7/node_modules/ytdl-core/lib/info.js:184:11)
   at runMicrotasks (<anonymous>)
   at processTicksAndRejections (internal/process/task_queues.js:97:5)
   at async exports.getBasicInfo (/home/pi0/discord-music-24-7/node_modules/ytdl-core/lib/info.js:34:14)
   at async Map.getOrSet (/home/pi0/discord-music-24-7/node_modules/ytdl-core/lib/cache.js:24:19)
   at async exports.getInfo (/home/pi0/discord-music-24-7/node_modules/ytdl-core/lib/info.js:252:14)
   at async Map.getOrSet (/home/pi0/discord-music-24-7/node_modules/ytdl-core/lib/cache.js:24:19)

i am having this issue, i do not know why, is the first time that i try to host/run a discord bot so i do know nothing about.

I'm gonna check a bit further into this since someone else reported this to me directly.
Thanks for your report!

I tried doing this and I got the error. Once I updated ytdl-core the error was gone.
Try pulling the changes from master with git pull origin master,
Then remove the node_modules folder with rm -rf node_modules
And re-install the dependencies: npm install
Try that and tell me if you still get the error so I can close this issue! :)

thanks man it worked!

Glad it worked!


support for RETURNDATASIZE and RETURNDATACOPY

Hey @0v1se , this change has already been implemented in https://github.com/ethereumjs/ethereumjs-vm.  Also, this repository is simply a distribution repo.  The actual development happens on https://github.com/trufflesuite/ganache-core .

@jwasinger hey
Thanks for the clarification.
npm and node is not my area of expertise
Now I get it why there are 4 almost identical files in build folder :)

@0v1se I've stopped committing the build directory to avoid this sort of confusion going forward. Even though it couldn't be accepted, thanks for the contribution!


Question: What's your opinion about supporting subtitle providers without API?

There are some popular subtitle providers doesn't have an API.
Is subliminal willing to support -- or opening to accept PR for -- those kind of subtitle providers by parsing HTML?

Yes, it's already the case for most providers. You can take inspiration from the Addic7ed provider.
One requirement however is to never hide subliminal's activity by setting the correct User-Agent.

Thank you. I didn't know that Addic7ed doesn't have API.


fix minor bug

On running pkl_to_results.py an error showed up:
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces)

This was fixed by changing the view() function to reshape() in line 30 according to the issue here.

Hi @hardik01shah, thanks for your PR.


Initialize shader placeholders up front

Then use the placeholder to create the shader instead of swapping RIDs This fixes a false positive that reported leaked shaders
Fixes recent regression from #79606 mentioned here https://github.com/godotengine/godot/pull/79606#issuecomment-1660989975

Thanks!


V2 - RNN mode, various precision improvements

This PR is towards a V2 of the blog post. Extensions include:
Successes:

Fix some of the precision issues and conjugations in the original blog post.
Reparameterize the model slightly to make it possible to convert to RNN mode (this breaks previous versions unfortunately).
Change the NN module in flax to allow it to run in RNN mode (and cache the current hidden state efficiently)
Utilize tools from FLAX to make it possible to prime the preprocessing during inference to avoid recalculation for parameterization when parameters do not change.
Add in the appending of RNN for DPLR to the blog post
Add a new datasets -> FSDD for speech. (https://jovian.ai/mr-skully/fsdd-audio-classification) confirm that this model gets 97% accuracy for classification.

Failures:

I tried to train an autoregressive model on speech. I think it worked? But it didn't sound write. Possibly need to learn mode about speech encoding when I have time.

@albertfgu if you are interested

This is awesome - thanks @srush! Have you already re-run QuickDraw, MNIST completion, and MNIST/CIFAR Classification with the updated code? If not, let me do that the next couple of days!

I reran MNIST, and MNIST-Classification and results looked good. Not sure if we need to run the others, but if you have time. Someone also added wandb integration which might make it easier to store logs and even models, synced with versions.
Was going to try a bit more on speech. I would like to get SpeechCommands generation working on 12GB GPU. But might need to figure out some Jax memory tricks first.

Sounds good; let me re-run CIFAR Classification at least, as we couldn't reproduce results with v1 for whatever reason (#17). Happy to try to add W&B integration as well.
Speech on 12 GB GPU would be super cool - let me know if I can help out there as well.

Adding another data point:
I was able to reproduce the sCIFAR-10 with v1 with my own trainer with the following setup
model_cls = functools.partial(
      s4.BatchSeqModel,
      layer=s4.S4LayerInit(N=64),
      d_model=1024,
      d_output=10,
      dropout=0.25,
      n_layers=6,
      l_max=1024,
      classification=True,
  )

  state = create_train_state(
      's4',
      model_cls,
      rng,
      # Defined input shape
      in_dim=3,
      bsz=1,
      seq_len=1024,
      lr=1e-2,
      total_steps=total_steps,
  )

and the following optimizer
s4_fn = map_nested_fn(lambda k, _: 's4' if k in
                          ['B', 'C', 'Ct', 'D', 'log_step'] else 'regular')
tx = optax.multi_transform(
{
            's4': optax.adam(learning_rate=min(lr, 0.001)),
            'regular': optax.adamw(learning_rate=lr, weight_decay=0.01),
        },
        s4_fn,
)

Also attached my eval on validation set.

Hope this helps!

This rocks! Thanks so much for letting us know.
If I get a big gpu free I'll try on v2 as well.

Oh this is amazing! I hadn't run CIFAR since like v0.5 (before we added some of the last changes for v1), so this is wonderful - thanks @frederick0329!
@srush - I can try grabbing a free GPU next week/week after (dead week/spring break) and see if we can reproduce for v2!

Thanks for chiming in @frederick0329!
FYI @srush @siddk - for reproducing, I would recommend using a smaller model actually which should be a lot faster and get pretty close. In particular you can decrease the model dimension from 1024 to 512. Also, you might want to lower the learning rate if you're using postnorm (from 1e-2 to 4e-3 or 5e-3); prenorm also gives similar results maybe at most 1% worse. Keeping the dt/A/B learning rates at 1e-3 or 0.1x lower should still be fine.

Got it - will give it a shot later this week @albertfgu! Thanks for the tips

Also note that our model is not training A at all. I saw that gave a small decrease in some of Albert's experiments, but maybe it is okay?

Hey @frederick0329 - we're trying to replicate the results you got with the newer version of the codebase; we're pretty sure there are no breaking changes, but still aren't able to get the results you've seen on CIFAR test.
Specifically, we're running the existing V2 code as follows (two versions):
# From your (@frederick0329) initial reply
python -m s4.train --dataset cifar-classification --model s4 --epoch 100 --bsz 64 --n_layers 6 --p_dropout 0.25 --lr 1e-2 --d_model 1024

# Following @albertfgu's suggestions
python -m s4.train --dataset cifar-classification --model s4 --epoch 100 --bsz 64 --n_layers 6 --p_dropout 0.25 --lr 5e-3 --d_model 512

The only changes between how we're running and your original code seem to be the batch_size (you seem to be using a batch size of 1), and anything special in your custom training loop -- do you remember if you were using a LR schedule, or any other things that wouldn't be covered (e.g., gradient clipping)?

What sort of performance are you getting?

I do notice now that training A makes a difference in some settings, but I'm pretty sure for me it wasn't critical for CIFAR.
Is the learning rate on C the higher or lower one? It should match the rest of the network (higher lr).
Is the dropout a Dropout1D (same mask applied across the length of the sequence) or a standard Dropout? From the code I see nn.Dropout which seems to be the standard one? IIRC this can generalize a lot worse for CNNs/RNNs - but I'm not sure how @frederick0329 managed to get his numbers if he used the code here without modifying it. He mentioned using his own trainer, I'm not sure if that makes any difference.

Hey @albertfgu - sorry we took the discussion offline; newest results are in the README. We're getting 85.81% accuracy now. As for other points:

Still not training A
Using a LR for all S4 params of 1e-3, but a global LR of 5e-3, so not that different.
We're using flax.nn.Dropout with broadcast_dims=0 which should be equivalent to the Dropout2D (channel-zeroing); I remember ensuring this with Karan.

I suspect not training A could make up to a 1% difference
I'm guessing the low learning rate on C could make a real difference. I don't remember numbers on hand exactly but I do think I played around with this a little and found noticeably worse performance with this. Methodologically, this makes intuitive sense because C is just a standard linear layer: while it's technically part of the S4 layer, if you think of S4 as being the two equations (x' = Ax + Bu, y = Cx + Du) then the first equation is the tricky part since it's an ODE/recurrence and the second one is a simple linear projection - so only parameters in the first equation should be treated specially.
Ok, I think we talked about the dropout before but I keep forgetting (sorry)

I also have some dumb questions about the code/JAX. This line in the convolution is not passing in any axis arguments so according to the numpy documentation it's performing convolutions on the last axis? But why are the shapes being passed in from the 0-th axis? Overall what's the tensor shape throughout the network, is it (length, batch, dim)?

I see. Speaking of vmapping, I was curious whether this duplicates the initialization of the layers as well or they are initialized afterwards (and all independently).
Cool, I gathered that it was (length, dim) although I'm still confused about that rfft line since the documentation says default axis is -1

Some answer inline.

I see. Speaking of vmapping, I was curious whether this duplicates the initialization of the layers as well or they are initialized afterwards (and all independently).

The argument split_rngs={"params": True} means they are initialized with a different random seed.

This line in the convolution is not passing in any axis arguments so according to the numpy documentation it's performing convolutions on the last axis? But why are the shapes being passed in from the 0-th axis? Overall what's the tensor shape throughout the network, is it (length, batch, dim)?

Cool, I gathered that it was (length, dim) although I'm still confused about that rfft line since the documentation says default axis is -1

I should document this better, but both u and K here are 1d vectors of size (length). None of this code knows about any of the other dimensions:
def non_circular_convolution(u, K, nofft=False):
When we call it down here u and K are only are shape (L). Both the batch and H dimension have been vmapped over.

To make it a little more clear, this line handles H and then this one handles batch. This lets us basically implement it like the scalar version in the paper.
Unfortunately, to implement batchnorm, we'll probably need to pull the second into the model

Got it, I need to get my hands dirty with JAX when I get a chance. Batchnorm is really annoying in general - I don't know if it's even worth it, I generally stick to LN unless I really feel like tuning benchmarks.

Yeah, it's actually kind of impressive how annoying it is in JAX. It breaks all kinds of statefulness and independence assumptions that never occurred to me.
I think we'll add it though. A couple people have requested it.


Any body here?

Hi,
This is Eugene. I'm here.
What's your question? Just a caveat that I had some health issues the past few weeks and missed posting some code.
But hopefully, I can answer your question.
Eugene

Hello, I don't have any problems, just seeing that it's quiet here. 😁
Hope you'll get better soon!

Hey Aiden,
Thank you. It looks like I'm out of commission for a few weeks - which is a like a few years in AI time ... hahaha.
From your icon, it looks like you play guitar? I've been practicing for almost four years now. It's only been within the last couple of months I feel like I've hit "intermediate".
 I play the guitar too. I started learning when I was 9, although it’s been on and off over the years. I first started with classical guitar, then moved on to electric guitar, and later to acoustic guitar. Nowadays, I don’t take lessons anymore; I just play for fun in my free time. Are you also practicing on your own? What style do you play?
AIdan

Hey Aidan,
Same with me. I'm playing electric and acoustic, "old man" hard rock and
lighter rock, respectively. Yes, practicing on my own, all through Youtube
lessons. I decided to finally learn when Covid so nicely gave me two extra
hours of the day from not commuting ... haha. I'm also dabbling in Travis
picking and Hawaiian slack key on the acoustic (we're from Hawaii).
It's really great you started learning so early!!! My "boomer" hands took a
while to get it.
Let's continue conversation on regular email: @.***
 I play the guitar too. I started learning
when I was 9, although it’s been on and off over the years. I first started
with classical guitar, then moved on to electric guitar, and later to
acoustic guitar. Nowadays, I don’t take lessons anymore; I just play for
fun in my free time. Are you also practicing on your own? What style do you
play?
AIdan
—
Reply to this email directly, view it on GitHub
https://github.com/MapRock/IntelligenceBusiness/issues/1#issuecomment-2432544943,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHWXDAODYM2XL2F2L3A63WTZ463MHAVCNFSM6AAAAABQLWT4EGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZSGU2DIOJUGM
.
You are receiving this because you commented.Message ID:
@.***>

Hey Eugene,
That's awesome! It seems like you're a really dedicated and passionate guitarist. I would love to continue chatting with you, but it looks like GitHub comments have hidden your email address. We can definitely keep in touch! My email is<EMAIL_ADDRESS>Take care,
Aidan


Correct typo and link error

Thanks for contributing to pcf-pipelines. To speed up the process of reviewing your pull request please provide us with:
Simple corrections of typos in the README file - including a bad link.

[X ] I have viewed signed and have submitted the Contributor License Agreement

I work for Pivotal

[X ] I have made this pull request to the master branch

[ N/A] I have run all the unit tests

Thanks for the correction


missing prereqs on ubuntu

On Ubuntu 14.04, buildout died for me with xslt-config: not found.  Following the answer at http://stackoverflow.com/questions/6504810/how-to-install-lxml-on-ubuntu, I used
apt-get install libxml2-dev libxslt1-dev

which fixed the problem.  Should this be added to the (excellent) installation instructions?

#42 resolved this by removing the need for libxml


Parser doesn't detect custom input date format

Is it intentional for there to be no highlighting when using a custom input date format? I'm presently using DD/MM/YY but can only get highlighting to work when using YYYY/MM/DD.

I'm pretty sure, from trying it in ledger, looking at the docs and reading the (admittedly old and outdated) grammar.y that anything that isn't YYYY?MM?DD isn't legal.
Are you using another program like hledger? If not, can you post a short snippet of a transaction with DD/MM/YY formatting that is accepted by ledger?

I'm using ledger and I have the following alias in my .zshrc:
alias ledger='ledger --input-date-format "%d/%m/%y" -f ~/storage/shared/sync/ledger.dat'

I input transactions in my ledger file as follows
14/07/21 Example transaction
   Assets:Account1      ₹500
   Assets:Account2

I see, I didn't think about that. The issue is that we can't predict what the user might use here. For example 2020Valid01Date01 is correct when using --input-date-format "%YValid%dDate%m" and one can even omit e.g. the day entirely in their format expression.
https://github.com/ledger/vim-ledger is much more permissive on that front, but I want to keep this parser stricter so that we can build things on top of it later and actually extract the (effective) date.
https://www.ledger-cli.org/3.0/doc/ledger3.html#Date-and-Time-Format-Codes shows how complex date/time format codes can get and I don't think that we should (try to) support all "sensible" combinations.
Of course you can always hack the grammar for yourself (see _single_date: $ => /\d{4}[-\.\/]\d{2}[-\.\/]\d{2}/,) to fit your needs.

I see. I wasn't aware of the complexity involved and have actually already switched over to the default format because I didn't want to miss out on the highlighting.
Thanks for your detailed response :)


guide: DVCLive reports

Effectively combine:

dvclive.Live(report="md")
cml comment create --watch --publish dvclive/report.md &

or maybe cml comment update --pr --watch --publish dvclive/report.md &

Hi. Any idea on where exactly this should be covered based on the existing cml.dev/doc structure? Or on an ideal structure if that's not sufficient? Thanks

was thinking either in a separate page below (or section within) CML with DVC

I think a section in there could work. And/or an example in https://cml.dev/doc/ref/comment


(FACT-3196) Ensure file descriptors are closed

If ioctl returns non-zero then we were leaking file descriptors.
Always return a mutable string from Facter::Core::Execution::Base.execute_command

jenkins please tests this on solaris11-64a


add support for Android ?

I ported it to Android kernel5.15 and turned off selinux to ensure that there were no issues with the system call, but it still couldn't be used and there were no errors in the log
                try {
                    NativeLibraryLoader.load();
                    File file = new File(getContext().getCacheDir(), "testnio");
                    if (!file.exists()) {
                        file.createNewFile();
                    }
                    IoUringFile ioUringFile = new IoUringFile(file.getPath());
                    ioUringFile.onRead(in -> {
                        Log.i("jin1", "111 = "  +StandardCharsets.UTF_8.decode(in));
                        ioUringFile.close();
                    });
                    Log.i("jin1", "222 = "  );
                    new IoUring()
                            .queueRead(ioUringFile, ByteBuffer.allocateDirect(8192))
                            .execute();
                    String text = "Hello, World!";
                    Charset charset = Charset.forName("UTF-8");
                    ByteBuffer buffer = ByteBuffer.allocateDirect(text.length() * 4);
                    buffer.put(charset.encode(text));
                    buffer.flip();
                    new IoUring().queueWrite(ioUringFile, buffer).execute();
                } catch (Exception e) {
                }

closed


precommit: add default hooks & fix codecov config

seems that the config did not follow YAML and si was invalid...

@shaypal5 can we make the codecov/project just as informative and keep codecov/patch as check?
the reason is that the master does not have 100% so any PR will have red :x: as a false negative signal...

This is now resolved, as one of the jobs hit the missing statement. @Borda
Generally, we need to wait for all test jobs to finish to get the correct coverage (which is a union of all per-job coverage status).


Table to Point script fails in 10.3.1 and 10.4

Table to Point script fails in 10.3.1.  This was downloaded from the Nov-Release-fix branch on 11/23.  Below is the error.
Executing: TableToPoint C:\Users\nata7004\Desktop\military-tools-geoprocessing-toolbox-mf-nov-release-fix\military-tools-geoprocessing-toolbox-mf-nov-release-fix\testdata\CSV\TabletoPoint.csv DD_2 x y C:\Users\nata7004\Documents\ArcGIS\scratch.gdb/outputPoints3 "GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]];-400 -400<PHONE_NUMBER>;-100000 10000;-100000 10000;8.98315284119522E-09;0.001;0.001;IsHighPrecision"
Start Time: Wed Nov 23 11:26:31 2016
Running script TableToPoint...
PYTHON ERRORS:
Traceback info:
File "C:\Users\nata7004\Desktop\military-tools-geoprocessing-toolbox-mf-nov-release-fix\military-tools-geoprocessing-toolbox-mf-nov-release-fix\toolboxes\scripts\ConversionUtilities.py", line 831, in tableToPoint
inputSpatialReference.exportToString())
Error Info:
'unicode' object has no attribute 'exportToString'
ArcPy ERRORS:
Executing: DeleteField C:\Users\nata7004\Documents\ArcGIS\scratch.gdb/outputLines2 JoinID
Start Time: Wed Nov 23 11:25:51 2016
Dropping JoinID from C:\Users\nata7004\Documents\ArcGIS\scratch.gdb/outputLines2...
Succeeded at Wed Nov 23 11:25:51 2016 (Elapsed Time: 0.10 seconds)
Completed script TableToPoint...
Failed to execute (TableToPoint).
Failed at Wed Nov 23 11:26:31 2016 (Elapsed Time: 0.09 seconds)'

This is the error in 10.4
`Executing: TableToPoint C:\Users\nata7004\Desktop\military-tools-geoprocessing-toolbox-mf-nov-release-fix\military-tools-geoprocessing-toolbox-mf-nov-release-fix\testdata\CSV\TabletoPoint.csv DD_2 x y C:\Users\nata7004\Documents\ArcGIS\scratch.gdb/outputPoints "GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]];-400 -400<PHONE_NUMBER>;-100000 10000;-100000 10000;8.98315284119522E-09;0.001;0.001;IsHighPrecision"
Start Time: Wed Nov 23 13:25:04 2016
Running script TableToPoint...
PYTHON ERRORS:
Traceback info:
File "C:\Users\nata7004\Desktop\military-tools-geoprocessing-toolbox-mf-nov-release-fix\military-tools-geoprocessing-toolbox-mf-nov-release-fix\toolboxes\scripts\ConversionUtilities.py", line 831, in tableToPoint
inputSpatialReference.exportToString())
Error Info:
'unicode' object has no attribute 'exportToString'
ArcPy ERRORS:
Executing: DeleteField C:\Users\nata7004\Documents\ArcGIS\scratch.gdb/outputLines2 JoinID
Start Time: Wed Nov 23 13:24:45 2016
Dropping JoinID from C:\Users\nata7004\Documents\ArcGIS\scratch.gdb/outputLines2...
Succeeded at Wed Nov 23 13:24:45 2016 (Elapsed Time: 0.06 seconds)
Completed script TableToPoint...
Failed to execute (TableToPoint).
Failed at Wed Nov 23 13:25:04 2016 (Elapsed Time: 0.05 seconds)
`


reduced test size

Tests only one app (welcome-android-gradle) and removed extra code from conftest.py.

:+1:
On Friday, 7 October 2016, Leonardo Rossetti<EMAIL_ADDRESS>wrote:

Tests only one app (welcome-android-gradle) and removed extra code from
conftest.py.
You can view, comment on, or merge this pull request online at:
https://github.com/aerogear/digger-build-cli/pull/3
Commit Summary

reduced test size

File Changes

M pytest.ini
https://github.com/aerogear/digger-build-cli/pull/3/files#diff-0 (2)
D tests/accept/init.py
https://github.com/aerogear/digger-build-cli/pull/3/files#diff-1 (0)
M tests/conftest.py
https://github.com/aerogear/digger-build-cli/pull/3/files#diff-2
(44)
R tests/test_build.py
https://github.com/aerogear/digger-build-cli/pull/3/files#diff-3 (4)
R tests/test_cli.py
https://github.com/aerogear/digger-build-cli/pull/3/files#diff-4
(12)
R tests/test_simple_action.py
https://github.com/aerogear/digger-build-cli/pull/3/files#diff-5 (0)
D tests/unit/init.py
https://github.com/aerogear/digger-build-cli/pull/3/files#diff-6 (0)

Patch Links:

https://github.com/aerogear/digger-build-cli/pull/3.patch
https://github.com/aerogear/digger-build-cli/pull/3.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aerogear/digger-build-cli/pull/3, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJnzqMdI2PWgQR5fxkcpj9RzK3f0L_Hks5qxhv6gaJpZM4KQ4Lh
.

--
Sent from Gmail Mobile


feat: BeforeUpdate hook supports update using struct field value

[x] Do only one thing
[x] Non breaking API changes
[x] Tested

What did this pull request do?
In the BeforeUpdate hook function, if the structure field value is updated and the field has the gorm:"column:field_name" set, the field is updated in SQL
User Case Description

Code:

type User struct {
	ID      int64 `gorm:"column:id;primary_key"`
	Version int64 `gorm:"column:version"`
	UserID  int64 `gorm:"column:user_id"`
}

// BeforeUpdate gorm hook
func (u *User) BeforeUpdate(*gorm.DB) error {
	u.Version = time.Now().Unix()
	return nil
}

func Update() error {
	return DB().Model(&User{}).Where("id = ?", 1).Update("user_id", 312123).Error
}

Expected Output:

UPDATE `user` SET `version`=1724247677,`user_id`=312123 WHERE id = 1

It's too tricky; it's not recommended to use Hooks for updating values. Instead, it's better to use SQL expressions.

It's too tricky; it's not recommended to use Hooks for updating values. Instead, it's better to use SQL expressions.

ok thanks

It's too tricky; it's not recommended to use Hooks for updating values. Instead, it's better to use SQL expressions.

ok thanks


Add script that builds bootable GRUB image

Add a convenient script that builds a directory structure that can be copied to a USB stick or so,
which will boot everything via GRUB on UEFI.
Also think about legacy boot.

Ahhh this probably doesn't work. Right now, Hedron relies on some legacy boot stuff, like the Bios Data ARea (BDA). This might be a problem. At Cyberus, we use our custom UEFI loader component to work around this..

Fixed with https://github.com/phip1611/hedron-minimal-roottask/commit/28e06f5a49476603acf057b050e6a388719198cf


sqlite3.OperationalError: no such table: message

When attempting to use run_flow_from_json with the Memory Chat example flow an sqlite3 error is produced.
sqlite3.OperationalError: no such table: message

Browser and Version

Browser N/A
Version 1.0.6

To Reproduce
Steps to reproduce the behavior:

Create a new flow using the Memory Chat template
Export the flow to JSON
Copy the Python Code example execution script from the API dialog
Execute the script to reproduce the error

Traceback
2024-07-08 09:06:05.390 | DEBUG    | langflow.services.manager:_create_service:61 - Create service ServiceType.DATABASE_SERVICE
2024-07-08 09:06:05.390 | DEBUG    | langflow.services.manager:_create_service:61 - Create service ServiceType.SETTINGS_SERVICE
2024-07-08 09:06:05.391 | DEBUG    | langflow.services.settings.base:set_database_url:175 - No database_url provided, trying LANGFLOW_DATABASE_URL env variable
2024-07-08 09:06:05.392 | DEBUG    | langflow.services.settings.base:set_database_url:180 - No database_url env variable, using sqlite database
2024-07-08 09:06:05.393 | DEBUG    | langflow.services.settings.base:set_database_url:199 - Saving database to langflow directory: /Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow
2024-07-08 09:06:05.393 | DEBUG    | langflow.services.settings.base:set_components_path:263 - Setting default components path to components_path
2024-07-08 09:06:05.393 | DEBUG    | langflow.services.settings.base:set_components_path:268 - Components path: ['/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/components']
2024-07-08 09:06:05.393 | DEBUG    | langflow.services.settings.base:set_user_agent:144 - Setting user agent to langflow
2024-07-08 09:06:05.394 | DEBUG    | langflow.services.settings.auth:get_secret_key:98 - No secret key provided, generating a random one
2024-07-08 09:06:05.395 | DEBUG    | langflow.services.settings.auth:get_secret_key:102 - Loaded secret key
2024-07-08 09:06:05.395 | DEBUG    | langflow.services.settings.auth:validate_superuser:76 - Resetting superuser password to default value
Traceback (most recent call last):
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/graph/graph/base.py", line 402, in run
    loop = asyncio.get_running_loop()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
    self.dialect.do_execute(
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute
    cursor.execute(statement, parameters)
sqlite3.OperationalError: no such table: message

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

Traceback (most recent call last):
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/graph/vertex/base.py", line 618, in _get_and_instantiate_class
    result = await loading.instantiate_class(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/interface/initialize/loading.py", line 39, in instantiate_class
    custom_component, build_results, artifacts = await build_component_and_get_results(
                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/interface/initialize/loading.py", line 72, in build_component_and_get_results
    return await build_component(params=params_copy, custom_component=custom_component)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/interface/initialize/loading.py", line 146, in build_component
    build_results, artifacts = await custom_component.build_results()
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/custom/custom_component/component.py", line 136, in build_results
    return await self._build_with_tracing()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/custom/custom_component/component.py", line 125, in _build_with_tracing
    _results, _artifacts = await self._build_results()
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/custom/custom_component/component.py", line 154, in _build_results
    result = method()
             ^^^^^^^^
  File "<string>", line 85, in retrieve_messages_as_text
  File "<string>", line 74, in retrieve_messages
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/memory.py", line 57, in get_messages
    messages = session.exec(stmt)
               ^^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/sqlmodel/orm/session.py", line 68, in exec
    results = super().execute(
              ^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
    return self._execute_internal(
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.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 "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/sqlalchemy/orm/context.py", line 293, in orm_execute_statement
    result = conn.execute(
             ^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1418, in execute
    return meth(
           ^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection
    return connection._execute_clauseelement(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement
    ret = self._execute_context(
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context
    return self._exec_single_context(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context
    self._handle_dbapi_exception(
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.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 "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
    self.dialect.do_execute(
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: message
[SQL: SELECT message.timestamp, message.sender, message.sender_name, message.session_id, message.text, message.id, message.flow_id, message.files
FROM message ORDER BY message.timestamp ASC
 LIMIT ? OFFSET ?]
[parameters: (100, 0)]
(Background on this error at: https://sqlalche.me/e/20/e3q8)

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

Traceback (most recent call last):
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/graph/graph/base.py", line 341, in _run
    await self.process(start_component_id=start_component_id, fallback_to_env_vars=fallback_to_env_vars)
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/graph/graph/base.py", line 964, in process
    raise e
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/graph/graph/base.py", line 961, in process
    next_runnable_vertices = await self._execute_tasks(tasks, lock=lock)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/graph/graph/base.py", line 986, in _execute_tasks
    raise result
  File "/Users/nitewriter/.pyenv/versions/3.11.9/lib/python3.11/asyncio/tasks.py", line 277, in __step
    result = coro.send(None)
             ^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/graph/graph/base.py", line 898, in build_vertex
    raise exc
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/graph/graph/base.py", line 878, in build_vertex
    await vertex.build(
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/graph/vertex/base.py", line 713, in build
    await step(user_id=user_id, **kwargs)
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/graph/vertex/base.py", line 414, in _build
    await self._get_and_instantiate_class(user_id, fallback_to_env_vars)
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/graph/vertex/base.py", line 628, in _get_and_instantiate_class
    raise ComponentBuildException(f"Error building Component {self.display_name}:\n\n{exc}", tb) from exc
langflow.exceptions.component.ComponentBuildException: Error building Component Chat Memory:

(sqlite3.OperationalError) no such table: message
[SQL: SELECT message.timestamp, message.sender, message.sender_name, message.session_id, message.text, message.id, message.flow_id, message.files
FROM message ORDER BY message.timestamp ASC
 LIMIT ? OFFSET ?]
[parameters: (100, 0)]
(Background on this error at: https://sqlalche.me/e/20/e3q8)

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

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/runtime/__main__.py", line 30, in <module>
    main()
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/runtime/__main__.py", line 19, in main
    result = run_flow_from_json(
             ^^^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/load/load.py", line 126, in run_flow_from_json
    result = run_graph(
             ^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/processing/process.py", line 102, in run_graph
    run_outputs = graph.run(
                  ^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/graph/graph/base.py", line 407, in run
    return asyncio.run(coro)
           ^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/nest_asyncio.py", line 30, in run
    return loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/nest_asyncio.py", line 98, in run_until_complete
    return f.result()
           ^^^^^^^^^^
  File "/Users/nitewriter/.pyenv/versions/3.11.9/lib/python3.11/asyncio/futures.py", line 203, in result
    raise self._exception.with_traceback(self._exception_tb)
  File "/Users/nitewriter/.pyenv/versions/3.11.9/lib/python3.11/asyncio/tasks.py", line 277, in __step
    result = coro.send(None)
             ^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/graph/graph/base.py", line 455, in arun
    run_outputs = await self._run(
                  ^^^^^^^^^^^^^^^^
  File "/Volumes/WillowTreeCS/WillowTree/dart-langflow-runtime/.venv/lib/python3.11/site-packages/langflow/graph/graph/base.py", line 347, in _run
    raise ValueError(f"Error running graph: {exc}") from exc
ValueError: Error running graph: Error building Component Chat Memory:

(sqlite3.OperationalError) no such table: message
[SQL: SELECT message.timestamp, message.sender, message.sender_name, message.session_id, message.text, message.id, message.flow_id, message.files
FROM message ORDER BY message.timestamp ASC
 LIMIT ? OFFSET ?]
[parameters: (100, 0)]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
(.venv)

@dosu Almost a functional workaround. You missed two columns:
        flow_id TEXT,
        files LIST,

Ahh, I made a discovery. nest-asyncio is required for the database tables to be automatically created. Installing this package fixed the issue I was hitting.

FYI
I got same error.
In my case, I just forgot to update poetry lock file.


Memory Consumtion

Hi,
thanks for this image build. Works perfectly on my development server so far :)
But one thing that I recognized is that the memory consumption of the container is quiet high. It eats 650 MB when idle. Even the dockerized Oracle DB is only on 350 MB when idle.
Any clue it this is normal or can be tweaked somehow?
Thanks
Nick

@Nicknag are you talking about running memory (i.e. RAM)? I don't think I can do anything about that as it would be ORDS itself.
Note I've updated everything for 19.2. See if that helps.

@Nicknag closing this issue now as haven't heard a response for a while.


Add smart contract address unit tests for OpenVault pipeline

Adds unit tests that make assertions that contract descriptions (abi + address) on shared context are what we expect. Also, where possible (proxy + allowance) tests that the t/x objects created by sendWithGasEstimate conform to a t/x object created manually inside our tests.
In order to get confidence opted to mock as few of our modules as possible. This meant introducing additional mocks - MockProvider.mock.ts given a provider is expected by libraries that the '@oasisdex lib depends on.
 With this we can test proxyAddresses are correct which is potentially the larger risk. Also, these tests could query Maker (and other's) chain logs or smart contract registries.

Proposing we close this PR because doing this as unit-tests isn't really practical and we should really explore this using with integration tests.


Runtime Analysis tree view is expanded by default

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

v0.101.0
GitHub release

Your semantic-release bot :package::rocket:


no docs for Form Submission

📖 Documentation
Hi there!

I wanna know as much as possible about submitting the From via handleSubmit function - but - then i go to the link - there is no page here(((( 😞

so How will i know about Form submitting???
You guys, have 23k stars and no info about submitting the Form - really???

This link appears to be working now.


[UBS-user page. 'Замовлення' tab] “Оплачено” field is not displayed in order details when order is paid.

Environment: all browsers
Reproducible: always,
Build found: 18.11.2021.
Preconditions

the user must have fully paid order

Steps to reproduce

Go to: https://ita-social-projects.github.io/GreenCityClient/#/
Open "Замовлення" tab in the personal UBS-user cabinet
Click on expanding icon of the order (order from precondition )
Verify 'Оплачено' field in the order

Actual result
“Оплачено” field is not displayed in order
Expected result
“Оплачено” field is displayed in order like total amount that client has paid in the order
User story and test case links
E.g.: "User story #3478


Updates per Adrian

Address issue #1

@ThiefMaster, take one more look. Renaming the folder means the diffs are gone, but the code is short and should have all the changes you requested.

Added the content block and revised the templates. Let me know if there's anything else, and thanks for your help!


Not working on iOS 13.2

Hi,
I using this plugin in ionic3.
It worked fine when deployed prior to iOS 13.2, but an error occurred in iOS 13.2.
Has anyone encountered this same problem?

Yes. My users are reporting this issue with iOS 13.2 too. I'm not able to provide error details yet. Sounds like speechRecognition.stopListening() is not working probably.

same problem here.

Yes we are facing same issue in ios 13.2 but works fine till ios 12.

We are unable to proceed to use this plugin in ios 13.2.2 . Please suggest any fix.

I think IOS 13.3 should fix it:
https://forums.developer.apple.com/thread/125279

I think it is not a new issue. See here https://github.com/pbakondy/cordova-plugin-speechrecognition/issues/13

I think it is not a new issue. See #13

I think it's a different issue. I can't get the result no matter how many times I try. And this is an issue with iOS 13.2.2, not with iOS 10 or earlier.

I updated to iOS 13.2.3 version today. No more issues.

Ok. May be you have to wait until 13.3. Hava a look at:
https://forums.developer.apple.com/thread/125279
Greetings
Markus Liebschner
Am Mi., 20. Nov. 2019 um 02:25 Uhr schrieb Raehyeok, Cho <
<EMAIL_ADDRESS>
Closed #105
https://github.com/pbakondy/cordova-plugin-speechrecognition/issues/105.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pbakondy/cordova-plugin-speechrecognition/issues/105?email_source=notifications&email_token=ALFINKJ4P7JFNZZYQONS5KDQUSGXFA5CNFSM4JKDEAGKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOU6Z7YIY#event-2813590563,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALFINKIKHXVQKMZBYWMIND3QUSGXFANCNFSM4JKDEAGA
.


{SignalR} Mark the connection string in SignalR live test

Thank you for your contribution! We will review the pull request and get back to you soon.

/azp run

/azp run


What needed to prepare if I want to use the custom dataset

Thanks for your sharing of the code. I would like to use my own data to train the model.
What should I do?
My dataset looks like this:
Dataset
││
└───TrainDataset
│   │   TrainImg1.jpg
│   │   TrainImg2.jpg
│   │   ......
└───TestDataset
│   │   TestImg1.jpg
│   │   TestImg2.jpg
│   │   ......
└───Label.json ( includes the bbox and the character labels for train and test dataset)

Thanks for your attention for this work! Currently the code mainly support the lmdb files. You could refer to https://github.com/FudanVI/benchmarking-chinese-text-recognition/blob/main/data/lmdbMaker.py to construct your lmdb datasets.


Update more patterns / ways for users to customize their own testcase name

Customize testcase name
In case, I want to customize my testcase name as {group_name} - {method_description} or  no pattern and I can input a String I want
Additional context
Carina-demo 7.3.16

Verified with default values via Launcher

You can use following patterns:
{test_name} - name of the test
{tuid} - TUID
{test_class} - name of the test class
{method_name} - name of the test method
{method_description} - test method description
{method_priority} - method priority
{method_thread_pool_size} - size of thread pool
{group_names} - names of the groups that the test method belongs to
Default pattern: {tuid} {map}{test_name} - {method_name}


Fix dialog closed even have custom callback function

The onClick function should always be null

Thanks but this is the intended behavior. If you do not want the dialog to be closed automatically, you can return true in your custom onClick callback.


Prevent auto-focus on the RocketChat channel in the regular paper page

Number of Volunteers: 1
On the regular paper page, it auto-focuses on the RocketChat channel after the page is loaded.
Is there a way to prevent this?

Method 1:
Reference: PE-149 Prevent iframe steals focus
Add JavaScript to show the iframe once the frame is loaded
    <iframe id="chatFrame" frameborder="0" src="..."</iframe>
    .
    .
    $("#chatFrame").hide();
    $("#chatFrame").on(
      "load",
      function() {
        setTimeout(
          function(){
            $('#chatFrame').show();
            $('#chatFrame').removeAttr('style');
          },
          3000
        );
      }
    )

I tried to set the timeout to 2000 but problem still persists.  I guess it depends on the browser's rendering speed.
Method 2:
Add a floating button.  When user click the button, show the RocketChat iframe and go to the corresponding named anchor.  Something like the following:

By clicking Questions? Talk to an expert, go to the RocketChat and having the iframe visible.

@stupid-2020 -- Thanks. I think @jcklie also noticed this and figured the 2nd solution seems to be the only one.
I changed the layout with #158 and it seems to work okay now that the RocketChat and SlidesLive are on the same "row".
I'm closing this issue for now. But if this bothers people, we can re-open again.


unable to sign in via linkedin

I configured my linked in app account with "http://localhost:8080/auth/linkedin" as redirect uril (which is the one i see the demo is requesting as redirect_uri param calling linkedin oauth server).
Although i get "invalid redirect_uri. This value must match a URL registered with the API Key."

These settings worked for me:
website url:
http://localhost:8080/
redirect urls:
http://localhost:8080/connect/linkedin
http://localhost:8080/signin/linkedin
also, changed scope to : "r_basicprofile r_emailaddress rw_company_admin w_share" [connections won't work with these perms though]

Note on linked in permissions:
https://developer.linkedin.com/support/developer-program-transition
"...
Access to "r_fullprofile" & “r_contactinfo” permissions
The r_fullprofile and  r_contactinfo member permissions are now only available exclusively to applications accepted to the Apply with LinkedIn partner program.  As a result, you will only be able to request this member permission if your application has been approved by LinkedIn for this particular use.
..."
These are the default perms allowed as of date: "r_basicprofile r_emailaddress rw_company_admin w_share". Connections link won't work in this module with default perms.


Fix checkstyle and use google style guide

This uses the google style guide and will fail the build when there are any checkstyle errors. Warning are ignored.
See https://github.com/uber/jaeger-client-java/issues/30

@yurishkuro

I had a look at the build output, but didn't see even warnings from the checkstyle plugin. Is it not running in Travis?

Thanks, LGTM.  Let's merge this. The next thing before we close the issue is to try to get the google auto-formatter in.


Convert byte_no_cf and cf_nasa_4326 to Zarr

[x] I agree to follow the project's code of conduct.
[ ] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

I left alldatatypes.nc untouched because it's string arrays are not supported.
TODO: remove the two nc files

CC @metasim this works on my computer, but will probably fail on others, depending on the GDAL version and configuration.

I also tried HDF5 (NC 4), but crashes like crazy. I can put up another PR if you want to take a look.

@lnicola I'll give it a run on my setup today.

@lnicola I think I need a custom build of GDAL (hence your comment about ZSTD?)...

Test results on macOS 21.6.0 arm64

failures:
---- raster::mdarray::tests::test_datatype stdout ----
thread 'raster::mdarray::tests::test_datatype' panicked at 'called Result::unwrap() on an Err value: NullPointer { method_name: "GDALGroupOpenMDArray", msg: "Decompressor blosc not handled" }', src/raster/mdarray.rs:1007:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
---- raster::mdarray::tests::test_array_names stdout ----
thread 'raster::mdarray::tests::test_array_names' panicked at 'assertion failed: (left == right)
left: ["X", "Y"],
right: ["X", "Y", "byte_no_cf"]', src/raster/mdarray.rs:835:9
---- raster::mdarray::tests::test_dimension_name stdout ----
thread 'raster::mdarray::tests::test_dimension_name' panicked at 'called Result::unwrap() on an Err value: NullPointer { method_name: "GDALGroupOpenMDArray", msg: "Decompressor blosc not handled" }', src/raster/mdarray.rs:904:71
---- raster::mdarray::tests::test_attributes stdout ----
thread 'raster::mdarray::tests::test_attributes' panicked at 'called Result::unwrap() on an Err value: NullPointer { method_name: "GDALGroupOpenMDArray", msg: "Decompressor blosc not handled" }', src/raster/mdarray.rs:1097:14
---- raster::mdarray::tests::test_dimension_size stdout ----
thread 'raster::mdarray::tests::test_dimension_size' panicked at 'called Result::unwrap() on an Err value: NullPointer { method_name: "GDALGroupOpenMDArray", msg: "Decompressor blosc not handled" }', src/raster/mdarray.rs:927:71
---- programs::raster::mdimtranslate::tests::test_build_tiff_from_path stdout ----
thread 'programs::raster::mdimtranslate::tests::test_build_tiff_from_path' panicked at 'called Result::unwrap() on an Err value: NullPointer { method_name: "GDALMultiDimTranslate", msg: "Cannot find array /science/grids/imagingGeometry/lookAngle" }', src/programs/raster/mdimtranslate.rs:260:10
---- raster::mdarray::tests::test_spatial_ref stdout ----
thread 'raster::mdarray::tests::test_spatial_ref' panicked at 'called Result::unwrap() on an Err value: NullPointer { method_name: "GDALGroupOpenMDArray", msg: "Decompressor blosc not handled" }', src/raster/mdarray.rs:1031:14
---- raster::mdarray::tests::test_read_data stdout ----
thread 'raster::mdarray::tests::test_read_data' panicked at 'called Result::unwrap() on an Err value: NullPointer { method_name: "GDALGroupOpenMDArray", msg: "Decompressor blosc not handled" }', src/raster/mdarray.rs:951:14
---- raster::mdarray::tests::test_no_data_value stdout ----
thread 'raster::mdarray::tests::test_no_data_value' panicked at 'called Result::unwrap() on an Err value: NullPointer { method_name: "GDALGroupOpenMDArray", msg: "Decompressor blosc not handled" }', src/raster/mdarray.rs:1055:14
---- raster::mdarray::tests::test_n_elements stdout ----
thread 'raster::mdarray::tests::test_n_elements' panicked at 'called Result::unwrap() on an Err value: NullPointer { method_name: "GDALGroupOpenMDArray", msg: "Decompressor blosc not handled" }', src/raster/mdarray.rs:874:71
---- raster::mdarray::tests::test_n_dimension stdout ----
thread 'raster::mdarray::tests::test_n_dimension' panicked at 'called Result::unwrap() on an Err value: NullPointer { method_name: "GDALGroupOpenMDArray", msg: "Decompressor blosc not handled" }', src/raster/mdarray.rs:855:71
---- raster::mdarray::tests::test_stats stdout ----
thread 'raster::mdarray::tests::test_stats' panicked at 'called Result::unwrap() on an Err value: NullPointer { method_name: "GDALGroupOpenMDArray", msg: "Decompressor blosc not handled" }', src/raster/mdarray.rs:1168:71
---- raster::mdarray::tests::test_unit stdout ----
thread 'raster::mdarray::tests::test_unit' panicked at 'called Result::unwrap() on an Err value: NullPointer { method_name: "GDALGroupOpenMDArray", msg: "Decompressor blosc not handled" }', src/raster/mdarray.rs:1144:14
---- vector::vector_tests::tests::test_features_aliasing_compile_fail stdout ----
thread 'vector::vector_tests::tests::test_features_aliasing_compile_fail' panicked at '1 of 1 tests failed', /Users/sfitch/.cargo/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.55/src/run.rs:74:13
failures:
programs::raster::mdimtranslate::tests::test_build_tiff_from_path
raster::mdarray::tests::test_array_names
raster::mdarray::tests::test_attributes
raster::mdarray::tests::test_datatype
raster::mdarray::tests::test_dimension_name
raster::mdarray::tests::test_dimension_size
raster::mdarray::tests::test_n_dimension
raster::mdarray::tests::test_n_elements
raster::mdarray::tests::test_no_data_value
raster::mdarray::tests::test_read_data
raster::mdarray::tests::test_spatial_ref
raster::mdarray::tests::test_stats
raster::mdarray::tests::test_unit
vector::vector_tests::tests::test_features_aliasing_compile_fail
test result: FAILED. 184 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.53s

Versions:

gdal: 3.5.1
netcdf: 4.9.0
hdf5: 1.12.2

GDALVersionInfo {
    RELEASE_NAME: "3.5.1"
    RELEASE_DATE: "20220630"
    VERSION_NUM: "3050100"
    BUILD_INFO {
        OGR_ENABLED: "YES"
        PROJ_BUILD_VERSION: "9.0.1"
        GEOS_ENABLED: "YES"
        PAM_ENABLED: "YES"
        PROJ_RUNTIME_VERSION: "9.0.1"
        GEOS_VERSION: "3.11.0-CAPI-1.17.0"
    }
}

Yeah, it seems so. How did you install GDAL?

brew install gdal

I'm fine rebuilding as we figure this out, but long term should figure out what the "standard" Linux install of GDAL is for most distros (e.g. rpm/dpkg/apt) is, and if it includes requisite libraries needed for this test.

Got pulled off on other things, but started looking into possibilities of adding something to VersionInfo that would provide more details about the drivers and what they are linked against.

You could also check if gdalinfo works on those (needs vsizip).
I'm not sure what you mean by standard install. The tests pass on CI (on supported GDAL versions), and if they don't pass locally, that's still not so bad. The distros I've tested (Arch and the official container) have zstd and also blosc (you need that too, btw).

Actually, we can leave these uncompressed. It's only 50 kb or so.

🕺 🚀

Cool. I suppose we could ignore those tests on GDAL pre-3.4.

I suppose we could ignore those tests on GDAL pre-3.4.

Yeh, I was already heading down that route in a draft PR.

I'll try it tomorrow. I'm inclined to conditionally #[ignore] those tests using #[cfg_attr].

Supersedes #320

bors r=metasim,jdroenner


Swapping in C#

Proposed title of article
Swapping in C#
Introduction paragraph (2-3 paragraphs):
Swapping is all about the interchanging of values at runtime. How do you swap two values without creating a new storage location using  C#, this type of question might confuse many developers in the .Net related fields.
My intent for this article is to explain how to answer the question, i.e Write a program to swap two values using C# without creating a new storage location. A new developer can become confused because, the first problem is that the developer does not even know which keyword to use for that, so how will he or she know how to write the program?
We will look at the concept of answering the question in this article with the basics and especially focusing on the beginner, student, and whoever might encounter this type of question.
Key takeaways:

What is swapping?
Conditions to swap values
The different ways of swapping values
How to swap 2 values and finally 3 values

References:
N/A

Not approved - @Terripha
This is too simple to be a tutorial, try writing about in-depth topics.


merge package template from Kronos-Tools/npm-package-template

package.json

chore(engines): update<EMAIL_ADDRESS>from template

.travis.yml

chore(travis): merge from template .travis.yml

Coverage remained the same at 95.5% when pulling 14c7e128cdb1d325317a6fa34f6de43f65611b25 on template-sync-1 into e03470c387e3a699ef22bf9b3f1a0041f5d4e874 on master.

Codecov Report

Merging #197 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #197   +/-   ##
=======================================
  Coverage   97.54%   97.54%
=======================================
  Files           1        1
  Lines         122      122
=======================================
  Hits          119      119
  Misses          3        3

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 e03470c...14c7e12. Read the comment docs.


chore(deps-dev): roll back flake8 version to v6

[X] Code is up-to-date with the main branch.
[X] You've successfully built and run the tests locally.
[] There are new or updated unit tests validating the change.

@mohnoor94

Why?
The version of datamodel-code-generator used by the fastapi-code-generator uses version 6.X.X of flake8. Obviously flake8 version 7.X.X comes with a breaking change that breaks our SDK generator. As a conclusion, we are forced to stick with version 6.X.X of flake8 for the time being.


Refactor apply_filter out of sgrproj_stripe_filter

About 8% faster encoding for qcif in 4 tiles.
Testing it on 1080p and 4k would be nice.

Coverage increased (+0.02%) to 75.417% when pulling fc2fddb0493d4c54ae33b5c793fa5135c19dcc75 on rust-av:refactor_apply_filter into aae6b3e77856adf96227300ee341a29636f14f7c on xiph:master.

on 1080p with 32 tiles:
before: 1.522 fps
after: 1.556 fps

Usual Bosphorus 1080p on the usual i7 7700:
 INFO  rav1e::api::internal > Using 8 tiles (4x2)
 INFO  rav1e::stats         > encoded 600 frames, 1.070 fps, 1955.96 Kb/s

 INFO  rav1e::api::internal > Using 8 tiles (4x2)
 INFO  rav1e::stats         > encoded 600 frames, 1.125 fps, 1955.96 Kb/s

What happened to arm?


[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate

I feel like there should be an obvious fix to this but I cannot figure it out. Thanks.
============================== CRASH REPORT BEGIN ==============================

--------------------------------- environment ----------------------------------

 - date = 2021-03-03
 - platform = macOS-11.2.2-x86_64-i386-64bit
 - arguments = []
 - python version = 3.9.1
 - stonky version = 1.3.2
 - teletype version = 1.1.0

--------------------------------- stack trace ----------------------------------

Traceback (most recent call last):
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/aiohttp/connector.py", line 969, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)  # type: ignore  # noqa
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 1081, in create_connection
    transport, protocol = await self._create_connection_transport(
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 1111, in _create_connection_transport
    await waiter
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/sslproto.py", line 528, in data_received
    ssldata, appdata = self._sslpipe.feed_ssldata(data)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/sslproto.py", line 188, in feed_ssldata
    self._sslobj.do_handshake()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 944, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)

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

Traceback (most recent call last):
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/stonky/api.py", line 98, in _query
    async with self._session.get(url) as response:
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/aiohttp/client.py", line 1117, in __aenter__
    self._resp = await self._coro
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/aiohttp/client.py", line 520, in _request
    conn = await self._connector.connect(
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/aiohttp/connector.py", line 535, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/aiohttp/connector.py", line 892, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/aiohttp/connector.py", line 1051, in _create_direct_connection
    raise last_exc
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/aiohttp/connector.py", line 1020, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/aiohttp/connector.py", line 971, in _wrap_create_connection
    raise ClientConnectorCertificateError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host query1.finance.yahoo.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/stonky/__main__.py", line 13, in entrypoint
    loop.run_until_complete(main())
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/stonky/__main__.py", line 33, in main
    await tty.draw()
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/stonky/tty.py", line 101, in draw
    await self.stock_store.update()
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/stonky/stock_store.py", line 24, in update
    await self._update_quotes()
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/stonky/stock_store.py", line 102, in _update_quotes
    stock.ticket: stock for stock in await asyncio.gather(*futures)
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/stonky/api.py", line 28, in get_quote
    response = await self._query(url, params)
  File "/Users/oiufsha/labs/venv/std3/lib/python3.9/site-packages/stonky/api.py", line 103, in _query
    raise StonkyException("Could decode server response")
stonky.exceptions.StonkyException: Could decode server response

=============================== CRASH REPORT END ===============================

Looks like an OpenSSL issue. Maybe trying this or running against non-system python might fix it 🤔


Deal with name and line's change

Some stations sometimes change their name,
and the line riding a track can change throughout this tracks' life.
Editor should be abale to show this name or lines change in the transit system history.

@Kalepom Sorry for the late response! I find that this feature would be very interesting, and your proposed workaround could work. I'll try to do it!

This should be implemented in the Style class.

The lines attribute should have the years validity for each line (and the width or transport mode for each one of them).
The get method should receive a year param.
The lines should be filtered by current year.
Only current lines should be displayed.
The line-offset property should be set here, based on the current lines and their width/mode (not in the backend).

Or/and maybe:

The lines shown by line years range should be filtered the same way features are filtered by buildstart/opening.
The offset should be calculated somehow in the Style class based on the visible lines at that moment.


[Branch-2.9] Add Mockito-inline to help mock final class.

Motivation
The branch-2.9 test is broken. see error.
Error:  Tests run: 75, Failures: 30, Errors: 0, Skipped: 31, Time elapsed: 5.748 s <<< FAILURE! - in org.apache.pulsar.broker.service.ServerCnxTest
Error:  testHandleAuthResponseWithoutClientVersion(org.apache.pulsar.broker.service.ServerCnxTest)  Time elapsed: 0.007 s  <<< FAILURE!
org.mockito.exceptions.base.MockitoException:

Cannot mock/spy class org.apache.pulsar.common.api.proto.CommandAuthResponse
Mockito cannot mock/spy because :
 - final class
	at org.apache.pulsar.broker.service.ServerCnxTest.testHandleAuthResponseWithoutClientVersion(ServerCnxTest.java:1968)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
	at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

We can add the Mockito-inline dependency to help mock the final class.
Modifications
Add Mockito-inline dependency.
Verifying this change

[x] Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API: (yes / no)
The schema: (yes / no / don't know)
The default values of configurations: (yes / no)
The wire protocol: (yes / no)
The rest endpoints: (yes / no)
The admin cli options: (yes / no)
Anything that affects deployment: (yes / no / don't know)

Documentation
Check the box below or label this PR directly.
Need to update docs?

[ ] doc-required
(Your PR needs to update docs and you will update later)

[x] doc-not-needed
(Please explain why)

[ ] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

Looks like we will break the current test environment. So, I close it.


Doesn't work with Synology Plus HDD

Accidentally bought the 5.400rpm version of Syno's Plus HDD which is not supported on DS1823xs+ (!?!).
The scripts works with WD red, but does not with Synology HAT3300-8T. Storage manager shows "Healthy" for WD Red, but "Unverified" for the Synology disks.
Does Synology block them in a different way?
Any ideas?
Script output:
Start time: Mon, 22 Jan 2024 07:59:33 GMT
Stop time: Mon, 22 Jan 2024 07:59:55 GMT
Current status: 0 (Normal)
Standard output/error:
Synology_HDD_db v3.4.80
DS1823xs+ DSM 7.2.1-69057-3
StorageManager 1.0.0-0017

Using options: -nr --autoupdate=3
Running from: /volume1/tech/synology/scripts/syno_comp/syno_hdd_db.sh

[0;36mThere is a newer version of this script available. [0m
Current version: v3.4.80
Latest version: v3.4.81
Skipping as v3.4.81 is less than 3 days old.

HDD/SSD models found: 2
HAT3300-8T,PL01
WD100EFAX-68LHPN0,83.H0A83

No M.2 drives found

No M.2 PCIe cards found

No Expansion Units found

[0;33mHAT3300-8T [0m already exists in [0;36mds1823xs+_host_v7.db [0m
Added [0;33mWD100EFAX-68LHPN0 [0m to [0;36mds1823xs+_host_v7.db [0m

Support disk compatibility already enabled.

Support memory compatibility already disabled.

Max memory is set to 32 GB.

Drive db auto updates already disabled.

DSM successfully checked disk compatibility.

You may need to [0;36mreboot the Synology [0m to see the changes.

If you schedule the script with the -e or --email it will prevent those [0;36m, [0;33m and [0m from appearing in the task scheduler emails and task scheduler's "Action > View result".
I just had a look in the DS1823xs+ drive database file and even though it only contains Synology drives there are different compatibility values for different drives:

support
unverified
not_support

I've never noticed the "unverified" before. All of the HAT3300, SAT5210 and SNV3410 drives are "unverified" for the DS1823xs+.
Try the following commands via SSH:
sudo -i
sed -i 's/unverified/support/g' /var/lib/disk-compatibility/ds1823xs+_host_v7.db
/usr/syno/sbin/synostgdisk --check-all-disks-compatibility

Or as a scheduled task run as root:
sed -i 's/unverified/support/g' /var/lib/disk-compatibility/ds1823xs+_host_v7.db
/usr/syno/sbin/synostgdisk --check-all-disks-compatibility

You should not need to reboot. But if you have storage manager open you'll need to refresh the browser tab.
Let me know if that works and I'll add it to the script.

It worked! Will update the script once you found the time to add this to it.
You are great, thank you!

Updated script here https://github.com/007revad/Synology_HDD_db/releases/tag/v3.4.82


ActionAncFuncDelegates [Arpit_P11]

Pull request for evaluation article of Action and Func delegates in C#.
Solution Name - ActionAndFuncDelegates
Test Folder - ActionAndFuncDelegatesTests
Parent Folder - csharp-advanced-topics
Code Compatible With .NET 7.

Nice


 Removed scalers and rotators.

Closing since this is a duplicate of a more recent PR


Add sample for pubsub_rollback_schema

For adding a Node sample for rolling back schema changes.
ref: 265170787

Closed in favour of https://github.com/googleapis/nodejs-pubsub/issues/1741


Lumen dependancy updates

Updates dependencies to bring library inline with Lumen 7.0

merging in updates for Lumen 7.0 dependancies


Curation tasks don't show any output/feedback in the interface

Describe the bug
Every curation task in backoffice don't gice any output to the user. Only states that the curation has started and has ended!
To Reproduce

Enter the backofiice and execute any of the curation tasks (NOP, metadata, links, doi)
Enter an handle
Execute the curation task
The output is blank.

See the example above:

Expected behavior
should give som sort of information to the user who requested the taks. Example. If the chek links is selected what are the links that are ok and the ones that aren't
Greets
Fernando

Closing, as this is a duplicate of https://github.com/DSpace/dspace-angular/issues/1322


Fix windmill proto

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Are we missing a test that would've caught this? (doesn't need to block this PR, but we should follow up with one)

I just recently merged an old PR https://github.com/apache/beam/pull/23492 that had the check ran before the latest status of the proto. I think if re-run the checks it will fail to build. But the conflict is obvious so I didn't attempt to re-run the checks.


Implement Liquidity Pool

Some functionality is already implemented.  But the full abi should be this
abi LiquidityPool {
    #[storage(write)]
    fn initialize(new_owner: Option<Identity>);

    #[storage(read, write)]
    fn start_vault();

    #[storage(read)]
    fn current_round_info() -> RoundInfo;

    #[storage(read, write)]
    fn close_round();

    #[storage(read)]
    fn can_close_current_round() -> bool;

   #[storage(read, write)
   fn deposit(amount: u64);

   // Amount must be 10% of total deposit
   // user can call `withdrawal` after the current round has closed
    #[storage(read, write)]
    fn signal_withdrawal(amount: u64);

    #[storage(read, write)]
    fn withdrawal();

   // Game Market Manager requests collateral for user bets
   // only game market manager can call
   // liquidity pool sends usd to market manager.
   #[storage(read, write)]
   request_collateral(amount: u64)

   // Maybe need this
   // get the unused collateral from the game market manager.
   // the game market manager could just send on their own and we don't need this function
   #[storage(read, write)]
   send_remaining_collateral()
}

not fully implemented yet


IPC GUI unable to send commands to bots containing a # in their name

Bug report
Description
Sending (any) command to bots containing a # in their name fails with bot not found error.
Expected behavior
Command getting executed.

Possible solution
I suppose the issue is html/http replacing symbols like # and some others to %-codes. Escaping them when sending might solve that.
Steps to reproduce
Name a bot 'a#a'
Send a command to it through IPC GUI
Full log.txt recorded during reproducing the problem
IPC GUI commands are not logged

Hey there! Thank you for contacting our development team at GitHub.
We believe that your issue does not meet our contributing guidelines referenced during issue creation.

Before you open an issue please review the contributing guidelines for this repository.
(...)
I understand that if my issue is not meeting contributing guidelines specified above, especially if it's a question or technical issue that is not related to ASF development in any way, then it will be closed and left unanswered.

Reason for closing: **IPC GUI is out of support, as stated **on the wiki****.
Please check out our wiki if you need further help.
Have a nice day!
~Archi

Not sure if this is actual, but try to escape "#" char this way: "%23"

try to escape "#" char this way: "%23"

yeah I confirmed that with curl too, but point is the gui has a bot selection and inserts/uses it un-escaped


Broken links in the SPA performance workbook

The Single Page Applications Workbook has a broken link for "React based sites" and for "Angular based sites". Both links currently return a 404.

#1720 by @yves-chan deprecated this workbook and removed those links


Set Correct User AGent Strings for Dynatrace Connectors and Playbook templates

Required items, please complete
Change(s):
updated User Agent Strings for Dynatrace Connectors and Playbook templates
Reason for Change(s):
Set Correct User AGent Strings for Dynatrace Connectors and Playbook templates
Version Updated:

Yes

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

See guidance below

Hello @keyoke, Thanks for raising this PR. This PR will be investigated and will respond back with an update till 24 November, 2023.
Thanks.

Hello @keyoke Can you please share the working and latest images of the Playbooks.
Thanks.

Hello @keyoke, Please share the above requested artifacts.

Hello @keyoke Please share the requested images

Enrich_DynatraceApplicationSecurityAttackIncident

Hello @keyoke, Can you share logic app images for all the playbook also please resolve Validation errors.

Hello @keyoke, Can you share logic app images for all the playbook also please resolve Validation errors.

should be done

Hello @keyoke, Thanks for sharing the images. Will check it once and get back to you before 21 December, 2023.


"VISIT" link address misses a colon

On the "TPLinkRouter" device page, there is a "VISIT" link that if clicked, opens a browser tab with
http//<IP_ADDRESS>/

In the address bar. Maybe you missed the colon somewhere in the code?

@chunjiw Thanks!
Yes, it is a bug. It would be fixed in the next release

@chunjiw fixed in v1.2.5


feat: add support for socks5 proxy

Please add support for socks5 proxies. When we use such a proxy, the DNS should also be resolved via the socks5 proxy.
BTW, thanks for a really nice HTTP client tool.

@cvmocanu Socks5 Proxy support is now available in 0.22.0
Thank you for the PR @rqbazan !


Add minor features to debugger html client

disable resizable textarea
block to write the log are
add feature which auto scroll the log to the bottom, for easier readability

JerryScript-DCO-1.0-Signed-off-by: Levente Orban<EMAIL_ADDRESS>

Deleted the Boostrap CND. Updated the PR