Number of requests allowed

Hello,
Thanks for this nice API on You.com.
Actually the number of requests allowed is 5 per minute. Will this number be increased in the future or are there any subscription API planned?

I plan on setting it to 10 or maybe 15, maybe a subscription based system but I don't like making money of a other platform that isn't focused on making money

What would you suggest as an limit?

I don't really know, for personal use I suppose that 15 per minute should be right.
I understand your point of view regarding the free platform You.com. But for professional use in applications, do you know if there are some plans?

I can upgrade the server so i can increase the limit to 30 or 40 but the upkeep costs would be to much for a 15 year old. I will set the new rate limit to 15 for testing soon.

Also the only "paid" thing that there is rn is a personalized api key by donating you can dm me for a custom key


Speed Ramp up method

[x] First, check if this is actually different to acceleration profiles
[ ] Motor Power Ramp
[x] Motor Speed Ramp (#89)
[ ] Motor Position Ramp (e.g. do x degrees and ramp speed up meanwhile)
[ ] Use acceleration profiles if right motor, method and time limitation (with config option to avoid) (does not work, command does not transition well to next speed for time)
[x] Add Cancellation Token support

Lesson Learnt from #48

The LWP acceleration profiles are described as a linear ramp of speed. It is time wise limited to 10s and limited to TachoMotor and AbsoluteMotor.
They are identical in sense of linear increase of speed.
However, for BasicMotor or avoiding the 10s limitation, this proposal still make sense.

Close this with RampUp on Speed.


[FLINK-13090][hive] Test Hive connector with hive runner

What is the purpose of the change
To use hive runner in our hive connector tests.
Brief change log

Added a JUnit runner FlinkStandaloneHiveRunner which launches a standalone HMS and provides an embedded Hive shell. The standalone HMS is closer to real world deployment, and the Hive shell makes it easier for us to write test cases.
Changed HiveTableSinkTest to use FlinkStandaloneHiveRunner, so that we can use the Hive shell to verify data instead of reading from files ourselves. This will give us more confidence that the written data is hive-compatible.

Verifying this change
Adapted existing test cases.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? NA

cc @xuefuz @bowenli86 @zjuwangg
Please note although the PR comes with a shim for hive runner, I haven't verified it against Hive-1.2.1 since the build is currently broken. The shim is simply ported from our internal Blink.

@xuefuz I don't think we need to worry about licenses because all the newly introduced deps are in test scope and only intended to be used during testing.

Sounds good then. +1 for the PR to be merged.

CI report for commit c9a63b5246e7ff7f2049955ec417646dbb05b021: SUCCESS Travis

@flinkbot attention @zjuwangg

Rebased and addressed comments. @bowenli86 please take another look, thanks.

@lirui-apache LGTM, thanks for your contribution.
Merging


Incremental learning Code

Does the author provide any code for Incremental learning? I can't seem to find it

+1


STITCH-2526: Add findOne() functionality

Coverage increased (+0.2%) to 66.4% when pulling 59a3f8e6d9481299932d62876d93f1c11cbf8e95 on tkaye407:findOne into a1eeaa3dc4d5287314478349a7b11f6ffc37217c on mongodb:master.


Posix PSE52 Support

Provide a POSIX compatibility Layer on top of native APIs:

[ ] 1003.1b-93 Realtime Signals
[x] 1003.1b-93 Semaphores
[x]  1003.1b-93 Hi Res. Clocks & Timers
[ ]  1003.1b-93 Shared Memory
[x] 1003.1b-93 IPC Message Passing
[x] 1003.1c-95 Threads
[ ] 1003.1c-95 Thread Safe Functions
[ ] 1003.1c-95 Thread Attribute Stack Address
[ ] 1003.1c-95 Thread Attribute Stack Size
[ ]  1003.1c-95 Thread Priority Scheduling
[ ] 1003.1c-95 Thread Priority Inheritance
[ ] 1003.1c-95 Thread Priority Protection

@nashif Could you share the roadmap for this or a planning document?

@nashif looking the features, aren't we targeting pse51 ? pse52 is pse51 + file systems + asynchronous I/O.
If we're targeting pse52 we need to add:

memory mapped files
files and directories
Asynchronous I/O


New chat from template doesn't work if chats folder is missing

Steps to reproduce:

delete ChatGPT_MD/chats folder
select Create new chat from template from the command menu
watch as nothing happens

Steps to troubleshoot:

create  ChatGPT_MD/chats folder

Thanks for the issue @Maximilian-Staab I can have it raise a notice, but this functionality is intended. A chat and templates folder are required.

Thanks for the quick response Bram, but there seems to be some confusion about this issue. Setting a folder for templates and chats is documented in the Readme, but I assume a user would still expect the folder to be created automatically if it's missing. Either that or a popup message telling the user about the missing folder (+ button for creating it quickly).
Right now, without a notification or documentation in the Readme, the user might assume that the template feature is broken.

Hmm gotcha, good point both. I'll add a modal to create default folders as an FR.


dvclive.init: Future of arguments

Discussion regarding dvclive.init and it's number of arguments have emerged across multiple issues (i.e. https://github.com/iterative/dvclive/pull/69, https://github.com/iterative/dvclive/issues/75, https://github.com/iterative/dvclive/issues/121, https://github.com/iterative/dvclive/pull/124), specially those regarding the addition of new features, so I opened this one to concentrate all discussions.
From an user perspective I prefer having as many explicit arguments as needed, as long as they are useful and well documented, rather than "hiding" the arguments under **kwargs** or even a config file. Maybe I'm biased because I feel that using APIs with too many arguments  (~8+) is not a real problem if all of them are actually useful, the library uses things like proper naming and types and you are using a modern IDE.
I would need to think about it and consider other perspectives to actually have a strong preference,.

Regardless of the options for extending arguments, I think it could be also worth to take a step back and consider the general interface to check if some of the arugments already existing could be removed/revisited in order to "make room" for new ones:

html

Given that this argument is only used when DVCLive is used alongside DVC. I think it could be removed from dvclive.init and just let it be configured by env.DVCLIVE_HTML.

step / resume

I'm not really sure what would be the indented use case for this argument outside it's interaction with resume. Unless I'm missing some other use case, resume and step could be merged into a single argument resume_from: Optional[int] = None?

summary

How much would this actually be used to disable the summary? Would someone complain if we remove the argument and just always create it?
If we come to the conclusion that users might not really want to have a summary, we could maybe rethink the log/next_step interaction to allow them to skip the summary:
If the user doesn't really want a summary, we could "ask" to always call dvclive.log with a explicit step, otherwise we assume that callingnext_step (either explicitly or implicitly by calling dvclive.log twice without step) means that the user wants a summary.

I know all the above options would imply a significant "shakeup" to the existing API but I think that this kind of discussion has, in the end, the same goal to the one about how to extend the arguments.

summary could be reused for configuring something like: https://github.com/iterative/dvclive/pull/124

html - I agree that we could get rid of that
resume/step - i never used them separately, and I think they could be merged
summary - i think making it part of #124 would be a nice extension of functionality, possibly allowing us to not create it if needed (eg if summary=None dont create it)

I know all the above options would imply a significant "shakeup" to the existing API but I think that this kind of discussion has, in the end, the same goal to the one about how to extend the arguments.

Well, we are at 0.0.6, its still a wild west - we will just bump the minor version in that case.

html
Hmm, yes, it seems like the considerations are similar to https://github.com/iterative/dvc/issues/6182 and https://github.com/iterative/dvc/pull/6332. Agree that it's probably better to have this specified by a dvc env var.
Are these basically hooks for experiments/checkpoints? Maybe we need a more general mechanism here? 🤔
resume/step
They do seem redundant, but how would I do the equivalent of dvclive.init(resume=True) if we collapse them?

resume/step
They do seem redundant, but how would I do the equivalent of dvclive.init(resume=True) if we collapse them?

resume_from=0.  Currently, resume=True is actually step=0, resume=True.
If we define resume_from: Optional[int] = None, we would make:

resume_from=None (default) equals to resume=False.
resume_from=X equals to resume=True, step=X.

resume_from=0 equals to resume=True, step=0, trying to read step from summary.

IMHO keeping resume and step separate may be less confusing, or at least it's not an obvious enough improvement to change the API. Something like step=5, resume=True is also confusing, but I think it's unlikely for users to do that unless they are trying to break something 😄 .

I think that if we would like to have resume_from we would need clear and easy communication equivalent for resume=False and resume=True (which means resume from latest found).

Maybe combining step and resume is not really the way to go.
Having resume as a boolean makes sense. Maybe we could just remove step from the public init? What would be the scenario where someone passes step=X (being X other than 0) and resum=True)?
If there is such scenario, would it make sense to  "hide" the step property under something like dvclive.get_step/dvclive.set_step??

Having resume as a boolean makes sense. Maybe we could just remove step from the public init? What would be the scenario where someone passes step=X (being X other than 0) and resum=True)?

When one would like to start from a different step than the latest, but it's hard for me to imagine how such code would look like - because the model would also have to be brought back to X.

Removing step from dvclive.init() makes sense to me. And, as mentioned in #113, a step property could be helpful in a lot of scenarios.


Query Service: Add "createOn" field to responses.

Approved, but I'm curious how you're balancing "our" creation date vs what the user knows and sees.

The timestamp in the DB is EST and the timestamp returned is EST, there shouldn't be an issue.  The other services had issues due to the timezone not being set on the containers originally, this has the benefit of starting out with the timezone set.


getScrollbarSize does not cached if size of scrollbar is equal to 0

So every getScrollbarSize(false) call causes page reflow on a systems where scollbar size is equal to 0.

isn't a zero width scrollbar, no scrollbar?

It exists on OSX but it width is 0, as it drawn above the box. So you can scroll but it size equal to 0.

gif example

aw ok. thanks


Clarification on "Context-specific usage"

Currently, at the end of http://getbootstrap.com/css/#buttons-disabled there's the callout:

Context-specific usage
While button classes can be used on <a> and <button> elements, only <button> elements are supported within our nav and navbar components.

I'm not quite clear here what exactly this refers to...is it related just to the .disabled class, as that's the heading/section this callout is under? Or does it also apply to .active, in which case this needs to be "one level up" in terms of where it's located in the doc's hierarchy?
Further, does the second part of the sentence actually mean "... , they are only supported for <button> elements when used within a nav or navbar component." ?
/cc @cvrebert

Closing as I think the changes that need doing are done here.


memory issue

is there way to control ram memory usage for backend c++ intellsense ?

You can play around with these settings but I don't know which is best for your situtation.

i HAVE LOW END LAPTOP : 8GB , 1065 TI
CAN RECOMMED SOMETHING THAT WILL NOT FRY MY LAPTOP
THANKS FOR QUICK RESPONSE
KIND REGARDS. 🥇


Fix error checking for xerces-c installation

Coverage decreased (-0.002%) to 81.9% when pulling 6818d8ce5121f9367ea939148e3c1592e84847eb on rogerfraser:master into 9ad823003fb82f16b0dc97c5ed67ad58f5159fa5 on icsm-au:master.

Codecov Report

Merging #141 (6818d8c) into master (9ad8230) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #141      +/-   ##
==========================================
- Coverage   82.12%   82.12%   -0.01%
==========================================
  Files         118      118
  Lines       32276    32277       +1
==========================================
  Hits        26508    26508
- Misses       5768     5769       +1

Impacted Files
Coverage Δ

dynadjust/dynadjust/dnaadjust/dnaadjust.cpp
89.02% <0.00%> (-0.02%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9ad8230...6818d8c. Read the comment docs.


First pass on observation

@spencergibb this commit (https://github.com/spring-cloud/spring-cloud-config/pull/2081/commits/03ad19a06acb72921c76fdc5e979f179019b0793) migrates away from AOP

We should do more tests with composites to ensure that we're not double wrapping anything


Existing Data on target tables question

I was wondering - if there's existing data in a table, is that data overwritten when replication is established or is existing data left intact?  Curious to see if perhaps I could speed up the initial data copy by doing a dump/restore of larger tables.

pg_easy_replicate today doesn't allow the ability to copy & stream today, it just uses postgres Subscription + Publisher so Postgres will try to COPY the initial data, so its perhaps better to drop the data. However, few pointers if its useful

There is a --recreate-indices-post-copy flag that drops all the indexes in the target table(s) to make the COPY operation a bit fast, you can try that if you find it useful. It's been a bit hit/miss for me depending on the use case.
I am also working on a new project pg_flo, that allows you to COPY + stream and the streaming part of the process is resumable. It also performs the COPY in a parallel way, so its fair bit faster as well. In case you find it useful :). It does require NATS today.


Etcd bootstrap conflict

I'm trying to run two k3s clusters while sharing the same etcd. I used the suggestion in #2908, but now I get this error: starting kubernetes: preparing server: bootstrap data already found and encrypted with different token
What should I do? Do I use the same token between the clusters? Is there a config to make the bootstrap data also prefixed?
I'm using k3s v1.28.5+k3s1

I'm trying to run two k3s clusters while sharing the same etcd. What should I do? Do I use the same token between the clusters?

You shouldn't do this. If you must, you're on your own to figure out how to make it work, because we don't want to support it.


Stratification during analysis

Is there a reason why stratification is done during evaluation rather than analysis? It seems redundant to stratify every time given that analysis.ProgramInfo is most commonly produced by Analyze* calls.

I agree that needless work is done when one has does multiple evaluation phases with the same program. I will add entry points that let clients call evaluation with a previously stratified program.
Also, stratification can be considered a form of semantic analysis, although it seems different from name resolution and type checking.
Are you suggesting that analysis should always perform stratification and include the result in analysis.ProgramInfo?


Building linux without msbuild

Do I really need msbuild?

I use QtCreator on linux with the repo - works pretty well

well, I can build it. But to include CSharp, it's asking for msbuild.

CMake lets you use NMake, Jom, Ninja if you prefer by specifying those generators instead.

why msbuild, and not xbuild... wait, it's probably due to mono version.

Yes and no. Msbuild is used for building c# part. It runs fine on Linux and
macos. But if you build without c# then msbuild is not needed at all.
On May 6, 2019 02:38:51 1Snakel<EMAIL_ADDRESS>wrote:

Is it possible to run on linux? Do I really need msbuild?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

BTW xbuild is deprecated and official msbuild runs on Linux now. Mono
website has a download I think. Distros also usually package it nowadays
On May 6, 2019 05:15:20 1Snakel<EMAIL_ADDRESS>wrote:

why msbuild, and not xbuild... wait, it's probably due to mono version.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

mine dosen't, well thanks for the i


Curator portal log in is case sensitive

email addresses should be case insensitive for logging in

I fixed this issue @draciti @vanaukenk. I tested it with my email (using uppercase and lowercase letters) and everything seems ok

great, thanks, Valerio. Closing


PVG pointer

@floryst @aylward @jourdain please take a look

Thanks for the mention of PVG!  LGTM!

Looks great, thanks!

I like it! Thanks!

:rocket:


fix README.md inner doc link

Thanks for pull request!
Although both /docs/quick-start.md and ./docs/quick-start.md should work in README.md, it's good to unify them.
Could you help fixing this link as well?

Thanks for pull request! Although both /docs/quick-start.md and ./docs/quick-start.md should work in README.md, it's good to unify them. Could you help fixing this link as well?

sure thing, done


There is a bug in  mxnet/example/recommenders/crossentropy.py

There is a bug in  mxnet/example/recommenders/crossentropy.py, line 57: grad = -1. / (p - self.eps_1 + y). The (p - self.eps_1 + y) part will be 0 in some cases, so I suggest use d_new = p - self.eps_1 + y, d_new[d_new==0] = self.eps_1,   grad = -1. / d_new instead.

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!
Also, do please check out our forum (and Chinese version) for general "how-to" questions.


Use explicit README.md instructions when installing tlc-article

The solution I had hacked did not work correctly on all Ubuntu installations.  Following tlc-article/README.md instructions was the correct solution all along.

Git-commit b8fd2fb completed this task.


PEAR-1632 - Manage Sets - 508 Compliance issues

Description
Checklist

[N/A] Added proper unit tests
[x] Left proper TODO messages for any remaining tasks
[x] Scanned for web accessibility with aXe, and mitigated or documented
flagged issues

Screenshots/Screen Recordings (if Appropriate)

You probably have to merge develop for the pipeline to pass. (in your other PRs too 😄 )


DefaultIfEmpty exception in EntityFrameworkCore

The same code using MS Sql Server 2008:
string value = context.Book.Where(item => false).DefaultIfEmpty().Select(item => "520").FirstOrDefault();

With Microsoft.EntityFrameworkCore.2.2.2 get exception "Object reference not set to an instance of an object." and tsql translated is:
SELECT TOP(1) 1
FROM (
　SELECT NULL AS [empty]
) AS [empty]
LEFT JOIN (
　SELECT [item].*
　FROM [Book] AS [item]
　WHERE 0 = 1
) AS [t] ON 1 = 1

With EF5 get the right result, value is "520" and tsql translated is:
SELECT TOP (1)
N'520' AS [C1]
FROM   ( SELECT 1 AS X ) AS [SingleRowTable1]
LEFT OUTER JOIN  (SELECT [SingleRowTable2].[X] AS [X]
　FROM  ( SELECT 1 AS X ) AS [SingleRowTable2]
　WHERE 1 = 0 ) AS [Filter1] ON 1 = 1

As of EF Core 3.0.0-preview6, this is now results in a NotImplementedException: https://github.com/aspnet/EntityFrameworkCore/blob/3d44d35b1c5eec5f5bc5253cca56c57beee98f0d/src/EFCore.Relational/Query/Pipeline/RelationalQueryableMethodTranslatingExpressionVisitor.cs#L232

Temporary workarounds to achieve MinAsync and MaxAsync; replace:
var min = await db.Items
    .Where(x => x.Condition)
    .DefaulfEmpty()
    .Select(x => x.Value)
    .MinAsync(cancellationToken);

var max= await db.Items
    .Where(x => x.Condition)
    .DefaulfEmpty()
    .Select(x => x.Value)
    .MaxAsync(cancellationToken);

with:
var min = await db.Items
    .Where(x => x.Condition)
    .OrderBy(x => x.Value)
    .Select(x => x.Value)
    .FirstOrDefaultAsync(cancellationToken);

var max = await db.Items
    .Where(x => x.Condition)
    .OrderByDescending(x => x.Value)
    .Select(x => x.Value)
    .FirstOrDefaultAsync(cancellationToken);

This issue is fixed in 3.1
Generated SQL
      SELECT TOP(1) N'520'
      FROM (
          SELECT NULL AS [empty]
      ) AS [empty]
      LEFT JOIN (
          SELECT [b].[Id]
          FROM [Book] AS [b]
          WHERE CAST(0 AS bit) = CAST(1 AS bit)
      ) AS [t] ON 1 = 1


Configure Netlify to use design-system.service.gov.uk

What
Follow Netlify's instructions for assigning a domain to a production site to assign design-system.service.gov.uk to the relevant site.
At this point we expect 2 things to happen:

The domain's DNS records will be updated to use the 'magic' NETLIFY type (which behind the scenes is just setting up A records pointing to Netlify's infrastructure)
Netlify will attempt to provision an SSL certificate for the domain, which it will try every 10 min until it succeeds

Why
This will effectively shift our hosting from PaaS to Netlify
Who needs to work on this
Developers
Who needs to review this
Developers
Done when

[ ] https://design-system.service.gov.uk is served by Netlify[^1]
[ ] https://design-system.service.gov.uk has no SSL error

[^1]: Can be verified by the presence of an x-nf-request-id header in the response

Blocked until Frontend Docs have been successfuly migrated on Netlify.


Basic vector data subsetting

This provides a minimal implementation for subsetting layers from vector data objects.  In addition to the layer containing a layer collection problem, I noticed a few other issues that limit the usefulness of this code.  I can either address them here or in a future PR:

Derive vector data objects from geopandas data frames or add first class support for generating vector data objects from them.  This will support the common use case of "subset the data from a given polygon in a shapefile".
Handle "multi geometries" (MultiPoint, MultiPolygon) correctly as a single feature.  Currently, this code generates multiple features from these geometry types.  This makes it difficult to do something like subset from Hawaii.  I did some initial refactoring in vector-dataset-refactor to support multi geometries uniformly in both vector and annotation objects, but it isn't complete.
Handle reprojecting vector geometries.  This could be viewed as a bug in the vector data support because many shapefiles in particular are not given in epsg:4326.  I made an initial attempt at fixing this here, but decided it would be easier to do within geopandas.
Support subsetting from lines.  This would go with adding line annotations and is fairly low priority.

I am thinking maybe i have something messed up - i checked out a fresh copy of this branch and installed everything,  but I am seeing two errors in the console:
Uncaught SyntaxError: Unexpected token import             :8888/nbextensions/geonotebook/index.js?v=20170310135038:12600

Which looks like it leads too:
require.js:900 TypeError: Cannot read property 'load_ipython_extension' of undefined
    at main.min.js:12413
    at Object.execCb (require.js:1690)
    at Module.check (require.js:865)
    at Module.<anonymous> (require.js:1140)
    at require.js:131
    at require.js:1190
    at each (require.js:56)
    at Module.emit (require.js:1189)
    at Module.check (require.js:940)
    at Module.enable (require.js:1177)

That was probably caused by the new version of proj4.  I fixed that in a commit in my other branch (https://github.com/OpenGeoscience/geonotebook/pull/102/commits/b08ec0d183cd494f5e448716e9025df4af5fa7f3).  I probably should have extracted it out into a different PR, but it turned into a bunch of merge conflicts due to nearby lines changing in the package.json.

Fourth cell in tests/integration/Annotations.ipynb is throwing the following error for me:
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-4-05f4fab9fef5> in <module>()
      1 annotations = M.layers.annotation.serialize()['annotations']
      2 assert annotations[0]['args'] == ([0, 0],)
----> 3 assert annotations[1]['kwargs']['rgb'] == 'firebrick'
      4 assert annotations[3]['kwargs']['name'] == 'spam'
      5 assert list(M.layers.annotation.points[0].data) == []

AssertionError:

Looks like it's getting the string hex value instead of 'firebrick'?
annotations[1]['kwargs']

{'id': 2, 'name': 'Point 2', 'rgb': '#b0de5c'}

The code was ignoring the rgb kwarg provided by annotation constructor.  It should be fixed now.


Use 16-bit random value in validator filter

PR Description
This PR implements the changes defined here:

https://github.com/ethereum/consensus-specs/pull/4039

Notably, this PR will:

Override computeProposerIndex and getNextSyncCommitteeIndices.
In computeProposerIndex , rename hash to randomBytes to match the spec.
Add cached randomBytes to getNextSyncCommitteeIndices.
Define new MAX_RANDOM_VALUE equal to 2**16-1.

See the original implementations here:
https://github.com/Consensys/teku/blob/7de9aa456a0bf96c773beb541b113a60c2b56a6b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/common/helpers/MiscHelpers.java#L112-L139
https://github.com/Consensys/teku/blob/7de9aa456a0bf96c773beb541b113a60c2b56a6b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/versions/altair/helpers/BeaconStateAccessorsAltair.java#L104-L132
Documentation

[x] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[x] I thought about adding a changelog entry, and added one if I deemed necessary.

in this PR we should re-enable2 fizzing tests disabled here: https://github.com/Consensys/teku/pull/8923

Hmm I'm not sure why these are still failing. The only difference is the body_root.

Hmm I'm not sure why these are still failing. The only difference is the body_root.

I've got a body root diff in mine too...

this is weird. I'll spend some more time on it tomorrow, if in the meantime you don't solve the mystery

lol, my bad. Seems like I copied the wrong spec files. I also fixed a uint test that seems to be affected by the change

Haha no worries. Thank you for fixing this. Comparing prettySerialize outputs is a good idea too!


Support for validating fields with blur()

Is it possible to add an option in DomReporterOptions to choose the validation of the fields being focus or blur?

If I'm understanding correctly, Felte already does that. Felte will display your errors as long as the field is touched.
The examples on felte.dev showcase this I feel.
If this is not the issue, I'd need some more context.

When you are typing the fields, they are being validated (focus), a good example is the use of e-mail, as it will only validate as soon as it finds the @ and then the .com.
The idea is not to show the "error" during writing, but after the user leaves the field (blur)

Showing validation errors while user is typing is not a great UX.

all validation should be inline: that is, as soon as the user has finished filling in a field, an indicator should appear nearby if the field contains an error.

Nielsen Norman Group

avoid validating on each keystroke because in most cases you simply cannot validate until someone has finished typing their answer.

UX Planet

Currently Felte start validating data as soon as user types the first letter:

Ahh, I understand. I've labeled this as a bug, changing this will be trivial. This seems to be the desired default behaviour in text/password/email inputs in this case. Maybe leaving an option open for other triggers might be good as well?
Thanks a lot for the suggestion, btw!

Confirming this should now be the default behaviour in<EMAIL_ADDRESS>

So the current behaviour is:

The user focuses and starts typing an invalid value, no errors for that field in the errors store.
The user focuses out of the input, the errors store will now contain the validation message for that field.

Now this next part is where I've not found a good answer for, regarding when the user goes back to fix the error.

Should validations again only happen on blur? If so, the user might have already typed a valid value but the error message will still be shown which I find might be a bit confusing.
Should validations be done on every keystroke in this case? This would only happen after the field is touched, so the initial validation would still only happen on blur. But it would mean that if the user goes back to fix the field, they would receive immediate feedback on when the value is valid. This is the current behaviour right now
Is debouncing the validation an option? This seems like a good middle point while still allowing for keystroke validation after an error is already shown. But this would need to be configurable for some use-cases. And I do feel debouncing is something that should be left to the developer rather than built-in.

Feel free to test the current implementation and I'm certainly open to suggestion in order to improve UX and DX.

You chose the best option. If the input is already invalid, it doesn't matter to keep showing that is invalid while user types – but it makes a lot of difference when the input is validated as soon as it gets an acceptable value.
We are already using with blur validation and it's working as expected so far.
Thank you for your availability, Pablo.

Thanks for answering! I'll close this now. Thanks a lot to you for giving Felte an opportunity!


How can I execute a function upon navigating once again to the initial route of the tab navigator ?

I have a tab navigator with 3 routes ... the initial route which is in the middle has a function that gets executed upon mounting ... the purpose of this function is to be executed every time the user heads to that initial route whether by swiping, tapping on the navbar or tapping the back button on Android. So is there a life cycle method that gets executed in which I can put my function in such case ? or is there a way to manipulate the navigation options to do so ?
Thanks.

Hi @ahmedsamyabdelhay! It looks like this is not a bug of the library nor a feature request, so I'll close it: I suggest next time you use Stack Overflow which is better suited for answering these types of questions. I also encourage you to join the Reactiflux community on Discord. There are React Native and React Navigation channels with helpful people who might be able to answer your question. I would also like to mention that there is a collection of helpful links and tutorials for React Navigation in the README which might be helpful for you.
If you believe that you are experiencing a bug or have a feature request, please open a new Issue following the dedicated template or submit a PR.


Blogpost For Review: CORS, Of Course!

Planned merge: 2015-07-01 15:00:00 +0100

Looks good to me - did you want to wait until July 1 to post it?

Yeah, was thinking about 1st July for posting this. I reckon it's good to space our content out a bit, rather than splurging it all in one go!

OK - when the time comes let me know, otherwise I'll forget. :)  Also - you'll need to rebase at that time.

See instead https://github.com/apiman/apiman.github.io/pull/18


[PHP Docs]: Add PHP Docs  27 to 32 UNDER new Folder PHP Operators

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Add PHP Docs  27 to 32 UNDER new Folder PHP Operators

Use Case
User can know more about PHP Language
Benefits
User can know more about PHP Language
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Vipullakum007 Please complete your task otherwise I will close it.

hey @Ajay-Dhangar , don't close it i will complete till tomorrow.
but please reply my question in mine previous PR. https://github.com/CodeHarborHub/codeharborhub.github.io/pull/1625#issuecomment-2184379556

hey @Ajay-Dhangar , according to level definition it should be level 2 or level 3.

hey @Ajay-Dhangar , please answer.


A question about Date.prototype.toISOString

Version
graalvm-ce-java8-20.1.0
Test case
var data = new Date('1');
data.toISOString();

Execution steps
graalvm-ce-java8-20.1.0/bin/js testcase.js

Output

Expected behavior
RangeError: Number expected

Description
According to ES2019 standard, the steps of Date.prototype.toISOString  are as follows.

<IP_ADDRESS>Date.prototype.toISOString ( )
This function returns a String value representing the instance in time corresponding to this time value. The format of the String is the Date Time string format defined in <IP_ADDRESS>. All fields are present in the String. The time zone is always UTC, denoted by the suffix Z. If this time value is not a finite Number or if the year is not a value that can be represented in that format (if necessary using expanded year format), a RangeError exception is thrown.

When executing this test case, some engines (such as SpiderMonkey, chakra) throw a RangeError exception, but graaljs executes normally. I checked the ES standard and its specific instructions are as follows. Can you tell me the reason? Is this a problem that each engine implements differently? Thank you very much!
#Reference:
http://www.ecma-international.org/ecma-262/10.0/index.html#sec-date.prototype.toisostring

The difference that you observe is not in the implementation of Date.prototype.toISOString but in the implementation of Date constructor. Note that new Date('1') is invalid date in SpiderMonkey/Firefox while it is a valid date in Chrome/v8.
Note that new Date(string) should behave as Date.parse(string) according to the specification. Moreover, the specification of Date.parse(string) says

... If the String does not conform to that format the function may fall back to any implementation-specific heuristics or implementation-specific date formats. ...

So, yes, there are differences (among JavaScript engines) in the implementation of Date constructor and these differences are allowed by the specification.

The difference that you observe is not in the implementation of Date.prototype.toISOString but in the implementation of Date constructor. Note that new Date('1') is invalid date in SpiderMonkey/Firefox while it is a valid date in Chrome/v8.
Note that new Date(string) should behave as Date.parse(string) according to the specification. Moreover, the specification of Date.parse(string) says

... If the String does not conform to that format the function may fall back to any implementation-specific heuristics or implementation-specific date formats. ...

So, yes, there are differences (among JavaScript engines) in the implementation of Date constructor and these differences are allowed by the specification.

I understand. Thanks for your reply.

I understand. Thanks for your reply.


Getting Error on Electron

Platform (Hardware/OS): pi3b+
Description of the issue:
The installation went pretty smooth. No errors. I added the config as follows :
{
module: 'MMM-voice',
position: 'bottom_bar',
config: {
microphone: 1,
}
},
Getting Error besides the voice icon on electron.

Can you please check the error log in the module directory and post the content here.


Can someone ELI5 adding svg icon (and associated link) into header-nav?

I've got the correct entries in config.yml and navigation.html - but no matter what I've tried as far as importing my own svg icon - name.svg into assets/icons - it won't show up on the rendered site page. The link itself shows up no problem but where the icon is supposed to be is just blank. While digging into the html output with inspector I see '#shadow-root (closed)' which I'm assuming is the problem, but I have no permissions issues nor does npm/jekyll print any errors when I publish the site (nor run locally).
I've never worked with svg before, so a lot of the documentation out there is going into sprites and GULP workflow and inline this and layer that which I don't understand. I just want to throw an icon into /assets/icons and stick it in the header-nav.
Things I've tried;

I've opened the svg file in atom and copied verbatim the syntax over from existing icons in the folder which work
Imported several different icons and tried them all in varying combinations
I've renamed another icon that came with the theme and it renders correctly

There's something going on with my understanding of svg syntax but I have no idea what it is. I rarely work with image formats of any kind.
Thanks!

Okay so I've got a little progress but I can't figure out why the viewport attribute isn't working. See attached comparison of the 'about' svg working as expected but the 'tags' icon I'm trying to load isn't scaling properly, even though it's referenced.
The 'tags' icon svg I'm trying to use has the correct viewport 0 0 16 16, and I've tried to issue height/width attributes as well and they have no effect. The icon is breaking because it's trying to scale too large but I can't figure out how to adjust that.


vTorrent wallet not syncing

Hasn't synced up in over a week.  Don't want to move tokens into wallet until i can sync it.   Was this issue ever resolved for you?

Use addnode, dude.

I've been using the info from https://bitcointalk.org/index.php?topic=889481.2760 to add the code...no luck do you have another source I can use?

Use block explorer: http://vtrchains.com/network

Thanks, I've done this as well. Is there coding I need to past as well.

Sorry I gave up and kept those tokens on the exchange.  Haven't looked into it for a couple month but seems like there's still a wallet issue.

Boy getting a wallet right and working seems to me to be a priority. I purchased vTorrent tokens then blithely transferred them to my wallet only to have them never show up. The wallet says Out of Sync and nothing I've done helps. Have I lost the coin?

Sorry to hear that you are having issues with the wallet.  It never synced for me and I'm not sure if it had to do with my software/hardware configuration or what.  I gave up and sold the tokens to jump into something else.  Good luck

I sent my coins to the wallet address, so how do I get them now and sell them. The fact that you can't get help or that this wallet is not working speaks very poorly about the future of this project. Who do you go to for help?

also, the address is not showing up in blockchain explorer? What's up here? Bittrex shows it went through, shows the address and when I paste that into the explorer it comes up empty. Who supports this ?

Hello, the reason for "the address not showing up in blockchain" is due to the address being Stealth Address by design. Regarding Out of Sync issue, please run following command in console "addnode  add" for example "addnode <IP_ADDRESS> add"

I now get an invalid proxy address.

Add nose is to add my up address?
On Nov 11, 2017 6:01 PM, "vtorrent"<EMAIL_ADDRESS>wrote:

Hello, the reason for "the address not showing up in blockchain" is due to
the address being Stealth Address by design. Regarding Out of Sync issue,
please run following command in console "addnode add" for example "addnode
<IP_ADDRESS> add"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vtorrent/vTorrent-Client/issues/2#issuecomment-343708108,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEvqrWL4j2P5op2f9FACGNW5EBg69hNKks5s1lFvgaJpZM4OLNOF
.

Also, sorry for the newbee question but where do I add the node? Where is
the console, do you mean the console (my windows command line interface) or
within the client itself?
John
John Mahoney
On Sun, Nov 12, 2017 at 4:01 PM, John Mahoney<EMAIL_ADDRESS>wrote:

Add nose is to add my up address?
On Nov 11, 2017 6:01 PM, "vtorrent"<EMAIL_ADDRESS>wrote:

Hello, the reason for "the address not showing up in blockchain" is due
to the address being Stealth Address by design. Regarding Out of Sync
issue, please run following command in console "addnode add" for example
"addnode <IP_ADDRESS> add"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vtorrent/vTorrent-Client/issues/2#issuecomment-343708108,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEvqrWL4j2P5op2f9FACGNW5EBg69hNKks5s1lFvgaJpZM4OLNOF
.

Console is located in Help dropdown menu under "Debug", please copy amd paste this command in the console window "addnode <IP_ADDRESS> add"

Ok, I was able to add the node. Still showing out of sync but realize it may take a while. Anything else I need to do in order to fix this?

Should the default settings under Options work?

Still not syncing. I also searched the blockchain using the stealth address and it's not there??? Yet Bittrex says it's gone through. This is absolutely the hardest experience I have yet had moving a coin.

You need to wait until the blockchain all sync up until you could see your current balance.
This is completely normal behavior including with Bitcoin core.
Normally it should take few hours or more depends on connection speed.

Any possibility of getting help with my issue of not being able to access the wallet because  of "invalid proxy address."

What is your current proxy setting? You could also try to remove vTorrent-HD folder and start over.

I just accepted the default values when setting up the wallet. Mine has two options Map using UPnP and Connect through SOCKS Proxy, which is the correct setting for a windows machine? I don't use a proxy.

So far no syncing. It successfully added the node but still no balance and my coin is not available to me

At this point, I'm just waiting for the new wallet so I could cut my losses with this coin. No real community to get info and tech support.

I have added nodes, tried different settings, verified the transaction with Bittrex and now I see nothing downloading and the wallet after 3 days is still out of sync. The spinner spins and it shows 19 connections but shows 0 of 160867  headers downloaded. That's a zero. You should have warned people to NOT TRANSFER coin to wallets until the wallet was ready for prime time. One of the worst experiences I've had with Alt coins, no community no support, no answers.

 message.

Your client isn't properly synced. You may try to follow this video from our community member to fix the issue you are facing, https://t.co/0mCstrksRd

If you really have tried everything and still cannot get the client to sync up, you are doing something wrong and sorry I can't give you anymore advice other than just wait for the new client which should be more suitable to newbie.

@jhmblvd man, I have no idea how you've managed this. The wallet runs really well for me on windows, no issues at all. Do a fresh install?


'No such comm' Warnings

Environment Information

leafmap version: 0.14.0
jupyterlab version = 3.5.0
notebook = 6.5.2-e60ab42
Python version: 3.10.6
Available kernels:
python3        /home/....venv/share/jupyter/kernels/python3
xpython        /home/.../.venv/share/jupyter/kernels/xpython
xpython-raw    /home/.../.venv/share/jupyter/kernels/xpython-raw
Operating System: Ubuntu 22.04.1 LTS

Description
When run with the default python3 jupyter kernel, "No such comm" errors are displayed under the map. If an alternate kernel such as xpython is used, these errors do not display.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

m = leafmap.Map(
    draw_control=False,
    measure_control=False,
    fullscreen_control=False,
    attribution_control=True,
)
m.add_basemap(basemap)
m.add_gdf(y[1], layer_name="Addresses")
m

This might be caused by other dependencies in your existing conda env. I just tried it in a fresh conda env with Python 3.10, and everything works fine. I would suggest you create a fresh conda env to install leafmap.

conda create -n py310 python="3.10"
conda activate py310
conda install mamba -c conda-forge
mamba install leafmap -c conda-forge

You can also use pip install leafmap. I have not used poetry before.

Thank you.
Closing as likely caused by conflicts w/ other dependencies.


BONNIE-1154 Fixes whitespace issue.

Pull request changes the way the elm is parsed to make it resemble the human readable.
Submitter:

[X] This pull request describes why these changes were made.
[X] JIRA ticket for this PR: https://jira.mitre.org/browse/BONNIE-1154
[X] JIRA ticket links to this PR
[X] Code diff has been done and been reviewed (it does not contain: additional white space, not applicable code changes, debug statements, etc.)
[X] If UI changes have been made, google WAVE plug-in has been executed to ensure no 508 issues were introduced.
[X] Tests are included and test edge cases
[X] Tests have been run locally and pass (remember to update Gemfile when applicable)
[X] Code coverage has not gone down and all code touched or added is covered.

In rare situations, this may not be possible or applicable to a PR. In those situations:

Note why this could not be done or is not applicable here:
Add TODOs in the code noting that it requires a test
Add a JIRA task to add the test and link it here:

[X] Automated regression test(s) pass

If JIRA tests were used to supplement or replace automated tests:

[X] JIRA test links: https://jira.mitre.org/browse/BONNIE-1177
[X] Justification for using JIRA tests: Pure gui change, difficult to unit test.
[X] JIRA tests have been added to sprint

Reviewer 1:
Name: @c-monkey

[x] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[x] The tests appropriately test the new code, including edge cases
[x] You have tried to break the code

If JIRA tests were used to supplement or replace automated tests:

[x] JIRA tests have been run and pass
[x] You agree with the justification for use of JIRA tests or have provided input on why you disagree

Reviewer 2:
Name: @losborne

[x] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[x] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

If JIRA tests were used to supplement or replace automated tests:

[ ] JIRA tests have been run and pass
[ ] You agree with the justification for use of JIRA tests or have provided input on why you disagree

This is what i see in the jira test:

It looks like your latter image. Maybe the test got updated since you last checked? Can you take another look, @losborne?

@edeyoung When I am on the branch BONNIE-1154_WhitespaceFix, it looks like this:

The JIRA test says it should look like this when on that branch:


Allow spaces in uploaded student data

headers not allowed to have spaces but allowed for data

Codecov Report

Merging #577 (675e955) into master (fbae8c6) will increase coverage by 0.48%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #577      +/-   ##
============================================
+ Coverage     60.85%   61.34%   +0.48%
- Complexity      622      628       +6
============================================
  Files           104      104
  Lines          2248     2248
  Branches        259      259
============================================
+ Hits           1368     1379      +11
+ Misses          763      755       -8
+ Partials        117      114       -3

Impacted Files
Coverage Δ

...n/java/seedu/programmer/commons/util/FileUtil.java
87.17% <100.00%> (+2.56%)
:arrow_up:

...a/seedu/programmer/storage/JsonAdaptedStudent.java
75.80% <0.00%> (+3.22%)
:arrow_up:

...programmer/storage/JsonProgrammerErrorStorage.java
100.00% <0.00%> (+38.09%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fbae8c6...675e955. Read the comment docs.


Rails in Docker debugging recipe doesn't work

I have replicated the steps in the 'Bonus' section of the 'Ruby on Rails debugging in VS Code' page, and am unable to launch the Rails server and attach a VS Code debugger.
My docker-compose.yml looks like:
version: '3'
services:
  web:
    build: .
    command: bundle exec rdebug-ide --host <IP_ADDRESS> --port 1234 --dispatcher-port 26162  -- rails s -p 3000 -b <IP_ADDRESS>
    volumes:
      - .:/myapp
    ports:
     - "1234:1234"
     - "3000:3000"
     - "26162:26162"

and my Dockerfile looks like:
FROM ruby:2.5
RUN apt-get update -qq
RUN mkdir /myapp
WORKDIR /myapp
COPY Gemfile /myapp/Gemfile
COPY Gemfile.lock /myapp/Gemfile.lock
RUN bundle install
COPY . /myapp

EXPOSE 3000
EXPOSE 1234
EXPOSE 26162

# Start the main process.
CMD ["rails", "server", "-b", "<IP_ADDRESS>"]

My launch.json file looks like:
        {
            "name": "Attach to Docker",
            "type": "Ruby",
            "request": "attach",
            "remotePort": "1234",
            "remoteHost": "<IP_ADDRESS>",
            "remoteWorkspaceRoot": "/myapp",
            "cwd": "${workspaceRoot}",
            "showDebuggerOutput": true
        },

When I build and run docker-compose up, I see this in my Docker logs:
Fast Debugger (ruby-debug-ide 0.6.1, debase 0.2.2, file filtering is supported) listens on <IP_ADDRESS>:1234

but browsing to localhost:3000 gives an ERR_EMPTY_RESPONSE error in Chrome and no pages load. When I hit the 'play' button in the Debug section of VSCode I see the debugger toolbar (pause, step-over etc.) but no pages load in the browser.
Would it be possible for someone at VSCode to investigate and update the details on this recipe to ensure they work properly for a vanilla Rails app and VSCode install?

In retrospect I believe this is failing because I'm using Rails v.5.0.x and according to here VS Code will only successfully debug multithreaded applications in Rails >= v.5.2.x. So this issue can be closed.


Support for rusqlite?

Right now you have diesel support. Would you accept a patch adding (optional) rusqlite support?

I think I would prefer not to build this into the semver crate. Part of the reason is that rusqlite has released a large number of breaking changes over the past year or two, which is incompatible with us releasing 1.0.0 of this crate that should last for a long time. But also even with a stable version of rusqlite, I'm not convinced that enough of the user base of the semver crate would benefit from this to justify it.

Totally forgot I filed this (and surprised I did, honestly). I'm now one of the maintainers of rusqlite, and think that for something like this, having rusqlite have a semver feature would make more sense than semver having a rusqlite feature.
(... Not that I particularly plan on adding that, as I agree, it seems a bit niche)


UHF-8570: Improve test coverage

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

Project coverage is 82.83%.  Consider uploading reports for the commit 846b4b6 to get more accurate results

Additional details and impacted files
@@              Coverage Diff              @@
##               main      #71       +/-   ##
=============================================
+ Coverage     68.66%   82.83%   +14.16%
  Complexity       82       82
=============================================
  Files            14       14
  Lines           233      233
=============================================
+ Hits            160      193       +33
+ Misses           73       40       -33

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


Markdown path IntelliSense should escapse URLs

Steps to Reproduce:

Use Markdown path IntelliSense
Select a path that has space in it, e.g.: "../Other File.md"

Expected:
It should insert "../Other%20File":
[Other File](../Other%20File.md)

Actual:
It inserts "../Other File.md" with the space which breaks the link:
[Other File](../Other File.md)

Version: 1.64.1

@mjbvz While this works now is there anyway to have the make it so the text in the completion widget still has the space while the inserted link has the escaped characters?


Release 1.7_beta

Doc updates for Omnia 1.7_beta - to be released on 12/18
Fixes #2391
Suggested Reviewers
@sujit-jadhav @DeepikaKrishnaiah
@priti-parate

Can one of the admins verify this patch?


Allow #[derive(Queryable)] for structs with Queryable fields

Previously we only allowed structs to have fields which implementd
ToSqlRow. This meant that Queryable could not be composed. This
lifts the restriction to allow any Queryable type. This does mean that
things which implement FromSqlRow will also need to implement
Queryable to be used here, but they should have already been doing
that.
Fixes #1006.

I actually think this might potentially improve the error messages, but I'll have to play with it more. Is there anything in particular you had in mind for a compile-fail test that isn't already covered by the existing tests?

Just checking that we get some sensible error messages that mention the
right types as well as Queryable. I know we don't usually match against
concrete error messages, but I think for this we could use partial matches
without expecting much breakage from rustc updates.
Sean Griffin<EMAIL_ADDRESS>schrieb am So. 24. Sep. 2017 um
03:39:

Merged #1184 https://github.com/diesel-rs/diesel/pull/1184.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/diesel-rs/diesel/pull/1184#event-1262513494, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AABOX63hhlfbnnsyKMf_dgmphxRUMau4ks5slbLZgaJpZM4PflZq
.


How will the new persistent menus change?

Looks like we'll need to update this gem for the new menu design as well?
https://developers.facebook.com/docs/messenger-platform/messenger-profile/persistent-menu

Hello, not yet confident about my programming skills to modify the gem, but from my analysis we at need to change "base_uri" in facebook-messenger/lib/facebook/messenger/thread.rb, from 'https://graph.facebook.com/v2.6/me' to 'https://graph.facebook.com/v2.6/me/messenger_profile', according to 'https://developers.facebook.com/docs/messenger-platform/messenger-profile/persistent-menu'.
Then the structure of the hash you pass is also different, but this is not hard-coded in the gem.

Yes @fcatuhe, it looks like this is how we would go about this change.
I've never this done before, but I could try to submit a revision for it.

https://github.com/hyperoslo/facebook-messenger/pull/119


Whether data from a database can be published as a data asset (e.g. postgresql)

If I want to publish the data resources of the postgres database, how should I modify the file create-asset.json, and do I need to modify anything else?
{
"@context": {
"@vocab": "https://w3id.org/edc/v0.0.1/ns/"
},
"@id": "assetId",
"properties": {
"name": "product description",
"contenttype": "application/json"
},
"dataAddress": {
"type": "HttpData",
"name": "Test asset",
"baseUrl": "https://jsonplaceholder.typicode.com/users",
"proxyPath": "true"
}
}

You'd need to develop a extension for letting the data-plane interact with the postgresql database.
Please take a look at the data-plane-http extension to see what it needs to be done

Thank you very much! I will give it a try.


[question] Adding a provider - How to code a Passport strategy?

I am adding an Oauth provider.  I was able to authenticate a user with this provider using oauth with postman. Now, I want to configure couch-auth to do it for me.
How do I create a Passport strategy?  I am not using facebook, twitter, etc.  I am using a very specific oauth provider. To authenticate a user, it expects a post to a specific URL with the following body:
{
    "client_id":"{app registration id}",
    "client_secret":"{app secret}",
    "username":"{username}",
    "password":"{provider's otp}",
    "grant_type":"password",
    "scope":"authentication_session"
}

Here,  "grant_type":"password" means an "access_token" strategy.
I don't get where should I specify all these.

Pinging @erikgoh - I haven't worked with OAuth yet, but you did - can you give some advice?

A side question: what is a serverScope?  I am using Cloudant and I login as admin using IAM env variables.
Is serverScope what we get from CloudantV1.newInstance().getServerInformation?

I can share the config that I had to configure to authenticate with Facebook and Google.
import { OAuth2Strategy as GoogleOAuth2Strategy } from 'passport-google-oauth';
import { Strategy as FacebookAuthStrategy } from 'passport-facebook';
import { Strategy as GoogleTokenStrategy } from 'passport-google-token';
import FacebookTokenStrategy from 'passport-facebook-token';
...
var couchAuth = new CouchAuth({
  ...
  providers: {
    google: {
      credentials: {
        clientID: this.configService.get('GOOGLE_CLIENT_ID'),
        clientSecret: this.configService.get('GOOGLE_CLIENT_SECRET'),
        audience: [
          this.configService.get('GOOGLE_CLIENT_ID'),
          this.configService.get('GOOGLE_CLIENT_ID_CORDOVA'),
        ],
      },
      options: {
        scope: ['email'],
      },
       template: path.join(
         __dirname,
         './templates/oauth/my-custom-secure-auth-callback.ejs',
       ),
    },
    facebook: {
      credentials: {
        clientID: this.configService.get('FACEBOOK_APP_ID'),
        clientSecret: this.configService.get('FACEBOOK_APP_SECRET'),
        profileFields: ['id', 'displayName', 'name', 'emails'],
        fbGraphVersion: 'v3.2',
      },
      options: {
        scope: ['email', 'public_profile'],
      },
      template: path.join(
        __dirname,
        './templates/oauth/my-custom-secure-auth-callback.ejs',
      ),
    },
  },
  ...
});

couchAuth.registerOAuth2('google', GoogleOAuth2Strategy);
couchAuth.registerOAuth2('facebook', FacebookAuthStrategy);
couchAuth.registerTokenProvider('google', GoogleTokenStrategy);
couchAuth.registerTokenProvider('facebook', FacebookTokenStrategy);

But as you mention you need a custom oauth strategy I don't any experience on how to do that, I did a quick search and you could try something like passport-custom.
And when you have your custom strategy you could just register it to couchAuth.
PS: Sorry for the late reply, I left my comment written half-way and got lost in a tab purge.

Do you have any experience in authenticating with Cloudant?  I believe the package cited in the documentation is not the current one. Couch-auth doc cites @clodant/cloudant, but current node sdk is @ibm-cloud/cloudant.  I must confess that it is been a while since I used Couchdb and I am little bit worried with the fact that every repo I find was active 4 to 6 years ago.  I can't find recent examples.  Any help in this direction is very welcome.

I've never used cloudant so I can't help you with that.
You can try to ask in the CouchDB slack to see if anyone has recently used cloudant or has an up to date example.
https://couchdb.apache.org/#chat
https://join.slack.com/t/couchdb/shared_invite/zt-fa9zim0j-H04m4o_KcLdWeOxEAcwM8g

Thanks


ditching express.js and migrating to nest.js

Preparing to migrate to nest.js 🙀
of course express.js is great framework for back-end, but I taste a bit of nest.js and keep thinking migrate to nest.js....
Nothing Big will change a bit but going to use typescript for it!

@jinwoo1225 I was looking for reasons to learn nest.js, I guess I got one :laughing:

@NikhilSharma03 great I will push new branch I'm working.. checkout! 🤟

@NikhilSharma03 great I will push new branch I'm working.. checkout!

Yo, shoot em! :rocket:

@jinwoo1225 TypeScript, Now that's some awesome improvement. I will go through the nest.js docs and will start working on it from today itself. and also Great Work here :rocket.

@NikhilSharma03 Yep, I wish this project get some big hit 😸

@NikhilSharma03 Yep, I wish this project get some big hit

It will :rocket:

@jinwoo1225 Do you use slack. If yes, please let me know since it will be easy to communicate.
Also any suggestion, What should I work on next.

@NikhilSharma03 Yes, I have a slack account and I just made new workspace for it.
wish it works for you
https://join.slack.com/t/slack-9rs4760/shared_invite/zt-v5flw8k0-V6Evi6k4Ij39VXfnWuZcmg

@NikhilSharma03 Yes, I have a slack account and I just made new workspace for it.
wish it works for you
https://join.slack.com/t/slack-9rs4760/shared_invite/zt-v5flw8k0-V6Evi6k4Ij39VXfnWuZcmg

That's amazing. I will join it.

Sorry, I accidently entered the wrong link :rofl: . Its working :+1:


Is it any future plan to make http_proxy crates able to proxy a TCP backend like redis?

Let me know if this kind of feature request or question already made
What is the problem your feature solves, or the need it fulfills?
so learning pingora is exciting thing to learn and now i have a cases that i need to do a proxy for redis. But Found out that pingora_proxy only support http proxy through proxyHttp
Describe the solution you'd like
is it possible to make kind of proxyTcp In the future so pingora also can handle request that not Http and doesn't need to provide header etc.
Describe alternatives you've considered

Additional context
in my case i want to proxy 2 redis using custom proxy that built with pingora inspired by how sentinel and envoy works. Thank you!

Probably but not the top of the things we try to implement in the near term.

Great, thank you! looking forward for it


TypeError: this._log is not a function

Hi, thanks for the cool provider.
I've found that you call this._log method of the provider if iOS version is not set, but this function is not defined: https://github.com/Ents24/testcafe-browser-provider-fbsimctl/blob/master/src/index.js#L95

Aha, thanks for finding that - some left over debugging information.
I've fixed this now.


import from root directory

I'm trying to import a repository were the mkdocs.yml and all the documents should be imported from root (not a subfolder) of the repository:
the imported mkdocs.yml is:
edit_uri: edit/main/

use_directory_urls: false

nav:
  - 'Getting Started Testing':             'README.md'
  - 'Setup your development environment': 'docs/Setup.md'
  - 'Execute the tests automatically':     'docs/ExecuteAutomatically.md'

and the import statement is:
- 'Testing':
  - 'Getting Start Testing':  '!import https://my-server/test/getting-started-testing?branch=main&docs_dir=*&config=mkdocs.yml'

but it cannot find the file located in imported subfolder docs:
WARNING  -  A relative path to 'testing/getting-start-testing/docs/Setup.md' is included in the 'nav' configuration, which is not found in the documentation files
WARNING  -  A relative path to 'testing/getting-start-testing/docs/ExecuteAutomatically.md' is included in the 'nav' configuration, which is not found in the documentation files
WARNING  -  Documentation file 'testing/getting-start-testing/README.md' contains a link to 'testing/getting-start-testing/docs/Setup.md' which is not found in the documentation files.
WARNING  -  Documentation file 'testing/getting-start-testing/README.md' contains a link to 'testing/getting-start-testing/docs/ExecuteAutomatically.md' which is not found in the documentation files.

it looks like the mkdocs.yml and also the roots README.md is fetched...

@anb0s, I'll try to block off time to look into this tonight (might not be until this weekend). I've been busy with my SE job.

@anb0s @jdoiro3 I had exactly the same need yesterday. I have a repo where docs and nav are all stored in the root directory. I did find a workaround that works, but is not very clean. My assumption is that for @anb0s this workaround would work as well:
'!import https://my-server/test/getting-started-testing?branch=main&docs_dir=FAKE&config=mkdocs.yml&extra_imports=['**/*']'
The 'FAKE' dir does not exist, but with the glob pattern */ you clone everything recursively from root.
This is processed in this part of the sparse_clone script:
git clone --branch "$branch" --depth 1 --filter=blob:none --sparse $url_to_use "$docs_dir" || exit 1
cd "$docs_dir"
git sparse-checkout set --no-cone ${dirs[*]}

Since $docs_dir must be a valid directory you cannot use * or an empty string. It must be a valid directory name (in my case FAKE) and then --no-cone will do a checkout on the glob pattern.
This did the trick for me, but a more elegant solution, e.g. by using an additional parameter to indicate you want to clone from root, would make it more user friendly.

@merijn-weiss thanks! I've tried this solution and indeed it builds :)
- 'Testing':
  - 'Getting Start Testing':  '!import https://my-server/test/getting-started-testing?branch=main&docs_dir=ROOT&config=mkdocs.yml&extra_imports=["**/*"]'

BUT the Edit this page button is not working only for this repo pages:

It points to the URL with ROOT (i use instead of FAKE) in the source location, e.g.

https://my-server/test/getting-started-testing/edit/main/ROOT/README.md
https://my-server/test/getting-started-testing/edit/main/ROOT/docs/Setup.md

and then GitLab in your case just shows this error

Our tech writers are using this feature often - so another solution is needed...

@anb0s, have you tried this?
- 'Testing':
  - 'Getting Start Testing':  '!import https://my-server/test/getting-started-testing?branch=main&config=mkdocs.yml&extra_imports=["README.md"]'

@anb0s and @merijn-weiss, you can use this example repo's branch to see how to get this to work with this mkdocs.yml config in the below !import statement.
nav:
  - Testing:
    - 'Getting Start Testing':  '!import https://github.com/jdoiro3/mkdocs-multirepo-demoRepo1?branch=test-docs-in-root&config=mkdocs.yml&extra_imports=["README.md"]'

@jdoiro3 i've already tried such approach but it does not work, because of moving the docs_dir files one level up and clashing with another files from extra_imports together. I think this is well described in the issue.
Now i have reproduced this again, with the source repo structure:

The relative links from README.md to docs/* are broken:
WARNING  -  Documentation file 'testing/getting-started-testing/README.md' contains a link to 'testing/getting-started-testing/docs/Setup.md' which is not found in the documentation files.
WARNING  -  Documentation file 'testing/getting-started-testing/README.md' contains a link to 'testing/getting-started-testing/docs/ExecuteAutomatically.md' which is not found in the documentation files.

and also from docs/* to shared assets e.g. ../assets/* are not found then:
WARNING  -  Documentation file 'testing/getting-started-testing/ExecuteAutomatically.md' contains a link to 'testing/assets/images/Image_test_report.png' which is not found in the documentation files.
WARNING  -  Documentation file 'testing/getting-started-testing/ExecuteAutomatically.md' contains a link to 'testing/assets/images/Image_job_log_and_artifact.png' which is not found in the documentation files.

I think the issues we are facing are, because of structure change (moving files) of source repo after clone / sparse checkout.
If the reason of moving one level up is to avoid the docs_dir (here: docs) show up in the nav, then it would be good to have new option to prevent the moving of files and describe that configuration of imported nav has to be done manually...

@anb0s, I have a new PR up that adds a new config param (keep_docs_dir) that should solve your issues. The README is updated with the new docs. You can try it out locally and let me know if this is what you're looking for.
https://github.com/jdoiro3/mkdocs-multirepo-plugin/pull/75

@anb0s, can I close this?

@jdoiro3 i've tried this option, but it looks like it then applies to all referenced repos and some of them showed strange issue:
INFO     -  Multirepo plugin importing docs...
Error: Inherited config file 'mkdocs-nav.yml' does not exist at '/builds/documentation/.deps/services/rsc/mkdocs-nav.yml'

I do not know how it is related to new config parameter as the main file where the imports are placed called mkdocs-nav.yml and why it's expected to be in the referenced / fetched services/rsc...
i've to dig deeper tomorrow...
but can i use this parameter in the special imports only or it's global now?

The solution is not working or i do not understand how to use the new option :(
Do you have examples how it is configured and example repo?
and aswer to this question:  can i use this parameter in the special imports only or it's global now?
Thanks!

The new config param is global right now (see the README here) but I can make it also part of an !import statement in the future if needed.
Based on your previous comment it looks like the plugin isn't working correctly with the inheritance feature MkDocs has. The plugin ignored yaml files (doesn't register them to Mkdocs) when importing so this might explain it. I honestly can't recall why I did this and I don't have a comment but I think that's why Mkdocs is telling you the file doesn't exist.
Can you please provide me a full example of what you're trying to accomplish and what you need so I can try and fix/add features to this? Also, I won't get to this until next week.

FYI - I have a PR (https://github.com/jdoiro3/mkdocs-multirepo-plugin/pull/80) that adds keep_docs_dir as an !import config param, which makes it not just a global param. You can see the PR's branch docs for this here.

@jdoiro3 sorry for the delay in responding, i was busy with relasing our software. I've now tried v0.6.0 and added keeps_docs_dir=true to !import and it just worked 👍
The nav entry in the target repo:
- 'Testing':
  - 'Getting Start Testing':  '!import https://my-server/test/getting-started-testing?branch=main&config=mkdocs.yml&extra_imports=["**/*"]&keep_docs_dir=true'

The mkdocs.yaml in the root of source repo:
edit_uri: edit/main/

use_directory_urls: false

nav:
  - 'Getting Started Testing':             'README.md'
  - 'Setup your development environment': 'docs/Setup.md'
  - 'Execute the tests automatically':     'docs/ExecuteAutomatically.md'

The edit button also now points to the right pathes!
Now we can handle the root import stuff for some specific repositories without breaking the standard behaviour to import with docs_dir :)
Thank You!

@anb0s no worries. Glad the new release fixed your team's issue!


sdkman workaround

Ref https://github.com/scala/scala/pull/8528

To validate this pull request against other sbt modules, please visit this link.


Travis builds fail while trying to build regression images

The travis-ci file in the f5-cccl repo has fixed (and outdated) version references to the k8s-bigip-ctlr and marathon-bigip-ctlr which are causing some builds to fail (see for example, https://travis-ci.org/f5devcentral/f5-cccl/jobs/433234146).

Note: we've stopped running the f5-cccl regression tests and instead rely of the CC regressions to detect problems with the CC and all of its f5 dependencies (including cccl), and should stop building these regression images.


corrupted git state: flutter --version crashes VersionCheckError: Command exited with code 128

Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter
exception
VersionCheckError: VersionCheckError: Command exited with code 128: git log -n 1 --pretty=format:%ad --date=iso
Standard error: error: non-monotonic index .git/objects/pack/pack-4f8f216597825dadce2245e0f638f9d507a2e1fe.idx
error: non-monotonic index .git/objects/pack/pack-4f8f216597825dadce2245e0f638f9d507a2e1fe.idx
error: non-monotonic index .git/objects/pack/pack-4f8f216597825dadce2245e0f638f9d507a2e1fe.idx
error: non-monotonic index .git/objects/pack/pack-4f8f216597825dadce2245e0f638f9d507a2e1fe.idx
fatal: bad object HEAD
#0      _runSync (package:flutter_tools/src/version.dart:521:5)
#1      FlutterVersion._latestGitCommitDate (package:flutter_tools/src/version.dart:141:12)
#2      FlutterVersion.frameworkCommitDate (package:flutter_tools/src/version.dart:132:37)
#3      FlutterVersion.checkFlutterVersionFreshness (package:flutter_tools/src/version.dart:288:62)
<asynchronous suspension>
#4      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:372:41)
<asynchronous suspension>
#5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#6      _rootRun (dart:async/zone.dart:1124:13)
#7      _CustomZone.run (dart:async/zone.dart:1021:19)
#8      _runZoned (dart:async/zone.dart:1516:10)
#9      runZoned (dart:async/zone.dart:1463:12)
#10     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#11     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:356:19)
<asynchronous suspension>
#12     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:111:29)
#13     new Future.sync (dart:async/future.dart:224:31)
#14     CommandRunner.run (package:args/command_runner.dart:111:11)
#15     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:242:18)
#16     run.<anonymous closure> (package:flutter_tools/runner.dart:60:20)
<asynchronous suspension>
#17     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#18     _rootRun (dart:async/zone.dart:1124:13)
#19     _CustomZone.run (dart:async/zone.dart:1021:19)
#20     _runZoned (dart:async/zone.dart:1516:10)
#21     runZoned (dart:async/zone.dart:1463:12)
#22     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#23     runInContext (package:flutter_tools/src/context_runner.dart:50:24)
<asynchronous suspension>
#24     run (package:flutter_tools/runner.dart:51:10)
#25     main (package:flutter_tools/executable.dart:60:9)
<asynchronous suspension>
#26     main (file:///b/s/w/ir/k/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#27     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:298:32)
#28     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)

flutter doctor
encountered exception: VersionCheckError: Command exited with code 128: git log -n 1 --pretty=format:%ad --date=iso
Standard error: error: non-monotonic index .git/objects/pack/pack-4f8f216597825dadce2245e0f638f9d507a2e1fe.idx
error: non-monotonic index .git/objects/pack/pack-4f8f216597825dadce2245e0f638f9d507a2e1fe.idx
error: non-monotonic index .git/objects/pack/pack-4f8f216597825dadce2245e0f638f9d507a2e1fe.idx
error: non-monotonic index .git/objects/pack/pack-4f8f216597825dadce2245e0f638f9d507a2e1fe.idx
fatal: bad object HEAD

#0      _runSync (package:flutter_tools/src/version.dart:521:5)
#1      FlutterVersion._latestGitCommitDate (package:flutter_tools/src/version.dart:141:12)
#2      FlutterVersion.frameworkCommitDate (package:flutter_tools/src/version.dart:132:37)
#3      FlutterVersion.frameworkDate (package:flutter_tools/src/version.dart:94:31)
#4      FlutterValidator.validate (package:flutter_tools/src/doctor.dart:463:127)
<asynchronous suspension>
#5      Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:129:52)
#6      Doctor.diagnose (package:flutter_tools/src/doctor.dart:200:41)
<asynchronous suspension>
#7      _doctorText.<anonymous closure> (package:flutter_tools/runner.dart:188:26)
#8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#9      _rootRun (dart:async/zone.dart:1124:13)
#10     _CustomZone.run (dart:async/zone.dart:1021:19)
#11     _runZoned (dart:async/zone.dart:1516:10)
#12     runZoned (dart:async/zone.dart:1463:12)
#13     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#14     _doctorText (package:flutter_tools/runner.dart:187:19)
<asynchronous suspension>
#15     _createLocalCrashReport (package:flutter_tools/runner.dart:165:32)
<asynchronous suspension>
#16     _handleToolError (package:flutter_tools/runner.dart:120:33)
<asynchronous suspension>
#17     run.<anonymous closure> (package:flutter_tools/runner.dart:64:20)
<asynchronous suspension>
#18     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#19     _rootRun (dart:async/zone.dart:1124:13)
#20     _CustomZone.run (dart:async/zone.dart:1021:19)
#21     _runZoned (dart:async/zone.dart:1516:10)
#22     runZoned (dart:async/zone.dart:1463:12)
#23     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#24     runInContext (package:flutter_tools/src/context_runner.dart:50:24)
<asynchronous suspension>
#25     run (package:flutter_tools/runner.dart:51:10)
#26     main (package:flutter_tools/executable.dart:60:9)
<asynchronous suspension>
#27     main (file:///b/s/w/ir/k/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#28     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:298:32)
#29     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)

Likely a corrupt/incomplete download. The combination of exit code 128 and bad object HEAD seems like a good candidate for catching with special-case error handling and providing a 'please try downloading again' friendly message with a toolExit instead of crashing.

The doctor crash is fixed with https://github.com/flutter/flutter/pull/44868.

Duplicate of https://github.com/flutter/flutter/issues/50902
If you have more context for this error message, or want to leave a 👍 to indicate that it is still affecting you please comment on the meta issue https://github.com/flutter/flutter/issues/50902


Input redesign

Hello @SurajPratap10
Description
Changed the input design of forms
Fixes #372  change in Inputs of Login and signup
Screenshots
The design is as follows:
Signup

Login

How's It?
I think we should change the button as well so it matches with the rest of the input. If you allow I will change the button so that it matches with the rest of the inputs and I will implement related animation too in the button.
Please share your feedback.
Checklist

[x] Tests have been added or updated to cover the changes
[ ] Documentation has been updated to reflect the changes
[x] Code follows the established coding style guidelines
[x] All tests are passing

Heyc@SurajPratap10  Conflicts Resolved. 👍🏻


update dependencies

resolve https://github.com/kubevela/kubevela.github.io/issues/1259

@Arhell Thanks


More clarification on the data format

Hi, thanks for the effort of open-sourcing the data and codes! I'm curious whether there is (or will be) more detailed documentation on the data provided. For example, what each of the data's fields represents and how are we supposed to use them. I'm having trouble locating this in the paper and the README, but feel free to point me to specific line numbers if I miss anything. Thanks in advance for the help!

Thanks for checking! At this moment we don't have a README for the format. But you can check the dataclass definitions here. We have some comments there to explain the fields.
Each line in the jsonl file is a Dialogue.
Feel free to post here if you have more questions!

Thanks, this is very helpful!

Hi, just want to follow up on the issue on a slightly different question: could you explain what the model/task is here in a bit more detail? I read the paper but am still scratching my head to understand what each part of the codebase is trying to accomplish.
To be a bit more specific, here are some questions I have:

What is the model here trying to achieve? Using the terminology from here. Is the goal to generate agent_utterance given user_utterance?
I'm not super familiar with OpenNMT, but it seems like all the modeling part is handled by this library? If so, I'm curious about the role/functionalities of src/dataflow/, and in particular, src/dataflow/core/?

Thanks in advance for the help!

What is the model here trying to achieve? Using the terminology from here. Is the goal to generate agent_utterance given user_utterance?

The goal is to predict the program from the user utterance and its context turns.
In the experiments, we use the Turn.lispress field as the linearized representation of the Program. You can use the seq_to_program and the program_to_seq method to convert between the lispress string and the Program.
You can see an example here.

I'm not super familiar with OpenNMT, but it seems like all the modeling part is handled by this library? If so, I'm curious about the role/functionalities of src/dataflow/, and in particular, src/dataflow/core/?

Yes, we use the off-the-shelf seq2seq model with copy mechanism in the OpenNMT for experiments since our paper focused on the novelty on the representation.
Our library provides two things: 1) methods to convert the Program in the released data to the linearized lispress format for seq2seq model, 2) convert MultiWOZ data to dataflow programs.

Thanks for the very clear answers! (And sorry for another round of follow-up questions.)
To make sure I understand this correctly. All the codes under src/dataflow/core/ are intended for converting Program to/from linearized lispress format?

In that case, where does agent_utterance appear?
According to Sec.7 in the paper, " program accuracy" is measured as "exact-match accuracy of the predicted program after inlining metacomputation." Does that mean the program itself would not be evaluated/executed, but will simply be compared the ground truth program (as opposed to, say, execute the program, and compare the program output)?
What is the difference between "inline" and "dataflow" in Table 2 (and subsequently, README)? In the README, I wasn't able to find how to switch between these two modes, but likely I'm missing something.
Related to the question above, do the models here all treat the utterance -> program as seq2seq (instead of other forms of structured prediction)?

To make sure I understand this correctly. All the codes under src/dataflow/core/ are intended for converting Program to/from linearized lispress format?

Right (and there are some other IO util methods).

In that case, where does agent_utterance appear?

The data comes with agent utterances, but we do not use them in our model and experiments.

According to Sec.7 in the paper, " program accuracy" is measured as "exact-match accuracy of the predicted program after inlining metacomputation." Does that mean the program itself would not be evaluated/executed, but will simply be compared the ground truth program (as opposed to, say, execute the program, and compare the program output)?

Correct.

What is the difference between "inline" and "dataflow" in Table 2 (and subsequently, README)? In the README, I wasn't able to find how to switch between these two modes, but likely I'm missing something.

There are two versions of data released. On this page, right below the "Data" button, you can find the link to the "inline" version.

Related to the question above, do the models here all treat the utterance -> program as seq2seq (instead of other forms of structured prediction)?

That's right.

Thanks, these are quite clear!


Updated to include new Pokemon and Moves added in Gen 2 Release

Updated Pokemon Movesets and Stats, as well as added new Moves and updated old moves

Damn, that was quick! This was going to be my weekend project, but I guess I don't have to worry about it now. Thanks!


Raspberry Pi 3 B+ wifi does not work until the service is restarted

Describe the bug
I would like to have my Rasberry Pi connect to wifi without requiring user interaction. I have attempted to configure it using both wpa_supplicant and iwd, and both services are in a failed state on initial login.  I have tried wpa_supplicant both with & without connman, and with & without declaratively specifying the connection details of the SSID.
Restarting the service (systemctl restart wpa_supplicant.service or systemctl restart iwd.service) causes the wireless to immediately connect, and systemctl status shows the service in a healthy state.
When I run journalctl -u iwd, I see the following error listed:
NEW_INTERFACE failed: Device or resource busy
To Reproduce
Steps to reproduce the behavior:

Install NixOs 19.09 with kernel 4.19 following the wiki guide
Attempt to configure wifi using network.wireless.enable = true; or network.wireless.iwd.enable = true;

Expected behavior
The pi should connect to wifi, and the wireless service (iwd or wpa_supplicant) should not crash.
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"aarch64-linux"`
 - host os: `Linux 4.19.107, NixOS, 19.09.2201.7d31bbceaa1 (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.3`
 - channels(root): `"nixos-unstable-20.09pre215947.82b54d49066, nixos-19.09.2201.7d31bbceaa1"`
 - channels(ertw): `"nixpkgs-unstable-20.09pre215991.93ba4ecd586"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

I had to add this to my config for wifi to work:
  boot.extraModprobeConfig = ''
    options cfg80211 ieee80211_regdom="${regDom}"
  '';
  hardware.firmware = [ pkgs.wireless-regdb ];

where regDom is your 2 letter country code (US for the United States).

Update: I did try @matthewbauer's suggestion, and I'm not sure whether it helped or not. Now I am sometimes getting connected to wifi, and sometimes not. In the case where it fails to connect to wifi, I see the same  NEW_INTERFACE failed: Device or resource busy in systemctl status.
Is there some way I can configure the systemd unit to always restart? Something like, attempt to start every 5 seconds forever seems like what I'd want regardless in an embedded device where connectivity is critical.

I think you can do:
systemd.services.iwd.serviceConfig.Restart = "always";

I also have this in my settings, but can't remember if it made a difference:
networking.dhcpcd.extraConfig = "timeout 0";

Okay, systemd.services.iwd.serviceConfig.Restart = "always"; does seem to solve my problem-  the device is now connecting reliably to wifi and I can SSH into it without needing a display.
I'd like to leave this issue open for now though, as there is something causing both iwd and wpa_supplicant to crash on initial startup. Ideally we could discover what this is, and correctly solve for it rather than just restarting the service.
Here is what I believe to be the minimal config for working WLAN on the Raspberry Pi 3 B+:
{ config, pkgs, lib, ... }:
{
  systemd.services.iwd.serviceConfig.Restart = "always";
  hardware = {
    enableRedistributableFirmware = true;
    firmware = [ pkgs.wireless-regdb ];
  };
  networking = {
    useDHCP = false;
    interfaces.wlan0.useDHCP = true;
    networkmanager.wifi.backend = "iwd";
    wireless.iwd.enable = true;
  };
  boot = {
    extraModprobeConfig = ''
      options cf680211 ieee80211_regdom="US"
    '';
  };
  system = {
    stateVersion = "19.09";
  };
}

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/raspberry-pi-aarch64-connect-to-wifi-automatically/6162/2

To add to this, the Arch Linux iwd entry specifically calls out issues with the systemd unit failing on startup, which sounds like what I've been running into.
https://wiki.archlinux.org/index.php/Iwd#Systemd_unit_fails_on_startup_due_to_device_not_being_available

My Raspberry Pi 4B was failing to load the wlan0 device.  The fix is to add hardware.enableRedistributableFirmware = true;.  The full working config is in https://github.com/Robertof/nixos-docker-sd-image-builder/issues/10#issuecomment-646901392
Shall we close this issue?

This issue seems to be still present. wlan0 doesn't even show up on the Pi 3. The only workaround is to use an older version of firmware-linux.

I got it working by following the instructions in https://github.com/NixOS/nixpkgs/issues/115652#issue-826834436. But there doesn't seem to be a real solution yet.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/raspberry-pi-3-wireless-interface/17576/1

@ertw Your typo is carried to the internet example
options cf680211 ieee80211_regdom="US"

it should be cfg80211 instead of cf680211.
Took me a tremedous long time to figure out.
Without fixing this typo, the output below is 00 and I cannot associate with any network
root@nixos ~# cat /sys/module/cfg80211/parameters/ieee80211_regdom
US


Added RBAC to GlusterFS Simple Provisioner

Adds a new ServiceAccount and RBAC roles/bindings for the GlusterFS Simple Provisioner.
Also updated README.md with instructions on how and when to use it.

I have finished signing the CNCF Individual CLA

/lgtm
thank you. distributing "just works" yamls has been difficult, any help is very much appreciated.


[OTHER]

What would you like to share?
My pull request (#1271) has been merged but the LinkFree link hasn't been generated yet as to when I go to the link provided in README and join my username to it - it says 'Profile not found'. Am I supposed to do something more or will the LinkFree link be generated in the future? Actually, I am new in this domain and have no idea how it works.
Thank you!
Additional information
No response

Hi Soham, thanks for contributing. The website doesn’t get automatically deployed when a profile is added so it can take some time for profiles to appear as the maintainers either have to trigger it manually.

Okay, thank you!


Any idea how to fix that? It breaks all the javascript on the website...

I know this is an old thread, but if anyone stumbles on this, I had a similar issue that I tracked down to an old Mixpanel script being referenced along with the Segment script.

+1 to @dhruska

+1, same error

For the record, I also had this error and made sure I didn't duplicate the snippet. Turns out analytics.js conflicts with date.js. Removing date.js got rid of this error.

Another for the record: it can also happen when you send a large object to analytics.track as there's a method which iterates through all of it's own properties.

we experience same problem now, and it slows the whole UI drastically, maybe it worth to look into it, at least to give a meaningful error, where to look and what might be the problem?

I would suggest double and triple checking the signature of your function calls. I ran into a similar issue when I inadvertently jumbled the order of parameters I was passing to the identify function.

@rawberg thx for suggestion, we've actually found a problem, in Ember project, we've accidently passed whole model, and analytics.js started to clone a lot of internal dependencies going round and round :) Everything is fine now.

@RuslanZavacky Sounds exactly like what I've stumbled into ^.

👍  this happened to me as well. I was accidentally passing an event a la onClick={ this._onClickHandler.bind(this, true) }, the parameters of which were being passed to track. () => this._onClickHandler(true) } solves it

Chiming in to say that I got this error from a messed up snippet.
The first line that initializes the analytics ended with a comma rather than a semicolon, causing the script to run over and over.
Updating the snippet fixed it for me.

@cmwall mind pasting where, I'm too now having this issue

@DarrylD
https://segment.com/docs/sources/website/analytics.js/quickstart/#step-1-copy-the-snippet

@cmwall looked there, the first lines all end with semicolons, unless I'm missing something

@DarrylD Sorry for the confusion but the error was on my end, not theirs. That was the snippet I used to fix the problem.


Version 0.11.0 does not compile

Hello,
I want to use smoltcp in a no_std environment, but version 0.11.0 does not compile.
Version 0.10.0 compiles without trouble in the same empty code skeleton (cortex-m-quickstart repository).
Dependency entry in Cargo.toml looks like
[dependencies]
cortex-m = "0.6.0"
cortex-m-rt = "0.6.10"
cortex-m-semihosting = "0.3.3"
panic-halt = "0.2.0"
smoltcp = { version = "0.11.0", default-features = false, features = ["log", "medium-ethernet", "proto-ipv4", "socket-tcp"] }

Using version Rustc 1.82.0 (f6e511eec 2024-10-15)
Edit: Using the current main branch version with commit e9b66ea works locally, aswell

I think it is because you enabled the log feature-flag for smoltcp, which does not compile for no_std. Instead, you could enable the defmt feature flag to enable logging, using the defmt crate.

Thanks for the response! Compiling with the log feature-flag does seem to compile anyways.
The problem is resolved, for some reason cargo had stored a broken version of smoltcp 0.11.0 in it's local registry.
Removing it fixed the issue!


Fix #740 Added URL encoding for model names that contain "/" when using application inference profile.

This pull request fixes an issue #740 by using Bedrock's Application Profile.

Ah thanks for tracking this down and opening a PR! Would you be able to add a unit test for this case to tests/lib/test_bedrock.py?

The ARN of the Application Profile contains a unique inference_profile_id that is automatically assigned, but how should I write it?
I have the following ARN in my environment, but it will be a different ID in other AWS environments.
arn:aws:bedrock:us-east-1:637423213562:application-inference-profile/jf2sje1c0jnb

ah the test shouldn't hit the live API, all of our tests hit mocks.
here's an example from the test_bedrock.py file
@pytest.mark.respx()
def test_messages_retries(respx_mock: MockRouter) -> None:
    respx_mock.post(re.compile(r"https://bedrock-runtime\.us-east-1\.amazonaws\.com/model/.*/invoke")).mock(
        side_effect=[
            httpx.Response(500, json={"error": "server error"}, headers={"retry-after-ms": "10"}),
            httpx.Response(200, json={"foo": "bar"}),
        ]
    )
    sync_client.messages.create(
        max_tokens=1024,
        messages=[
            {
                "role": "user",
                "content": "Say hello there!",
            }
        ],
        model="anthropic.claude-3-sonnet-20240229-v1:0",
    )

    calls = cast("list[MockRequestCall]", respx_mock.calls)

    assert len(calls) == 2

    assert (
        calls[0].request.url
        == "https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-3-sonnet-20240229-v1:0/invoke"
    )
    assert (
        calls[1].request.url
        == "https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-3-sonnet-20240229-v1:0/invoke"
    )


Auth notification pops up twice on start up

When you install and reload to activate the extension, this popup will appear, then dismiss and reappear again:

Tested on Windows 10, ext v0.2.1

I can no longer repro this issue, this should be fixed in the latest version of the extension 0.12.0


Use pyarrow to generate test data for Arrow IPC reads

The tests in https://github.com/gpuopenanalytics/pygdf/blob/master/pygdf/tests/test_gpu_arrow_parser.py use hard-coded binary data. This makes it more difficult to programmatically extend these tests.
I opened https://issues.apache.org/jira/browse/ARROW-1406 to ensure that this is easy to do and documented. So you will be able to obtain a memoryview containing the serialized schema and record batch in the form that you have currently.

I'm adding some notes about the hardcoded binary data.
The existing hardcoded data are generated from mapd via pymapd's select_ipc_gpu.  The related source line in mapd are:

schema writing: https://github.com/mapd/mapd-core/blob/fae2f9079fb3fa1f60200212443adaac752e3030/QueryEngine/ResultSetConversion.cpp#L418
recordbatch writing: https://github.com/mapd/mapd-core/blob/fae2f9079fb3fa1f60200212443adaac752e3030/QueryEngine/ResultSetConversion.cpp#L458

Moving all the gpu serialization logic into arrow will allow us to simplify the tests here in pygdf, and to make it easier for all GOAI projects to implement the same serialization format.

Sounds good. We are setting up nightly builds of pyarrow (using the conda-forge toolchain for builds) so that if you require a new function in between conda-forge releases (which are loosely tied to Apache releases) you aren't affected by that. I'll first try to reproduce the existing test case but using dynamically generated IPC messages. We should be able to remove the Flatbuffers files from libgdf also
cc @cpcloud

Fixed by #200


Fix typo in initial setup message

:recycle: Current situation
Initial setup text has "Homebridge" misspelled as "Homebrdige".
:bulb: Proposed solution
Fix the typo.
:gear: Release Notes
Fixes a typo in plugin setup text.

Thanks!


email<EMAIL_ADDRESS>not working

I can't email<EMAIL_ADDRESS>

Thanks
Maro

Thank you, Maro! This issue has been resolved.