CtrlV.link image upload integration

Adding docs info about requested ctrlv.link/ctrlv.cz image uploader integration.
Discussion: https://github.com/Chatterino/chatterino2/discussions/3513
I'm open to any reordering you might prefer. I put it as a first item because this one doesn't require any authentication/accounts nor self-hosting.

Immediate issue I notice is since you don't use a direct link, Chatterino/api cannot resolve your website for thumbnails, all of our existing examples "just work" because of direct links/opengraph tags.

My opinion on the best approach for this would be just sending us the entire direct link, since the direct link includes the date and is already resolved by the api.

examples that just work

imgur

fourtf/i self host

gyazo as extra example

@Felanbird ah, thanks! This functionality (opengraph thumbnails with smaller size) is implemented. I have just whitelisted Chatterino client. Please try it again now. It looks good to me.

@Felanbird ah, thanks! This functionality (opengraph thumbnails with smaller size) is implemented. I have just whitelisted Chatterino client. Please try it again now. It looks good to me.

The noted issue has been resolved 👍

Your website is missing something basic as a legal notice.
No privacy policy as far as I can see either.
The way you are using PHP makes me also think you are not using basic modern patterns like the front controller pattern
And since your software is closed source nobody can validate its security besides you.
That makes me strongly dislike just adding your website to the Chatterino wiki, it's not supposed to be an ad space.

The way I envision new image upload integrations to be added is through enough community members asking Chatterino contributors through the Discussions tag in the main repo, or through our Discord, about how to use it with Chatterino.
Having all discussion created by the owner of the closed-source/commercial image uploader me and other contributors haven't heard of gives me strange vibes, which is why I'm closing this PR.
Feel free to continue to use this PR or the discussion you created if you have any questions about this decision (or reach out on the Discord that you can find top-right of https://chatterino.com/)

Your website is missing something basic as a legal notice. No privacy policy as far as I can see either.

Privacy notice minimum required is in the footer. The reason why people use this well established service is mainly because it is easy to use and not bloated with nonsenses.

The way you are using PHP makes me also think you are not using basic modern patterns like the front controller pattern

Sorry but this is absolutely offtopic. I now what suits best this kind of service and technology. You may prefer to choose any design patterns by trends but it doesn't mean everyone does.

And since your software is closed source nobody can validate its security besides you.

If you want to validate security of the service, feel free to do another pentest. I'm happy to discuss any findings. We are doing blackbox pentests regularly.

That makes me strongly dislike just adding your website to the Chatterino wiki, it's not supposed to be an ad space.

I absolutely don't get your attitude here. I was asked by twitch users to add this integration. I'm making such open source integrations when multiple people are asking for it. This time I set up my very first twitch account to investigate it. I didn't know Chatterino SW before at all.
I already regret trying to contribute to this open source project.

The way I envision new image upload integrations to be added is through enough community members asking Chatterino contributors through the Discussions tag in the main repo, or through our Discord, about how to use it with Chatterino.

Please mention it somewhere - I was looking for correct way how to contribute with these user requests. If I knew this I would ask requesters to start some discussion thread here. Maybe someone in the future will be in similar situation.

Having all discussion created by the owner of the closed-source/commercial image uploader me and other contributors haven't heard of gives me strange vibes, which is why I'm closing this PR.

Let me cite this part of my yesterday's discussion about what Chatterino is:
"..jedná se o asi nejrozšířenější klient na twitch v zahraničí i v česku.."

Feel free to continue to use this PR or the discussion you created if you have any questions about this decision (or reach out on the Discord that you can find top-right of https://chatterino.com/)

Just wanted to justify for the record some misinformation posted here. I'm not interested in any more contributions here.

My comments about development decisions are off topic I agree, sorry.
I just would like some more information how you handle customer data.
Here are some pointers https://gdpr.eu/privacy-notice/

Hello, I was told to ask here about my configuration described in https://github.com/Chatterino/chatterino2/issues/3552
How can I set up the integration? Thanks in advance.

Hello, I was told to ask here about my configuration described in Chatterino/chatterino2#3552
How can I set up the integration? I see many links around in channels I'm in. So I'm curious how to set it up? Thanks in advance.

There is a wiki for chatterino with a dedicated page about how to set custom image uploaders. Also just scrolling through chatterino's settings for a maximum of 2 minutes, under "External tools" you would have found a form that exactly matches the screenshot you linked yourself, where you can just fill in the information from that screenshot.
And to reiterate, this is not a ctrlv support forum, if anything doesn't work with that configuration, no one here can do anything about that, ask the creator for help.

Hey, that's the missing bit! I combined those two instructions and It seems to work now, thanks a lot! 🥳


Allow to set webrtc candidates via env

I know go2rtc does not recommend using something other than --network host, but this should help running without --network host.
With --network host, go2rtc can detect (at some extent), the local IP address of the host machine. At some extent, because if you run it within a VM which is within a NAT, it will not be able to detect the proper IP address.
My use for this will be in the Frigate add-on. I plan to do something like this:

# Get the local IP address of the HA host machine
local_ip=$(curl -s http://supervisor/core/info | jq -r '.local_ip')
webrtc_port=$(curl -s http://supervisor/addons/self/options | jq -r '.webrtc_port')

export GO2RTC_WEBRTC_CANDIDATES="${local_ip}:${webrtc_port}"

exec go2rtc

Which should help simplify this setup process by not requiring the user to set its own list of candidates: https://deploy-preview-4055--frigate-docs.netlify.app/configuration/live#webrtc-extra-configuration
/cc @NickM-27

I think it should be done globally in this issue:
https://github.com/AlexxIT/go2rtc/issues/143

I totally agree.


XLIFF files imported as draft translations

Describe the Bug
After importing translations from XLIFF files the status of the translation is set to draft.
Steps to Reproduce

Open https://malte-test.tuerantuer.org/gumv/pages/de/
Select the Ukraine zip file and import
Translations are imported, but status is set to draft.

Expected Behavior
Pages should be visible.
Additional Information
The issue description is probably incomplete.

This happens when no translation exists for the imported language or the latest translation is a draft.

That means the translation should inherit the status of the source at the time of export? :thinking: And we make it 2 bulk actions "Export published versions as XLIFF" vs "Export most current versions as XLIFF"?

I'm not sure, I would prefer the solution to just export public versions and set the status to public for all imported versions again. For edge cases where drafts should be exported, we could suggest the workaround to publish them temporarily, export them as XLIFF and hide them again? But this is no real use case I think, since in most cases the translation should only happen when the content is finished and not a draft anymore.


Print errors with a different format for easier clickability

Hi, lychee currently prints errors this way:

[/website/explanation/sapere/index.html]:
✗ https://doi.org/10.1109/MC.2015.261: Network error (reqwest): HTTP status server error (503 Service Unavailable) for url (https://ieeexplore.ieee.org/document/7274429/)

[/website/tutorials/basics/index.html]:
✗ https://doi.org/10.1109/FAS-W.2017.116: Network error (reqwest): HTTP status server error (503 Service Unavailable) for url (https://ieeexplore.ieee.org/document/8064092/)
✗ https://doi.org/10.1109/fas-w.2017.116: Network error (reqwest): HTTP status server error (503 Service Unavailable) for url (https://ieeexplore.ieee.org/document/8064092/)

However, printing URL: has a drawback: many IDEs or logging systems (included GitHub actions) make the colon part of the link, and thus when clicking the URL does not work directly. I suggest the adoption of a slightly different format:
✗ https://doi.org/10.1109/fas-w.2017.116 >> Network error (reqwest): HTTP status server error (503 Service Unavailable) for url (https://ieeexplore.ieee.org/document/8064092/)

(or any separator beginning with whitespace, really hereby including a single whitespace)
This would disrupt scripts that parse the output of lychee, however, I think that it is a change worth implementing (it took me a few minutes to realize that the site was up again, but I was visiting it with the colon at the end).

PR up here: #533

That is very nice.

This is merged now and will be part of the lycheeverse/lychee:master image in a second.
It will go live with the next release, which shouldn't be too far away.
Thanks for the improvement suggesion @DanySK. 😃

Thank you for this lovely tool, my static websites finally quit being deployed with dangling links.

Which static site generator do you use if I may ask? We should eventually propose to add lychee to zola, which has their own.

Hugo. Huge theme gallery, fast, well organized.


After the plugin update the software becomes very stuck and I can't switch between different notes

After the plugin update the software becomes very stuck and I can't switch between different notes

Plugin version 0.8.3. Same problem! Plugin not send anything into couchdb. Its reproduce on Android. PC - all great!
Rollback to version 7.2.0 helps for me.
P.S. Sorry for my english.

Oh! I'm very sorry!
In my environment, this is working now.
May I ask for your device information?
It would be helpful if you could copy-paste from Show debug info
e.g.
SYSTEM INFO:
	Obsidian version: v0.14.6
	Installer version: v0.12.15
	Operating system: Darwin Kernel Version 21.3.0: Wed Jan  5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101 21.3.0
	Login status: logged in
	Catalyst license: supporter
	Insider build toggle: off
	Live preview: on
	Legacy editor: on
	Base theme: light
	Community theme: Deep Work
	Snippets enabled: 2
	Safe mode: off

And, Enabling "Use old connection method" doesn't work?

Sorry for long answer!
I can't toggle "Use old connection method" even after disabling "LiveSync" option. Obsidian application self become not responsive.
I can't find "Show debug info", where is placed?

It sounds so serious.
Show debug info can be launched via command pallet (Ctrl + P or Command + P).
Did anything show on DevTools? (You can show DevTools by Ctrl+Shift+I)

My Android. Can't open DevTools console on mobile.
SYSTEM INFO:
 Operating system: android 11 (Google Pixel 4a)
 Login status: not logged in
 Live preview: off
 Legacy editor: on
 Base theme: dark
 Community theme: none
 Snippets enabled: 0
 Safe mode: off
 Plugins installed: 1
 Plugins enabled: 1
  1: Self-hosted LiveSync

My PC (no problem on pc).  I check DevTools console - no errors or warnings.
SYSTEM INFO:
	Obsidian version: v0.14.6
	Installer version: v0.13.31
	Operating system: Windows 10 Pro 10.0.19044
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: on
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Safe mode: off
	Plugins installed: 1
	Plugins enabled: 1
		1: Self-hosted LiveSync

Thanks for your information!
On Android 12 Pixel 3a XL works fine. I think it is almost the same environment, it may be a configuration problem.
May I see your data.json under your-vault/.obsidian/plugins/obsidian-livesync/?
(Please delete the values of couchDB_URI,couchDB_USER,couchDB_PASSWORD,couchDB_DBNAME,passphrase and workingPassphrase)
If you are hard to find this file, please use screwdriver.
The file can be dumped by this template:
---
# --- Select a directory to dump. ---
target: .obsidian/plugins/obsidian-livesync

# --- Regular expressions for filtering files
filters:
 - data.json
---

{
  "couchDB_URI": "~~~",
  "couchDB_USER": "~~~",
  "couchDB_PASSWORD": "~~~",
  "couchDB_DBNAME": "~~~",
  "liveSync": true,
  "syncOnSave": false,
  "syncOnStart": false,
  "savingDelay": 200,
  "lessInformationInLog": false,
  "gcDelay": 300,
  "versionUpFlash": "",
  "minimumChunkSize": 20,
  "longLineThreshold": 250,
  "showVerboseLog": false,
  "suspendFileWatching": false,
  "trashInsteadDelete": true,
  "periodicReplication": false,
  "periodicReplicationInterval": 60,
  "syncOnFileOpen": false,
  "encrypt": false,
  "passphrase": "~~~",
  "workingEncrypt": false,
  "workingPassphrase": "~~~",
  "doNotDeleteFolder": false,
  "resolveConflictsByNewerFile": false,
  "batchSave": false,
  "deviceAndVaultName": "",
  "usePluginSettings": false,
  "showOwnPlugins": false,
  "showStatusOnEditor": false,
  "usePluginSync": false,
  "autoSweepPlugins": false,
  "autoSweepPluginsPeriodic": false,
  "notifyPluginOrSettingUpdated": false,
  "checkIntegrityOnSave": false,
  "batch_size": 250,
  "batches_limit": 40,
  "useHistory": false,
  "disableRequestURI": false
}

Thanks for you job!

Interim report!
LiveSync(Synchronization method) causes freezing.
(I didn't notice this while I don't use LiveSync on mobile, really sorry...)
I'm finding why this has been caused. Until fixed up, please use another synchronization method (Just like periodic sync).

Confirming that the periodic sync solves the problem for now. Thanks for all your efforts into this plugin!

Thank you! I'm very relieved to hear that.
Currently, replication handling implementation is so complicated. I will rewrite this.
But I'll be a bit late to fix this problem completely, please hold on, sorry...
When mobile to desktop, Sync on save is almost the same as LiveSync. But it will not receive changes on the desktop in real-time.

Finally, fixed on v0.8.6!
It caused by the new Obsidian API on mobile.
I thought it doesn't matter to periodic sync, but in was affected all replication.
In mobile, “Use the old connecting method” is locked to enabled now.
Could you please try v0.8.6?

Close this issue once. Feel free to open it again if you have new something.


Can't empty warded jar - Server [B23]

I'm playing on the modpack Enigmatica 2 Expert Server.
I do have some custom mods installed from the base pack, but I've tested in a single player world and the jar mechanics work fine. I'm able to fill and clear as expected. It's only on the server that I'm having trouble clearing the jars out. I've checked the console and I'm not seeing any error logs to share. I did try looking for a duplicate ticket, but didn't see any related.

https://minecraft.curseforge.com/projects/enigmatica2expert
The list of mods is included on this home page.
Alongside this, included mods are
ProjectE-1.12-PE1.3.0.jar
ProjectRed-1.12.2-<IP_ADDRESS>-Base.jar
ProjectRed-1.12.2-<IP_ADDRESS>-compat.jar
ProjectRed-1.12.2-<IP_ADDRESS>-fabrication.jar
ProjectRed-1.12.2-<IP_ADDRESS>-integration.jar
ProjectRed-1.12.2-<IP_ADDRESS>-lighting.jar
ProjectRed-1.12.2-<IP_ADDRESS>-mechanical.jar
MrTJPCore-1.12.2-<IP_ADDRESS>-universal.jar
ForgeMultipart-1.12.2-<IP_ADDRESS>-universal.jar
Exact versions.


chore: fix failures e2e test for node 8

Summary
CI has been failing lately. Node 8.13 came with some assert changes (https://github.com/nodejs/node/pull/23223), one of which broke one of our assertions.

Test plan
Green CI

Should have waited for appveyor :P It's still on 8.12, but I just bumped it to run on node 10. It's LTS now, anyways: c7d3870df8f670accb41082b2f2164bc3828271e


Change batch_size from 64 to 32, the report results are not in line with the paper report

I run the train-single-node.sh in the scripts to SFT the LLaMA-3-8B base model on the provided dart-math-hard and dart-math-uniform data, with only one modification: change the batch_size from 64 to 32 (due to the CUDA memory), the test accuracy of these 2 SFT models on GSM8k are 0.4185 (hard) and 0.4617 (uniform).
The primary packages of my environment are:
torch 2.0.1 transformers 4.42

+1


Discuss spec for auto-parsing of environment variables

Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/10
Originally created by @aaronsteers on 2020-12-22 20:08:18

Most orchestrators (i.e. meltano, pipelinewise, and tapdance) have developed a convention of being able to parse config values from environment variables. This capability especially helps for serverless environments and CI/CD scenarios.
In the goal of establishing CI/CD for this project, I implemented the same. That said, we should discuss ramifications of this and also naming convention patterns - to make sure this is a considered decisions.
Here's a sample which demonstrates this functionality for our this projects CI testing pipeline (the plugin name in this case is SAMPLE_TAP_GITLAB but in a production scenario it would be TAP_GITLAB):

The proposed convention, which I've carried over from tapdance and meltano is as follows:

Env vars are prefixed by the plugin name, converted to uppercase, with dashes replaced by underscores.
Env vars are suffixed with the setting name (case sensitive, most often lower case), with any dashes replaced by underscores.
Values from environment variables will override those specified in the config file.

In theory there should be no conflict with orchestrators, since values at worst would be set twice. Since the orchestrator may not know if it's tap or target can parse it's own environment variables, the orchestrator may choose pop the consumed variables from the passed environment context before launching the respective tap or target.

UPDATE (2021-01-07):

Latest spec update is to use a --config=ENV input as indicator to pull from environment variables. This can optionally be combined with --config=path/to/file.json. If ENV is not set as a config source, environment variables will not be parsed.

View 34 previous comments from the original issue on GitLab


BETA-40: plugin crashes opeinig PGP MIME signed mails

When I open a PGP MIME mail (with sigature.asc attachment) in Outlook Pro Plus 2013 (15.0.4569.1503) 32 bit OutlookPrivacyPlugin-BETA-40 crashes with message:
http://schemas.microsoft.com/mapi/string/{4E3A7680-B77A-11D0-9DA5-00C04FD65685}/Internet Charset Body/0x00000102 property unknown or not found

What mail client did you use to generate the inbound message with a sigature attachment?  Enigmail through my usage is not generating one and there is no crash.

I don't generate those mails, I receive them from diverse Mac/iPad users, so supposedly it is whatever client that is PGP capabale on these platforms... I'll start a survey on occation.

Are the emails clear-text with only a signature?  If so I was able to get some samples using Apple Mail with GPGMail v2.1 plugin.
However, I am not getting this error, it's working okay. That property is should contain the email message body I need in order to verify the email signature.
If there is an email you could forward to me (meddington at gmail dot com) that would be helpful.

The mails were all multipart with HTML part and optional plain text. I have no sample at the moment, I shall ask my Mac-people if they can provide some for public use.
I forgot to mention 2 points:

All my incoming mails are mungled through Spamassassin at server, so the structure is not original anymore when they get to the plugin.
My Outlook is configured to show all mails as plain text per default. However, the crash happens  when I choose "Show as HTML" as well.

Have you received other pgp/mime signed emails that do work?  Could you try sending yourself a PGP/Mime signed email from Thunderbird + Enigmail and see if the issue occurs?
I'll see if I can get spamassassin setup and tested.

Beta-46: Only signing with PGP/Mime is giving "** Invalid signature from "" with KeyId " at recipient's Outlook with OPP-b46.
NOT working, if sender is using PGP/Mime, with or without German Umlaute üöäß in message body. Recipient's Outlook shows message body with separate attachment.sig file.
Thunderbird/Enigmail or GPGrelay are working.
Regards!

This is a duplicate of #34. Closing as such. Please use #34 for addition comments, updates, etc.


Allow setting subpaths for S3 backend

Summary
As user
I want to specify subpaths for the S3 backend
So that I can have a nice structure in my S3
Context
I want the backups to be grouped by namespace, helmRelease and type, resulting in the following;
HelmRelase customer-prod in namespace customer backs up PVC config. I want the backups to land in the following location;
s3://k8s-backup/customer/customer-prod/persistentvolumeclaim/config/
Out of Scope
No response
Further links

restic s3 config: https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#amazon-s3

Acceptance Criteria

Given a Backup resource's backend.s3, I want to be able to specify something like a prefix

Implementation Ideas
An (optional) prefix field on the S3Spec

Hello, also need this feature, is this on going ?
Thanks

Hi everyone
You can use subpaths S3 like this:
apiVersion: k8up.io/v1
kind: Backup
metadata:
  name: test
spec:
  backend:
    repoPasswordSecretRef:
      key: password
      name: k8up-repository-password
    s3:
      accessKeyIDSecretRef:
        key: AWS_ACCESS_KEY_ID
        name: backup-bucket-credentials
      bucket: mybucket/path/to/subfolder
      endpoint: http://minio-server.minio.svc:9000
      secretAccessKeySecretRef:
        key: AWS_SECRET_ACCESS_KEY
        name: backup-bucket-credentials

The bucket field is simply concatenated to build the RESTIC_REPOSITORY string as documented here: https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#amazon-s3.
So you can simply add the subfolders via slashes.

@Kidswiss  thanks! Its getting configured, thank you..
However, I'm facing another issue, I'm getting the following error :

@s4ndalHat the ciphertext verification failed error can have two causes I'm aware of:

the repository password doesn't match anymore -> maybe the secret was changed by mistake
something is corrupt with the repository, in that case you might either want to delete the bucket and then take a fresh backup or get more help in the restic forum

This is where I'm lost, it's my first backup and I'm always trying into a new repository and bucket... always the same issue :')

Can you please open a new issue and add you manifests?

My bad, I reverted the endpoint url and bucket typo, I'm still getting some minor error but the job is succeded.
Instead typing: url: myurl and bucket: /path/to/myprefix, I typed url: myurl/bucket and bucket: myprefix
Sorry, but its getting working (next I'll be testing the restore process)


documentation: describe openapi command

This commit cleans up and enhances the documentation in the README,
notably adding a section describing the openapi command.
Signed-off-by: Lucas Servén Marín<EMAIL_ADDRESS>

You can view the propsed README here: https://github.com/connylabs/meowlflow/blob/d7abd372bfbc0517bf6cbd4895c379c752cc96f1/README.md


turbo: 1.11.3 -> 1.13.2

Description of changes

Here's the changelog for 1.13.2, though we've skipped quite a few releases: https://github.com/vercel/turbo/releases/tag/v1.13.2
We may also consider setting the following env vars, the latter of which is new:

$TURBO_NO_UPDATE_NOTIFIER
$TURBO_TELEMETRY_DISABLED or $TURBO_TELEMETRY_MESSAGE_DISABLED

I don't know what the nixpkgs position is on stuff like this so for now the PR only upgrades the package.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

Several packages disable auto updates, some disable telemetry. I don't think we have a set policy on it, what would you prefer?

Personally I'd prefer to disable both primarily to minimise noise, not only in dev environments where you might not see the telemetry message often but also in CI.

Then by all means go ahead. I assume these must be set at runtime, meaning you have to wrap the binary

I've copied the approach taken with GNU parallel, splitting Turbo into turbo and turbo-unwrapped. turbo now disables telemetry and the update notifier by default, though each can be overridden.  The telemetry change at least is easy to validate:
$ nix run ".#turbo-unwrapped" -- telemetry status
Status: Enabled
$ nix run ".#turbo" -- telemetry status
Status: Disabled

actually, https://github.com/NixOS/nixpkgs/pull/304018 has a nice approach you may use for inspiration


Mex file crash

Hi, I tried to use the Matlab toolbox, but I got crash with the mex file.
I attached the log file created by matlab. Thank you.

      Access violation detected at Sun Aug 07 20:39:05 2016

Configuration:
Crash Decoding      : Disabled
Crash Mode          : continue (default)
Current Graphics Driver: Unknown hardware
Default Encoding    : windows-1252
Graphics card 1     : NVIDIA ( 0x10de ) NVIDIA GeForce GTX 560 Ti Version <IP_ADDRESS>88
Graphics card 2     : NVIDIA ( 0x10de ) NVIDIA Tesla M2090 Version <IP_ADDRESS>56
Host Name           : ChuongWin8
MATLAB Architecture : win64
MATLAB Root         : C:\Program Files\MATLAB\R2016a
MATLAB Version      : <IP_ADDRESS>1360 (R2016a)
OpenGL              : hardware
Operating System    : Microsoft Windows 8.1 Pro
Processor ID        : x86 Family 6 Model 45 Stepping 6, GenuineIntel
Virtual Machine     : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System       : Version 6.3 (Build 9600)
Fault Count: 1
Abnormal termination:
Access violation

matlab_crash_dump.10728.txt

What kind of data are you running FEAST with? How many values per feature, and how many labels?
Can you modify the compile scripts to add the "-g" flag to the mex lines (before all the source files) and rerun the computation and send that crash log.

Hi, I recompiled the lib with the debug option.
mex -g -I../MIToolbox FSToolboxMex.c BetaGamma.c CMIM.c CondMI.c DISR.c ICAP.c JMI.c mRMR_D.c ../MIToolbox/MutualInformation.c ../MIToolbox/Entropy.c ../MIToolbox/CalculateProbability.c ../MIToolbox/ArrayOperations.c
Please find the attached files for the crash_log, and the data.
X0 is the feature matrix, which has 268 samples, each sample is a 150 dimension vector.
Y is the label vector (268 x1) which has value {1,2}.
Crash_logs_09_06_16_08_08_16.zip
Thank you.
data_Train.zip

Your features aren't discretised, so the results are undefined. In this case FEAST applied a simple transform to create int values, which resulted in a very large range. Then when FEAST merged two arrays to use JMI it tried to allocate too much memory and crashed. You should discretise your data into around 10 bins before running FEAST.

Oh, I see. Thank you for clarification.


"wall_clock_breakdown": true and overlap_comm: true

Hi, I have a question regarding how deepspeed measures the communication time. I see that there is a timer that counts the time for allreduce as in https://github.com/microsoft/DeepSpeed/blob/81aeea361da3936b875a678b9cb44596800510b5/deepspeed/runtime/engine.py#L865-L874. But when I go into this function, I found it eventually goes into https://github.com/microsoft/DeepSpeed/blob/81aeea361da3936b875a678b9cb44596800510b5/deepspeed/runtime/zero/stage2.py#L468-L509, which only performs cuda synchronization when overlap_comm=True. If I remember correctly, pytorch backward is a blocking operation, and the communication finishes before we enter self.timers('backward_allreduce_microstep').start() .

@szhengac Your analysis is correct. Communication overlapping breaks correctness of the allreduce timer.

@tjruwase Thanks for confirming this. And, I have one more question, I see that reduce_ipg_grads in https://github.com/microsoft/DeepSpeed/blob/81aeea361da3936b875a678b9cb44596800510b5/deepspeed/runtime/zero/stage2.py#L942 is called both inside the gradient hook (https://github.com/microsoft/DeepSpeed/blob/81aeea361da3936b875a678b9cb44596800510b5/deepspeed/runtime/zero/stage2.py#L593-L596) and after optimizer.backward() https://github.com/microsoft/DeepSpeed/blob/81aeea361da3936b875a678b9cb44596800510b5/deepspeed/runtime/zero/stage2.py#L470 when "overlap_comm=True". It seems to me we are performing allreduce twice?

I think I find the idea here. We add hook to the gradient no matter if overlap_comm=True or False. The overlap is enabled by using two cuda streams?

Yes, your idea is on the right path. In ZeRO stage 2, we enable reduction doing backward after a predefined number of gradients are available.  The number of gradients to trigger reduce is controlled by reduce_bucket_size in the json config. As you have observed overlap_comm=True allows this reduction to overlap the remaining backward operations. The extra reduce called in engine.py at the end of backward will reduce any remaining gradients (e.g., if gradient count is not multiple of bucket size), in addition to doing postprocessing. Hope that helps.

Thanks. This explains. I think it may be helpful to add some comments around that allreduce call, otherwise it is misleading. And, since deepspeed uses its own launcher, I cannot directly just use nsys --profile deepspeed <args> for profiling.  mpirun https://github.com/microsoft/DeepSpeed/issues/461 also has issue. Is there a way that I can use Nsight to profile the job?

Nevermind, I have managed to fix the mpirun and used nsight to profile the training. I put the profiling result in a new issue #620.

Nevermind, I have managed to fix the mpirun and used nsight to profile the training. I put the profiling result in a new issue #620.

@szhengac could you please share how you get nsight working with deepspeed launcher?
The command I am using is as below, and the report doesn't contain any cuda trace information.
nsys profile --trace=cuda deepspeed


JFrog Token is not detected

AKCp9nGFo4jMzsA32Qg6DrjqEbyNBn1MuZbtyW1bQAFqSp6v2WMCagbzbPbChqcr9yXAiJYka
We actually find JFrog tokens by the generic rule, but I added a JFrog-specific rule here: https://github.com/gitleaks/gitleaks/pull/1233
My PR to gitleaks is already merged. We need to consume gitleaks with a specific commit hash that includes https://github.com/gitleaks/gitleaks/pull/1233.
After that, please use my branch missing-secrets to add a test for the JFROG token to make sure it is detected.

Hi, please assign it to me, it's my first time, but I will try to do it.

Good luck!


missing item

i can find the maid interaction hud item i think thats what its called its a item that lets them put items in chests is this a bug or did it get removed cause i cant find it in jei this is the last issue i had

It is removed due to a item duplication bug.

ah ok that sucks couldn't you guys fix it? if not then what version it it in cause i need it cause the maids keep on planting sugar cane and getting lost cause of it

also if you add this to serv tech ages and use farming mod it give you free wooden gears if they break hemp

couldnt you fix it ?
On Sun, Jul 11, 2021 at 4:43 AM Logic530 @.***> wrote:

It is removed due to a item duplication bug.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TartaricAcid/TouhouLittleMaid/issues/319#issuecomment-877770703,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARYLO74TL4WJXHN4FZ2L3ADTXFRUDANCNFSM5AFDW6WQ
.

In the latest version, an bauble is designed to let the maid input/output items in the chest

also if you add this to serv tech ages and use farming mode it give you free wooden gears if they break hemp
I designed a configuration file to fix this kind of bug, you only need to modify this file
https://github.com/TartaricAcid/TouhouLittleMaid/blob/1.12.2/src/main/resources/assets/touhou_little_maid/config/crop.json


Android no working

<Modal
onBackdropPress={this.handleBackdropPress}
isVisible={isVisible}
coverScreen={false}
backdropOpacity={0.7}
style={{ margin: 0 }}
backdropTransitionOutTiming={0}
animationInTiming={1}
animationOutTiming={1}
animationIn={'fadeInDown'}
animationOut={'fadeOutUp'}>

..xxxx

The above code is used normally on ios, and click on Android will penetrate to the following page

@yrang Did you get any solution?

same issue, did you find any solution? @yrang

same issue, did you find any solution?

Could you please provide an update on the current status of this issue?


ValueChanged<bool?>?

pls sample json & func use "onDrawerChanged"
don;'t clear interface ,
thank.

@narongchaiyakul
I've added the example of how to use such the ValueChanged<bool?>
@jpeiffer
It is true that out of the box the values like that are not really supported. Maybe we shall provide some set of funcs like:
setBooleanValue('booleanVarName') => ValueChanged<bool?>
setStringValue('stringVarName') => ValueChanged<string?>
setDynamicValue('dynamicVarName') => ValueChanged<dynamic?>
...


Adjusted the currency input field.

Before-

After-

There was unexpected border and padding in the input field which made it look buggy, So i fixed it.

@jain-anshika
Please note that this is not in line with our code of conduct. To ensure clarity and proper assignment tracking, please attach the issue number to your PR description. This helps us confirm that the issue is assigned to you. Kindly update your PR with the issue number and resubmit.
Example:
Fixes #123 - Brief description of the fix.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/25728

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/25901

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29982

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/41508

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/44676

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53473

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53474

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53534

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/54161

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/54391

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/54818

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/109093

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/109092


Project name
CSPR.live
URL to be whitelisted
"://casper.live/"
Code audit/review URL if available
No response
Project description
https://casper.ive is an alias for https://cspr.live, acquired since users often mistype the name of the website. Currently users who end up on casper.live get an error message that the Signer is not supported. This needs to be addressed ASAP.
Project's phase
Production
Who is the project owner?
Company
Project owner's name
MAKE Technology LC
What kind of Web3 functionality will you be offering in your product?
All existing and future functionality of CSPR.live as coordinated with the Casper Association
Contact details
<EMAIL_ADDRESS>Link to the code
https://cspr.live
Is this a project by an enterprise partner of Casper Association or CasperLabs?
Yes
Grant/proposal number if this is a project funded by the DEVxDAO
No response

This request is implicitly approved.

Casper Association is approving this request.

Merged and lined up for 1.4.10 of the Signer release. Hence, closing.


[SPARK-34057][SQL] UnresolvedTableOrView should retain SQL text position for DDL commands

What changes were proposed in this pull request?

Currently, there are many DDL commands where the position of the unresolved identifiers are incorrect:
scala> sql("DROP TABLE unknown")
org.apache.spark.sql.AnalysisException: Table or view not found: unknown; line 1 pos 0;

, whereas the pos should be 11.
This PR proposes to fix this issue for commands using UnresolvedTableOrView:
DROP TABLE unknown
DESCRIBE TABLE unknown
ANALYZE TABLE unknown COMPUTE STATISTICS
ANALYZE TABLE unknown COMPUTE STATISTICS FOR COLUMNS col
ANALYZE TABLE unknown COMPUTE STATISTICS FOR ALL COLUMNS
SHOW CREATE TABLE unknown
REFRESH TABLE unknown
SHOW COLUMNS FROM unknown
SHOW COLUMNS FROM unknown IN db
ALTER TABLE unknown RENAME TO t
ALTER VIEW unknown RENAME TO v

Why are the changes needed?

To fix a bug.
Does this PR introduce any user-facing change?

Yes, now the above example will print the following:
org.apache.spark.sql.AnalysisException: Table or view not found: unknown; line 1 pos 11;

How was this patch tested?

Add a new test.

Test build #133875 has started for PR 31106 at commit ec9407c.

Test build #133875 has started for PR 31106 at commit ec9407c.

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

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

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

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

Test build #133875 has finished for PR 31106 at commit ec9407c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #133875 has finished for PR 31106 at commit ec9407c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

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

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

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

Test build #133878 has started for PR 31106 at commit 92d77ae.

Test build #133878 has started for PR 31106 at commit 92d77ae.

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

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

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

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

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

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

Test build #133879 has started for PR 31106 at commit 78c7411.

Test build #133879 has started for PR 31106 at commit 78c7411.

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

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

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

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

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

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

Test build #133878 has finished for PR 31106 at commit 92d77ae.

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

Test build #133878 has finished for PR 31106 at commit 92d77ae.

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

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

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

cc @cloud-fan (Happy New Year!)

cc @cloud-fan (Happy New Year!)

Test build #133879 has finished for PR 31106 at commit 78c7411.

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

Test build #133879 has finished for PR 31106 at commit 78c7411.

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

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

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

thanks, merging to master!

thanks, merging to master!


[SPARK-22849] ivy.retrieve pattern should also consider classifier

What changes were proposed in this pull request?
In the previous PR https://github.com/apache/spark/pull/5755#discussion_r157848354, we dropped (-[classifier]) from the retrieval pattern. We should add it back; otherwise,

If this pattern for instance doesn't has the [type] or [classifier] token, Ivy will download the source/javadoc artifacts to the same file as the regular jar.

How was this patch tested?
The existing tests

Test build #85197 has started for PR 20037 at commit 331ba33.

@srowen I think we are resolving a different issue. Your PR https://github.com/apache/spark/pull/17416 is trying to resolve the issues raised by spark-submit et al via --packages, in which users explicitly specify the classifier.
However, we still face another scenarios, the package has the external dependencies. In the dependencies, they have different classifiers. For example, zookeeper 3.4.6 has tests.jar and regular jar. In the current solution, we will download both to the same file and ivy will return an exception.
zookeeper-jar: {artifact=zookeeper, ext=jar, module=zookeeper, classifier=tests, organisation=org.apache.zookeeper, type=test-jar, revision=3.4.6}
zookeeper-jar: {artifact=zookeeper, ext=jar, module=zookeeper, organisation=org.apache.zookeeper, type=jar, revision=3.4.6}

LGTM

Thanks! Merged to master.

Test build #85197 has finished for PR 20037 at commit 331ba33.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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


Mockup create from clone

Considerations:

Should we show status? They'll need to at least be prompted when they create that their Linode will be shut off before cloning if its on. We could allow them to power off from this screen but I don't really think that's a good idea.
I don't think groups should be broken out anywhere Linodes are shown outside the main Linodes view page. So are we cool with showing "my-group / my-linode" instead? This is a similar UI to what I'm about to propose for the StackScripts selection screen.


Exclude Mac OS temp files from repo

We need to exclude any temp files generated by the Mac OS.

test


new files are not added to output file

when a new file is added to a repo, GDA is not picking up that file when trying to create output a zip file.

In the above screenshot there are 9 files in changeset out of them 4 are newly added files. But in the console, gda picked only modified files but not newly added files.

KiranMantha it will only pick files that have been commited, if they have not been commited git does not care about them.

ok thanks for the info


Removing References to Alias of SqlInstance, Add Prompt to examples

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] Nunit test is included
[X] Documentation
[ ] Build system

Purpose
Minor changes to 2 functions to remove reference to Alias for SqlInstance (either SqlServer or ServerInstnce)
Also added prompt to some examples as per recent changes for other examples

thank you so much!


Sign Up: Both Email and Password

Hi
Looks like the system asks for Email only during the Sign Up. In this scenario, a user needs to open her Email Inbox and click on the Login link every time she wants to visit the website.
If I am right, can you add/store the Password field in the db itself and let the user simply remember it.
Thanks

We chose to not store passwords in our database and require the user to open the link in their email address. Users would have to do that either way to verify their email addresses.
And after the user login once, the application stores an authentication token in the browser (localStorage) so the user doesn't have to open their email app every single time they wanted to log in.
Thank you!


Add extrinsic to update a user's escrow stake

add an extrinsic that updates a user's stake
extrinsic should be callable by everyone (also for other users)
Possibly make this extrinsic free of charge if it changes the stake by more than e.g. 1%
In theory this incentivizes users to report everyone else, s.t. their stake remains higher in comparison (but in reality this is unlikely to happen without UI support).
We can have either an off-chain worker, or an interlay bot call this extrinsic periodically

Cross-posting the original concern reported by @sander2:

user stakes 1 KINT for 1 year. He gets 1 vKint. Stake is set to 1 vKINT.
Wait half a year. Let's say vKINT decayed to 0.5 vKINT. Stake is still 1 vKINT
user stakes an additional 0.00001 KINT. vKINT balance is now 0.500001 vKINT, and stake is also set to 0.500001.
user is now earning less than if he had not staked additional funds

The proposed solution would introduce a new sort of "game" where users would compete to update each others stakes. That's probably fine but we should consider if the problem has enough impact to warrant that addition.

That's probably fine but we should consider if the problem has enough impact to warrant that addition.

Imo it does. People rightfully expect their rewards to increase if they stake additional tokens or if they extend the staking period. The fact that it right now it's likely to do the opposite is imo very bad

Following is my proposal to solve the issue
Extrinsic Required in Escrow Pallet

update_users_stake

The extrinsic will be used by the bot/user to update a user's stake.

Parameters:

origin: The user's address.
account: The account for which recalculation needs to be performed.

Team Bot
A bot designed as a Rust binary that can perform calculations for every registered account and call the extrinsic if it finds any misconfiguration in the stake.
Flow Diagram

For the first step, let's not worry about the bot. Let's first open a PR with the new extrinsic. I think the deposit_for function takes the increase in amounts, so I think we should just be able to call deposit_for(0,0).

For the first step, let's not worry about the bot. Let's first open a PR with the new extrinsic. I think the deposit_for function takes the increase in amounts, so I think we should just be able to call deposit_for(0,0). Other than that the flow lgtm

Updated flow diagram based on the comment.


Remember shared pages

Remember in-app the URLs that were generated from sharing (paste.gg), their expiration and deletion key.
Low priority.

Not useful


Allow attributesRenderer to compute cell component

This way we can delegate the task of computing the final cell component to the attributesRenderer without having to keep on track of the individual components under the dataset.
Really useful in pure data flows.

I do agree that delegating the task of component render can be offloaded to a function.
attributesRenderer is not the right solution however (attributes are there to attach some attr on the html tags).
For this, I would remove "component" option from cells altogether, and add a "componentRenderer". This could work similarly to dataRenderer. This wouldn't be backwards compatible but a cleaner implementation

@nadbm alright, sounds fair, actually this was a really easy workaround to implement that component behavior.
I'll try to put some time into it and hopefully I'll send another PR soon.
On the other hand, one quick issue for you to consider is that extending className using attributesRenderer breaks cell state style classes (cell, active, selected, etc.). There should be a way to actually extend the class attr without replacing it completely.

right, attributesRenderer was added after from this pull request : https://github.com/nadbm/react-datasheet/pull/43.
Currently className can be extended via 'className' attribute on each dataset. There may be a way to clean the API so it is more consistent. Suggestions welcome


chore: prepare jest-upgrade

Testing

Trade-offs

Dependencies

Screenshots

:tada: This PR is included in version 2.153.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Implement the deforming_plate task

[ ] Implement a subclass of AbstractSystemModel
[ ] Check MGN/HGN compatibility
[ ] Override the MeshTask.plot() method

Implementing rollouts recursively might be difficult since kinematic nodes have to contain their ground truth velocities.


[Feature Request] Capture thumbnails

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Add an option to capture the thumbnails of the videos
Use Case
Users will be able to save the thumbnails by itself or alongside the video(s).
Benefits

Improve functionality.

Add Screenshots
No response
Priority
Low
Record

[X] I have read the Contributing Guidelines
[X] I have starred the repository

I can help. Please assign the issue to me.

Sure @Alphx-rgb, I'll assigned the task to you!
Have fun and if you have any questions, feel free to ask any of the other developers tackling the other issues.
Thank you for being a part of this project! 😀

How are you @Alphx-rgb? Hope all is well. Just letting you know the project structure has completely change to accommodate for the new features. So you have to update your repo. Thanks for your patience!

okay. I'll update the repo.


Font is broken on 1.20.1-fabric

Your mod somehow breaks down font in the latest version 1.20.1-fabric-1.1.0 and 1.1.1 after updating my modpack via CurseForge App.
I have a lot of mods and by exclusion method, I found out that with your mod installed I got this for any language:

I'm sorry, it's my fault.


onChange has error with this.setState

this.setState not found, I founded that this refer to store object but not react.

Sorry, not entirely sure what you're referring to. this.setState should only be called from within a React component. Can you provide a code snippet and/or stack trace of the error? Thanks

I noticed the same thing. Has to do with es6 classes. You need to bind this to your class method, even when your class is extending React.Component. If your method is onChange() then in your constructor you would do this.onChange = this.onChange.bind(this);

Should be fixed in #24


[X] I’ve filled out the rule’s category
[X] I’ve added documentation for the equivalent TSLint rule (in extraDescription)
[X] I’ve added the rule documentation link via the helper from ../utils.
[X] I’ve added the rule to the roadmap

[X] I’ve added tests for my changes

Adding equivalent of TSLint's no-for-in-array. Depends on https://github.com/eslint/typescript-eslint-parser/pull/568 for type information.

@armano2 How did you get your tests in https://github.com/bradzacher/eslint-plugin-typescript/pull/230 to pass without the typescript-eslint-parser changes being merged?

@uniqueiniquity i installed package as
"typescript-eslint-parser": "git+https://github.com/uniqueiniquity/typescript-eslint-parser.git#0625f29a9721c6f10a7522de6c9d236a671bd1ac"

https://github.com/bradzacher/eslint-plugin-typescript/pull/230/files#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R26

I will probably leave this as-is and re-run the tests when the parser gets updated.


Disable the HamburgerButton's transition on VisualStateWide

I'd like to tweak the visual states of the HamburgerMenu, for example the HamburgerButton's "down, up and away" animation when reaching the wide state. Please enable this.

Let me think about it.

Just remove the animation or change the position of the button?

Just removing the animation.
The button should always be visible. I try to mimic the wide state of the Groove app.

Resolved in current ver.

Just to try to implement this change manually in an older version of Template10 that's in use in a project, which commit includes this change?

Simply, the state got removed. See 0949d9b4d23e6588657a2093851a0a33781d5b18
Btw, thanks, Jerry! Will there be an update for the nuget package soon?

Thanks!

Yes


Automated cherry pick of #3445

Cherry pick of #3445 on release-1.25.

#3445: MM-19308 Fixed date wrapping

/cc  @imisshtml

@imisshtml Can you help merge this? I noticed that the Jira ticket is already resolved.


Colab doesn't work.

When I run the Colab linked in this GitHub's README, training the model fails with this:
AttributeError: 'NoneType' object has no attribute 'optimizer_name'
It seems to have something to do with the config. Also of note, I tried debugging the config using python -m vall_e.utils.config yaml=config/test/ar.yml, but that doesn't work either, although I haven't looked too deeply into it so I don't know if that's how you're supposed to use it.
I managed to get it working by doing something with --force-reinstall deepspeed==0.8.0 and then reinstalling the VALL-E module from git, but I don't know exactly what I did to get it working, and I can't reproduce it.
[2023-04-14 16:40:26,592] [INFO] [comm.py:586:init_distributed] Initializing TorchBackend in DeepSpeed with backend nccl
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/content/vall-e/vall_e/export.py", line 25, in <module>
    main()
  File "/content/vall-e/vall_e/export.py", line 14, in main
    engine = load_engines()
  File "/content/vall-e/vall_e/train.py", line 21, in load_engines
    model=trainer.Engine(
  File "/content/vall-e/vall_e/utils/engines.py", line 22, in __init__
    super().__init__(None, *args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 264, in __init__
    self._do_sanity_check()
  File "/usr/local/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 988, in _do_sanity_check
    if self.optimizer_name() is not None:
  File "/usr/local/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 648, in optimizer_name
    return (self.client_optimizer.__class__.__name__ if self.client_optimizer else self._config.optimizer_name)
AttributeError: 'NoneType' object has no attribute 'optimizer_name'
[2023-04-14 16:40:29,592] [INFO] [comm.py:586:init_distributed] Initializing TorchBackend in DeepSpeed with backend nccl
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/content/vall-e/vall_e/export.py", line 25, in <module>
    main()
  File "/content/vall-e/vall_e/export.py", line 14, in main
    engine = load_engines()
  File "/content/vall-e/vall_e/train.py", line 21, in load_engines
    model=trainer.Engine(
  File "/content/vall-e/vall_e/utils/engines.py", line 22, in __init__
    super().__init__(None, *args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 264, in __init__
    self._do_sanity_check()
  File "/usr/local/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 988, in _do_sanity_check
    if self.optimizer_name() is not None:
  File "/usr/local/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 648, in optimizer_name
    return (self.client_optimizer.__class__.__name__ if self.client_optimizer else self._config.optimizer_name)
AttributeError: 'NoneType' object has no attribute 'optimizer_name'

I got it to work by changing the dependencies in setup.py to == instead of >=.

Which dependencies @HyperionSniper? All of them?

I changed packages I thought might be important. I might have based it on
some errors I saw, but I don't remember anymore. 'torch' is probably an
important one. Anyway, here's my version:
"coloredlogs==15.0.1",
"deepspeed==0.7.7",
"diskcache==5.4.0",
"einops==0.6.0",
"encodec==0.1.1",
"g2p_en==2.1.0",
"humanize==4.4.0",
"matplotlib==3.6.0",
"numpy>=1.23.3",
"omegaconf==2.2.3",
"openTSNE==0.6.2",
"pandas>=1.5.0",
"soundfile==0.11.0",
"torch==1.13.0",
"torchaudio==0.13.0",
"tqdm==4.64.1",
On Sat, Jun 17, 2023 at 7:28 AM Sam @.***> wrote:

Which dependencies @HyperionSniper https://github.com/HyperionSniper?
All of them?
—
Reply to this email directly, view it on GitHub
https://github.com/enhuiz/vall-e/issues/85#issuecomment-1595717819, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADHDIIV5NM6UJDYCF3NKRT3XLWIHPANCNFSM6AAAAAAW6U2JZE
.
You are receiving this because you were mentioned.Message ID:
@.***>


"Learn more" in https://odysee.com/$/buy directs to deleted help page

"Learn more" in https://odysee.com/$/buy directs to deleted help page

Can you update this to the Lbry.com faq link?


Progress bar changes

Vertical progress bar instead of horizontal
css for each theme
Center of border pane

Doing only the CSS part as horizontal progress bar at the bottom looks just fine.


PING not allowed while subscribing

This is in reference to antirez/redis#420, specifically https://github.com/antirez/redis/issues/420#issuecomment-128437282
The reason hiredis silently ignores the ping response is because it stores subscribe and psubscribe callbacks in separate dictionaries in order to deliver messages to the correct handler.
It looks for a redis publish message, which can take the following forms (with pong being new):

SUBSCRIBE
PSUBSCRIBE
PONG

"message" | 1) pmessage | 1) pong
"foo" | 2) "foo*" | 2) pongarg
"bar" | 3) "foo"
| 4) "bar"

Hiredis is only accounting for message or pmessage, and specifically just checks the first character of the first multibulk reply string to determine which one it is, which is done here.  Given that pong starts with p it looks in the psubscribe dict.
It uses the second argument (which for subscribe or psubscribe will be the channel/pattern) to search, but in the case of pong can now be literally anything.
You can actually "trick" hiredis into executing your callback by doing something like this:
int main (int argc, char **argv) {
    signal(SIGPIPE, SIG_IGN);

    redisAsyncContext *c = redisAsyncConnect("<IP_ADDRESS>", 6379);

    redisLibevAttach(EV_DEFAULT_ c);
    redisAsyncSetConnectCallback(c,connectCallback);
    redisAsyncSetDisconnectCallback(c,disconnectCallback);

    redisAsyncCommand(c, subscribeCallback, NULL, "PSUBSCRIBE pong*");

    ev_loop(EV_DEFAULT_ 0);
    return 0;
}

void subscribeCallback(redisAsyncContext *c, void *r, void *privdata) {
    printf("In subscribeCallback...\n");

    redisReply *reply = r;
    int i;

    if (reply == NULL) return;

    for (i = 0; i < reply->elements; i++) {
        if (reply->element[i]->type == REDIS_REPLY_STRING) {
            printf("%i: %s\n", i, reply->element[i]->str);
        }
    }
    redisAsyncCommand(c, subscribeCallback, NULL, "PING pong*");
}

This is obviously not a solution of any kind but is what's going on.  Hiredis could be made to handle the new message types by detecting "pong" specifically, and using the argument as either the channel name or pattern.  This would mean that you couldn't add any other kind of context to the ping, but would allow you to use it as a mechanism to detect the connection was still live.

This works but a little buggy.
When the connection closed, subscribeCallback() was called many many times with r=NULL. It seems that hiredis remembers all "PING pong*" command and called them when close. I am afraid that hiredis will allocate more memory for the remember work.

I tried "PSUBSCRIBE pong*" instead of "PING pong*", it works find in subscribe mode.


Update to use Rails 5.1

This is still in wip, the test are not green.

I Replace protected_attributes by  protected_attributes_continued
ActionController::RedirectBackError is deprecated, at the moment I rescue all doing rescue Exception
on redirect_on_revert method, we need to permit some params, not sure which ones so I keep:
redirect_to url, {}.merge(redirect_params.permit)
Rails 5.1 requires Ruby 2.2.2 or newer. So I updated the travis.yml file

You can replace the redirect_to :back and the ActionController::RedirectBackError with the redirect_back method with a fallback path.
redirect_back(fallback_location: root_path)
``

Works. 👍👏

Hey @rcook, it is possible to officially release v0.12.0 with Rails 5.1 support ?
Really appreciate.

@josephpage : I do not currently have time to maintain this project. I would be happy to add you as a project owner if that would help.

@rcook I don't have any problem on maintain it

@julioalucero : I've added you as a contributor. I'll also see if there's a way you can publish new versions to RubyGems.

@julioalucero : What's the e-mail address of your RubyGems account? I'll need that to allow you to push new versions out.

sure, poramo at gmail.com

@julioalucero : You're now an owner on RubyGems. Thanks!


Feature Request: Common Path for mqtt topic

Would it be an option to have a common path for the mqtt topic?
Thinking about something like this:
emporia/feeds/integer/%s/rssi
emporia/live/%s/status
emporia/live/%s/frequency
emporia/live/%%s/phase_%d/voltage
emporia/live/%%s/phase_%d/current
...

Or would this break something in your setup?

It would break my setup indeed.
But having it configurable is a good idea.
I really didnt put a lot effort in the code.
Just threw together parts of my other projects, thus its a bit sketchy.

All fine, works great so far.
Just have some little problems (but those can also be my setup, not sure)
I can throw together some code to have it configurable


False-positive error: JSC_BAD_FUNCTION_DECLARATION ... in ES5 strict mode

I tried using GCC v20161024 in my project and have got this error:
JSC_BAD_FUNCTION_DECLARATION. functions can only be declared at top level or immediately within another function in ES5 strict mode at
I'm compiling with
compiler.lang-in = 'ECMASCRIPT5'
compiler.lang-out = 'ECMASCRIPT5'
And this error seems to be false-positive. I've looked through the code and it seems that there is not check regarding current language in/out in checkFunctionUse()
https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/StrictModeCheck.java#L133

I think the problem is caused by this line
https://github.com/google/closure-compiler/commit/9b4169e6a9a8532d7fd3a463231fb64e4dfe3c9a#diff-260ed5cec9127e9e4572e8d5284c2609L447
https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/DefaultPassConfig.java#L488

'strict' checks are unconditionally applied to all js files.

I see there is 'setStrictModeInput()" was added in https://github.com/google/closure-compiler/commit/73409ece7c4cf94ce9c85bf774564edc519d55a9#diff-e1e96443947a8df3565544b63c8a6649R3157 ... may it need to be used in 'DefaultPassConfig' ?

Language modes no longer have an impact on strict mode. To disable validating input for strict mode compliance, use --jscomp_off=es5Strict (I think that's the correct one).

I'm using GCC as an embedded 3rd party library into my library - how should I do this from code?

As Java?

Yes, from java.
My code currently looks like following
CompilerOptions options = new CompilerOptions();
options.setLanguageIn(CompilerOptions.LanguageMode.ECMASCRIPT5);

Compiler compiler = new com.google.javascript.jscomp.Compiler();
compiler.initOptions(options);
compiler.compile(externs, input, options);

i tried adding options.setStrictModeInput(false); but it did not make any effect :(

options.setWarningLevel(...)
https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/CompilerOptions.java#L1394-L1399

So ... I tried
options.setWarningLevel(DiagnosticGroups.ES5_STRICT, CheckLevel.OFF);

and have got no errors in compiler.getErrors() (what is good), but also have got following in build log
my-js-file.js:140: ERROR - functions can ... in ES5 strict mode
        function a () {
        ^

1 error(s), 0 warning(s)

It looks completely misleading - build has finished successfully, but there were errors during build ...

@ChadKillingsworth, it's not quite true that language mode no longer affects strictness.
Here are some points that will hopefully clarify things.

All of the old-style language modes (ECMASCRIPT5, ECMASCRIPT5_STRICT, etc.) still indicate strictness or non-strictness as they always have.
The new-style language modes (ECMASCRIPT_2015, etc.) do not, but the default behavior is to assume strict on input and output, which can be overridden by --nostrict_mode_input and --noemit_use_strict, respectively.
The pass for doing strict mode checks is always run. The language mode or --nostrict_mode_input option just disable the warnings/errors. Here's the line that does that.
https://github.com/google/closure-compiler/blob/1fd5b5ca4be6ede6f4c2f1850699f9840a7422d9/src/com/google/javascript/jscomp/Compiler.java#L412

@xtracoder I suspect something is hinky with the way you're running the compiler from Java code.
Perhaps you could share a code snippet showing what you're doing?

Hinky? Yes, somewhat :)
I've got where the problem is. JS is compiled in 2 stages:

extract JsDocs
generate minified version

I've applied setWarningLevel() only to second phase, it was missing during 1st phase, but since errors are ignored there (no effect on documentation) - it happened that errors were logged from 1st phase and overall success was coming from phase 2. OK, than problem is resolved.
PS: Compilation is split into 2 phase because if I mix
CompilationLevel.SIMPLE_OPTIMIZATIONS.setOptionsForCompilationLevel(options);

with
options.recordFunctionInformation = true;
options.setParseJsDocDocumentation(INCLUDE_DESCRIPTIONS_WITH_WHITESPACE);

resulting AST already contains obfuscated function arguments :( - like 'function myFn(a, b, s)' instead of 'function myFn(param_name1, param_name2, param_name3)' and it is not possible to generate documentation and minify file in one pass.


Add oktasearch extension

Description
This extension is intended to help Okta admins working in organizations to search through users and groups in Okta and instantly open the profile of selected item.
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi!
Thank you for your contribution! My name is Milena and I will be reviewing it today.
At the moment, I do not have access to okta. Do you know if there is a way of getting a test user or can you provide a video of your extension working? I have no way to test otherwise.

Hello @mil3na,
I think I can provide you with some video. Can I share it with you privately (with Raycast's Slack maybe?) or should I upload it here?

Feel free to send it via slack or email<EMAIL_ADDRESS>whichever you prefer :) I understand that sharing here is not the best option.


[CodeGen] GPU Subgroup Reduction Pipeline for MatVec

This is a tracking issue for matvec-related optimizations.
The current status is that the GPU codegen pipeline is able to process multiple matvec rows by a subgroup at a time, but only in the simple case:
%7 = linalg.matmul_transpose_b
       ins(%3, %4 : tensor<1x4096xf16>, tensor<32000x4096xf16>)
       outs(%6 : tensor<1x32000xf16>) -> tensor<1x32000xf16>

A more complicated case -- matvec fused with dequantization -- is blocked by several larger work items:
  %12 = linalg.generic {
    indexing_maps = [affine_map<(d0, d1, d2) -> (d0, d1, d2)>,
                     affine_map<(d0, d1, d2) -> (d0, d1)>,
                     affine_map<(d0, d1, d2) -> (d0, d1)>,
                     affine_map<(d0, d1, d2) -> (d0, d1, d2)>],
    iterator_types = ["parallel", "parallel", "parallel"]
  } ins(%2, %3, %4 : tensor<4096x32x128xi4>, tensor<4096x32xf16>, tensor<4096x32xf16>)
    outs(%10 : tensor<4096x32x128xf16>) {
  ^bb0(%in: i4, %in_0: f16, %in_1: f16, %out: f16):
    %14 = arith.extui %in : i4 to i32
    %15 = arith.uitofp %14 : i32 to f16
    %16 = arith.subf %15, %in_1 : f16
    %17 = arith.mulf %16, %in_0 : f16
    linalg.yield %17 : f16
  } -> tensor<4096x32x128xf16>
  %13 = linalg.generic {
    indexing_maps = [affine_map<(d0, d1, d2) -> (d1, d2)>,
                     affine_map<(d0, d1, d2) -> (d0, d1, d2)>,
                     affine_map<(d0, d1, d2) -> (d0)>],
    iterator_types = ["parallel", "reduction", "reduction"]
  } ins(%5, %12 : tensor<32x128xf16>, tensor<4096x32x128xf16>)
    outs(%11 : tensor<4096xf16>) {
  ^bb0(%in: f16, %in_0: f16, %out: f16):
    %14 = arith.mulf %in, %in_0 : f16
    %15 = arith.addf %14, %out : f16
    linalg.yield %15 : f16
  } -> tensor<4096xf16>

Separately, the SPIR-V codegen pipeline is not robust enough to handle even the simple case.

List of sub-tasks
### Common
- [ ] https://github.com/llvm/llvm-project/pull/75122
- [ ] https://github.com/llvm/llvm-project/issues/72354
- [ ] https://github.com/llvm/llvm-project/pull/73423
- [ ] Use vector layout analysis to decide the types used in the innermost reduction loop
- [ ] Break down small vector reductions to avoid needless lowering to reduction intrinsics

### LLVMGPU
- [ ] https://github.com/openxla/iree/pull/15941
- [ ] Reduce number of `gpu.shuffle xor` ops produced when lowering vector reductions (by 2x).
- [ ] Perform 2-element multi-reduction to reduce the number of `gpu.shuffle xor` ops (by another 2x, 4x total).
- [ ] Perform gradual lowering: `vector.reduction` --> `gpu.subgroup_reduce` --> `gpu.shuffle`
- [ ] Support fused-dequant matecs (requires break down 3-d vectors into 2-d vectors)
- [ ] MatVec kernel config for CUDA

### SPIR-V
- [ ] https://github.com/llvm/llvm-project/pull/73363
- [ ] https://github.com/llvm/llvm-project/pull/73466
- [ ] https://github.com/llvm/llvm-project/pull/73468
- [ ] https://github.com/llvm/llvm-project/pull/73475
- [ ] https://github.com/llvm/llvm-project/pull/73476
- [ ] https://github.com/llvm/llvm-project/pull/73546
- [ ] Software pipelining for latency hiding (move loads up)
- [ ] Support for multi-row matvecs (requires breaking down 2-d vectors into 1-d vectors)

@antiagainst @qedawkins @raikonenfnu FYI


Improve wording

This improves some wording, mainly for newly added text. That includes grammar and spelling fixes.
@dbaeumer Many of these would be (and were) found with a simple spell checker. Would you be willing to use one of those? I use and recommend Code Spell Checker.

@KamasamaK I used to use one, but had difficulties running it in a remote setup. Do you use the one you recommend in remote setup?

@dbaeumer No, I do not use it in remote setup. It is being actively maintained (latest commit is from 4 days ago), so if you encounter any issue you should raise it in their repo and it would hopefully be addressed.

@KamasamaK thanks. I installed it and it works.


Command demo: get_key_info

Description

Added a demo page showcasing the usage of get_key_info command.
Checklist

Changes to the drivers

[ ] (PR Author) The affected drivers were manually tested

Changes to CLI

[ ] (PR Author) The change was manually tested with the CLI
[ ] (PR Author) The affected CLI features are working with the standalone binary (at least one platform)
[ ] (Checked by maintainer) The CLI test procedure was run by the project's maintainer

Changes to web library

[X] (PR Author) The change was manually tested with the web library included within a classic HTML application (flat libhalo.js)
[ ] (PR Author) The change was manually tested with the web library included within an app based on frontend framework (React.js or similar based on webpack)
[ ] (Checked by maintainer) The web test suite was run by the project's maintainer

Changes to nfc-manager driver

[ ] (PR Author) The change was manually tested in React Native app
[ ] (Checked by maintainer) The test suite was run through the test React Native project

lgtm, thanks 🎉


[DOC-2971] [DOC-2972] - CI subscription management and license usage

DOC-2971: Self-service CI subscription management
DOC-2972: License usage and build credit visualization for CI
https://6449d6959a790f2852e816f3--harness-developer.netlify.app/docs/continuous-integration/ci-quickstarts/ci-subscription-mgmt

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


bitcoin: fix value floating point precision issue

Switches Value.fromBitcoin to use Math.round instead of Math.trunc since it can result in off by one sat issues
For example, Value.fromBitcoin(20000000.00000008).bitcoin equals 20000000.00000007 not 20000000.00000008 if using Math.trunc

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e9b349b) 93.17% compared to head (37fbf85) 93.17%.

:exclamation: Current head 37fbf85 differs from pull request most recent head d451218. Consider uploading reports for the commit d451218 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #336   +/-   ##
=======================================
  Coverage   93.17%   93.17%
=======================================
  Files         226      226
  Lines        6271     6271
  Branches      730      730
=======================================
  Hits         5843     5843
  Misses        286      286
  Partials      142      142

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Not able to build project

A problem occurred configuring root project 'chat-sdk-android'.

Could not resolve all artifacts for configuration ':classpath'.
Could not find any matches for com.jfrog.bintray.gradle:gradle-bintray-plugin:1.+ as no versions of com.jfrog.bintray.gradle:gradle-bintray-plugin are available.

Can you update to the latest commit and try again?


Null hostname on lo0

I am getting a fatal error when a service on the local machine closes down due to the advert not returning a hostname (on OSX). The error is as follows:
events.js:85
      throw er; // Unhandled 'error' event
            ^
TypeError: argument 5 must be a string (hostname)
    at TypeError (native)
    at Array.DNSServiceGetAddrInfo (.../node_modules/mdns/lib/resolver_sequence_tasks.js:93:14)
    at next (.../node_modules/mdns/lib/browser.js:107:21)
    at MDNSService.on_resolver_done (.../mdns/lib/resolver_sequence_tasks.js:33:11)
    at SocketWatcher.MDNSService.self.watcher.callback (.../node_modules/mdns/lib/mdns_service.js:18:40)

The description of the service is this:
{"interfaceIndex":4294967295,"type":{"name":"http","protocol":"tcp","subtypes":[],"fullyQualified":true},"replyDomain":"local.","flags":3,"name":"PC","networkInterface":"lo0"}

Whereas a normal service is this:
{"interfaceIndex":4,"type":{"name":"http","protocol":"tcp","subtypes":[],"fullyQualified":true},"replyDomain":"local.","flags":2,"name":"PC","networkInterface":"en0","fullname":"PC._http._tcp.local.","host":"PC.local.","port":8080}

I can fix this by changing from line 92 in resolver_sequence_tasks.js to this:
if (typeof(service.host) !== 'undefined') {
        dns_sd.DNSServiceGetAddrInfo(
            adr_getter.serviceRef, 0, service.interfaceIndex, family_flags,
            service.host, on_get_addr_info_done, null);

        adr_getter.start();
      }

However I think there is a deeper problem as this occurs even when the networkInterface is set to en0 only.

Same problem here.


SW-2105 Add CRUD endpoints for planting sites

Allow clients to read and write planting site information. Client-created planting
sites may not include planting zones or plots, and clients can't edit planting zones
or plots that were created via shapefile upload.
The planting site boundary is always returned from the GET endpoints for planting
sites created via shapefile upload. The list of planting zones and plots is always
included when querying a single planting site, but may be turned on or off when
listing the planting sites for an organization.
All the information available via the GET endpoints here is also available using
the search API, but the dedicated endpoints may be more convenient.

Current dependencies on/for this PR:

main

PR #783

PR #784

PR #785

PR #787

PR #788   👈

This comment was auto-generated by Graphite.

Current dependencies on/for this PR:

main

PR #783

PR #784

PR #785

PR #787

PR #788   👈

This comment was auto-generated by Graphite.


Problem with "krzyzanowskim/CryptoSwift"

I have a project with both "krzyzanowskim/CryptoSwift" and "kylef/JSONWebToken.swift".
But the latest version of CryptoSwift is 0.6.8 and the latest used by JSONWebToken is 0.6.1, so at runtime it uses the 0.6.1 and I receive :

Message from debugger: Terminated due to signal 9

JSONWebToken depends on CryptoSwift ~> 0.6.1 which includes all releases of CryptoSwift after 0.6.1 until 0.7.0. 0.6.8 is allowed with the optimistic range specified.


add a command to initialize node.js tests

Description of the Change
add init-test command to initialize node.js test environments.

create test directory

if test directory already exists and it is not empty, skip it.
Otherwise, create test directory and first test file.

replace npm test script in package.json.

If there is no package.json, guide npm init first.

Alternate Designs
I named it as init-test. init is client initialization. So, I don't want to break backward compatibility. I didn't think server is not fit for here because it is for node.js tests not only server-side.
The first test file's test is from mocha.org. It is a very simple test so it can be useless. Should we add more tests case as an example like promise?
I change test script of package.json via RegExp. It is not good readability and could not cover many cases of package.json. I don't want to add new dependencies. Is there another solution?

Why should this be in core?

Benefits
Newbies can adopt it more easier than now.
And we do it whenever making new js project with mocha.

Possible Drawbacks

Applicable issues
#2989

Coverage increased (+0.05%) to 90.063% when pulling a3ff265b612d465d30fca5189697a1cabe6900e2 on outsideris:issue-2989 into 0d95e3f41a0859be4e7225541575e78b6d8926ee on mochajs:master.

I do not favor adding this to mocha to be honest.

The documentation should be enough of a guidance.
The steps are very tiny to require a bootstrap command, or a learning curve.
Is it worth the extra maintenance? (docs, code, issue support, and bugs)

@outsideris lets hear the team's opinion first

I'd prefer if scaffolding like this was in a separate package. It's really none of mocha core's business.
Scaffolding has become really easy to run with npx these days. So npx mocha-scaffold is as easy to copy/paste as mocha init-test

I believe that we get a consensus that this scaffolding is not needed in our core. A separate package is a good idea, but I don't think we should make it now because it is too simple.
We can make scaffolding package later when users want to a couple of features about scaffolding.


Targeting multiple web socket  end points

Hello, Currently I test thru web socket connection targeting one mobile device ( test scripts to run in one  mobile device), is there a way to run my test scripts on multiple devices ( parallel testing) .
Thank you !

Karate's normal parallel execution should work: https://github.com/karatelabs/karate#parallel-execution
in future kindly consider using stack overflow for these kinds of questions


Adding Validations to asazure.json

Adding validations to resourcegroupname and analysisservername

No modification for NodeJS

No modification for Ruby

No modification for Python


Add request details to VerificationException

The intent behind the exception message is that request must be printed but it was not being done due to the lack of formatter in String.format, this PR fixes that issue and modifies the tests to assert the same.

@tomakehurst would appreciate your feedback on this.


T11.02 - Exercise Data Binding

This line -
// TODO (1) Enable Data Binding in your application
is in the build.gradle file inside the dependencies tag.  It should be inside the android tag
Pull request #325 fixes this issue

We do not accept pull requests for solutions to the exercises.


一直卡在运行中

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
任务一直卡在运行中，重启程序也无效。

DataVines Version
dev
DataVines Config
无

Running Command
无

Error Exception
无

Engine Type
No response
Java Version
No response
Screenshots
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

点开日志有内容吗？

空白的，无日志


daemon: Use per-subsystem async status collection

This is an extension of https://github.com/cilium/cilium/pull/3607 I had hoped to redo it in far fewer lines. It feels far too verbose for what it does so I'm not terribly pleased with it :/
The async code before this change was effective but it has two problems:

When a deadlock occurs, cilium status cannot detect this because we keep returning the most recent status object
Any subsystem that is slow or doesn't update will block others from being updated.

This change splits out each subsystem into a separate controller to collect the status while the API handler simply marshals the data into the final status object. It also does the final checkups to populate the global status, which now include a staleness check. Not all these subsystems take locks but some make status requests to other things (like docker, I think) so it seemed safest to treat all of them as a slow path.
How to test (optional):
all tests pass

This change is

test-me-please

test-me-please

I'm closing this in favour of https://github.com/cilium/cilium/pull/4273 It is too big for what it does, I think, and I couldn't find a good way to simplify it without more annoying complexity.


Plugin Project-Files DX11.DynamicShader.dll (String-Shader and so on...)

Hello everoneishappy,
your dll is only compiled for 64bit vvvv. please, would you be so good as to add the project-files to self-compile or an single x32 library?
thx for your interresting FieldTrip. Im testing yet...
greets

Hej everyoneishappy, i recompiled your library and i hope i understand your project. i tidy up a little bit and developed a kind of a template... you can just one more copy and paste the original .cs-files to the right place.
http://www34.zippyshare.com/v/qK2UvwoS/file.html
The structure is: <packs/FieldTrip/src/DX11.DynamicShader/DX11.DynamicShader.sln>

Hey thanks.  I'll take a look at how you did the references.  I think the decompile changed the number of cs files too, so might not copy paste the whole thing.  Happy to share the original source too, it's just not been top priority as still adding modules atm I want to include in first release.

I tried to add a VS project to the pack structure on here, but not working to build atm.  The way all the references work is not really clear to me yet.  The C# files are there now at least.

project files seem to be working in place now.  I don't actually use x32 so please let me know if it works for you.

sorry this was my fault! anycpu with direct references for dx11 and vvvv lib doesnt exists...
here is the current project http://www115.zippyshare.com/v/AKjG5cG4/file.html

Just setup vvvv_50beta35.8_x86 to test this and seems to work fine with the same dll.


Tesseract with venv jupyter notebooks

Hey!
Many thanks for making this package,  I think it could be nice to use to digitize tables from old books which I use a lot.
I'm trying to get this set up with jupyter notebooks and python, but it seems like an error is thrown while trying to run this in a notebook. Is this particular to a venv? If I open powershell and run a subprocess command to check a version is returned for tesseract return code is 0 and everything looks like it works.
https://github.com/xavctn/img2table/blob/58152164a9d711e6caa1765d351bd899b995d4d9/src/img2table/ocr/tesseract.py#L54
tesseract also seems to be correctly installed, can be called straight from powershell console.
available packages in venv: ipykernel, img2table, pytesseract, tesseract, numpy, pandas...
I've attached an example of what a cut-out of one of the tables can look like. (Swedish), Yield tables for Norway Spruce.

Hi,
I have run it with Tesseract on a notebook without any issues. Are you sure that Tesseract has been included in your PATH ?
Moreover, I am fairly sure that my algorithm will not be working on the table example you provided. The table elements are too cramped for the method I've implemented. You may try other libraries, I've listed examples at the end of the readme


[Bug] Focus stealing to the Error List window.

I think it's related to #810.
When running Tidy command through the Clang Power Tools menu on a folder in solution explorer, the focus is constantly getting stolen while command is running.
VS 16.6.1

Hello @jovibor,
Thank you for your feedback! We reproduced and fixed this issue. It will be available in the next version of Clang Power Tools, v6.1. I will let you know when the new version will be available.
Regards,
~Ionut

Hello @jovibor,
Clang Power Tools v6.1 is now online. Please check for updates.


Add Secureworks to adopters

Signed-off-by: David Windsor<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind documentation

Any specific area of the project related to this PR?
/area proposals

What this PR does / why we need it:
Add Secureworks to adopters
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign kris-nova after the PR has been reviewed.
You can assign the PR to them by writing /assign @kris-nova in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Welcome @dwindsor-scwx! It looks like this is your first PR to falcosecurity/falco 🎉

LGTM label has been added.  Git tree hash: d73fff5711e8a675ca5f77c11c1bd790277d391b

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leodido
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leodido]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.28.1

@cpanato: You must be a member of the falcosecurity/maintainers GitHub team to set the milestone. If you believe you should be able to issue the /milestone command, please contact your Falco maintainers and have them propose you as an additional delegate for this responsibility.

In response to this:

/milestone 0.28.1

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


plugins.vidio: streams broken

http://free.fullspeed.tv/iptv-query?streaming-ip=https://vidio.com/live/204-sctv
Unable to open URL: https://vidio.com/live/204-sctv (403 Client Error: Forbidden for url: https://www.vidio.com/live/204-sctv)
I think they had fixed but @LaneSh4d0w  didnt update https://github.com/streamlink/streamlink/issues/4640

https://github.com/streamlink/streamlink/pull/4641

I've updated my streamlink branch and my query-streamlink services are being updated. Will close this issue once I know everything works.

I need to change something in what the code returns.

After verification, it seems the servers of Vidio banned the IPs used by free.fullspeed. My implementation works.


fix potential panic in handle_propose

fix https://github.com/datenlord/Xline/issues/280
Please briefly answer these questions:

what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)

what changes does this pull request make?
One line change in handle_propose, compare follower index with leader base_index.

are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

This is included in #283


func name autocomplete doesn't appear until you type something

Godot version:
3.2
Issue description:
Title.

You should be able to use Ctrl + Space at least to force the popup.

Also if you type the letter v and expect auto complete for var inside a class (not inside a function) or on an empty script it doesn't show any auto complete option.
As I was debugging it the cursor token (TOKEN_CURSOR) didn't generated for the case I've mentioned and the one one the issue above.
But inside a function typing v  there is TOKEN_CURSOR at the generated tokens, also the above issue after the func keyword there is no TOKEN_CURSOR only an EoF token but as soon as you type a letter there is a cursor token generated


Add support for skipping wrapper rendering

It would be useful to be able to skip rendering the wrapper elements, and have the plugin render only the block contents.

Use Html.PropertyFor(m => m.ContentArea, new { HasContainer = false })

That will remove the wrapper elements only for the ContentArea, but not the blocks.

Maybe you can remove the block wrapper elements as well, if HasContainer = false?


feature: stopwords

Stopwords are implemented in the go-llama.cpp backend, however, the same should be ported to:

[x] go-llama.cpp
[ ] go-gpt4all-j.cpp
[ ] go-gpt2.cpp
[x] rwkv

seems there is some problem with the implementation in go-llama.cpp. needs to be revisited

this is supported now


Additional info

Some operations may wish to report additional info besides their main effect.
Examples
Some element get/insert/etc. operations may require loading additional
partitions to do their work. In this case it's just informing the user that the
operation could be slow and giving them a chance to cancel it.
Replacing an element with a different value could result in the identifier
changing (since it could be placed in a different partition). Repartitioning
may result in element identifiers being updated. Additionally, while finding an
element, the library may discover that an it now has a new identifier (which
allows faster look-ups). (There's also a chance for interaction here: there's
a chance the user may be able to make a better guess about where our element
ended up than the library can.)
Strategies
Naive
The straightforward strategy would be to modify the return types of all methods
which may have additional info. This could make usage tedious and might mean
the user would often forget to check it, but in any case this is only advisory
information.
Additional loading could be done without informing the user just with a
configurable policy (load or abort).
Message queue
A message queue could be attached to the Repo type for the user to check any
time they like after the operation has completed. This would be fine for
warnings (so long as the code reporting has access to the repo) and should be
okay for advisories about new identifiers.
Interupt handler in a different thread
The user could set some code to run in a different thread as an interupt
handler. This thread should be dedicated to "interupt handling" since other
code may block waiting for it. Some kind of lock would be used to update a
shared memory block with details of the issue, the handler would be triggered,
update/clear the shared memory, and return control to the interupted code
(perhaps with a status code).
This strategy is complex, is dependent on available threading facilities and is
prone to bugs both in the implementation and on the user side (e.g. trying to
use the library from the handler causing a dead-lock).

I think this has to come directly through the method. Currently the UserFields and MakeMeta traits are for this kind of thing.


Add sproto language

Add sproto new language syntax highlighting support.
see also:
https://github.com/m2q1n9/atom-sproto-syntax
https://github.com/m2q1n9/sproto-mode

There are only 36 .proto files on GitHub. It will probably not meet the requirements yet.

Waitting more... How many at least? :)

From Linguist's Contribution Guidelines:

In most cases we prefer that extensions be in use in hundreds of repositories before supporting them in Linguist.

How many at least? :)

To add on @davidzchen's response, we can check again for the number of repositories when there are at least 1,000 .proto files. That usually does the trick.

I'm going to close this for now as Sproto's usage doesn't currently meet our contribution guidelines. Feel free to re-open in the future @m2q1n9


fix typos

This change is

Looks like an airdrop farmer. This fresh account created similar "fix typos" commits in 30+ other repositories so far.