Does Not Run in iOS?

Does not seem to run in iOS, but runs fine in Android. Do you anticipate a fix for the issue any time soon? Test Code:
    private async void BtnGoToScanner_Clicked(object sender, EventArgs e)
    {
        try
        {
            var overlay = new ZXingDefaultOverlay
            {
                TopText = "QR code will be scanned automatically",
                BottomText = "Align the QR code within the frame"
            };
            MobileBarcodeScanningOptions options = new MobileBarcodeScanningOptions();
            options.AutoRotate = true;
            options.TryHarder = false;
            options.UseNativeScanning = true;
            ZXingScannerPage scanPage = new ZXingScannerPage(options, overlay);

            await Navigation.PushAsync(scanPage);

            scanPage.OnScanResult += async (result) =>
            {
                await Navigation.PopAsync();
                await DisplayAlert("Scanned Value", result.Text, "OK");
            };

        }
        catch
        {

        }
    }

@mark-sheldon which iPhone model are you testing with?

Thanks so much for your help.
I'm testing on a 9th Generation iPad, iOS version 15.5, 64GB Storage, with
47.9GB available.
Building on Windows 11, Visual Studio 2022, Xamarin Forms version
<IP_ADDRESS>1 and ZXing 2.4.1. Build server is macincloud, with the most
current versions of all the Mac components preinstalled.
Thank you again.
m.
Mark Sheldon Web Applications
Mark Sheldon
ASP.Net Full Stack Developer
@.***
Mobile:<PHONE_NUMBER>
http://www.marksheldon.net

CAPCE Services https://marksheldon.net/ExcelToCapceXml
Internet Database Systems https://marksheldon.net/Database
Learning Management Systems
https://marksheldon.net/LearningManagement

Mark Sheldon Web Applications • 4009 Gunnar Drive • Roseville • CA • 95747
• USA
This message is confidential. It may also be privileged or otherwise
protected by work product immunity or other legal rules. If you have
received it by mistake, please let us know by e-mail reply and delete it
from your system; you may not copy this message or disclose its contents to
anyone. Please send us by fax any message containing deadlines as incoming
e-mails are not screened for response deadlines. The integrity and security
of this message cannot be guaranteed on the Internet.
On Wed, May 25, 2022 at 10:21 AM g0dpain @.***> wrote:

@mark-sheldon https://github.com/mark-sheldon which iPhone model are
you testing with?
—
Reply to this email directly, view it on GitHub
https://github.com/Redth/ZXing.Net.Mobile/issues/1045#issuecomment-1137590193,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI44BJX3DZNU5SHULZW4ZFLVLZOQ3ANCNFSM5W2X6DJA
.
You are receiving this because you were mentioned.Message ID: <Redth/ZXing
<EMAIL_ADDRESS>

Just added the NuGet packages
https://www.nuget.org/packages/g0dpain.ZXing.Net.Mobile/
https://www.nuget.org/packages/g0dpain.ZXing.Net.Mobile.Forms/
Those arent tested for older iPhone models but the scan works for me now perfectly on iPhone 12 and iPhone 13 Pro.
You can find it under the preview section

https://github.com/Redth/ZXing.Net.Mobile/issues/1041#issuecomment-1141076029


Add stubbed DAG for ingesting Scenes

Overview
This is a stubbed out Airflow DAG for ingesting Scenes that have been added to Projects.
Checklist

[ ] ~Styleguide updated, if necessary~
[ ] ~Swagger specification updated, if necessary~

Demo
Successful run:

Failed run:

Notes
This is structured as a single DAG that submits a single Spark job to ingest all necessary Scenes. That seemed to fit my understanding of how ingests work, but if I misunderstood something or if things change, then it might be better to use a structure more like the Sentinel2 import, which has one DAG to discover Sentinel2 data that in turn kicks off a series of DAGs to do the actual importing.
I had to make some changes to the docker-compose.yml files in order to get Airflow working because the Redis server isn't currently being treated as a hard dependency of anything and therefore wasn't launching with ./scripts/server.
Testing Instructions

Launch the Airflow stack with ./scripts/server --with-airflow | grep airflow-worker so you can see what's going on.
Disable all the other Airflow DAGs, otherwise they'll start scheduling a bunch of backfill jobs and any test jobs you kick off won't be able to find an executor. You can either do this by logging into the Airflow interface, or editing the DAG definitions so that their schedule is None.

Open a shell into the Airflow scheduler with ./scripts/console airflow-scheduler bash
Run airflow trigger_dag ingest_project_scenes
You should see activity in the airflow-worker terminal, and you should be able to see the triggered DAG run in the Airflow UI. You should see something like the successful run above.
Edit one of the *_op() functions in app-tasks/dags/ingest/ingest_project_scenes.py to throw an exception
Re-trigger the DAG and you should see a status like the Failed run above; you should also see your exception logged to the console.

Closes #984

I agree, I don't think we need to worry about it here though. One idea would be to use a websocket service in the short term that lets us do this pretty easily without a lot of overhead like pusher that would allow us to have a queue for each user or something and give them kind of a timeline.


Complete required TTO checklist steps for this stage

Description:
Complete require transition to operations (TTO) checklist steps for this stage and ensure they are documented in our confluence 🔒

waiting on #98

Started documenting, we have questions on some aspects

First draft or everything completed except Support and Deliver.


Assignment 1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
I have explored CIFAR-100 image dataset and implemented base CNN model and included batch normalization as a advanced technique to classify images.
What did you learn from the changes you have made?
How to analyze huge multi class images data and how to implement CNN model to correctly capture and predict.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
This is good
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Nope
How were these changes tested?
I ran in my local machine and output attached.
A reference to a related issue in your repository (if applicable)
Checklist

[x] I can confirm that my changes are working as intended

A1 Complete


[SE-0380] Fix a few typos

Hi, I look forward to seeing this new feature implemented soon!
Just fixed a few typos. 😉

Thanks!


problem using HNSW

Hello. I just replace the "small world rand" method in standalone app1 with "hnsw" like below.
Index*   indexSmallWorld =
MethodFactoryRegistry::Instance().
CreateMethod(true /* print progress */,
//  "small_world_rand",
"hnsw",
"custom",
customSpace,
dataSet);
// Creating an index
indexSmallWorld->CreateIndex(IndexParams);
But the code crashed. Can you give me some instruction of using hnsw.

Did it crash-crash or did it print any messages? Did you modify index-time parameters so that they match parameters required by HNSW?

/**
 * Non-metric Space Library
 *
 * Authors: Bilegsaikhan Naidan (https://github.com/bileg), Leonid Boytsov (http://boytsov.info).
 * With contributions from Lawrence Cayton (http://lcayton.com/) and others.
 *
 * For the complete list of contributors and further details see:
 * https://github.com/searchivarius/NonMetricSpaceLib
 *
 * Copyright (c) 2014
 *
 * This code is released under the
 * Apache License Version 2.0 http://www.apache.org/licenses/.
 *
 */
#include <iostream>
#include <cassert>
#include <cstdlib>
#include <sstream>

#include "data.h"

#include "custom_space.h"
#include "init.h"
#include "index.h"
#include "params.h"
#include "rangequery.h"
#include "knnquery.h"
#include "knnqueue.h"
#include "methodfactory.h"
#include<random>
#include "ztimer.h"

#define REP_QTY 1000

#ifdef _MSC_VER
#include <windows.h>
#endif

using namespace std;
using namespace similarity;

#define LOG_OPTION 1

void Usage(const char *pProg, const char* pErr) {
  cerr << pErr << endl;
  cerr << "Usage: " << pProg << " <test file> " << endl;
  cerr << "Usage: " << pProg << " <test file> <max #of vectors> " << endl;
  cerr << "Usage: " << pProg << endl;
};

/*
 * Define an implementation of the distance function.
 */
struct DistL2 {
  /*
   * Important: the function is const and arguments are const as well!!!
   */
  float operator()(const float* x, const float* y, size_t qty) const {
    float res = 0;
    for (size_t i = 0; i < qty; ++i) res+=(x[i]-y[i])*(x[i]-y[i]);
    return sqrt(res);
  }
};

void printResults(KNNQuery<float>* qobj) {
  KNNQueue<float>* res = qobj->Result()->Clone();

  while (!res->Empty()) {
    cout << res->TopObject()->id() << " : " << res->TopDistance() << endl;
    res->Pop();
  }
}

void printResults(RangeQuery<float>* qobj) {
  const ObjectVector&    objs = *qobj->Result();
  const vector<float>&    dists = *qobj->ResultDists();

  for (size_t i = 0; i < objs.size(); ++i) {
    cout << objs[i]->id() << " : " << dists[i] << endl;
  }
}

template <class QueryType>
void doSearch(Index<float>* index, QueryType* qobj, int repQty) {
  WallClockTimer timer;

  /*
   * In this example we repeat the search many times,
   * but only because we need to measure the result
   * properly.
   */
  for (int i = 0; i < repQty; ++i) {
     index->Search(qobj);
	 if (i + 1 < repQty) qobj->Reset(); // This is needed b/c we reuse the same query many times
  }

  timer.split();

  cout << "Search " << qobj->Type() << " using index: " << index->StrDesc()
	   << " repeated: " << repQty << " times " << endl;
  cout << "Avg time:  " << timer.elapsed()/1000.0/repQty << " ms" << endl;
  cout << "# of results: " << qobj->ResultSize() << endl;

  printResults(qobj);
}

int main(int argc, char* argv[]) {
  ObjectVector    dataSet;
  const Object*   queryObj = NULL;
  vector<vector<float>> rawData_t;

  // Create an instance of our custom space that uses L2-distance
  VectorSpaceGen<float, DistL2>   customSpace;
  vector<string>                  vExternIds;

	std::random_device rd;
	std::mt19937 m_mt(rd());
	std::uniform_real_distribution<float> generator_for_scene(0, 1);

	  for (int i = 0; i < 1000; i++)
	  {
		  rawData_t.push_back(vector<float>());
		  for (int j = 0; j < 6; j++)
		  {
			  float v = generator_for_scene(m_mt);
			  rawData_t.back().push_back(v);
		  }
	  }

	 cout << "raw data size is " << rawData_t.size() << endl;
    vector<LabelType> labels(rawData_t.size());

    // If the file is not specified, create the data set from a vector of vectors
    customSpace.CreateDataset(dataSet, rawData_t, labels);

  assert(dataSet.size() > 1);

  queryObj = dataSet[0];
  dataSet.erase(dataSet.begin());

  cout << "Using the first object as the query vector (this object is removed from the dataset)" << endl;
  cout << "The number of remaining objects is: " << dataSet.size() << " ";

  cout << "We have the space and the query, let's create some search index." << endl;

  /*
   * Init library, specify a log file
   */
  if (LOG_OPTION == 1)
    initLibrary(LIB_LOGFILE, "logfile.txt");
  // No logging
  if (LOG_OPTION == 2)
    initLibrary(LIB_LOGNONE, NULL);
  // Use STDOUT
  if (LOG_OPTION == 3)
    initLibrary(LIB_LOGSTDERR, NULL);

  AnyParams IndexParams(
                        {
                        "M=20",
						"efConstruction = 20",
						"searchMethod = 4",
                        "indexThreadQty=8" /* 4 indexing threads */
                        });

  AnyParams QueryTimeParams( { "efSearch=10" });

  Index<float>*   indexSmallWorld =
                        MethodFactoryRegistry<float>::Instance().
                                CreateMethod(true /* print progress */,
                                    // "small_world_rand",
									"hnsw",
                                        "custom",
                                         customSpace,
                                         dataSet);

  // Creating an index
  indexSmallWorld->CreateIndex(IndexParams);
  // Setting query-time parameters
  indexSmallWorld->SetQueryTimeParams(QueryTimeParams);

  cout << "Small-world index is created!" << endl;

  unsigned  K =5; // 5-NN query
  KNNQuery<float>   knnQ(customSpace, queryObj, K);
  doSearch(indexSmallWorld, &knnQ, REP_QTY);

  cout << "Saving vectors to a file: " << endl;

  // The number of external IDs must match the number of objects, even if these external
  // IDs are ignored by the space API.
  vExternIds.resize(dataSet.size());
  customSpace.WriteDataset(dataSet, vExternIds, "testdataset.txt");

  cout << "Deleting objects..." << endl;

  delete indexSmallWorld;
  delete queryObj;

  for (const Object* obj: dataSet) delete obj;

  return 0;
};

}

It crashes in the step "doSearch",  and tell that "vector subscript out of range". Can you help me check it.

Hi,
your code doesn't compile. However, when I remove the trailing '}', it seems to work fine.
Which system/compiler do you use?
If you run in a debugger where does exception happen?
Also, the sample app requires a prior installation of the library. Maybe, it's worth modifying makefile so it links the current built by including the following:
NON_METRIC_SPACE_LIBRARY=../similarity_search/
NON_METRIC_SPACE_LIBRARY_INC=$(NON_METRIC_SPACE_LIBRARY)/include
NON_METRIC_SPACE_LIBRARY_LIB=$(NON_METRIC_SPACE_LIBRARY)/release

instead of
NON_METRIC_SPACE_LIBRARY=$(HOME)/NonMetrLibRelease
NON_METRIC_SPACE_LIBRARY_INC=$(NON_METRIC_SPACE_LIBRARY)/include
NON_METRIC_SPACE_LIBRARY_LIB=$(NON_METRIC_SPACE_LIBRARY)/lib

I use the VS2015， and I have build the lib and link it.
I have test the method  "small_world_rand",  and it is OK, this may mean my configuration is right.
My code always crashs in the "baseSearchAlgorithmV1Merge"  function in hnsw.cc.

This is helpful. It seems that there's a bug that manifests only on Windows.
I will have a look shortly, thank you!

OK！ I  am looking forward to your revision and I will adopt it in my new current research.

Yes, sure. Should be ready soon, sorry I have been currently busy with other (rather urgent) tasks.

@tangbohu could you pull the latest version from the master to check if it works?
Thanks!

Ok, I recently check this on windows and I am pretty sure that thanks to @orgoro fix, it's working now. I will soon propagate this change to other branches from dev.


"Protobox Dashboard"

What is this mysterious feature that is enabled by default and has no documentation?
How can I get to it?

Typically by typing the machine IP http://<IP_ADDRESS>/or whatever you have set as the vm.network. private_network IP. It also has to be turned on here.
Right now it is not that useful and protobox 2.0 will be phasing it out.
I would rather see something that can be run on any server, vm, etc to analysis the software, virtual hosts, etc and output it to a dashboard like interface. I have not found anything like that yet.
Taking it another step further, it would be nice if it could boot to a dashboard, configure and then provision the machine from the dashboard. In reality this is probably better suited for http://shipyard-project.com/ and docker then dealing with conflicts of stuffing all this stuff in one box.

Webmin has a lot of the functionality you're describing. Maybe stick a fork in that?
Either way, I'm looking forward to 2.0 :dancers:

To be honest, I don't really have the cycles to support something that complex. I was thinking mainly about a simple log of what it provisioned to supply a report or simple dashboard of the software and hosts it installed. One problem now is that it requires apache or nginx within the VM to display and I don't want to require that every box have that configured to power a simple report. Maybe I can build in support for something like a gist that it sends from the local box to the protobox website which formats the report / dashboard. When you share the config, it would be nice to have this report with what it included.

@patrickheeney I build a report of my chef runs using a report handler.  Not knowing enough about ansible I did a google search and found sfromm/ansible-report. Does that do what you're thinking?

Not exactly a report. Just quickly links to virtualhosts and other software admins installed.


Configuration for vitest not assignable to type UserConfig

Describe the bug
There seems to be some configuration deficiency. See below.
Reproduction
Create a standard sveltekit project including vitest.
You get a vite.config like:
import { sveltekit } from '@sveltejs/kit/vite';
import type { UserConfig } from 'vite';

const config: UserConfig = {
	plugins: [sveltekit()],
	test: {
		include: ['src/**/*.{test,spec}.{js,ts}']
	}
};

export default config;

running npm run check states the problem:
Error: Type '{ plugins: Promise<Plugin_2[]>[]; test: { include: string[]; }; }' is not assignable to type 'UserConfig'.
  Object literal may only specify known properties, and 'test' does not exist in type 'UserConfig'.
        plugins: [sveltekit()],
        test: {
                include: ['src/**/*.{test,spec}.{js,ts}']
        }
};

Logs
No response
System Info
System:
    OS: Linux 6.2 Manjaro Linux
    CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
    Memory: 25.43 GB / 31.27 GB
    Container: Yes
    Shell: 3.6.0 - /usr/bin/fish
  Binaries:
    Node: 19.4.0 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 8.19.2 - /usr/bin/npm
  Browsers:
    Chromium: 109.0.5414.119
    Firefox: 109.0
  npmPackages:
    @sveltejs/adapter-node: ^1.0.0 => 1.1.4
    @sveltejs/kit: ^1.0.0 => 1.3.2
    svelte: ^3.54.0 => 3.55.1
    vite: ^4.0.0 => 4.0.4

Severity
annoyance
Additional Information
No response

following https://vitest.dev/config/  you can do
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vitest/config';

export default defineConfig({
	plugins: [sveltekit()],
	test: {
		include: ['src/**/*.{test,spec}.{js,ts}']
	}
})

I will try that. I also would appreciate it being set up correctly by create-svelte.
I just thought of other unseen conflicts of vite/config and vitest/config. Is vitest/config a superset of vite/config or is there any property lost when changing to it.

should be a superset.

And could there be other frameworks (like vitest) that superset the vite configuration, so that conflicts appear? Like:

good idea, defineConfig is documented for vite too https://vitejs.dev/config/#config-intellisense
it works with type inference too so, so no additional type annotation needed


[ios]RCTActionSheetManager.showActionSheetWithOptions is undefined

Hi,guys:
when I debug ActionSheet in the simulator Ipad air, I have the problem like  https://github.com/facebook/react-native/issues/3498
Then, I update my ActionSheetIOS like
https://github.com/facebook/react-native/commit/a859d9e9315c2ff79432ffbf4b636ef78c990567
But,it still have the problem in my simulator,and the problem like this:
undefined is not an object (evaluating 'RCTActionSheetManager.showActionSheetWithOptions')'
Can anyone tell me how to fix it?or is it a bug?
Thank you very much!

+1
use<EMAIL_ADDRESS>

+1
use<EMAIL_ADDRESS>

+1
use<EMAIL_ADDRESS>

i figured it out. I am using cocoapods integrating with native app, and i did not add 'RCTActionSheet' into podfile

This has been one of the biggest gotchas I've faced integrating into an existing iOS app. Would be awesome to have better error messaging around this!

+1
use<EMAIL_ADDRESS>

As noted - you have to either add the local ActionSheet podspec or drag & drop the ActionSheetIOS.xcodeproj to your Xcode (see https://facebook.github.io/react-native/docs/linking-libraries-ios.html#manual-linking - instead of PushNotifications, just use ActionSheet file)

I'm continuously running into issues like this. Could this be added to the documentation?

@alper - sure, anything that would contribute to a better documentation is much appreciated! Happy to help you landing such change

I've got this error using Share module in React Native v0.48.4, iOS. The RCTActionSheet.xcodeproj is in the XCode, but the libRCTActionSheet.a wasn't added to Build Phases in XCode.
I feel like if it's by design, this setup step should be added to the documentation. Your thoughts?


Semver 6.3.0 Vulnerability

Hello,
I'm working on some unrelated updates & noticed Semver 6.3.0 is used & has been marked vulnerable by synk: https://security.snyk.io/package/npm/semver/6.3.0

Merged the update here


More/Less Button text not change

I think you forgot to change method name from
{{ isGroupShown(item) ? 'Less' : 'More' }}
to
{{ isItemShown(item) ? 'Less' : 'More' }}
Because 'isGroupShown' not available and not changing text More/Less.

You are absolutely right @SanatShukla . Thanks for pointing that out and the changes have been made. Thanks.


Is this an issue? Will it still produce valid video file?

And maybe there is a way to fix?
https://i.imgur.com/KuH1Pa2.png
Edit:
Now I have this https://i.imgur.com/WNVZCQe.png It is the same twitch livestream I downloading.

I don't think it's a problem, usually youtube-dl downloads second by second which is why ffmpeg output looks like that

This is not an issue and you shouldn't be alarmed.
Basically, some videos are stored as nice, whole files. Others are stored as small pieces of video, each roughly up to five seconds in length. Pieces are also very common when streaming live video as it's not known how long the video will last.
What you're seeing are the notifications for each piece downloading, plus more output for ffmpeg putting them back together again. The coloured parts are information concerning pieces that could be retrieved, that don't apply to the quality settings or other things that happen over the internet.
I hope this helps!

If OP posted the verbose log, or at a pinch attached the screenshot, the issue would be clearer.


[Dependency]: Docker container for stage-in step

We need a Docker container to execute the stage-in step using the output of the CMR query

U-DS provided the container, which was successfully tested at small scale by Luca.

Testing at scale using the EFS partition provided by Ryan.
o Must mount /stage onto both containers (the Verdi worker and Docker-In-Docker) running inside the Verdi pod
o Must clone the sounder-sips-chirp-workflows repository onto /stage

because this is the final destination of the output
o Must use the prefix --tmpdir-prefix /stage when invoking the CWL tool when invoking the cwltool
because this is the temporary location of the output

Example invocation:
time cwltool stage-in-workflow.cwl stage-in-job-01.yml
INFO /home/ops/miniconda3/bin/cwltool 3.1.20230325110543
INFO Resolved 'stage-in-workflow.cwl' to 'file:///stage/sounder-sips-chirp-workflows/stage-in/stage-in-workflow.cwl'
stage-in.cwl:22:3: object id stage-in.cwl#download_dir previously defined
INFO [workflow ] start
INFO [workflow ] starting step stage-in
INFO [step stage-in] start
INFO [job stage-in] /tmp/nfk5nmio$ docker
run
-i
--mount=type=bind,source=/tmp/nfk5nmio,target=/ThxBMG
--mount=type=bind,source=/tmp/wkftysca,target=/tmp
--mount=type=bind,source=/stage/sounder-sips-chirp-workflows/cmr/cmr-results-01.json,target=/var/lib/cwl/stg46f8d6f7-bbc8-457f-a3fe-b032a73ab220/cmr-results-01.json,readonly
--workdir=/ThxBMG
--read-only=true
--user=1000:1000
--rm
--cidfile=/tmp/5qm9bbp5/20230623220253-994159.cid
--env=TMPDIR=/tmp
--env=HOME=/ThxBMG
--env=DOWNLOAD_DIR=/ThxBMG/granules
--env=EDL_BASE_URL=https://urs.earthdata.nasa.gov/
..............
--env=GRANULES_DOWNLOAD_TYPE=DAAC
--env=LOG_LEVEL=20
--env=OUTPUT_FILE=/ThxBMG/granules/stage-in-results.json
--env=STAC_JSON=/var/lib/cwl/stg46f8d6f7-bbc8-457f-a3fe-b032a73ab220/cmr-results-01.json
ghcr.io/unity-sds/unity-data-services:4.0.0
DOWNLOAD
2023-06-23 22:02:54,402 [INFO] [root::19] starting DOWNLOAD script

To process 1 full day of data:
244 files
real	17m43.188s

To process 16 days of data:
3814 files
Approximately 4 hours

The stag-in step was tested individually and it works


[6.3.2][PSA] don't spread your form props into Field, it breaks with field-level validation

This isn't a bug so much as a PSA in case anyone else runs into this issue after upgrading to 6.3.2.
In one place, we were spreading the props from a form into a Field, like so:
      <Field
        {...props}
        name="hmda"
        component={HMDAFields}
        label="HMDA Responses"
        hideLabel
      />

Because Field now supports a validate prop and calls that validate with different parameters than form-level validate, this resulted in an error, Uncaught TypeError: props.t is not a function because the second argument passed to field-level validate is values, not props: https://github.com/erikras/redux-form/blob/master/src/generateValidator.js#L7.
Generally, you should not be blindly spreading form props into Field's (or really into any third-party components). But if you are upgrading to 6.3.2 you might want to check around for this in your codebase.

Thanks for that, @mxdubois.
I did not consider adding additional props to be a potential breaking change, but I suppose it could be in some cases, like if someone was unlucky enough to already be using a validate or warn prop for their custom component.


with latest built operator image,  still some error logs reported

Error logs, as below,  my custom scheduler config is there,  but logs still report it did not find it.
[root@node1 ~]# kubectl get cm -n openshift-secondary-scheduler-operator
NAME                                          DATA   AGE
my-custom-scheduler-config                1      44m
kube-root-ca.crt                              1      81d
openshift-secondary-scheduler-operator-lock   0      81d
openshift-service-ca.crt                      1      81d
secondary-scheduler-config                    1      81d
[root@node1 ~]# date
Tue Dec 13 06:36:07 UTC 2022
[root@node1 ~]# kubectl get pod -n openshift-secondary-scheduler-operator
NAME                                            READY   STATUS    RESTARTS   AGE
secondary-scheduler-54fbccc64-qtczr             1/1     Running   0          26m
secondary-scheduler-operator-579766d65c-7qf9z   1/1     Running   0          3h21m
[root@node1 ~]# date
Tue Dec 13 06:49:07 UTC 2022
[root@node1 ~]# kubectl logs -n openshift-secondary-scheduler-operator secondary-scheduler-operator-579766d65c-7qf9z | tail -n 5
E1213 06:24:53.511147       1 target_config_reconciler.go:338] {configmap my-custom-scheduler-config} failed with : could not get configuration configmap: configmap "my-custom-scheduler-config" not found
E1213 06:27:18.114263       1 target_config_reconciler.go:338] {configmap my-custom-scheduler-config} failed with : could not get configuration configmap: configmap "my-custom-scheduler-config" not found
E1213 06:37:18.100412       1 target_config_reconciler.go:338] {configmap my-custom-scheduler-config} failed with : could not get configuration configmap: configmap "my-custom-scheduler-config" not found
E1213 06:41:33.515290       1 target_config_reconciler.go:338] {configmap my-custom-scheduler-config} failed with : could not get configuration configmap: configmap "my-custom-scheduler-config" not found
E1213 06:47:18.099441       1 target_config_reconciler.go:338] {configmap my-custom-scheduler-config} failed with : could not get configuration configmap: configmap "my-custom-scheduler-config" not found

In issue #72,  I have a question about the api
required, err := c.sharedInformerFactory.Core().V1().ConfigMaps().Lister().ConfigMaps(secondaryScheduler.Namespace).Get()

And the kubeClient,
It looks in this scenario,  sharedInformerFactory could not find the related object.  from my testing,  kubeClient can get such object.
Is it something missing for the local cache sync ?  from my testing,  it is not working.

I am able to reproduce it locally. The shared informer factory is not started.


Update .editorconfig

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[ ] Not a duplicate
[ ] Included author(s) if appropriate
[ ] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

please explain

please explain

I know you asked them, but figured I'd just comment. His profile is riddled with Hacktoberfest spam.
This was done on the same day as many other inutile contributions.

The only meaningful contribution in the entire GitHub account is: https://github.com/EbookFoundation/free-programming-books/pull/4587
I don't think CC BY 5.0 even exists. :laughing:

blocked


[CELEBORN-401] Modify prometheus-podmonitor.yaml to collect metrics correctly

What changes were proposed in this pull request?
Change the matchLabels of podMonitor from app.kubernetes.io/name to app.kubernetes.io/role
Why are the changes needed?
when deploy celeborn on k8s, master pods will be labeled as

This does not match app.kubernetes.io/name: celeborn-master in prometheus-podmonitor.yaml, in fact, this label is a combination of name and role, after changing it to app.kubernetes.io/role to match The metrics of the pod can be captured normally.
Does this PR introduce any user-facing change?
No
How was this patch tested?

cc @zwangsheng please review this pr

I created a jira and modified the title. We prefer that each commit links to a jira :)

I created a jira and modified the title. We prefer that each commit links to a jira :)

got it, thank you

Sorry for be late, LGTM.
Thanks for you contribution @every-breaking-wave !


end to end testing does not work on windows

I am new to web development and angularjs. My OS is windows 7.  I followed all instructions in 'readme.md'. I am through upto karma tests. But could not get through the e2e testing. The 'npm-debug.log' file says:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\\node.exe',
1 verbose cli   'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'protractor' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose node symlink C:\Program Files\nodejs\node.exe
5 verbose run-script [ 'preprotractor', 'protractor', 'postprotractor' ]
6 info preprotractor<EMAIL_ADDRESS>7 info protractor<EMAIL_ADDRESS>8 verbose unsafe-perm in lifecycle true
9 info<EMAIL_ADDRESS>Failed to exec protractor script
10 error<EMAIL_ADDRESS>protractor: protractor test/protractor-conf.js
10 error Exit status 8
11 error Failed at the<EMAIL_ADDRESS>protractor script.
11 error This is most likely a problem with the angular-seed package,
11 error not with npm itself.
11 error Tell the author that this fails on your system:
11 error     protractor test/protractor-conf.js
11 error You can get their info via:
11 error     npm owner ls angular-seed
11 error There is likely additional logging output above.
12 error System Windows_NT 6.1.7601
13 error command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "protractor"
14 error cwd G:\Vinay\GitHub\angular-seed
15 error node -v v0.10.26
16 error npm -v 1.4.3
17 error code ELIFECYCLE
18 verbose exit [ 1, true ]

i tried running npm test and it show npm err.. after some long codes ..i am new to angular pls do assist me thank you

@eebann There are many reasons why the npm test could fail. It is impossible to help without more information.

am learning how to use angular seed , i downloaded the zip file then used the npm test as directed ..this is what i get which doesnt look right [:( ]

It looks to me like you are trying to run npm test from outside the project folder. Try cd angular-seed or whatever the name of the folder containing the project is called.


update README to reflect v1

supporting documentation https://allspark.dev.data.humancellatlas.org/HumanCellAtlas/matrix-service/wikis/Technical-Architecture

For #322 The difference in the v0 and v1 endpoints don't seem to be explained. - does the README clearly differentiate v0 (contract with the data browser - not intended for humans) and v1 (developer friendly)?

@brianraymor addressed, in Versions section


[Question] Can we improve representation of Money?

For example, I have Pay-In with the next data (screenshot from the dashboard):

When I check this Pay-In in the terminal I have:
In [3]: p = DirectDebitWebPayIn.get('xxxxxxxxxx')

In [4]: p.debited_funds
Out[4]: EUR 18043

In [5]: p.fees
Out[5]: EUR 6542

From my point of view, these values should be represented as EUR 180.43 and EUR 65.42 (as in the dashboard).
To fix this I can suggest to use self.amount / 100 instead of self.amount here:
https://github.com/Mangopay/mangopay2-python-sdk/blob/2a656a8a50597e3ba6b991c4f01b6a98e2e47793/mangopay/utils.py#L62-L63
and here:
https://github.com/Mangopay/mangopay2-python-sdk/blob/2a656a8a50597e3ba6b991c4f01b6a98e2e47793/mangopay/utils.py#L65-L66
But of course, this "fix" will work only for the currencies with 2 digits after the decimal separator. So maybe there can be a better solution.
Also, I understand that Money in the SDK represents An amount of money in the smallest sub-division of the currency, so showing 18043 instead of 180.43 can be correct from some point of view. But we show currency near it and this can be confusing.
But I think the minimum that can be done here is to use for __str__ the same functionality as for __repr__ (means remove :,.2f. For example, when I want to log Pay-In values I have something like next in my logs:
Booking #000000001: Created Pay-In #0000000002, debited funds - EUR 18,043.00, fees - EUR 6,542.00

As you can see, the __str__ method is definitely produces an incorrect representation of the values from above.

In [3]: preauthorization.debited_funds
Out[3]: EUR 2495

In [4]: str(preauthorization.debited_funds)
Out[4]: 'EUR 2,495.00'

In [5]: vars(preauthorization.debited_funds)
Out[5]: {'amount': Decimal('2495'), 'currency': 'EUR'}

But the correct number to show is 24.95. So to show the "blocked" amount of money for a user we need somehow format this value by ourselves. E.g.
In [6]: preauthorization.debited_funds.amount / 100
Out[6]: Decimal('24.95')

or
In [7]: preauthorization.debited_funds / 100
Out[7]: EUR 24.95

It is not correct to divide by 100 because not all currencies have two decimals, see ISO 4217.
In fact, there's no need to use Decimal here at all and it can get confusing because the Mangopay documentation indicates that int type is always used for MoneyCard amounts:
An amount of money in the smallest sub-division of the currency, e.g. 12.60 EUR
would be represented as 1260 whereas 12 JPY would be represented as just 12

So the easiest option is to just use int here, and avoid the {:,.2f} format which introduces a lot of confusion.
If you want to improve the Money class, it makes sense to use Decimal internally, but the amount should be corrected accordingly by something like amount = Decimal(amount) / (10 **currency.decimals). But for that you need ISO 4217 support (some packages exists).

In our project we are actually patching MoneyField to hide the division/multiplication as an implementation detail instead of sprinkling them all over our codebase. Is there any specific reason why customer implementations are made responsible to deal with this? In my view the mangopay SDK's have all the information they need to hide this. I think also not hiding this is a dangerous vector for client codebases to introduce bugs on their end.

Not reason to not encapsulate this dance inside the SDK, I mean, mango.Money(amount=Decimal('10.10'), currency='EUR') means actually 0.10€ :joy:


”SÂNGEORGIU DE PĂDURE” is listed in the drop-down menu

Description:
"SÂNGEORGIU DE PĂDURE" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "SÂNGEORGIU DE PĂDURE" in the search bar.

Expected results
The location is listed in the drop-down menu as "Oraș SÂNGEORGIU DE PĂDURE, MUREȘ".


Cannot install "sortable" definitions (Error 404)

I tried to install as follows
typings -v
> 0.7.8

typings search sortable
> sortable            dt     https://github.com/RubaXa/Sortable

typings install sortable --ambient --save
> typings ERR! message Unable to find "sortable" for "dt" in the registry. Did you want to install ambient typings with the ambient flag? If you can contribute these typings, please help us: https://github.com/typings/registry
> typings ERR! caused by https://api.typings.org/entries/dt/sortable/versions/*/latest responded with 404, expected it to equal 200

typings install sortable --save
> typings ERR! message Unable to find "sortable" for "npm" in the registry. Did you want to install ambient typings with the ambient flag? If you can contribute these typings, please help us: https://github.com/typings/registry
> typings ERR! caused by https://api.typings.org/entries/npm/sortable/versions/*/latest responded with 404, expected it to equal 200

DefinitelyTyped lists the definitions under sortablejs.
Am I missing something here?

I don't understand why the search did not return sortablejs but jquery-sortable.
Anyway, trying to install sortablejs produces the same errors as above.

Thanks for the catch, it's a bug/mistake in the API. I forgot pre-release versions do not match with a range of *.

I get the same error
10:15 $ typings install sortable
typings ERR! message Unable to find "sortable" ("npm") in the registry.

10:18 $ typings install sortablejs
typings ERR! message Unable to find "sortablejs" ("npm") in the registry.
typings ERR! message However, we found "sortablejs" for 1 other source: "dt"
typings ERR! message You can install these using the "source" option.

What does it mean?
However, we found "sortablejs" for 1 other source: "dt". You can install these using the "source"option.
I just want to install d.ts for sortable

The source is dt, so typings install dt~sortablejs --global

Thanks :) I solved it myself by coping d.ts file straight from definitely typed repo.

Good to hear.
In general it is better to use the tool or TypeScript itself to do the resolution because if the library is updated you don't have to manage the files yourself.


[rstmgr] remove first_reset variable

fixes #11143

Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

@matutem what do you think?
Technically i could remove rst_cpu_ni also, since this is a one processor design.
But I'm leaving here mostly as an illustrative example of what might need to be done if there are multiple cores.
If it's easier for DV to just remove rst_cpu_ni altogether, I can do that too.

@matutem what do you think? Technically i could remove rst_cpu_ni also, since this is a one processor design. But I'm leaving here mostly as an illustrative example of what might need to be done if there are multiple cores.
If it's easier for DV to just remove rst_cpu_ni altogether, I can do that too.

@matutem let me know when you get a chance. Since the rst_cpu_ni is actually causing rstmgr_smoke to fail right now.


Support alluxiofs:// schema

i am modifying the local_fallback fsspec abstract test cases  to increase the test coverage but encounter hard to debug issue when numerous test cases. I am figuring out that part

@lucyge2022 @ChunxuTang PTAL, thanks

Quick question: @LuQQiu Will this change have an impact on the customer side? Do you want to update the doc?

@ChunxuTang Yeah, thanks for reminding, i am modifying the doc
basically it will change from register("alluxio") to register("alluxiofs")

TODO with the schema changes, performance tests needed to be updated

@ChunxuTang PTAL, thanks


manager: shutdown raftNode first

it should resolve store deadlock on Stop
ping @tonistiigi @abronan

Not LGTM
The other components can be using the raft node (for example, if they have a proposal in progress). We need to shut it down after those components so we know nothing is still using it.

(We'll crash or hang if something is still using raft when we shut it down)

Agreed with @aaronlehmann. I think a way to cleanly stop the Manager would be to keep track of the proposals and cleanly cancel the context for those proposals (even though this might still replicate the value on other node, as long as we reach the proposal call, the object could/should appear in the logs of other nodes). So that if we are the last node and waiting for a failed quorum, we can cancel the proposals and "cleanly" shut down.


Updating Docs to latest tbDEX

What type of PR is this? (check all applicable)

[x] ♻ Refactor
[x] 📝 Documentation Update
[x] 🧪 Tests

Description

This PR updates tbdex to v0.11.0-beta and its transitive dependencies. Also updates existing tests to match.
Related Tickets & Documents

Resolves #
Mobile & Desktop Screenshots/Recordings

Added code snippets?

[x] 👍 yes
[ ] 🙅 no, because they aren't needed

Added tests?

[x] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

No tests? Add a note

Added to documentation?

[x] 📓 general documentation

No docs? Add a note

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1206820426580956

I think for Verify VC it's failing because Did Dht doesn't have certain verification methods for signing yet..but did jwk worked when I tried to write it out in my local env on intellij
here's a messy example..gonna try it on your branch now

import com.fasterxml.jackson.databind.ObjectMapper
import web5.sdk.credentials.PresentationExchange
import web5.sdk.credentials.VerifiableCredential
import web5.sdk.credentials.VerifiablePresentation
import web5.sdk.credentials.model.ConstraintsV2
import web5.sdk.credentials.model.FieldV2
import web5.sdk.credentials.model.InputDescriptorV2
import web5.sdk.credentials.model.PresentationDefinitionV2
import web5.sdk.crypto.InMemoryKeyManager
import web5.sdk.dids.methods.dht.DidDht
import web5.sdk.dids.methods.jwk.DidJwk
import web5.sdk.dids.methods.key.DidKey

data class VerificationResult(
    val jwt: String,
    val result: Any?, // Replace Any with the actual type of your verification result
    val isValid: Boolean,
    val error: String?
)

fun main() {
    val issuerDid = DidKey.create(InMemoryKeyManager())
    val aliceDid = DidKey.create(InMemoryKeyManager())
    val youDht = DidDht.create(InMemoryKeyManager())
    val newIssuerDid = DidJwk.create(InMemoryKeyManager())
    val newAliceDid = DidJwk.create(InMemoryKeyManager())

    //    println(youDht.didDocument?.verificationMethods)
//    val resolvedMyDid = DidResolvers.resolve(youDht.uri)
//    println(resolvedMyDid)
//    println("this is the DID’s public key information  ${youDht.didDocument?.verificationMethods}")
//    // Define data classes for each credential
    data class EmploymentCredential(
        val employmentStatus: String
    )

    //
    data class DateOfBirthCredential(
        val dateOfBirth: String
    )

    //
    data class NameCredential(
        val name: String
    )

    data class NameAndDobCredential(
        val name: String,
        val dateOfBirth: String
    )
//
//    // Create instances of credentials
    val employmentVc = VerifiableCredential.create(
        type = "EmploymentCredential",
        issuer = newIssuerDid.uri,
        subject = newAliceDid.uri,
        data = EmploymentCredential(employmentStatus = "employed")
    )

//    val dobVc = VerifiableCredential.create(
//        type = "DateOfBirthCredential",
//        issuer = issuerDid.uri,
//        subject = aliceDid.uri,
//        data = DateOfBirthCredential(dateOfBirth = "1990-01-01")
//    )
//
//    val nameVc = VerifiableCredential.create(
//        type = "NameCredential",
//        issuer = issuerDid.uri,
//        subject = aliceDid.uri,
//        data = NameCredential(name = "Alice Bob")
//    )
//
    val nameAndDobVc = VerifiableCredential.create(
        type = "NameAndDobCredential",
        issuer = newIssuerDid.uri,
        subject = newAliceDid.uri,
        data = NameAndDobCredential(name = "alice bob", dateOfBirth = "1990-10-01")
    )
//
//    println(nameAndDobVc)
    val signedNameAndDobVc = nameAndDobVc.sign(newIssuerDid)
//    println(signedNameAndDobVc)
//
//    // Sign the credentials
    val signedEmploymentVc = employmentVc.sign(newIssuerDid)
    //  println(signedEmploymentVc)
//    val signedDobVc = dobVc.sign(issuerDid)
//    val signedNameVc = nameVc.sign(issuerDid)
//
//    // Define the presentation definition
    val presentationDefinition = PresentationDefinitionV2(
        id = "presDefIdloanAppVerification123",
        name = "Loan Application Employment Verification",
        purpose = "To verify applicant’s employment, date of birth, and name",
        inputDescriptors = listOf(
            InputDescriptorV2(
                id = "employmentVerification",
                purpose = "Confirm current employment status",
                constraints = ConstraintsV2(
                    fields = listOf(
                        FieldV2(
                            path = listOf("$.vc.credentialSubject.employmentStatus"),
                            filterJson = ObjectMapper().readTree(
                                """
                        {
                          "type": "string",
                          "pattern": "employed"
                        }
                        """
                            )
                        )
                    )
                )
            ),
            InputDescriptorV2(
                id = "dobVerification",
                purpose = "Confirm the applicant's date of birth",
                constraints = ConstraintsV2(
                    fields = listOf(
                        FieldV2(
                            path = listOf("$.vc.credentialSubject.dateOfBirth"),
                            filterJson = ObjectMapper().readTree(
                                """
                        {
                          "type": "string",
                          "format": "date"
                        }
                        """
                            )
                        )
                    )
                )
            ),
            InputDescriptorV2(
                id = "nameVerification",
                purpose = "Confirm the applicant’s legal name",
                constraints = ConstraintsV2(
                    fields = listOf(
                        FieldV2(
                            path = listOf("$.vc.credentialSubject.name"),
                            filterJson = ObjectMapper().readTree(
                                """
                        {
                          "type": "string"
                        }
                        """
                            )
                        )
                    )
                )
            )
        )
    )
    val firstVerification = VerifiableCredential.verify(signedNameAndDobVc)
    println(firstVerification)

    val presentationResult = PresentationExchange.createPresentationFromCredentials(
        vcJwts = listOf(signedEmploymentVc, signedNameAndDobVc),
        presentationDefinition = presentationDefinition
    )
    println(presentationResult)

    val verifiablePresentation = VerifiablePresentation.create(
        vcJwts = listOf(signedEmploymentVc, signedNameAndDobVc),
        holder = newAliceDid.uri,
        additionalData = mapOf("presentation_submission" to presentationResult)
    )
    println(verifiablePresentation)

    val vpDataMap = verifiablePresentation.vpDataModel.toMap()
    val vcJwtArray = vpDataMap["verifiableCredential"] as? List<String> ?: emptyList()

    val verificationResults = mutableListOf<VerificationResult>()
    var errorsFound = false

    vcJwtArray.forEach { vcJwt ->
        println("test about to try verification")
        try {
            val verificationResult = VerifiableCredential.verify(vcJwt)
            println("I am verification result")
            println(verificationResult)
            verificationResults.add(VerificationResult(vcJwt, verificationResult, true, null))
        } catch (e: Exception) {
            errorsFound = true
            verificationResults.add(VerificationResult(vcJwt, null, false, e.message))
        }
    }
}

okay I got two working JWTs on your branch locally..let me know if I could push to your branch or if I should comment with a suggestion that you can commit!

Thanks @blackgirlbytes. DidJwk works - I've started a convo on Slack for more context on why it's the only one that works at the moment. 🙏🏽


Custom areas are imprecise

I'm trying to use a custom area to describe a simple roadblock. But apparently the small boundingbox also blocks a part of the B11 which is ~110m away: GraphHopper Maps

Custom model
{
  "priority": [
    {
      "if": "in_roadblock",
      "multiply_by": "0"
    }
  ],
  "areas": {
    "roadblock": {
      "type": "Feature",
      "properties": {},
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              13.240481423585088,
              49.0267149660803
            ],
            [
              13.240481423585088,
              49.02662503391971
            ],
            [
              13.240618576414914,
              49.02662503391971
            ],
            [
              13.240618576414914,
              49.0267149660803
            ],
            [
              13.240481423585088,
              49.0267149660803
            ]
          ]
        ]
      }
    }
  }
}

Visualized via geojson.io:

Might be related to #2625

OSM way: https://www.openstreetmap.org/way/118994937#map=17/49.02827/13.24110

Looks like the simplified BBox check is not enough to properly cover this usecase:
https://github.com/graphhopper/graphhopper/blob/af660cdf2fc1a365b279eb6047fc5956e585cfb9/core/src/main/java/com/graphhopper/routing/weighting/custom/CustomWeightingHelper.java#L78-L85
The two intersecting bounding boxes are enough to trigger a hit.


Updating Microsoft.VisualStudio.Linux.ConnectionManager.Contracts and…

Updating Microsoft.VisualStudio.Linux.ConnectionManager.Contracts and liblinux IL.
Removing duplicate stdout.

@gregg-miskelly @caslan @wesrupert

@itodirel

LGTM

                _debuggerLaunched = true;

Your change will make it so that we no longer send this first line to _callback.OnStdOutLine

Refers to: src/MICore/Transports/UnixShellPortTransport.cs:143 in 9a3775f. [](commit_id = 9a3775f81fe7cb2874dc7fd8f932a8fa7202a039, deletion_comment = False)

        }

Can we remove this now?

Refers to: src/SSHDebugPS/AD7UnixAsyncCommand.cs:126 in 9a3775f. [](commit_id = 9a3775f81fe7cb2874dc7fd8f932a8fa7202a039, deletion_comment = False)

Otherwise looks good to me

                _debuggerLaunched = true;

Yep realized that :) Fix in my next iteration.

In reply to: 247150654 [](ancestors = 247150654)

Refers to: src/MICore/Transports/UnixShellPortTransport.cs:143 in 9a3775f. [](commit_id = 9a3775f81fe7cb2874dc7fd8f932a8fa7202a039, deletion_comment = False)


Set the start time for a "every" job

Is it possible to set the start time when using a Every job ?
I want to schedule a job every two weeks, on Monday, starting at a specified date. It is not possible with basic CRON expression but I can achieve this by using @every 336h. But I need to set the start time of course..
Thanks a lot !

c := cron.New()
c.AddFunc("xxxxx", func() {
	fmt.Println("working")
})

timer := time.NewTimer(time.Hour)

for {
	select {
	case <-timer.C:
		c.Run()
	}
}

Hope to enlighten you

I am looking forward too

The "start" time in this case would be whenever you invoke cron.Start(). You can have a system cron that you use to create/start another cron.

Also see #297 for more details.


Laravel 5.5

Coverage decreased (-0.1%) to 88.512% when pulling a8f84c5d4019c5717d4e0e0a3c6e993b6f15aa5f on laravel-5.5 into 226f769a7fccb6bab41e4946270b510ff9f7204b on master.

Coverage decreased (-0.1%) to 88.512% when pulling a8f84c5d4019c5717d4e0e0a3c6e993b6f15aa5f on laravel-5.5 into 226f769a7fccb6bab41e4946270b510ff9f7204b on master.

Coverage increased (+0.3%) to 88.951% when pulling a135cfde8f795deb78e5f31566f58d3df6a3088a on laravel-5.5 into 226f769a7fccb6bab41e4946270b510ff9f7204b on master.

Coverage increased (+0.3%) to 88.951% when pulling 4a8702c471d890c41afe8a9907495a0e470e6284 on laravel-5.5 into 226f769a7fccb6bab41e4946270b510ff9f7204b on master.


Advancing Kestrel to the point of making it a full-fledged Internet-facing web server

On the question of running Kestrel out in the open (not behind IIS/ngnix), the common response is that it shouldn't be done primarily based upon security concerns. For example @DamianEdwards in https://github.com/aspnet/IISIntegration/issues/220 ...

we still recommend that kestrel not be directly exposed to the internet due to it not containing mitigations for common types of DOS and other attacks.

Given that perf is significantly hampered by either or both of IIS and the ANCM module (or ngnix for that matter), it will probably be an on-going feature request to get whatever these needed protections are into Kestrel to make it capable of acting as a standalone Internet-facing web server*.
[* Let's set aside the issues of port sharing and process management for a second, because those won't apply to all cases where one may desire to use Kestrel in this capacity and some workarounds exist for those issues.]
Can you say anything about adding the needed protections to Kestrel? Is there a long-term plan (or even just desire) to do this work?

I wont argue or try to minimize implications of these efforts, but can we call out exactly what would be required here? Does IIS contain anti-DOS / attack code? Seems like that specific requirement... knowing what sort of guidelines were supported, could probably be handled by some clever rx stuff.

There is a plan to add these protections to Kestrel for the next minor release (1.1). No timelines to announce for that right now, but it's months, not weeks or years.

That's excellent news! :+1:


Define routes as an object literal

What is the feature you are proposing?
Hey!
Is it somehow possible to define my routes as an object literal, where each key is the route path and values are Hono instances?
E.g:
import { Hono } from "hono";

const foo = new Hono().get(async (c) => c.jsonT("foo"));
const bar = new Hono().get(async (c) => c.jsonT("bar"));

// this is currently what I have to do:
const router = new Hono()
  .route("/foo", foo)
  .route("/bar", bar);

// this is what I want:
const router = new Hono().routes({ companies, contacts });

I was trying to come up with a util that would walk over the object and add every route with .route, but wouldn't make it work while preserving all types.
Any ideas? Thanks!

Hi @dodas,
Currently, no. I understand your desire for this feature, but I believe adding an additional API app.routes() is not a so good idea. The Hono core should be kept small. But it's my current opinion.

Hey @yusukebe!
I agree that this is probably not something that should be added to the core.
Would it be currently possible to write such util in user-land?
e.g.
import { Hono } from "hono";

const foo = new Hono().get(async (c) => c.jsonT("foo"));
const bar = new Hono().get(async (c) => c.jsonT("bar"));
const routes = { foo, bar };

// could mergeRoutes be implemented in user-land, or in an external package?
const app = mergeRoutes(new Hono(), routes);

Yeah, you can do it but there are some points to consider.
One of the points is how to map the object and path. You might write it as follows, but it's up to you.
const routes = {
  '/foo': foo,
  '/bar': bar
}

And one more thing is about types. I haven't tried it, but it might not be able to infer types correctly.
Anyway, it's worth trying.


changed permissions for docker-entrypoint.sh as stated in issue#530

duplicate of https://github.com/docker-library/postgres/pull/387


problem with select near upper boundary and really small coordinates?

I have a simulation where the coordinate (mu) goes from 0 to approximately 7e-15.
When I try to select at coordinates > 1.598e-15, I get the following error
pgkyl gk31-wham1x2v_elc_0.bp interp sel --z2 1.5985e-15 info
Set  (default#0)
Traceback (most recent call last):
  File "/Users/manaure/anaconda3/bin/pgkyl", line 11, in <module>
    sys.exit(cli())
  File "/Users/manaure/anaconda3/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/Users/manaure/anaconda3/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/Users/manaure/anaconda3/lib/python3.8/site-packages/click/core.py", line 1289, in invoke
    rv.append(sub_ctx.command.invoke(sub_ctx))
  File "/Users/manaure/anaconda3/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/manaure/anaconda3/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/Users/manaure/anaconda3/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/manaure/anaconda3/lib/python3.8/site-packages/postgkyl/commands/info.py", line 34, in info
    click.echo(dat.info() + "\n")
  File "/Users/manaure/anaconda3/lib/python3.8/site-packages/postgkyl/data/data.py", line 592, in info
    maximum = np.nanmax(values)
  File "<__array_function__ internals>", line 5, in nanmax
  File "/Users/manaure/anaconda3/lib/python3.8/site-packages/numpy/lib/nanfunctions.py", line 434, in nanmax
    res = np.fmax.reduce(a, axis=axis, out=out, **kwargs)
ValueError: zero-size array to reduction operation fmax which has no identity

but if I choose I coordinate lower than that, it seems to work. I can provide an example data file, but GitHub doesn't let me attached .bp or .lua.
This is preventing me from being able to examine the distribution function near the boundary :( where some important (but probably undesired) stuff is happening.

This is the same error I was getting in Issue #21  so I think there is some subtle bug in how select actually down selects to a floating point value.

Also, interp sel -1 info seems to give something, presumably the last
cell, but the ranges of that cell are wrong in the info command:
│  └─ Dim 2: Num. cells: 1; Lower: 0.000000e+00; Upper: 1.065599e-16
On Thu, 25 Feb 2021 at 14:53, James Juno<EMAIL_ADDRESS>wrote:

This is the same error I was getting in Issue #21
https://github.com/ammarhakim/postgkyl/issues/21 so I think there is
some subtle bug in how select actually down selects to a floating point
value.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ammarhakim/postgkyl/issues/22#issuecomment-785911023,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQ6DKCOTBYNFKBLYJ7GLRDTAZI6JANCNFSM4YGRKGIQ
.


Added Monte Carlo localization

Added test with a discrete space

This looks good! One small thing: instead of [i, j] for a point, let's use (i, j).

Changes in #603


Support for older versions of MSVC and bug fixes

I've added support for MSVC 2010 (maybe lower) and fixed some minor sound bugs.
I've also added usize/isize for register sized integers (if you don't mind).

Thanks I'll take a look one this jam madness ends (need to get my stuff ready). <3 Cheers

So a lot of code has changed (and I've fixed the bug as well and added usize/isize, thanks for that!). I'll have to check it in older MSVC compilers myself and re-do the changes you've made. So I'll close the pull request for now.


Simplify rxconfig template

Removed all the default arguments to simplify the template.

@masenf someone added the subclass so that they could add additional fields to the config, but I agree it would be cleaner without it.


Open recent is empty

Hello,
Thank you for developing the nice add-on.
Currently, the Reading Progress in the dashboard of the papers that I'm reading is always 0%, and the "Open recent" menu is empty. I fear that some settings need to be done for using it. Is there a more detailed description?
Zotero version: 7.0.0-beta.47+f012a348a
Charter version: 2.1.1

The problem was because the scan period was set somehow to 10000 seconds. After changing it to 1 second, it works.
But now a problem is that in "Open recent", each pdf file appears 3 times.
Thanks.

Hi fkguo,
I’m glad you like it.
It seems that you are migrating from the legacy version, since it was using milliseconds for scan period. In that case, it is recommended using auto import in preferences pane.
In Mac OS, menu items in Open Recent appear 3 times. This is a known issue.


Document the possibility to enable Office 365 CDN without origins

Category

[ ] Question
[ ] Typo
[ ] Bug
[x] Additional article idea

Using SPO PowerShell it's possible to enable the Office 365 CDN without provisioning the default origins. Document the purpose of this capability and its consequences on SharePoint Framework solutions.

Does this article give enough detail? It provides the example, but not sure if it goes into enough detail on consequences on SPFx solutions.
https://docs.microsoft.com/en-us/sharepoint/dev/general-development/office-365-cdn

Yes, it does.


Since latest update, Sentinel not showing any information

Since latest update, Sentinel not showing any information, in Home Assistant just show not available. Before update worked fine.

Commented about the same in an existing issue: https://github.com/guerrerotook/securitas-direct-new-api/issues/161#issuecomment-2027023186


Make faster

See individual commits for each change and the timing difference. This addresses issue #6 sufficiently.

@thii let me know what you think.

I just tested it and it was twice faster than xcpretty 🤯. Awesome! Thanks @brennantaylor!

This has now been released as 0.3.8.


add support for 4:3 (aspect ratio) video recording

close #222

Tested manually on Pixel 7 pro, Pixel 8.


Enhance PrometheusMetricBuilder with Render Interface

This issue involves several enhancements to the PrometheusMetricBuilder struct. We'll be introducing a Render interface to enable the rendering of metrics, allowing for metric concatenation of rendered metrics, and providing the option to include base-level metrics. Additionally, a render function will be implemented to facilitate the conversion of metrics into string or JSON format.

Closing since the parent issue has this marked completed


created customized class to create credentials without login

created customized class implementing ServiceClientCredentials interface to manage the authentication and client initialization.
now we can init the client using the following code:
let authoring_key = "<luis_authoring_key>";

const client = new LUISAuthoringClient(
  new ApiKeyServiceClientCredentials(authoring_key),
  "https://westus.api.cognitive.microsoft.com/luis/api/v2.0/apps/"
);

without 2FA or interactive login

When installing @azure/ms-rest-azure-js you need to use the right version to avoid type conflicts.
The latest version of @azure/ms-rest-azure-js is 2.0.1

Version 2 & above of @azure/ms-rest-azure-js is compatible with Version 2 & above of @azure/ms-rest-js
Versions between 1 & 2 of @azure/ms-rest-azure-js is compatible with Versions between 1 & 2 of @azure/ms-rest-js

The published version of the luis-authoring library uses Version 1 of @azure/ms-rest-js. Therefore, you must use CognitiveServicesCredentials class from Version 1 of @azure/ms-rest-azure-js
npm install<EMAIL_ADDRESS>If you have re-generated the luis-authoring library using the latest version of the Typescript code generator as we have been discussing offline, then you should use the latest version of @azure/ms-rest-azure-js as well. This is because the code generator will generate the library using Version 2 of @azure/ms-rest-js
npm install @azure/ms-rest-azure-js

Thanks Ramya, It works perfectly.

That's great to hear.
I'll close this PR then


Extensions: Add hooks to support virtual clusters

Summary
Fixes #11065
This PR adds several hooks for virtual cluster support.
The changes extend the provisioner helper and allow the cluster list to be grouped by host cluster when there are virtual clusters present.
Changes made in a way to be as least disruptive as possible.
We will refine these extension points in the future and document once stable.
Areas or cases that should be tested
These hooks will be tested by extensions.
Current e2e test should validate that the hooks do not break existing functionality.
Checklist

[x] The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
[x] The PR has a Milestone
[x] The PR template has been filled out
[x] The PR has been self reviewed
[x] The PR has a reviewer assigned
[x] The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
[x] The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

@mantis-toboggan-md finally got this to pass gates - refactored as we discussed.


Tracking issue for Korean translations

This is a tracking issue for Korean translations.
If you have any questions/problems with Korean translations, feel free to leave a comment here!

@QuqqU Which chapter are you currently working on (or planning to work on) ?
I'd like to start working on translating a new a chapter that hasn't been taken :smiley_cat:

@JOE1994
hello! I had translated ch.2 but these days I'm so busy with work, so i can't translate it more...(maybe next month I'll do again)
I can think you can do the chapter you want including ch.2

Thank you for your response 👍
I will take care of translating chapter 2.

PR with translation of 2nd chapter is open: https://github.com/phil-opp/blog_os/pull/1101

I will not work on translating the remaining posts,

Never mind :smiley_cat:
I'll translate chapter 4 unless someone else is already working on it.

PRs with Korean translations for chapter 4 & 5 are open (waiting for review):

https://github.com/phil-opp/blog_os/pull/1135
https://github.com/phil-opp/blog_os/pull/1162

Can I do a review?

Can I do a review?

Sure! Choose any of the two open pull requests to review the translation :)

Let's review chapter 4 first, and then review chapter 5 if possible.

May I participate in the review too?

PR for chapter6 is open & ready for review.
If anyone would be available to review the translation, that would be awesome!

https://github.com/phil-opp/blog_os/pull/1175

Most convenient way to review the translation is to use Zola to build the blog webpage,
and have the English version of the blog post and the Korean version of the blog post side-by-side.

PR for chapter7 is also open for review:

https://github.com/phil-opp/blog_os/pull/1177

Hello! I'm translating Chapter 8 with below PR
#1185

@potatogim ping me when you're done translating.


Come up with tool name

Current idea is DeCom? Can we add 'protein'?

DeComP

DeCoMP: Deconvolution Comparison of Mrna and Protein data

Decomprolute

We decided on Decomprolute!


[FEATURE] Default Dodona: submit solution shortcut

Suggestions:

Easy to press with small left hand, right hand can stay on the mouse.
Only two keys to press. Three keys defeat the purpose of a shortcut.
Keys are not far apart on AZERTY keyboard.
Key combination isn't in use.

If a good shortcut is chosen, it removes a step from the installation guide. If users want another combination, they can change it.

The homepage shows instructions for users to create a custom keybind, this does not necessarily have to be three keys, so they can create a two-key shortcut if they really want one. Do you have any suggestions for shortcuts? Many of the obvious two-button combinations are already in use.

Indeed, shift and ctrl are not an option because most of the combinations are taken. Some suggestions (in this order):

Alt + s  (from Submit solution) (already in use for Selection in toolbar at the top)
Alt + d (from Dodona) ✅
Alt + a (from Dodona)
Alt + e (from Evaluate)


Revert "Revert "Actually update binaries during kube-push""

Reverts GoogleCloudPlatform/kubernetes#5417

@zmerlynn @dchen1107 Sorry about the confusion -- I decided to err on the side of paranoia.


TypeScript Definitions Issue

Because of the recent change in TypeScript definitions (from namespace to type) in https://github.com/nbubna/store/commit/1ca5d1605bfdd8f1662317e8f7182f91d5075439, the package is now broken for TypeScript users. I've confirmed that store.set() and store.get() work as usually in JavaScript, but because store is now a type in the TS definitions, it can't be used the same way. (Since our project is written in TS, the latest version of store breaks our builds.)
Is there a change to how we're supposed to handle the package in TS? Or is this a bug? Either way, would really appreciate some help here.
Thank you!

Drat. I tried to test this, but i don't really use store with TypeScript myself. What errors are you getting and do have some instructions on how i can replicate them to test/fix it? Or do you have a patch for the index.d.ts?

And i don't understand why store would work better as a namespace than a type.

I have the same issue!

@nbubna
error message
'store' only refers to a type, but is being used as a value here. ts(2693)
store is exported twice, once as type and second as default object, and that is what confuses Typescript I think!  if you just rename the type store name e.x "storeT" will solve the issue probably!

@Ali-Hussein-dev You're right, I think it's the replication, not the namespace - I missed that object! And yeah, that's the issue.
@nbubna You can reproduce it by installing TS and store and adding this:
import store from 'store2';
store.get('something');

To a script. As soon as you try compiling it, it'll error.

I can try sorting out a patch for index.d.ts, but it'll probably have to wait until tomorrow morning. If nobody does it I'll give it a shot

I think the problem can be reproduced in a TS environment, with the following compilerOptions
  "compilerOptions": {
    "moduleResolution": "node",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "importHelpers": true,
    "target": "es2015",
    "module": "esnext",
    "lib": ["es2017", "dom", "es5"],
    "skipLibCheck": true,
    "skipDefaultLibCheck": true,
    "strict": true,
    "removeComments": true,
    "forceConsistentCasingInFileNames": true,
  }

I changed the name of the store type in the definitions file the error went away.
// ...code
export type storeT = StoreBase & {
  local: StoreBase;
  session: StoreBase;
  page: StoreBase;
};
export default store

But there's no other "store" - how does it work?

@nbubna I've created a very basic reproduction, in case you still need it: https://github.com/shirblc/store2-repro

But there's no other "store" - how does it work?
Edit: @Ali-Hussein-dev I've tested your solution but it doesn't work. Have you made any other changes to the TS declarations file?

no the just the renamed the store type

@nbubna I've created a very basic reproduction, in case you still need it: https://github.com/shirblc/store2-repro

I do not know why but your tsconfig is different from the one I shared!

I see, you're counting on
    "skipLibCheck": true,

to prevent errors, but that doesn't solve the issue, it just means the library isn't tested, which essentially has the same effect as turning it into JS.

I see, you're counting on
    "skipLibCheck": true,

to prevent errors, but that doesn't solve the issue, it just means the library isn't tested, which essentially has the same effect as turning it into JS.

no, the only change I made and it removed the error log is the change I made to the definition file!

Look at your tsconfig. You've got 'skipLibCheck' turned on.

Anyway, the point is, there are two ways to sort this:

Either create a namespace with all the variables, functions and types in it; that way it'll all be accessible to TS properly
Create a function to instantiate the store and make it the default export; all other variables and functions will become object properties/methods

Given that localStorage is a globally accessible static thing, I'm guessing the first is the right way you want for this, @nbubna?

Ok, so the issue is that the index.t.s is now incorrectly telling TypeScript that 'store' is a type, when it's actually an object.  Going back to the namespace pattern is not ideal, though, since it was utterly repetitive.  If i change 'export type store ...' to 'export type StoreType ...', is there then a way i can simply declare that there is an object named 'store' that is of the type 'StoreType'?

`export type StoreType = StoreBase & {
local: StoreBase;
session: StoreBase;
page: StoreBase;
};
declare const store: StoreType
export default store`
This appears to be syntactically correct, does that work? Sorry, i've done a fair bit of TypeScript, but i'm far from expert at it, and i'm clearly struggling to write a good index.d.ts for a JS lib.

Based on my knowledge of TS, it should work, but let me try it

Works exactly as it should, thank you very much @nbubna!
Also, to be fair, I haven't done a lot of declarations writing, so totally understand you there. It's not as easy as it seems sometimes

Thank you, shirblc, for the test repo! And being willing to test. I think i was able to test too, using your repo. I checked it out was able to get the error, then manually tweak the store2 index.d.ts as i show above in the node_modules directory, and ran tsc again. It seems like it does the trick.  So i think we're good. I'll get a bugfix release out asap.

Ok, 2.13.1 has been published. Thank you, again, for the help with this one! And sorry for the trouble.


confirmSignatureRequest doesn't work when signing TypedData

Unable to use confirmSignatureRequest when signing typed data [see the image below]

 Screenshot

The confirmSignatureRequest does work when signing a string message but doesn't work with typed data signing.
How to reproduce?
With ethers.js call the signer._signTypedData function. You should see something similar to the image above ☝
    const tokenContract = getTokenContract(library, chainId);
    const nonce = await tokenContract.nonces(account);
    const permitParams = {
        owner: account,
        spender: stakingContract.address,
        value: amount,
        nonce,
        deadline,
    };
    const domain: TypedDataDomain = {
        name: await tokenContract.name(),
        version: '1',
        chainId,
        verifyingContract: tokenContract.address,
    };

    const signature = await signer._signTypedData(
        domain,
        EIP712_TYPES,
        permitParams,
    );

Root Cause
After some investigation into what might be the cause. I found that confirmSignatureRequest is looking for a CSS selector .request-signature__footer__sign-button. This works when the signing data is string. But when it is a TypedData the selector change to signature-request-footer [see the image below]. That's why confirmSignatureRequest doesn't work.

Possible solutions

Add a flag to the confirmSignatureRequest(isTypedDate = false) and handle the logic internally
Allow the caller to pass the class selector of the sign button confirmSignatureRequest(classname: ?string)
New API to do this and call it confirmTypedSignatureRequest

After doing some research and going through the tests for the MetaMask/test-dapp I found you should use confirmMetamaskDataSignatureRequest to sign TypedData instead of confirmSignatureRequest
Sorry for the misunderstanding.


UX: hard to tell which python uv will use

TBH, I'm not sure if this is a bug, or a subtle part of the python selection process, but I'm never sure which python uv will use.
For example:
❯ uv --python-preference=only-system python list
cpython-3.13.0-windows-aarch64-none    C:\Users\hwine\AppData\Local\Programs\Python\Python313-arm64\python.exe
cpython-3.12.2-windows-aarch64-none    C:\Users\hwine\.pyenv\pyenv-win\versions\3.12.2-arm\python.exe

leads me to believe that version 3.13.0 will be used, but 3.12.2 is used:
❯ uv --python-preference=only-system run python
Python 3.12.2 (tags/v3.12.2:6abddd9, Feb  6 2024, 22:02:46) [MSC v.1937 64 bit (ARM64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()

I would like some way to see in advance which python uv will run for a given python-preference.

I think you're just looking for uv python find which will tell you which interpreter we'd use.

(uv python list is not sorted by priority, but by version)

I think you're just looking for uv python find which will tell you which interpreter we'd use.

\o/ That is, indeed, exactly what I was looking for.


Add permission request handler

Why
RxPermissions is used for RxJavaTemplate.
In our new template, we currently don't have a permissions request handler, so let's add Peko to support Coroutine & Flow
Reference: https://nimble-co.slack.com/archives/G41UCTGHL/p1657594027286929
Who Benefits?
I think this is essential for us developers because it will bring a good experience for us.

maybe start with a prefix [RFC] to help improve its visibility? 💡

@sleepylee I'm glad you raised this 👍 In my opinion, adding [RFC] is quite redundant, because every feature or chore needs to go through a voting process anyways.
What do you think? Please correct me if I'm wrong, but I don't see any added value of the prefix 💭

it's your call, my point of view is from the backlog standpoint, as you introduced various different formats, I'm just suggesting a better way to manage their visibility better. But if you think you can manage it and so do the others, then you can skip it.

and to do or to skip, please clarify so the others can follow up our conversation, just a reminder in an opposing way to an emoji, @Tuubz 😇

My bad.
The idea for having [xxx] in front of the issue title was to reference the epic of that issue (for better visibility). But after discussing with Julien on GitHub Projects Handbook, we agreed to add a new field for it in the project board instead:

So I'll stop adding [Sample], [CoroutineTemplate], ... from now on 🙏


Bump version of djangoCMS in contributing docs

since we did not update frontend code to use spaces yet

:+1:

Thanks :)


Start Image Fails to load IOS Chrome

The start image doesn't seem to load on an IPad in Chrome.  It looks like it is loading but then it loads a blank white image with the play button.
It works on desktop chrome and android chrome just fine. This leads me to believe the problem is within the IPad version of Chrome but I'm not sure.

@chrisantonellis I ran into this issue today as well. I solved the CORS issues by having S3 return the access-control headers. Everything's working on my dev machine but on chrome on my iPhone, I'm running into the same problem - plain white screen instead of placeholder image. In safari it works great.
Any ideas?

Same here. But it extends to the Mac version of Chrome as well. White background instead of placeholder. Nothing happens on hover. But sometimes I see a very fast flickering, then the image goes away.


Test if route is not empty

On 404 pages, the _route request attribute is not defined. In this case, it is not necessary to try to generate an url. Moreover, there is one (useless) line of debug log per locale :
app.DEBUG: Router [...] was unable to generate route. Reason: 'Route '' not found': Unable to generate a URL for the named route "" as such route does not exist

+1


Blockquotes Not Rendering

Heyyo, loving Parsedown! That said, I've been unable to get v1.6 to correctly recognize and render blockquotes. Here's a snippet from my Markdown:
> A simple button object for use anywhere

Per the Markdown syntax standard, one would expect this to render:

A simple button object for use anywhere

Instead I'm seeing the following:

> A simple button object for use anywhere

I went through Parsedown's source code to see if I could fix it but it's a bit over my head. Please advise!

hm, can u reproduce this at http://parsedown.org/demo

hmmm, good question and strangely enough I can't! Seems to function exactly
as expected, which is great cause it means the issue is on my end
somewhere, but really that only confuses me even more!
On Sun, Mar 27, 2016 at 2:02 PM Emanuil Rusev<EMAIL_ADDRESS>wrote:

hm, can u reproduce this at http://parsedown.org/demo
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/erusev/parsedown/issues/397#issuecomment-202144877

--
--rg

Make sure you're not doing something that's converting it to >. This was my problem. All the > quotes had been converted to html entities in the database I was using.

I have the same problem... But only when I use a blockquote inside a div with markdown="1". Maybe that will help somebody.

Since it didn't appear to be possible to reproduce this issue, I'm going to close this one – please reopen if you can reproduce this with the latest version though.
@bartb it may be the case that your issue related to markdown within HTML is fixed by the changes in #514, which will be included in the next release.


Exporting a function named html provokes a 404 (index.html.html)

Hello,
It looks like doing this:
// NOTE: Just `export { html } from '@lit-labs/ssr';` will not show in TypeDoc.
import { html as litHtml } from '@lit-labs/ssr';
export const html = litHtml;

is producing this page : index.html.html.
That will trigger a 404 page.
Renaming to htmll, for example, solve the problem.

Just an additional note, when deploying to GH Pages, it does work.
It might be correlated to trailing slash behavior.

I can't reproduce this. I copied your code into a new project, installed the latest TypeDoc version + @lit-labs/ssr, and ran TypeDoc on that file. The generated docs appear to work just fine, producing this:
~/Desktop/td_tests> tree docs
docs
├── assets
│   ├── highlight.css
│   ├── main.js
│   ├── navigation.js
│   ├── search.js
│   └── style.css
├── functions
│   └── html.html
├── index.html
└── modules.html

Hello. Indeed it's working in production, when it's served from an env which add a trailing slash (Vercel, GH Pages…).
In dev. it broke, I think, because of that and maybe another factor.

Thanks!

Looking at that, index.html.html is the expected filename, as the member is named html and is in a module named index. Links to it look like they work...

Oh, I've see I've overlooked an important fact: in local dev, I use npx serve docs.
Only with index.html.html, I've got the 404 + redirect to functions. Trailing slash has nothing to do with it, as I suspected at first.

Maybe overly zealous Regex?
So, I conclude that this is a serve issue, not a Typedoc one!
Thank you. Closing


Pydoc checker job for the Backbone service

We'd like to run pydoc checker job on the CI for all PRs that are made against backbone service repo.

@msrb @vpavlin or anybody else - could you please review it?

[test]


Detect PR & Auto Assign Issue

It would be nice if the bot can detect open pull requests to unassigned issues and automatically assign the pull request author.
Make sure that it only works for the first pull request opened and it's actively being worked on. In case two bounty hunters try to compete with each other on the bounty without first assigning themselves: the first to open should get the assignment.
https://t.me/UbiquityDevPool/2506

/assign

@pavlovcik I assume this would run on an interval

Unfortunately, pull requests linked to an issue by comments does not show up on the pull request and issues endpoint

However, i found it shows up on the timeline here as a cross-reference
Either this or scraping pull requests to look for open pull requests on the Development tab should work

If anyone has a solution to show issues on a pull request or vice versa, it would appreciated.
As the current implementation i have would require :- Fetching all PRs, Fetching all open issues, Checking timelines of open requests and if there is the pull request on the timeline exists, is open and no one is assigned
Owner of pull request is assigned

Or more easier, track the pull request down by the pull request body.
So the hunter needs to have texts like fixes #10 or resolves #10 for auto assign to trigger

@pavlovcik

If anyone has a solution to show issues on a pull request or vice versa, it would appreciated.
As the current implementation i have would require :- Fetching all PRs, Fetching all open issues, Checking timelines of open requests and if there is the pull request on the timeline exists, is open and no one is assigned
Owner of pull request is assigned

You shouldn't assign yourself without fully understanding the issue or possible implementation first.

If anyone has a solution to show issues on a pull request or vice versa, it would appreciated.
As the current implementation i have would require :- Fetching all PRs, Fetching all open issues, Checking timelines of open requests and if there is the pull request on the timeline exists, is open and no one is assigned
Owner of pull request is assigned

You shouldn't assign yourself without fully understanding the issue or possible implementation first.

I understood it and it is in progress.. just need to confirm, you can see i have possible implementations above lol
Just need to know what would work best

So i have 3 possible, scraping, using timelines or pull requests body.. I initially thought GitHub API will add the issue on the pull request linked through the bod.
But they don't, that's why i'm here

Thanks, I really appreciate. i'd go with scraping

you should parse linked element (like below) instead of Resolves ##

I did not quite get this

However, i found it shows up on the timeline here as a cross-reference
Either this or scraping pull requests to look for open pull requests on the Development tab should work

Thanks for the file parser.ts, works exactly as i planned here

@Steveantor scraping was a breeze.. i have finalised the PR and its ready to review
Thanks for your help again

This isn't working anymore.
Perhaps a core team member should take this over.
rfc @ubiquity/software-development
Here is the diff from the latest commit on this pull request to the current development HEAD: https://github.com/ubiquity/ubiquibot/compare/2399857f507467fa9f9672855580c68c457bee97..development#diff-41f183deca0c54367420ce6e3bf0764513ba00c2ce136bb19056c616c2c06a59

This isn't working anymore.

Perhaps we'd need tests here, so one doesn't work on one feature and break another.
Every feature in the bot would be tested

This isn't working anymore. #746
Perhaps a core team member should take this over.
rfc @ubiquity/software-development
@wannacfuture can you investigate this
Here is the diff from the latest commit on this pull request to the current development HEAD: https://github.com/ubiquity/ubiquibot/compare/2399857f507467fa9f9672855580c68c457bee97..development#diff-41f183deca0c54367420ce6e3bf0764513ba00c2ce136bb19056c616c2c06a59
Useful to compare against the changed files for this feature https://github.com/ubiquity/ubiquibot/pull/273/files

Let me take a look at this.

@pavlovcik i noticed this is a penalty.. It's been a long time since I worked on this issue

@pavlovcik i noticed this is a penalty.. It's been a long time since I worked on this issue

Let's see if the penalty feature even works...I've never seen it work in production before. If it does, I'll make up for the difference. Just let me know the results please!

@pavlovcik i noticed this is a penalty.. It's been a long time since I worked on this issue

Just let me know the results please!

Okay, I'd do that. Perhaps my next permit would contain the penalty info

As a heads up: if it renders a permit with a penalty don't claim it. I'll manually revoke the permit, remove the penalty, and regenerate the new permit instead.

Just want to make it clear.
So, @pavlovcik  We'll ignore all the assign rules for the linked first pull request for the issue, right?
'll assign that pr's author to the issue even he reached max limit or so.

Just want to make it clear.
So, @pavlovcik We'll ignore all the assign rules for the linked first pull request for the issue, right? 'll assign that pr's author to the issue even he reached max limit or so.

Not ignoring will render the PR author's contribution useless, and other users will simply copy-paste his code
and take the reward

Just want to make it clear.
So, @pavlovcik We'll ignore all the assign rules for the linked first pull request for the issue, right? 'll assign that pr's author to the issue even he reached max limit or so.

I designed the rules for reasons. Always follow the rules.

I took a look on it.
necessary functions are ready on https://github.com/ubiquity/ubiquibot/pull/657
'll finish this right after it is merged.


Text contrast is wrong

I would like to work on this issue

I would like to work on this issue

Thank you for your interest but a pr has already been made

Sorry I already amended this


Dark version of the logo

Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!
Jord on discord is giving a presentation soon and it would be great if we can give him a dark version the logo that will sit well on this page:

What type of pull request would this be?
No response
Any links to similar examples or other references we should review?
No response

Its'a me! If you can send it over i'd appreciate :)

@niktek @jordharr Here's a quick set I threw together and dropped on Notion. There's .zip files you can download that contain a set of images:
https://walnut-fly-221.notion.site/Skeleton-Presskit-be8b41488d20423aa76a836d44bf5d3e
The logos.zip is the one you'll want. Look in the PNG folder for a black variation of the logo icon/text.


ERROR com.intuit.karate - java.net.SocketException: Connection reset, http call failed after xxxxx secs

I have been trying to run a service which was working fine before. the only change happened is the conversion from http to https. Ususally in my other Karate projects , this was handled by
[ * configure ssl = true  ] in the feature file.
But for current project I am receiving the below error :
ERROR com.intuit.karate - java.net.SocketException: Connection reset, http call failed after xxxxx secs
I tried the below workarounds found in the stackoverflow but could not succeed.

usage of Karate-jersey instead of Karate-apache in the pom.xml
usage of below dependency

org.apache.httpcomponents
httpclient
${apache.version}

Below are the versions I used in pom file.
<karate.version>0.9.5</karate.version>
<apache.version>4.5.12</apache.version>
Strange this is my colleague was able to execute the same feature file in his system by changing the true to false for ssl validation as below:

configure ssl = false

But when I try this I get the SSL handshake exception. Can anyone help here ?

you are not going to get better help here instead of stack overflow unless you follow this process: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue
maybe you have a proxy involved: https://stackoverflow.com/a/60641599/143475

you are not going to get better help here instead of stack overflow unless you follow this process: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue
maybe you have a proxy involved: https://stackoverflow.com/a/60641599/143475


Bring back form alias support for Symfony 2.8 which have been dropped accidentally

@egeloen Could you please make a release with this commit ?

Thanks for pointing it out! I will do it tonight...

@wadjeroudi Done: https://github.com/egeloen/IvoryCKEditorBundle/releases/tag/4.0.5

@egeloen Thanks for your reactivity.


Manually tweak usage?

I know of compute throttle <int>
Can you explain the ini values a bit and how one tweaks the resource consumption with them? especially localworksize and globalworksize
[tunedparameter]
devicename=Caicos
deviceidentifier=Caicos_Advanced_Micro_Devices__Inc__4098_OpenCL_1_2_AMD_APP__1800_11__1800_11__VM__0
localworksize=16
globalworksize=512

localworksize and globalworksize are the two values that are passed to the OpenCL API. You can look this up in the OpenCL Documentation.
Depending on your actual computing device (e.g., your GPU), different work sizes are possible. TeamspeakHasher tries to find a good choice for these values in the initial tuning phase.

Thanks :)


Peer-to-peer code review

@RileyManda Awesome work thus far!
One thing I want to point out is the specific requirements for this feature.

Each counter should be implemented as a separate module.
A counter function should look for specific DOM elements (e.g. for the comments counter it should look for comments) and make the counting based on what is actually displayed on the page.

Currently, you're counting the items after you call fetch() and simply getting the length. I hope the point I'm making is clear and you can make these adjustments. Feel free to comment if you have any questions.

Hi @henokkhm :wave:
Thank you for your peer review on my implementation.
I will update my implementation by removing the additional function getTVShowsCount that was fetching data from the server again from getTvShow.js and implement itemsCounter to count the number of items on the dom.
getTvShows will now only focus on fetching items from the server to populate the view while itemsCounter will count the children and pass the parameter as a util to the dom to display the count on children
Thank you for your advice and input on this.:handshake:
Much appreciated.


Purchase fails on iOS

PlatformException(400, The product id <our redacted, correct product id> provided doesnt match with any product in the receipt., Chargebee error, null)

The id in the error message is definitely correct and exists.
purchase sometimes fails for some users.We're using the flutter sdk:
The product id is definitely correct.
It currently affects a single user, who tried to purchase 7 times but it failed each time.
Perhaps the user picked a plan (say for 12 months) in the app & switched to a different plan in the purchase dialog? Then the receipt from Apple wouldn't match the expected product id.

Perhaps the user picked a plan (say for 12 months) in the app & switched to a different plan in the purchase dialog? Then the receipt from Apple wouldn't match the expected product id.

This might result in a similar error. However I am not sure if the user would be able to switch the products? Is this something you have observed?
Also is there any differentiation among these products?(Like are they all Subscriptions/InAppPurchases?)

Switching the product in the purchase dialog isn't possible. I think I checked this at some point. The user can still switch through the Appstore later though.
All products are subscriptions, only differentiation is id, name, price and billing interval.


Add Firefox to story browser list

This can be tested by:

Installing Firefox iOS app on simulator https://github.com/mozilla-mobile/firefox-ios
Installing this PR on simulator
Running NewsBlur
In app preferences change story browser to Firefox
Go to story detail screen and tap on browser icon

LGTM, thanks!