Issue found when calling AutoForm.getFieldValue

This issue is probably not with AutoForm.getFieldValue, but I suspect with how I'm setting my form for inserts and updates.
Up until 5.0 everything has worked fine.
Here's the error I'm getting when trying to call AutoForm.getFieldValue:
Error: No form with ID MY_FORM_NAME is currently rendered. If this call originated from within a template event or helper, you should call without passing a formId to avoid seeing this error

I'm sure you've seen this before, but here's how I'm setting the form mode:

I check if I have a record in the DB for that form and user,

  if (count === 0)
    return {doc: null, type: "insert"};
  else
    return {doc: dataSet, type: "update"};

If I do then I set the type to update with the data, else insert with doc: null.  The dataSet is just a return value from,
return MY_COLLECTION.findOne({_personId: Meteor.userId()});

The above code is called within a helper on the form template,

my_form_Controller.helpers({
  setFormMode: function () {
    return getFormMode(this.MY_FORM_NAME());
  }
});

Then within the template, I have a {{#with setFormMode}}, and within this I set the form attributes like so,

{{#autoForm collection="MY_COLLECTION" id="MY_FORM_NAME" doc=doc type=type class="form-horizontal" }}

The error occurs when I call a AutoForm.getFieldValue(fieldName, MY_FORM_NAME) when the form is loading and the controls are being placed on the form....
What is seems like is that the form is not rendered before the call to getFieldValue().  Again, this all worked fine before the upgrade from 4.0.2 to 5.1.2.

I got around this issue by coding defensively.  I don't just return whatever AutoForm.getFieldValue returns, I check the return value and if it's not a 'good' value I return null or undefined.  No more exceptions and no side effects -- so far.

Hi aadamsx,
I wonder if my problem is related to this one. I am using a similar setup to initiate the form. On update forms, all my conditional input fields are missing. But they appear after I hit refresh. I downloaded the source code and tried to trace what went wrong. I got stuck on these pieces of code:
AutoForm.getFieldValue = function autoFormGetFieldValue(fieldName, formId) {
  // find AutoForm template
  var template = AutoForm.templateInstanceForForm(formId);
  if (!template || !template.fieldValuesReady.get() || !template.view._domrange || template.view.isDestroyed) {
    return;
  }
  // reactive dependency
  template.formValues = template.formValues || {};
  if (!template.formValues[fieldName]) {
    template.formValues[fieldName] = new Tracker.Dependency();
  }
  template.formValues[fieldName].depend();

  var doc = AutoForm.getFormValues(formId, template, null, false);
  var mDoc = new MongoObject(doc);
  return mDoc.getValueForKey(fieldName);
};

The doc variable returns an empty object. Since the object is empty, there is no way getFieldValue will return something useful. When checking out getFormValues I found out that this line:
  // Build a flat document from field values
  var doc = getFlatDocOfFieldValues(getAllFieldsInForm(template), ss);

and more specific: the getAllFieldsInForm part delivers nothing:
getAllFieldsInForm = function getAllFieldsInForm(template) {
  // Get all elements with `data-schema-key` attribute, unless disabled
  return template.$("[data-schema-key]").not("[disabled]");
  // Exclude fields in sub-forms, since they will belong to a different AutoForm and schema.
  // TODO need some selector/filter that actually works correctly for excluding subforms
  // return template.$('[data-schema-key]').not("[disabled]").not(template.$('form form [data-schema-key]'));
};

I am kind of a noob on this. Although the template-parameter seems fine (I can find the correct mongoid record in there), it doesn't return an object needed for getFormValues, like it is not picking up the form yet.
Is this all related to #822? Or do you think I should open another issue??
thanks
Cspr

Well, I'll try to sum up what I think is going on:
I'm using a template that has a schema and collection attached to it (using Autoform and SimpleSchemas and Collection2).  This template has child or sub templates that contain the afFieldsInput templates.  Inside these child templates I have logic that calls out to AutoForm.getFieldValue.
Some of these afFields are radio buttons and some are checkboxes.  Everything worked great until I updated.  Now a few things are happening.  The radio buttons, where I have show/hide logic that calls out to getFieldValues, no longer works, and the checkboxes no longer works -- they are no longer reactive.
I've gotten around this by implementing my own reactivity, thereby removing my dependency on getFieldValue for getting form data and reactivity.  Now my forms function find as far as I can tell.
If you post a repo where I can reproduce your situation, I'll take a look and try to help you.  Also, check out forums.meteor.com -- someone might be able to help you there too.  But in general, being able to create a github repo of your issue will help others help you.
Rant:
Eventually I want to remove autoform, simple schema, and collection 2 altogether -- and implement my own forms, with reactive validation on the client.  Why would I go through this trouble?  Because I've gotten burned by this and its related package so many times now, I can't put my trust in it any longer.  Every time I upgrade meteor I worry that autoform is going to break again.
And with almost every upgrade of autoform, something gets fixed, and then something else breaks -- It's a ride I want to get off of, and really not worth the added upfront time savings IMO.
Also, at this point I think aldeed considers this package someone done from what I've read from him.  He's probably just busy, but he's stop responding to my and other's posts.  The problem with that is, I can't build software on a package that has major bugs, where PR are ignored (again probably busy), and doesn't respond to queries.  The guy is just stretch too thin with all the packages he maintains, not to mention the business he runs.
It's simple enough to build out our own controls, reactive validation, hooks, etc., it will just take a little longer to get going is all.


The quantitative evaluation and non-frontal face figures are not mentioned in the text.

I just put it in the latex. We should mention and refer to them somewhere in the text.

fixed


NO WORK IN <IP_ADDRESS> VERSION ?

Version of Waterdog
git:Waterdog-Bootstrap:1.15-SNAPSHOT:92771ca:317
Expected Behavior
Expected to be redirected to the lobby
Actual Behavior
Minecraft Kick: Disconnected from server
Crashdump, Backtrace or Other Files
NO
Describe the bug
when trying to enter the waterdog listener he should be redirected to the lobby, however I am disconnected for the reason "Disconnected from the server"
To Reproduce
try to create a waterdog on localhost in version <IP_ADDRESS> of mcbe
Screenshots
-waterdog listener added in minecraft

-Minecraft diconnected

-nothing happened in the waterdog

-waterfall.yml

-pocketmine server.properties

-waterdog config

Server software used:
PocketMine
Additional context

make sure you use https://github.com/WaterdogPE/Waterdog

make sure you use https://github.com/WaterdogPE/Waterdog

You should link the new repository in the README so everyone will know

Probably, yea. Gonna close this issue tho.

Done in f67eb9a018af96911e020aa2a0e1703df8ac3da6


Chore(web): Add StorytellingPageSectionItem

Overview
Add StorytellingPageSectionItem

Could you add the multiple-line case as Storybook component? ActionButton is hidden when line is broken.


Fix join toc config

Docs Build status updates of commit 46fa854:
:clock10: Full build: the average full build time is 133 min(s) 12 sec(s), this is based on the last 291 build(s) for this repository.

Docs Build status updates of commit 46fa854:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 6ae52bb:
:clock10: Full build: the average full build time is 133 min(s) 44 sec(s), this is based on the last 295 build(s) for this repository.

Docs Build status updates of commit 6ae52bb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Can we have hybrid sequence number of question and panel?

Are you requesting a feature, reporting a bug or ask a question?
Question
What is the current behavior?
Can we sequence a panel as one question. E.g. if we have 4 questions and last 2 questions are in a panel, can we have the sequence as 1,2,3 where 3 is the sequence for panel. So that user will get impression tha last two questions are required to answer third question?
What is the expected behavior?
NA
How would you reproduce the current behavior (if this is a bug)?
NA
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
your_code_here

Specify your

browser:
browser version:
surveyjs platform (angular or react or jquery or knockout or vue):
surveyjs version:

@deepakjain2502 Right now there is no this functionality. However, I may do a trick with dynamic panel.
You will have to set the panelCount, minPanelCount and maxPanelCount properties to 1. In this case there will be no navigation through panels (panelCount is 1) and buttons for adding/removing panels will be invisible as well. Here is the example,
However, the data will be store as: panelName: {question1: value1, question2:value2}.
Let me know if this solution works for you.
Thank you,
Andrew

That will do the trick. Thanks a lot J
Thanks,
Deepak Jain | Subtlelabs Technologies Pvt. Ltd | Phone: +91-9818542953 | Email<EMAIL_ADDRESS>|  http://www.subtlelabs.com www.subtlelabs.com
logoFinal_RGB(web&video_purposes).png
From: Andrew<EMAIL_ADDRESS>Sent: 08 September 2017 12:35
To: surveyjs/surveyjs
Cc: deepakjain2502; Mention
Subject: Re: [surveyjs/surveyjs] Can we have hybrid sequence number of question and panel? (#637)
@deepakjain2502 https://github.com/deepakjain2502  Right now there is no this functionality. However, I may do a trick with dynamic panel.
You will have to set the panelCount, minPanelCount and maxPanelCount properties to 1. In this case there will be no navigation through panels (panelCount is 1) and buttons for adding/removing panels will be invisible as well. Here is the example https://plnkr.co/edit/pBpoiPVhBqJ6nagC8VWC?p=preview ,
However, the data will be store as: panelName: {question1: value1, question2:value2}.
Let me know if this solution works for you.
Thank you,
Andrew
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/surveyjs/surveyjs/issues/637#issuecomment-328018610 , or mute the thread https://github.com/notifications/unsubscribe-auth/AFR9XVMAY8XPKbhczn9a34vuBD3xq4ZSks5sgOclgaJpZM4PQwGA .Image removed by sender.

This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


Upgrade rollup

Switched to karma-rollup-preprocessor which is a lot more maintained.
Upgraded to rollup 1.3.2, see major changes here

My goal is to upgrade some of the deps and then try to implement pure ES6 import/export instead of depending in window.L, as discussed in https://github.com/Leaflet/Leaflet.markercluster/issues/874

I'm using the same node and npm version as travis, but I can't reproduce that error. Any hints?

No luck. How about installing renovate do upgrade each package incrementally to see where it fails?

I fixed it in #944


fix for #18365 : standardize the behavior in case of no input_shape is provided.

I have provided a default input_shape if the include_top is False and no shape is provided upon the call of the function. Please have a look.

Hi @yashsinghcodes Can you please sign CLA. Thank you!

@gbaned done 👍

@gbaned looks like @haifeng-jin is on a vacation or something?

@yashsinghcodes Thank you for your patience! However, all PRs are blocked by our internal cleaning up right now. Will proceed when it is finished.
Thanks for  your understanding!

got it, thanks for the update.

Hello, Thank you for submitting a pull request.
We're currently in the process of migrating the new Keras 3 code base from keras-team/keras-core to keras-team/keras.
Consequently, merging this PR is not possible at the moment. After the migration is successfully completed, feel free to reopen this PR at keras-team/keras if you believe it remains relevant to the Keras 3 code base. If instead this PR fixes a bug or security issue in legacy tf.keras, you can instead reopen the PR at keras-team/tf-keras, which hosts the TensorFlow-only, legacy version of Keras.


Support reflection-free mode

Hello,
I'm currently using .NET Core 3.0 with CoreRT support (an AoT compiler), which works fine with NLog. However there is is a reflection-free mode, which allows generating even better & more compact native code at the cost of disabling some reflection functions . When i enable this mode NLog fails though, since it calls the getAssembly() method. See here:
Unhandled Exception: EETypeRva:0x0182A620: Reflection_Disabled
StackTrace_AtWordInternal.Reflection.RuntimeTypeInfo.get_Assembly() + 0x27
StackTrace_AtWordNLog.Config.ConfigurationItemFactory.BuildDefaultFactory() + 0x37
StackTrace_AtWordNLog.Config.ConfigurationItemFactory.get_Default() + 0x1a
StackTrace_AtWordNLog.Targets.Target.Register(String, Type) + 0x14
StackTrace_AtWordOpenSage.Launcher.Program.Main(String[]) + 0x22
StackTrace_AtWordOpenSage!<BaseAddress>+0x114066d

Since this mode probably become more and more mainstream over team, when native C# compilation becomes more relevant it would be nice if NLog could be compliant to that mode.
NLog version: (e.g. 4.6.8)
Platform:  .NET Core 3.0 with CoreRT support

Why do we need it?
To prevent crashes if NLog is used with reflection-free mode in AoT compilation scenarios.

Thanks

But while we wait for static reflection to be implemented by some one, then you can add NLog to the RdXmlFile:
See also: #2979

This would require that NLog changed from dynamic-reflection (at runtime) to static-reflection (at compile-time).

PS this could be done with a T4 template.

Closing because of inactivity. Pull-request are ofcourse wellcome.

Created  #5198 to discuss if NLog v6 is for trimming-support, and post-pone NLog-core to v7.

Created draft for news-post about NLog v5.2:
https://github.com/snakefoot/NLog.github.io/blob/master/_posts/2023-05-16-nlog-5-2-trim-warnings.md

NLog v5.2 has been released, and will no longer perform reflection of Assembly-types, unless explicitly requested by the user.
See also: https://nlog-project.org/2023/05/30/nlog-5-2-trim-warnings.html


Feature/update lint staged config

This PR expands our husky and lint-staged use.

It adds a pre-push yarn run test hook so that we can find and fix tests before they fail on CI.
It applies prettier formatting to .md and .json files

This applies, most significantly, to our manual markdown prop tables. Ideally, we can start pulling them automatically from the component, but we are not doing that yet.

It applies prettier formatting to style/styles/test.js files.

This makes an assumption that we were originally ignoring these files because we didn't want to run eslint on them. I still think we should format them.

It applies prettier formatting and eslint checking on other source files.

It looks like there was an incorrect path to these files in that resources does not exist in this repo, so we were neither applying prettier nor checking for eslint warnings/errors before pushing.

The intent of this (and #129) is to make greater use of the tools we're using offer. I think we should rely more on auto-formatting to ensure a consistent code style (so we don't have to comment on it in PRs, and so it is easier to read), and to prevent unnecessary CI builds.

This is great, we should automate these types of checks where we can!


random error happening, can only be fixed by restarting the program

The following error happens often and right now everytime I hit the Sync button I am getting this screen

along with log:
{
	"A_Error": {
		"Extra": "Unexpected character at position 1: 'V'",
		"File": "bw-at.exe",
		"Line": 832,
		"Message": "Failed to parse JSON (-1,0)",
		"What": "-1"
	},
	"A_Info": {
		"locked": 0,
		"logged": 1,
		"portable": 1,
		"session": 0,
		"status": "locked",
		"sync": "2023-02-10T12:36:54.575Z",
		"version": "<IP_ADDRESS>",
		"windows": "10.0.19045"
	},
	"ADVANCED": {
		"field": "auto-type",
		"NODE_EXTRA_CA_CERTS": "Present",
		"pin-length": "6",
		"reprompt-with-pin": "1",
		"server": "Present",
		"tcato-ksps": "10",
		"tcato-wait": "250",
		"update-frequency": "1"
	},
	"CREDENTIALS": {
		"api-key": "0",
		"client-id": "",
		"client-secret": "",
		"tsl": "2",
		"user": "Present"
	},
	"DATA": {
		"pin": "Present",
		"update": "1676019288",
		"version": "1.1"
	},
	"GENERAL": {
		"action": "1",
		"favicons": "0",
		"pin": "2",
		"sync": "10",
		"tcato": 1,
		"timeout": "10",
		"totp": "1",
		"updates": "1"
	},
	"GENERATOR": {
		"digits": "1",
		"exclude": "",
		"length": "39",
		"lower": "1",
		"symbols": "1",
		"upper": "1"
	},
	"HOTKEYS": {
		"default": "#!v",
		"password": "^!p",
		"totp": "^!o",
		"username": "^!u"
	},
	"SEQUENCES": {
		"default": "{ClearField}{Username}{SmartTab}{Password}{Enter}",
		"password": "{ClearField}{Password}{Enter}",
		"totp": "{TOTP}",
		"username": "{ClearField}{Username}"
	}
}

For some reason it reports being locked yet, you are synchronizing.
The issue in itself is that the CLI doesn't receive a JSON string, rather a string starting with the letter V.
The issue still persists?

Can confirm it still persists.  The same error occurs once the autotype vault is locked.  Unlocking it afterwards doesn't solve the problem and the synchronization just keeps running.  The error just keeps popping up if you dismiss it.

@LoserForever88 are you using a self-hosted instance too?
The letter V seems to be an indicative of VaultWarden, so the problem would be on the server side of things, given that an official instance for example doesn't preset the issue.

@LoserForever88 are you using a self-hosted instance too?
The letter V seems to be an indicative of VaultWarden, so the problem would be on the server side of things, given that an official instance for example doesn't preset the issue.

No, I'm using offical installation.  I tried it again.  Same error and the sync just couldn't pass through once the vault is manually locked.


Add Oracle GraalVM

Summary
This PR adds Oracle GraalVM support to the Oracle buildpack. This allows you to use Oracle GraalVM to build your native-image applications. Presently, it does not allow you to build JVM based applications with GraalVM. Instead, it will use the Oracle JDK for this.
Use Cases
This is a short spike on how we could possibly implement https://github.com/paketo-buildpacks/rfcs/pull/294. The benefit of this approach is the simplicity and low amount of work it requires to get users to build native-image apps with Oracle GraalVM.
It does have the drawback mentioned in the commit message where you cannot at the moment select Oracle GraalVM to build JVM-based apps. It will continue to use Oracle JDK for that.
Checklist

[ ] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[ ] I have added an integration test, if necessary.
[ ] I have reviewed the styleguide for guidance on my code quality.
[ ] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

If you want to try this, I have a demo image available at docker.io/dmikusa/paketo-buildpacks-oracle.
Ex:
pack build apps/native -p target/demo-0.0.1-SNAPSHOT.jar -e BP_NATIVE_IMAGE=true -e BP_JVM_VERSION=17 -b docker.io/paketo-buildpacks/oracle -b urn:cnb:builder:paketo-buildpacks/java-native-image -B paketobuildpacks/builder-jammy-tiny:latest

First of all, thanks a lot for putting this PR together, @dmikusa! I'll go over it next week and probably come back with a couple of questions. I just tried to see whether I can use this to build a simple Spring app, but unfortunately, the build fails with the following error:
[INFO]     [creator]     ======== Error<EMAIL_ADDRESS>========
[INFO]     [creator]     fork/exec /cnb/buildpacks/paketo-buildpacks_oracle/v3.9.4-10-gbd38a6c/bin/detect: exec format error

Not sure if this is me doing something wrong or a problem in your version of the oracle buildpack?

Not sure if this is me doing something wrong or a problem in your version of the oracle buildpack?

🤦 No, that's cause I'm on an M1 Mac. I need to rebuild it on an AMD64 machine.
I've updated the image, give it another pull and try again. It should work now.

Will this be updated with new JDK 21 which has been released in the meantime?

The demo image isn't going to be updated. That's just a proof of concept for the RFC.
I'm hopeful that we can get the RFC approved soon though and get all of this merged into the actual buildpack. When that happens, yes we'll absolutely be including Java 21 support.

I notice the PR discusses native-image, am I correct in understanding the same can be used with as vanilla graalvm sdk? This might be good time to push as spring 3.2 and java 21 are out so people will be looking at graalvm support with the free license.

FYI, we have the RFC basically approved but are waiting on legal clearance because this is a new license. It's taking a while, but we have to follow the CFF's rules in this regard. As soon as we get clearance, I'm going to update and get this merged.

Hello @dmikusa , I took the liberty to update your PR (rebase on main, that included Java 21 in favor of Java 20)
Let me see if I can add the explicit warnings "YOU ACCEPTED THE LICENSE ..."

hum; I've republished my oracle-buildpack to : docker.io/anthonydahanne/oracle:4.0.0-anthony but unfortunately, I can't build a native app; always stuck with:
[builder] [1/8] Initializing...                                            (4.7s @ 0.21GB)
[builder]  Java version: 21.0.1+12, vendor version: Oracle GraalVM 21.0.1+12.1
[builder]  Graal compiler: optimization level: 2, target machine: x86-64-v3, PGO: ML-inferred
[builder]  C compiler: gcc (linux, x86_64, 11.4.0)
[builder]  Garbage collector: Serial GC (max heap size: 80% of RAM)
[builder]  2 user-specific feature(s):
[builder]  - com.oracle.svm.thirdparty.gson.GsonFeature
[builder]  - org.springframework.aot.nativex.feature.PreComputeFieldFeature
[builder] --------------------------------------------------------------------------------
[builder]  3 experimental option(s) unlocked:
[builder]  - '-H:Name' (alternative API option(s): -o io.paketo.demo.DemoApplication; origin(s): command line)
[builder]  - '-H:+StaticExecutableWithDynamicLibC' (origin(s): command line)
[builder]  - '-H:ReflectionConfigurationResources' (origin(s): 'META-INF/native-image/io.netty/netty-transport/native-image.properties' in 'file:///workspace/BOOT-INF/lib/netty-transport-4.1.101.Final.jar')
[builder] --------------------------------------------------------------------------------
[builder] Build resources:
[builder]  - 23.59GB of memory (75.3% of 31.33GB system memory, determined at start)
[builder]  - 8 thread(s) (100.0% of 8 available processor(s), determined at start)
[builder] SLF4J: No SLF4J providers were found.
[builder] SLF4J: Defaulting to no-operation (NOP) logger implementation
[builder] SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.
[builder] [2/8] Performing analysis...  []                                (23.8s @ 0.74GB)
[builder]     9,465 reachable types   (83.0% of   11,398 total)
[builder]    12,763 reachable fields  (57.1% of   22,336 total)
[builder]    47,333 reachable methods (56.9% of   83,239 total)
[builder]     2,993 types,   316 fields, and 2,091 methods registered for reflection
[builder]
[builder] Error: Classes that should be initialized at run time got initialized during image building:
[builder]  ch.qos.logback.classic.Logger was unintentionally initialized at build time. To see why ch.qos.logback.classic.Logger got initialized use --trace-class-initialization=ch.qos.logback.classic.Logger
[builder] ch.qos.logback.core.status.InfoStatus was unintentionally initialized at build time. To see why ch.qos.logback.core.status.InfoStatus got initialized use --trace-class-initialization=ch.qos.logback.core.status.InfoStatus
[builder] ch.qos.logback.core.status.StatusBase was unintentionally initialized at build time. To see why ch.qos.logback.core.status.StatusBase got initialized use --trace-class-initialization=ch.qos.logback.core.status.StatusBase
[builder] ch.qos.logback.classic.Level was unintentionally initialized at build time. To see why ch.qos.logback.classic.Level got initialized use --trace-class-initialization=ch.qos.logback.classic.Level
[builder] org.slf4j.LoggerFactory was unintentionally initialized at build time. To see why org.slf4j.LoggerFactory got initialized use --trace-class-initialization=org.slf4j.LoggerFactory
[builder] ch.qos.logback.core.util.Loader was unintentionally initialized at build time. To see why ch.qos.logback.core.util.Loader got initialized use --trace-class-initialization=ch.qos.logback.core.util.Loader
[builder] ch.qos.logback.core.util.StatusPrinter was unintentionally initialized at build time. To see why ch.qos.logback.core.util.StatusPrinter got initialized use --trace-class-initialization=ch.qos.logback.core.util.StatusPrinter
[builder] To see how the classes got initialized, use --trace-class-initialization=ch.qos.logback.classic.Logger,ch.qos.logback.core.status.InfoStatus,ch.qos.logback.core.status.StatusBase,ch.qos.logback.classic.Level,org.slf4j.LoggerFactory,ch.qos.logback.core.util.Loader,ch.qos.logback.core.util.StatusPrinter
[builder] --------------------------------------------------------------------------------
[builder]     2.8s (9.6% of total time) in 154 GCs | Peak RSS: 1.51GB | CPU load: 6.79
[builder] ================================================================================
[builder] Finished generating 'io.paketo.demo.DemoApplication' in 28.7s.
[builder] unable to invoke layer creator
[builder] unable to contribute native-image layer
[builder] error running build
[builder] exit status 1
[builder] ERROR: failed to build: exit status 1
ERROR: failed to build: executing lifecycle: failed with status code: 51

Tell me if you're luckier than me @dmikusa ...
I run this from an Ubuntu x86_64 with:
pack build apps/native  -e BP_NATIVE_IMAGE=true -e BP_JVM_VERSION=21 -b docker.io/anthonydahanne/oracle:4.0.0-anthony -b urn:cnb:builder:paketo-buildpacks/java-native-image -B paketobuildpacks/builder-jammy-tiny:latest on
/samples/java/native-image/spring-boot-native-image-maven

Also, wrt to explicit messaging about Oracle license, I suggest we insert the messaging both in README.md like you told me earlier @dmikusa as well as in the logs:

@anthonydahanne the Spring app you're trying to build uses 3.1.X. Don't you need 3.2.x for Java 21 support?

Regarding the license notice, I thought the default bellsoft/liberica buildpack already has a similar one that can be adapted? It probably needs to mention the Liberica NIK EULA somewhere, no?

I pushed an update to the README to clarify the behavior now includes Native Image support. Also, I added a small blurb to the license section at the bottom. @fniephaus and @anthonydahanne let me know what you think about that. I'm not tied to the wording, I just want to make it clear the buildpack is just an installer and you as a user are responsible for ensuring compliance with all license requirements.

@fniephaus I also thought of Spring Boot 3.2, and got the same result; probably something I missed with instrumentation of classes, I'll have a deeper look tomorrow
@dmikusa thank you for updating the README.md , looks good!

I ran successfully with Spring Boot 3.2 using spring-boot-maven-plugin + native-maven-plugin. The bindings and proxy are due to building behind corporate proxy. Here is my plugin setup:
<plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <configuration>
        <image>
            <network>host</network>
            <builder>paketobuildpacks/builder-jammy-tiny:latest</builder>
            <buildpacks>
                <buildpack>docker.io/anthonydahanne/oracle:4.0.0-anthony</buildpack>
                <buildpack>urn:cnb:builder:paketo-buildpacks/java-native-image</buildpack>
            </buildpacks>
            <env>
                <BP_JVM_VERSION>21</BP_JVM_VERSION>
                <HTTP_PROXY>${docker.http.proxy}</HTTP_PROXY>
                <HTTPS_PROXY>${docker.https.proxy}</HTTPS_PROXY>
                <NO_PROXY>${docker.noProxy}</NO_PROXY>
            </env>
            <bindings>
                <binding>
                    ${project.build.directory}/platform/bindings/certificates:/platform/bindings/certificates
                </binding>
            </bindings>
        </image>
    </configuration>
</plugin>
<plugin>
    <groupId>org.graalvm.buildtools</groupId>
    <artifactId>native-maven-plugin</artifactId>
</plugin>

Thank you @mjhaugsdal !
You validated it works from the Spring Boot Maven Plugin.
This morning, I got my ideas clearer and validated it works from the pack CLI as well:
From https://github.com/paketo-buildpacks/samples/tree/main/java/native-image/spring-boot-native-image-maven

GraalVM 17 Native Build:
pack build apps/native --env BP_MAVEN_ACTIVE_PROFILES=native   -b docker.io/anthonydahanne/oracle:4.0.0-anthony -b urn:cnb:builder:paketo-buildpacks/java-native-image -B paketobuildpacks/builder-jammy-tiny:latest

GraalVM 21 Native Build:

        <parent>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-parent</artifactId>
-               <version>3.1.0</version>
+               <version>3.2.0</version>
                <relativePath /> <!-- lookup parent from repository -->
        </parent>
        <groupId>io.paketo</groupId>
@@ -14,7 +14,7 @@
        <description>Demo project for Spring Boot</description>

        <properties>
-               <java.version>17</java.version>
+               <java.version>21</java.version>
        </properties>

pack build apps/native --env BP_JVM_VERSION=21 --env BP_MAVEN_ACTIVE_PROFILES=native   -b docker.io/anthonydahanne/oracle:4.0.0-anthony -b urn:cnb:builder:paketo-buildpacks/java-native-image -B paketobuildpacks/builder-jammy-tiny:latest

Would it work with spring maven plugin and packaging the container with the GraalVM JDK but without the native part?

@schrepfler Presently, no. If you were to install a JVM, it would give you Oracle's free JDK, not Oracle GraalVM JDK. Presently, this is only going to use Oracle GraalVM for building native-image.
We are aware that folks are interested in the use case you mentioned, using Oracle GraalVM as a JVM. It's on the roadmap to support but requires more work. We wanted to get this out for folks to use in the meantime.

Tested some builds from source/precompiled-jar, with Java 17 and 21. Looks good to me.

Any updates on this, we'd like to give it a try as we've seen good performance improvement locally but as we strictly use springboot with the maven plugin and delegate to paketo we don't want to go outside of it's build ecosystem.

@schrepfler please follow #167 for updates.


Need more nuanced "organization-project" relationships

# Name of the organization providing governance to the project
organization_name: ?

So there's a couple assumptions that this makes:

That there's only one organization per project;
That that organization supplies governance, and not just financial support.

Instead, we need a nested JSON structure here:
organization_1: {
  organization_name:
  organization_type:
  organization_relationship: [governance, financial support, other]
  ...
}

Yes, for my purposes (I hope to expand chooseafoundation.com by sharing some of the data here) this needs to be richer.  Or rather, this needs a better definition of "project" for the context here.
My starting concept is:

Organization (usually a legal one)
Project (has a website, semi-organized community, produces some content or code)
Product (software product or possibly a widely-used website of data or resources)

Separately, I hope to build a reasonably complete data structure for any major organizations that support FOSS in my work.  Maybe one day I could have a semi-definitive URL for each organization that could be pointed to as just (name, relationship to this project).
Good questions!

Good points. This is one of the more challenging parts.
@jberkus do you have examples in mind where a project is related to more than one organization?
For the scope of the this project about governance data I would probably leave out the products because that can be a lot and I would go with the assumption for now that if a project does multiple products they have very similar governance structure. I think that might work as a first approximation.

@cornelius the first two that come to mind are Linux and PostgreSQL.  Both have multiple organizations supplying material support.

It looks like it would make most sense to separate the organization information from the project information. Having separate files and using references. There are the projects which have more than one organization and there are the organizations which have more than one project.

Yes, just think of SPI, the Apache Foundation, or LF.

I separated the info about organizations into separate files now. Types of relationships still have to be defined.


Error: Duplicate key<PHONE_NUMBER> with "KNCR11.SA" stock

Bug Report
I am assuming this is a bug cause its started without any changes to the project im using node-yahoo
Describe the bug
Request to .historical for "KNCR11.SA" returning "Error: Duplicate key<PHONE_NUMBER>"

Minimal Reproduction
 const dividends = await yahooFinance.historical("KNCR11.SA", {         period1: "2023-01-01",         period2: new Date(),         events: "dividends",       });
Environment
Browser or Node:
Node version (if applicable):
Npm version:
Browser verion (if applicable):
Library version (e.g. 1.10.1):
Additional Context

Started working again from nowhere (???????) closing issue


unreal engine 4

hi i want unreal engine 4 any help
link to dawnload
thanx

see https://www.unrealengine.com/what-is-unreal-engine-4


Blueprint file has unicode issues

If any unicode character is given to document function on tests, the Blueprint file gets an encoding error character. For instance:
response =
        conn
        |> get(cookies_path(conn, :index, %{id: UUID.generate()}))
        |> document(as: "atributos inválidos")
        |> json_response(422)

Results:
+ Request atributos inv� lidos (text/plain)
+ Response 422 (application/json; charset=utf-8)
    + Headers

            cache-control: max-age=0, private, must-revalidate

    + Body

The expected behaviour is to replicate the string given to document in generated document.

How can I reproduce this issue?

I tried to reproduce the issue but Xcribe is replicating the string correctly.


Add configuration values for default statuses (UP/DOWN) for empty check responses

Maybe it would be useful to take into consideration the startup or bootstrap phase of the underlying container which may start before the actual checks are called. In this sense, the container may choose to respond with some predefined health check response before the user checks can be invoked.
Would it make sense to add a default status values properties for empty check responses for liveness and readiness checks? The default should be UP for liveness (so the user can then say that the app is down with a custom check) and DOWN for readiness (so the user can say when the app is ready). This would be useful to unify across containers if there is more than one container that uses this mechanism which would help with portability.

+1 for the idea.
To my understanding, for the line The default should be DOWN for readiness (so the user can say when the app is ready), if the user has empty checks (no user checks), won't the default status for Readiness check be always DOWN? Or do you mean that users can have the ability to configure the default statuses properties, expecting that they have defined user checks?

@pgunapal yes, this issue is about configuring the values by the user. So if the user knows that there are no readiness checks defined, he/she will change the value for empty readiness to true.
Why did I suggest the default of readiness to be DOWN? Take this example:

-- health/ready --> connection refused
start container
-- health/ready --> connection refused (for some time)
container initialized but checks are not yet processed
-- health/ready --> returns empty readiness  checks response
container bootstrapped and the user checks are processed
-- health/ready --> returns the user checks with the user checks response

Now take the step 5. -- health/ready --> returns empty readiness  checks response:
If the empty check response is DOWN we have the following sequence from repeated /health/ready calls:

connection refused
connection refused
...
connection refused
empty check response -- DOWN
empty check response -- DOWN
...
empty check response -- DOWN
user check response -- DOWN/UP

But if the empty check response is UP we have the following sequence from repeated /health/ready calls:

connection refused
connection refused
...
connection refused
empty check response -- UP --- This is wrong behavior because the container is saying that the traffic can be already delivered but the user readiness checks have not been processed
remainder is not important

@xstefank , I get why we'd want the default readiness check to return DOWN until all readiness checks have initialized, but I'm not clear on why this should be configurable.  It seems like it would be easier if the server vendor tracked when the app(s) had initialized.  If you had that ability then it seems the readiness check should return DOWN until app(s) had initialized, after which it would return whatever any readiness check returned (as normal) or UP (if no readiness checks exist).

@donbourne correct, the configuration would be for empty responses which could be requested even after the user application (with no user-defined checks) is started. It doesn't make sense for the user to configure it to return down in such cases as app would be continuously restarted or the traffic would be prohibited.
The configuration would be helpful to vendor as for instance in readiness case you can respond UP sooner. But of course, it's questionable if this is worth the configuration support.

we agreed on gitter that configuration for empty liveness doesn't make sense. So we will add only the configuration for empty readiness checks with the default value of Down (for now).
We will discuss the elaboration of the spec on the multip app deployments in the next hangout. It is possible that we may distinguish default value for readiness probe depending on whether we have a single or multip app runtime.


Support JDK21 for base image

discussion see #11

choose:
zulu21.30.15-ca-jdk21.0.1-linux_x64.tar.gz
zulu21.30.15-ca-jdk21.0.1-linux_aarch64.tar.gz


Duplicate chapters

Steps to reproduce
Open a series
Expected behavior
There shouldn't be duplicated chapters
Actual behavior

Crash logs
No response
TachiyomiSY version
Preview r566
Android version
Android 14
Device
Samsung A33
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 1.10.5.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Am also having this issue on my phone (Galaxy Z Flip 5, Android 14) using r574 and still persists despite changing to stable 1.11.0. I have checked it on another device (Samsung galaxy tab S9 FE, Android 14) and it does not have above said problem.


fix: Prevent consumer DPF proxy to filter request arguments

What this PR changes/adds
This PR adds the boolean flags for request properties (query params, request body...) to the http DataAddress generated to represent the provider DPF proxy. Without these flags, all the request arguments get filtered by the consumer DPF proxy before they reach the provider DPF.
Why it does that
Recover proper DPF proxy behavior.
Linked Issue(s)
Contributes to #1180. One end-to-end test should be added in system-tests:e2e-transfer-test in order to close the issue. This will be done in a separated PR, once #1199 is merged.
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[ ] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #1212 (e5022ac) into main (60da937) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main    #1212      +/-   ##
============================================
+ Coverage     58.58%   58.64%   +0.05%
- Complexity     2727     2731       +4
============================================
  Files           697      698       +1
  Lines         15436    15451      +15
  Branches       1047     1049       +2
============================================
+ Hits           9043     9061      +18
+ Misses         5969     5967       -2
+ Partials        424      423       -1

Impacted Files
Coverage Δ

...oxy/DataPlaneTransferConsumerProxyTransformer.java
95.83% <100.00%> (+0.83%)
:arrow_up:

.../core/security/DefaultPrivateKeyParseFunction.java
86.66% <0.00%> (ø)

.../dataspaceconnector/boot/util/TopologicalSort.java
95.23% <0.00%> (+2.38%)
:arrow_up:

...dataspaceconnector/core/CoreServicesExtension.java
96.77% <0.00%> (+5.86%)
: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 60da937...e5022ac. Read the comment docs.


fix+feat: fixes some aliasing bugs, adds an optional permissioning to broadcast

Aliasing bugs in the public key and the nullifiers hash fixed.
Adds a default permissioning mode to broadcast, which can be disabled by the owner.
Changes signal hasher to Keccak256.

@weijiekoh please review!


Add process() for compatibility, example project for using C and CFFI bindings

Would like a review on the recommendation to use brotlicffi on implementation_name != 'cpython' and to use Brotli on CPython. This links us at the hip to the API of the C bindings and will vastly decrease how often we're used, but I think this is a desirable for our users.

I've only loosely followed the discussion around this topic - so please feel free to disregard my proposal if it doesn't make any sense at all:
Instead of burdening the user with doing the requirements dance of defining the right dependency based on the implementation name / runtime, how about pushing it one layer down? We could provide a dummy package under the current name, and it would require the correct sub-package by itself. Our users then don't have to worry about doing the right steps from the example projects.

Good question!
So I did an investigation on how packages require Brotli/Brotlipy currently we can see that a good portion are doing exactly what we're recommending here and some are only requiring Brotlipy. I'm thinking we lean into this pattern by making an official recommendation and by making using this pattern simpler. It's less for both us and our downstreams to maintain.

Brotli: https://github.com/sethmlarson/pypi-deps-tracker/search?q=brotli
Brotlipy: https://github.com/sethmlarson/pypi-deps-tracker/search?q=brotlipy

After this release I'm planning on making PRs to projects that aren't following the pattern to align them with our recommendation.
As far as I can tell this is the most common way people end up with a brotli library on their machine as Brotli vs brotlipy downloads are heavily in favor of Brotli.  It's unlikely they install directly (unless typing pip install brotli which for the most part ends up with a fine solution)

@Kriechi Let me know if the above sounds good to you, I'll hold off on merging until then


BigQuery Usage Collector does not extract usage for views

Currently, the BigQuery Usage Extractor in Amundsen Data Builder does not extract the usage logs for views. It just works for
tables.
Expected Behavior
Should extract information about views as well.
Possible Solution
We are currently using the audit logs to get the data. If we see the response for the audit logs here, it also has gives back referencedViews and totalViewsProcessed  which can be used to grab this data.

@abhinay-kathuria-rmit let us know if you have the fix.

@feng-tao I have the fix! Will raise a PR for this tomorrow

Please feel free to re-open if you end up fixing this!


Error: Request body larger than maxBodyLength limit

I am running Playwright in Gitlab and using agent-js-playwright for ReportPortal. Suddenly I am getting Gitlab job log full of data as in this screenshot. How to prevent it?

Hello @qasamppa !
Please refer this issue.
You need to bump the agent-js-playwright version.

Thank You @AmsterGet for information.


Added option to use PowerShell instead of cmd.exe on Windows.

I needed the option to run PowerShell commands on Windows instead of using the standard cmd.exe. The change is backwards compatible as it leaves the default to cmd.exe.

Very cool. Thanks!


Repost submission pictures at voting

Submissions get the message ID and get the attachment URL. These are posted as one image, as all the images tiled with the letter on top.

30294d5c3951db966e8fc9e2a45b87390d568885 lays the groundwork for this feature

This feature is targeted for release in the upcoming v2.x.x series

Release v2.0.0 8a5a735dd4a93fd44669a0d9868973a12710ae49 implements this, closing issue.


[Spotify Player]: Premium required

Extension
https://www.raycast.com/mattisssa/spotify-player
Description
Error:
Error: Player command failed: Premium required

Jd:pause.ts:19:10

---
16:       return

### Steps To Reproduce

Just login and click play pause it won't work.

### Current Behaviour

It is able to read data but can;t control like won't play pause

### Expected Behaviour

_No response_

Issue happening with me as well

Premium is indeed required for using the API. IIRC it was mentioned that adding an applescript fallback was intended


Detecting redirects

What problem does this feature solve?
With vue-router 1.x, it was possible to see where a route had been redirected from using router.currentRoute.redirectedFrom. This was useful when server-side rendering, as you could send a 301 from the server instead of sending the HTML for the new page and then changing the URL on the client.
With 2.x, the property has gone and I can't find it anywhere. Has it been removed? If so, it would be great if it could come back!
Reason it was nice that it existed: https://github.com/vuejs/vue-router/issues/968
What does the proposed API look like?
router.currentRoute.redirectedFrom === '/old-path'

Hahaha was I the only person using this? nice.

+1

@joenoon What do you mean by your solution? Caz if your url is not the same,
    if (fullPath !== url) {
      return reject({ url: fullPath })
    }

it would directly reject the req and would not do the redirect any longer. As far as I am concerned, It should be solved in the handleError

@NoraGithub its a bit different case.  the fullPath !== url is the easy one, where the router instantly knows it is a redirect.
The second one is harder, where async data is fetched, and a component ends up reacting to the data and decides to redirect instead.  For example, when a user profile component is loaded, the component fetches the user but discovers the user no longer exists.  The component does something like if (!user) this.$router.push('/').
Your component still likely rendered something, like an empty

 etc.  But the server side is now able to see the component is also trying to redirect.

router.currentRoute.redirectedFrom actually does exist in version 3 (https://github.com/vuejs/vue-router/blob/effb1143db10376c4ed553aec9a909dd1430ef66/src/util/route.js#L32).
To me this should not be a feature request but it's rather a documentation issue. With the hints from the comments above there could be a nice how-to.

router.currentRoute.redirectedFrom actually does exist in version 3: https://github.com/vuejs/vue-router/blob/effb1143db10376c4ed553aec9a909dd1430ef66/src/util/route.js#L32
To me this should not be a feature request but it's rather a documentation issue. With the hints from the comments above there could be a nice how-to.

in Vue Router 3 redirectedFrom only exists for records with a redirect option. In Vue Router 4, it will also exist for redirections made with navigation guards


BSI as a distinct jar file

SUMMARY
This is meant to allow us to release BSI as a distinct jar since some users are concerned with code bloat. The new BSI artefact weights in at about 5% of the total RoaringBitmap jar.
❯ ls -alh ./bsi/build/libs/bsi-0.9.11-SNAPSHOT.jar
-rw-r--r--  1 lemire  staff    27K 14 Jun 10:22 ./bsi/build/libs/bsi-0.9.11-SNAPSHOT.jar

❯ ls -alh ./RoaringBitmap/build/libs/RoaringBitmap-0.9.11-SNAPSHOT.jar
-rw-r--r--  1 lemire  staff   401K 14 Jun 10:22 ./RoaringBitmap/build/libs/RoaringBitmap-0.9.11-SNAPSHOT.jar

Automated Checks

[X] I have run ./gradlew test and made sure that my PR does not break any unit test.
[X] I have run ./gradlew checkstyleMain or the equivalent and corrected the formatting warnings reported.

@richardstartin You are quick correct. What happened there...?

Here are my commits...
https://github.com/RoaringBitmap/RoaringBitmap/pull/496/commits/664e2a56db2e5c92597e76dd020605809ec8f555
https://github.com/RoaringBitmap/RoaringBitmap/pull/496/commits/664e2a56db2e5c92597e76dd020605809ec8f555
They look clean enough. I wonder where the rest of the changes come from.

@richardstartin Ah. Ok. Just did a rebase. It should look better now.

I'll merge and try to issue a release.

Amazingly, it looks like the release went through!!!


Documentation/proxy: Change proxy port from 8080 to 2379

Ref https://github.com/coreos/etcd/pull/5693 in v3 track (master).
Ref backport to 2.3.7 docs in https://github.com/coreos-inc/coreos-pages/pull/747

lgtm. thanks. /cc @xiang90

@gyuho Do you know why the build fails on 2.3.x branch?

@xiang90 It's failing from goword https://travis-ci.org/coreos/etcd/jobs/139683761#L361. But I think we can ignore for this PR?

goword added package checking on march 19th, 2.3.0 shipped on march 18th, so the breakage makes sense since it's pulling from master. Maybe the static tests should lock a commit revision on the tooling so backporting doesn't explode?
lgtm

lgtm


Fix restore health timer

Restore health timer keep getting reset every time Current Health updates on character.

Fixed in commit 716485f6700c432fe7e9c2c017eda2378c02a2f7.


[rtloader] Build python 3 by default

Default to both pythons if no params are passed to invoke.

Gitlab CI fails because the debian buildimage doesn't have python3 installed, will need fixing.

Needs jaime's changes to the builders. Might make sense to merge as part of his branch.


Get tags from backend (WIP)

Fixes #279
Fixes #278
Proposed Changes

Enabled using real labelTags when creating labels instead of mocked values
Added tools to database model of LabelTag
Made selection of Label Tag and Label Tool required for labeling
Showing tools only relevant for given labelTag
Added indicators for users (snackbars) about selecting tag and tool before labeling

UI changes (optional)

API changes (optional)
Now when getting categories using /categories endpoint we also get available tools for given Tag for Scan Category.
Example:
{
    "key": "KIDNEYS",
    "name": "Kidneys",
    "image_path": "assets/icon/kidneys_category_icon.svg",
    "tags": [
      {
        "key": "LEFT_KIDNEY",
        "name": "Left Kidney",
        "actions_ids": [],
        "tools": [
          "RECTANGLE",
          "POINT",
          "CHAIN"
        ]
      },

I am aware of the minor problems with linter, I will be fixing them probably tomorrow.


Consider renaming foreign_call_wait_info field on UnresolvedBrilligCall

          > although I think we should consider renaming the `foreign_call_wait_info` field of `UnresolvedBrilligCall` at some point

Yeah I agree. I think we can bikeshed this name in general. Perhaps just wait_info with the name type ForeignCallWaitInfo. Or we can bilkeshed when we fully get rid of the Oracle opcode
Originally posted by @vezenovm in https://github.com/noir-lang/acvm/issues/363#issuecomment-1587087301

We should address this in 0.16.0 as we're touching a lot of the surrounding code in this release.


Error in PDF generation when there is any "#" character in the HTML

This is happening in Android 8.0.1 and 8.1 versions from what I tested. It is not happening on Android 9.0.

This is happening in Android 8.0.1 and 8.1 versions from what I tested. It is not happening on Android 9.0.
Same problem Here. In these moment, when I need pass any color as hex I converting to RGB.

My understanding is that it is happening when the installed version of Chrome is > 71.
On devices running Chrome up to version 71, you could see this log when generating a PDF with '#' characters:
chromium  I  [INFO:CONSOLE(0)] "Using unescaped '#' characters in a data URI body is deprecated and will be removed in M71, around December 2018. Please use '%23' instead. See https://www.chromestatus.com/features/5656049583390720 for more details.", source:  (0)

By looking at https://www.chromestatus.com/features/5656049583390720, it has indeed been removed in Chrome for Android version 72.
Moreover, I have 2 Galaxy Tab S2 with same Android version (7.0), one has Chrome 71, the other 72 and the bug is only happening on the one running Chrome 72.

Hi, any solutiom?  Same problem.

Same issue for me.
Is there any solution?


Is federal "Indian Reserve" GIS layer available as WMS?

This has been added to BCRHP. Need to add it to fossils implementation.


Cannot cast to type after instanceof operator check

In below code, the line var vaaa = <Aaa>v; reports error: error TS2352: Build: Neither type 'T' nor type 'Aaa' is assignable to the other.. I should be able to even access Aaa members without case because of this guard check.
Is this bug or I'm doing something against specification?
interface IHolder<T> {
  base: T;
  variant1: T;
  variant2: T;
}
class Holder<T> implements IHolder<T> {
  base: T;
  variant1: T;
  variant2: T;
}

class Aaa {
  item: string;
}
class Test {
  someValue: IHolder<Aaa>;

  constructor() {
    this.someValue = new Holder<Aaa>();
    this.aaa(this.someValue);
  }

  aaa<T>(vv: IHolder<T>): void {
    var v = vv.base;

    if (v instanceof Aaa) {
      var vaaa = <Aaa>v;
    }
  }
}

Can someone confirm bug or deny?

It's not a bug according to the spec -- we don't narrow variables of a generic type parameter type, so the instanceof check does nothing in terms of modifying the assignability of v inside the if block.

OK. I understand that in some cases the guard/if statement is meaningless.
As the language is young, could we get warning whenever such meaningless "thing" is spotted in sources? Writing IF usually express some assumptions and having kind compiler that reminds on silly code would be beneficial!

The problem is that there're a lot of valid uses of this code. To make it an error would break a lot of peoples' current codebases.

That's why I suggest to have warning.
Can you tell me in my example with generics, that it might be valid?

as noted by @danquirk, a warring is not appropriate here. you need to constrain T:
    aaa<T extends Aaa>(vv: IHolder<T>): void {
        var t: T;
        var a: Aaa;

        a = t; // OK
        t = a; // still not OK, T is Aaa but Aaa is not guaranteed to be T

        (<Aaa>t) // OK, as T is assignable to Aaa
    }


Chrome extension feature added

Since there are many pull requests regarding the URL handling part of the project I decided to make a chrome extension to inject features of the project starfish to the GitHub website.
Currently, as the app is not yet been created I just made a chrome extension(going to work on other browsers later). This extension gets activated on Github only.
This is not a final submission of the extension, it is to get an idea of what more features that must be added.
Currently, the extension gives the user a choice to clone the repository and open it in a specific IDE.
On clicking the option of Open in starfish the extension would open the starfish app. Right now the functionality is not included as the main goal of this pull request was to get a much deeper idea of how the extension should work.
The extension also allows the user to view the URLs and the features that were previously selected.
View the Readme on how to set up the extension and use it.

very nice! Having the actions as a menu in the icons is nice and non-invasive. Very good start!
for github and gitlab we might want to do something like https://github.com/gitpod-io/browser-extension where they based on the site adds buttons in relevant places.

Yes okay, I'll go through it and try to implement something similar to that.

I'm a bit confused should I directly pick up the code from the repo  https://github.com/gitpod-io/browser-extension and make necessary changes or completely make it from scratch taking the repo as just a reference?

There is no clear license info in their repo so can't just directly pick up the code.

Heyy Max, I was thinking of using ReactJS as injecting scripts using that is much easier and I am facing a lot of issues using this way.
Also, I have a good grip on ReactJS so I can work on it more efficiently.

In the latest commit, I made an extension using ReactJs which made it easier to injecting scripts in the DOM. The UI and functionality are still not up to the mark and I would definitely work on it.
But this extension works on Google Chrome, Mozilla Firefox, and Microsoft Edge.
I was not able to work on this as much as I want to as I am a bit preoccupied with my college submissions and assignments but would still keep on contributing to improving the code.

I've made a lot of UI improvements to the extension made using React which can be viewed here.
After the latest UI improvement, the extension looks like this

interesting, but why would the select an IDE be chosen here ? wouldn't that be more natural to have be something starfish can show/open ?

or as a setting of the extension it self ?

Ohh okay got it, thank you for the feedback @maxandersen. I'll make the necessary changes

Heyy @maxandersen, I'm sorry I'm not able to contribute to this project as much as I want to cause I'm a bit caught up with my university assignments and projects. As soon as all of that is done I'll start focusing all my attention on this project.
Thanks and Regards @AtharvaThorve


Revert EditorConfig and clean up #30

Cleanup

@abhirooptalasila my preference is a simple git fetch of my branch and git push -f to your remote. Skip the GitHub PR request part

So in more detail. On your local git folder:
git checkout master
git remote add shasheene https://github.com/shasheene/AutoSub-dev && git fetch shasheene
git reset --hard shasheene/master
git push -f origin master

This should produce great looking git history!

I just wanted to check something manually.
Is this okay now?

If you open the git history using a tool like tig or your preferred tool.
It's in a very ugly state (the multiple layers of merge commits)
I would highly recommend you do a git reset --hard ac9e68cba6f537642f053f7bcaa2f339855c7329 on your local git folder, then a force push using the git command-line tool (git push -f origin).
This will produce a beautiful git history that I spent a lot of time today creating.
After you do this, I have some great changes I will push :)

Done.

Beautiful! Thank you so much :D


Master/Detail table: fix bug with nullable member types

I've added a fix to a bug I've encountered within the method Visit of the FilterVisitor class: when building the Filter expression, initializing the "body" local variable would lead to an error if "member" corresponded to a nullable type, since in this case the "constant" expression would not correspond to a nullable type, hence a mismatch between "member" and "constant".
Besides, I've also added a configuration method "OnlyShowExplicitDetailTables()" for EntityTypeBuilder: when it is called, a click on a row in a master table only toggles detail tables for which a call to "HasDetailRelationship()" has been made in the grid configuration class. This is useful when dealing with data classes with dozens of properties - hence dozens of collection properties that you don't want to display by default.

Indeed, your idea with a MasterDetailsOptions new class is much tidier! I've made a new commit with the subsequent changes. I hope these changes correspond to what you have in mind.


Computed.overrideWith computes previous value before override value

Computed.overrideWith executes this._reset(value), which updates _value after the existing _fn of Computed is executed, resulting in the generation of the value before the change.
Is this the correct behavior?
When overriding with a mock in tests, it is initialized with the regular value, which is not the expected behavior.

Do you have a test code sample to share for expected behavior?

Create this computed.
final count = computed(() {
  print('Computed called');
  return 1;
});

Run this test.
void main() {
  test('count', () {
    count.overrideWith(2);
    expect(count.value, 2);
  });
}

'Computed called' is displayed, and the test succeeds.

This is interesting, there was an issue where others thought it should trigger a subscription when overridden.
As for deciding the correct behavior, this should be like you describe as it should not execute the callback when overriding.

I am managing FirebaseAuth with Computed. The reason is to override FirebaseAuth with a mock in unit tests.
If I manage it with Signal, it will create an instance of FirebaseAuth, which causes errors in unit tests.
Therefore, I decided to manage it with Computed. However, due to the behavior of Computed reported in this issue, the same problem occurred even with Computed.
If Computed cannot be used, I think the alternative would be to manage it with Signal using FirebaseAuth Function(). Alternatively, it might be good if there is a class like LazySignal.

I am going to work on the patch.
another approach would be to update a signal instead of computed. If it is never read it will not update.
meaning .value instead of .override


Upload xtevent 2.0.0 to SSC

I have been trying to submit the new release xtevent 2.0.0 from here to SSC; https://github.com/JMSLab/xtevent/releases/tag/v2.0.0
However Gmail is bouncing the zip file back and flagging it as a virus! I know our code is not perfect, but that seems harsh.
@Constantino-Carreto-Romero can you check if you also get the false positive when trying to send the zip file from the release as an attachment? If so, can you try zipping the files yourself to see if you get the same behavior? I am trying to rule out that the issue is from my computer's side.

@jorpppp I have tried to attach the zip file from https://github.com/JMSLab/xtevent/releases/tag/v2.0.0 and I get the same error "virus detected". Then, I tried downloading the files from the repository, zipping them, and attaching them, but there it shows the same virus message.

@Constantino-Carreto-Romero Thanks. I changed the file in the release (different compression method). Can you try that one?

@jorpppp
Zipping them with a ".rar" extension worked on my computer
https://drive.google.com/drive/folders/1898TyoMKE4WBbywhU2wzBAjI2nu5XbNz?usp=sharing

@Constantino-Carreto-Romero unfortunately SSC guidelines ask for .zip or .gz
http://repec.org/bocode/s/sscsubmit.html
Did you try the new file in the release?

@jorpppp with the new file it works

@Constantino-Carreto-Romero Thanks, I'll close the issue when SSC confirms the new version is posted.

It's up, although we may need to update soon because of #55


can't get Forge server to start

Describe the problem
I'm using a Stack for a vanilla server and that works perfectly (thank you for all your hard work, its much appreciated), but when I add the environment variable TYPE=FORGE it won't start. I have posted the issue to the Forge forum, but they said I needed to bring the issue to you instead.
I've included the stack that I'm using.
I turned on debug but I didn't get a debug log. however here is what the output in docker is giving me when I try to start the server with the Forge variable included
"

return 1
exec mc-server-runner --stop-duration 60s --named-pipe /tmp/minecraft-console-in java -Xmx8G -Xms8G -jar /data/run.sh
Error: Invalid or corrupt jarfile /data/run.sh
2022-01-08T01:16:57.983Z	WARN	mc-server-runner	sub-process failed	{"exitCode": 1}
2022-01-08T01:16:57.983Z	INFO	mc-server-runner	Done
export HOME=/data
HOME=/data
++ id -u
++ id -g
++ ls -lnd /data
log 'Running as uid=1000 gid=1000 with /data as '''drwxrwsrwx 7 1000 1000 4096 Jan  8 01:16 /data''''
echo '[init] Running as uid=1000 gid=1000 with /data as '''drwxrwsrwx 7 1000 1000 4096 Jan  8 01:16 /data''''
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwsrwx 7 1000 1000 4096 Jan  8 01:16 /data'
'[' '!' -e /data/eula.txt ']'
[[ -n '' ]]
[[ -n '' ]]
which java
export VERSIONS_JSON=https://launchermeta.mojang.com/mc/game/version_manifest.json
VERSIONS_JSON=https://launchermeta.mojang.com/mc/game/version_manifest.json
case "X$VERSION" in
++ get --json-path '$.latest.release' https://launchermeta.mojang.com/mc/game/version_manifest.json
++ flags=()
++ local flags
++ isTrue false
++ local value=false
++ result=
++ case ${value} in
++ result=1
++ return 1
++ mc-image-helper get --json-path '$.latest.release' https://launchermeta.mojang.com/mc/game/version_manifest.json
VANILLA_VERSION=1.18.1
export VANILLA_VERSION
[init] Resolved version given LATEST into 1.18.1
log 'Resolved version given LATEST into 1.18.1'
echo '[init] Resolved version given LATEST into 1.18.1'
cd /data
export ORIGINAL_TYPE=FORGE
ORIGINAL_TYPE=FORGE
isTrue false
local value=false
=
case ${value} in
result=1
return 1
versionLessThan 1.7
local activeParts
version=1.18.1
version=1.18.1
IFS=.
read -ra activeParts
local givenParts
IFS=.
read -ra givenParts
(( 3 < 2 ))
(( 3 == 2 ))
(( activeParts[0] < givenParts[0] ))
(( activeParts[0] == givenParts[0] && activeParts[1] < givenParts[1] ))
(( activeParts[0] == givenParts[0] && activeParts[1] == givenParts[1] && activeParts[2] < givenParts[2] ))
return 1
log 'Resolving type given FORGE'
echo '[init] Resolving type given FORGE'
[init] Resolving type given FORGE
case "${TYPE^^}" in
versionLessThan 1.17
local activeParts
version=1.18.1
version=1.18.1
IFS=.
read -ra activeParts
local givenParts
IFS=.
read -ra givenParts
(( 3 < 2 ))
(( 3 == 2 ))
(( activeParts[0] < givenParts[0] ))
(( activeParts[0] == givenParts[0] && activeParts[1] < givenParts[1] ))
(( activeParts[0] == givenParts[0] && activeParts[1] == givenParts[1] && activeParts[2] < givenParts[2] ))
return 1
exec /start-deployForge
resolve_versions
[[ -z '' ]]
[[ -z '' ]]
norm=1.18.1
case $VANILLA_VERSION in
norm=1.18.1
promosUrl=http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
log 'Checking Forge version information.'
echo '[init] Checking Forge version information.'
case $FORGEVERSION in
[init] Checking Forge version information.
++ get -s --json-path '.promos['''1.18.1-recommended''']' http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
++ flags=()
++ local flags
++ isTrue false
++ local value=false
++ result=
++ case ${value} in
++ result=1
++ return 1
++ mc-image-helper get -s --json-path '.promos['''1.18.1-recommended''']' http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
"

Container definition
version: "2"
services:
  minecraft-server:
    image: itzg/minecraft-server:java17
    container_name: MC118
    network_mode: host
    environment:
      - PUID=998
      - PGID=100
      - EULA=TRUE
      - VERSION=LATEST
      - MEMORY=8G
      - ANNOUNCE_PLAYER_ACHIEVEMENTS=true
      - ALLOW_NETHER=true
      - GENERATE_STRUCTURES=true
      - PVP=false
      - TYPE=FORGE
    ports:
      - 25565:25565
    volumes:
      - /srv/dev-disk-by-label-data/MC118:/data
    restart: unless-stopped

Container logs
Paste logs here

Those logs are actually showing debugs. Unfortunately you missed part of the startup I wanted to see since I am not able to recreate this issue. Can you provide logs all the way from [init] Running as uid=1000 gid=1000 with /data as 'drwxrwsrwx 7 1000 1000 4096 Jan 8 01:16 /data' to INFO mc-server-runner Done.
Also, please put three back ticks around log blocks since it made a mess of the logs you pasted. I have this section for a reason 😉

here is the log copied out of the docker log view
new to the forum, sorry.
I attached it as  text file as I'm not completely sure how you wanted the log entered in and don't want to make a mess of the post
docker log copy.txt

Thanks for the updated logs. I was able to spot a scenario that was probably missed. See if the latest image now works for you.

thank you for working on this. however I am still having the same issue.
I cleared the folder of all files and started the container back up and copied out the line from the log view, I have attached them in a text file. please let me know if there is anything else you'd like me to try or change
docker log 1-8-22.txt
here is a picture of the contents of the folder after starting the container.

.

Oops, I forgot you're using the java17 image tag instead of latest (same JVM just separate builds). It's merged over now, so please try again.

per your comment I tried both keeping the java17 declared and without it being declared. both failed to start but appeared to be for different reasons. I also noticed that Forge just did 2 updates in the last 45 minutes and could be a contributing factor for the server failing to start. please let me know how you would like me to proceed. (we can wait till they have a stable version, or I can run it either of the 2 ways mentioned and provide the log.... or what you think would be best)

Sounds like I have fixed all I can, so it's up to you.

I was asking you which way you wanted me to run it and provide the log.
I have since ran with without the FORGE and and the java17 call, and I can tell you that it wont start, but that isn't new to me.
after adding the java17 call it will start the vanilla server, but when I add the FORGE setting it is still failing to start.
I have attached the debug log file
docker log 1-10-22.txt
.

 It's showing same behavior as before:
+ exec mc-server-runner --stop-duration 60s --named-pipe /tmp/minecraft-console-in java -Xmx2G -Xms2G -jar /data/run.sh
[init] Starting the Minecraft server...
Error: Invalid or corrupt jarfile /data/run.sh

thank you for you help. I deleted the image and re-ran it,
it is now working.

I had this issue when using java8 image tag (1.12.2 forge), switching to latest and forge installation worked, but then server crashes and i had to switch back to java8 and reuse existing /data (with forge installed) then the server starts as normal.


Dev

amazing code

Sometimes I wonder if you literally have a bot that automatically posts generic compliments to my code. xD

amazing response


I really need help

Im on Visual Studio code, and as soon as i go into the psych engine folder i see this

and then i check what was going on and I see this

What is going on???
Im also on linux if that means anything

You might be missing some haxe libraries. Check for any non installed libraries in the "Project.xml" file and install them if you found them libraries. If not, contact @ShadowMario for help.

As i've never had a machine other than Windows, i can't be sure about these issues.

As i've never had a machine other than Windows, i can't be sure about these issues.
I mean its probably the same thing

First off, you didn't import sys.FileSystem on your Paths, second, there's a missing comma on line 3302, and lastly it looks like you installed haxe wrong on your machine, since it is missing FlxActionInputDigitalAndroid

First off, you didn't import sys.FileSystem on your Paths, second, there's a missing comma on line 3302, and lastly it looks like you installed haxe wrong on your machine, since it is missing FlxActionInputDigitalAndroid
Ok, thank you for responding, but I only have few more questions, 1, Is sys.FileSystem like something i need to install because I went there and i saw this.

And 2, Where do i put the comma at line 3302?


Screen not working in 0.20.3

This doesn't work in the latest version of atom-shell: var size = Screen.getPrimaryDisplay().workAreaSize;
If I have that line, the app doesn't load at all. But works in older versions of atom-shell.
Has something changed? and the docs haven't been updated?

require('screen').getPrimaryDisplay().workAreaSize works in 0.20.5

Just a tip: if you're having problems with atom-shell not even loading, try

starting from the command line. this way you get a little bit of output and can probably find out whats going on
or if you just want to test little snippets, do it in the devtools-console

BTW, about your issue: I think you always had to require('screen') since you want atom-shells screen module not chromiums Screen.

v0.20.4 has fixed a crash in screen module, please reopen if you still see it in latest version.


Scala 2.12 support

Scala 2.12.0 is released last week. Do you have a plan to publish twitter-korean-text for it in the near future?
In this case, maven scala plugin does not have dedicated cross building feature so that I'd like to open a PR for migration from maven to SBT if you agree.

Please go ahead and do so, but i am not sure how to publish to maven public
using sbt.
On Thu, Nov 10, 2016 at 12:15 AM Jisoo Park<EMAIL_ADDRESS>wrote:

Scala 2.12.0 is released last week. Do you have a plan to publish
twitter-korean-text for it in the near future?
In this case, maven scala plugin does not have dedicated cross building
feature so that I'd like to open a PR for migration from maven to SBT if
you agree.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/twitter/twitter-korean-text/issues/107, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAqJ6b2WRnQOnDyi_2FczPMA9c_LYl_tks5q8tKagaJpZM4KuYz-
.

--
Will Hohyon Ryu
유호현
Software Engineer at Airbnb


Change request method to PATCH

Hello,
I'd like to change the request method to PATCH. How Do I do that?

I don't understand what you mean exactly. Can you please elaborate and explain your thinking?

In the network tab it shows I'm sending a POST request when I start the tus upload. I'd like tus to send a PATCH request instead.

Ok, I got it now I had to read a little bit more into it!


ui: slow & no feedback while creating a large set

I tried to create a large set by selecting hundreds of photos and clicking the sidebar
"Create set with items".

It didn't seem to do anything. There was no reaction to my click. I only later noticed
it was doing hundreds of HTTP requests (noticed in my server logs) but the UI showed no
progress.

adding dialog to set creation process: https://camlistore-review.googlesource.com/#/c/4546/


IsRFC* improvements

https://github.com/MetacoSA/NBitcoin/blob/a615d201aff38b55e954fa3a184a0a439f202b12/NBitcoin/IpExtensions.cs#L123-L127
this code is awkward (bytes[15 - 15] ==> bytes[0], probably the result of a typo long time ago?
compare it to bitcoin one
https://github.com/bitcoin/bitcoin/blob/47d981e8273804a040d71665a4cb16038d6717e1/src/netaddress.cpp#L191-L194
bitcoin uses there a GetByte method probably to deal with endianness but ended up being just a
unsigned int CNetAddr::GetByte(int n) const
{
    return ip[15-n];
}

since you didn't implemented that call, why don't remove all these 15-x from code?
another think I'd want to point out is
public static bool IsRFC4862(this IPAddress address)
{
	var bytes = address.GetAddressBytes();
	byte[] pchRFC4862 = new byte[] { 0xFE, 0x80, 0, 0, 0, 0, 0, 0 };
	return ((Utils.ArrayEqual(bytes, 0, pchRFC4862, 0, pchRFC4862.Length) ? 0 : 1) == 0);
}

everytime IsRFC4862 is called there is a new allocation of pchRFC4862, I'd suggest to put it as static
using Span it may seems like this (not tested)
private static readonly byte[] pchRFC4862 = new byte[] { 0xFE, 0x80, 0, 0, 0, 0, 0, 0 };
public static bool IsRFC4862(this IPAddress address) {
   var bytes = address.GetAddressBytes();
   Span<byte> span = bytes.Length > pchRFC4862.Length ? bytes.AsSpan(0, pchRFC4862.Length) : bytes;
   return span.SequenceEqual(pchRFC4862);
}

another improvement could be having these extensions accepting a byte array, because IsRoutable extension actually causes to generate address.GetAddressBytes() multiple times (I've to check dotnet source code to see if it means new allocation everytime or not)

I agree, yes I monkey ported it from bitcoin core. I would appreciate a PR if you have time.

Actually I'm quite busy but leave this issue open, when I'll find time I'll create a PR about this


Add a Licence

Hi Yury,
We are using the UnityOBBDownloader in a commercial application for a big corporation that requires that all open source software have licenses attached. Adding the MIT licence to the UnityOBBDownloader would allow us to greenlight our app and proceed to publish it.
Please can you accept this pull request, and edit LICENCE.md and add your author name beside the Copyright (c) 2016 line.

Hi Michael,
Thanks for your PR.
I've checked the original code, and it comes with Apache 2.0 license, so I will add it instead.
Yury

Awesome, thanks so much Yury!


Parallel loading with Suspense

I guess this is more of a general question than a bug report, but since suspense for data fetching will be the new gold standard, it worths to clarify, or even have a documentation example on how to solve it generally.
I found this pattern what was very easy with useSWR before but with suspense I cannot figure out how to do.
I want a component to load data from 2 different endpoints paralelly. Let's say I have a publicData and privateData endpoint for a person. They both accept personId as a parameter. I want to call both at the same time and render when both arrived.
Before I could do something like this and it would load both requests parallelly:
function MyComponent() {
  const { data: publicData } = useSWR("https://publicDataUrl/", fetcher);
  const { data: privateData } = useSWR("https://privateDataUrl", fetcher);

  if (!publicData || !privateData) return "Loading...";
  return (

{publicData.name} ({privateData.socialSecurityNumber})

{publicData.description}

  );
}

Now with suspense I can restructure this to move out the loader to somewhere else and data will be always available inside:
function MyComponent() {
  const { data: publicData } = useSWR("https://publicDataUrl/", fetcher, { suspense: true });
  const { data: privateData } = useSWR("https://privateDataUrl", fetcher, { suspense: true });

  return (

{publicData.name} ({privateData.socialSecurityNumber})

{publicData.description}

  );
}

function OuterComponent() {
  return (
    <Suspense fallback="Loading ...">
      <MyComponent />
    </Suspense>
  );
}

Very cool. But I have noticed that privateData waits for publicData to load. Look at this sandbox where the issue is visible (refresh, and see the console on what runs when): https://codesandbox.io/s/heuristic-shape-4pbw5?file=/src/App.js
Sure I could try to split it into 2 different component, and move the data loads to their respective components (like here: https://codesandbox.io/s/quirky-lewin-prw2w?file=/src/App.js ), but that is not always feasible. Sometimes there can be a component that needs data from the 2 different requests, like in the private/public data code example I provided in this issue.
The best I could figure out is to call useSWR in the top component without suspense and ignore their return value, and call with suspense inside the components, but it feels duplicated and weird: https://codesandbox.io/s/nice-rubin-3g9of?file=/src/App.js
Is there a better way to do this?

You can take a look at #168 and all the related discussions. A temporary solution can be:
useSWR("https://publicDataUrl/", fetcher) // preload
useSWR("https://privateDataUrl", fetcher) // preload
const { data: publicData } = useSWR("https://publicDataUrl/", fetcher, { suspense: true })
const { data: privateData } = useSWR("https://privateDataUrl", fetcher, { suspense: true })

That is the idea in my third sandbox except that I can do it in the same component. Thanks a lot! I hope you figure out the best api for this soon.

https://swr.vercel.app/blog/swr-v2.en-US#preloading-data


prep record struct for layout

Add TypeLayout to Record and FieldLayout to Field in Type.zig
TypeLayout is probably too fat. I think I can cut it in half, but I'd like to finish msvc and MinGW layout emulation before doing that. It helps w/ diff-ing the rust code.
Removed size and alignment from Record as they are duplicative of TypeLayout
Changed bits in Field to be nullable, as 0 and unset mean different things to the layout code.

All of the size fields in the Rust code (in FieldLayout and TypeLayout) are u64 and not u29

Yep, they should all be u64.
Thanks


Prerequisites of build of cardano-node on ARM

Updating documentation
Issue
On other platforms than x86/x64 (eg. ARM) it might be needed additional steps for successful installation and build of cardano-node and cardano-cli.
Description of the change
I followed this post in forum, this means I added additional steps in the documentation. The steps were tested on Ampere based VPS, Ubuntu 20.04.3 LTS.

Mac doesn't has apt command, so I would recommend to update this with proper mac commands

Mac doesn't has apt command, so I would recommend to update this with proper mac commands

Good point, thank you. However mentioned forum thread afaik does not talk about solution for macOS - it is linux virtual machine on M1. Since I cannot test & confirm macOS M1 solution personally I removed mention about Apple from the committed paragraph.

I don't have access to a M1 machine so I can't tell if it is enough to install the packages with Homebrew. Would be great if someone can validate this.

I have M1 and I'm curios to test this, unfortunately I'm traveling now and my M1 is at home, when I will be back(in couple of week or so, if there will be no travel ban LOL) and if there will be still any needs to test, I might be interested in this challenge. Seems this is quite hot topic. :)

Thank you @os11k for looking into this. (best to bookmark this, as we are merging this PR now)

I just wanted to provide feedback that I was previously able to build Mac M1 with the existing guide https://developers.cardano.org/docs/get-started/installing-cardano-node#macos but not sure if something major has changed that it doesn't work anymore.

The Armada Alliance has created an Apple Silicon M1 guide for getting a node running on a mini M1. It uses the build guide referenced above by @Mercurial which was successful for a 1.33 build. There are a few Armada Alliance specifics, but should be understandable by other non-AA pools.
https://docs.armada-alliance.com/learn/stake-pool-guides/m1-native-macos-11-build


JIRA + Service Desk version bump

JIRA 7.3.6 -> 7.3.7
JIRA Service Desk 3.5.0 -> 3.5.1

Thank you for updating!


USPS failing in 0.52 docker build

Home Assistant release (hass --version):
0.52 docker
Component/platform:
USPS
Description of problem:
USPS component fails to init.
Problem-relevant configuration.yaml entries and steps to reproduce:
usps:
    username: [username]
    password: [password]

Traceback (if applicable):
2017-08-26 10:57:33 ERROR (MainThread) [homeassistant.setup] Error during setup of component usps Traceback (most recent call last): File "/usr/src/app/homeassistant/setup.py", line 194, in _async_setup_component component.setup, hass, processed_config) File "/usr/local/lib/python3.6/asyncio/futures.py", line 332, in __iter__ yield self # This tells Task to wait for completion. File "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup future.result() File "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result raise self._exception File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/app/homeassistant/components/usps.py", line 40, in setup conf = config[DOMAIN] KeyError: 'usps' 2017-08-26 10:57:33 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of sensor.usps. Setup failed for dependencies: usps 2017-08-26 10:57:33 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.usps: Could not setup all dependencies.

Additional info:

Pretty sure I have same issue on same version of Home Assistant, however, using AiO installer instead of Docker.

Can you verify that you placed the new usps configuration format in the root configuration.yaml and not in a sensors specific file?


Sample effects

wait fucc i didn't know you were working off the non-master branch 😩

wait fucc i didn't know you were working off the non-master branch weary

heh, yes, Giddy had asked me to send a PR against this branch.

Giddy had asked me to send a PR against this branch.

After merging #1, Github presented a nice little "delete branch safely" button, claiming that now the branch has been merged it's no longer needed. So, I deleted the branch... and, with that, apparently closed this PR. I, of course, blame Github 😎

No worries. Sending a new one is not a problem.
On Tue, Apr 5, 2022, 1:46 PM Spappz @.***> wrote:

the original target branch is merged 🤔 Or did that happen and some silly
🐕 deleted your branch regardless..?
After merging #1
https://github.com/TheGiddyLimit/plutonium-addon-data/pull/1, Github
presented a nice little "delete branch safely" button, claiming that now
the branch has been merged it's no longer needed. So, I deleted the
branch... and, with that, apparently closed this PR. I, of course, blame
Github 😎
—
Reply to this email directly, view it on GitHub
https://github.com/TheGiddyLimit/plutonium-addon-data/pull/2#issuecomment-1089108218,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ7YH4FX2LKTZXK7RJXEYPLVDR37FANCNFSM5SGMQLVA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Is it possible to use middleware to store data from POST and at the same time modify response?

So what I'm trying to do is to manually overwrite response when there is a request to my json-server. I'm fine with that, but I don't know how to add a bit to also store the original request in database so I can reuse it in another request.
Here is my customroutes.js code:
module.exports = (req, res, next) => {

    if (req.path == "/business") {
        res.status(666);
        res.jsonp({
            id: "a23e1b13-cf69-461c-aa8a-a0eb99e41350",
            name: req.body['name'],
            revision: "1"
        });
        next();   #normally next would take care of storing the post request
    }
    else {
        next();
    }
}

So Im getting 666 response with Id, name and revision, but nothing is being stored to db.json file or memory.
Does anyone know a workaround for this issue?

for the later comers, if you are sure that you want to use middle-ware to do this, you should instead setting the res.body. I am not sure the intention of setting status as 666 though.


not working the firebase config

Step 1: Describe your environment

Operating system: _____
Browser: _____
Firebase SDK version: _____

Step 2: Describe the problem:
Steps to reproduce:

Observed Results:

What happened?  This could be a description, logs, etc.

Expected Results:

What did you expect to happen?

Relevant Code:
// TODO(you): code here to reproduce the problem

Step 1: Describe your environment

Operating system: windows 10_
Browser: _____
Firebase SDK version: _____

Step 2: Describe the problem:
Steps to reproduce:

Observed Results:

What happened?  This could be a description, logs, etc.

Expected Results:

What did you expect to happen?

Relevant Code:
// TODO(you): code here to reproduce the problem


Check the updates on June 15

https://developers.notion.com/changelog/select-values-can-now-be-dynamically-created-via-create-and-update-page-endpoints-other-updates-since-public-beta-launch

I didn't find any difference. Updated the tests.


How to set range between the two thumbs?

Hi,This is working fine for fine but i have one issue.For example my range is 3.if difference between the both thumbs are equal to 3 thumbs are not moved each other.Default range seek bar thumbs are overlapped.Hoe to set the range between the thumbs?

Same as https://github.com/anothem/android-range-seek-bar/issues/5


Make getUniqueId more concise

@lilleyse, can you look at this when you get a chance?
This make getUniqueId more concise.

Looks good!


Fixed a bug where nullable enum like classes could not be deserialized correctly

Thanks @david-driscoll!

Fixes https://github.com/OmniSharp/csharp-language-server-protocol/issues/562


TestCafe basic test failed with UnableToAccessScreenRecordingAPIError on macOS Big Sur 11.6.3

What is your Scenario?
I am trying to the run a basis TestCafe test from VS Code/Terminal window from a MacBook Air with Big Sur 11.6.3
Screen recording
What is the Current behavior?
It prompts for screen recording permission.
It was not successful even after giving the permissions through the System Preference window.
Then I followed the instructions given in the stackoverflow.
Issue was not resolved.
Following error is thrown into the command line
`admin@Macbooks-MacBook-Air tests % testcafe chrome temp_test.js
Using locally installed version of TestCafe.
TestCafe requires permission to record the screen. Open 'System Preferences > Security & Privacy > Privacy > Screen Recording' and check 'TestCafe Browser Tools' in the application list.
Press any key to retry.
ERROR UnableToAccessScreenRecordingAPIError: The find-window process cannot access the Screen Recording API.`
What is the Expected behavior?
It's expected to run the test against the target browser.
What is your public website URL? (or attach your complete example)
https://devexpress.github.io/testcafe/example
What is your TestCafe test code?
import { Selector } from 'testcafe';
fixtureGetting Started
.pagehttps://devexpress.github.io/testcafe/example;
test('My first test', async t => {
await t
.typeText('#developer-name', 'John Smith')
.click('#submit-button');
});
Your complete configuration file
{
"browsers": ["chrome"],
"skipJsErrors": true
}
Your complete test report
No response
Screenshots
No response
Steps to Reproduce

Install the testcafe from CLI with npm
Create a basic test
Run the test from VS code/command line
<>
Set the required permission through System Preference

Screen recording
TestCafe version
1.18.3
Node.js version
v16.13.0
Command-line arguments
testcafe chrome temp_test.js
Browser name(s) and version(s)
chrome
Platform(s) and version(s)
macOS 11.6.3
Other
There was no issue in running the test with TestCafe Studio

Thank you for your inquiry. This issue looks like a question. We keep the GitHub issues tracker only for bugs and feature requests (see Contributing). So, let us discuss this problem in the thread that you created on StackOverflow.
If you believe that this is a bug, feel free to reopen it.


created and deployed smart contract

fixes #13
futher implementation needs to be done through save tweets section. Before further implementation deploy smart contract again
and use that id.

Okay, looks good to me.


Migrate use-v-on-exact

https://eslint.vuejs.org/rules/use-v-on-exact

@TokugawaTakeshi
Prioritize next due to: https://github.com/TokugawaTakeshi/vue-eslint-pug_support_test/blob/7a08beda5096f9ac97c8a4077387844a72a584ec/src/App.vue#L36-L37


Should configuration registers be cached before use creation of IObservable

I noticed that in ConfigureBno055 the Enable property is read directly on this line:
https://github.com/neurogears/onix-refactor/blob/0985fbbf8f87eb8f3f13b5b8673f6c39ec651039/OpenEphys.Onix/OpenEphys.Onix/ConfigureBno055.cs#L24
In other Configure<> classes, its cached beforehand. For instance here:
https://github.com/neurogears/onix-refactor/blob/0985fbbf8f87eb8f3f13b5b8673f6c39ec651039/OpenEphys.Onix/OpenEphys.Onix/ConfigureRhd2164.cs#L35
Is there some reason for doing one or the other?

By caching the value when creating the Observable, rather than when its subscribed to, we ensure the state of the register for dynamically configurable workflows. Basically, by doing this we define the dividing line between editing and immutable at pressing the play button rather than e.g. subscriptions to the sequence after the workflow starts.

By caching the value when creating the Observable, rather than when its subscribed to, we ensure the state of the register for dynamically configurable workflows. Basically, by doing this we define the dividing line between editing and immutable at pressing the play button rather than e.g. subscriptions to the sequence after the workflow starts.


Adding i18n support for notice shortcode

Hey @C0reyKalier
thanks for your contribution, but notice this is a third-party module, and we don't want to add i18n support for third-party modules, because it's a starter template, and not everyone going to need that specific module.


How to preventdefault in link onclick event?

After https://github.com/aspnet/Blazor/commit/93c1e37c530cfa0e724ce073df83d16168261c90 how can we prevent default action on link?
I have a pagination
                    @foreach (var exerc in Exercises)                     {
 { ChangeCurrentExercise(exerc.Id); })">@count
                         count++;                     }
and after onclick it tries to route to null route.

Thanks very much for reporting this.
We're fixing this in #944, so I'll close this issue in favour of that.


maturinBuildHook: specify python interpreter

Motivation for this change
Pass absolute path to python interpreter to maturin, to work around a cross compilation issue under qemu user-mode emulation, fixes #115601
https://github.com/NixOS/nixpkgs/issues/115601#issuecomment-795645304
Can be tested by running something like:
OPTIONS="--option system aarch64-linux
         --option sandbox false
         --extra-platforms aarch64-linux"
nix build $OPTIONS -f . python38Packages.adblock

from an x86 machine with boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
cc @danieldk
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

Result of nixpkgs-review pr 116001 at 060c68e6 run on aarch64-linux 1

7 packages failed to build (new failures):

python38Packages.qiskit-aer
python38Packages.qiskit-ibmq-provider
python38Packages.qiskit-ignis
python38Packages.qiskit-terra
python39Packages.qiskit-aer
python39Packages.qiskit-ignis
python39Packages.qiskit-terra

10 packages skipped due to time constraints:

python38Packages.fastapi
python38Packages.johnnycanencrypt
python38Packages.qiskit
python38Packages.qiskit-aqua
python38Packages.tumpa
python39Packages.adblock
python39Packages.qiskit
python39Packages.qiskit-aqua
python39Packages.qiskit-ibmq-provider
python39Packages.starlette

15 packages built successfully:

python38Packages.adblock
python38Packages.fastdiff
python38Packages.graphene
python38Packages.retworkx
python38Packages.snapshottest
python38Packages.starlette
python38Packages.wasmer
python39Packages.fastdiff
python39Packages.graphene
python39Packages.johnnycanencrypt
python39Packages.retworkx
python39Packages.snapshottest
python39Packages.tumpa
python39Packages.wasmer
qutebrowser

(the qiskit failures reported by r-rmcgibbo are pre-existing, despite what the comment says. e.g. https://hydra.nixos.org/job/nixpkgs/trunk/python38Packages.cvxpy.aarch64-linux)

Hello,
I came to this issue while cross-compiling from host x86_64-linux to aarch64-multiplatform. This patch more less helped. However, I had to adjust it in the following way:
+        --interpreter python3.11 \

otherwise I was getting this:
Caused by: Python interpreter should be a kind of interpreter (e.g. 'python3.8' or 'pypy3.9') when cross-compiling, got path to interpreter: /nix/store/y027d3bvlaizbri04c1bzh28hqd6lj01-python3-3.11.7/bin/python