user-error: Before first headline at position 50 in buffer 20210209.org

I got this error
user-error: Before first headline at position 50 in buffer 20210209.org
when I tried to create a new entry today Feb 10. This cause the error message above, then it created a 20210210.org with two days' headers at the top: yesterday and today. What I didn't notice was it had completely moved everything out of 20210209.org and into 20210210.org. I absent-mindedly deleted (C-x k) this "wrong" 20210210.org . . . and lost permanently everything from yesterday since 20210209.org now was blank except for TITLE.
I've got "" for org-journal-carryover-items and here is my general config
(use-package org-journal
:after org
:custom
(org-journal-dir "~/Dropbox/org/journal/")
;; (org-journal-date-prefix "#+TITLE: ")
;; (org-journal-time-prefix "* ")
(org-journal-file-format "%Y/%m/%Y%m%d.org")
;; (org-journal-date-format "%Y-%m-%dT%H:%M:%S")
(org-journal-date-format "%a, %Y-%m-%d")
(org-journal-enable-agenda-integration t)
:bind
("C-c j" . org-journal-new-entry)
:config
(add-hook 'org-journal-mode-hook (lambda () (company-mode -1))))
(defun org-journal-file-header-func (time)
"Custom function to create journal header."
(concat
(pcase org-journal-file-type
(daily "#+TITLE: Daily Journal\n#+STARTUP: showeverything")       (weekly "#+TITLE: Weekly Journal\n#+STARTUP: folded")
(monthly "#+TITLE: Monthly Journal\n#+STARTUP: folded")       (yearly "#+TITLE: Yearly Journal\n#+STARTUP: folded"))))
(setq org-journal-file-header 'org-journal-file-header-func)
I was getting this yesterday while trying C-c j as well. Temp solution was to move the previous days' files out of .../journal/2021/02/ and have 20210209.org be the only file in the directory. My only guess is something wasn't really right about the org-journal-carryover-items which, when I looked at it in my custom-set-variables elisp file had
(org-journal-carryover-items """")
possibly from using the customize feature. I wanted it off completely, but maybe it was going rouge?

It's is hard to figure out what is wrong. But you could try calling org-journal-invalidate-cache, and check if that fixed it for you.
Otherwise please post dummy journal files which trigger it for you + directory structure. Thanks!

Will do.


add Censys, with API doc link

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[x] Your submissions are formatted according to the guidelines in the contributing guide
[x] Your additions are ordered alphabetically
[x] Your submission has a useful description
[x] The description does not end with punctuation
[x] Each table column should be padded with one space on either side
[x] You have searched the repository for any relevant issues or pull requests
[x] Any category you are creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

Thank you for the update 😉
I'm not sure to understand the description, could you be more precise on why it is useful?

Thank you!


[#131876783] Some pipeline script refactorings

What
As part of the work to migrate to paas-bootstrap, we've done some refactoring of the pipeline scripts. In order to ease the review of the migration itself (which will be fairly large), we've decided to PR these separately.
How to review
Code review
Who can review
Anyone but @dcarley or myself.

LGTM


Do not use JS alerts as dialogs

'Nuff said :)
Let's use Bootstrap dialogs.

Please specify where this happens.

https://github.com/thinktecture/boardz-cross-platform-sample/blob/master/src/BoardZ/app/components/games/details.ts#L112

no native alert found. Perhaps @ManuelRauber closed it but he didnt associated the issue.


Tokens sorting

Sometimes I create a new token that in context are related to one from the beginning of the list, so when this happens, I have to open the json file and copy paste classes to reorder them.
My suggestion is to have drag and drop sorting ability like how Figma's native styles have.

Definitely needed! I'll close this one as we're already tracking it over in #122 - I think what's described there should match this one.
Duplicate of #122


Add server mode

Based on the work here: https://gist.github.com/ciconia/a786b461f7b6c2526ac0eeb42d3da8a0
Start a server:
# can specify a specific version of
$ lyp serve -u2.19.37 -d # run as daemon

# can also specify port:
$ lyp serve -p 3213

# load packages on startup, in order to make compilation faster
$lyp serve -r assert -r house-style

Stop a server daemon (?):
# lyp stop-daemon -u2.19.37

Run client:
# check if any server is up (servers are registered in the lyp config file)
# if available (and has right version), use it
$ lyp compile <args> myfile.ly

Work left to do on server:

test it!
full support for command line options (as as full as possible - loglevel for example).

Right now a client connects, send a compile request, and then the connection is discarded.
A different mode of operation would be to generalise the API, so the client would be able to send arbitrary scheme expressions.
For example, to compile a file:
(lyp:compile (<opts>) [<arg>...])

The lyp:compile proc then makes the call whether to close the connection based on the arguments.
This would allow in the future to hold a Lipton's document in memory, and perform partial compilation on demand.

A possible user-interface:
# simple compilation
$ lyc myfile.ly

# suppose the following .ly files:
# - music.ly - music variables
# - tweaks.ly - tweak variables
# - score.ly - score including the music and tweaks variables

# start a session named ed1 (a worker process is spawned holding the connection)
$ lyc -s ed1 music.ly

# use same session, parse the other files and produce a score
$ lyc -s ed1 tweaks.ly score.ly

# edit tweaks, recompile the score
$ lyc -s ed1 tweaks.ly score.ly

# evaluate scheme expression
$ lyc -s ed1 -e "(display \"hello\")"

# parse a lilypond snippet
$ lyc -s ed1 -L "\\paper { ... }"

The server code now sits here: https://github.com/noteflakes/lyp-lys

Implemented as extension to the lyp compile command, see the lys package.


Release cassandra v3.11.6-0.2.0 (automated commit).

Repository
https://github.com/mesosphere/kudo-cassandra-operator

Operator
cassandra

Git tag
https://github.com/mesosphere/kudo-cassandra-operator/releases/tag/v3.11.6-0.2.0

Git SHA
https://github.com/mesosphere/kudo-cassandra-operator/commit/819606a8078c519cfde9faf1ff087f1a025f6fcd

Date (UTC)
2020-06-04 07:14:12.393036

Superseded by https://github.com/kudobuilder/operators/pull/272


Paragraph Generator

Describe the project
we are TIRED OF USING LOREM IPSUM I have created it using html,css,javascript.
it can create paragraph upto  9 paragraphs.
Issue Type:

[ ] Bug Report
[ ] Feature Request
[ ] Documentation
[ ] New Project

Additional context
Add any other context or screenshots about the project here.
Screenshots

Hey @kuldeepjoshi27 Can you explain how your idea is it different form #355 ?

yes sure ma'am In #355 as a wikipedia page it searches that what we want ot search or we want to know about but in this #381
i have created a paragraph generator like in templates if we want to use the text diffrent from lorem epsum than we can generate by writing number of paragraph(max 9) and after entering it will generate paragraph.


Adding manually compiled SMACC2 packages files to /opt/foxy folder

I am interested in utilizing the "SMACC2". While I am aware that official support for the Foxy distribution has concluded, I am currently working on Ubuntu 20.04 LTS.
To address this, I have successfully built the "foxy" branch of the SMACC2 library from the GitHub repository by following the provided instructions https://github.com/robosoft-ai/SMACC2.
My workspace, located at ~/workspace/foxy_ws, consists of the build, install, and log folders, in addition to the src folder containing the downloaded source files from the aforementioned GitHub page. Now, my objective is to copy or move each package from the install directory to the /opt/foxy directory, ensuring that all the subfolders (i.e., include, lib, share) are correctly distributed within the /opt/foxy directory.
Here is the current structure of my workspace:
user@user:~/workspace/foxy_ws$ ls
build  install  log  src

and install includes:
user@user:~/workspace/foxy_ws/install$ ls -l

... COLCON_IGNORE
... local_setup.bash
... local_setup.ps1
... local_setup.sh
... _local_setup_util_ps1.py
... _local_setup_util_sh.py
... local_setup.zsh
... ros_timer_client
... setup.bash
... setup.ps1
... setup.sh
... setup.zsh
... smacc2
... smacc2_msgs
... sm_atomic
... sm_atomic_mode_states

I am uncertain about how to incorporate packages such as ros_timer_client, smacc2, smacc2_msgs, sm_atomic, and sm_atomic_mode_states into any workspace without being confined to ~/workspace/foxy_ws in my implementations.
If anyone has encountered a similar question or has insights into this matter, I would greatly appreciate your guidance. I have conducted a search on internet but have not found a satisfactory answer.
Thank you in advance.
I have tried to run the following command in the ~/workspace/foxy_ws
sudo colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --install-base /opt/foxy
and it destroyed the destroy the integrity of ros2 framework. I could not run the fundamental ros2 run commands after that.
┆Issue is synchronized with this Jira Task by Unito

Generally, the /opt/ros/foxy directory is reserved for packages installed from Debian repositories. Directly copying or modifying files in /opt/ros/foxy is not standard practice and can lead to complications.
For your specific situation, consider these two alternatives:

Overlapping Workspaces: You can source multiple workspaces sequentially in your bash terminal. This approach is useful if you're working with distinct sets of packages, like SMACC and Foxy. By sourcing the setup.bash of each workspace, you effectively overlap them, which allows you to access packages from both. This way, you can load as many workspaces as needed without altering the system's ROS installation. The command would be:

source /path/to/workspace1/install/setup.bash
source /path/to/workspace2/install/setup.bash

Building Foxy from Source: Another approach is to build ROS Foxy from source and include the SMACC2 repository within your ROS base workspace. This method creates a complete Foxy workspace containing all the necessary packages, including SMACC2. This approach is more holistic and maintains a clear separation from the system-installed ROS.

However, if you have a specific reason to directly extend or override the contents of /opt/ros/foxy (which is unusual or simply incorrect), you can do so by using Colcon's --install-base option. The command would be:
bash
colcon build --install-base /opt/ros/foxy

Be aware that this might require changing the write permissions of the /opt/ros/foxy folder, which involves administrative privileges and should be done cautiously.

Dear Pablo,
Thank you for your prompt and explanatory response. You have written a well-documented implementation that is  a means to an end.


add endpoint for Ripple ledger mocks

Create new currency endpoint to generate x Ripple (XDP) ledgers currencies/digital-coins/ripple/ledgers-list/{qty}
Based on response object from Validated Ledgers: https://xrpscan.com/
Added as part of #14

hey @ageddesi , just wanted to give you a quick ping and let you know this is good to go :)

Hey @cweave Amazing work thank you 👍 Happy Hacktoberfest


Add eslint-plugin-jest and rename all test files as *.test.js

Fixes #1337
Reviewing commit by commit should make it easier to read since I renamed many files in the last commit

error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=10". Got "8.17.0"

I say we just get rid of Node 8 in our CI

error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=10". Got "8.17.0"

I say we just get rid of Node 8 in our CI

agreed :)


Resolve Andreas Küfer author pull

Andreas's byline doesn't appear on the page. I'm assuming it's because the author page isn't recognized for the special character in the title.
article: https://main--design-website--adobe.hlx3.page/stories/leading-design/its-an-interview-not-an-interrogation

The Helix team might be interested in hearing about this one. I'm not sure if this is a known issue, @davidnuescheler .

Here's where I'm grabbing and displaying the author data.

@pfulton - Can I have you pull Andreas's name from the file and not the metadata here? If so, this can be resolved by removing the special character from the file name/metadata, but keeping it in the page header.

.


Initialize SDK before RN

What does this PR do?
Enables users to initialize the SDK from the native layer before RN has started.
The steps to enable this would be the following.
Configuration
Create a datadog-configuration.json file at the root of the react-native project with the following structure:
{
  "$schema"<EMAIL_ADDRESS>  "configuration": {
  }
}

Thanks to the "$schema" attribute most modern IDEs will show errors if the configuration is incomplete or invalid and add autocompletion:

iOS

Add to the AppDelegate.mm file:

// Add this import
#import "DdSdk.h"

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    [DdSdk initFromNative];
    // rest of the function
}

Add the configuration JSON file to your project Resources.

Android

Add to the MainApplication.kt file:

import com.datadog.reactnative.DdSdkNativeInitialization

class MainApplication : Application(), ReactApplication {
  override fun onCreate() {
    super.onCreate()
    DdSdkNativeInitialization.initFromNative(this.applicationContext)
    // Rest of the method
  }
}

Add to the android/app/build.gradle file:

apply from<EMAIL_ADDRESS>
This script will copy the configuration file to your build assets directory (I've checked and this works even if the assets dir does not exist yet).
JS
Change the Datadog initialization to read from the same file to ensure consistency.
const configuration  = new FileBasedConfiguration(require("./datadog-configuration.json"))

<DatadogProvider configuration={configuration}>
  // Rest of the app
</DatadogProvider>

Motivation
Enable users to catch crashes before RN is initialized.
Additional Notes
Monorepo should work out of the box:

on iOS when you add the configuration file to the Resources it is added at the top of the resources, no matter where it is located
on RN you can specify whichever path thanks to the require pattern
on Android you can specify where to get the file to copy by adding

project.ext.datadog = [
    configurationFilePath: "../../../datadog-configuration.json"
]

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
[ ] If this PR is auto-generated, please make sure also to manually update the code related to the change

What is the recommended best practice for handling multiple environments with this implementation?

I'm also getting the following console error:
 ERROR  Failed to parse the Datadog configuration file you provided.
Your configuration must validate the<EMAIL_ADDRESS>JSON schema.
You can use VSCode to check your configuration by adding the following line to your JSON file:
{
    "$schema"<EMAIL_ADDRESS>}

my configuration:
{
    "$schema"<EMAIL_ADDRESS>    "configuration": {
     "applicationId": "xxx",
     "clientToken": "xxx",
     "env": "production",
     "site": "US1",
     "service": "xxx",
     "nativeCrashReportEnabled": true,
     "resourceTracingSamplingRate": 80,
     "trackInteractions": true,
     "trackResources": true,
     "useDatadogLogs": true,
     "useDatadogTraces": true,
     "useDatadogBreadcrumbs": true,
     "enableDatadogSampling": true,
     "datadogSamplingRate": 100,
     "datadogSamplingRatePerService": {
       "xxx": 100
     }
    }
  }

and at the provider:
  const DDConfig = new FileBasedConfiguration(
    require('../datadog-configuration.json'),
  );

  return (
      <DatadogProvider configuration={prodDDConfig}>

There is currently a bug in the logic: resolveJSONConfiguration expects { clientToken: ... } value but the check validates { configuration: { clientToken: ... }}.
As a temporary hack you could do: new FileBasedConfiguration({ configuration: require("../datadog-configuration.json") })

@ddiachkov yep that works, thank you


Fix typo

Changes are only in docs/comments.
Is someone able to resolve this Travis CI build fails?

Thanks @minho42


KAFKA-14386: Change ReplicaPlacer place method to return a class instead of a list of list of integers

JIRA
https://issues.apache.org/jira/browse/KAFKA-14386
Summary
This changes the ReplicaPlacer interface to return a class instead of a list of list of integers. There are two reasons for the suggestion. First, as mentioned in the JIRA, it will make the interface, arguably, a bit more readable and understandable by explicitly modeling the idea of topic and partition. Second and more importantly, it makes the interface more extendable in the future. Right now it would be challenging to add more metadata to the response. By having classes, we can easily add fields to them without breaking/changing the interface. For example, in the CreatePartitions RPC we are adding partitions to an existing topic and we might want to add some metadata to response making it clear which partition the assignment starts at which could look something like:
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Thanks for the changes @andymg3 .
Should we also improve the PartitionRegistration type to use a PartitionAssignment instead of int[] replicas?

Thanks for the review @jsancio. As of now I dont see much benefit in changing that type. In PartitionRegistration we also have []int isr, int[] removingReplicas, and int[] addingReplicas. I'm included to leave replicas as is for consistency - I think it reads a bit better when they're all the same type. They're often processed at the same time as well, so having to deal with both types may be a bit cumbersome. There are quite a few places in the codebase that use the replicas field and in practice if we were to use PartitionAssignment  all callers would mostly just call PartitionAssignment.replicas() anyways. So overall I don't see much benefit in introducing the type.
What do you think?


Error when using a self closing script tag

With the following document:
---
---


feat: Added Bangla Translations

Description
This PR will introduce the required translation in Bengali
Fixes #236
Type of change

[ ] Bug fix (added a non-breaking change which fixes an issue)
[x] New feature (added a non-breaking change which adds functionality)
[ ] Updated documentation (updated the readme, templates, or other repo files)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

[x] Tested locally with a valid username
[x] Tested locally with an invalid username
[x] Ran tests with composer test
[ ] Added or updated test cases to test new features

Checklist:

[x] I have checked to make sure no other pull requests are open for this issue
[x] The code is properly formatted and is consistent with the existing code style
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Screenshots

Looks great! :+1:
Could you edit the file in your branch to move bn above da so it will be in alphabetical order?

Also here is a preview with the locale if you can verify it looks correct:
Preview

@DenverCoder1 looks fine, it would be better if the font is bigger, else looks okey.

@DenverCoder1 looks fine. It would be better if the font was bigger, else looks fine.


What is the bar for something being added to Flutter's Runtime?

My experience is it's a relatively high-bar to add something to Flutter's runtime.
There is a disk-size impact.
There is an argument about things being in the core being less extensible/replaceable than things not.
@Hixie and I definitely have biases here.  I'm just not sure if we've written them down anywhere.  @cbracken might know?

One thing to write down for example, would be the binary size constraints imposed by Instant Apps, or @goderbauer's current work to reduce our APK/IPA sizes in https://github.com/flutter/flutter/issues/16833.

@eseidelGoogle Not sure what this is asking for, but maybe https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#philosophy answers this now? I'm going to close this bug since it's not really actionable.


CrystalDiskInfo: Very slow download speed

Bug Report
Package Name: CrystalDiskInfo
Current Behaviour
Downloads at 20kb/s
Expected Behaviour
Downloads at at least 1MB/s to make the download experience good enough.
Additional context/output
Compared to any other app, this app specifically takes forever to download.
Possible Solution
I noticed that the source for CrystalDiskMark is hosting CrystalDiskInfo as well and seems to have a comparable storage structure.
Simply replacing "Mark" with "Info" in the URL I could confirm this; https://free.nchc.org.tw/osdn/crystaldiskinfo/
Looking at the two manifests, it's possible that the same structure for autoupdate and URLs could be used to solve the problem.
System details
Windows version: 11
OS architecture: 64bit
PowerShell version: 7.2.1
Additional software:
Scoop Configuration
{
"MSIEXTRACT_USE_LESSMSI": true,
"SCOOP_REPO": "https://github.com/Ash258/Scoop-Core",
"SCOOP_BRANCH": "main",
"lastupdate": "258|2022-02-06 09:19:48"
}

Please make a PR!


Implant AV and EDR evasion

Make the implant sneaky :avocado:

One suggestion would be doing process injection. Currently you are dropping a binary onto the windows machine and you can see the implant.exe process running in Task Explorer. Spawning the process under a different task to cover tracks would be a good AV option.


Apollo Legacy version gradle issue after upgrading gradle version to 7.2

Question
1: Task failed with an exception.

What went wrong:
Some problems were found with the configuration of task ':app:generateDebugApolloClasses' (type 'ApolloExperimentalCodegenTask').

In plugin 'com.apollographql.android' type 'com.apollographql.apollo.gradle.ApolloExperimentalCodegenTask' property 'generateKotlinModels' of mutable type 'org.gradle.api.provider.Property' is writable.
Reason: Properties of type 'org.gradle.api.provider.Property' are already mutable.
Possible solution: Remove the 'setGenerateKotlinModels' method.
Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#mutable_type_with_setter for more details about this problem.

In plugin 'com.apollographql.android' type 'com.apollographql.apollo.gradle.ApolloExperimentalCodegenTask' property 'generateModelBuilder' of mutable type 'org.gradle.api.provider.Property' is writable.
Reason: Properties of type 'org.gradle.api.provider.Property' are already mutable.
Possible solution: Remove the 'setGenerateModelBuilder' method.
Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#mutable_type_with_setter for more details about this problem.

In plugin 'com.apollographql.android' type 'com.apollographql.apollo.gradle.ApolloExperimentalCodegenTask' property 'generateVisitorForPolymorphicDatatypes' of mutable type 'org.gradle.api.provider.Property' is writable.
Reason: Properties of type 'org.gradle.api.provider.Property' are already mutable.
Possible solution: Remove the 'setGenerateVisitorForPolymorphicDatatypes' method.

Thanks for opening this. Looks like you are quite on some old version. Can you try with 2.5.14?


bump to dbt version 1.4.6

bump to dbt-core version 1.4.6

dbt-postgres 1.4.6
dbt-redshift 1.4.0
dbt-bigquery 1.4.3
dbt-snowflake 1.4.2
dbt spark 1.4.1

closes #48

Thank you for the PR. I added a couple of minor updates in #51


Tabula on academic transcript

I tried auto and manual selection of fields on an academic transcript and was returned this output from two different windows machines running windows 10:
6XEMHFW &RXUVH /HYHO 7LWOH ,*UDGH ,&UHGLW +RXUV,"",4XDOLW\3RLQWV ,"",5
*%6 ,*5 ,%DVLF %LRFKHP 0HWDEROLVP ,$
*%6 ,*5 ,"%DVLF *HQHWLFV 0ROH %,R ",$
*%6 ,*5 ,",QWUR WR 1HXURELR ",$
*%6 ,*5 ,1HXURVFLHQFH +LVWRULFDO /LW -& ,$
*%6 ,*5 ,/DE 5RWDWLRQ ,$
"",$WWHPSW +RXUV 3DVVHG +RXUV,"",(DUQHG +RXUV,"",*3$+RXUV,4XDOLW\3RLQWV ,"",*3$
&XUUHQW 7HUP,"","","","","","","",""
&XPXODWLYH,"","","","","","","",""
7HUP 6SULQJ 7HUP,"","","","","","","","",""
0DMRU 1HXURVFLHQFH,"","","","","","","","",""
$FDGHPLF 6WDQGLQJ *RRG 6WDQGLQJ,"","","","","","","","",""
6XEMHFW &RXUVH /HYHO 7LWOH ,"","","",*UDGH &UHGLW +RXUV,"","",4XDOLW\3RLQWV ,"",5
*%6 *5 'HYHORSPHQWDO 1HXURVFL ,"","","",$,"","","","",""
*%6 *5 *UDG 1HXURVFLHQFH ,"","","",%,"","","","",""
*%6 *5 'LV RI 1HUY 6\V ,"","","",:,"","","","",""
*%6 *5 *UDG 1HXUR 'LVFXVVLRQ ,"","","",$,"","","","",""
*%6 5 /DE 5RWDWLRQ ,"","","",$ ,"","","","",$
"",$WWHPSW +RXUV 3DVVHG +RXUV3$ +RXUV 4XDOLW,(DUQHG +RXUV,"",3RLQWV ,"","",*3$,"",""
&XUUHQW 7HUP,"","","","","","","","",""
&XPXODWLYH,"","","","","","","","",""
7HUP 6XPPHU 7HUP,"","","","","","",""
0DMRU 1HXURVFLHQFH,"","","","","","",""
$FDGHPLF 6WDQGLQJ *RRG 6WDQGLQJ,"","","","","","",""
6XEMHFW &RXUVH /HYHO 7LWOH ,"",*UDGH ,&UHGLW +RXUV,"",4XDOLW\3RLQWV ,"",5
*%6 *5 3ULQFLSOHV RI &HOO 1HXURVFL ,"",$,"","","","",""
*%6 *5 1HXUR 6WXGHQW 6XPPHU 6HPLQDUV ,"",:,"","","","",""
*%6 ,*5 ,/DE 5RWDWLRQ ,"","",:,"",""
*%6 ,*5 ,/DE 5RWDWLRQ ,"","",:,"",""
*%6 ,5 ,1RQ GLVVHUWDWLRQ 5HVHDUFK ,"","",:,"",""
"","",$WWHPSW +RXUV 3DVVHG +RXUV3$ +RXUV 4XDOLW,(DUQHG +RXUV,"",3RLQWV ,"",*3$
&XUUHQW 7HUP,"","","","","","",""
&XPXODWLYH,"","","","","","",""
7HUP )DOO 7HUP,"","","","","","","","","",""
0DMRU 1HXURVFLHQFH,"","","","","","","","","",""
$FDGHPLF 6WDQGLQJ *RRG 6WDQGLQJ,"","","","","","","","","",""
6XEMHFW &RXUVH /HYHO 7LWOH ,"","","","",*UDGH ,&UHGLW +RXUV,"",4XDOLW\3RLQWV ,"",5
*%6 *5 /DE 5RWDWLRQ ,"","","","",$ ,"","","","",","
*%6 *5 1RQ GLVVHUWDWLRQ 5HVHDUFK ,"","","","",3,"","","","",""
"",$WWHPSW +RXUV 3DVVHG +RXUV,"",(DUQHG +RXUV,"",*3$+RXUV,4XDOLW\3RLQWV ,"",*3$,"",""
&XUUHQW 7HUP,"","","","","","","","","",""
&XPXODWLYH,"","","","","","","","","",""
"75$16&5,37 727$/6 *5$'8$7( 7RS","","","","",""
(YHQWV $GPLW UDG,"","","","",""
6FKRRO,"","","","",""
/HYHO &RPPHQWV 1RUWK &DUROLQD 6WDWH 8QLYHUVLW\ %6,"","","","",""
$WWHPSW +RXUV 3DVVHG +RXUV ,"",+RXUV3$ +RXUV 4XDOLW(DUQHG ,3RLQWV ,"",*3$
"7RWDO ,QVWLWXWLRQ","","","","",""
7RWDO 7UDQVIHU,"","","","",""
2YHUDOO,"","","","",""
6XEMHFW,&RXUVH,/HYHO,7LWOH,&UHGLW +RXUV,""
I'm not sure if the issue is resolution of the pdf (it was a print screen).
I'm testing out tabula to see if it will work to extract information from police incident reports which are electronic forms in a lattice format. There are tables within tables, check boxes, and narrative text within approximately 200 fields. I have thousands of reports in this same format. Would tabula be able to save a template of the form and then align/apply it serially to multiple files of the same format? Can you suggest how to serially extract data from thousands of pdf's into csv tables?
My goal, once in csv, is to convert the files into RDF/XML using the Apache Any23 core distribution for linux. I'll then write RDFS and OWL documents linking all of the data and build a semantic database. Ultimately, I aim to construct a RESTful web interface that allows public access to these incident reports.
First though, I've got to get the data out of the fill forms. Any advice would be greatly appreciated!
Best,
Christian

For the transcript, please try the Beta version we released last week. The extraction engine has been rewritten and will probably fix this problem.
For the police reports, our templating workflow leaves a lot to be desired. Improving it is definitely on the wishlist, but it hasn't been done yet. What you CAN do is make a selection on one archetypal PDF and export it as a tabula-extractor script. You can then use the command-line app, tabula-java, to extract each of your 1000s of PDFs to CSV using that tabula-java script.
Because the layout of these police reports is probably complicated, you may need to do some trial and error on the table layouts -- and I don't think we handle checkboxes at all.
Happy to help if you have more questions.

Jeremy,
I was actually just downloading the tabula-java jar. Thank you for your reply! I have a higher resolution pdf now and the extractor is working great! I just need to do some tweaking with the fields before exporting the script.
Perhaps, for the check boxes, if they are marked with an "X" then the extract can pull that out? I can find a way to work with that. Right now I'm just practicing on a blank report, but I hope to get my hands on some completed reports soon! I'll let you all know how it turns out.
Best,
Christian T. Stackhouse | Graduate Student
GBS Neuroscience Theme
Department of Neurosurgery
Department of Radiation Oncology
UAB | The University of Alabama at Birmingham
Hazelrig-Salter Radiation Oncology Center | 1700 6th Ave S | Birmingham, AL 35233
M:<PHONE_NUMBER> |<EMAIL_ADDRESS>|<EMAIL_ADDRESS>|<EMAIL_ADDRESS>uab.eduhttp://uab.edu/
Knowledge that will change your world

From: Jeremy B. Merrill<EMAIL_ADDRESS>Sent: Wednesday, April 6, 2016 10:20 AM
To: tabulapdf/tabula
Cc: Christian T Stackhouse (Campus)
Subject: Re: [tabulapdf/tabula] Tabula on academic transcript (#482)
For the transcript, please try the Beta version we released last week. The extraction engine has been rewritten and will probably fix this problem.
For the police reports, our templating workflow leaves a lot to be desired. Improving it is definitely on the wishlist, but it hasn't been done yet. What you CAN do is make a selection on one archetypal PDF and export it as a tabula-extractor script. You can then use the command-line app, tabula-java, to extract each of your 1000s of PDFs to CSV using that tabula-java script.
Because the layout of these police reports is probably complicated, you may need to do some trial and error on the table layouts -- and I don't think we handle checkboxes at all.
Happy to help if you have more questions.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/tabulapdf/tabula/issues/482#issuecomment-206424459

Hi Christian,
I'm honestly not sure about the checkboxes; Tabula focuses on reconstructing tabular data from PDFs, so we haven't put in much effort towards extracting non-tabular data. I suspect they won't work, but I suppose you can give it a shot and see. (And let us know if they do.)

@ctstackh Let us know what you find with the checkboxes. Feel free to reopen if there are more issues.


StackLLaMA: correctly merge peft model

fixes #368 #386 #297 and partially #327
correctly merge weights with peft's merge_and_unload
if merging a reward model, load sequence classification
Note that trl-lib/llama-7b-se-rm-peft does not contain the score weight so I will release my own pretrained reward model adapter weights

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Done!


Greykite suitable for pure linear increasing series?

Hello
I'm working in some house price time series using Greykite but for some reason, the forecast I got is just a median price between upper and lower (ARIMA),  so is this known issue with Greykite when we have a pure linear increasing series?
Thank you
Aktham Momani

Data frequency is monthly so I used freq="MS" as showing below:
Please let me know if additional information is needed.
specify dataset information
metadata = MetadataParam(
time_col="ts",  # name of the time column
value_col="y",  # name of the value column
freq="MS"   #"MS" for Monthly at start date, "H" for hourly, "D" for daily, "W" for weekly, etc.
)
Creates forecasts and stores the result
forecaster = Forecaster()
result is also stored as forecaster.forecast_result.
result = forecaster.run_forecast_config(
df=df,
config=ForecastConfig(
model_template=ModelTemplateEnum.SILVERKITE.name,
forecast_horizon=12,  # forecasts 12 steps ahead
coverage=0.95,           # 95% prediction intervals
metadata_param=metadata
)
)
snapshot of the data used:
ts    datetime64[ns]
y     float64
ts	                  y

0	2012-02-01	390000.0
1	2012-03-01	400000.0
2	2012-04-01	410000.0
3	2012-05-01	438000.0
4	2012-06-01	470000.0
...	...	...
106	2020-12-01	1030000.0
107	2021-01-01	1050000.0
108	2021-02-01	1085000.0
109	2021-03-01	1095000.0
110	2021-04-01	1125000.0
Regards,
Aktham

@akthammomani Silverkite tries to automatically introduce some amount of seasonality to the model. However, it is probably redundant for your use case. You can try to:

Tune the seasonality (maybe even turn those off). Example here: https://github.com/linkedin/greykite/blob/master/docs/nbpages/tutorials/0100_forecast_tutorial.py (line 446)
Use a different template e.g. SILVERKITE_WEEKLY. It was tuned for weekly data, however might produce a better model than SILVERKITE. More details here: https://github.com/linkedin/greykite/blob/master/docs/pages/stepbystep/0200_choose_template.rst

Both of the suggestions, results same initial forecast, as shown below:

@akthammomani Can you try using SILVERKITE_EMPTY template with C(month) as a regressor, ct1 as growth, and autoregression with "auto" or lag 1

Close this issue as this thread has been inactive for many days.


Undefined index: icon

AdminLTE version: 1.23
Laravel version: 5.7.28

I solved it publishing the package views and swapping
$item['icon'] or 'circle-o'

with
isset($item['icon'] ? $item['icon'] : 'circle-o'

Feels weird since the first one is a blade shorthand to the second.
Related to #47 and #246

Hi @mateusjunges ,
it was fixed in version 1.24.1.

Ok, thanks. I'll upgrade the package.


Improve handling of spacy dependency & fix audio-transcriptions demo

Improves handling of spacy dependency by "inlining" the model download in env.py, removing the need to specify the model as a separate dependency. Fixes the audio-transcriptions demo by adding spacy as a separate dependency.
TESTING DONE: ran the audio-transcriptions demo (1) on colab, and (2) locally in a clean conda environment, verifying that the dependencies are installed correctly.

This change is


Add pv plotting diagrams

We don't have any documentation on how to show PV diagram figures.
Super short version is:
   pvfits = fits.open('extracted_pv.fits')
   ww = wcs.WCS(pvfits[0].header)
   ax = pl.subplot(111, projection=ww)

but there's a lot of subtlety in how to make it look good and change units etc.

https://docs.astropy.org/en/stable/visualization/wcsaxes/controlling_axes.html is part of the answer, https://github.com/radio-astro-tools/tutorials/blob/6810376c0353f0bdf3be2b9b7231c388e886adba/PVDiagramPlotting.ipynb is another part

also https://docs.astropy.org/en/stable/visualization/wcsaxes/slicing_datacubes.html

closed by #102


Does compressToUint8Array() output smaller than compress() ?

I want to compress the http request body and transfer less size. which one is better to do that? Thanks!

They'll make identical size as they're both binary - the difference will purely be in the code needed to send them - internally JS might treat them slightly differently, but that's not something you should worry about (and if you did packet sniffing they'd give you identical data)


Remove 'padding' and add in hash lengths

Section 9.4.5:
When generating hashes, the current specifications provide the hash and optional padding.
For example:
[cbor]
[hash field='Item 1: name' value='jumbf manifest'/]
[hash field='Item 2: alg' value='sha256'/]
[hash field='Item 3: hash' value='0x626e581febcad8fc3b44e65f565ab8d7d1f64e97883fe9be2c106b085c3d96f6' length='32'/]
[hash field='Item 4: pad' value='0x20202020202020' length='7'/]
[/cbor]
While some hashes, like sha256, are fixed-length, other hashes (e.g., cert-based signatures) may be variable length.
The 'pad' field is supposed to provide room for a variable-length hash.
The problem is that the pad is both optional and variable.
I propose changing the optional 'pad' field to an optional 'hash-length' field.
[cbor]
[hash field='Item 1: name' value='jumbf manifest'/]
[hash field='Item 2: alg' value='sha256'/]
[hash field='Item 3: hash' value='0x626e581febcad8fc3b44e65f565ab8d7d1f64e97883fe9be2c106b085c3d96f6' length='32'/]
[hash field='Item 4: hash-length' value='32'/]
[/cbor]
If the hash-length is not defined, then the hash's value is assumed to consume the entire length of the hash item. (In this example, without item 4, the hash is assumed to be the full 32 bytes specified by item 3.)
For a variable-length hash, the hash item (item 3) can have a much longer length. In effect, the hash field includes all of it's padding. All unused padding bytes must be at the end of the hash's allocated space (end of item 3) and all padding bytes must have the value of 0x00 or 0x20. (No uninitialized memory. For binary, use 0x00. For text, use 0x20 [space].)  The added "hash-length" item (item 4) identifies the number of used bytes in the variable-length hash (item 3).
This change:

Permits removing optional and unverified pad space. (Document 9.4.5 says that the pad space is not validated.)
Supports variable-length hashes with verifiable padding. (Any padding is identified and must be initialized correctly.)
Does not limit the padding to 16 bytes (as recommended in section 9.4.2). In particular, some hash algorithms may require more variability than 16 bytes. (E.g., PGP signatures.)

Hi @hackerfactor
We introduced padding in in some structures/maps for a reason unrelated to the size of the hash field.  Specifically, the size of some fields are not known when you start to create the manifest.  We thought it made things a bit easier for claim creators if they could “go back and fill in” when more of the manifest is known.  The padding allows a claim creator to leave enough space for the variable length fields.  (There are other ways of creating the manifest and embedding it in an asset, but the padding field allows single-pass and memory-efficient algorithms.)
So the padding size recommended in 9.4.2 is unrelated to hashing: it is simply that the data-hash-map that contains the padding also contains two or more CBOR-encoded ints, and depending on the value of the encoded integers, the encoded length of these fields may be 1, 2, 3, 4… bytes.  The recommended length is just a hint to reduce the likelihood that the claim creator doesn’t leave enough space and has to start again.   Of course, if a future version of the spec included variable/unpredictable length hashes (and the hashes aren’t know when the map is first instantiated) then the claim creator could leave a bit more space for that purpose as well.
Onto your main points about hashing:
The CBOR encoding of byte arrays (as well as JSON, and every other potential future encoding that we have considered) explicitly includes the length.  So while it would be an error in the v1 of the spec if the length of the hash field did not match the length implicit in the algorithm (“sha256”, “sha384”…) I think that the spec would accommodated future hashes of variable length.
If the hash itself contains one or more variable length fields, the sub-structure of the hash cannot be expressed with a single implicit length field.  If this situation arises in the future, I think I would address this by creating a map for the parts of the digest, and serializing this to the bstr encoded in “hash.”
Please let us know if we missed some subtlety, or if this does not solve the problems you are seeing.
Paul

Hi @paulengland,
Based on your reply, I think I'm linking together a couple of issues.

Padding must be initialized. If it's binary, then use 0x00. If it's string, then use a space (0x20). Uninitialized or incorrectly initialized padding must invalidate the adjacent hash, even if the hash's exclusion list doesn't include the padding.

The reason: Every sha-based and cert-based collision attack today alters unused space (padding) in order to force a collision. (MD5 had content collesions, but so far today, sha256 and larger only have padding collisions.) By forcing the padding to be initialized, it mitigates the risk from unauthenticated padding being used for a hash collision.

The amout of padding must be must be smaller than the hash size.

sha256 requires 32 bytes (binary). The padding can be 0 to 31 bytes.
sha384 requires 48 bytes (binary). The padding can be 0 to 47 bytes.
If there is any more padding, then it can (in theory) be used to force a collision.
NOTE: Technically, these hash algorithms read data in blocks. The amount of padding must not introduce another block. In reality, it can be difficult to count the number of input bytes prior to generating the hash. Limiting the padding to the hash output size is good enough.
The specs simply say no more than 32 bytes. At 32 bytes, it can theoretically force a collision with sha256, and may not be large enough for sha384.
By restricting the padding size, we can introduce one other type of validation: padding size! If there are 40 bytes padding, then the hash had better use sha384 or larger.  If I see 40 bytes padding with sha256, then I know someone changed the hash and hash algorithm.

The padding must be limited to the local scope. Not the global or inherited scope.
In my example, there's a cbor with a hash and pad. The pad is only to be used with that cbor object. If some other, adjacent object requires padding, then it must include it's own padding and not rely on an adjacent data structure to contain the padding.

This restriction serves two purposes: (1) mitigating hash collision attacks, and (2) keeping separate objects separate. There should not be a cross-over functional data dependency between adjacent or non-nested objects.

A few comments @hackerfactor
1a - All padding is defined to use 0x00 bytes and must be initialized/set to something.  However, I will give the spec a once over to make sure this is clearly spelled out in all cases.
1b - Since padding is inside of an assertion, which is hashed in its entirety as part of specifying it in the claim, there is no chance that it can be modified w/o detection.
2 - While I agree that is true that it will probably never be larger, there is no reason to prevent it.  I can't see how it could be used to force a collision.   And as noted in 1b, you can't change the hashing algorithm or result w/o detection.
3 - Completely agree.  I am happy to make that clearer in the spec if you'd like

The solution for this has been included into the upcoming 1.0 specification.

Published.


mask not being applied to vue model on beta

Describe the bug
mask is only being applied when typing. Pasting or applying mask to model doesn't work.

Add a link to a codepen, jsfiddle or other example page which shows the problem
https://jsfiddle.net/adlersd/x8j9o2yq/

OS:
Distributor ID:	Ubuntu
Description:	Ubuntu 19.10
Release:	19.10
Codename:	eoan

Browser
Chromium 78.0.3904.97 snap
Mozilla Firefox 71.0a1
Mozilla Firefox 70.0.1

Inputmask version
5.0.0-beta.302

@adlerdias ,
It has todo with the  positionCaretOnClick: 'select', option.
I will see how to fix this.

thank you fou the fast reply.
you are absolutely right, i updated fiddle with all possible values for the positionCaretOnClick.
is there any place that i can found how to run the tests?

@adlerdias ,
I pushed a fix for the issue.
To run the tests you need to run qunit.html.   Keep the focus on the window while running as otherwise some tests with focus will fail.

@RobinHerbots
First of all thank you about the tests info.
I tested here and unfortunately for none and for select did not work. i've submited the tests as PR.

The fix is in version ...309
Op wo 13 nov. 2019 17:36 schreef Adler Dias<EMAIL_ADDRESS>
@RobinHerbots https://github.com/RobinHerbots
First of all thank you about the tests info.
I tested here and unfortunately for none and for select did not work. i've
submited the tests as PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RobinHerbots/Inputmask/issues/2216?email_source=notifications&email_token=AACNX352Y3UW4Z3BVPKGVILQTQUKLA5CNFSM4JMCVSBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED6X5QY#issuecomment-553483971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACNX36ESYORCD3UOFAFDP3QTQUKLANCNFSM4JMCVSBA
.

@adlerdias,
I will investigate why the initalvalue still fails with these options set.
Thx for the unittest!

@adlerdias ,
Ok, the unittest are working now ;-)
https://jsfiddle.net/wn8630L9/
It would be great if everyone created unittest for each issue.

thank you.
initial value with select is working, but value was not being selected due to a missing break in switch statement, so it was using ignore (next case ), i made a PR with it, still trying to figure a way to add a proper test to it.
if you don't mind i can extract tests from existent issues and submit as PR.


adding my 3 digits

i am fairly green to git, so excuse my for ignorance

i am fairly green to git, so excuse my for ignorance

Looks like your cloning my fork rather than the upstream.  Go straight to YYC Net Lab's repo rather than to mine.


[AutoPR containerservice/resource-manager] Revert "[AKS] add apiServerAuthorizedIPRanges property"

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5150

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/4012


show dependency version info

Not crazy about how it looks, perhaps this should be (^2.2.0) instead of ^2.2.0

@bfred-it what about this style?

I had tried it and didn't like it, but seeing it again actually it's not bad at all. So LGTM

Both are fine with me, but I think I prefer the newer code style.

@zeke sweet! 👍
Changes already in PR.

Now that I'm seeing this in the wild, I don't really feel like seeing the semver range is actually that helpful. The name and description are what really matter. If I want to know the package versions used by a given project, the package.json file is not far away.
I think the version should be removed, or at the very least removed to the end of the description. Anyone else feeling that?

You're not wrong. I wouldn't mind implementing options

@bfred-it are there other things you think should be configurable?
I would prefer to avoid adding user preferences if possible, just to keep things simple.

I can't think of any at the moment. The UI would be almost non-existent though:

My vote: drop the version; add preferences some other day if we ever end up needing them.


Segmentation fault when encoding image

I've encountered a segmentation fault when encoding images with this plugin. I wasn't able to get the original image (the image was generated dynamically, in a Minecraft mod) but I was able to narrow down the error between these lines.
I didn't have the coredump. I've attached a zip file containing relevant logs and the JAR file in question. I extracted libwebp-imageio.so (x86_64 linux) and inspected it with objdump -S ./libwebp-imageio.so to find the relevant offset according to the stack trace:

The offending instruction is moving contents of R13 (which is NULL) into ESI. I'm not entirely sure what this corresponds to in C.
FILE: files.zip

Thank you for the report 🙏 I took a look at the code and unfortunately I personally have no clue what is the root cause of the issue :/
We all would appreciate If someone shared any idea how the native code should be improved + ideally be able to reproduce the issue in test environment, so it doesn't happen in the future 🤞

I can provide a bit more info, currently writing a java port of https://github.com/getmango/Mango and encountering the JVM crash after some time while generating thumbnails. Restarting the process it then passes without crash, so it's not something about the content I assume.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff89f5513fc, pid=7204, tid=19636
#
# JRE version: OpenJDK Runtime Environment Temurin-21.0.1+12 (21.0.1+12) (build 21.0.1+12-LTS)
# Java VM: OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (21.0.1+12-LTS, mixed mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# C  [webp-imageio-0.7.0-3b43839f-9d4f-4f33-92bb-ed2f05d0d46b-webp-imageio.dll+0x13fc]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

Command Line: -XX:TieredStopAtLevel=1 dev.tr7zw.mango2j.Mango2jApplication

Host: AMD Ryzen 5 5600X 6-Core Processor             , 12 cores, 31G,  Windows 11 , 64 bit Build 22621 (10.0.22621.3430)
Time: Wed Apr 10 01:06:14 2024 Mitteleurop�ische Sommerzeit elapsed time: 105.686384 seconds (0d 0h 1m 45s)

---------------  T H R E A D  ---------------

Current thread (0x00000231eaf2ccd0):  JavaThread "task-1"           [_thread_in_native, id=19636, stack(0x000000454da00000,0x000000454db00000) (1024K)]

Stack: [0x000000454da00000,0x000000454db00000],  sp=0x000000454dafe370,  free space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [webp-imageio-0.7.0-3b43839f-9d4f-4f33-92bb-ed2f05d0d46b-webp-imageio.dll+0x13fc]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 10785  com.luciad.imageio.webp.WebP.encodeRGB(J[BIII)[B (0 bytes) @ 0x00000231d42a17c0 [0x00000231d42a1740+0x0000000000000080]
J 10999 c1 com.luciad.imageio.webp.WebPWriter$Companion.encode(Lcom/luciad/imageio/webp/WebPEncoderOptions;Ljava/awt/image/RenderedImage;)[B (122 bytes) @ 0x00000231d405f05c [0x00000231d405e880+0x00000000000007dc]
J 10996 c1 com.luciad.imageio.webp.WebPWriter.write(Ljavax/imageio/metadata/IIOMetadata;Ljavax/imageio/IIOImage;Ljavax/imageio/ImageWriteParam;)V (90 bytes) @ 0x00000231d42d4114 [0x00000231d42d3c60+0x00000000000004b4]
J 10782 c1 dev.tr7zw.mango2j.util.WebpUtil.writeAsWebp(Ljavax/imageio/stream/ImageOutputStream;Ljava/awt/image/BufferedImage;)V (156 bytes) @ 0x00000231d40db0a4 [0x00000231d40dae40+0x0000000000000264]
j  dev.tr7zw.mango2j.jobs.ThumbnailGenerator.processChapters()V+148
j  dev.tr7zw.mango2j.jobs.ThumbnailGenerator.executeLongRunningTask()V+33
j  java.lang.invoke.LambdaForm$DMH+0x000002318121c400.invokeVirtual(Ljava/lang/Object;Ljava/lang/Object;)V+10<EMAIL_ADDRESS>j  java.lang.invoke.LambdaForm$MH+0x00000231817c0400.invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+31<EMAIL_ADDRESS>J 4185 c1 jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object<EMAIL_ADDRESS>(92 bytes) @ 0x00000231d465ebac [0x00000231d465e820+0x000000000000038c]
J 4189 c1 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object<EMAIL_ADDRESS>(108 bytes) @ 0x00000231d46614e4 [0x00000231d4661300+0x00000000000001e4]
j  org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+23
j  org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint()Ljava/lang/Object;+12
j  org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()Ljava/lang/Object;+19
j  org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed()Ljava/lang/Object;+1
j  org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(Lorg/aopalliance/intercept/MethodInvocation;Ljava/lang/reflect/Method;)Ljava/lang/Object;+1
j  org.springframework.aop.interceptor.AsyncExecutionInterceptor$$Lambda+0x00000231819b6528.call()Ljava/lang/Object;+12
j  java.util.concurrent.FutureTask.run()V+39<EMAIL_ADDRESS>j  java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+92<EMAIL_ADDRESS>j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5<EMAIL_ADDRESS>j  java.lang.Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V+5<EMAIL_ADDRESS>j  java.lang.Thread.run()V+19<EMAIL_ADDRESS>v  ~StubRoutines::call_stub 0x00000231d3d0100d

siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x0000000000000000

...
[MachCode]
[Entry Point]
  # {method} {0x00000231e7c98af8} 'encodeRGB' '(J[BIII)[B' in 'com/luciad/imageio/webp/WebP'
  # parm0:    rdx:rdx   = long
  # parm1:    r8:r8     = '[B'
  # parm2:    r9        = int
  # parm3:    rdi       = int
  # parm4:    rsi       = int
  #           [sp+0x90]  (sp of caller)
  0x00000231d42a1740: 448b 5208 | 49bb 0000 | 0080 3102 | 0000 4d03 | d349 3bc2 | 0f84 0600

  0x00000231d42a1758: ;   {runtime_call ic_miss_stub}
  0x00000231d42a1758: 0000 e921 | d0aa ff90

Could it be that the wrapper can't handle empty buffers?

Hm, running the program in a docker eclipse-temurin:18-jre-alpine container on a linux server with the same data doesn't show the same crash behavior, so possible that the crash I was experiencing is an issue with the windows dll.
Scratch that, also happening on Linux
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f4b1ef698d5, pid=1, tid=60
#
# JRE version: OpenJDK Runtime Environment Temurin-<IP_ADDRESS>+1 (<IP_ADDRESS>+1) (build <IP_ADDRESS>+1)
# Java VM: OpenJDK 64-Bit Server VM Temurin-<IP_ADDRESS>+1 (<IP_ADDRESS>+1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [webp-imageio-0.7.0-9cdd8db6-9565-4436-80f2-45d896798a6d-libwebp-imageio.so+0x48d5]  _init+0x4dd
#
# Core dump will be written. Default location: /workspace/core
#
# An error report file with more information is saved as:
# /workspace/hs_err_pid1.log
#

If this is any help for tracking the bug: I can still reproduce it with version 0.8.0.
My first impression was that the segfault happens when there are multiple threads doing a WebP write in parallel. However it still occurs after I made sure there is only one conversion thread in my service.
The segfaults seem to happen randomly. The same data that lead to a crash, just works fine on the next attempt.

How does this segfault manifest in the Java/Kotlin code? Does it get caught and throw an exception, fail silently to write, or crash the JVM?

If this is any help for tracking the bug: I can still reproduce it with version 0.8.0.
My first impression was that the segfault happens when there are multiple threads doing a WebP write in parallel. However it still occurs after I made sure there is only one conversion thread in my service.
The segfaults seem to happen randomly. The same data that lead to a crash, just works fine on the next attempt.

How does this segfault manifest in the Java/Kotlin code? Does it get caught and throw an exception, fail silently to write, or crash the JVM?


DB not getting saved properly

From @elsirion:

Seems the app doesn't always save the DB? Closed it and lost the last tx in the list. Validated by spending all coins and there being a double spend.

Mostly fixed by #607. The client should also migrate to a more robust DB like rocksdb.

Yup I think we can close. Thanks for fixing this!


chore: [#3518] Remove public access modifier from botbuilder-core

Addresses # 3518
#minor
Description
This PR removes the public access modifier from all constructors, methods and properties for the botbuilder-core folder.

Note: These changes do not include the Typescript Constructor Shorthands (link).

Specific Changes

Removes all public access modifiers from where it's declared under the botbuilder-core folder.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

28 of 28 (100.0%)  changed or added relevant lines in 8 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 84.485%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
19909

Relevant Lines:
22316

💛  - Coveralls


order beneficiaries alphabetically

User got the error:
beneficiaries[i - 1] < beneficiaries[i]: Benficiaries must be specified in sorted order (account ascending)
The beneficiaries should be sorted by name before submitting to the blockchain

My intent was to apply 100% of the rewards to chainbb in order to boost the /f/uglydebates forum level.  Instead, I got the error "Benficiaries must be specified in sorted order (account ascending)."
I belive the problem is this:
[
   0,
   {
      "beneficiaries":[
         {
            "account":"chainbb",
            "weight":300
         },
         {
            "account":"chainbb",
            "weight":9500
         },
         {
            "account":"whatsup",
            "weight":200
         }
      ]
   }
]

Full Error:
https://chainbb.com/f/uglydebate

10 assert_exception: Assert Exception
beneficiaries[i - 1] < beneficiaries[i]: Benficiaries must be specified in sorted order (account ascending)
    {}
    th_a  steem_operations.cpp:116 validate

    {"call.method":"call","call.params":["network_broadcast_api","broadcast_transaction_synchronous",[{"ref_block_num":10113,"ref_block_prefix":1122761616,"expiration":"2018-03-11T18:18:00","operations":[["comment",{"parent_author":"","parent_permlink":"profanity","author":"inertia","permlink":"ceda-was-always-stupid","title":"CEDA Was Always Stupid","body":"
\n
\n    \n
\n
\n\nThings rot, especially when they are not cultivated.  If you build a house, it will immediately start to decay.  It might take 40 years for a well built structure to show signs of damage, but it will happen, eventually.\n\nHigh profile structures typically get more protection from decay.  But if the structure was built structurally unsound and you found it 40 years later in shambles, the state of the structure is not necessarily an indication of the structures around it.\n\nhttps://www.youtube.com/watch?v=wKpXQIf9exA\n*Oklahoma vs Harvard - Debate Highlights; Published by CEDA on Mar 26, 2013*\n\nWatching this cold, I get the impression that the point of these debate championships is to combine cattle auctions with debate club.  But is this a new development, or was CEDA always this stupid?\n\nhttps://www.youtube.com/watch?v=zT8t4liEHwU\n*National Collegiate Debate Championship; Published by CBS on Published on Oct 31, 2006*\n\nHere's the oldest CEDA video I could find (it's 2 hours long, just click around the timeline a bit, like time index `1:17:43`):\n\nhttps://www.youtube.com/watch?v=gMo7VHeoadQ\n*CEDA National Championship Debate 2004; Published by Alfred Snider on Jun 4, 2012*\n\n---\n\nTo me, these debate championships haven't gotten any worse recently.  All that's happened lately is they've added hiphop to the cattle auctions.  The championships have always been stupid.

Originally posted in the /f/uglydebate forum on chainBB.com (learn more).
","json_metadata":"{\"app\":\"chainbb/0.4\",\"namespace\":\"uglydebate\",\"format\":\"markdown+html\",\"tags\":[\"profanity\",\"ceda\",\" academia\",\"decay\"]}"}],["comment_options",{"author":"inertia","permlink":"ceda-was-always-stupid","max_accepted_payout":"1000000.000 SBD","percent_steem_dollars":10000,"allow_votes":true,"allow_curation_rewards":true,"extensions":[[0,{"beneficiaries":[{"account":"chainbb","weight":300},{"account":"chainbb","weight":9500},{"account":"whatsup","weight":200}]}]]}],["custom_json",{"required_auths":[],"required_posting_auths":["inertia"],"id":"chainbb","json":"[\"forum_post\",{\"namespace\":\"uglydebate\",\"author\":\"inertia\",\"permlink\":\"ceda-was-always-stupid\"}]"}]],"extensions":[],"signatures":["1f45ef3994dcccc69de8654672a5006a322c85b3ad00712a7371b91395070f69583d1f743a6982c6414f256ecb13cd756f9fdef6ba7d619402a0758e744035a56d"]}]]}
    th_a  websocket_api.cpp:124 on_message

Yeah - I'm not sure that's possible either, and the error message itself might just be invalid.
I don't think you're allowed to specify the same beneficiary more than once (chainbb in this case). Those two should be merged into a single beneficiary (9800) instead of two (9500 + 300). This could probably be done in the frontend before submitting the post.


k8spacket提示Not Found

一个pod日志如下:

另一个pod日志如下:

URL填的是http://k8spacket.k8spacket.svc.cluster.local:8080/nodegraph
，但是点击test，提示not found 404，请问是什么原因啊？k8spacket和grafana pod都正常运行。Prometheus metrics指标也有结果。

Hi @shendingjun
As is written on the plugin page here: https://grafana.com/grafana/plugins/hamedkarbasi93-nodegraphapi-datasource/ (part Health), the path /api/health is used during the save & test plugin.
Can you check the response on this endpoint using this command:
k -n k8spacket exec -it <<pod_name>> -c k8spacket -- wget -q -O- -S http://<IP_ADDRESS>:6676/nodegraph/api/health

Should be:
  HTTP/1.1 200 OK
  Date: Mon, 27 Feb 2023 09:37:37 GMT
  Content-Length: 0
  Connection: close

Additionally, check if the service was created properly:
k -n k8spacket get svc

Should be:
NAME          TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)      AGE
k8spacket   ClusterIP     some-ip            <none>             8080/TCP   4d15h

原来有些pod初始化失败了，连不上github。这个可以改成初始化失败，就整个pod失败，不要让他继续往下走，这样应该就不会误判？

Hi @shendingjun
As is written on the plugin page here: https://grafana.com/grafana/plugins/hamedkarbasi93-nodegraphapi-datasource/ (part Health), the path /api/health is used during the save & test plugin.
Can you check the response on this endpoint using this command:
k -n k8spacket exec -it <<pod_name>> -c k8spacket -- wget -q -O- -S http://<IP_ADDRESS>:6676/nodegraph/api/health

Should be:
  HTTP/1.1 200 OK
  Date: Mon, 27 Feb 2023 09:37:37 GMT
  Content-Length: 0
  Connection: close

Additionally, check if the service was created properly:
k -n k8spacket get svc

Should be:
NAME          TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)      AGE
k8spacket   ClusterIP     some-ip            <none>             8080/TCP   4d15h

原来有些pod初始化失败了，连不上github。这个可以改成初始化失败，就整个pod失败，不要让他继续往下走，这样应该就不会误判？

Hi @shendingjun
It's a good idea. I will add it in the next version. Thanks for your feedback.


Backlog 36168 7 sep cleancode

:white_check_mark: Build finished in 7m 17s
Build command:
mvn clean verify -B -e -Daudit -amd -pl plugins/repositories/core

:exclamation: No tests found!
:information_source:  This is an automatic message


Cuda support

I've added support for CUDA by using ORT io_bindings. This allows for even faster inference and is capable of both CPU and CUDA inference. The only downside is, that quantized models are slow on cuda. Therefore quantization should be disabled when exporting the model to onnx and using cuda.

Hi @fmaoro, thanks for the PR! Really excited to get GPU support working. I will defer to @Ki6an , but here are my initial thoughts:
From a first glance, it looks like this PR removes onnxruntime as a dependency and replaces it with onnxruntime-gpu. Other changes seem to replace CPU code with GPU code. We actually need to support both. However, I might be wrong here. In the past, you had to install either one of onnxruntime or onnxruntime-gpu but I am not sure if that is still the case. I also do not know how iobinding works.
Other initial thoughts:

I think we would want to use the TRT ExecutionProvider and fall back to the CUDA EP. I believe TRT EP is included in onnxruntime-gpu from pypi now
I believe quantized models are slow on GPU because they don't actually run on GPU; CUDA EP doesn't support quantized models. Quantization via the TRT EP should be possible, see #34 - though it is PTQ and might have a different API than the quantization which we currently do (dynamic)

Thanks again for opening this PR!

@fmaoro  thank you for the PR.
As @sam-writer mentioned, we still need onnxruntime for CPU. And fastT5 is not compatible with torch 1.8.0  so !=1.8.0 is also required.
on the initial run, I'm getting the following error,
Traceback (most recent call last):
  File "test.py", line 17, in <module>
    num_beams=2)
  File "/usr/local/lib/python3.7/dist-packages/torch/autograd/grad_mode.py", line 28, in decorate_context
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/transformers/generation_utils.py", line 1167, in generate
    input_ids, expand_size=num_beams, is_encoder_decoder=self.config.is_encoder_decoder, **model_kwargs
  File "/usr/local/lib/python3.7/dist-packages/transformers/generation_utils.py", line 560, in _expand_inputs_for_generation
    encoder_outputs["last_hidden_state"] = encoder_outputs.last_hidden_state.index_select(
AttributeError: 'OrtValue' object has no attribute 'index_select'

I'm guessing it's because you didn't convert the ortValue to numpy and then to torch tensor  here
https://github.com/fmaoro/fastT5/blob/c36f9c3e2b2912c35d89340fc0c5539a3c269ae2/fastT5/onnx_models.py#L57-L59

@Ki6an @sam-writer @fmaoro i am also facing the same issue.I have tried the solution but unable to get the result.Is there any solution for the issue.
System information

torch              1.7.0
onnx               1.8.0
onnxruntime-gpu    1.6.0
transformers       4.7.0
cuda 10.2


Storage: Add backUpAddressBook(ReadOnlyAddressBook) method

Users are able to back up the address book in a different location.

It looks good!


Fix comparison of contact categories

Output from Graph API appears to have changed when it comes to contacts. Contacts that have been restored to a folder are now returned with a category set that includes the folder the item was placed in. This is throwing off Corso automated tests as we don't account for the folders we create in the categories of contacts

digging around some more, it appears that Microsoft is actually inconsistent about whether nor not it will set the categories slice on an item. Some items seem to get it while others don't. This leads to CI failures because we don't expect it at all


Traffic WebSocket Intermittently Stops Sending Updates

Stratux version:
1.4r5

Stratux config:
SDR

[ ] single
[x ] dual

GPS

[x ] yes
[ ] no
type:

AHRS

[x ] yes
[ ] no

power source:
5v USB power socket AND Anker PowerCore 26800
usb cable:
Anker

EFB app and version: (e.g., WingX Pro7 8.6.2)
StratuxHud, 1.3
EFB platform: (e.g., iOS 9.2)
Stratux 1.4r5 (Custom Image)
EFB hardware: (e.g., iPad Mini 2)
Raspberry Pi 3

Description of your issue:
The StratuxHud implements an ICMP Ping protocol. This sends Ping/Pong requests/responses to the Stratux.

When the software is running on the Stratux unit, after about 10 minutes messages from the WebSocket are no longer received. When the ping is coming from a dedicated unit (separate Raspberry Pi), the websocket stops receiving data after about 20 minutes.
Inspection of the Stratux code shows that receiving a ICMP RESPONSE should keep the client out of sleep mode. The HUD is making sure that a ICMP_ECHO_REPY is being sent, and sends one every two seconds "just to be sure".
Inspection of the Stratux code (I'm not fluent in Go...) looks like a timeout/sleep should happen within 15 seconds.
Additionally, I can not reproduce this behavior "on the ground".

John, I think this is an issue in the websocket library. Can you try writing to the websocket every so often to keep it alive? The content you send doesn't matter, it will be discarded. If that keeps the socket alive indefinitely, it's the same issue as another app integrator had at one time.

To be clear, you are suggesting writing to the same socket that is already open and I am receiving the traffic updates on?

Yes, exactly.


SQS autoinstrumentation links not working

What version of OpenTelemetry are you using?
    "@opentelemetry/api": "^1.7.0",
    "@opentelemetry/auto-instrumentations-node": "^0.40.0",
    "@opentelemetry/exporter-trace-otlp-proto": "^0.45.1",
    "@opentelemetry/sdk-node": "^0.45.1",
    "@opentelemetry/sdk-trace-base": "^1.18.1",
    "@opentelemetry/sdk-trace-node": "^1.18.1",

What version of Node are you using?
v18.16.1
What did you do?
Full example here: https://github.com/ImDevinC/tracing-example
When using the below code sample to read off of an SQS queue, the resulting traces do not have a link to the originating trace. However if I use the sqs-consumer package to read off of the queue, then the traces are properly instrumented with a link to the originating trace.
consume.ts
import { PutObjectCommand, S3Client } from "@aws-sdk/client-s3";
import {
  ReceiveMessageCommand,
  Message,
  SQSClient,
  DeleteMessageCommand,
  GetQueueUrlCommand,
} from "@aws-sdk/client-sqs";
import { SpanStatusCode, trace } from "@opentelemetry/api";

const tracer = trace.getTracer(process.env.SERVICE_NAME!);

const start = async () => {
  return tracer.startActiveSpan("consume", async (span) => {
    try {
      await consume();
    } catch (err: any) {
      console.log(err);
      span.recordException(err);
      span.setStatus({
        code: SpanStatusCode.ERROR,
        message: JSON.stringify(err),
      });
    }
    span.end();
  });
};

const consume = async () => {
  const sqs = new SQSClient({});
  const publishCommand = new ReceiveMessageCommand({
    QueueUrl: process.env.QUEUE_URL,
  });

  let messages: Message[] = [];

  try {
    const response = await sqs.send(publishCommand);
    messages = response.Messages || [];
  } catch (err) {
    throw err;
  }

  if (messages.length == 0) {
    console.log("No messages found");
    return;
  }

  const s3 = new S3Client({});
  for (const message of messages) {
    console.log(JSON.stringify(message));
    const putCommand = new PutObjectCommand({
      Bucket: process.env.BUCKET_NAME,
      Key: "message.txt",
      Body: message.Body,
    });
    const deleteMessageCommand = new DeleteMessageCommand({
      QueueUrl: process.env.QUEUE_URL,
      ReceiptHandle: message.ReceiptHandle,
    });
    try {
      await s3.send(putCommand);
      await sqs.send(deleteMessageCommand);
    } catch (err) {
      throw err;
    }
  }
};

start().then(async () => {
  return new Promise((resolve) => {
    setTimeout(resolve, 5000);
  }).then(() => {
    console.log("done");
  });
});

telemetry.js
const {
  getNodeAutoInstrumentations,
} = require("@opentelemetry/auto-instrumentations-node");
const {
  OTLPTraceExporter,
} = require("@opentelemetry/exporter-trace-otlp-proto");
const { NodeSDK } = require("@opentelemetry/sdk-node");
const { BatchSpanProcessor } = require("@opentelemetry/sdk-trace-base");
const { ConsoleSpanExporter } = require("@opentelemetry/sdk-trace-node");

// const consoleExporter = new ConsoleSpanExporter();

const exporter = new OTLPTraceExporter({
  url:
    "http://" +
    (process.env.OTEL_COLLECTOR_URL ?? "localhost:4318") +
    "/v1/traces",
});

const sdk = new NodeSDK({
  spanProcessor: new BatchSpanProcessor(exporter),
  serviceName: process.env.SERVICE_NAME,
  instrumentations: [
    getNodeAutoInstrumentations({
      "@opentelemetry/instrumentation-fs": {
        enabled: false,
      },
      "@opentelemetry/instrumentation-aws-sdk": {
        sqsExtractContextPropagationFromPayload: true,
        suppressInternalInstrumentation: true,
      }
    }),
  ],
});

sdk.start();

process.on("SIGTERM", () => {
  sdk
    .shutdown()
    .then(() => console.log("Tracing terminated"))
    .catch((error) => console.log("Error terminating tracing", error))
    .finally(() => process.exit(0));
});

What did you expect to see?
I expect to see a link to the original trace
What did you see instead?
No link is present
Additional context
If I instead use the sqs-consumer package to read from the queue, then the trace is properly linked. The README in the linked repository outlines the different scenarios.
https://github.com/ImDevinC/tracing-example

After digging a bit more, it looks like I'm not getting a process span when working on my queue, but I'm not sure why.

Ok, turns out reading the docs is very helpful, posting what I found here in case anyone stumbles across this in the future: https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/plugins/node/opentelemetry-instrumentation-aws-sdk/doc/sqs.md#processing-spans
tl;dr:
Using the format of
for (const message of messages) { // Do the stuff }

Loses the context of the span (which makes sense). After I refactored my code to do something like the following, it works much better:
const promises: Promise<void>[] = [];
  messages.forEach((message) => {
    promises.push(processMessage(message));
  });
await Promise.all(promises)

const processMessage = async (message: Message) => { // Do the stuff }

If I could use the earlier format, that would be great, but I understand that's not currently supported. Closing this for now.


Enhancements: Minor workflow features

Thank you for this great tool! I heard about it at US HUPO and have been enjoying using it since.
There are a few enhancements I would like to see as a user:

Add a "Stop" button that is separate from a "Quit" option.
When I start a run and I realize I added the incorrect RAW files or set the incorrect parameters I have to close the whole application when I rather just stop the current run, adjust, and restart.

Add an "Apply" button to the Search Parameters
This is more of a psycological enhancement that would increase a user's confidence when using your tool. I feels better when I press "Apply" and then say "Yes" to Accept Changes? Rather than hitting "Close" on the window and then saying "Yes" to Accept Changes?

Add an "Output Folder" directory selection to "Select a directory to save result files"

Move "Export Log" to the File menu bar

Make "Parameters" its own menu bar option

Place "Post Processing" inside "Parameters" to simplify the application

-Edgar

Hello Edgar,
Thanks for your feedback.
We have taken note to improve the usability of scout for the next release version.
Best,
Diogo

Hi Edgar,
We have implemented almost all points you suggested in this thread.
Thanks for evaluating and using the software.
Best,
Diogo


No options could be set when using Docker.

Describe the bug
I'm not good at English, sorry
I deploy my Meilisearch by using Docker-compose, and here is the yaml.
version: '3'
services:
  search:
    container_name: search
    image: getmeili/meilisearch:v1.2.0
    ports:
      - 27700:7700
    environment:
      - MEILI_ENV=development
      - MEILI_MASTER_KEY='foo-bar'
    volumes:
      - ./meilisearch:/meili_data

When I start it, it works fine and I can access the web page, but without the master key.
It print the logs.
search       | Config file path:        "none"
search       | Database path:           "./data.ms"
search       | Server listening on:     "http://<IP_ADDRESS>:7700"
search       | Environment:             "development"
search       | Commit SHA:              "foo-bar"
search       | Commit date:             "2023-05-30T18:20:28+00:00"
search       | Package version: "1.2.0"
search       |
search       | Thank you for using Meilisearch!
search       |
search       |
search       | We collect anonymized analytics to improve our product and your experience. To learn more, including how to turn off analytics, visit our dedicated documentation page: https://www.meilisearch.com/docs/learn/what_is_meilisearch/telemetry
search       |
search       | Anonymous telemetry:     "Enabled"
search       | Instance UID:            "foo-bar"
search       |
search       |
search       |
search       |  No master key was found. The server will accept unidentified requests.
search       |
search       |  A master key of at least 16 bytes will be required when switching to a production environment.
search       |
search       |
search       | We generated a new secure master key for you (you can safely use this token):
search       |
search       | >> --master-key foo-bar <<
search       |
search       | Restart Meilisearch with the argument above to use this new and secure master key.
search       |
search       | Documentation:           https://www.meilisearch.com/docs
search       | Source code:             https://github.com/meilisearch/meilisearch
search       | Discord:         https://discord.meilisearch.com
search       |
search       | [2023-06-13T02:47:23Z INFO  actix_server::builder] Starting 1 workers
search       | [2023-06-13T02:47:23Z INFO  actix_server::server] Actix runtime found; starting in Actix runtime

I have try the master key that generated from it, and also try using CLI --master-key="foo-bar" instead of ENV, but it dose not work. I also tried changing the environment to production to see if it would report an error, but unfortunately, it didn't. It's like not getting the options variables.
To Reproduce
Steps to reproduce the behavior:

Write down a docker-compose.yml like above.
Run docker-compose up search.
Run docker-compose logs search.
See error

Expected behavior
It should be getting the master key in ENV or CLI, and throw an error when I change MEILI_ENV to production without master key just like the document.
Meilisearch version:
getmeili/meilisearch:v1.2.0
System info:
Linux NAME 5.4.0-136-generic #153-Ubuntu SMP Thu Nov 24 15:56:58 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Hello @SaarChaffee. That is strange. Sorry for the inconvenience. Unfortunately, I didn't succeed in reproducing the issue using the same compose file you posted above on an Ubuntu machine. It works fine from my end. Perhaps there is some information about your config or some other steps you took that might help me reproduce it. Please let me know. Thanks

Thanks for your reply. When I re-downloaded the image and started it, the problem was gone. I thought it was strange too, this is the first time I've had this problem.

Hello @SaarChaffee. Thanks for letting me know that re-downloading the image resolved the issue for you. Since we can't reproduce the issue, I think it might not be a real issue. However, if you encounter any similar issues in the future or have any further questions, please don't hesitate to let us know.


bacon: fix darwin build

Motivation for this change
ZHF: #122042
cc @NixOS/nixos-release-managers
Hydra failure: https://hydra.nixos.org/build/143393753/log
Things done

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

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

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

makes sense


[blocked] Rename js-3dtoolkit to match 3DStreamingToolkit

After our repo rename, we still have the js-3dtoolkit dependency.
We need to rename the GitHub repo and npm package to js-3DStreamingToolkit.
This is currently blocked until we:

[x] Gain admin access to js-3dtoolkit repository

Repo renamed and moved to new organization: https://github.com/3DStreamingToolkit/js-3dstk


How to count opened browsers (not pages)?

I am using this code to create tabs with separate sessions:
async function closePage(browser, page) {
    if (page.browserContextId != undefined) {
        await browser._connection.send('Target.disposeBrowserContext', { browserContextId: page.browserContextId });
    }
    await page.close();
}

async function newPageWithNewContext(browser) {
    const { browserContextId } = await browser._connection.send('Target.createBrowserContext');
    const { targetId } = await browser._connection.send('Target.createTarget', { url: 'about:blank', browserContextId });
    var targetInfo = { targetId: targetId }
    const client = await browser._connection.createSession(targetInfo);
    const page = await browser.newPage({ context: 'another-context' }, client, browser._ignoreHTTPSErrors, browser._screenshotTaskQueue);
    page.browserContextId = browserContextId;
    return page;
}

I use it with --incognito browser and I wanted to make sure that this code actually creates TABS with separate sessions, not new incognito browsers. I can't check it visually, because this code work only in headless mode. So I wanted to add a line of code that would show how many browsers did puppeteer open so I am sure that my code actually creates TABS not browsers.

Did you get it figured out? I'm trying to do something similar where I am able to track browsers and associate them to certain tasks so would love to know what you did if you got it working.

Did you get it figured out? I'm trying to do something similar where I am able to track browsers and associate them to certain tasks so would love to know what you did if you got it working.

Unfortunately no(

I was able to easily track browsers within react but I've had no success otherwise. If you're using react you can actually set a component state to the browser object and you can associate that to that particular component. Still trying to find a workaround for doing it normally within node though.


change language on workshop request form where hosts are saying how many learners they'll have

On the DC and SWC workshop request forms there's a section where the host is saying how many people will attend the workshop. It currently says
"This number doesn't need to be precise, but will help us decide how many instructors your workshop will need.
1-20 (one room, one instructor)"
...
"
but we don't have situations where we just send one instructor. We'd like to change that line to
"This number doesn't need to be precise, but will help us with logistics and to determine how many instructors your workshop will need."
1-20 (one room, two instructors)
...
"

See PR #731

Closing as it was addressed by #731


Dart Migrate

See https://dart.dev/go/null-safety-migration for a migration guide.
Analyzing project...
[--------------------------------------------------------------------------------------------------------------------------]
Warning: package has unmigrated dependencies.
Continuing due to the presence of --skip-import-check.  To see a complete
list of the unmigrated dependencies, re-run without the --skip-import-check
flag.
No analysis issues found.
Generating migration suggestions...
[-                                                                                ]
Aborting migration due to an exception.  This most likely is due to a
bug in the migration tool.  Please consider filing a bug report at:
https://github.com/dart-lang/sdk/issues/new
Please include the SDK version (2.13.4) in your bug report.
To attempt to perform migration anyway, you may re-run with
--ignore-exceptions.
Exception details:
Bad state: Unrelated types: class RxBool extends Rx and abstract class List implements EfficientLengthIterable at
offset 1610 in C:\Users\InstaCare\Desktop\Work\Project\instacare\lib\app\controllers\booking\lab\checkout\second_step_contro
ller.dart (chooseTest.assignAll(Get.arguments[0]))
#0      DecoratedClassHierarchy.getDecoratedSupertype (package:nnbd_migration/src/decorated_class_hierarchy.dart:67:10)
#1      DecoratedClassHierarchy.asInstanceOf (package:nnbd_migration/src/decorated_class_hierarchy.dart:38:18)
#2      EdgeBuilder.getOrComputeElementType (package:nnbd_migration/src/edge_builder.dart:270:18)
#3      EdgeBuilder.visitMethodInvocation (package:nnbd_migration/src/edge_builder.dart:1284:20)
#4      MethodInvocationImpl.accept (package:analyzer/src/dart/ast/ast.dart:7091:50)
#5      EdgeBuilder._dispatch (package:nnbd_migration/src/edge_builder.dart:2207:24)
#6      EdgeBuilder.visitExpressionStatement (package:nnbd_migration/src/edge_builder.dart:801:25)
#7      ExpressionStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:3598:50)
#8      EdgeBuilder._dispatch (package:nnbd_migration/src/edge_builder.dart:2207:24)
#9      EdgeBuilder.visitNode (package:nnbd_migration/src/edge_builder.dart:1340:9)
#10     GeneralizingAstVisitor.visitStatement (package:analyzer/dart/ast/visitor.dart:521:40)
#11     GeneralizingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:165:32)
#12     BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1065:50)
#13     EdgeBuilder._dispatch (package:nnbd_migration/src/edge_builder.dart:2207:24)
#14     EdgeBuilder.visitNode (package:nnbd_migration/src/edge_builder.dart:1340:9)
#15     GeneralizingAstVisitor.visitFunctionBody (package:analyzer/dart/ast/visitor.dart:326:46)
#16     GeneralizingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:168:56)
#17     BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1020:50)
#18     EdgeBuilder._dispatch (package:nnbd_migration/src/edge_builder.dart:2207:24)
#19     EdgeBuilder._handleExecutableDeclaration (package:nnbd_migration/src/edge_builder.dart:2490:7)
#20     EdgeBuilder.visitMethodDeclaration (package:nnbd_migration/src/edge_builder.dart:1243:5)
#21     MethodDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:6942:50)
#22     EdgeBuilder._dispatch (package:nnbd_migration/src/edge_builder.dart:2207:24)
#23     EdgeBuilder._dispatchList (package:nnbd_migration/src/edge_builder.dart:2229:7)
#24     EdgeBuilder.visitClassOrMixinOrExtensionDeclaration (package:nnbd_migration/src/edge_builder.dart:607:7)
#25     EdgeBuilder.visitClassDeclaration (package:nnbd_migration/src/edge_builder.dart:574:5)
#26     ClassDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:1514:50)
#27     EdgeBuilder._dispatch (package:nnbd_migration/src/edge_builder.dart:2207:24)
#28     EdgeBuilder.visitNode (package:nnbd_migration/src/edge_builder.dart:1340:9)
#29     GeneralizingAstVisitor.visitCompilationUnit (package:analyzer/dart/ast/visitor.dart:202:52)
#30     CompletenessTracker.visitCompilationUnit. (package:nnbd_migration/src/utilities/completeness_track
er.dart:52:24)
#31     PermissiveModeVisitor.reportExceptionsIfPermissive (package:nnbd_migration/src/utilities/permissive_mode.dart:26:24)
#32     CompletenessTracker.visitCompilationUnit (package:nnbd_migration/src/utilities/completeness_tracker.dart:43:5)
#33     CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2105:50)
#34     NullabilityMigrationImpl.processInput (package:nnbd_migration/src/nullability_migration_impl.dart:244:12)
#35     NonNullableFix.processUnit (package:nnbd_migration/src/front_end/non_nullable_fix.dart:164:15)
#36     _FixCodeProcessor.runLaterPhases. (package:nnbd_migration/migration_cli.dart:1152:19)
#37     _FixCodeProcessor.runLaterPhases. (package:nnbd_migration/migration_cli.dart:1150:28)
#38     _FixCodeProcessor.processResources (package:nnbd_migration/migration_cli.dart:1079:30)

#39     _FixCodeProcessor.runLaterPhases (package:nnbd_migration/migration_cli.dart:1150:5)

#40     MigrationCliRunner.run (package:nnbd_migration/migration_cli.dart:747:24)

#41     MigrateCommand.run (package:nnbd_migration/migration_cli.dart:184:7)

#42     CommandRunner.runCommand (package:args/command_runner.dart:196:13)

#43     DartdevRunner.runCommand (package:dartdev/dartdev.dart:199:18)

#44     runDartdev (package:dartdev/dartdev.dart:53:16)

#45     main (file:///C:/b/s/w/ir/cache/builder/src/third_party/dart/pkg/dartdev/bin/dartdev.dart:11:3)

As of 1c7fe7196dd7a542f7f91cd6ea2ac81e1a13146c, the null safety migration tool has been removed from active development and retired. No further work on the tool is planned.
If you still need help, or you believe this issue has been closed in error, please feel free to reopen.


Remove redundant links from frontend

Please post before and after pics of the rendered HTML. Otherwise LGTM @Jamm02

The links for clouds, stars, and twinkle do not load because they are deprecated.


🐞 Bug : Clickable Under-lined Words Needs to be Change to a Button

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
On the Website there are many instances where the words are just underlined.

Steps To Reproduce

Go to the Home Page
And See "Learn Logic Design".

Expected Behavior
There Should be a clickable Button
Screenshots
No response
Device Information [optional]
- OS: Windows 11
- Browser: Chrome

Additional context
No response
Are you working on this issue?
Yes

Hi @nitin10s , WDYT, should we moved the text buttons to Outlined button ?

@tanmoysrt can you assign this issue to me?

If @Kiran-pande-30 like to pass the issue, then I can.

@tanmoysrt can you assign this issue to me?

If @Kiran-pande-30 like to pass the issue, then I can.

@Kiran-pande-30 are interested to pass me?

Usually, we assign people in FIFO as people have commented. Now if the issue creator has marked Are you working on this issue? as Yes, then he wiill be assigned. If we like to pass then next person will be assigned.
After assigning, if we find out more than 3~4 weeks of inactivity, then we can reassign to next person

@tanmoysrt I am interested in resolving the issue
Sorry, @Shahbaz898414 i will be working on the issue.

@tanmoysrt I have not been assigned the issue yet.

@Kiran-pande-30 for Learn Logic Design there is already merged PR
https://github.com/CircuitVerse/CircuitVerse/pull/4472
But you can work on other

That's good to know, about the merge PR, Thanks @upsaurav12

That's good to know, about the merge PR, Thanks @upsaurav12

yes but you can still work for other pic or may more you find the similar issues

lar yeah, but #4472 is closed and this issue as not been assigned to me yet.

Hi @Kiran-pande-30 , you can replace back button with outlined buttons

@tanmoysrt I have surfed through the application and I don't think there are any issues now.


What is DevOps

DevOps is the practice & culture of applying lean manufacturing principles to the IT Value stream to increase software velocity, reduce waste, & improve quality with an emphasis on leveraging people, processes, & tools.
It focuses on unifying Development & IT Operations through the principles of flow, feedback, & experimentation.
https://www.youtube.com/watch?v=OOGFxVzW35w
Key Definitions

Continuous Integration (CI): Addresses building software from contributions of individual developers in a controlled, agile way. (Checking all code into centralized repo daily)
Continuous Deployment (CD): Automated Deployment (or transport) of code to production with no manual steps required. This will not be the plan with all applications.
Continuous Delivery (CD): Automation that ensures deployment is validated, however manual step still required to deploy to production.
Deployment: The deployment (or transport) of code to a higher-level environment, up to & including production.
Release: The defined scope & business objective for a set of features to be delivered in a certain timeline.

Why do DevOps?
In 2012, Puppet Labs “state of DevOps report” benchmarked 4,039 IT orgs using DevOps and found:

30x more frequent code deployments
8,000 x faster code deployment lead time
2x the change success rate
12x faster MTTR (mean time to repair)

Some examples of why do DevOps?
“The competitive advantage this capability creates is enormous, enabling faster feature time to market, increased customer satisfaction, market share, employee productivity, and happiness.”
-Phoenix Project

Areas of Emphasis
DevOps principles are applied to and assisted by the following 3 Key areas all working together:

People - DevOps relies on strong people & a strong culture of experimentation, learning, collaboration, and shared goals between Development, QA & IT Operations.
Processes – DevOps builds further upon Lean Agile, applying concepts of lean manufacturing to IT value streams.
Tools– DevOps relies on enhanced tools & technologies, including automation, telemetry, & collaboration tools.

What Is the Goal of DevOps?
Improve collaboration between all stakeholders from planning through delivery and automation of the delivery process in order to:

Improve deployment frequency
Achieve faster time to market
Lower failure rate of new releases
Shorten lead time between fixes
Improve mean time to recovery

CI Systems - Examples

CD Systems - Examples

References
“The principles behind DevOps are the same that transformed manufacturing. Instead of optimizing how raw materials are transformed into finished goods, DevOps shows how we optimize the IT value stream..” - Phoenix Project
“Imagine living in a DevOps world, where product owners, Development, QA, IT Ops, and InfoSec work together relentlessly to help each other and the overall organization win. They are enabling fast flow of planned work into production, while preserving world-class stability, reliability, availability, and security.” - Phoenix Project
Periodic Table of DevOps Tools
Automation

lets add the following link also : https://kubernetes.io/es/docs/tutorials/kubernetes-basics/

lets add the following link also : https://kubernetes.io/es/docs/tutorials/kubernetes-basics/

Interesting resource: https://lab.github.com/githubtraining/devops-with-github-actions

Interesting resource: https://lab.github.com/githubtraining/devops-with-github-actions


NIFI-8314: Add controller-level bulletin message for long-running tasks.

https://issues.apache.org/jira/browse/NIFI-8314
This is a follow-up PR for NIFI-8314 implementing controller-level bulletin suggested by @markap14 in the closing comment of the original PR (https://github.com/apache/nifi/pull/4902#issuecomment-800511110).
Also changing warning messages:

using less technical messages on UI
logging task time in seconds
not logging duplicated/reduntant info

Description of PR
Enables X functionality; fixes bug NIFI-YYYY.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically main)?

[ ] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

Thanks for the contribution @turcsanyip.  Although this looks straightforward, and there do not appear to be any existing unit tests for LongRunningTaskMonitor, what do you think about adding a new unit test for LongRunningTaskMonitor that leverages a mocked EventReporter to confirm the expected behavior?

Working as expected (after changing properties to 10/30 seconds for schedule/thresholds):

+1, merging to main


Resolves ThrusterVisualizer is Obsolete

About the PR

Splits the ThrusterVisualizer into a component/system pair.
TODO:

[ ] Testing

Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Reopen when you come back to this.

@DrSmugleaf
Commits tested and pushed.


Update cloud to 2.0, update to Floodgate 2.2.3, support 1.20.5

Won't build until https://github.com/GeyserMC/Floodgate/pull/496 is merged.
Changes:

update gradle, move to kts build/settings files
update cloud, bstats
resolve https://github.com/GeyserMC/Floodgate-Fabric/issues/106
resolve https://github.com/GeyserMC/Floodgate-Fabric/issues/59

This commited soon? WE NEED 1.20.5 Floodgate


ENH Uses categories to choose neg and positive

Closes https://github.com/amueller/ml-workshop-4-of-4/issues/1

livechanging! (I'm serious)

FYI slides for 2-of-4 should also be updated now. 3 and 4 I'll do tomorrow night. I am great at time management.


C-Adding two numbers

Pull Request Type
What kind of change does this PR introduce?
[ ] Solved an issue/task
added sum.c file for adding two numbers in c programming language

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Regression: no longer able to work with plugins on GitBook Editor 7.0.1

Category
GitBook Editor 7.0.1
What is the current behavior?
There is simply no menu option or context menu (that I could find) to get to the plugins store (prior version had that option.)
What is the desired behavior?
Restore access to this function as the pre 2/17/2017 release.
Additional information

OS X 10.12 (Sierra)
GitBook Editor 7.0.1

I also could not find a way to add plugins other than creating/editing book.json directly

@AaronO @SamyPesse