qogir-theme: 2022-11-09 -> 2023-02-27

https://github.com/vinceliuice/Qogir-theme/releases/tag/2023-02-27
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

@ofborg build qogir-theme


Feature request: turn off system after downloads complete

Thanks for creating this awesome software!
I have a suggestion for a feature which I think would be desirable for a lot of users. Could there be a setting to switch off the computer after all downloads complete. Kind of like uTorrent or FileZilla does. So you could leave the queue downloading overnight.

This was requested some time ago. I personally don't like such features because they are inconsistent.
Let's assume we have a checkbox on the download page you can activate.
Scenario 1: You activate it, add a download, download completes, pc goes offline -> OK
Scenario 2: You add a download, you activate it afterwards, download completes, pc goes offline -> OK
Scenario 3: you add 3 downloads, activate it, one download throws an error -> what to do??? go offline and lose the log or stay online?
Scenario 4: you add 3 downloads, activate it, download starts, you remove the downloads because you changed your mind, you add a different 1 again but forget that you enabled the checkbox, download complete -> pc goes offline -> SHIT!
This seems like an easy to implement feature but we need to clarify what users really expect in scenarios 3 and 4
MY expectation for 3 would be: If there's an error, don't go offline. But that again is only because TL does not keep logs right now.
Expectation for 4: If I clear all downloads manually, the checkbox resets automatcally. But then again the user has to remember setting it again when adding another download.
That's why I am generally not a fan of such a feature because you suddenly need a manual to know exactly what it does. So far TL is pretty much manual-less and I like that (I my eyes self-describing software is good software).
What do you think?

Scenario 3: The main interest ist that the pc should shut down. I think this suits more people than the other way around. Probably most just try the download again and only if the error persists go here to ask for help. Contra: people may wonder why a file is missing.
Scenario 4: You could add an alert sound 30 secs before Shutdown so the user has time to react. But I don't think this is a good solution. Another one: Monitor key and mouse aktivity and only shut down after downloads are finished and inactivity is longer than x.

Maybe shutting down in scenario 3 is better, yes, but I really would like to implement persistant logs with that (along with a "open logs folder" button somewhere in TL).
Scenario 4: Sound is a bad idea. It would require the user to use some sort or audio equipment, so that is not leading anywhere. Monitoring mouse and/or keyboard activity (even if ONLY activity and not real key presses and such) has a suuuuuuper fishy touch to it for many users. Once revealed in source code, the shitstorm is there even if you do no harm (I had that in the past and won't make that mistake again). And even some anti-virus software does not like such native calls.
So you see why I am hesitating implementing this feature. I'll let this one open and hopefully we can get a few other opinions on the matter but so far I am not pleased with the solutions we have.

If this ever gets implemented, it would be cool if instead of shutting down it called a user defined script which could contain shutdown instructions or something to post process the video files.

@FireLemons Agreed, custom execute on finish would be amazing, maybe even with a variable for the file name so you can set an forget

#803


static pages not getting correct data

dummy data is being used and data is not being transferred from backend schema

all the static pages have been updated to support the data


bump up go-yaml version that includes roundtripping fixes

The latest release of go-yaml includes fixes related to roundtripping of comments in YAML. This PR bumps up the version to include those fixes.

/cc @natasha41575 @Shell32-Natsu @mengqiy
I have done minimum testing. But I think we should have tests to test roundtripping of comments etc.
We probably want to do this for other functions we all. Apologies for doing the minimum here :)

https://github.com/GoogleContainerTools/kpt/pull/1699#discussion_r608260765

/cc @phanimarupaka since he owns a few kpt functions.

https://github.com/GoogleContainerTools/kpt/issues/1706


[add-resource] New Plugin

I would like to add my new plugin to the Grav Repository.
Here are the project details: https://github.com/TecArt/grav-plugin-tecart-search
I am looking forward to get feedback!

Added!

Thank you, I'm happy about it :-)


addition of searchDepth param for supply mule

supply mule has a new param called "search depth"
at 100%, evaluates all trades. if less than 100%, reduces the size of the trade lists for performance reasons
lists are shuffled before trimming, so if the mule doesn't find trades, they still may in a future run of the script
existing mules will be automatically patched to add the new param at 100%
NOTE: Some lag spikes are still possible in large search spaces.  Based on the way we retrieve trade offers from the game, this may still cause you problems if those params allow a lot of stations.
NOTE: Another source of lag spikes seems to be mimics. Be a little cautious with them and experiment if they're causing you problems.

@Misunderstood-Wookiee still needs language update for l086

addresses #161

@Misunderstood-Wookiee still needs a language update for l086

Is that a non English language I suppose I can manage that 📦


pull request for e2e test at 01/04/2017 23:15: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.


WASM - Global mutable value

Disallow any other values than 0 or 1 for global mutability encoding.
Fixes #2193

This change is

I have submitted these new tests to the spec repo, in the mean time I figured I would add them to our internal tests
https://github.com/WebAssembly/spec/pull/402

ping


Load human data from RGD file

It appears as if we're only loading in RGD_0.3_basicGeneInformation.10116.json but not RGD_0.3_basicGeneInformation.9606.json.

Do they both need to be loaded?

One just needs to go in the human.py file, I think.  They used to be loaded before the remodel as they both just ended in .json.

Yes, RGD is providing the human data for at least 0.3.0. I'm just about finished with the code additions. Would you have a minute to review the PR to ensure I'm adding them correctly? Currently testing the code...

Not sure if you are asking Sierra or me but yes.


4.9.1 Release Tasks

Working on the 4.9.1 release...

[x] Update CHANGELOG
[x] Cut a rug tag
[x] Add tag release notes

Key goal of this release is full Ansible 2.7.0 compatibility, since people will start having that on their machines.

https://github.com/geerlingguy/drupal-vm/releases/tag/4.9.1


Apply Provisioning Template failing at copy Lists

From @Kirschi on September 20, 2016 11:32
Which PnP repository to report the issue?

PnP Sites Core - https://github.com/OfficeDev/PnP-Sites-Core

Category
[x] Bug
[ ] Enhancement
Environment
[x] Office 365 / SharePoint Online
[ ] SharePoint 2016
[ ] SharePoint 2013
Expected or Desired Behavior
Applying a Template to a new Site Collection works.
Observed Behavior
An Error is throw in version 2.7.1609.3:
Information: 0 : 2016-09-20 12:53:55.6156      [List instances]        [9]     [Debug] Creating list {res:List_Dokumente_Title} failed: Passing in an empty or null value of parameter 'strTitle' :    at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay)
at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryRetry(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay)
at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectListInstance.CreateList(Web web, ListInstance list, TokenParser parser, PnPMonitoredScope scope)
at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectListInstance.ProvisionObjects(Web web, ProvisioningTemplate template, TokenParser parser, ProvisioningTemplateApplyingInformation ap
Steps to Reproduce
Getting Template from a completely new Site Collection and applying it to a new one with ProvisioningTemplateCreationInformation and ProvisioningTemplateApplyingInformation,  web.ApplyProvisioningTemplate using all Features. The Template SC is a new Team Site with just a few additional Site Groups. It fails at copying the default Documents Library.
PnPProvisioningDemo.zip
Copied from original issue: OfficeDev/PnP#1528

Dublicate with #767. Caused by a mistaken when copying issues cross repositories.


Tips wanted wrt image quality

Hi,
I'd really appreciate some tips regarding image quality on the OV564. I'm using it with an ESP32 Arducam dev board.
These are my settings:
  myCAM.set_format(JPEG);
  myCAM.InitCAM();
  myCAM.write_reg(ARDUCHIP_TIM, VSYNC_LEVEL_MASK);   //VSYNC is active HIGH
  myCAM.OV5642_set_JPEG_size(OV5642_2048x1536);
  myCAM.OV5642_set_Compress_quality(high_quality);

The image this produces are just not very good. Blurry, bad contrast. Distorted.

Is this what can be expected? I'm looking for tips to improve img quality.

Use a different host (feather M0 ?)
Use a different lense?
Change settings (all set to auto/default atm)

help much appreciated

The image is out of focus, you have to unlock the lens and fine tune the lens back and forth to get the best focus. The default lens FOV is a little bit wide, so the corner is  distroted, you can try our low distrotion lens if you need that,
http://www.arducam.com/new-arrival-arducams-new-low-distortion-lenses/

Thanks.
Which lens would you recommend for low light or flashlight photography of people/portraits?

We don't recommend to use this camera for low light condition, you need better illuminator.
For night vision you need the lens without IR filter, and should work with 850nm IR LED light.


Multilpe line examples, annotated examples and column separator alternative

Hi, I suggest new features for Gherkin language specification:
Multilne in example tables
It's very useful and simple to parse, just use a blank or a dashed line as separator. [Like that] (https://github.com/thr0w/yadda/blob/master/test/features/multiline_example_scenarios.feature).

Identation it's important in multiline mode.

Annotations for each example
[Like that] (https://github.com/thr0w/yadda/blob/master/test/features/example_scenarios_with_annotations.feature)
And allow use | (\u007C) or ┆ (\u2506) as column separator.
Note: I've tried to make a fork with these changes but I can't understand how gherkin.berp define @TableRow.
Thanks.
Best reggards.

Please create a separate ticket for each proposed change so they can be discussed and possibly closed independently.


Smart content-type response headers for static files

When serving static files, it would be nice if the content-type header was automatically filled for common file types (ex: .js files get application/javascript, etc).
http4s does this here:
https://github.com/http4s/http4s/blob/main/core/src/main/scala/org/http4s/StaticFile.scala#L240
https://github.com/http4s/http4s/blob/main/core/src/main/scala/org/http4s/MimeDB.scala
When the content-type is not filled, browsers might refuse to load javascript files.

The links are broken. Stable links:

MimeDB.scala

Generated by MimeLoader.scala from jshttp/mime-db

StaticFile.scala

I'm interested in taking a stab at this.
How should this be implemented as a middleware?
The middleware would need access to the file to parse the mimetype, which is not supported as far as I can tell.
Why don't we add a method on HttpApp instead that parses the mimetype and returns the file content as a ZStream?

I just realized we don't need to get the mime type from the file if we base ourselves on the file extension in the url

I think this is done (Http.fromFile etc are using MimeDb to set the content type)


Add a new DTO for edit user API in the TodoTemplate project

Currently, the UserDto class is used to edit user in the UserController which is incorrect and impose security risks. it is better to introduce a new DTO named 'EditUserReqeustDto` for the UpdateUser API.

@ysmoradi


Support mods in teambuilder

It would be extremely convenient to have the base stats for pokémon affected by Tier Shift and such metas to show up in the teambuilder. Or perhaps just a small guide on how stats are affected at the base level (+2HP per HP stat at level 100, etc.)

Some useful discussion in Zarel/Pokemon-Showdown-Client#758

Some more useful discussion in Zarel/Pokemon-Showdown-Client#986

I totally forgot about this thread, nice to see it still being looked at. Kris recently updated compatibility for in the moves/ability list for STABmons and such, so that's quite a nice step!


Build all of my targets (iOS) simultaneously, with one lane

New Issue Checklist (NOT AN ISSUE)

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Is there a way to run multiple lanes at the same time, if the computer has the enough power

fastlane all

lane :all do
    lane betaTarget1
    lane betaTarbet2
end

@jpghelfi Do you mean in parallel, i.e. run them concurrently?
I guess you can, but not sure if you can do it with single fastlane invocation.
Fastlane runs the lanes in Fastfile "top to bottom" as if it was just a Ruby script.
Even if you open multiple shell sessions in same directory and run different lanes in each shell session, I'm afraid those parallel invocations may be writing/overwriting each other's files in the same directory or maybe it all just works fine.
You could create multiple copies of your project folder and run fastlane lane in each folder in parallel, then there's no race condition and each lane is properly sandboxed. Not sure if that would work for you, because I'd imagine you want to run all builds as part of one CI job and collect all artifacts in the end?
You could also use some Ruby gem (if there's any) which can create subprocesses and synchronize them all in Ruby code...
Anyhow, short answer, Fastlane doesn't have such a parallelization feature out of the box afaik.
If the main concern is to utilize as much CPU power as possible, then I wish Apple would just improve xcodebuild so it is better with parallelizing it's build tasks :/


Module 'socket' not found: 	no field package.preload['socket']

Hello!
Copy files ~/textadept/modules/debugger
Add require('debugger') to init.lua
After launching textadept, I get:
lua: ~/textadept/modules/debugger/init.lua:902: module 'socket' not found:
no field package.preload['socket']
no file '../textadept/modules/debugger/lua/socket.lua'
no file '../.textadept/modules/debugger/lua/socket.lua'
no file '../.textadept/modules/socket.lua'
no file '../.textadept/modules/socket/init.lua'
no file '../textadept/modules/socket.lua'
no file '../textadept/modules/socket/init.lua'
no file '..g/textadept/core/socket.lua'
no file '/usr/share/lua/5.4/socket.lua'
no file '/usr/share/lua/5.4/socket/init.lua'
no file '/usr/lib/lua/5.4/socket.lua'
no file '/usr/lib/lua/5.4/socket/init.lua'
no file ''
no file '../textadept/modules/debugger/lua/socket.so'
no file '../.textadept/modules/debugger/lua/socket.so'
no file '../.textadept/modules/socket.so'
no file '../textadept/modules/socket.so'
no file '/usr/lib/lua/5.4/socket.so'
no file '/usr/lib/lua/5.4/loadall.so'
no file ''
SocketLua the system has installed, Lua version 5.3
require('socket') from other files *.lua it works
For debugger version lua must be at least 5.4?
p.s. Install lua 5.4 nothing worked

Yes, it worked, thanks a lot!

When trying to debug in curses mode , I get:
lua: ../textadept/modules/debugger/lua/init.lua:66 not implemented in this environment

Unfortunately, the terminal version does not support _G.timeout(), which the Lua debugger makes use of.

Well, okay, it's still a very cool development. Good luck to you!

Closing because the original issue was resolved by downloading a release zip.


Accounts package

Ability to manage existing or new accounts...
#140 has the latest development ideas... It's not yet ready...

Moving out accounts package from #140 into it's own new #145. Getting it ready for merging into main.


Modify FederatedTableProviderAdaptor to work with Insert & Delete

This already works with Insert, and Delete only is relevant for AcceleratedTables, which is out of scope for this initial implementation.


Enhance Flexibility with Custom File Naming in Roborazzi via roboOutputName() Function

close #202

Love this change!


FAQ update

What's the largest Mattermost deployment you have?
(Originally written by Ian).

Thanks @Matterchen for the pull request!
Per the CONTRIBUTING.md file displayed when you created this pull request, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
This is a standard procedure for many open source projects. Your form should be processed within 24 hours and reviewers for your pull request will be able to proceed.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.


Added DockState::iter_nodes_mut and DockState::iter_main_surface_nodes_mut

Gave a swing at #193. Working well in my project. Lemme know if any revisions are needed!

I ran cargo fmt and pushed.
Thanks!

looks like a few more changes were introduced after changing the base branch - that ok?
Resolved that, it was due to release-0.9 not being in sync with main.


App crashes if data present in push data

No matter what I seem to do, if I pass in 'data' in the push message (as opposed to just 'notification'), the app crashes.

platform? callstack/log output please

Same issue. Platform Android. and it seems two notification callbacks are running in foreground.

On further testing I am finding that the app does not crash if I use the Firebase console (or the API) to send a message, but it does crash when I use the Ionic cloud push service to do it. Needless to say I am going to just use the Firebase API directly...

Firebase console does not send "data" in its json it is "notification" type of push. if i send "notification" through server its passing through but disregarded its data

App Crash Report
org.apache.cordova.firebase.FirebasePluginMessagingService.sendNotification (FirebasePluginMessagingService.java:75)
org.apache.cordova.firebase.FirebasePluginMessagingService.onMessageReceived (FirebasePluginMessagingService.java:64)
com.google.firebase.messaging.FirebaseMessagingService.zzo ()
com.google.firebase.messaging.FirebaseMessagingService.zzn ()
com.google.firebase.messaging.FirebaseMessagingService.zzm ()
com.google.firebase.iid.zzb$2.run ()
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1113)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:588)
java.lang.Thread.run (Thread.java:818)

seems message id is not set from API. added following code in FirebasePluginMessagingService.java line 56
if(TextUtils.isEmpty(id)){
            Random rand = new Random();
            int  n = rand.nextInt(50) + 1;
            id = Integer.toString(n);
        }

Still 2 instances of notification is running

That code snippet solves the problem, should put into the project. Thank you

699e15b6ee76ac3833e2fda6004196524b5c2a3f

Nice but not forget import random

fixed in 0.1.18

Thank you! App no longer crashes and push notifications working again in my app.


Problems with operations mutiply with decimals

Triying to do something similar to this:
$money = Money::EUR(100);
$percentage = $money->multiply(10 / 100);
$result = $money->subtract($percentage);

but it returns 0€ for $percentage. Any clue? The system does have the bcmath extension loaded.

By the way, triying to do this:
/** @var \Money\Money $start */
$start = Money::EUR(399);
$ht = $start->divide(1.2);
echo $ht->getAmount()."\n";

gives me a InvalidArgumentException: Division by zero maybe it's something related to the php configuration?

I think this is related to #352

Think so too.

Will close it after that one is merged in. If the problem is not solved, we can reopen it.

still InvalidArgumentException: Division by zero  on master

It doesn't  happend when using strings for values in operations, instead of numbers....

@Surt I will take care of this. You can expect fixes tomorrow.

@Surt I cannot replicate this. I tried the following.
Money::registerCalculator(new BcMathCalculator(0));
$money = new Money(399, new Currency(self::CURRENCY));
$this->assertSame('333', $money->divide(1.2)->getAmount());

Money::registerCalculator(new GmpCalculator());
$money = new Money(399, new Currency(self::CURRENCY));
$this->assertSame('333', $money->divide(1.2)->getAmount());

Money::registerCalculator(new PhpCalculator());
$money = new Money(399, new Currency(self::CURRENCY));
$this->assertSame('333', $money->divide(1.2)->getAmount());

I tried PHP 5.6 and PHP 7.0. Could you share your system settings: what php version are you using? Do you have BCMath or GMP enabled? That is not required btw, but it tells me which calculator your setup is using.

Hi,
PHP 5.6.30 with
BCMath support => enabled
Directive => Local Value => Master Value
bcmath.scale => 0 => 0

I'm using php-fpm through nginx

When debuggin I saw
$this->getCalculator()->compare((string) $divisor, '0') === 0 // /vendor/moneyphp/money/src/Money.php (line 329)
Maybe it's due to the Locale settings?

@Surt But that is not a problem that this library is causing. We expect actual numbers, not localized numbers. So I guess there is no bug left in our repo that is causing your problems, right?

@frederikbosch I'm sending a number, but the library cast it to string, wich causes the problem. To be aware of scalar types must be a must-do. I've solved it, but using an ugly patch.
Whoever is using the library as me will found a problem wich is related to that casting, except for some lucky ppl with default configuration been the one under the library was programed.
As I said, I solved it sending the number already casted and using str_replace but... as I see it if I'm sending a float I expect the system to take that float, not a particular cast of it.

@sagikazarmark WDYT about this? Should we change our code because of it?
@Surt A better solution (instead of str_replace) is sprintf('%.8g', $value)

@sagikazarmark We could replace (string) with (string) Number::fromString(). The question, do we want that?

echo sprintf('%.8g', 1.3);
gives me '1,3' with comma instead of dot.
I know it is a weird php behaviour, but also, if you decide not to take this in consideration it must warn the users about this particularity.

@Surt That is for sure.
@Surt How about echo sprintf('%.8G', 1.3);

        printf('%.8g', 1.3);  // "1,3"
        printf('%.8G', 1.3); // "1,3"
        printf('%.8F', 1.3); // "1.3"

http://php.net/manual/en/function.sprintf.php
F - the argument is treated as a float, and presented as a floating-point number (non-locale aware). Available since PHP 5.0.3.
so, "%.8F" seems to be the way to go.

Cool. Thanks.

@Surt PR #361 will solve the issue.


Update rom name checking for door randomizer and berserker multiworld

I'm genuinely sorry for missing this! 😢 Thank you a ton for contributing, I'll set up some notifications so this doesn't happen again.
I'm going to close this without merging just because I already duplicated this effort in the most recent release.


Update README.md

I have added my name :)

Kindly add your name in alphabetical order.

But it is in alphabetical order only.

You've to add your name in line number 1049. Kindly, check again

You've to add your name in line number 1049. Kindly, check again

There's already one name in line number 1049.


Use checked string copy for notification on windows

If user provides very long text it will be truncated to size of bufer-1 and null-terminated:
https://docs.microsoft.com/windows/win32/api/strsafe/nf-strsafe-stringcchcopyw

Sorry for overlooking this PR. Thanks for the contribution!


This was created automatically or whatever

VIEJO_ANCIANO

[ ] #31
[ ] EN
[ ] ES
[ ] FR
[ ] DE
[ ] NL

just a tiny test don't mind me


Updating chromedriver and headless-chromium binaries

Hi,
Is updating the 2 files just a matter of updating the files in the zip file?

how to get chromium binaries, new version, this version does not support --headless=chrome option means no extension

Hi @diegoparrilla
Thank you for providing this layer. Can you please provide more information on which version of chromedriver and headless chromium are you using in the layer. It will help us in updating the binaries if needed in the future.


在colab上运行finetune.ipynb的时候会报一个huggingface登录的错误，有人遇到同样的错误吗？

Downloading and preparing dataset generator/default to /root/.cache/huggingface/datasets/generator/default-2eec05f7b1485a75/0.0.0...
Generating train split: 0 examples [00:00, ? examples/s]Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_errors.py", line 286, in hf_raise_for_status
response.raise_for_status()
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/model_path/chatglm/resolve/main/tokenizer_config.json
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/hub.py", line 430, in cached_file
resolved_file = hf_hub_download(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1368, in hf_hub_download
raise head_call_error
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1238, in hf_hub_download
metadata = get_hf_file_metadata(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1631, in get_hf_file_metadata
r = _request_wrapper(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 385, in _request_wrapper
response = _request_wrapper(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 409, in _request_wrapper
hf_raise_for_status(response)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_errors.py", line 323, in hf_raise_for_status
raise RepositoryNotFoundError(message, response) from e
huggingface_hub.utils._errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-65ca176f-5253ecd507530db441e7bd66;124fc4dc-0217-4158-9d74-b4e7e5f1053e)
Repository Not Found for url: https://huggingface.co/model_path/chatglm/resolve/main/tokenizer_config.json.
Please make sure you specified the correct repo_id and repo_type.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1608, in _prepare_split_single
for key, record in generator:
File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/generator/generator.py", line 30, in _generate_examples
for idx, ex in enumerate(self.config.generator(**gen_kwargs)):
File "/content/ChatGLM-Tuning/tokenize_dataset_rows.py", line 43, in read_jsonl
tokenizer = transformers.AutoTokenizer.from_pretrained(
File "/usr/local/lib/python3.10/dist-packages/transformers/models/auto/tokenization_auto.py", line 718, in from_pretrained
tokenizer_config = get_tokenizer_config(pretrained_model_name_or_path, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/transformers/models/auto/tokenization_auto.py", line 550, in get_tokenizer_config
resolved_config_file = cached_file(
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/hub.py", line 451, in cached_file
raise EnvironmentError(
OSError: model_path/chatglm is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with huggingface-cli login or by passing token=<your_token>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/content/ChatGLM-Tuning/tokenize_dataset_rows.py", line 75, in
main()
File "/content/ChatGLM-Tuning/tokenize_dataset_rows.py", line 68, in main
dataset = datasets.Dataset.from_generator(
File "/usr/local/lib/python3.10/dist-packages/datasets/arrow_dataset.py", line 1020, in from_generator
).read()
File "/usr/local/lib/python3.10/dist-packages/datasets/io/generator.py", line 47, in read
self.builder.download_and_prepare(
File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 872, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1649, in _download_and_prepare
super()._download_and_prepare(
File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 967, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1488, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1644, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.builder.DatasetGenerationError: An error occurred while generating the dataset

报错的那段代码是：!python tokenize_dataset_rows.py
--jsonl_path data/alpaca_data.jsonl
--save_path data/alpaca
--max_seq_length 128


Fix Button group

[ ] Switch the name to Content Switcher
[ ] Change the content of the switcher to text + icon (it's only icons)
[ ] Change cursor to not-allowed when disabled

Switch the name to Content Switcher (Not applicable here)
Change the content of the switcher to text + icon (it's only icons) (Should not be a DS restrain)


add assertAllVisible and assertAllHidden

There are cases where I'd find it useful to know if every instance of a given selector is either visible or hidden, and having a shortcut for this would be nice.
I'll have a PR for this once I finish putting some tests together

I didn't look closely at assertNotVisible before.  Since this just negates casper.visible, which tests that at least 1 element is visible, then this actually already tests that all matching elements are hidden.  So no change is needed on that one.
However, assertVisible is really only testing that at least one element matching the given selector is visible, so having assertAllVisible will still be helpful.

Oops.  Also need to update the docs!  I'll have that shortly.


Try to render to custom frame buffers and subsequently display them on screene

need to create a frame buffer wrapper around glFrameBuffer object together with render buffer color, depth, stencil  attachments as well as wrapper around render buffer storage

done


Less build dependencies resolution

When substitutions are used, projects dependencies can appear anywhere in
the dependency graph. This forces Gradle to resolve the configurations
during the build configuration phase.
With this commit, substitutions that do not involve a project no longer
cause this early resolution.

LGTM 👍


No response using vanilla JS

Heeey,
So I have a vanilla set up of Isotope, imagesLoaded and infinite scroll, now for some reason, using infinite scroll using the vanilla new InfiniteScroll way, nothing seems to happen, where as if I use the jQuery way it works.. so I'm not exactly sure why this is... here is my code:
const onWindowLoad = () => {

	const $grid = document.querySelector('.item-list');

	//-- Isotope
	const $container = new Isotope( $grid, {
		itemSelector: 'none', // select none at first
		layoutMode: 'masonry',
		masonry: {
			columnWidth: '.grid-sizer',
			horizontalOrder: true,
			gutter: '.gutter-sizer',
		},
		percentPosition: true,
	});

	//-- Imagesloaded
	const $imagesLoadedOptions = {
		background: true
	};

	imagesLoaded( $grid, $imagesLoadedOptions, () => {
		const items = $grid.querySelectorAll('.item-list__card');

		$container.options.itemSelector = '.item-list__card';
		$container.appended( items );
	});

	//-- Infinite scroll
	const infScroll = new InfiniteScroll( $grid, {
		path: '.navigation a',
		append: '.item-list__card',
		debug: true,
		outlayer: $container,
		status: '.infinite-scroll-request',
	});

	// Filter items on button click
	const $filtersElem = document.querySelector('.filter');

	$filtersElem.addEventListener('click', (e) => {

		let filterValue = e.target.getAttribute('data-filter');

		// only work for the button element
		if ( e.target == 'button' ) {
			return;
		}

		$container.arrange({
			filter: filterValue
		});

	});

};

$(window).load(function() {
	onWindowLoad();
});

This wouldn't be because I'm passing my onWindowLoad() function into the jQuery window function is it??

Thanks for reporting this issue. Your code looks functionally good (although, I would rename $container as iso or isotope for clarity).
I'm not sure what's going wrong here, but I could better identify the issue if you had a live URL, or even better a reduced test case? See Submitting Issues in the contributing guidelines.


SSH Session Lost

When it Starts! ..all ok
2024/02/12 15:56:45 api serving at endpoint /
2024/02/12 15:56:45 listening on port  :2222
When start a new ssh  connection:
2024/02/12 16:17:13 Error: error reading webSocket message: failed to get reader: failed to read frame header: EOF
2024/02/12 16:17:13 Info: websocket finished!
2024/02/12 16:17:13 ssh exist from server wait: remote command exited without exit status or exit signal
2024/02/12 16:17:35 Error: error reading webSocket message: failed to get reader: failed to read frame header: EOF
2024/02/12 16:17:35 Info: websocket finished!
2024/02/12 16:17:35 ssh exist from server wait: remote command exited without exit status or exit signal

In other implementation i fixed it allowing listing from <IP_ADDRESS> but in this case it did not work:
site:
appname: ssh-web-console
listen_addr: <IP_ADDRESS>:2222
runmode: prod
deploy_host: console.hpc.gensh.me

+1 Having the same problem. Any solutions?

Hello,
+1 Same issue.
Any idea ?

Hello,
websocket issue.
Solved by adding :
ProxyPass        / http://localhost:2222/ upgrade=websocket
to httpd conf.
https://httpd.apache.org/docs/2.4/fr/mod/mod_proxy.html#wsupgrade
Thank you !


fastp missing in installation

I just noticed that in a clean docker install of 1.1.6a from 4 days ago using bcbio_docker (bcbio-vc) the package fastp was missing. I was able to manually install it with conda without any problem. Any idea how this could happen?

Hi Ben,
I have almost no experience using bcbio-vc so you'll have to bear with me. If you could walk me through what you are doing I can see if I can figure out what is happening. Are you pulling down a bcbio docker image that is missing fastp, or creating your own?

Hi Rory,
thank you for taking the time to look into this. The last official quay.io docker image of bcbio-vc is 4 months old, that is why I used the dockerfiles in bcbio_docker to build new images.
This is executed first:
https://github.com/bcbio/bcbio_docker/blob/master/Dockerfile.base
Then this:
https://github.com/bcbio/bcbio_docker/blob/master/Dockerfile.tools
And now that I am walking through the process again, I notice what may be missing. Should fastp not be listed here?
https://github.com/bcbio/bcbio_docker/blob/master/packages/bcbio-vc.yaml
Regards,
Ben

Thanks! Looks like you are right to me-- could you open up a pull request with the fix?


adding support for python 2+

hi at https://github.com/ironmann250/python-wikiquotes i changed a few things in util.py and lang folder so it can work with python 2+ and 3+

Apologies for the long delay, could this be changed to re-incorporate PEP8 checking?


chore(main): release audit 1.29.1

:robot: I have created a release beep boop
1.29.1 (2023-03-10)
Bug Fixes

false audit issues with root shell config (1dbc0a5)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/sandworm-hq/sandworm-audit/releases/tag/audit-v1.29.1 :sunflower:


angular-animate - updated enabled

Updated angular-animate $animate.enabled as per angular changes. (after 1.3.14 > 1.4.0)
new - https://code.angularjs.org/1.4.4/docs/api/ng/service/$animate
old - https://code.angularjs.org/1.3.14/docs/api/ngAnimate/service/$animate
Apologies for the previous request of this, I had reverted the change from master to submit another.

@stephenlautier thanks mate!


New release for Firefox fix?

Question
It looks like a Firefox bug that prevents capturing input from the microphone has found its way into v0.3.2 and v0.4.0.
Fortunately, it looks like you've already fixed this bug: https://github.com/twilio/twilio-video-app-react/pull/526
Are there any plans to release a new version soon that contains this fix?
Additional context
N/A

Hi @coreymaher! We just published a new release that contains #526 along with some other bug fixes 🎉. Please let us know if you have any questions or run into any issues!

That is great news, thanks!


Repo for GMail clone?

Hi, is there a stand alone repo that has one of the clones by themselves? The clones are great starting point to play around with layout ideas etc.
I created new react app from scratch and imported the gmail clone demo file GmailDemo.js to my Layout folder and then started importing components and build libraries by looking at the website folder in this repo. I have not gotten it to work yet. I thought I should ask before I spend more time on getting this to work in standalone app.
Thanks.

I recommend looking at Layout v6 Gmail as a starting point https://mui-treasury.com/?path=/story/layout-v6-app-gmail--gmail


Fatal error

am getting
Fatal error: Class 'Screen\Location\Jobs' not found in /var/www/html/Screen/src/Capture.php on line 106
i installed without composer in case that has something todo with it

Hello @rdtfyvgbnuhi
Since composer is used to autoload the classes, that is the problem.
You can workarround that by including all the class files in this order:

Capture.php
Location.php
Jobs.php
Output.php

i need to include them in the Capture.php ?


Styles not rendered from Mermaid

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
If I take simple examples from Mermaid documentation, and try to import them into drawIO they should be rendered with style.
For instance from Mermaid documentation :
flowchart LR
    id1(Start)-->id2(Stop)
    style id1 fill:#f9f,stroke:#333,stroke-width:4px
    style id2 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5

flowchart LR
    id1(Start)-->id2(Stop)
    style id1 fill:#f9f,stroke:#333,stroke-width:4px
    style id2 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5

Is not properly rendered in DrawIO, all style is lost ...
To Reproduce
Steps to reproduce the behavior:

Go to 'Arrange > Insert > Advanced > Mermaid'
Copy past the mermaid code with colors, classes definition etc.
Click 'Insert' button
See diagram is rendered but style is lost.

Expected behavior
I expect to see the diagram with the styles applied properly if present in the import.
Screenshots
This screenshots shows the mermaid documentation for nodes styling.

This other screenshot shows the rendering inside draw.io

draw.io version (In the Help->About menu of the draw.io editor):

draw.io version 21.8.0

Desktop (please complete the following information):

OS: Ubuntu 1804
Browser Chrome
Browser Version 116.0.5845.140 (Official Build) (64-bit)

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

yes

Hi there, I've just created a new empty diagram on https://app.diagrams.net (today it's 24.5.5).
Arrange > Insert > Advanced > Mermaid
Then pasted the sample from Mermaid documentation:
flowchart LR     id1(Start)-->id2(Stop)     style id1 fill:#f9f,stroke:#333,stroke-width:4px     style id2 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
Formatting is visible only when I insert as image but not when I insert as diagram. Would it be possible to have formatting in the diagram as well?

Can confirm this is still happening in 24.6.4 and in the website, I inserted a mermaidJS diagram with this init line (note the mention of a theme) and it's rendered in shades of gray (it works fine in GitLab and the vscode extension bierner.markdown-mermaid, so I'm assuming it's correct)
%%{init: { 'logLevel': 'debug', 'theme': 'default', 'gitGraph': {'showBranches': true,'showCommitLabel': false}} }%%

Hi,
I used the lasted version web V24.7.7  and doesn`t work  properly ....
    Exist two issues  --  if would like to use colors into the nodes  . .
                                   if would like like format the text into the nodes

##################################### draw.io not accept Styles

################################### draw.io not format text into nodes .... example

Thanks !

Hi, experiencing the same. The charts when loaded on draw.io don't have colors. Is there a workaround for this? Thanks!


KG improvements in the frontend

Since we will have new issues for this one based on the finalized requirements, so I am closing this.


interp1d Matlab compatibility

Is your feature request related to a problem? Please describe.
Yes. I want to rewrite Matlab code in Python. Unfortunately the interp1d with 'nearest' is not fully compatible with Matlab interp1. Matlab rounds up and Scipy rounds down. If one wants to interpolate 1.5 between 1 and 2, Matlab gives you the value at 2 and Scipy gives you the value at 1. That's really a mess, if one expects same results.
Describe the solution you'd like
An additional parameter left/right or nearest_up/nearest_down

Matching matlab is not a requirement.
interp1d is already loaded with options. Maybe better introduce a new interpolation kind, "nearest-down" or some such. This route needs a champion :-).
The other route, of course, is to borrow the source into your user code,
https://github.com/scipy/scipy/blob/v1.5.2/scipy/interpolate/interpolate.py#L612
and adjust as needed.

Thanks for your fast reply.
You are right, Matlab is not an requirement. But in this case it would make thinks easier.
Yes, a new interpolation kind would be fine. In this case nearest-up, because nearest-down is already the default behavior.

As I understand this is a minor effort, because of the requested functionality is already there (searchsorted(x, y, side='right')). One needs to copy the existing code, change this little piece of code (left -> right) and introduce a new kind='nearest-up'.

A pull request would speed things up.


Allow me to specify the database to save LogEntry

Due to the volume of audit logs and integration with legacy database, I need my audit logs in a separate database.
I suggest adding a LOGGING_DATABASE_NAME variable and amending the LogEntryManager such as:
             # save LogEntry to same database instance is using unless settings.LOGGING_DATABASE_NAME is specified
            db = getattr(settings, 'LOGGING_DATABASE_NAME', instance._state.db)
            return self.create(**kwargs) if db is None or db == '' else self.using(db).create(**kwargs)
instead of:
            # save LogEntry to same database instance is using
            db = instance._state.db
            return self.create(**kwargs) if db is None or db == '' else self.using(db).create(**kwargs)

Will this work, because tables which are present in other db are not being entered in the auditlog_logentry and django_content_type tables. If it is not present then we will not be able to store these entries as django_content_type has no entry of that table.
Correct me if i am wrong.

In my scenario, my operational data resides in a legacy database while I'd need to store my auditlog in my default db because I'm not allowed to create new tables in the legacy database. Hence, I was able to solve my problem when I set LOGGING_DATABASE_NAME to default in my setting.py after I made my suggested changes.
But I understand where you are coming from. As the LogEntry model has 2 foreignkeys, if I were to specify LOGGING_DATABASE_NAME to be a database without the ContentType and AUTH_USER_MODEL tables it will not work.
Perhaps, then the assumption to "save LogEntry to same database instance is using" is not correct to begin with?

Yes, currently i am facing the issue where i have 2 databases but audit_logging is present in default database and i am unable to migrate to the second database. Due to which it is not allowing me to save the data as well. Is there a workaround for this scenario.
Could you please suggest is there a way to migrate the 2 tables to the second db, so that audit logging might be possible without errors.

+1
I have a local sqlite db (default) and an existing db, added models reflecting it, with Managed=False setting.
It looks like auditlog is trying to write into the external DB instead of sqlite.
1142, "INSERT command denied to user<EMAIL_ADDRESS>for table 'auditlog_logentry'"
The auditlog table exists in sqlite, so this part is correct.


Create additional info blocks

My hobbies: Video games ( especially for 2D and 2.5D games ), drinking coffee, watching anime & read manga.
My interest: Walking with listening music.

This task is completed


The documentation for Gitlab is not linked correctly.

When selecting the Token Storage option Gitlab and then clicking the "Read the guide" link you end up on https://docs.tokens.studio/sync/gitlab which currently doesn't exist.
Steps to reproduce the behavior:

Go to Settings > Token Storage > Gitlab.
Click on "Read the guide".
The browser navigates to https://docs.tokens.studio/sync/gitlab.
The link returns a 404. The docs also doesn't have a page for Gitlab as far as I can tell.

Docs have been updated. Closing the issue.


[Improvement] Consider updating the version of the SQLServer PowerShell module to v22

Currently, the logic in the DockerFiles and setup files cap the version of the SQLServer PowerShell module to v21.
That was a mechanism we put in place to avoid accidentally picking up breaking changes.
Well, now that I released v22 of the module (which does have breaking changes compare to v21), it would be nice to see if we can look into updating it.
While the change is probably trivial, I'm more concerned about breaking people out there - is there a way to have the change rolled out in stages or get a sense of how people may be affected? Maybe we could install both v21 and v22 SxS to allow people to opt out of v22 and go back to v21 should they see problems?

@Matteo-T @darrentu  has created a PR for this: https://github.com/Azure/CloudShell/pull/316. Please take a look and approve if it looks ok.

Closing this because changes are complete and are in production


GOT ERROR while running SPIDEr Caused by: java.lang.ClassNotFoundException: edu.stanford.nlp.semgraph.semgrex.SemgrexPattern

I was trying to run SPIDEr metric on one of my tasks, which is a combination of SPICE and CIDEr. CIDEr works fine. I checked my ~/.cache/aac-metrics dir for the packages. The class is present in edu/stanford/nlp/semgraph/semgrex/SemgrexPattern
Is there any issue in passing this to the classpath of SPICE during runtime? is this related to https://github.com/tylin/coco-caption/issues/42 ?
I could have done something wrong , please let me know.
ERROR STACKTRACE
Invalid SPICE call.
Full command: 'java -jar -Xmx8G /Users/userName/.cache/aac-metrics/spice/spice-1.0.jar /var/folders/yy/1xn9f2qd2xsgpq6rt7mm4df40000gn/T/spice_inputs_jfqgp8i3.json -cache /var/folders/yy/1xn9f2qd2xsgpq6rt7mm4df40000gn/T/tmp2rghop0y -out /var/folders/yy/1xn9f2qd2xsgpq6rt7mm4df40000gn/T/spice_outputs_h5vn2ztp.json -subset'
For more information, see temp files '/var/folders/yy/1xn9f2qd2xsgpq6rt7mm4df40000gn/T/spice_stdout_ip0y0dft.txt' and '/var/folders/yy/1xn9f2qd2xsgpq6rt7mm4df40000gn/T/spice_stderr_b3aj347v.txt'.
Content of '/var/folders/yy/1xn9f2qd2xsgpq6rt7mm4df40000gn/T/spice_stdout_ip0y0dft.txt':
Content of '/var/folders/yy/1xn9f2qd2xsgpq6rt7mm4df40000gn/T/spice_stderr_b3aj347v.txt':
Exception in thread "main" java.lang.NoClassDefFoundError: edu/stanford/nlp/semgraph/semgrex/SemgrexPattern
at edu.anu.spice.SpiceParser.<clinit>(SpiceParser.java:64)

at edu.anu.spice.SpiceScorer.scoreBatch(SpiceScorer.java:70)

at edu.anu.spice.SpiceScorer.main(SpiceScorer.java:60)

Caused by: java.lang.ClassNotFoundException: edu.stanford.nlp.semgraph.semgrex.SemgrexPattern
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)

at java.lang.ClassLoader.loadClass(ClassLoader.java:418)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)

at java.lang.ClassLoader.loadClass(ClassLoader.java:351)

Hi!
Seems like some JAR files are missing to compute SPICE.
I think the expected folder tree for SPICE in (~/.cache/aac-metrics) is:
    spice
    ├── cache
    ├── lib
    │   ├── ejml-0.23.jar
    │   ├── fst-2.47.jar
    │   ├── guava-19.0.jar
    │   ├── hamcrest-core-1.3.jar
    │   ├── jackson-core-2.5.3.jar
    │   ├── javassist-3.19.0-GA.jar
    │   ├── json-simple-1.1.1.jar
    │   ├── junit-4.12.jar
    │   ├── lmdbjni-0.4.6.jar
    │   ├── lmdbjni-linux64-0.4.6.jar
    │   ├── lmdbjni-osx64-0.4.6.jar
    │   ├── lmdbjni-win64-0.4.6.jar
    │   ├── Meteor-1.5.jar
    │   ├── objenesis-2.4.jar
    │   ├── SceneGraphParser-1.0.jar
    │   ├── slf4j-api-1.7.12.jar
    │   ├── slf4j-simple-1.7.21.jar
    │   ├── stanford-corenlp-3.6.0.jar
    │   └── stanford-corenlp-3.6.0-models.jar
    └── spice-1.0.jar

Can you check if all files are present?

Thanks for responding. You are right, some packages are missing, namely,
stanford-corenlp-3.6.0-models.jar
stanford-corenlp-3.6.0.jar -> the error message says this was missing
SceneGraphParser-1.0.jar
Meteor-1.5.jar
Just some additional info
For installation the steps i followed were :

pip install aac-metrics
aac-metrics-download

(Running py 3.10.9)
Let me know if there's a mistake with the installation process
Thanks

Since there is no error message, I still can't figure it out. Are the same JAR files still missing in ~/.cache/aac-metrics/spice?

Yes. The same file are missing again. Is there any way I can build them or just place the JARs at the right locations to make it work?
I dont know if this information would be of any help, but I'm trying to run this on an m1 mac.

I don't know if aac-metrics works on Mac, it hasn't been tested for this OS.
You can also download the files that are missing manually and put them in the folder. The ZIP files containing the lib JAR files are available here : http://nlp.stanford.edu/software/stanford-corenlp-full-2015-12-09.zip.
Maybe the unstable version of aac-metrics on dev branch could also fix this issue, since I was working on SPICE download to remove the use of external bash files.

The last comment by @Labbeti worked.


Ignore tags added twice, instead of removing them

Describe the solution you'd like

I'm not reporting this as a bug, even though for me it's a bit counter-intuitive behavior, because I see it being used consciously in the countries example.

Currently, when the same tag is added twice, it results in the tag getting actually removed. I guess this is because of the Api.select() method nature, which actually toggles tags.
duplicated-tags.webm
When using this library's v6, tags where actually passed twice to the onAddition callback, and it was easy to ignore duplicates by using a Set.
Now, if you actually want to ignore duplicates, instead of getting them removed, there's no easy workaround unless several event handlers are overwritten.
Because of this, it would be great to support an option disabling the removal on duplicated tags.
Describe alternatives you've considered
I have tried working around this via custom event handlers + API ref, but nothing seems to allow covering all ways to add tags (different keys, clicking on suggestions, selecting suggestions via keyboard, etc).

Thank you for the the detailed report and video @acelaya
The tags are matched by their value so a workaround may be ensure the created tags have a unique value assigned to them.
I've had a think about potential options to customise this behaviour and I haven't yet thought of anything consistent. For example, adding an option to skip the tag matching would be easy but such an option would dramatically alter how the component functions when enabled.

Thanks for the explanation. Understanding the context clarifies the behavior a lot.

The tags are matched by their value so a workaround may be ensure the created tags have a unique value assigned to them.

This is actually not a bad idea.
I'm only using the label, so altering the value shouldn't have any impact on my implementation. I will give it a try.

I can confirm using a unique value for added tags while the label is kept the same, is a good way to work around this.
Then a Set can be used to get rid of duplicates, so the behavior is the one I originally described.
This workaround is simple enough, so I'll close this issue.

BTW, I haven't seen any way to sponsor this project. Do you somehow accept sponsoring or donations?


v0.7.0

Codecov Report

Merging #91 into master will decrease coverage by 0.04%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
- Coverage   53.58%   53.54%   -0.05%
==========================================
  Files          19       19
  Lines        1269     1270       +1
==========================================
  Hits          680      680
- Misses        589      590       +1

Impacted Files
Coverage Δ

skeleton/app.js
0% <0%> (ø)
:arrow_up:

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 30f872f...c5d7371. Read the comment docs.

Codecov Report

Merging #91 into master will decrease coverage by 0.04%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
- Coverage   53.58%   53.54%   -0.05%
==========================================
  Files          19       19
  Lines        1269     1270       +1
==========================================
  Hits          680      680
- Misses        589      590       +1

Impacted Files
Coverage Δ

skeleton/app.js
0% <0%> (ø)
:arrow_up:

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 30f872f...c5d7371. Read the comment docs.


Rename and implement new PR template

Renamed the previous pull request template and implemented a new one for improved workflow. The changes also involved adjustments to tests and the README, adding fresh guidelines for contributors that will enhance project maintenance.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1102

Relevant Lines:
1152

💛  - Coveralls


Missing ID's

We've noticed that in Australia the ID is missing in the Countrywide file. The source G-NAF includes this ID and we suspect (but are not sure) the issue is in the defining json for that file here.
We've found that only the ID for Tasmania is consistently populated.

@jharpster is it the IDs which look like GAQLD157763221 that you think are what OpenAddresses should use as the id field? If so once #3678 finishes CI I'll merge it in which should add that that id.


Update unmt.sh

Fixed some errors.  e.g.  $SRC & $TRG referred with undefined ; $TRG wrong written as $TGT etc.
BTW，in Step 3. Train NMT models, Second substep, 4th command. Should it be
./run.sh joint $EPOCH **$TRG_LANG $SRC_LANG** true $GPU_LIST_1 $BATCH_SIZE 0 20 false $SPLIT_PART trial # Process two  ?

Thanks a lot for the error fixing!
There is indeed a typo in the line you mentioned. I have fixed this. Thanks again!


Expose max message sizes and check boundaries on Read/Write

This implements correct msize handling where Read/Write operations cannot read/write more than msize-[message envelope size]  bytes at once.
For easier processing, this behavior is encapsulated in a io.Reader / io.Writer implementation to chunk read and writes when needed.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "expose_max_message_sizes" git@github.com:simonferquel/go-p9p.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Current coverage is 15.29% (diff: 0.00%)

Merging #29 into master will decrease coverage by 0.66%

@@             master        #29   diff @@
==========================================
  Files            13         15     +2
  Lines          1128       1177    +49
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            180        180
- Misses          900        949    +49
  Partials         48         48

Powered by Codecov. Last update f717cf6...483d407

#30 handles the client-side truncation of Twrite. I think there are a few other things we must do to protect the client.
Please break out the reader/writer from this PR into a separate PR.

I am just a bit worried about the write counterpart, as from the io.Writer documentation, a write should always return len (data) unless err is not null. Partial Writes do not fit very well with that.
On Mon, Oct 24, 2016 at 8:58 PM +0200, "Stephen Day"<EMAIL_ADDRESS>wrote:
@stevvooe commented on this pull request.
In client.go:

func (c *client) Read(ctx context.Context, fid Fid, p []byte, offset int64) (n int, err error) {

if len(p) > c.transport.channel().MaxReadSize() {

That is basically the right fix. This can mostly be done before the message is sent. Modifying Twrite and Rread inline is okay, since the return value will provide enough information for the sender to know they didn't send all the data.
We still need to handle the server side problem, as well.
We also need a way to set an optimal buffer size but I'd like to see how this is being used. Mostly, I'm worried that something is wrong since it took a year to find such a simple bug. For the most part, we haven't seen these conditions until now. Go's io package can be subtle, so I suspect a problem there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@simonferquel Could you discuss on #30?


add Tasmota & Tuya-Convert

I've found both pieces of software useful and well-maintained. Tasmota is developed with the Arduino libraries and provides web, console, and MQTT interfaces for configuration & rule setting on ESP devices. Any questions, feel free to hit me up.

Tasmota is nice! Don't know why is not in this repository yet

I actually use Tasmota quite often and I really don't know why I didn't get the idea to add it here!


Gzip the html files before uploading

Gzip html files for #411

Thanks! Let's give this a shot. Had something quite similar in progress so we're on the same page :)


Explicitly install osbuild-selinux to avoid dependency problems

in
https://gitlab.com/redhat/services/products/image-builder/ci/manifest-db/-/jobs/7078915125 I am seeing:
Error:
Problem 1: problem with installed package selinux-policy-targeted-38.1.12-1.el9.noarch

package osbuild-121-1.20240606gitfaaa0bf.el9.noarch requires (osbuild-selinux if selinux-policy-targeted), but none of the providers can be installed
package osbuild-selinux-97-1.el9.noarch requires osbuild = 97-1.el9, but none of the providers can be installed
cannot install both osbuild-97-1.el9.noarch and osbuild-121-1.20240606gitfaaa0bf.el9.noarch
cannot install the best candidate for the job
nothing provides selinux-policy >= 38.1.36-1.el9 needed by osbuild-selinux-121-1.20240606gitfaaa0bf.el9.noarch
nothing provides selinux-policy-base >= 38.1.36-1.el9 needed by osbuild-selinux-121-1.20240606gitfaaa0bf.el9.noarch Problem 2: problem with installed package selinux-policy-38.1.12-1.el9.noarch

where I thought that osbuild-selinux should be pulled in automatically but for some reason it isn't.
Related: COMPOSER-2227

@atodorov the problem may be that the osbuild rpm has been built against newer repositories than what the system under test uses. So the selinux-policy in the repos is too old.


Mock downloads in _get module tests

CI fails regularly, often on macOS runner, because of a timeout of the folder download test. We should mock all downloads to remove reliance on connectivity / external servers.

I deactivated the folder download test; this seems to be a protection setting (the download mostly fails after some number of files were downloaded successfully). Probably a rate limit or something of the sort.
We could

implement a retry mechanism
mock all download tests that rely on external connection
do both


Migrate to CLA Assistant

Motivation
We need to swap over to the new CLA assistant. Copy over the GHA from the main Materialize repo.

Force merging this since the legacy CLA check is not functioning.


Automatically hide type=shadow tables in SQLite 3.37 or higher

For filtering virtual table's "shadow tables" (ex the FTS5 _content and most the spatialite tables),  you can use pragma_table_list (first appeared in SQLite 3.37 (2021-11-27), which has a type column that calls out type="shadow" tables https://www.sqlite.org/pragma.html#pragma_table_list

Originally posted by @asg017 in https://github.com/simonw/datasette/issues/2104#issuecomment-1641082395

The code for this can go here: https://github.com/simonw/datasette/blob/7818e8b9d15a3d50c16f080dc7fe4b5e8eb3d241/datasette/database.py#L460-L519
It will need to gracefully handle that missing pragma.

We're going to change something here too: we're going to NOT hide FTS virtual tables (or indeed any other virtual table) by default any more.
Reason is that FTS tables are actually OK to browse, e.g. https://datasette.io/content/repos_fts
And some SQLite FTS tables don't correspond to a content table, so should be visible anyway.


PCBs ready - let me know if you want some

Hi guys,
i created a PCB which takes an Arduino Pro Mini, DWM1000 chip and an ESP8266.
It can be connected to 5V Micro USB, all 3V3 is handled by a voltage controller. The ESP is connected to the Arduino UART to send all ranging messages over Wifi to a server. This way, the anchors can easily be connected to a server and all ranging is done by the DWM1000. There is some additional resistors, capacitors, leds, connectors to flash the ESP etc.
they can be used either as anchor or as tag (depending on the ino you flash). let me know if you want some, you will get them at cost price.

This is great work.
What if I do not need WiFi to send messages?
On Nov 4, 2016 5:07 PM, "kuek"<EMAIL_ADDRESS>wrote:

Hi guys,
i created a PCB which takes
an Arduino Pro Mini, DWM1000 chip and an ESP8266.
It can be connected to 5V Mini USB, all 3V3 is handled by a voltage
controller. The ESP is connected to the Arduino UART to send all ranging
messages to Wifi to a server. This way, the anchors can easily be connected
to a server and all ranging is done by the DWM1000. There is some
additional resistors, capacitors, leds, connectors to flash the ESP etc.
they can be used either as anchor or as tag (depending on the ino you
flash). let me know if you want some, you will get them at cost price.
[image: arduino_anchor]
https://cloud.githubusercontent.com/assets/4239543/20022446/f0a23e96-a2da-11e6-83fa-dab08645ed00.jpg
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/thotro/arduino-dw1000/issues/129, or mute the thread
https://github.com/notifications/unsubscribe-auth/AExz3eQ-IMPkQmLU8XtYsOV5J9f1qKCGks5q656SgaJpZM4Kp_k3
.

Hi az-z,
no problem, just don't solder any ESP on the PCB. Its not needed at all...
I made an universal PCB, because I needed it WiFi for the anchors. But my tags also use the same PCB and don't use WiFi.

Sweet.thank you
On Nov 4, 2016 5:40 PM, "kuek"<EMAIL_ADDRESS>wrote:

Hi az-z,
no problem, just don't solder any ESP on the PCB. Its not needed at all...
I made an universal PCB, because I needed it WiFi for the anchors. But my
tags also use the same PCB and don't use WiFi.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/thotro/arduino-dw1000/issues/129#issuecomment-258554500,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AExz3TN5Ra2v7gb0BZiFbRbgsFsqlBFfks5q66ZBgaJpZM4Kp_k3
.

How much? and where can i buy some of your boards.

Hi, how many boards do you need?

What about 10 boards.

yep, no problem. each board is 4,33 eur cost price right now. let me know if you want some and drop me an email with the details.

@kuek Is this the board you use in your latest post ?

Hi curlyz,
yes, thats the boards I use. I also recoded these videos using 3 anchors and 1 tag of this hardware...
https://www.youtube.com/watch?v=t1kuF8y7Lwg
and
https://www.youtube.com/watch?v=2MKSFAHrWqY

@kuek, how can I purchase 8 boards?  Can I send a private message so you can send me an invoice via Paypal?

I'd be interested in a few boards, are any still available?

yep, still available.

Hi @kuek , I am also interested in four boards for now then post experimentation will like go go with more. Can you help me with only PCB boards, and all mounted boards?

@sahilparekh yes i still have PCBs incl SMD. can you send me an email? kuek -at- me -dot- com

Hi guys, we have a new version online which is based on an STM32F103 called Localino 2.0. You can still program the Localino 2.0 with Arduino IDE and make use of your own code. But it has much more space (128kB) and is heaps faster!!

Hi @kuek, where can I find store? or maybe you can share your contact? is this board still available?

Hi @vladimir-shmidt, yes we have some of Version 1.0 left, Please send us an email to<EMAIL_ADDRESS>There are also newer boards available here www.localino.net/shop

Hi,
Thanks. Version 2.0 board looks cool. There is some limitation on software around v2. Is it anchors count limitation only? Or anything more?
I’m asking so as I’d like to buy couple kits and build playground with 5 people in with 10m2 space. I guess that it wouldn’t be enough to have only 4 anchors. So, will I able to program this shield by my own for example with this Arduino library https://github.com/thotro/arduino-dw1000 to avoid v2 software limitations?
Thanks.
Sent from Mail for Windows 10
From: kuek
Sent: 23 февраля 2018 г. 13:09
To: thotro/arduino-dw1000
Cc: Vladimir Shmidt; Mention
Subject: Re: [thotro/arduino-dw1000] PCBs ready - let me know if you want some (#129)
Hi @vladimir-shmidt, yes we have some of Version 1.0 left, Please send us an email to<EMAIL_ADDRESS>There are also newer boards available here www.localino.net/shop
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi @vladimir-shmidt
our v2.0 demo firmware can handle 4 anchors and 3 tags.
But you can for sure program your own firmware on it. We supply the Arduino IDE which works with this Arduino https://github.com/thotro/arduino-dw1000 library, so you can develop your own code on our reliable hardware.
you will have full acccess to the STM32 controller, so you can do whatever you like ;-)
Alternatively you go for v3.0 which is finished and does not need development anymore.

Hi Kuek,
This is really a nice work! I'd like to know if this PCB board is still available for academic research use? We bought couples of bb-dw1km and they didn't work fine in range with maximum distance of 30m under MODE_LONGDATA_RANGE_ACCURACY (we assume it could be at least 100m).
Thanks!
Tony Weng

Hi,
Yes we do have some PCBs left over.
In which country are you?
--
Heuel & Löher GmbH & Co KG
In den Höfen 9
57368 Lennestadt, Germany
website:  www.localino.net
linkedIn: www.linkedin.com/company/localino-rtls/
Am 12. April 2019 05:02:48 MESZ schrieb Li-Kang Weng<EMAIL_ADDRESS>
Hi Kuek,
This is really a nice work! I'd like to know if this PCB board is still
available for academic research use? We bought couples of bb-dw1km and
they didn't work fine in range with maximum distance of 30m under
MODE_LONGDATA_RANGE_ACCURACY (we assume it could be at least 100m).
Thanks!
Tony Weng
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/thotro/arduino-dw1000/issues/129#issuecomment-482418845

Hi Kirk,
Thank you so much for the prompt reply. I’m in Taiwan. Is it available to
deliver? and how much does it cost for each? We may need 5 PCBs.
Thanks!
BRs,
Tony Weng
kuek<EMAIL_ADDRESS>2019年4月13日 週六，上午2:04寫道：

Hi,
Yes we do have some PCBs left over.
In which country are you?
--
Heuel & Löher GmbH & Co KG
In den Höfen 9
https://maps.google.com/?q=In+den+Höfen+9+

57368+Lennestadt,+Germany&entry=gmail&source=g
57368 Lennestadt, Germany
https://maps.google.com/?q=In+den+Höfen+9+

57368+Lennestadt,+Germany&entry=gmail&source=g
website:  www.localino.net
linkedIn: www.linkedin.com/company/localino-rtls/
Am 12. April 2019 05:02:48 MESZ schrieb Li-Kang Weng <
<EMAIL_ADDRESS>
Hi Kuek,
This is really a nice work! I'd like to know if this PCB board is still
available for academic research use? We bought couples of bb-dw1km and
they didn't work fine in range with maximum distance of 30m under
MODE_LONGDATA_RANGE_ACCURACY (we assume it could be at least 100m).
Thanks!
Tony Weng
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:

https://github.com/thotro/arduino-dw1000/issues/129#issuecomment-482418845
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/thotro/arduino-dw1000/issues/129#issuecomment-482668913,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGC_0uMTfGbDQc6tzUrN8cxQGG0pv3hbks5vgMqwgaJpZM4Kp_k3
.

--
BRs,
Li-Kang (Tony) Weng

I’d love some too if you have :)
On Friday, 12 April 2019, kuek<EMAIL_ADDRESS>wrote:

Hi,
Yes we do have some PCBs left over.
In which country are you?
--
Heuel & Löher GmbH & Co KG
In den Höfen 9
https://maps.google.com/?q=In+den+Höfen+9+

57368+Lennestadt,+Germany&entry=gmail&source=g
57368 Lennestadt, Germany
website:  www.localino.net
linkedIn: www.linkedin.com/company/localino-rtls/
Am 12. April 2019 05:02:48 MESZ schrieb Li-Kang Weng <
<EMAIL_ADDRESS>
Hi Kuek,
This is really a nice work! I'd like to know if this PCB board is still
available for academic research use? We bought couples of bb-dw1km and
they didn't work fine in range with maximum distance of 30m under
MODE_LONGDATA_RANGE_ACCURACY (we assume it could be at least 100m).
Thanks!
Tony Weng
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/thotro/arduino-dw1000/issues/129#
issuecomment-482418845

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/thotro/arduino-dw1000/issues/129#issuecomment-482668913,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAlifQPGRkX8YuBjvDwZwdMPNp6icRhzks5vgMqsgaJpZM4Kp_k3
.

Hello Kuek,
I am really interested by the work you did. Do you still have some PCB available? I would really like to test the precision of your solution!
Thank you in advance for your reply.
Best regards

Hi,
Yes we have some left over.
They are 65 EUR/piece net incl transceiver and all you need.
Regards
Heuel & Löher GmbH & Co KG
In den Höfen 9
57368 Lennestadt, Germany
website:  www.localino.net
linkedIn: www.linkedin.com/company/localino-rtls/
Am 20. April 2019 23:04:02 MESZ schrieb NomisTuo<EMAIL_ADDRESS>
Hello Kuek,
I am really interested by the work you did. Do you still have some PCB
available? I would really like to test the precision of your solution!
Thank you in advance for your reply.
Best regards
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/thotro/arduino-dw1000/issues/129#issuecomment-485171597

Hi Kuek,
If you still have enough PCB, I would be glad to get 6, i.e. 390€. I am living in Belgium (rue Bruyère 4, 1430 Rebecq) would it be possible to send them via post services? May I pay you over a bank transfer?
I am maybe pushing to far (do not hesitate to tell me) but do you also have a schematic of the PCB with the different connexions and devices?
Thank you very much in advance.
Best regards.
Simon

Le 21 avr. 2019 à 08:44, kuek<EMAIL_ADDRESS>a écrit :
Hi,
Yes we have some left over.
They are 65 EUR/piece net incl transceiver and all you need.
Regards
Heuel & Löher GmbH & Co KG
In den Höfen 9
57368 Lennestadt, Germany
website:  www.localino.net
linkedIn: www.linkedin.com/company/localino-rtls/
Am 20. April 2019 23:04:02 MESZ schrieb NomisTuo<EMAIL_ADDRESS>
Hello Kuek,
I am really interested by the work you did. Do you still have some PCB
available? I would really like to test the precision of your solution!
Thank you in advance for your reply.
Best regards
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/thotro/arduino-dw1000/issues/129#issuecomment-485171597
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi Simon,
Please send me your details, address etc per email to<EMAIL_ADDRESS>We will proceed then. Schematics are company confidential.
Best
Heuel & Löher GmbH & Co KG
In den Höfen 9
57368 Lennestadt, Germany
website:  www.localino.net
linkedIn: www.linkedin.com/company/localino-rtls/
Am 21. April 2019 11:25:25 MESZ schrieb NomisTuo<EMAIL_ADDRESS>
Hi Kuek,>

If you still have enough PCB, I would be glad to get 6, i.e. 390€. I am
living in Belgium (rue Bruyère 4, 1430 Rebecq) would it be possible to
send them via post services? May I pay you over a bank transfer? >

I am maybe pushing to far (do not hesitate to tell me) but do you also
have a schematic of the PCB with the different connexions and devices?>

Thank you very much in advance.>

Best regards.>

Simon>

Le 21 avr. 2019 à 08:44, kuek<EMAIL_ADDRESS>a écrit :>

Hi,>

Yes we have some left over.>
They are 65 EUR/piece net incl transceiver and all you need.>

Regards>
-->
Heuel & Löher GmbH & Co KG>
In den Höfen 9>
57368 Lennestadt, Germany>

website:  www.localino.net>
linkedIn: www.linkedin.com/company/localino-rtls/>

Am 20. April 2019 23:04:02 MESZ schrieb NomisTuo
notifications@github.com:>

Hello Kuek,>

I am really interested by the work you did. Do you still have some
PCB>
available? I would really like to test the precision of your
solution! >

Thank you in advance for your reply.>

Best regards>

-- >
You are receiving this because you were mentioned.>
Reply to this email directly or view it on GitHub:>

https://github.com/thotro/arduino-dw1000/issues/129#issuecomment-485171597>
—>
You are receiving this because you commented.>
Reply to this email directly, view it on GitHub, or mute the thread.>

-- >
You are receiving this because you were mentioned.>
Reply to this email directly or view it on GitHub:>
https://github.com/thotro/arduino-dw1000/issues/129#issuecomment-485237733

Hi Kuek,
Thank you for your answer. I confirm my will to buy 6 PCB at 65€ each.
Here are my details:
Simon Verdebout
Rue Bruyère 4
1430 Rebecq
Belgium
+32495465083
<EMAIL_ADDRESS>Best regards.
Simon

Le 21 avr. 2019 à 12:09, kuek<EMAIL_ADDRESS>a écrit :
Hi Simon,
Please send me your details, address etc per email to<EMAIL_ADDRESS>We will proceed then. Schematics are company confidential.
Best
Heuel & Löher GmbH & Co KG
In den Höfen 9
57368 Lennestadt, Germany
website:  www.localino.net
linkedIn: www.linkedin.com/company/localino-rtls/
Am 21. April 2019 11:25:25 MESZ schrieb NomisTuo<EMAIL_ADDRESS>
Hi Kuek,>

If you still have enough PCB, I would be glad to get 6, i.e. 390€. I am
living in Belgium (rue Bruyère 4, 1430 Rebecq) would it be possible to
send them via post services? May I pay you over a bank transfer? >

I am maybe pushing to far (do not hesitate to tell me) but do you also
have a schematic of the PCB with the different connexions and devices?>

Thank you very much in advance.>

Best regards.>

Simon>

Le 21 avr. 2019 à 08:44, kuek<EMAIL_ADDRESS>a écrit :>

Hi,>

Yes we have some left over.>
They are 65 EUR/piece net incl transceiver and all you need.>

Regards>
-->
Heuel & Löher GmbH & Co KG>
In den Höfen 9>
57368 Lennestadt, Germany>

website: www.localino.net>
linkedIn: www.linkedin.com/company/localino-rtls/>

Am 20. April 2019 23:04:02 MESZ schrieb NomisTuo
notifications@github.com:>

Hello Kuek,>

I am really interested by the work you did. Do you still have some
PCB>
available? I would really like to test the precision of your
solution! >

Thank you in advance for your reply.>

Best regards>

-- >
You are receiving this because you were mentioned.>
Reply to this email directly or view it on GitHub:>

https://github.com/thotro/arduino-dw1000/issues/129#issuecomment-485171597>
—>
You are receiving this because you commented.>
Reply to this email directly, view it on GitHub, or mute the thread.>

-- >
You are receiving this because you were mentioned.>
Reply to this email directly or view it on GitHub:>
https://github.com/thotro/arduino-dw1000/issues/129#issuecomment-485237733
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi Simon, Please send me your details, address etc per email to<EMAIL_ADDRESS>We will proceed then. Schematics are company confidential. Best -- Heuel & Löher GmbH & Co KG In den Höfen 9 57368 Lennestadt, Germany website:  www.localino.net linkedIn: www.linkedin.com/company/localino-rtls/ Am 21. April 2019 11:25:25 MESZ schrieb NomisTuo<EMAIL_ADDRESS>…
Hi Kuek,> > If you still have enough PCB, I would be glad to get 6, i.e. 390€. I am living in Belgium (rue Bruyère 4, 1430 Rebecq) would it be possible to send them via post services? May I pay you over a bank transfer? > > I am maybe pushing to far (do not hesitate to tell me) but do you also have a schematic of the PCB with the different connexions and devices?> > Thank you very much in advance.> > Best regards.> > Simon> > > Le 21 avr. 2019 à 08:44, kuek @.> a écrit :> > > > Hi,> > > > Yes we have some left over.> > They are 65 EUR/piece net incl transceiver and all you need.> > > > Regards> > --> > Heuel & Löher GmbH & Co KG> > In den Höfen 9> > 57368 Lennestadt, Germany> > > > website: www.localino.net> > linkedIn: www.linkedin.com/company/localino-rtls/> > > > Am 20. April 2019 23:04:02 MESZ schrieb NomisTuo @.>:> > >Hello Kuek,> > >> > >I am really interested by the work you did. Do you still have some PCB> > >available? I would really like to test the precision of your solution! > > >> > >Thank you in advance for your reply.> > >> > >Best regards> > >> > >-- > > >You are receiving this because you were mentioned.> > >Reply to this email directly or view it on GitHub:> > >#129 (comment)> > —> > You are receiving this because you commented.> > Reply to this email directly, view it on GitHub, or mute the thread.> > > -- > You are receiving this because you were mentioned.> Reply to this email directly or view it on GitHub:> #129 (comment)

Hello, Can I do it with just using dwm1000 and Arduino mini pro without using PCB?


decouple re-frame and reagent+core.async

This rewrite was motivated by https://github.com/Day8/re-frame/pull/106.
In essence re-frame provides a transducer: state, event -> state.
This transducer is able to apply algorithmic transformations on series of events
and build final state up. This allows complete decoupling of [re-frame handlers,
subscriptions and middleware logic] from [mechanisms how events are queued,
processed and how are their effects applied to app-db]. This "bare re-frame" is
implemented in frame.cljs.
For maximal flexibility bare re-frame must be pure and have no knowledge
of app-db, reagent/ratom and core.async. It must be possible to create multiple
independent instances of bare re-frame.
For convenience scaffold.cljs is re-implementing original re-frame functionality
of v0.4.1 using those new bare primitives. This is exposed as public api via
core.cljs.
App developer opts-in using default implementation by requiring re-frame.core.
In this scenario re-frame creates a single app-db (reagent's ratom) and
runs single event loop where events are dispatched and processed asynchronously
using core.async channel. A single re-frame instance is created and kept in
re-frame.core/app-frame atom. Plus developer gets access to the original
API to manipulate state of this single re-frame instance.
App developer is also free to pick/implement other means of employing bare
re-frame by not requiring re-frame.core and building her own scaffold
around bare re-frame primitives.

This PR will need more work to achieve 100% compatibility.
I wrote a few tests. I plan to write more. Also made sure simpleexample works.
Open issues are:

use of legacy-subscribe
missing pure handler
whole undo functionality is missing

Looks great, but could you clean up the logging code a bit with something like my #101 PR?

Ok, now I think the code is in pretty good shape. Both simpleexample and todomvc work without source code changes on their side.
Outstanding problems are IMO worth breaking semantics/API for upcoming release.
Note: by "Frame" I mean code in frame.js, which is bare re-frame, stripped from reagent/core.async knowledge.
1) register-sub should not promise passing app-db
The signature of subscription handler is [app-db-atom subscribe-param]. First, it forces Frame to know about this opaque app-db-atom thing and pass it when someone creates new subscription. Second, it is not general enough. One can imagine completely different subscription systems, which do not depend on reagent's ratoms/reactions. And yet, Frame could be used with them if proper scaffolding is provided.
Current solution: I have implemented backward-compatible register-sub which pipes app-db-atom through, but it had to be pushed into scaffold:
https://github.com/darwin/re-frame/blob/9b318895b66749b577ed3e8e6d8e94e4f0743a0e/src/re_frame/scaffold.cljs#L39-L46
My proposal is to change contract of register-sub. The signature handler passed will have [subscribe-param] signature. If needed, app-db can be passed into subscription as regular param in the vector. Or handler can reference it globally. Or for convenience user can create her own subscribe method, which will prepend common parameter like that automatically.
Secondary question is why having this subscription subsystem as part of Frame's state anyway. Maybe it would make more sense to have it as a separate state object independent from event handling.
2) pure middleware makes no sense anymore
Handlers (composed of middlewares) should have no knowledge about outside world. They should not care how are events delivered and how they are applied to app-db. Handlers should be only responsible for producing new db state given previous state and incoming event.
Current solution: I have included pure middleware for compatibility reasons, but it is not used by default re-frame implementation anymore and it will log a warning if really called by someone.
3) undo functionality was removed and needs to be redesigned IMO
I feel like undo/redo functionality should not be middleware or register its own handlers and subscriptions in re-frame.
I think it should be responsibility of the event processor (who knows about app-db and rules of event queueing) to provide simple functional API for it and keep the undo/redo state. In default case this should be implemented on scaffold-level. It is up to app developer if she wants to expose calls to this api via events.

I'm happy to announce a success story with Plastic. I was able to switch to this fork and use re-frame as a library:
https://github.com/darwin/plastic/commit/1e87f07b8b929d8d17e21dff1d62bb6471e5a477
My custom scaffolds for main/worker thread routers are less 100 LOC:
https://github.com/darwin/plastic/blob/master/cljs/src/main/plastic/main/frame.cljs
https://github.com/darwin/plastic/blob/master/cljs/src/worker/plastic/worker/frame.cljs

LGTM

@danielcompton, @mike-thompson-day8  this PR has been sitting idle for a while, but would make great improvements to the code base. Can we get an estimate when this will be reviewed/merged? Having multiple re-frame instances on a single page would be really beneficial to my use case.

@thenonameguy honestly these changes are massive (but really interesting), and I'm going to need some time to chew over them. Mike and I are both in a pretty busy phase of work at the moment and speaking for myself I don't have the time or mental capacity to review it right now. Ballpark estimate, I doubt I'd be able to look at it for a few weeks at least, and I suspect Mike is in a similar boat to me.
If you're keen to work with this in the meantime, you could always take this patch and run a forked version for a while. Your feedback on how it feels from an API perspective would also be helpful here.
I know that's not perhaps not the answer you were looking for, but I don't have a lot of time or energy to give right now.

Also, Day8 have what I presume to be the largest production Re-Frame codebase, and we don't want to break our own apps or get stuck on an old version without having good mitigations for the points that @darwin has mentioned above.

Sure, thanks for the response. Then I'll just start using a fork as you mentioned.

For people interested in this version. I'm going maintain the fork here:
https://github.com/binaryage/pure-frame
Just released v0.1.0 as binaryage/pure-frame

Any updates or should it be closed?


added a quiz app based on difficulty

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes:  #(issue no.)

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] I have made this from my own
[ ] I have taken help from some online resourses
[ ] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK:   This is how it looks

mam but you only assigned me this issue after raising it.
On Sat, 1 Jun 2024 at 12:58, Sulagna Dutta Roy @.***>
wrote:

@.**** requested changes on this pull request.
Do not open a pull request without raising a Issue. Also currently not
accepting sample projects.
I see that already quiz app added on my repository.
—
Reply to this email directly, view it on GitHub
https://github.com/Sulagna-Dutta-Roy/GGExtensions/pull/654#pullrequestreview-2092041817,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3RGT243APMM6DGVFZUJ7S3ZFFZ2FAVCNFSM6AAAAABIT25K72VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDAOJSGA2DCOBRG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

could you please verify it again as there is no quiz app being shown here
On Sat, 1 Jun 2024 at 13:23, Bhavana M @.***> wrote:

mam but you only assigned me this issue after raising it.
On Sat, 1 Jun 2024 at 12:58, Sulagna Dutta Roy @.***>
wrote:

@.**** requested changes on this pull request.
Do not open a pull request without raising a Issue. Also currently not
accepting sample projects.
I see that already quiz app added on my repository.
—
Reply to this email directly, view it on GitHub
https://github.com/Sulagna-Dutta-Roy/GGExtensions/pull/654#pullrequestreview-2092041817,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3RGT243APMM6DGVFZUJ7S3ZFFZ2FAVCNFSM6AAAAABIT25K72VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDAOJSGA2DCOBRG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Update the pull request template with all the details. Even the Issue no not mentioned @bhavanamn
If you don't mentioned the issue no then it will not close after merging it

done mam please check it
On Sat, 1 Jun 2024 at 16:43, Sulagna Dutta Roy @.***>
wrote:

Update the pull request template with all the details. Even the Issue no
not mentioned @bhavanamn https://github.com/bhavanamn
If you don't mentioned the issue no then it will not close after merging it
—
Reply to this email directly, view it on GitHub
https://github.com/Sulagna-Dutta-Roy/GGExtensions/pull/654#issuecomment-2143409959,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3RGT22TJT62TJPS5ISVEF3ZFGUGBAVCNFSM6AAAAABIT25K72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGQYDSOJVHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

done mam please check it
…
On Sat, 1 Jun 2024 at 16:43, Sulagna Dutta Roy @.> wrote: Update the pull request template with all the details. Even the Issue no not mentioned @bhavanamn https://github.com/bhavanamn If you don't mentioned the issue no then it will not close after merging it — Reply to this email directly, view it on GitHub <#654 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3RGT22TJT62TJPS5ISVEF3ZFGUGBAVCNFSM6AAAAABIT25K72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGQYDSOJVHE . You are receiving this because you were mentioned.Message ID: @.>

It's not the Issue no. You've added the pull request number

ok mam

Done with the changes
On Sat, 1 Jun 2024 at 20:02, Sulagna Dutta Roy @.***>
wrote:

done mam please check it
… <#m_-8559390231497180037_>
On Sat, 1 Jun 2024 at 16:43, Sulagna Dutta Roy @.> wrote: Update the
pull request template with all the details. Even the Issue no not mentioned
@bhavanamn https://github.com/bhavanamn https://github.com/bhavanamn
https://github.com/bhavanamn If you don't mentioned the issue no then it
will not close after merging it — Reply to this email directly, view it on
GitHub <#654 (comment)
https://github.com/Sulagna-Dutta-Roy/GGExtensions/pull/654#issuecomment-2143409959>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3RGT22TJT62TJPS5ISVEF3ZFGUGBAVCNFSM6AAAAABIT25K72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGQYDSOJVHE
https://github.com/notifications/unsubscribe-auth/A3RGT22TJT62TJPS5ISVEF3ZFGUGBAVCNFSM6AAAAABIT25K72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGQYDSOJVHE
. You are receiving this because you were mentioned.Message ID: @.>
It's not the Issue no. You've added the pull request number
—
Reply to this email directly, view it on GitHub
https://github.com/Sulagna-Dutta-Roy/GGExtensions/pull/654#issuecomment-2143469187,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3RGT23WLRIIWBQIBUTCKCLZFHLRJAVCNFSM6AAAAABIT25K72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGQ3DSMJYG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

No update received since last week. Closing this.
Contributor can raise another PR


Analyzer for class names (BEM)

Only check class attributes (not :class attributes which contain javascript).
Check for:

- as seperator between words
only zero or one time __ as seperator
only zero or one time -- as seperator

Take a look at http://getbem.com/naming/

See #21 why it is currently a bad idea to implement this. The analyzer system needs a rework to be really useful.

See #21 why it is currently a bad idea to implement this. The analyzer system needs a rework to be really useful.

One thing i'd like to add: check for BEM-prefixes. For Example:
Error level: A component sw-my-component should have the following class on the first block: sw-my-component
Warning level: Every further class tag should contain at least one BEM-prefix: sw-my-component__description

I think i dont fully understand your idea but i try to give you an overview of how ludtwig represents the template in code (the AST - abstract syntax tree).
Ludtwig only sees some kind of tag (it must not be an div or something simelar - it can almost have any name without whitespace). So ludtwig doesn't know / care if some tag is a vue component or not. I mean you could check if the tag name contains a - to kind of detect a component but that is maybe not the cleanest solution. Also ludtwig doesn't know if the current twig file represents a vue component or even if the twig file name is the component name.
Basically a Tag looks like this in the AST:
pub struct Tag {
    pub name: String,
    pub self_closed: bool,
    pub attributes: Vec<TagAttribute>,
    pub children: Vec<SyntaxNode>,
}

(Vec is a list / array with dynamic size)
Where TagAttribute is also a more complex structure (it is an enum with values as it variants) to support twig syntax inside tag attributes. But you can iterate over the attributes and look for the basic HtmlAttribute which is defined as:
pub struct HtmlAttribute {
    pub name: String,
    pub value: Option<String>,
}

(Option means that the value is optional)
If you also want to use information of a block it looks like this:
pub struct TwigBlock<C> {
    pub name: String,
    pub children: Vec<C>,
}

(C is the type which is variable / generic. This allows it to be used inside of the template and inside of tag attributes)
So to better understand your idea it would be nice to see some kind of short twig template example with the explainations what classes should ludtwig check and how they are defined. In the best case also where the information is coming from 😄.
The idea behind this issue was to simply check if the class name is a valid "BEM" name (has a valid syntax). Everything else is kind of complicated (for example enforcing every class name to start in the same way), because that could limit the developer if it does not always apply.

My thought was to check (on error level) that the very first classname should be only the "root" of BEM.
sw-my-compontent is the component name and like that should be the content of the very first class on the first HTML-element.
You just said it'd be difficult to check if classes start like this, so the warnign level type would not be possible. But thats okay, of course :)
{% block sw_component %}     <div class="sw-component">         {# ... #}     </div> {% endblock %}
Just suggested to check if component-name/filepame === first class.
But I should have a deeper look into rust in the future. Then my understanding will improve :)

closed because of #44