Consider defining a bean named 'entityManagerFactory' in your configuration.

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.0.RELEASE)

2018-03-11 16:15:22.152  INFO 12204 --- [           main] hello.Application                        : Starting Application on Sathish-Lenovo-PC with PID 12204 (C:\Users\SathishKumar\Documents\workspace-sts-3.9.2.RELEASE\gs-accessing-data-mysql\complete\target\classes started by SathishKumar in C:\Users\SathishKumar\Documents\workspace-sts-3.9.2.RELEASE\gs-accessing-data-mysql\complete)
2018-03-11 16:15:22.152  INFO 12204 --- [           main] hello.Application                        : No active profile set, falling back to default profiles: default
2018-03-11 16:15:22.183  INFO 12204 --- [           main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@6295d394: startup date [Sun Mar 11 16:15:22 IST 2018]; root of context hierarchy
2018-03-11 16:15:23.096  INFO 12204 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$5d19f29e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-03-11 16:15:23.451  INFO 12204 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2018-03-11 16:15:23.478  INFO 12204 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2018-03-11 16:15:23.479  INFO 12204 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.28
2018-03-11 16:15:23.483  INFO 12204 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk1.8.0_45\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jdk1.8.0_45/bin/../jre/bin/server;C:/Program Files/Java/jdk1.8.0_45/bin/../jre/bin;C:/Program Files/Java/jdk1.8.0_45/bin/../jre/lib/amd64;C:\Program Files (x86)\Skype\Phone\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.8.0_45\bin;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\SathishKumar\AppData\Local\Microsoft\WindowsApps;;C:\WINDOWS\System32;;.]
2018-03-11 16:15:23.591  INFO 12204 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2018-03-11 16:15:23.591  INFO 12204 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 1408 ms
2018-03-11 16:15:23.716  INFO 12204 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]
2018-03-11 16:15:23.716  INFO 12204 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
2018-03-11 16:15:23.716  INFO 12204 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2018-03-11 16:15:23.716  INFO 12204 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2018-03-11 16:15:23.716  INFO 12204 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
2018-03-11 16:15:23.778  WARN 12204 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mainController': Unsatisfied dependency expressed through field 'userRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository': Cannot create inner bean '(inner bean)#344561e0' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#344561e0': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'entityManagerFactory' available
2018-03-11 16:15:23.778  INFO 12204 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2018-03-11 16:15:23.794  INFO 12204 --- [           main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2018-03-11 16:15:23.841 ERROR 12204 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   :

***************************
APPLICATION FAILED TO START
***************************

Description:

Field userRepository in hello.MainController required a bean named 'entityManagerFactory' that could not be found.

Action:

Consider defining a bean named 'entityManagerFactory' in your configuration.

Works for me. What did you do exactly?

I cloned and created database in mysql with the same user name and password. Then I started my application with Run As -> Spring Boot App.

May I know what would cause such an application failure?

The error diagnostic is quite clear ("hello.MainController required a bean named 'entityManagerFactory'"). If you don't have one you aren't running the same app as me.
Which code are you running exactly? Maybe clear your Maven cache and try again to be on the safe side?

I had the same error. After deleting all repos under .m2 folder and redownloading. It works.

I think it must be a bad jar file.

I am also facing a similar issue, however deleting .m2 and redownload didn't work for me.
I am still investigation it, I will update once I get root cause of my issue.

How about your project? I have the same issue!

I have exactly the same issue and tried all the possible solutions mentioned on the net. Still, the issue is not fixed. Please suggest a proper solution. Any help would be highly appreciated.

It's simple, i have solved my issue..
Add this dependency in your pom.xml
<dependency> 			<groupId>org.hibernate</groupId> 			<artifactId>hibernate-entitymanager</artifactId> 			<version>5.2.3.Final</version> 		</dependency>

still i have the issue

Not sure if it helps or is the same issue: I was getting the same error in a project with two manually configured datasources and inadvertently had both identified as @Primary.  Once I removed that annotation from one, the error went away.

If you have a Wrapper class for Id field in your entity class, convert that into primitive.
--------------------- Wrong ---------------------
@Entity
public class Customer {
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
private Long id;
@Column(name = "name")
private String name;

--------------------- Correct ---------------------
@Entity
public class Customer {
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
private long id;
@Column(name = "name")
private String name;

whats the difference there?

None of the above comments are working. #petertogara difference is Long -> long (Long's premitive)!

I have same issue.any Idea how to solve?

The following link helped me-
StackOverflow

Same issue here.

None of the above comments are working. #petertogara difference is Long -> long (Long's premitive)!

ok, let me test and see if that works.

Same issue here.

change Long to long and see as suggested by @GanDigit

I had two datasources defined in my code, but missed to specify which should be primary one. Once i added the @primary annotation, the issue was fixed.
Thanks anyway @petertogara :)

If you are using 'spring-boot-starter-jdbc' and 'javax.persistence-api' in your pom by mistake, replace them with 'spring-boot-starter-data-jpa'. Just in case.

Please help with the issue

https://github.com/spring-guides/gs-accessing-data-mysql/issues/10#issuecomment-451759641

I had the same error. After deleting all repos under .m2 folder and redownloading. It works.

It worked for me. But which jar file is the bad jar? I want to know.

 org.hibernate hibernate-entitymanager 5.2.3.Final

This was very helpful. Thanks @joker7blue

org.hibernate hibernate-entitymanager 5.2.3.Final

This was very helpful. Thanks @joker7blue

Your welcome

I had the same error. After deleting all repos under .m2 folder and redownloading. It works.

hey! how to delete all and install them again?

@sheetalj2205 u'll find the folder in  C:\Users<YOUR PC NAME>.m2

I had two datasources defined in my code, but missed to specify which should be primary one. Once i added the @primary annotation, the issue was fixed. Thanks anyway @petertogara :)

It worked for me! In my case I'm using two different datasources, but as I'm defining them with JpaRepositories I need to configure manually (using Bean annotation of course) in a configuration class the Entity Manager (EM) and the Transaction Manager (TM). So the problem in my case is that the EM & TM should be marked with @Primary annotation too, not only the Datasource.

I got the same problem . I used an appropriate hibernate version through the maven repository  (try other version of hibernate core)

If you are using 'spring-boot-starter-jdbc' and 'javax.persistence-api' in your pom by mistake, replace them with 'spring-boot-starter-data-jpa'. Just in case.

I was using spring-boot-starter-web and adding spring-boot-starter-data-jpa resolved the issue for me

i had followed all the above methods but my issue not resolved please help me

i had followed all the above methods but my issue not resolved please help me (feb 2023 )

@primary

Мне помог ответ https://stackoverflow.com/a/54663039
То есть аннатация с именем @Bean(name="entityManagerFactory")

I think the issue from from defects in the .m2 repository where maven stores all its files. So i was able to solve this problem by running these commands in the following order:
mvn package
mvn install
mvn dependency:resolve
if perhaps due to a network glitch, your maven gets corrupted, you can follow the following steps:
mvn package -U
mvn install -U
mvn dependency:purge-local-repository
if you follow these steps carefully, i believe the issue shoud be resolved.

In My case, I had the wrong version of spring-boot-starter-data-jpa, I had version 3.0.3 setup before and in my new project I used version below 3.0.3, eclipse was throwing a warning, and removing the version from pom.xml solved the issue for me.

was facing the same issue downgrading spring boot version from 3.0.4 to 3.0.2 worked

I had same issue when have two custom data sources with flyway DB migration. After adding @Primary annotation for one data source, it worked.

I resolve it here.
On my case, the problem was in the DTO And Controller class, in annotation @NotBlank and @Valid.
By a mistake im import this annotations from jakarta, and the correct is from javax.validation.constraints...
After fix it the project run correctly

still i have the issue,please help me.
Description:
Field adminRepository in com.ecommerce.library.service.impl.AdminServiceImpl required a bean named 'entityManagerFactory' that could not be found.
The injection point has the following annotations:

@org.springframework.beans.factory.annotation.Autowired(required=true)

Action:
Consider defining a bean named 'entityManagerFactory' in your configuration.

I had two annotations: @EnableJpaRepositories and @EnableR2dbcRepositories. (I changed jpa dependency to r2dbc)
I deleted @EnableJpaRepositories and project run correctly.

I'm also facing this same issue, please help me.

Still facing the same issue

Just to summarize the solutions from the various comments:

Delete your spring directory in .m2 and rebuild.
Make sure that one and only one data source is marked as @Primary.
Make sure you don't have both @EnableJpaRepositories and @EnableR2dbcRepositories.
Make sure you have both spring-boot-starter-web and adding spring-boot-starter-data-jpa.
Make sure you have a dependency for Hibernate and that it is the correct version (probably the latest, but you may have to adjust it).
Change Long to long (not the capitalization - you want the primitive type).

NOTE that your problem could be caused by any one of these, so do not implement them all at once. Rather, implement each one and test again. If none work, start trying them in combination.
Sorry we can't give a simple "Do this and be done" answer. The code in the guide works as written, but there are a lot of ways to go wrong once you start to customize it for your needs, so there's no single good answer.

org.springframework.boot
spring-boot-starter-data-jpa

	use this dependency without declaring the version, it will automatically create the bean entityManagerFactory and thus resolve the issue

i had nothing to o with entity  as of now , so removing JPA implementation worked for me.
//implementation("org.springframework.boot:spring-boot-starter-data-jpa")


Android EdgeEffect Color In ScrollViews And FlatLists

Android EdgeEffect
Hello Everyone,
I am trying to figure out how can we have edge effect which we get when there is no more
content to scroll like in other android apps.
React native by default provides white effect which i don't want i want to implement
my own color

Picture Is Not Mine
Info
System:
OS: Windows 10 10.0.18362
CPU: (2) x64 Intel(R) Core(TM)2 Duo CPU     E7400  @ 2.80GHz
Memory: 1.62 GB / 4.00 GB
Binaries:
Node: 12.16.3 - C:\Program Files\nodejs\node.EXE
npm: 6.14.4 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version  <IP_ADDRESS> AI-191.8<IP_ADDRESS>91312
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
npmGlobalPackages:
react-native-cli: 2.0.1

Put this inside android/app/src/res/values/styles.xml
<item name="android:colorEdgeEffect">#E53644</item>


Blank window after restoring from sleep

I left Xi open with some ~10k LOC file open. I closed the lid and put my MacBook in bag. After an hour when I opened the lid, Xi window was unresponsive and completely blank. Could be xi-mac's frontend bug, if so please move it.
Some additional info, just in case if needed:

macOS 10.13.2
rustc 1.24.1 (d3ae9a9e0 2018-02-27)
rustup
xi-mac
#b32254f0

Hmm, is there anything in the core crash logs? You can check them via 'Open Error Log Folder' in the debug menu.

Here is the log. First I thought it might be related to C syntax, but it's not, other files have the same problem. And It stays like that until I move the scroll or click. Even opening new tab and doing something in it doesn't seem to affect frozen state of problematic file.
Enabling tracing in core error loading plugins from "/Users/phil/Library/Application Support/XiEditor/plugins", error: Error { repr: Os { code: 2, message: "No such file or directory" } } starting plugins for view-id-1 starting plugin at path "/Users/phil/Developer/other/xi-mac/build/Release/XiEditor.app/Contents/Resources/plugins/syntect/bin/xi-syntect-plugin" starting plugin syntect syntect using Plain Text waiting on process 4632 process ended Ok(ExitStatus(ExitStatus(9))) starting plugins for view-id-3 starting plugin at path "/Users/phil/Developer/other/xi-mac/build/Release/XiEditor.app/Contents/Resources/plugins/syntect/bin/xi-syntect-plugin" starting plugin syntect syntect using Plain Text starting plugins for view-id-5 starting plugin at path "/Users/phil/Developer/other/xi-mac/build/Release/XiEditor.app/Contents/Resources/plugins/syntect/bin/xi-syntect-plugin" starting plugin syntect syntect using C Event in open file Chmod("/Users/phil/Developer/other/zircon/kernel/kernel/event.c") waiting on process 4634 process ended Ok(ExitStatus(ExitStatus(9))) starting plugins for view-id-7 starting plugin at path "/Users/phil/Developer/other/xi-mac/build/Release/XiEditor.app/Contents/Resources/plugins/syntect/bin/xi-syntect-plugin" starting plugin syntect syntect using Plain Text

@FilipMiletic Ah okay, so core hasn't crashed; it's just that the view isn't being rendered correctly. I'm not sure exactly what's going on, but this should be an issue in xi-mac. Would you like to reopen there?

I will, just want to reproduce it once again. Will report back shortly.

Okay, so it seems waking it up now didn't produce the problem. But what could be the problem (I'm stupid forgot to mention very important detail and that is) is that when I opened the lid when the problem occurred I was connected to external monitor (1080p Dell Monitor), so maybe that's the cause why the frontend blew up. I will try and reproduce that same situation when I get home tonight, and will reopen it on xi-mac. Sorry, it slipped my mind to mention that I was using external monitor. 😅

Wouldn’t surprise me.  OS X has always struggled with external/multi
monitor support working properly.  Wouldn’t surprise me if our use of
OpenGL and layers for performance exposes some underlying bug we need to
work around.
On Wed, Mar 28, 2018 at 8:57 AM Filip Miletic<EMAIL_ADDRESS>wrote:

Okay, so it seems waking it up now didn't produce the problem. But what
could be the problem (I'm stupid forgot to mention very important detail
and that is) is that when I opened the lid when the problem occurred I was
connected to external monitor (1080p Dell Monitor), so maybe that's the
cause why the frontend blew up. I will try and reproduce that same
situation when I get home tonight, and will reopen it on xi-mac. Sorry,
it slipped my mind to mention that I was using external monitor. 😅
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/xi-editor/issues/580#issuecomment-376939575,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMSRxVweAW3KRFiiS-RBeaNv7MSTVmjks5ti7MFgaJpZM4S-3k_
.

@FilipMiletic no sweat. I suspect this may not be related to sleep and may be related to external monitors, although it may be a general bug. (I've seen this issue on my dev machine, which has an external monitor and never sleeps.)

closing this, there's a related issue in xi-mac: https://github.com/google/xi-mac/issues/158


NIFI-4055: Add a compression option to AvroRecordSetWriter

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

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

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

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

[x] Is your initial contribution a single, squashed commit?

For code changes:

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

For documentation related changes:

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

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

Hi @champagst
Had a quick look, it seems OK. Two remarks though:

contrib-check failing
new property without displayName()
Can you take care of it? Thanks!

@pvillard31 - I took care of the contrib-check errors and threw in a typo fix for good measure. :wink:  Thanks for looking things over!

+1, merging to master, thanks @champagst

Weird... the PR has not been closed automatically. Could you close it @champagst? Thanks!


Revert "Temporarily reducing the Flink memory params for low resource machines"

Reverts google/fhir-data-pipes#801

Merging now as this was supposed to be a temporary change only.


Added spec for passing customer details, not just the email address, …

…when creating a ticket.
I added this to better explain how the hash could be used as a parameter.
It would be handy to externalise the agent_email and customer_email addresses to environment variables too, so other people can easily run the test suite. This would be a bit of a sweeping change across all the specs obvious. For now, I just submitted the values you were using (I used my own values to check the spec passed for me).

Thanks!

Thanks


Plugin not thread safe

When I execute mvn package -T8, the following warning will be displayed:
[WARNING] *****************************************************************
[WARNING] * Your build is requesting parallel execution, but project      *
[WARNING] * contains the following plugin(s) that are not marked as       *
[WARNING] * @threadSafe to support parallel building.                     *
[WARNING] * While this /may/ work fine, please look for plugin updates    *
[WARNING] * and/or request plugins be made thread-safe.                   *
[WARNING] * If reporting an issue, report it against the plugin in        *
[WARNING] * question, not against maven-core                              *
[WARNING] *****************************************************************
[WARNING] The following plugins are not marked @threadSafe in XXX:
[WARNING] org.codehaus.mojo:jaxws-maven-plugin:2.4.1
[WARNING] *****************************************************************

Is the code (plugin + jaxws tools/libs) thread-safe?

Let's assume that the code is thread-safe and handle any bugs should they exist. I took a quick look in jaxws-tools and could see any obvious problems there.
(For future reference, JAX-WS RI/Metro client proxies are not thread-safe. But that doesn't matter here as we just care about the tools, not the created code.)


remove locale from the link

PR #4758 was merged with an updated link containing the locale. Removing that.

Don't worry @rpetrusha. Maybe we should request that as a build feature.


cloud coverage  133%

Pirate weather is giving me a cloud coverage greater than 100%.
https://weather.pirateweather.net/ is showing the same value 133%
Dark Sky shows cloudy.pnp as icon.
If I look outside, the sky is sunny blue.

Hi,
Thanks for the report! I’d thought for sure I’d fixed this one, so good to know that I didn’t. Do you mind letting me know roughly where this occurred (either here or via email to api@alexanderrey.ca), so I can see what model is feeding into the API here? 🌥

This is roughly where I live:
Braunschweig, Deutschland

Great, thanks! I’ll take a look at the logs tomorrow and see what I can figure out!

Ok, I know I said I fixed this before, but not it's fixed for real (hopefully)! Issue this time was that my max() function was set to stop everything above 100; however, the API returns a value from 0 to 1, so 100 wasn't a very useful max!
Thanks again for your comment (and patience) here! Feel free to re-open this if it crops up again, or start a new issue if anything else comes up


add package summary and usage to README.md

@devrimcavusoglu how about these style updates? :p

LGTM. I prefer classic, open style and relatively long (not too long though) READMEs rather than collapsed sections :) However changes here is only center alignments, so I'm ok with that 😄


Add Rank Order to Projects

So we can can control the order they appear on the page.

this looks useful, https://github.com/swanandp/acts_as_list

We replaced that with https://github.com/mixonic/ranked-model at RoQua earlier this year. Main difference is that with ActsAsList you get Project.pluck(:rank) == [1,2,3,4,5], which means to move a single record, you have to update many rows. RankedModel distributes them across a large range like [-40000, -20000, 0, 20000, 40000], so usually there is a number available between two models to insert it at the correct position.

neat.

:+1: thanks @marten


Allow selecting the other Ace keybindings and themes

Loading these async would probably be ideal, but I'm not sure how to do that, yet...

Vim bindings are a big point for me.  I feel crippled in plain text input...

You might consider embedding a more full-featured editor, like Ace: https://ace.c9.io/build/kitchen-sink.html

Nvm, I see Ace is already used :)

What about using Monaco?

@moosingin3space your link appears invalid. Could you provide a list of benefits that Monaco would provide over Ace?

@shepmaster fixed the link.

:+1: for vim :heart:

Closed via #40 and #44.


Add large timeouts to keep travis from failing.

Fixes #8295

Thanks for the pull request @mramato!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.


error on "type" property

Hi,
First of all, thank you for this beautiful library.
I am using
"openapi-ts-json-schema": "^0.9.1",

Have schema in typescript like below:
const FooSchema = {
  type: "object",
  properties: {
    type: { const: "FOO" },
    bar: { type: "string" },
  },
  required: ["type", "bar"],
} as const;

FooSchema has 2 properties,  type and bar.
Equivalent schema in yaml:
type: object
properties:
  type:
    const: FOO
  bar:
    type: string
required:
  - type
  - bar

When i try to convert this schema to typescript, i am getting following error:
InvalidTypeError: Type {"const":"FOO"} is not a valid type
    at validateType (node_modules/@openapi-contrib/openapi-schema-to-json-schema/src/lib/converters/schema.ts:115:11)

It seems that type is recognized as a type of a schema but it is a name of the property.

Hi @ksevil, thanks for raising this issue! Yep, current JSON schema conversion is a bit too rough. This should fix this specific issue. ✌
Cheers!


WIP: Check the Travis status

Description

Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[ ] I signed an Apache CLA.
[ ] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Codecov Report

Merging #4081 into master will decrease coverage by 4.92%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4081      +/-   ##
==========================================
- Coverage   86.02%   81.09%   -4.93%
==========================================
  Files         148      148
  Lines        7185     7185
  Branches      448      448
==========================================
- Hits         6181     5827     -354
- Misses       1004     1358     +354

Impacted Files
Coverage Δ

...core/database/cosmosdb/RxObservableImplicits.scala
0% <0%> (-100%)
:arrow_down:

...core/database/cosmosdb/CosmosDBArtifactStore.scala
0% <0%> (-95.54%)
:arrow_down:

...sk/core/database/cosmosdb/CosmosDBViewMapper.scala
0% <0%> (-92.6%)
:arrow_down:

...whisk/core/database/cosmosdb/CosmosDBSupport.scala
0% <0%> (-83.34%)
:arrow_down:

...abase/cosmosdb/CosmosDBArtifactStoreProvider.scala
0% <0%> (-58.83%)
:arrow_down:

...la/whisk/core/database/cosmosdb/CosmosDBUtil.scala
92% <0%> (-4%)
:arrow_down:

...rc/main/scala/whisk/common/ForcibleSemaphore.scala
88.46% <0%> (-3.85%)
:arrow_down:

Continue to review full report at Codecov.

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


Add astmodel support for Functions and Methods

Created #97 to help track some of the object hierarchy improvement discussions that have come out of this

Pull Request Test Coverage Report for Build fdf61b89df674e8c3f35e71941def0a979615531-PR-80

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 28.212%

Totals

Change from base Build 71719014ae5e8063ccf19a9afe8fbc26302f75f8:
0.0%

Covered Lines:
909

Relevant Lines:
3222

💛  - Coveralls

hmm... I don't think the coverage report is including the code generator. I'll see about adding it.


Fix sonatype snapshot deploying in travis

Hi soywiz,
Currently I have found this way to upload snapshots, but I don't know what to do with the signing .
Now I think we can upload snapshots to sonatype after adding environment variable SONATYPE_USERNAME and SONATYPE_PASSWORD and disabling or fixing signing.
What do you think of this?

Currently it didn't sign when uploading snapshot, is it safe?

Well, travis gives me a 401 Unauthorized error.

Hey @fxzjshm, I have been thinking about this tonight.
The only solution to do this with travis would be to add environment variables to travis, either by env: -secure travis, or using the panel. I think it works well for enterprise or private projects. But what about OSS projects?
Logs are publicly available. And anyone outside the trust chain can do PRs. An strange could print any private KEY and use to release malicious software, which is wrong. Even when I would notice and would be able to change it, probably it could be use maliciously in that time.
You can think that Travis can try to detect secrets on the output and mask them. But someone can just base64 it and output it, or encrypt it with any method being able to decrypt it later or just sending to an url. So not safe at all for OSS specially with public logs + network access.
That's why I'm going to close this PR, and my other PR trying to get automatic deployments and going to change my policy about releasing to minimize the problem:
I will do one release at least once per week if there are pending changes. You can still download at any time the project and compile by yourself and even distribute it in your own private artifactory.
Thank you for your effort, and sorry for the inconveniences. I will focus on the product itself, and will try to fix this: https://github.com/jtransc/jtransc/issues/172

In the end it seems that encrypted environment variables are disabled from PRs:
https://travis-ci.org/soywiz/travis-experiments#L153
So it is not such a problem then unless I merge something dangerous without noticing.
But probably that's why your PR wasn't going to work before merging. I'll investigate it further and would consider reopening this. But before I want to stabilize master that is broken right now.

Well, it doesn't matter. Thank you for your review. Hope I didn't disturbed you. I wish I can help as much as I'm able to. 🙂

Sure. Of course you don't disturb :) Thank you for your contributions!


[FEATURE] Support dynamic allocation for Spark 3.0

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

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

Describe the feature
We can refer to https://github.com/apache/incubator-uniffle/blob/master/patch/spark/spark-3.2.1_dynamic_allocation_support.patch
We should add the patch for Spark 3.0. You can use the ut of Spark to verify the effect of this patch.
Motivation
No response
Describe the solution
No response
Additional context
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

@LuciferYang @summaryzb Could you help me with this issue?


Add to Mosaic button overlays dropdown

See image. The "About" item is completely obscured.

Duplicate of #529


Add note about key length to README

I moved the description from the Wiki to the README. This fixes #118.

I believe updating REAME.md is not the cause of CI failure. :rage:  (see #140).

I am ignoring the CI failure and merging this, since @psigen identified the underlying issue [that is completely unrelated to this pull request].

Are we okay to remove the wiki then?

Done!


Installing error

Hello, I'm trying to install this gem which is used in a gemfile repository. I tried bundle install, bundle update, but apparently, I got a loop error.
rails s https://github.com/elabs/pundit (at master@8b2d638) is not yet checked out. Run bundle installfirst. bundle install ... Bundle complete! 22 Gemfile dependencies, 77 gems now installed. Usebundle show [gemname]to see where a bundled gem is installed.
Does someone have any idea ?
I'm using rails 5.0.2
I'm using ruby ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]

Could you include your Gemfile? From the error message you provided it seems like you're referencing git source of Pundit, which may be your problem.

Sure!
`source 'https://rubygems.org'
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end
pundit for authorization
gem 'pundit', :git => 'https://github.com/elabs/pundit'
#.. more gems
`

Change
gem 'pundit', :git => 'https://github.com/elabs/pundit'

to
gem 'pundit'

Then run bundle install. In general, you should prefer to pull a gem from Rubygems rather than the git source unless you're certain you need particular changes that haven't yet been released.

Was just it, thanks!

Hi,
I'm back with the same error. In the project that I need to install, I need to use the authorized method, which is used from the git, and not from the rubygems because from rubygems it return a boolean, and from git returns an object.
I tried some new stuffs, as removing all my gems from my computer, but I still get the error.
https://github.com/elabs/pundit (at master@8b2d638) is not yet checked out. Runbundle installfirst.
I'm using rvm, and my team is using rbenv. Could be something with my rvm ?
I'm installing rbenv to test it. when it going to finish, I will update here.

I setup rails again and now its really working :D


City Report Use Case

Only template uploaded... quite sure this is done. Perhaps in another branch?

File updated, reviewed and approved by team.


Event Request - codeunit 7024 "Job Planning Line - Price" - OnAfterAddSources

🕮 Describe the request
Please could we have the following event added to codeunit 7024 "Job Planning Line - Price"
[IntegrationEvent(false, false)]
local procedure OnAfterAddSources(
    Job: Record Job; JobPlanningLine: Record "Job Planning Line";
    PriceType: Enum "Price Type"; var PriceSourceList: Codeunit "Price Source List")
begin
end;

local procedure AddSources()
var
    Job: Record Job;
    SourceType: Enum "Price Source Type";
begin
    Job.Get(JobPlanningLine."Job No.");
    PriceSourceList.Init();
    case CurrPriceType of
        CurrPriceType::Sale:
            begin
                PriceSourceList.Add(SourceType::"All Customers");
                PriceSourceList.Add(SourceType::Customer, Job."Bill-to Customer No.");
                PriceSourceList.Add(SourceType::Contact, Job."Bill-to Contact No.");
                PriceSourceList.Add(SourceType::"Customer Price Group", JobPlanningLine."Customer Price Group");
                PriceSourceList.Add(SourceType::"Customer Disc. Group", Job."Customer Disc. Group");
            end;
        CurrPriceType::Purchase:
            PriceSourceList.Add(SourceType::"All Vendors");
    end;
    PriceSourceList.AddJobAsSources(JobPlanningLine."Job No.", JobPlanningLine."Job Task No.");
    OnAfterAddSources(Job, JobPlanningLine, CurrPriceType, PriceSourceList);
end;

Additional context
This will allow us to add additional sources and mimics the events available in Sales Line - Price

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 11976.


defaultSort (dev and cloud) and defaultColumns (only cloud) not respected for a certain collection

Link to reproduction
https://github.com/Because789/payload/tree/defaultsort-test/test/_community/collections
Environment Info
Binaries:
  Node: 20.17.0
  npm: 10.8.2
  Yarn: N/A
  pnpm: 9.10.0
Relevant Packages:
  payload: 3.0.0-beta.107
  next: 15.0.0-canary.104
  @payloadcms/db-mongodb: 3.0.0-beta.107
  @payloadcms/email-nodemailer: 3.0.0-beta.107
  @payloadcms/graphql: 3.0.0-beta.107
  @payloadcms/next/utilities: 3.0.0-beta.107
  @payloadcms/plugin-cloud: 3.0.0-beta.107
  @payloadcms/plugin-nested-docs: 3.0.0-beta.107
  @payloadcms/richtext-lexical: 3.0.0-beta.107
  @payloadcms/translations: 3.0.0-beta.107
  @payloadcms/ui/shared: 3.0.0-beta.107
  react: 19.0.0-rc-06d0b89e-20240801
  react-dom: 19.0.0-rc-06d0b89e-20240801

Describe the Bug
I have this collection:
import { Image } from '@/blocks/image/config'
import { Connections } from '@/blocks/connections/config'
import { InspirationalQuote } from '@/blocks/inspirational-quote/config'
import { ConflictQuote } from '@/blocks/conflict-quote/config'
import { SolutionQuote } from '@/blocks/solution-quote/config'
import { Keywords } from '@/blocks/keywords/config'
import type { CollectionConfig } from 'payload'

export const Stories: CollectionConfig = {
    slug: 'stories',
    access: {
        read: () => true,
    },
    admin: {
        group: 'Content',
        useAsTitle: 'title',
        description: 'Hier werden die Geschichten verwaltet',
        defaultColumns: ['title', 'content', 'pub_date', 'storyteller', '_status'],
        pagination: {
            limits: [10, 20, 50, 100],
        },
    },
    defaultSort: '-title',
    fields: [
        {
            name: 'title',
            label: 'Title',
            type: 'text',
            required: true,
        },
        {
            type: 'tabs',
            tabs: [
                {
                    label: 'Main', // required
                    description: 'Edit content here',
                    fields: [
                        {
                            name: 'main_image',
                            label: 'Main Image',
                            type: 'upload',
                            relationTo: 'media',
                            required: true,
                        },
                        {
                            name: 'content',
                            label: 'Content',
                            type: 'richText',
                            localized: true,
                            // Pass the Lexical editor here and override base settings as necessary
                            // editor: lexicalEditor(),
                        },
                    ]
                },
                {
                    label: 'Blocks', // required
                    description: 'Edit blocks here',
                    fields: [
                        {
                            // Optionale Features gehören hier hin
                            name: 'layout',
                            label: 'Layout',
                            type: 'blocks',
                            blocks: [
                                Image,
                                Connections,
                                InspirationalQuote,
                                ConflictQuote,
                                SolutionQuote,
                                Keywords,
                            ],
                            localized: true,
                        },
                    ]
                },
                {
                    label: 'Meta',
                    description: 'Edit meta data here',
                    fields: [
                        {
                            name: 'series',
                            label: 'Series',
                            type: 'relationship',
                            relationTo: 'series',
                            required: true,
                        },
                        {
                            name: 'storyteller',
                            label: 'Storyteller',
                            type: 'relationship',
                            relationTo: 'users',
                            required: true,
                        },
                        {
                            name: 'storywriter',
                            label: 'Storywriter',
                            type: 'relationship',
                            relationTo: 'users',
                            required: true,
                        },
                        {
                            name: 'interview_language',
                            label: 'Interview Language',
                            type: 'text',
                        },
                        {
                            name: 'interview_place',
                            label: 'Interview Place',
                            type: 'text',
                        },
                        {
                            name: 'country',
                            type: 'text',
                            admin: {
                                components: {
                                    Field: '/components/SelectCountry.tsx#SelectCountry',
                                },
                            },
                        },
                    ]
                },
            ],
        },
        {
            name: 'slug',
            label: 'Slug',
            type: 'text',
            required: true,
            admin: {
                position: 'sidebar',
                description: 'URL of the story: yyyy-mm-dd-title',
            }
        },
        {
            name: 'pub_date',
            label: 'Publication Date',
            type: 'date',
            required: true,
            admin: {
                date: {
                    displayFormat: 'd. MMMM yyyy',
                },
                position: 'sidebar',
            }
        },
        {
            name: 'categories',
            label: 'Categories',
            type: 'relationship',
            relationTo: 'categories',
            hasMany: true,
            required: true,
            admin: {
                position: 'sidebar',
            }
        },
    ],
    versions: {
        drafts: {
            // // Uncomment to enable autosave for drafts
            // autosave: {
            //     interval: 800, // In milliseconds
            // },
        },
        maxPerDoc: 10,
    },
}

In my dev environment, defaultColumns works, but defaultSort defaults to &sort=author, although there is not a single field named author in the whole project:

On my cloud instance, defaultColumns doesn't work and defaultSort defaults to &sort=-categories:

Since other collections don't show this issues, I assume the problem is the nesting in this collection with tabs and/or blocks? I tried commenting out the tab with the blocks (see below), but that didn't change anything. I'm new to payload, so it's unclear to me, if there is an issue with my collection configuration or if that's a bug.
Reproduction Steps
This shorter version shows the same behavior in my dev environment (didn't test it in cloud):
import type { CollectionConfig } from 'payload'

export const Stories: CollectionConfig = {
    slug: 'stories',
    access: {
        read: () => true,
    },
    admin: {
        group: 'Content',
        useAsTitle: 'title',
        description: 'Hier werden die Geschichten verwaltet',
        defaultColumns: ['title', 'content', 'pub_date', 'storyteller', '_status'],
        pagination: {
            limits: [10, 20, 50, 100],
        },
    },
    defaultSort: '-title',
    fields: [
        {
            name: 'title',
            label: 'Title',
            type: 'text',
            required: true,
        },
        {
            type: 'tabs',
            tabs: [
                {
                    label: 'Main', // required
                    description: 'Edit content here',
                    fields: [
                        {
                            name: 'main_image',
                            label: 'Main Image',
                            type: 'upload',
                            relationTo: 'media',
                            required: true,
                        },
                        {
                            name: 'content',
                            label: 'Content',
                            type: 'richText',
                            localized: true,
                        },
                    ]
                },
                {
                    label: 'Meta',
                    description: 'Edit meta data here',
                    fields: [
                        {
                            name: 'storyteller',
                            label: 'Storyteller',
                            type: 'relationship',
                            relationTo: 'users',
                            required: true,
                        },
                        {
                            name: 'storywriter',
                            label: 'Storywriter',
                            type: 'relationship',
                            relationTo: 'users',
                            required: true,
                        },
                        {
                            name: 'interview_language',
                            label: 'Interview Language',
                            type: 'text',
                        },
                        {
                            name: 'interview_place',
                            label: 'Interview Place',
                            type: 'text',
                        },
                        {
                            name: 'country',
                            type: 'text',
                            admin: {
                                components: {
                                    Field: '/components/SelectCountry.tsx#SelectCountry',
                                },
                            },
                        },
                    ]
                },
            ],
        },
        {
            name: 'slug',
            label: 'Slug',
            type: 'text',
            required: true,
            admin: {
                position: 'sidebar',
                description: 'URL of the story: yyyy-mm-dd-title',
            }
        },
        {
            name: 'pub_date',
            label: 'Publication Date',
            type: 'date',
            required: true,
            admin: {
                date: {
                    displayFormat: 'd. MMMM yyyy',
                },
                position: 'sidebar',
            }
        },
    ],
    versions: {
        drafts: {
            // // Uncomment to enable autosave for drafts
            // autosave: {
            //     interval: 800, // In milliseconds
            // },
        },
        maxPerDoc: 10,
    },
}

I added it to test/_community/collections, but didn't understand how to get it running (got a Mongo DB connection error).
Adapters and Plugins
No response

Can you test this behaviour in a fresh browser and with a new user please?
Reason being that we actually store user preferences for certain things in the admin panel, so if you've clicked around and customised columns for example it will be stored and then re-used every time. The configuration is only respected if you have no preferences, as in a fresh user.

Oh well, that simple, yeah that was it. Same user in fresh browser didn't help. New user in fresh browser did help. For the old user in the cloud I had to trigger another sorting, and just like that the defaultColumns were right.
But isn't that an issue? Shouldn't a new deployment trigger the deletion of this user settings, at least of those that get changed? defaultSort isn't such an issue, but at least a change in defaultColumns should delete this specific user setting, don't you think so?

+1 for that feature.
Thanks for the help!


Server side rendering not working on initial load of stars page.

If I request the stars page directly, I'm left with "is fetching" and stars never load.

@BobBob01 can you try the latest version?


Changed all typos of pinter to printer.

Not sure if that was an intentional spelling.

OMG, not intentional… thanks @ariel-nathan!


Support to change ~icons alias

It would be great to have support for defining a custom alias when configuring unplugin icons, this would help in cases where you want to follow library or framework conventions.
For instance it's commonly seen in ReactJS codebases import aliases prefixed with @ for example: @project-name, or in case you want to alias the path to the components directory you could do@components. In Svelte you find the dollar sign symbol similarly, for instance $lib for the SvelteKit's lib directory or you could have a custom for internationalization such as: $i18n.
In my use case I'm using SvelteKit with this library and I would like to have $icons instead of ~icons, so all of my import paths are prefixed under the same symbol.

For SvelteKit, with the new 'alias' option in svelte.config.js, you can do this easily:

When using custom aliases you need to add .d.ts to handle it properly
https://github.com/antfu/unplugin-icons/tree/main/types

Oh yep, thanks, I had just figured that out before I seeing this. For anyone that comes across this, here's what I added in SvelteKit:
// svelte.config.js

const config = {
  kit: {
    alias: {
      $icons: '~icons'
    }
  }
}

// src/global.d.ts

declare module '$icons/*' {
  import { SvelteComponentTyped } from 'svelte'
  export default class extends SvelteComponentTyped<svelte.JSX.IntrinsicElements['svg']> { }
}

I just copied the declaration from the svelte.d.ts file and changed ~icons/* to my custom alias.
Using virtual:icons didn't work for me as of<EMAIL_ADDRESS>(SvelteKit tries to transform it into an absolute path).

You can import the types files in App.d.ts.
import 'unplugin-icons/types/svelte';

For SvelteKit users who use Node adapter, here's how I managed to do it:

Add alias in vite config

import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import Icons from 'unplugin-icons/vite';

export default defineConfig({
	plugins: [
		sveltekit(),
		Icons({
			compiler: 'svelte'
		})
	],
	resolve: {
		alias: [
			{
				find: '$icons',
				replacement: '~icons'
			}
		]
	}
});

Create a global.d.ts (for some reason, updating app.d.ts doesn't work) file with the following content:

declare module '$icons/*' {
	import { SvelteComponentTyped } from 'svelte';
	export default class extends SvelteComponentTyped<svelte.JSX.IntrinsicElements['svg']> {}
}

The first step makes build work, the second makes language server recognise the imports.
Important note: adding alias in svelte.config.js breaks the build (not dev server) - compiler tries to find ~icons directory in my project root...


Update api-management-key-concepts.md

Integration between API and databases is barely mentioned in the doc, implying it doesn't exists. It requires pre-existing knowledge. I've added it to the doc to inform others about such option.

@dlepow
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Android Custom Event log not capturing in Firebase console, err

Hi,  i debugged using logcat and find the below error,
E/FirebasePlugin: org.json.JSONException: Value Rainfall Forecast Tile at 1 of type java.lang.String cannot be converted to JSONObject
2019-09-12 13:43:01.120 29916-30080/com.sdfsdfsd W/CordovaPlugin: Attempted to send a second callback for ID: FirebasePlugin216393764 Result was: "Invalid action"
And it is capturing the screenview correctly but only problem is custom Event log, sample script,
FirebasePlugin.logEvent("Market_Prices", "Grain");
Same working good for the iOS version. Please advice
i am using Ionic 3 with cordova 9.0.0,
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:
cordova (Cordova CLI) : 9.0.0<EMAIL_ADDRESS>

local packages:
@ionic/app-scripts : 3.2.4
Cordova Platforms  : android 8.0.0 ios 5.0.1
Ionic Framework    : ionic-angular 3.7.1

System:
ios-sim : 8.0.1
Node    : v10.16.0
npm     : 6.9.0
OS      : macOS
Xcode   : Xcode 10.3 Build version 10G8

Environment Variables:
ANDROID_HOME : not set

Misc:
backend : pro

The second argument of logEvent() should be a key/value object of user properties, not a string as demonstrated here. This is what the native code expects.
But I agree that the documentation inherited from cordova-plugin-firebase doesn't make the expected parameter types clear - I'll update the documentation to add this.

Thanks dpa99c, will try this.


Transfer repo to foldingathome org and rename 'xchem-infrastructure'

The whole infrastructure we're engineering here can be easily generalized to support the DiamondMX/XChem fragment screening campaigns, which field 10-20 projects/year on new targets. We should be able to easily generalize our work to automate supporting the selection of Enamine REALSpace compounds via Folding@home in future, even beyond the Moonshot.
We can transfer the repo to http://github.com/foldingathome and rename it xchem-infrastructure at some point to reflect this.

I just created https://github.com/choderalab/xchem-infrastructure. I'm planning to gradually transition to this, but keep this repo as "stable" for now.

Sound great!


Active RAM usage counter

Active RAM usage counter in firmware across all modes, similar to the exit functionality. Toggle-able via the secrets menu

Any sort of system monitoring is going to incur some overhead. It's also not trivial to overdraw on the screen (see #380). You'll need to be quite careful with this.
Who is this for anyway? If it's for developers, it's much better to use ESP_LOGx and specifically target where memory is measured. I did that when managing fighter sprites, for instance.

Ah yes, it would be for developers. I wasn't sure whether the emulator had similar enough memory usage to the hardware to be useful that way. If it does, we can close this

What we call an emulator is really more of a simulator, since it's not even trying to accurately emulate things like CPU instructions or memory management. I still stand by targeted ESP_LOGx rather than a general overlay.


15 invalid domains found when retrieving the list with Pi-hole

Hello. After updating Pi-hole to the latest version I noticed some invalid domains when retrieving the list. I tried looking at open issues and I couldn't find one which talked about this. I'm sorry if this has already been discussed.

Thanks for your work on the list! It's very useful

Thank you for this Davide @Trainax.
Line numbers would be helpful.
I presume this refers to some domains at top-of-file. This isn't an issue since these domains come from hosts files included in various operating systems.
Closing.


inner components onPress is not working well.

inner components onPress is not working well. The touchable onPress props of components inside the gestures are not picked up more often. As whenever we touch the content, it starts to move the component around. Therefore, the onPress is only working when the touch we made did not cause movement over the component.

example code:-
<Gestures
                rotatable={true}
                scalable={{
                    min: 1,
                    max: 7,
                }}
                draggable={true}
            >
                <View>
                    <Text
                        onPress={()=>{
                            this.onPressText()
                        }}
                    >
                        {this.state.text}
                    </Text>
                </View>
            </Gestures>

@keske created pull request for review.

Having same issue on Android. iOS seems to work


Picture in markdown

You might want to re-add the picture, and I think it would be a good idea if you put some meaningful alt text if the image happens to break.

WOOOH my first issue, thanks for submitting, Tomorrow I will upload some images and add better alt tags! Thanks for submitting.


Update Conferences

ReactConf just finished, so making a quick update to the upcoming conference list. 💞I also updated the list of upcoming conferences to be in ascending order relative to today.

Thanks!


[Docment][Feature] Refactor local parameter docment

ref: #9989

Do you finish your change now? @QuakeWang

Do you finish your change now? @QuakeWang

I have changed it. PTAL

I had restart the failed CI


Unable to find combined.gtf file

Hi,
I'm trying to run FINDER for a Hawaiian Drosophila genome. However, I got this problem: " FileNotFoundError: [Errno 2] No such file or directory: '/storage/pricelab/ngoc/Finder-finder_v1.1.0/silvestris/assemblies_psiclass_modified/combined/combined.gtf'
Please let me know if you need any information from me. Thank you so much!

An update on this issue:
When i go to combined.error file at this directory:  /storage/pricelab/ngoc/Finder-finder_v1.1.0/silvestris/assemblies_psiclass_modified/combined, I got this message:
"[bam_header_read] EOF marker is absent. The input is probably truncated.
[bam_header_read] invalid BAM binary header (this is not a BAM file).
[bam_header_read] EOF marker is absent. The input is probably truncated.
[bam_header_read] invalid BAM binary header (this is not a BAM file).
Can not open /storage/pricelab/ngoc/Finder-finder_v1.1.0/test/alignments/sample1_for_psiclass.bam.
Terminated"
So I went to /storage/pricelab/ngoc/Finder-finder_v1.1.0/test/alignments and see that even though there is a file named sample1_for_psiclass.bam, it was empty without any content in it. Please see the attached files
sample1_round5_r.error.txt
combined.error.txt
. I'm not sure where to check for the error on that. Any guidance is appreciated! Thank you!

Hello @bimbim1803,
Thank you for your patience on this matter and thanks for using finder. It seems like there is an issue with either olego mapping or merging of files. Could you please confirm that alignments are present for STAR?
Thank you,
Sagnik


fix(twig) : refactor search input to be selected by tag

Fixes :- https://github.com/international-labour-organization/designsystem/issues/1176
Notes

Query search input by tag instead of class

Hey @Shashika6, just a reminder then when you write "Fixees :-" instead of "Fixes" it won't close the issue when I merge the ticket. The correct syntax is "Fixes #...."

@justintemps can we get this one merged cause the CI is failing. I did the fix to update to the correct base theme version on this one.


关节4范围

https://github.com/flexivrobotics/flexiv_rdk/blob/a83755ab7be603eefbe92dfcd5c47060c9a12914/spec/flexiv_rizon4_kinematics.urdf#L32
产品说明书上关节4范围： A4：-154°至+107°
请问应该参照哪个标准？

There was an update to the User Manual on joint ranges a few months ago, please request the latest User Manual from sales, thank you.


Launching Photoshop crashes the whole system

The install went fine but when I try to launch Photoshop the init window comes up and after it's finished the system hangs (not a kernel panic but unresponsive, can't even switch to another tty). I can see that the init process was finished because it hung during the close animation of the window

Arch Linux
KDE plasma
wine 9.19-1
Wayland
AMDGPU

Looks weird. Can you confirm that it's not an OOM situation?

Looks weird. Can you confirm that it's not an OOM situation?

I don't think so because I have 16gigs, didn't have any memory heavy apps running, and also have some swap set up

I don't think so because I have 16gigs

Do you think so, or can you say for sure that this is not OOM? Also, if you can, please launch photosgop.sh directly from terminal and paste wine output here

Where is that file?

I don't think so because I have 16gigs

Do you think so, or can you say for sure that this is not OOM? Also, if you can, please launch photosgop.sh directly from terminal and paste wine output here

$HOME/.local/bin/photoshop.sh. I want to move this file to its own subfolder in the future tho

Weird. the photoshop.sh file seems empty and I can't get it to launch anymore.
Give me a minute I'll reinstall

It now launches but linux still crashes after it's open for a few seconds. Here's the wine log:
log.log

Also, do you have LIBVA_DRIVER_NAME and VDPAU_DRIVER environment variables?

Looks like you have a rendering issue. Did you installed your GPU drivers and wine dependencies properly (ArchWiki page?
For full list of wine dependencies you can run pacman -Qi wine

The dll overrides made it error out because it couldn't find those dlls.
I had my gpu drivers installed correctly but I don't have these enviroment variables despite having both packages installed (As seen in the picture).

Set up this environments in shell settings or in /etc/profile.d/ as ArchWiki says.
Here's  mine for example:
[ shved$huawei ~ ]$ cat /etc/profile.d/user-defined.sh | grep radeon
export LIBVA_DRIVER_NAME="radeonsi"
export VDPAU_DRIVER="radeonsi"

@realgamebreaker did you solve this?

@realgamebreaker did you solve this?

I'm on vacation right now. Will try when I get back home.

Okay, no problem

@realgamebreaker Any updates? Can i close the issue?

@realgamebreaker Any updates? Can i close the issue?

Oh yeah sorry I forgot about this


Support client delegate with Combine

add combine api in order to allow to register multiple subscribers on client events.

Hi @llbartekll, I hope you are doing well. I'd like to know if the project is open for contribution and if so, is there any other documentation on how this api should be designed?
Thanks :)

Hey @lourenco-marinho, yes we are open for contributions. In general the api should be a substitute for a WalletConnectClientDelegate and use PassthroughSubjects. If you'd like to contribute, please open PR to develop branch


The problem of reprinting vivit

Original author address as follow：
https://github.com/rishikksh20/ViViT-pytorch

i coded it up independently. the reason it looks similar is because he used the code in this repository as the base


Simplify or remove script dependencies

The release procedure currently involves running the Python scripts in the scripts directory to update version numbers in some example data.  The scripts readme suggests using Poetry to manage the scripts' dependencies.
I have just followed the instructions on installing Poetry.  After changing into the scripts directory and running poetry install, this is what I get from poetry run python generate_example.py:
/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/_compat.py:111: UserWarning: The Shapely GEOS version (3.10.3-CAPI-1.16.1) is incompatible with the GEOS version PyGEOS was compiled with (3.10.1-CAPI-1.16.0). Conversions between both will be slow.
  warnings.warn(
Traceback (most recent call last):
  File "/Users/tim/projects/geoparquet/scripts/generate_example.py", line 20, in <module>
    df = geopandas.read_file(geopandas.datasets.get_path("naturalearth_lowres"))
  File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/io/file.py", line 166, in _read_file
    _check_fiona("'read_file' function")
  File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/io/file.py", line 80, in _check_fiona
    raise ImportError(
ImportError: the 'read_file' function requires the 'fiona' package, but it is not installed or does not import correctly.
Importing fiona resulted in: dlopen(/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/fiona/ogrext.cpython-310-darwin.so, 0x0002): Library not loaded: /opt/homebrew/opt/gdal/lib/libgdal.31.dylib
  Referenced from: <8EF16756-6EC0-3D20-90D6-ECD7AE37A9E5> /Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/fiona/ogrext.cpython-310-darwin.so
  Reason: tried: '/opt/homebrew/opt/gdal/lib/libgdal.31.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/gdal/lib/libgdal.31.dylib' (no such file), '/opt/homebrew/opt/gdal/lib/libgdal.31.dylib' (no such file), '/usr/lib/libgdal.31.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/gdal/3.6.4_4/lib/libgdal.31.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/gdal/3.6.4_4/lib/libgdal.31.dylib' (no such file), '/opt/homebrew/Cellar/gdal/3.6.4_4/lib/libgdal.31.dylib' (no such file), '/usr/lib/libgdal.31.dylib' (no such file, not in dyld cache)

It looks like part of the issue is that the dependencies haven't been touched in a year and some are old and possibly harder to install. Like it looks like the lockfile is bringing in pyarrow==7.0 and that doesn't have a wheel for Python 3.11 (that's the error I'm hitting)

In an effort to get though this, I tried poetry update.  After that, this is the result of poetry run python generate_example.py:
/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/_compat.py:111: UserWarning: The Shapely GEOS version (3.11.1-CAPI-1.17.1) is incompatible with the GEOS version PyGEOS was compiled with (3.10.1-CAPI-1.16.0). Conversions between both will be slow.
  warnings.warn(
Traceback (most recent call last):
  File "/Users/tim/projects/geoparquet/scripts/generate_example.py", line 21, in <module>
    df = df.to_crs("crs84")
  File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/geodataframe.py", line 1275, in to_crs
    geom = df.geometry.to_crs(crs=crs, epsg=epsg)
  File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/geoseries.py", line 1120, in to_crs
    self.values.to_crs(crs=crs, epsg=epsg), index=self.index, name=self.name
  File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/array.py", line 768, in to_crs
    crs = CRS.from_user_input(crs)
  File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/pyproj/crs/crs.py", line 501, in from_user_input
    return cls(value, **kwargs)
  File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/pyproj/crs/crs.py", line 348, in __init__
    self._local.crs = _CRS(self.srs)
  File "pyproj/_crs.pyx", line 2366, in pyproj._crs._CRS.__init__
pyproj.exceptions.CRSError: Invalid projection: crs84: (Internal Proj Error: proj_create: unrecognized format / unknown name)

I made #179. I think the crs84 is supposed to be "ogc:84"


Week 7 - Adding a photo (Dominic)

Everyone has to add their photo
Add a suitable photo of yourself
The filename of the profile photo should be docs/images/github_username_in_lower_case.png
Note the need for lower case (why lowercase?) e.g. JohnDoe123 -> docs/images/johndoe123.png not docs/images/JohnDoe123.png.
If your photo is in jpg format, name the file as .png anyway.

This task is done, hence I will just help close it


Add Build validation for spec.source

From https://github.com/shipwright-io/build/issues/457
Idea:
We should increase the validations we do in the Build during reconciliation. You can see my comment for more details around validations.
From the current customer behaviour we have seen in CE, a big portion of errors that take place on the BuildRun resources are related to human errors(typos) defined on the Build template, specially under the spec.source path.
Allowing a BuildRun to trigger the building mechanism when such a miss configuration is in place is not ideal, therefore we would like to prevent such situations by adding new validations on the Build side.
Acceptance_Criteria:

Add a validation for the spec.source URL, in order to validate that the repo exists. This should only be done at the moment for public git repos.
This requires a new pkg, we can call it git, similar to how Tekton does it.
The above pkg should serve as a good example on how to trigger the endpoint validation. I took a look on it, it basically constructs a git cmd on the fly, and checkouts a particular branch. This should imply our operator image will require an update (_ add git binary dependency_)
The validation should introduce a new error message for the Build status.reason field.
This PR should have unit and integration tests

Maybe we need investigation first to see if we need another issue to verify the revision parameter

This is issue is for for public repo first.

Simple validations on the git URL make sense (ex - via regular expressions), and if there are libraries in Tekton that we can vendor in then we should take advantage of those.
I am more reluctant to support something that requires the controller to make an external network call to validate the git repo. This can be flaky and add extra overhead to every reconciliation.

From the current customer behaviour we have seen in CE, a big portion of errors that take place on the BuildRun resources are related to human errors(typos) defined on the Build template, specially under the spec.source path.

Are we seeing repeated errors from end-users - i.e. is the same Build object leading to multiple failed BuildRun instances? If yes - and these failures are related to typos in the git URL - are we providing clear messages that the BuildRun fails because it can't check out source code?

Are we seeing repeated errors from end-users - i.e. is the same Build object leading to multiple failed BuildRun instances? If yes - and these failures are related to typos in the git URL - are we providing clear messages that the BuildRun fails because it can't check out source code?

this is a validation done from Tekton side via the pipeline controller once the BuildRun is created. We want to avoid ending up on a BuildRun that will fail eventually because of a typo(Tekton validation), by validating this in advance via the Build controller.
The above will reduce the number of failed BuildRuns due to miss-configurations in advance.
Regarding

I am more reluctant to support something that requires the controller to make an external network call to validate the git repo.

I think is a valid concern. However the Build controller is doing very few workload, I dont think this would be a problem in terms of performance.

Are we seeing repeated errors from end-users - i.e. is the same Build object leading to multiple failed BuildRun instances? If yes - and these failures are related to typos in the git URL - are we providing clear messages that the BuildRun fails because it can't check out source code?

this is a validation done from Tekton side via the pipeline controller once the BuildRun is created. We want to avoid ending up on a BuildRun that will fail eventually because of a typo(Tekton validation), by validating this in advance via the Build controller.
The above will reduce the number of failed BuildRuns due to miss-configurations in advance.
Regarding

I am more reluctant to support something that requires the controller to make an external network call to validate the git repo.

I think is a valid concern. However the Build controller is doing very few workload, I dont think this would be a problem in terms of performance.

yeah +1'ing @adambkaplan here based on some of our openshift experience, on 2 fronts

our own CI system which has massive activity
customer on-prem cluster sometimes have different performance characteristics than hosted cluster we might maintain

Adding the ability to opt in or opt out of any of the validations requiring external access could mitigate potential friction with such envs when the time comes ... I at least would be more amenable if we had that.

I think the proposal of this issue is: find or expose the configuration problem as early as possible for end user.
We met some problem during our operations:

The current buildrun status/error message cannot tell more useful info. 99% of buildrun error looks like:

"step-step-export" exited with code 246 (image: "buildpacks/builder@sha256:28be58a9c0a9ac497ab69e07aa92117aaa8ed316d1b01c93d934fb239bf63bfa"); for logs run: kubectl -n 3307050b-2834 logs demo1-build-kmqhw-run-8xcrk-f2vn9-pod-cs7sg -c step-step-export

From the log, it is hard to know the problem, so the info is not helpful for end user

If the problem happens during the buildrun execution time, the end user needs to analyze the build pod log and see the real problem manually, but we think most of the problem can be corrected at build config stage and report to end user the problem first, like git cannot be accessed, or registry cannot be accessed, etc..., so that the end user can fix those as early as possible
We did some performance investigation, the additional Git check in this issue only happens during the build create/update events in reconciliation. It doesn't happen in other logic. so it should be valuable. (Of course, git url regular expression check (CRD default static check) is also other item we would like to add, it will be done in another issue)
In future, I think we also would like to add Git status in the buildrun status, like this issue: https://github.com/shipwright-io/build/issues/205, for that, we also need to add a kind of git package to analyze the git commit then show in the buildrun status. So it should be a similar process

regarding the topic around external access, if a build controller does not does the git query, tekton controller will do, so I´m not sure if the issue is avoidable. @adambkaplan @gabemontero I think we would like to proceed here, whats your take based on the extra info @zhangtbj provided?

regarding the topic around external access, if a build controller does not does the git query, tekton controller will do, so I´m not sure if the issue is avoidable. @adambkaplan @gabemontero I think we would like to proceed here, whats your take based on the extra info @zhangtbj provided?

but it can be minimized .... as to @zhangtbj rationale yes I think that is all good, but I've still not heard why opting into or option out of these validations would not be acceptable for both concerns

In fact, I'm fine with "opt-in" being the default, so that your users do not have to do anything extra to get these validations
But we've have customers complain about additional RPCs in their envs.  We've also had customers (and ourselves) hit by github throttling, so git interactions become a concern.  If we had an opt-out, then if such concerns arose wrt shipwright in the future, we have a path to mitigate.

@gabemontero I think we will control this behaviour(git checks) via a new label/annotation in the Build CRDs, so by default you will be opt-out to it. That would fulfill your requirement, which I think makes a lot of sense

@gabemontero I think we will control this behaviour(git checks) via a new label/annotation in the Build CRDs, so by default you will be opt-out to it. That would fulfill your requirement, which I think makes a lot of sense

sounds good @qu1queee ... fwiw in k8s annotations are generally the choice for tweaking behavior of a runtime component

During implementing, I found I can't find a good method to distinguish a URL is private or public. Because a user may use different repo, such as github, gitlab, gitBucket etc. So verify URL is a public or not it difficult, at lease for me.
BTW, I don't prefer to use git clone to do this validation, because this may degrade our build controller's performance.
Not sure if you all have other ideas about this? If have, pls let me know, thanks in advance!

During implementing, I found I can't find a good method to distinguish a URL is private or public. Because a user may use different repo, such as github, gitlab, gitBucket etc. So verify URL is a public or not it difficult, at lease for me.
BTW, I don't prefer to use git clone to do this validation, because this may degrade our build controller's performance.
Not sure if you all have other ideas about this? If have, pls let me know, thanks in advance!

@xiujuan95 i think you are looking to validate if a URL requires authentication. The easy assumption to use in order to determine if authentication is required:

validate if the url is of the form git or ssh
validate if the spec.source.url references a secret

If the above is the case, we know we are talking about a repo that requires auth.

@xiujuan95 i think you are looking to validate if a URL requires authentication. The easy assumption to use in order to determine if authentication is required:

validate if the url is of the form git or ssh
validate if the spec.source.url references a secret

If the above is the case, we know we are talking about a repo that requires auth.


Exception when setting design.shipType

While testing this I'm getting the following exception.
TypeError: Cannot create property 'value' on number '36'
    at assignValueToLeaf (/usr/local/src/signalk-server-node.include-metadata/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:241:16)
    at addValue (/usr/local/src/signalk-server-node.include-metadata/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:225:3)
    at addValues (/usr/local/src/signalk-server-node.include-metadata/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:174:5)
    at FullSignalK.addUpdate (/usr/local/src/signalk-server-node.include-metadata/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:108:3)
    at FullSignalK.addUpdates (/usr/local/src/signalk-server-node.include-metadata/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:96:10)
    at FullSignalK.addDelta (/usr/local/src/signalk-server-node.include-metadata/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:53:8)
    at EventEmitter.Server.app.handleMessage (/usr/local/src/signalk-server-node.include-metadata/lib/index.js:128:19)
    at DeMultiplexer.result.pipeElements.(anonymous function).on.msg (/usr/local/src/signalk-server-node.include-metadata/lib/pipedproviders.js:44:11)
    at emitOne (events.js:96:13)
    at DeMultiplexer.emit (events.js:188:7)
    at ToSignalK.Splitter.demuxEmitData (/usr/local/src/signalk-server-node.include-metadata/providers/multiplexedlog.js:67:19)
    at emitOne (events.js:101:20)
    at ToSignalK.emit (events.js:188:7)

This is when design.aisShipType is getting set to 36
I've never seen this before, so it must from a recent change.

Do you have the delta producing this?

It's coming from one of my log files that I've been using for a long time. I have to let it run for a while before this happens. Any ideas on how I can narrow it down and capture the delta?

Try catch around Demultiplexer emit call for example.

{"updates":[{"source":{
"label":"n2kFromFile","type":"NMEA2000","pgn":129810,"src":"43"},"timestamp":"20
17-04-15T15:01:01.945Z","values":[{"path":"design.length","value":{"overall":9}}
,{"path":"design.aisShipType","value":36},{"path":"design.beam","value":4},{"pat
h":"sensors.ais.fromBow","value":6},{"path":"sensors.ais.fromCenter","value":0}]
}],"context":"vessels.urn:mrn:imo:mmsi:338184312"}

Can't repro with a fresh install of server off Github. Could be an interaction with a previous message. Can you reproduce with a clean server?

I’m using the include-meta branch. I will try again with a fresh install...

Shoot. Sorry, I forgot I had also installed signalk-schema 0.0.1-8.

I was able to reproduce with a fresh include-metadata branch without updating signalk-schema

Not related to include-metadata, but specific detault setup.


Add --json option to cucumber plugin

I supported a JSON report format file in the cucumber plugin.
e.g)
launchable record tests cucumber --json ./report/**/*.json

There are some different formats between XML formant and JSON format. So, JSON's report data that cli sends to Launchable is a little different from using XML formats.
But cucumber will use file names to subsetting so there is no problem.

If the user set not JSON file, cli shows an error message like this
$ launchable record test cucumber --json ./report/TEST-features-foo-bar.xml
...

    raise Exception(exceptions)
Exception: [Exception('Failed to process a report file: ./report/TEST-features-foo-bar.xml', Exception("Can't read JSON format report file ./report/TEST-features-foo-bar.xml. Make sure to confirm report file."))]

And if the user set empty report file, cli shows warning message
$ launchable record test cucumber --json ./empty.json
Can't find test reports from ./empty.json. Make sure to confirm report file.
Looks like tests didn't run? If not, make sure the right files/directories are passed

I'm going to write a document after.


Update Readme with more information about how this works

What is the dataset its trained on?

How does this work?

Can you update the readme and include more information. What it is doing step by step. It would help a lot, to understand what this model is actually doing?

I agree with this one!

I can give some resources or training set or help train or produce models or do hyper parameter tuning.
I think I can speed up model, to do 20 to 120 frames/second. As most frames consequentively seem similar.
However, I would like to know how this actually works.


depends() stops working as expected after form submission

Describe the bug
Registering a custom dependency with depends('load:child') within a page's load function, and calling invalidate('load:child') with setInterval in the sibling +page.svelte in order to mimic a single polling behaviour, causes +layout.server's load function to be called as well after submitting form on same page.
Reproduction
https://github.com/themajashurka/depends-repro
Go to /child. You should see periodic logs on server about child load function being called.
Submit form. Now layout load function is called too.

Similar behavior is described in https://github.com/sveltejs/kit/issues/10677.


problem duplicate res file with new android studio

C:\xxxx\app\build\intermediates\res\debug\drawable-hdpi-v4\ic_launcher.png: error: Duplicate file.
C:\xxxx\app\build\intermediates\res\debug\drawable-hdpi\ic_launcher.png: Original is here. The version qualifier may be implied.
Please remove this resource file

@alexodus
OK. I'm gonna remove these files.

@alexodus
https://github.com/gotokatsuya/BlurredGridMenu/commit/39b4eec83f74f50e6692ef5caf5ff6ffc0b0b877
Is it OK ?
If you like this commit, I will release BlurredGridMenu as v1.0.3.

I cannot test, but it's ok. Thanks
Il 29/giu/2015 16:01, "goka"<EMAIL_ADDRESS>ha scritto:

@alexodus https://github.com/alexodus
39b4eec
https://github.com/gotokatsuya/BlurredGridMenu/commit/39b4eec83f74f50e6692ef5caf5ff6ffc0b0b877
Is it OK ?
If you like this commit, I will release BlurredGridMenu as v1.0.3.
—
Reply to this email directly or view it on GitHub
https://github.com/gotokatsuya/BlurredGridMenu/issues/3#issuecomment-116674672
.

@alexodus You're welcome !
If you get a problem, please let me know soon.

Please use compile 'com.github.goka.blurredgridmenu:blurredgridmenu:1.0.2'


Dynamic event name binding with nullish value not working

Version
3.0.1
Reproduction link
https://codesandbox.io/s/vue3-event-bug-pc5ug?file=/src/App.vue
Steps to reproduce
follow the link
What is expected?
no error like vue2, see
https://codesandbox.io/s/vue2-event-kvjlb?file=/src/App.vue:0-476
What is actually happening?
error happened

You can use an empty string as a workaround

The compiler doesn't actually account for a dynamic non-null value, but I think we still support this, so it's rather a bug.
_createVNode("button", {
  ["on" + _capitalize($options.ev)]: _cache[2] || (_cache[2] = (...args) => ($options.handleClick(...args)))

The compiler should skip adding that prop to the vNode if !$options.ev


When I chat in Japanese, I don't get a response.

Attempts to converse in Japanese are not being answered. Is it a character code problem?
This can be reproduced by changing the Example code to Japanese.
        ExampleChatGPT gpt = new ExampleChatGPT();

        // "Hello"
        String message1 = "こんにちは";

        String response1 = gpt.exampleBuilders(message1);
        System.out.println("Sent: " + message1);
        System.out.println("Response: " + response1);

@NamiUni This is now fixed in 1.1.2 - I have enforced UTF-8 encoding and changed the "asNormalizedText()" in the example to "asText()" so it'll support all languages. 😊

1.1.2 Release


Dead project?

title.

I have fixed/addressed some issues in a personal build:

Focus is not on page after performing an action that changes the tab #212
Share Page URL is Incorrect #214
"open in another app" not working in Android 11 #216
Removed trackers as per #200
Copy URL toast message now has a space after the colon for all languages

If anyone would like to try my updated version it can be found here: https://mega.nz/file/TU5B1Yba#7DiRt5AoAhTfY9Fv_JSn0FKXbZQeFaUQbVLlT59IU44

would love to try this, but your link doesn't work. can you pm me or upload via another hosting system?

Here is an alternate link @ertmuirm. Hopefully this one works: https://www17.zippyshare.com/v/BdR35oYX/file.html

Yes this worked, thank you. Open in other App works now
Start Activity (Shortcut and Intent options) are not working for me on A12 though. Or maybe I don't have the intent syntax correct. Do they work for you?

I'm happy to hear it works!
As for the Start Activity action,  I'm honestly not too sure how it works. I played with it for a bit,  and each category has its own list of valid actions.   When I tap on some of them under the Shortcut category, they launch the respective part of the application.  However, I couldn't figure out how to set them up.  Items under the Applications category seem to work though.

It works! Nice :-)

Is it possible to add "page resource viewer" functionality to this awesome browser, just like privacy browser by stounter

Here is an alternate link @ertmuirm. Hopefully this one works: https://www18.zippyshare.com/v/pOggxt42/file.html

What about making the repository public?


WIP: Add Kotlin DSL support #434

I still have a few loose ends, but opening the pull request anyway so you can give some feedback/review comments.
Open issues:

There are some failing tests in the samples/standalone/kotlin modules, need to check this.
varags in request/response.body() does not seem to work well with the standalone samples.

@soudmaijer Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@soudmaijer you have to sign the CLA :) @sdeleuze can you check this out ? :)

@soudmaijer Thank you for signing the Contributor License Agreement!

@sdeleuze wdyt? :)

Seems mostly ok, my main remaining open question is about individual attributes like status, method or url, should we use named parameters instead of dedicated functions for them?

@soudmaijer WDYT ^^ ?

@marcingrzejszczak I will continue to work on it coming friday. I encountered some other annoying issues as well, extension functions in Kotlin have some limitations as well. In the end I think it will be better to add some more kotlin classes instead of delegating everything to the groovy code. It is not always doing exactly what I want.

I've merged https://github.com/spring-cloud/spring-cloud-contract/issues/575 so most likely it influences this PR

@soudmaijer what kind of help do you need for us to merge it by Wednesday? :D

@marcingrzejszczak what I wanted to fix is to remove the need for the explicit .clientValue invocation:

https://github.com/soudmaijer/spring-cloud-contract/blob/master/samples/standalone/kotlin/kotlin-http-server/src/test/resources/contracts/fraudname/shouldReturnNonFraudForTheName.kts#L19
https://github.com/soudmaijer/spring-cloud-contract/blob/master/samples/standalone/kotlin/kotlin-http-server/src/test/resources/contracts/fraudname/shouldReturnNonFraudForTheName.kts#L22

And when I use a single Pair entry, I still need to wrap with a mapOf():

https://github.com/soudmaijer/spring-cloud-contract/blob/master/samples/standalone/kotlin/kotlin-http-server/src/test/resources/contracts/fraudname/shouldReturnNonFraudForTheName.kts#L18

The current samples work, but there is room for improvement!

I see. Maybe I should do a fast crash course of Kotlin to help you with it ;) maybe @sdeleuze has some suggestions on this topic?

I have cloned @soudmaijer repo to have a look since I also think there is room for imrprovement before merging/releasing, but I have a lot of unresolved references, is there any special IDE setup required to get code completion working?

https://github.com/spring-cloud/spring-cloud-contract/#how-to-build-it :)
You need to have all the necessary Groovy plugins installed for your IDE to properly resolve the sources. For example in Intellij IDEA having both Eclipse Groovy Compiler Plugin & GMavenPlus Intellij Plugin results in properly imported project.

Thanks for the hint, it seems to work for spring-cloud-contract-spec-kotlin but not for samples.

Ah you mean the standalone samples? They are not part of the project. You have to import them separately by their parent - for example for messaging import in your IDE this project https://github.com/spring-cloud/spring-cloud-contract/blob/master/samples/standalone/messaging/pom.xml

@marcingrzejszczak @sdeleuze What I was working on locally is implementing a Kotlin version of the Request, Response and Body classes. This way I have way more flexibility instead of writing extension functions for the Groovy classes.
@marcingrzejszczak What would be nice IMO if there would some kind of Java interface for these DSL classes which I can then implement in the Kotlin version. I was trying to extract one based on the Groovy classes, but I am not 100% sure what methods are mandatory and which one are actually deprecated. What do you think?

@sdeleuze you need to include the standalone samples pom as a separate project in IntelliJ.

@marcingrzejszczak What would be nice IMO if there would some kind of Java interface for these DSL classes which I can then implement in the Kotlin version. I was trying to extract one based on the Groovy classes, but I am not 100% sure what methods are mandatory and which one are actually deprecated. What do you think?

Sure, why not. However, with all the delegations that we're doing there, it can be a very tedious task. I don't know if it actually really makes sense to do it.

@soudmaijer do you think that we could actually merge this before 4.04 ? :P

@soudmaijer happy Easter holidays ;) do you need some help with this PR ?

@marcingrzejszczak I was/am working on a Kotlin based model for the DSL: https://github.com/soudmaijer/spring-cloud-contract/commits/WIP . Last week I was not able to work on it, will continue this week. Using Kotlin classes instead of Groovy works way better because I have more control over what is happening. I want to have a working version ready this week.

Cool! I don't think you've introduced any breaking changes right? Also please note that with the pact feature we needed to slightly modify the DSL. Instead of stub matchers and test matchers there are body matchers inside request and response. The old approach is not removed, it's deprecated.

Hey @soudmaijer ! I can help you with this PR but can you elaborate on what exactly was your plan of action? :P That way I can take it over and try to merge it to master before RC1.

@soudmaije Any chance you could update the PR with the full Kotlin API we discussed in order to be able to ship the Kotlin DSL in Spring Cloud Contract 2.0.0? If not I think it is better to not merge current one that exposes Groovy API.

@marcingrzejszczak let me contact you tomorrow via gitter to discuss this.
@sdeleuze I agree on the full Kotlin API. I started working on it. I will update my fork tomorrow.

@soudmaijer how is it going? ;)

Planning on picking this up in the next week.
Op vr 13 jul. 2018 23:02 schreef Marcin Grzejszczak <
<EMAIL_ADDRESS>
@soudmaijer https://github.com/soudmaijer how is it going? ;)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spring-cloud/spring-cloud-contract/pull/561#issuecomment-404953335,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANyt6Bd-RxfP-5q_487K-6BQ823XcTMks5uGQrzgaJpZM4SXV7J
.

@soudmaijer any chances we can do it for RC1 ?

hey @soudmaijer ! How is it going? ;) Just FYI, the latest master branch code contains changes where the Contract class is fully written in Java. I remember that you said that it's, to some extent, a blocker for the Kotlin DSL. Now that issue should be gone. Are you willing to continue with this PR then? :)

Closing this due to inactivity. @TYsewyn is working on a new version.


Add explanations for validations.keda.sh/hpa-ownership

Add explanations for validations.keda.sh/hpa-ownership
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)

Fixes
https://github.com/kedacore/keda/pull/5536

All done!