Some questiones on tensorflow version on CULane

Following the README， i can get:
anno_dir: /home/cc/SCNN-Tensorflow/data/CULane/
detect_dir: /home/cc/SCNN-Tensorflow/data/CULane/result-matlab/scnncastedBGR/vgg_SCNN_DULR_w9/data/CULane/
im_dir: /home/cc/SCNN-Tensorflow/data/CULane/
list_im_file: /home/cc/SCNN-Tensorflow/data/CULane/test.txt
width_lane: 30
iou_threshold: 0.5
im_width: 1640
im_height: 590
Evaluating the results...
tp: 76970 fp: 34736 fn: 27916
finished process file
precision: 0.689041
recall: 0.733844
Fmeasure: 0.710737
My questiones have two:
1.The gap between 0.710737 and 71.3 i s caused by tensorflow?
2.If i want to reproduce the result by a new training, do i need to modify the VGG_MEAN = [123.68, 116.779, 103.939] into VGG_MEAN = [103.939, 116.779, 123.68] in lanenet_data_processor.py?
@cardwing

Maybe yes. You can refer to previous issues for more details.
You can test both variants.

From question 81#，i find“My original model can achieve around 69.5 when training from scratch.” from your answer. However, i only get 68.164 on F1-measure. And the training takes 90000 epoches as the your setting. Do your take some tricks on the original model?
@cardwing

From question 81#，i find“My original model can achieve around 69.5 when training from scratch.” from your answer. However, i only get 68.164 on F1-measure. And the training takes 90000 epoches as the your setting. Do your take some tricks on the original model?
@cardwing

@cardwing, I have a question regarding how the probability maps are saved.
I have only one probability map for each image in which all the lane markings are together. But it seems that I need to separate that into many probability maps each having a single lane only. How to do that?
Thanks.


Loss of Bluetooth device information

About the information feedback problem of Bluetooth devices, Bluetooth door lock, Bluetooth motion sensor 2, door and window sensor 2, night light 2, home assistant information loss problem, can you solve it, boss?
Sorry, English is not good

@AlexxIT

@AlexxIT

Do you have any other BLE gateways in MiHome?

Do you have any other BLE gateways in MiHome?

@AlexxIT Four gateways 3, Three other BLE gateways,Do you want to turn off other BLE gateways?

@AlexxIT Four gateways 3, Three other BLE gateways,Do you want to turn off other BLE gateways?

@AlexxIT Four gateways 3, Three other BLE gateways,Do you want to turn off other BLE gateways?

@mengyu-520 Try to turn off other BLE gateways and add all four gateways 3.
BLE Data collectd directly from gateway, and gateway that don't connect to devices will not be able to read data.

Please reopen the issue if it is still relevant


Support switching between v6 and v7 docs

@raspo has stepped up to help! :)

What about a subdomain? Seperate website?
https://github.com/babel/babel.github.io/pull/1187 must ne done first.

For what it's worth, now that we're on Netlify, they have the concept of branch subdomains. You can create a subdomain like 7.babeljs.io which would be served from the 7 branch instead of the master branch. https://www.netlify.com/docs/custom-domains/#branch-subdomains
The other option is to have all the content on a single site and handle it that way, but it might be trickier.

Yes @Daniel15 that would be awesome.
We have currently the 6.0, 7.0 and 5.0 branch that could have the documentation online.


Some  params #{object.property} not accessible after 3.4.1

This happens when I'm trying to use object property in select query where condition  like #{paramName.someProperty}
MyBatis version
version >= 3.4.2
Database vendor and version
Any database
Steps to reproduce
Interface
public IpLicense getByIpProduct(@Param("ip") String ip, @Param("product") Product.Type product);

Where Product.Type - is nested enum in class Product with method public int getId()
In XML
<select id="getByIpProduct" resultMap="license">
        SELECT * FROM license where ip = #{ip} AND product_id = #{product.id}
</select>

Expected result
Should work as in 3.4.1
Actual result
Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.lang.ClassCastException: my.domain.Product$Type cannot be cast to java.lang.String
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77)

Hi @rumatoest ,
Thank you for the report, but I couldn't reproduce the problem.
Please create a repro [1] and upload it to your GitHub repo.
[1] Unit test or example project.

Hello. This is more complicated bug it appears only with my custom type handler. And it looks like mybatis calls this custom handler (even if it not used in any DAO) and pass there instace of  MapperMethod.ParamMap

Hi @rumatoest ,
Thanks for the repro!
Here is what happens.
You register MapTypeHandler against HashMap globally.
MyBatis internally uses a subclass of HashMap when dealing with multiple parameters.
Because of an enhancement #859 , MapTypeHandler is used when it is not supposed to.
I'll try to look for a clean solution.
If you need a quick workaround, specify MapTypeHandler in typeHandler attribute of <result /> elements instead of registering it globally.

Hi @rumatoest ,
This should be fixed in the latest 3.4.6 SNAPSHOT.
I would appreciate if you could verify the fix before it goes final.
Thank you!

Hello. Our test are not failing any more in 3.4.6.Snapshot, but fails in 3.4.5, thus I think that bug was fixed.

Hello. Our test are not failing any more in 3.4.6, but fales in 3.4.5, thus it looks that bug was fixed

@rumatoest Thanks for verifying the fix!

I have a simple question.
Why you are not releasing this bugfix?
IMHO patches that fix bugs should be released as fast as possible not once per year or so.

<version.mybatis>3.4.6</version.mybatis>

org.apache.ibatis.type.TypeException: Error setting non null for parameter #2 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Data type mismatch.
	at org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:55) ~[mybatis-3.4.6.jar:3.4.6]

Caused by: java.sql.SQLException: Data type mismatch.
	at com.ibm.as400.access.JDError.createSQLExceptionSubClass(JDError.java:840) ~[jt400-9.5.JAVA8.jar:JTOpen 9.5]

@harawata  can you post an example of a workarround ?
I have a request, there are 2 Integers  and one of them is failing :/
Bouth are using the same typeHandler which extends the BaseTypeHandler,
Is the fix live ?

Hi @Vilkaz ,
Yes, this was fixed in 3.4.6, so if it occurs with 3.4.6, it must be a different issue.
It seems that your type handler calls one of 'PreparedStatement.setXxx' methods with an incompatible data.
If that is not the case, please open a new issue with the details.
We may need the full stack trace at least.


Errors in naming of imports

Error in algorithm_init_.py:
from .plscf import pLSCF_algo, pLSCF_algo_MS --> from .pLSCF import pLSCF_algo, pLSCF_algo_MS

Dear @DavideMoretti , we are aware of this bug, it is related to the names of the modules, we will fix in the next release (coming soon). In the meantime the fix is to rename the pLSCF.py module to plscf.py (lowercase).

thought so, I mainly wrote it down for other users to be aware right away of the quick fix.
P.s. thanks for sharing this code, I think it's a great initiative!


Upgrade Language for V1

Upgrade language gem to the upcoming V1 API.

[x] Call new analyze_syntax API
[x] New new PartOfSpeech values
[x] Add Entity#mid
[x] Add Entity::Mention with type attribute
[x] Add new encoding optional argument when getting #sentiment
[x] Add Sentence
[x] Add Sentiment#sentences
[x] Add Sentiment#score
[x] Remove Sentiment#polarity

There may be some additional documentation changes to be made, but I tried to document all parameter changes and update code examples in the same commits as the change.

@monattar Feedback on this?

@blowmage Can I add a commit to this PR making docs changes/additions?

@quartzmo Yes please!

I confirm that I am the author of the commits.

Thanks @quartzmo! I will update the label to reflect your consent.

I am :+1: on the documentation changes.

Everything passes for me locally. Merging now so we don't have to wait for CI.


NoMethodError when trying to create post with tag_list field

>> Resource.new("title"=>"Foobar", "url"=>"https://www.foobar.com", "content"=>"Test", "tag_list"=>"foo, bar")
NoMethodError: undefined method `[]=' for nil:NilClass
        from (irb):3

Not sure what the issue is. Can anybody give me a hand? I am even able to add tags to resources that already exist, but I get this error when trying to create them with tags.

Same here, even in the console (Rails 5.2.1):
irb(main):001:0> r = Rule.find(4)
  Rule Load (0.3ms)  SELECT  "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT ?  [["id", 4], ["LIMIT", 1]]
=> #<Rule id: 4, title: "rule title", description: "rule description", created_at: "2018-09-16 16:51:42", updated_at: "2018-09-16 19:01:57">
irb(main):002:0> r.tag_list = "test, second"
  ActsAsTaggableOn::Tagging Load (0.2ms)  SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ?  [["taggable_id", 4], ["taggable_type", "Rule"]]
  ActsAsTaggableOn::Tag Load (0.2ms)  SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)  [["taggable_id", 4], ["taggable_type", "Rule"]]
Traceback (most recent call last):
        1: from (irb):2
NoMethodError (undefined method `[]=' for nil:NilClass)

Oopsy, i've encountered the same issue

Yes, so the issue is with Rails version 5.2.1, where the issue is around @changed_attributes that do not exist: https://github.com/rails/rails/blob/master/activemodel/lib/active_model/dirty.rb#L222
Upgrading to 6.0.1 version helps.

This is a my patch to fix

NoMethodError (undefined method `[]=' for nil:NilClass)

only for gem version 5.0.0
not sure that it will work with Rails < 5.2
  module ActsAsTaggableOn::Taggable
    module Core
      def process_dirty_object(context, new_list)
        #return true
        value = new_list.is_a?(Array) ? ActsAsTaggableOn::TagList.new(new_list) : new_list
        attrib = "#{context.to_s.singularize}_list"

        if changed_attributes.include?(attrib)
          # The attribute already has an unsaved change.
          old = changed_attributes[attrib]
          attributes_changed_by_setter.delete(attrib) if old.to_s == value.to_s
        else
          old = tag_list_on(context)
          if self.class.preserve_tag_order
            attributes_changed_by_setter[attrib] = old if old.to_s != value.to_s
          else
            attributes_changed_by_setter[attrib] = old.to_s if old.sort != ActsAsTaggableOn.default_parser.new(value).parse.sort
          end
        end
      end
    end
  end

@skk2010 Does this file need to be customized based on the attribute used for acts_as_taggable_on?
For example acts_as_taggable_on :industries

@skk2010 Does this file need to be customized based on the attribute used for acts_as_taggable_on?
For example acts_as_taggable_on :industries

Not needed.
How it's done in our project:

We have some pathes and created in config/initializers a file which will load all of them.
This file contains few lines and one of them is:
Dir[Rails.root.join('lib', 'monkey_patch', 'act_as_taggable_on_fix.rb').to_s].each { |path| require_dependency path }
Next you need to create lib/monkey_patch/act_as_taggable_on_fix.rb with code published by me

That's it.


Your code is bad

Guys, wash your code in the toilet bowl and look at my true lightweight implementation:
https://github.com/Gentlee/SerialQueue

Hey guys, I apologise for my previous harsh statement.
I finally decided to make a benchmark, and also made non-task based implementation. Here are results.
Looks like your implementation is working worse than my tasked-based, and a lot worse than my non-task based.
As for "important features" for task-based:

dispatchSync would be just an API litter because methods return Task, which can be easily awaited synchronously.
same with dispatchAfter, call can be chained with Task.Delay
cancellation is a potential improvement, but it can be easily implemented by the caller.

Hi @gentlee
I'm not sure why you are coming to me telling me that your code is better than my small hobby project I wrote in 2015.
Do you seek to gain something by sending these messages? Is there something I can help you with?
All the best of luck with your future programming endeavours.


Display the current zoom percentage in the 2D editor

This makes it possible for the user to know precisely the current zoom level. The zoom percentage can be clicked to reset it to 100% (similar to Firefox). This can be useful when working on projects that require frequent zooming, such as games using a pixel art style.
Preview
New version with reduced spacing

Old version

I think that's a good idea, but I would prefer if it could take less space horizontally.

@groud Done :slightly_smiling_face:

Is this improvement is also available for the tileset (same component)? tileset UI

@fabriceci No, I haven't ported it to the other 2D editors with zooming yet. If people are happy with the current design, I can do this :slightly_smiling_face:

Thanks!

@Calinou It will be great if you do it to in another PR to keep coherence (and the improvement) in the whole app!
The PR is now merged but if you want a suggestion for the next one, maybe a bit of alpha when the cursor does not hover the button will be a bit more pleasant, like this: alpha
Anyway, sorry to react so lately, and thank you for the contribution!


Cutoffs

Can you have it such that a warning is raised when the model cutoff is different to the data cutoff

Sure thing 😄 added in #94


woocommerce_shop_loop getting fired twice

In Product.php on line 71, the integration is firing the woocommerce_shop_loop action again meaning that any functions hooked to that are being duplicated. Is there a reason why that is there?
We have a component that is loaded in on that action and therefor it's currently being loaded twice. When we comment out line 71, it's only loaded once as expected.
Thanks

The default WooCommerce template archive-product.php where the hook woocommerce_shop_loop is called looks like this:
if ( wc_get_loop_prop( 'total' ) ) {
	while ( have_posts() ) {
		the_post();

		/**
		 * Hook: woocommerce_shop_loop.
		 */
		do_action( 'woocommerce_shop_loop' );

		wc_get_template_part( 'content', 'product' );
	}
}

In the Twig equivalent in https://github.com/mindkomm/timber-integration-woocommerce/blob/1.x/defaults/archive-product.twig, that part looks like this:
{% if fn('wc_get_loop_prop', 'total') %}
    {% for post in posts %}
      {##
       # Depending on your WooCommerce display settings, the
       # `woocommerce_product_subcategories` function might reset the $wp_query global. By
       # calling `have_posts()`, we check if there are posts we can display.
       #}
      {% if fn('have_posts') %}
            {{ fn('wc_get_template_part', 'content', 'product' ) }}
      {% endif %}
    {% endfor %}
{% endif %}

As you can see, there’s no woocommerce_shop_loop there. There’ some magic in {% for post in posts %} that will call $post->setup() for each iteration of the for-loop. I placed the woocommerce_shop_loop hook in there, because I thought that is cleaner.
But as I’ve come to realize over the years, stuff like this can lead to problems like yours and doing things that I thought are very clever are sometimes not 😆. I’m trying to better understand this before I take any action.
So to confirm why this happens to you, could you answer the following questions?

Do you have a woocommerce/archive-product.twig template in your theme, or does your theme use the default archive-product.php from WooCommerce?
If you have a woocommerce/archive-product.twig, can you show how it looks like?

Thanks @gchtr.
So we're not including the archive-product.twig in our theme. All we are overriding it the content-product so just have content-product.twig in our theme, in order for us to load the product cards in templates outside of WooCommerce pages.
Your explanation makes sense in this scenario, as we're presumably using the default archive-product.php which has the woocommerce_shop_loop action in, plus then your 'setup' method is then firing it again. Perhaps that 'setup' method can check to see if that action has already run or if the archive-product.twig is being loaded in the theme?


unable to use 2.3.0 with wpengine wordpress install

I am forced to use 2.0.2.
I get the following error message when trying to access the site.
Service Unavailable
The service is temporarily unavailable. Please try again later.
The associated connector has the following consumer URL in order to allow us to use the staging instances.
((http|https)://domain.example.com/|(http|https)://domain.staging.wpengine.com/)
I have also tried the new URL that is in the consumer service.
Old:
https://domain.example.com/wp-content/plugins/onelogin-saml-sso/onelogin_saml.php?acs
New:
http://domain.example.com/wp-login.php?saml_acs

Have you asked WPEngine to disable the cache for this plugin and to allow HTTP POST to wp-login.php as mentioned at the README.md of this repository?

Why would we want to allow a post to wp-login? I would imagine that would open us up to potential security vulnerabilities.

Talked to Wpengine. They do not want to allow the POSTs. Here is their response.

Our nginx configuration returns an invalid response if they try to POST to wp-login.php without the query string ?wpe-login=SITENAME
Where SITENAME is the install name
We really prefer not to disable that
that feature mostly just prevents someone from trying to brute force every site under the sun

I would also prefer not to do this.

Is a solution to add to the settings that SITENAME thing so if you are under WPEngine, the ACS route will be build based on that, so we avoid the "POST to wp-login.php" problem?

We can try that.Let me know where to add it. and I can test locally.

Ok, I'm currently working on it. I will keep you updated

Right now when the saml plugin is loaded.
We call saml_checker,
// Check if exists SAML Messages
add_action('init', 'saml_checker', 1);

this method checks any GET/POST SAML Messages on login.php
function saml_checker() {
	if (isset($_GET['saml_acs'])) {
		saml_acs();
	}
	else if (isset($_GET['saml_sls'])) {
		saml_sls();
	} else if (isset($_GET['saml_metadata'])) {
		saml_metadata();
	} else if (isset($_GET['saml_validate_config'])) {
		saml_validate_config();
	}
}

and as you can see, at the plugin we define as ACS
        'assertionConsumerService' => array (
            'url' => get_site_url().'/wp-login.php?saml_acs'
        ),

I plan to create an alternative php file  alternative_acs.php so if you check an option on the setting, this endpoint will be used instead the login.php?saml_acs

Edit settings.php and replace
        'assertionConsumerService' => array (
            'url' => get_site_url().'/wp-login.php?saml_acs'
        ),

by
        'assertionConsumerService' => array (
            'url' => get_site_url().'/wp-content/plugins/onelogin-saml-sso/alternative_acs.php'
        ),

alternative_acs.php
I gonna test in my local machine, and let you know.

@micah-uber
It worked on my local, can you try at your environment?
meanwhile, I gonna implement now the option on the settings panel and release a new version of the plugin.

No errors. But infinite looping assertion requests....

maybe because force_login is active?

Turned off force_login and get this error.
There was at least one error processing the SAML Response: invalid_response
Contact the administrator

ok, I will fix the force login issue later, but let's focus on the reason for the invalid_response.
Can you turn on the debug mode? (there is a check at the advanced settings)

Invalid issuer in the Assertion/Response
There was at least one error processing the SAML Response: invalid_response
Contact the administrator

So if you use the SAML Tracer you will be able to record the SAMLResponse and see what Issuer contains.
The issuer should be the IdP Entity ID, so make sure that value is correct at the SAML setting panel.
In order to debug, you can also edit onelogin-saml-sso/php/lib/Saml2/Response.php
and set print_r to see the values of the $issuers and $idPEntityId

Where do i add that?

So not sure what happened... But now it will drop me to the wordpress login page after successfully getting through onelogin

At the Wordpress SAML setting panel, at the IDENTITY PROVIDER SETTINGS, the IdP Entity Id must match the value of the related SAML connector.
At OneLogin SAML connector, at the SSO tab you will be able to find the IdP Metadata where is defined that EntityID (also available at the "Issuer URL" field).
Check also the Configuration tab:
Audience => Service Provider EntityID (if you review the SAML metadata of the Service Provider you will find that value.
Recipient & ACS URL => Service Provider ACS
ACS URL validator => A regular expression that matches the SP ACS
Single Logout URL => Service Provider SLS
Check documentation

https://support.onelogin.com/hc/en-us/articles/202673944-How-to-Use-the-OneLogin-SAML-Test-Connector
https://support.onelogin.com/hc/en-us/articles/204353160-Configuring-SAML-for-WordPress

Yes that is all correct. Sorry. Forgot to reply to that question.
FWIW: Christian and I are on Skype. Can you join us? Will be faster to work this there.

Here is a new release:
https://github.com/pitbulk/wordpress-onelogin/releases/tag/v2.4.0
You will find on the SAML Settings, at the Option section an "Alternative ACS Endpoint" option.
I tested it on wordpress 4.5.1 and 4.0 and worked. Let me know if works on your environments and then I will publish an official release on Wordpress.


Turn goto-c backend library into a module.

Description of changes:
Simplify project structure by changing gotoc codegen code from a library to a module. I also introduced a feature flag to eventually allow disabling cprover backend in case we add another backend.
Resolved issues:
This is related to #719
Call-outs:

Testing:

How is this change tested? No behavior change.

Is this a refactor change? Yes

Checklist

[ ] Each commit message has a non-empty body, explaining why the change was made
[ ] Methods or procedures are documented
[ ] Regression or unit tests are included, or existing tests cover the modified code
[ ] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Publish this lib crate separately from kani-compiler on crates.io.

I think we'll only need to publish a few crates on crates.io: kani, kani_macros, cargo-kani. But we can discuss that later.
I'm unopposed to this change, but I don't think we're forced into it by any constraints. As long as you think it's a structural improvement and not "something we're unfortunately forced to do" then LGTM.

Publish this lib crate separately from kani-compiler on crates.io.

I think we'll only need to publish a few crates on crates.io: kani, kani_macros, cargo-kani. But we can discuss that later.
I'm unopposed to this change, but I don't think we're forced into it by any constraints. As long as you think it's a structural improvement and not "something we're unfortunately forced to do" then LGTM.

Cool. In the long run, I would like to create an engine module and abstract these gotoc APIs. But that is still some ways away. For our current architecture, I think it is cleaner to keep this inside the compiler crate. Cheers!


DaemonSet has no nodes selected

Hi, looking to try out your project, but when I get to deploying the xfce desktop I see two daemonsets stuck:

I followed your readme to for setting up the prerequisites, and jupyterhub example app is deployed. I then cloned in this project in the same workspace, verified I have a gpu node pool, and ran the infrastructure build.
Thanks!

I manually updated the gpu-cos number of nodes to 1 and the DaemonSets are deployed now.

I manually updated the gpu-cos number of nodes to 1 and the DaemonSets are deployed now.


Cannot mount from HDD image made with HDD RawCopy

See attached log.
output.txt

I think you may be using an older version of the GUI. It seems to have mounted SystemPartition and Partition1 just fine? Does it appear in the GUI? The other 3 partitions actually do not contain FATX file systems which is why it fails to mount those. I suppose that should be made clear through error logging. I also notice I left in a "Test" partition that shouldn't be there.

Ah, you're right, it does work in the GUI. Sorry about that!
However, any data extracted (PNG/JPG/files) was corrupted. Not sure if it was just because I was using an image or if they were just naturally corrupted.

HDDRawCopy produces a byte for byte copy of your hdd which is exactly what is needed. Are these files extracted from the main window or after performing analysis (right click a partition > Perform * Analysis)? Is there any data that doesn't appear to be corrupted? Does the same data show up ok on the Xbox 360?

Resolved in PM. Likely just file corruption on HDD, not the tool's fault.

Resolved in PM. Likely just file corruption on HDD, not the tool's fault.


bob installs strange nvim binary on aarch64 system

oatman@oatman-m1:~ -$ bob list
┌───────────┬─────────────┐
│  Version  │  Status     │
├───────────┼─────────────┤
│  v0.8.3   │  Used       │
└───────────┴─────────────┘

oatman@oatman-m1:~ -$ ~/.local/share/bob/nvim-bin/nvim
thread 'main' panicked at 'Failed to spawn child process: Os { code: 8, kind: Uncategorized, message: "Exec format error" }', /home/oatman/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bob-nvim-2.1.2/src/main.rs:57:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

oatman@oatman-m1:~ 101$ uname -a
Linux oatman-m1 6.1.0-asahi-2-2-edge-ARCH #2 SMP PREEMPT_DYNAMIC Fri, 16 Dec 2022 05:04:23 +0000 aarch64 GNU/Linux

oatman@oatman-m1:~ -$ file ~/.local/share/bob/nvim-bin/nvim
/home/oatman/.local/share/bob/nvim-bin/nvim: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=3316a51827a56c2b724f2d97ddf55a8d7731a641, for GNU/Linux 3.7.0, with debug_info, not stripped

yeah :( unfortunately It's gonna stay this way,
look at https://github.com/MordechaiHadad/bob/issues/100

@MordechaiHadad oh! Thats interesting. I'll go hassle them, then, too! :-D

Why does this nvim binary look like a rust binary, btw?

It might be possible with workarounds like we do with bob, but since they use Cmake it will be different

strings ~/.local/share/bob/nvim-bin/nvim | grep cargo has a LOT of matches, it looks like it was compiled on my computer? I don't understand what's happening here.

@0atman nvim in nvim-bin isn't actually neovim its a bob executable that proxies neovim

Btw if you see in the issue I linked it says that you can build neovim from source using bob, if you want to do that you can do that.


MidBoss: Crash on displaying death certificate

Generating death card
System.MissingMethodException: intptr SDL2.SDL.SDL_RWFromMem(byte[],int)
  at MidBoss.Graphics.DeathCard.Card.Generate (Microsoft.Xna.Framework.Graphics.Texture2D source, MidBoss.Graphics.DeathCard.DeathCardInfo info, MidBoss.Graphics.DeathCard.CardTheme theme) [0x00237] in <7ee683f029774f099ba8eebfbf813af7>:0
  at MidBoss.GameModes.DeathCardMode.GenerateCard () [0x00046] in <7ee683f029774f099ba8eebfbf813af7>:0
  at MidBoss.GameModes.DeathCardMode.LoadContent (System.TimeSpan totalGameTime) [0x0016b] in <7ee683f029774f099ba8eebfbf813af7>:0
  at Indigo.Framework.Xna.GameManager.ActivateMode (System.TimeSpan currentTime) [0x0006b] in <b443ebe5f34a4399904e6ad9c6a39bb1>:0
  at MidBoss.Manager.ActivateMode (System.TimeSpan currentTime) [0x0000f] in <7ee683f029774f099ba8eebfbf813af7>:0
  at Indigo.Framework.Xna.GameManager.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x000dc] in <b443ebe5f34a4399904e6ad9c6a39bb1>:0
  at MidBoss.Manager.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x0007c] in <7ee683f029774f099ba8eebfbf813af7>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x00208] in <1228ed57c8bd40ccbca8b36912bbc9f3>:0
  at Microsoft.Xna.Framework.SDL2_FNAPlatform.RunLoop (Microsoft.Xna.Framework.Game game) [0x00680] in <1228ed57c8bd40ccbca8b36912bbc9f3>:0
  at Microsoft.Xna.Framework.Game.Run () [0x0002f] in <1228ed57c8bd40ccbca8b36912bbc9f3>:0
  at MidBoss.Program.Main (System.String[] args) [0x00439] in <7ee683f029774f099ba8eebfbf813af7>:0

The crash persists as of Sep 30, 2018, but with new backtrace (due to update to MidBoss 1.3.0??):
Saving screen for death card
BaseTarget.SaveAsPng...
Texture2D.FromStream...
System.NullReferenceException: Object reference not set to an instance of an object
  at Microsoft.Xna.Framework.Graphics.Texture2D.SetData[T] (T[] data) [0x00000] in <11e86a6eed6541e9b6cd9ac2f0168b40>:0
  at Microsoft.Xna.Framework.Graphics.Texture2D.FromStream (Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, System.IO.Stream stream, System.Int32 width, System.Int32 height, System.Boolean zoom) [0x00019] in <11e86a6eed6541e9b6cd9ac2f0168b40>:0
  at MidBoss.GameModes.MainGame.GenerateDeathCard () [0x0007e] in <3434bb38a75042ae929f5cb13c33a1b9>:0
  at MidBoss.GameModes.MainGame.Update (System.TimeSpan totalGameTime) [0x0013b] in <3434bb38a75042ae929f5cb13c33a1b9>:0
  at Indigo.Framework.Xna.GameManager.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x00188] in <c7b43f22bc1a4d22acc7b4ccaf2288da>:0
  at MidBoss.Manager.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x0007c] in <3434bb38a75042ae929f5cb13c33a1b9>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x001dc] in <11e86a6eed6541e9b6cd9ac2f0168b40>:0
  at Microsoft.Xna.Framework.SDL2_FNAPlatform.RunLoop (Microsoft.Xna.Framework.Game game) [0x005d8]
in <11e86a6eed6541e9b6cd9ac2f0168b40>:0
  at Microsoft.Xna.Framework.Game.Run () [0x0002c] in <11e86a6eed6541e9b6cd9ac2f0168b40>:0
  at MidBoss.Program.Main (System.String[] args) [0x00496] in <3434bb38a75042ae929f5cb13c33a1b9>:0

emailed<EMAIL_ADDRESS>about this on 9/30/2018

from log:
libpng error: IDAT: CRC error
IGLDevice: OpenGLDevice
OpenGL Device: Gallium 0.4 on AMD TURKS (DRM 2.43.0 / 6.4)
OpenGL Driver: 3.0 Mesa 13.0.6
OpenGL Vendor: X.Org
MojoShader Profile: glsl120
EXT_swap_control_tear unsupported. Fall back to standard VSync.
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at MidBoss.Program.Main (System.String[] args) [0x005db] in <3434bb38a75042ae929f5cb13c33a1b9>:0
AL lib: (EE) alc_cleanup: 1 device not closed

@flibitijibibo are you aware if libpng for MidBoss does anything special, other than being version 15 (I think 16 is the most recent one)?

It should be unmodified, I suppose that's the MidBoss.png file in the game root not being recognized? I don't think that's the reason for exiting though, the window icon is technically optional.

It's likely the API change in libpng - I ran with LD_DEBUG=libs and even with LD_LIBRARY_PATH pointing to a location with libpng v1.5.10, it only loads the libpng in /usr/local/lib which is version 1.6.35, likely a dependency loaded by SDL2 or SDL2-image.
Fix would probably be finding a way to have it use a different libpng version (1.5.10), but this is not straightforward.

SDL_image_compact may work around it:
https://github.com/FNA-XNA/SDL_image_compact

Thanks, that gets it to work! ... Is there anything that you don't have a nice little custom library for?? :smile:

A zlib-licensed WMA decoder :(


Remove RuntimeSourceStorage abstraction

This PR removes the RuntimeSourceStorage interface in favor of directly using the underlying nodeapi.RuntimeApiLite.
As a TODO in the code said, this wrapper had no utility any more.
My motivation in removing it was that I needed to introduce one more method to the runtime API, and it sucks to have one more layer of boilerplate to pipe the results through.
This PR does not remove the similar ConsensusSourceStorage. It is similarly useless, but it does restructure the data from ConsensusApiLite a little instead of just passing it through, which makes it more work to rip out.

Thank you for the review. I accidentally merged PRs out of order, so this change went in as part of #448


change to auth user and pwd jupyter

(base) jovyan@jupyter:~$ sudo tljh-config set auth.type nativeauthenticator.NativeAuthenticator
[sudo] password for jovyan:
Sorry, try again.
[sudo] password for jovyan:
sudo: no password was provided
sudo: 1 incorrect password attempt
(base) jovyan@jupyter:~$ sudo su
[sudo] password for jovyan:
sudo: no password was provided
(base) jovyan@jupyter:~$ tljh-config set auth.type nativeauthenticator.NativeAuthenticator
bash: tljh-config: command not found

https://tljh.jupyter.org/en/latest/howto/auth/nativeauth.html
wich credentials for jovyan?

@johnfelipe the link you point to to is for jupyterhub, isn't it?

@johnfelipe the password for jupyter is currently hardcoded in the docker-compose.yml. Will see if I can support all passwords through the use of docker secrets. By that it could be changed easily and outside of the docker-compose.yml.

@johnfelipe the link you point to to is for jupyterhub, isn't it?

Is possible add like a features Jupyter hub, I add like issue to...

@johnfelipe the link you point to to is for jupyterhub, isn't it?

Yes is for jupyter hub, then is not works here because this is notebook

ping me pls when HUBS is ready to use

Support for JupyterHub has been updated and will be available once the 1.16.0 release is out. Closing the issue.


⚠ Bofrost.be has degraded performance

In 388e215, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 877 ms

Resolved: Bofrost.be performance has improved in 0f80594.


None conversion should not be done unless argument has None as explicit type or as default value

When doing argument conversion, we nowadays convert string NONE (case-insensitively) with most types we recognize. If we have, for example, a keyword like
def example(arg: list):
    ...

and call it like
Example    none

the keyword gets Python None as arg. This makes no sense in general and is especially problematic with enums because None conversion is done before other conversion and an emum having NONE as a member could not be used. Luckily that's pretty rare situation.
None conversion should obviously be done if someone explicitly specifies that the argument type is NoneType (we probably should consider None as an alias for it). In my opinion we should also do None conversion if the argument has `None´ as a default value. If the argument has type info and a default value, conversion should first be done based on the explicit type info.

None conversion was disabled by PR #3712. It prevents it also in cases like arg: list = None which is inconsistent with how we handle ´arg=None` case and also makes this change more backwards incompatible than necessary. I'll change the behavior so that conversion is attempted based on the default value regardless does the argument have type info or not. Conversion should still be attempted first based on the type info.

Commits above do remaining code changes but the User Guide needs to still be updated.


Fix typo and delete unnecessary spaces

typo: github -> GitHub
delete unnecessary spaces: As Markdown syntax, there was a large amount of half-width spaces that did not affect the display, so I deleted it

@changeworld : Thanks for your contribution! The author, @dhgoelmsft, has been notified to review your proposed change.

Verified editorial fix and layout in GitHub.


Included method for creating Json from BigDecimals

I called the method bigDecimal rather than overloading number, which was about the only choice I had.

The Json API might change a bit more before the 0.1 release, but for now at least bigDecimal sounds right to me—I'd like to avoid overloading number. So thanks!—will merge when green.

Current coverage is 51.21%

Merging #15 into master will decrease coverage by -5.60% as of 0b84ffe

Powered by Codecov

I love how @codecov-io just makes up numbers sometimes…

Maybe they should give the percentage to 1 significant figure...


generate dots svg for use in readme

fixes #2

One immediately obvious difference here is you only have 12 colours in your dots.png, but there are 16 colours in the theme. Wondering if this was intentional, or if it just fell out of sync?

i was just too lazy to copy them all, 16 is good :-)

Haha fair enough, easy to do

turns out visual studio doesnt allow svgs :-S we still need to convert it to png somehow

fixed it, thanks! :-)

Hadn't even considered vscode won't allow it for extensions since it works fine in the markdown preview within vscode. Glad it was a simple fix!


🐛 [NextCloud] Missing APACHE_IP_BINDING for running behind a reverse proxy.

NextCloud
The title of the addon this issue is for.

Addon name : NextCloud
Addon version : 25.0.4-11

Bug Description:
Endless Redirects. No option for evnronment variables to set apache binding config.
Below is the default in NextCloud AIO but it should be able to be bound to <IP_ADDRESS> via environment vars
environment: # Is needed when using any of the options below
       - APACHE_PORT=11000 # Is needed when running behind a reverse proxy.
       - APACHE_IP_BINDING=<IP_ADDRESS> # Should be set when running behind a reverse proxy

A clear and concise description of what the bug is:
In the add-on logs when running behind a reverse proxy
<IP_ADDRESS> - - [23/Mar/2023:11:29:03 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:29:08 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:29:13 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:29:19 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:29:24 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:29:29 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:29:34 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:29:39 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:29:44 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:29:50 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:29:55 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:30:00 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:30:05 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:30:10 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:30:15 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:30:21 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:30:26 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:30:31 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:30:36 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:30:41 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:30:46 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:30:52 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:30:57 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:31:02 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:31:07 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:31:12 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:31:17 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:31:22 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:31:28 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:31:33 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:31:38 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:31:43 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:31:48 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:31:53 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:31:59 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:32:04 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"
<IP_ADDRESS> - - [23/Mar/2023:11:32:09 -0400] "GET / HTTP/1.1" 302 5 "-" "curl/7.88.1"

Steps to reproduce the behavior:

Start the Add-On behind a reverse proxy(NginX Proxy Manager)
Wait

The addon config in yaml:
config.yaml not relevant - need additional options for environment to set NextCloud AIO to not have endless redirects when behind a reverse proxy.
APACHE_IP_BINDING=<IP_ADDRESS>
See documentation for NextCloud AIO reverse proxy https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
HAOS Versions:
Home Assistant 2023.3.4
Supervisor 2023.03.1
Operating System 9.5
Frontend 20230309.0 - latest

Hi, what do you mean "config.yaml is not relevant"? In theory, any variable you add inside will be pushed as en environement variable.

Hi, what do you mean "config.yaml is not relevant"? In theory, any variable you add inside will be pushed as en environement variable.
Edit : actually it doesn't, I'll push this option

Hey sorry, I wasn't trying to undermine and say config.yaml is not relevant. I am just familiar with a few other add-ons you have in your repo that have the env_vars as part of the schema so it is configurable within the home assistant UI or in yaml

Thanks, actually what you see is a a log due to a perioid 5 seconds healthcheck... I'll see how to suppress that

Thanks for reporting! It gave me the idea how to solve it and I'll push a new version a bit later. Please let me know how it will go!

Should be good, I'll try it also on my system

Should be good, I'll try it also on my system

Just looked at your commits. Looks good to me. Sorry forgot ha ingress and such use NginX.

Sorry for all the weird versioning, I thought it was linked to the -latest version of the container. When I saw it was not I've realigned versioning until the next major version that will be published this saturday


Running as a Docker image?

I was happy to see that it contained a Dockerfile... but what should I name the config-file?

I think running in a Docker container it would also just look for the default location: https://github.com/skeeto/endlessh/blob/cb7ee90cf52594e9499b80c8599f924c587ac525/endlessh.c#L25
Mapping your config their using a volume/mount should cause it to be loaded.
Or pass the flags as command like docker run endlessh -v -f ...

You can now migrate to
https://github.com/shizunge/endlessh-go/?tab=readme-ov-file#getting-started


edit address button expads the whole view and causes shaking

If it is the shaking I'm thinking of, it is probably because you are adding a border on hover and using browser default box sizing.  Easy fix (to make it apply everywhere):
* {
	box-sizing: border-box;
}

The reason browsers default to content-box is for legacy compatibility.  I think at this point everyone agrees that border-box is the right default for any new website.


Added Lycée Victor Et Hélène Basch Rennes

Website : https://lycee-basch.fr/

@ewenr26 Pull request merged. Thank you!

@ewenr26 Pull request merged. Thank you!


Inline chat history isn't always working

open inline chat (content widget)
type and submit a query
re-open inline chat
🐛 the query is remember when arrowing up

@jrieken just to confirm, you mean that the prompt could not recall previous entry?


Very slow windows server process/service start

Question
When running cloud_sql_proxy as a windows service the startup time is very slow, to the point where windows fails to start the service with message:
Error 1053 the service did not respond to the start or control request in a timely fashion
The service is created via:
New-Service -Name "test" -BinaryPathName "C:\cloud_sql_proxy.exe -verbose=false -instances=`"$env:SQL_INSTANCES`"" -StartupType Auto

When using a service wrapper such as nssm the service starts instantly from windows perspective but that's only because there is nssm in front, the actual cloud_sql_proxy executable takes 1-2min to be ready and receive connections.

Official Windows server 2012 image was used in this testing in GCE

Back in the day the Proxy started up instantly, but now it does a bunch of network activity to verify the command line arguments before allowing connections. Still, 1-2 minutes sounds unexpected to me personally.
Do you have lots of instances in your list or something?
What logs come out of the Proxy process during this time?

When running cloud_sql_proxy as a windows service the startup time is very slow, to the point where windows fails to start the service with message:

The binary doesn't work directly as a service on Windows. This is because Windows services require specific support which the proxy doesn't implement (yet: #277). Until then, you'll have to use a tool such as nssm to run it as as service.
I would agree that the 1-2 minutes on startup time is excessive. In addition to providing logs, can you run the proxy manually and see if you still see this start up time when just running the proxy manually?

Closing this stale issue. Feel free to reopen if you'd like to follow up.


Provide summary of changes from chunkwm

Congrats on getting out 1.0.0! It would be nice to provide (a link to) something in the readme that details what the differences are between yabai and chunkwm, and possible reasons to /not to switch.


Regular Expression Failure Triggers !@rx

Describe the bug
When there's a regular expression error due to SecPcreMatchLimit or SecPcreMatchLimitRecursion (i.e. MSC_PCRE_LIMITS_EXCEEDED), a rule using !@rx will say that the rule was triggered. However, failures with @rx will say that the rule was not triggered. I think both should assume the rule was not triggered. See https://github.com/coreruleset/coreruleset/issues/3640#issuecomment-2035841946 for additional context.
To Reproduce
See https://github.com/coreruleset/coreruleset/issues/3640#issuecomment-2037347642.
You can probably reproduce by setting SecPcreMatchLimit and SecPcreMatchLimitRecursion really low (maybe 5) and adding a !@rx rule.
Expected behavior
I would expect !@rx to not trigger a rule if there's a MSC_PCRE_LIMITS_EXCEEDED error.
Server (please complete the following information):

ModSecurity version (and connector): ModSecurity v3.0.12 with nginx-connector v1.0.3
WebServer: nginx-1.24.0
OS (and distro): Amazon Linux 2

Rule Set (please complete the following information):

Running any public or commercial rule set? CRS
What is the version number? 4.1.0

Hi @ssigwart,
thanks for reporting, I will take a look at this issue soon.

Hi @ssigwart,
meanwhile I faced this problem somewhere else, now I can confirm this is a bug. Thanks for reporting.

Great. Thanks, @airween.


Update dg sort

Update my dg plus some uml diagrams

Accidentally pulled from develop branch before working on this.


refactor: move core agent's integration tests

This way it's cleaner and easier to find out where the tests are.
Also the integration tests will compile faster as it avoids double compilation
of the binary targets which are built by the deployer.
Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

bors cancel

bors merge


To add prime cheaker

Aim
fdfd
Details
To add an new script named as prime cheaker. This Python script checks if a given number is prime or not. It takes an integer as input and returns True if the number is prime, and False otherwise.
Record

[X] I agree to follow this project's Code of Conduct
[ ] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Script already present in the repo..


Decoupling platform implementations from the plugin

We definitely need to do this, but how?
Use the Docker registry? In this case, how can the platforms provide things like detect, mountDir, and templating? Other ideas?

https://github.com/heroku/heroku-docker/tree/compose uses docker hub. Skips detect in favor of an explicit image key in app.json. Dumps volume mounting so no need for mountDir. No templating.

feels right
On Tue, May 26, 2015 at 4:16 PM, Hunter Loftis<EMAIL_ADDRESS>wrote:

https://github.com/heroku/heroku-docker/tree/compose uses docker hub.
Skips detect in favor of an explicit image key in app.json. Dumps volume
mounting so no need for mountDir. No templating.
—
Reply to this email directly or view it on GitHub
https://github.com/heroku/heroku-docker/issues/83#issuecomment-105694790
.


iOS: Add private save to sharing extensions

The sharing extension right now only supports public shares. Let's add private saves as well, including story tags. We launched this on the web only recently but it's because a necessary feature.
https://blog.newsblur.com/2020/07/17/highlight-passages-and-add-private-notes-on-saved/

I have rewritten the share extension to support this, since the basic old one couldn't be customized sufficiently.
It all works well, except the saved story doesn't show up in NewsBlur. The POST request is accepted, so I'm not sure what the issue is.
Can you please try saving a story via the share extension, and look at the server side to see why it isn't working?
It is using the api/save_story endpoint, which looking at the server code (as much as I can understand it) seems to be correct, but perhaps a parameter is wrong; I don't see an issue.

Looks like I could share fine with it. I wonder if something has changed in the past month, since I've been doing a lot of maintenance.
My saved story tags did not load though. And I couldn't save without a tag.

I can't seem to use it as well. Even with a tag 😔

I'd like to add the count to the saved story tags as well, to better match the web. It's always nice to see which of my tags have high counts and which have low, as it helps me organize.

Looks like the request doesn't even hit the server.

I've added the tag count, and tested it; seems to work fine now. So I'll close this.

This is such a nice experience now! All three tabs are great. Makes me want to hire a designer to give it the fit and finish it now deserves.

Wouldn't it be cool if the sharing extension showed a preview of the story? The web does this, but it uses a javascript readability library, which we could use just as well here.


fixed the bleeding dashboard chart issue

CATEGORY
Choose one

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
User mentioned Horizon chart was bleeding. I verified that it was and added simple fix.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:

After:
Dashboard

Explore Chart

TEST PLAN
Do we test CSS? I can add if we do, but I did not see that in the project. (honestly didn't look hard)
ADDITIONAL INFORMATION

[x] Has associated issue: #7953
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
@mistercrunch

Oh I think this may cause issues in other charts that are not supposed to scroll (they might show a scrollbar that allows to scroll one or two pixels). We probably want to do like we do with other charts that are scrollable.
Seems like this should do it:
https://github.com/apache-superset/superset-ui-plugins/blob/master/packages/superset-ui-legacy-plugin-chart-horizon/src/HorizonChart.css#L21
Or many we're missing something that would fix the height of the container in the chart itself?

Codecov Report

Merging #8033 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8033   +/-   ##
=======================================
  Coverage   65.54%   65.54%
=======================================
  Files         469      469
  Lines       22475    22475
  Branches     2440     2440
=======================================
  Hits        14731    14731
  Misses       7624     7624
  Partials      120      120

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 f039e17...3bb3cd2. Read the comment docs.

@mistercrunch  late on the reply here but I made it so that the height is fixed, rather than scrollable of overflowable (except in the overflowable class). That way, the bleeding is still fixed and nothing is scrollable. I think that's ideal for keeping the dashboard succinct. Screenshot looks the same in this case.

I have a better solution. implementing now..

I'm having issues with building that other repo, but something like this: https://github.com/apache-superset/superset-ui-plugins/compare/fix_horizon_overflow?expand=1

Have you verified how this affect other charts? e.g.

table
bar

@mistercrunch  On second thought, I think this is the best solution for now.
@kristw
Hidden doesn't affect any of the other charts in a Dashboard:

Scrolling on tables still works.

This change simply bounds all charts in a dashboard in the containing element.

@mistercrunch I'll peep what you did there. Thanks

I clicked the link after I posted my pictures.

I've fixed it to the point where every chart behaves as it did before, and Horizon is not allowed to scroll on the dashboards but no one else. Let me make a little video one sec.

Could you also test what happens when charts render error messages from the backend? I've seen error messages overflow in the past when they contain stack traces, and I wonder if this fixes the layout for them too

@etr2460 I will check. Please do not merge this as I have observed other issues on Explore Charts.

closing this while i work on another approach to solving this issue.

Video of the fix here!
@mistercrunch I was able to add the fix directly within the superset codebase. Do you prefer changing the upstream?

need to for explore view

Explore Chart view:

I need to check on chrome and safari although it should all be the same

everything looks good there

Is the decision here to decouple external charts from the main superset application?

the bleeding charts issue persists. I added fix to this repo's CSS, but @mistercrunch added a different fix to upstream repo which in an ideal world is more scalable. However, it was not merged.

This issue still persists and affects the horizon chart.

That was my attempt, I just rebased the PR https://github.com/apache-superset/superset-ui-plugins/pull/180


[Question]Mis-routed requests accross regions

Please elaborate on on the best practices around handling mis-routed requests.
I found this in your articles:
"Ability to identify and handle mis-routed requests. User request is defined as mis-routed if it does not conform to our geo directional records. This ensures a single user device session does not span multiple regions. We also have controls for whether to use “isthmus” mode to send mis-routed requests to the correct AWS Region, or to return a redirect response that will direct clients to the correct Region."
What are the benefits of “isthmus” mode over redirects? When to use each?
My understanding of “isthmus” mode is that Zuul will transparently send the request to another Region, while a redirect is not transparent (involves User agent).

Here are some scenarios where redirects don't work:

If an entire region is down, redirects won't help you - this necessitates a DNS-based solution for failover.
If you're using a common domain (e.g. www.netflix.com) across all regions, redirects won't help you (but likely you already have a region-based DNS solution in place).

The only scenario where cross-region traffic will help you is if Zuul is up but the rest of the region is in trouble. Then you don't have to worry about doing any DNS manipulation and the traffic will flow through transparently.

Thank you


Write acceptance criteria for our user stories

Scenario: User of the portal sends files with .docx extension to the converter.
Given: I specify the paths of the files with the .docx extension to the converter.
When: The converter gets the paths of the files from the portal.
Then: The converter decides the most appropriate algorithm to use(depends on the platform). Each algorithm already is the most efficient one(can be upgraded by parallelism). If there are more then one file archives all pdfs and sends the result archive back to the portal. Otherwise, the converter returns the single-converted file. Finally, the user can sign PDFs he/she got.
The same as 1.
Scenario: User of the portal sends files with .xls extension to the converter.
Given: I show the paths of the files with the .xls extension to the converter.
When: The converter gets the paths of the files from the portal.
Then: The converter decides the most appropriate algorithm to use(depends on the platform). Each algorithm already is the most efficient one(can be upgraded by parallelism). If there are more then one file archives all pdfs and sends the result archive back to the portal. Otherwise, the converter returns the single-converted file. Finally, the user can sign PDFs he/she got.
The customer decided not to implement this feature.
The customer decided not to implement this feature.


Fix code sample concerning Travis-CI integration

What do you think about unzipping the mindflayer zip to a tmpdir instead of the project directory? It seems cleaner to not pollute the project directory with something that isn't included in the project itself. This doesn't matter too much in this specific instance since mindflayer is getting its own Tox env anyway, but if we were to ever wanting to combine this with other Linty things we might run into trouble.

Seems completely reasonable to me!  I'll push that change after the standup.


Final group capstone - Book an Appointment

Here we did the following requirements:

The user logs in to the website, only by typing the username (a proper authenticated login is a requirement if your group is made of 5 people).
In the navigation panel, the user can see links to:
Motorcycles/doctors/classes/items that you selected as a theme.
"Reserve" form.
"My reservations".
"Add motorcycle/doctor/class/item that you selected as a theme" (the link is visible to everybody).
"Delete motorcycle/doctor/class/item that you selected as a theme" (the link is visible to everybody).
On the main page, the user can see a list of motorcycles/doctors/classes/items that you selected as a theme.
When the user selects a specific item, they can see the details page with its full description (skip the "Rotate image" button).
When the user clicks the "Add item" link in the navigation panel they can see a form for adding a new item.
Make the app responsive, creating both mobile and desktop versions.
When the user clicks the "Delete item" link in the navigation panel they can see a list of all items with title and "Delete" button.
When the user clicks the "Delete" button, the selected item is marked as removed and does not show on the main list anymore.
When the user clicks the "My reservations" link in the navigation panel they can see a list of their reservations (with information about item name, date and city).
Add full documentation for your API.

🩸We were team of three but at the end of tirth week on of our teammate left the group cause of some problems he had because of this some of little task left you can see the commit history and his contribution.
kabnan board: (link)[https://github.com/users/MasumaJaffery/projects/4]
Backend Repository: link
Thank you for review!


Infinite $digest Loop if we do preventDefault() in $stateChangeStart event

Why $stateChangeStart event fire many times?
http://plnkr.co/edit/QYvRXxciPL9fnyuxiF3l?p=preview

@frankwallis thanks! this workaround seems to fix it (no infinite loop YET :wink:)

I have the same issue.
Angular 1.3.9
ui-router 0.2.13
I have also tried by adding the following
$urlRouterProvider.otherwise( function($injector, $location) {
    var $state = $injector.get("$state");
        $state.go("app.home");
});

but no luck.
I have added the following as well to debug:
$rootScope.$on('$stateChangeError',function(event, toState, toParams, fromState, fromParams){
  console.log('$stateChangeError - fired when an error occurs during transition.');
  console.log(arguments);
});

$rootScope.$on('$stateNotFound',function(event, unfoundState, fromState, fromParams){
  console.log('$stateNotFound '+unfoundState.name +'  - fired when a state cannot be found by its name.');
  console.log(unfoundState, fromState, fromParams);
});

but they never get called and I still have the infinite loop problem.
It seems to be a problem with present/missing / slashes at the end of the url.
I have downgraded to angular 1.3.0 and the problem goes away, and everything works as it's supposed to.

@cgiacomi I recently updated to Angular 1.3.8 / Angular-ui-router 0.2.13 and I do not face your issue. Can you upgrade to those versions to see if the problem comes from 1.3.9?

Hi I have just tested with angular 1.3.8 as well and I still have the problem.
I have though found that the issue is somehow linked to a redirect to /#/ and that seems to fall into the otherwise callback.
I'll try to explain the setup of my routes:
routes.js
$urlRouterProvider.when('', '/home');

$urlRouterProvider.otherwise( function($injector, $location) {
    var $state = $injector.get("$state");
    $state.go("notfound"); //redirect to a 404 page
});

... //rest of the routes

config.js
... some config code
$rootScope.$on("$stateChangeStart", function(event, toState, toParams, fromState, fromParams){
  logger.info('stateChangeStart');

  if(!IdentityService.isAuthenticated() && toState.name !== 'login') {
    //user is not logged in and is attempting to go to a different page than the login page.
    $sessionStorage.toState = toState; //save for redirect after successful login
    $sessionStorage.toParams = toParams; //save for redirect after successful login

    logger.info('redirecting to login page.');
    $state.go("login");
    event.preventDefault();
  }

What I have noticed is that if, lets say I navigare to localhost:8000

ui router redirects me to /home

the check for authenticated user occurs

I am ofc redirected to /login

the otherwise callback is executed with a the following parameters values for $location:
$$absUrl: "http://localhost:8000/#/",
$$path: '/',
$$url: '/'

and then ofc I end up in the infinite loop. If I remove the otherwise route things work fine. But again with Angular 1.3.0 everything worked fine.
Hope that helps, and thanks for the help :)

Solution of @frankwallis works perfectly on 1.3.6

Thnx @frankwallis. Works on ancular 1.3.15, ui-router 0.2.13.

We're having this issue, too. We don't have a state for '/' and redirect to a initial state, which will end in an infinite digest loop.

So what ui-router does within otherwise is to change the location itself: https://github.com/angular-ui/ui-router/blob/2fff59cbcfd120ed3b5f3d342d03915e751803c2/src/urlRouter.js#L288.  And it seems that changing the state in the aftermath is causing an issue here while, with the function example above, no location change will be triggered initially but a state change.

I tried to debug this issue and got the following:

Open url, that has no state configured
It is handled by otherwise and change $location to "otherwise" here: https://github.com/angular-ui/ui-router/blob/master/release/angular-ui-router.js#L2011
Angular watches this changes (loop https://github.com/angular/code.angularjs.org/blob/master/1.3.9/angular.js#L14208)
It handles this changes by https://github.com/angular/code.angularjs.org/blob/master/1.3.9/angular.js#L11398
And sync browser url https://github.com/angular/code.angularjs.org/blob/master/1.3.9/angular.js#L11422
Also it broadcasts $locationChangeSuccess.
Ui-router listens $locationChangeSuccess with update function https://github.com/angular-ui/ui-router/blob/master/release/angular-ui-router.js#L2001
It handles new url by existing state and runs transitionTo() eventually: https://github.com/angular-ui/ui-router/blob/master/release/angular-ui-router.js#L2347
transitionTo broadcast $stateChangeStart https://github.com/angular-ui/ui-router/blob/master/release/angular-ui-router.js#L3225
We listen $stateChangeStart and do preventDefault(). It causes $urlRouter.update() without arguments https://github.com/angular-ui/ui-router/blob/master/release/angular-ui-router.js#L3227
and change location back: https://github.com/angular-ui/ui-router/blob/master/release/angular-ui-router.js#L2072
Angular sees than $location not match browser url (browser url now "otherwise"):
https://github.com/angular/code.angularjs.org/blob/master/1.3.9/angular.js#L11405
It changes browser url to not existent and broadcasts $locationChangeSuccess
Ui-router handle it and change location again to "otherwise"
Angular sees that $location and browser url not match and so on

The problem in logic:
We open not existent url (state)
We change state to otherwise
BUT we deny this change by preventDefault()

SO EASY. Thanks @frankwallis

There's something similar wrong with
$urlRouterProvider.when('/home','/home/global');

because it triggers the same iteration counts and similar work around ( a function as second argument in this case).

@frankwallis solution worked for me too, thanks. It is, anyway, a workaround around a released feature that does not work as intended. Hope it will be fixed soon.

+1 for @frankwallis workaround.  Bailed me out today!

+1 @frankwallis you made my day! Fixes issue in angular-ui 0.2.13 + angularjs 1.3.13.

Thinks @frankwallis.  Fixes issue in angular-ui-router 0.2.13 + angular1.3.15

Thank you @frankwallis It works for me too !

Awesome work @frankwallis. Killing it!

@frankwallis Thanks worked for me too ! Would you please care to explain about the cause of this issue ? I read other comments which might be useful, but I am looking for something more simple explanation :).

@agupta1989 Some things in life you simply can't explain, and this is one of them haha. Nah it would be cool to know how this gets around the issue!

How do I apply the fix mentioned by @frankwallis?

@frankwallis solution works on angular 1.4.3 and ui-router 0.2.15, which was giving me the same behaviour. Thanks a lot, saved my day :+1:

https://gist.github.com/eddiemonge/f6a58169c2846731a1eb

Has anyone tried this without the workaround on the 1.0 preview code? I don't have time to test it but I am still having this issue on 0.2.x. Going to use the workaround for now.

Using the workaround as well. It works but having to use $injector to define the otherwise at config time is a nasty break of abstraction.
This issue shouldn't be closed - this is a very real problem for apps that use ui-router to enforce authentication.

@filipesilva can you open a new issue that describes accurately what exact problem you are having please?

@frankwallis  +1, thanks :)

@eddiemonge I was having a hard time reproducing it on a plunkr, but finally was able to. Turns out this bug is dependent on the target redirect state having a templateUrl instead of inline template.
The new issue is #2229.

@frankwallis thank you!  I spent hours looking into this and just stumbled upon your answer.

Is this not fixed yet? I have to use @frankwallis solution to get rid of the warnings. Thank you @frankwallis  for the solution.

Hi All
i have the same error
i have used the solution of @frankwallis but nothing happen
this is my code, this is practically the come coming from ionic with some basic changes
angular.module('starter', ['ionic', 'starter.controllers', 'starter.services', 'utils.services', 'user.services', 'ngCordova'])

.run(function($ionicPlatform, $rootScope, $state, SQLiteDB) {
  $ionicPlatform.ready(function() {
    // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
    // for form inputs)
    if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) {
      cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
      cordova.plugins.Keyboard.disableScroll(true);

    }
    if (window.StatusBar) {
      // org.apache.cordova.statusbar required
      StatusBar.styleLightContent();
    }
    /*
     create the database
     */
    SQLiteDB.init();

    $rootScope.$on('$stateChangeError',
      function (event, toState, toParams, fromState, fromParams, error) {
        debugger;

        console.log('$stateChangeError ' + error && (error.debug || error.message || error));
        // if the error is "noUser" the go to login state
        if (error && error.error === "noUser") {
          event.preventDefault();
          $state.go('user-login', {});
        }
      });
  });
})

.config(function($stateProvider, $urlRouterProvider) {

  // Ionic uses AngularUI Router which uses the concept of states
  // Learn more here: https://github.com/angular-ui/ui-router
  // Set up the various states which the app can be in.
  // Each state's controller can be found in controllers.js
  $stateProvider

  // setup an abstract state for the tabs directive
    .state('tab', {
    url: '/tab',
    abstract: true,
    templateUrl: 'templates/tabs.html',
      resolve: {
        user: function (UserService) {
          var value = UserService.init();
          return value;
        }
      }
  })

  // Each tab has its own nav history stack:

  .state('tab.dash', {
    url: '/dash',
    views: {
      'tab-dash': {
        templateUrl: 'templates/tab-dash.html',
        controller: 'DashCtrl'
      }
    }
  })

  .state('tab.chats', {
      url: '/chats',
      views: {
        'tab-chats': {
          templateUrl: 'templates/tab-chats.html',
          controller: 'ChatsCtrl'
        }
      }
    })
    .state('tab.chat-detail', {
      url: '/chats/:chatId',
      views: {
        'tab-chats': {
          templateUrl: 'templates/chat-detail.html',
          controller: 'ChatDetailCtrl'
        }
      }
    })

  .state('tab.account', {
    url: '/account',
    views: {
      'tab-account': {
        templateUrl: 'templates/tab-account.html',
        controller: 'AccountCtrl'
      }
    }

  })
      .state('track', {
                url: "/track",
                templateUrl: "templates/track.html",
                controller: "TrackCtrl"
                })
      .state('user-login', {
                url: "/login",
                templateUrl: "templates/login.html",
                controller: "LoginCtrl"
                });

  // if none of the above states are matched, use this as the fallback
  $urlRouterProvider.otherwise('/tab/dash');

});

and this is the error
[Error] Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
http://errors.angularjs.org/1.4.3/$rootScope/infdig?p0=10&p1=%5B%5D
file:///Users/ogonbat/Library/Developer/CoreSimulator/Devices/63B46F72-A09A-4C30-BFD1-932A0D5A662B/data/Containers/Bundle/Application/50BFCEFC-269A-4C69-B944-F215DBD5EDB7/myRoutes.app/www/lib/ionic/js/ionic.bundle.js:8895:32
$digest@file:///Users/ogonbat/Library/Developer/CoreSimulator/Devices/63B46F72-A09A-4C30-BFD1-932A0D5A662B/data/Containers/Bundle/Application/50BFCEFC-269A-4C69-B944-F215DBD5EDB7/myRoutes.app/www/lib/ionic/js/ionic.bundle.js:24548:35
$apply@file:///Users/ogonbat/Library/Developer/CoreSimulator/Devices/63B46F72-A09A-4C30-BFD1-932A0D5A662B/data/Containers/Bundle/Application/50BFCEFC-269A-4C69-B944-F215DBD5EDB7/myRoutes.app/www/lib/ionic/js/ionic.bundle.js:24778:31
file:///Users/ogonbat/Library/Developer/CoreSimulator/Devices/63B46F72-A09A-4C30-BFD1-932A0D5A662B/data/Containers/Bundle/Application/50BFCEFC-269A-4C69-B944-F215DBD5EDB7/myRoutes.app/www/lib/ionic/js/ionic.bundle.js:58933:24
eventHandler@file:///Users/ogonbat/Library/Developer/CoreSimulator/Devices/63B46F72-A09A-4C30-BFD1-932A0D5A662B/data/Containers/Bundle/Application/50BFCEFC-269A-4C69-B944-F215DBD5EDB7/myRoutes.app/www/lib/ionic/js/ionic.bundle.js:12098:25
dispatchEvent@[native code]
triggerMouseEvent@file:///Users/ogonbat/Library/Developer/CoreSimulator/Devices/63B46F72-A09A-4C30-BFD1-932A0D5A662B/data/Containers/Bundle/Application/50BFCEFC-269A-4C69-B944-F215DBD5EDB7/myRoutes.app/www/lib/ionic/js/ionic.bundle.js:2865:20
tapClick@file:///Users/ogonbat/Library/Developer/CoreSimulator/Devices/63B46F72-A09A-4C30-BFD1-932A0D5A662B/data/Containers/Bundle/Application/50BFCEFC-269A-4C69-B944-F215DBD5EDB7/myRoutes.app/www/lib/ionic/js/ionic.bundle.js:2854:20
tapTouchEnd@file:///Users/ogonbat/Library/Developer/CoreSimulator/Devices/63B46F72-A09A-4C30-BFD1-932A0D5A662B/data/Containers/Bundle/Application/50BFCEFC-269A-4C69-B944-F215DBD5EDB7/myRoutes.app/www/lib/ionic/js/ionic.bundle.js:2977:13
	(función anónima)
	(función anónima)
	$apply
	(función anónima)
	eventHandler
	dispatchEvent
	triggerMouseEvent
	tapClick
	tapTouchEnd
[Error] Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
http://errors.angularjs.org/1.4.3/$rootScope/infdig?p0=10&p1=%5B%5D
	$apply
	(función anónima)
	eventHandler
	dispatchEvent
	triggerMouseEvent
	tapClick
	tapTouchEnd

@ogonbat doesn't seem you applied @frankwallis 's solution, he suggests writing:
$urlRouterProvider.otherwise( function($injector, $location) {
    var $state = $injector.get("$state");
    $state.go("app.home");
});

but seems you wrote:
$urlRouterProvider.otherwise('/tab/dash');

Hi @axedre , thank you for your reply
i have tested the @frankwallis method but, when i run the emulator ( iphone ) the $state redirect to tab and not to tab.dash
all work well if i redirect to track page, for example, so if i redirect to a nested route something goes wrong.
have any idea?

Wait, iphone? I remember that there is an issue with ionic and iOS 9
http://blog.ionic.io/ios-9-potential-breaking-change/
We’ve tested a number of widely-used Ionic apps with iOS 9 beta and GM, and issues appear to be isolated to intermittent UI/navigation issues on some apps, along with console errors indicating infinite digest warnings in Angular. Functionality beyond that should not be impacted.

hi @filipesilva
this is true, this is a bug with ios9, is not directly related with this bug.
thanks you for your help and sorry

Glad to have been of help to a fellow ionic dev :D

I had the same issue and fix it upgrading to angular 1.4.6, as recommended on

The patch can be applied to Angular 1.2.0 – 1.4.5. Newer versions of Angularhave the workaround baked in.

I can confirm that I'm still facing this is issue even with upgrade to angular 1.4.6. It's also still an issue on 1.4.7.

@filipesilva @ogonbat having the same issue with my ionic app.  I thought it was the ios 9 bug but happened upon this thread which is my actual problem.  Still haven't been able to implement the workaround successfully yet.

@ewhitmore I'm doing what @frankwallis mentioned https://github.com/angular-ui/ui-router/issues/600#issuecomment-47228922, and it's been working well so far.

@filipesilva I was able to get it working as well with @frankwallis workaround.

Glad to have helped!

@marthinus-engelbrecht I'm also getting same issue even on 1.4.5, fortunately @frankwallis solution worked for me.

@frankwallis :beers:

@frankwallis :+1: Thank you!

@frankwallis .Thank you!

@frankwallis +1

@frankwallis +1

@frankwallis  Thank you!!

@frankwallis +1

+1

@frankwallis +1

I am also facing infinite loop issue. I have plain html with Login and Logout button. On clicking login, getting Angular infinite digest issue. Can anyone help how to apply workaround in my solution? Please find below code.
HTML:

My Page

JS:
'use strict';
angular.module('PowerBISPO', ['ngRoute', 'AdalAngular'])
.config(['$routeProvider', '$httpProvider', 'adalAuthenticationServiceProvider', function ($routeProvider, $httpProvider, adalProvider) {
adalProvider.init(
    {
        instance: 'https://login.microsoftonline.com/',
        tenant: 'microsoft.onmicrosoft.com',
        clientId: 'xxxxx-xxxx-xxxx-xxx-xxx',
        extraQueryParameter: 'nux=1',
        cacheLocation: 'localStorage' // enable this for IE, as sessionStorage does not work for localhost.
    },
        $httpProvider
    );

}])
.controller('powerBICtrl', ['$scope', 'adalAuthenticationService', '$location', function ($scope, adalService, $location) {
$scope.login = function () {
adalService.login();
};
$scope.logout = function () {
adalService.logOut();
};
}]);

I have HTML with Login and Logout buttons. On successful login, I am also facing infinite loop issue. Please find attached code. Simple code. Can anyone help me on applying workaround for this issue?
Thanks in advance!!
Adal-Angular.zip

Amazing that this still isn't fixed.
@frankwallis another +1 to you.

@blunatic Well, it's a large, widely-used project, so we have a lot to focus on. This isn't high on our priority list because, at first glance, the fix is non-trivial, and what's more, there's a simple, unobtrusive workaround.
If it's so 'amazing' to you that we have yet to take time out of our busy schedules to fix it anyway, maybe you could take some time out of yours and start here. :smile:

@nateabele understandable.  My apologies.

@nateabele :+1:

Not at all. Just explaining the rationale.

I came to the same conclusion as @sars comment.  See #2238
Fix should be forthcoming in 0.2.16

@venkateshappala
Hope you figured things out.  I really don't think that's enough context, I'd presume the issue lies somewhere in the adal.login method.

// the following code will allow you to default to the login , unless your are logged in then it will default to the preferred page.
Make sure that the
$stateProvider.state .... ;   //this must be first otherwise the state object you want to go to wont exist.
$urlRouterProvider.otherwise(function ($injector, $location) {
var $state = $injector.get("$state");
var authService = $injector.get("authService");
        if (authService.authentication.isAuth) {
            $state.go("library.search");
        } else {
            $state.go("home.login");
        }
    });

// then in run
$rootScope.$on("$stateChangeStart", function (event, toState, toParams, fromState, fromParams) {
//  if ($rootScope.appAuth.authentication.isAuth == false && $rootScope.appAuth.authentication.profile !== 'undefined')
        if (authService) {
            if (!authService.IsAnnonPage(toState.name)) {
                if (!authService.authentication.isAuth && toState.name != 'home.login') {
                    event.preventDefault();

                    $state.go('home.login');
                    return;
                }
            }
        }
        else {
            $state.go('home.login');
        }

    });

@frankwallis +1

@frankwallis Thank you

@frankwallis Thanks! You have just ended 2 hours of pain.

This is still an on going issue. @frankwallis workaround is still the way to go.
https://github.com/angular-ui/ui-router/issues/1022#issuecomment-199292756
Wasn't fixed on 0.2.16 as @christopherthielen mentioned.
This shouldn't be closed. (cc. @nateabele)

Wow is this issue really not fixed yet??

Noup, it's not.

@nfantone , thanks for letting me know. cheers.

Almost 3 years later, still experiencing the same issue. Thankfully @frankwallis workaround does the trick.
For anybody coming across this issue, here's the workaround (so you don't have to look for it in this long thread):

I also had this issue, you can fix it by using the other version of otherwise which takes a function:

$urlRouterProvider.otherwise(function($injector) {
var $state = $injector.get('$state');
$state.go('app.home');
});


generic question on building a library on top of material bread?

Hi,
First of all thank you for this amazing library.
We are doing some quick prototyping of native kits - between nativebase, native elements, kitten etc. We gave each kit one day to see how much we can produce, and native version of material bread is a clear winner - excellent documentation and great examples. Real cudos for great work!
This is now forcing us to re-evaluate if we should also consider it for web. We have originally decided to go with standard material-ui.com + some extra 3rd party libs.
To clarify, we are building an internaly library, not an app, to be given to different departments.
So if we build a set of components on top of material-bread - for ex. "material-bread-search", will it be possible to publish/produce just a standard web-only library version to give to another department that already has a web-app and doesnt care anything about native or native web (i.e. they already have CRA running and building and publishing their app and just want to do for ex. yarn add 'material-bread-search' - or will they also have to 'buy-in' fully to switching to react native for web under the hood? They already use material-ui.com, so of course we would have to take care of theming the material bread to match what they have.
Similary, we can give just the library to native team who doesnt care anything about the web (its a completelly different app, but needs the same search)
And some 3rd department that needs both we can fully unify i.e. via your https://www.reactnativeinfinity.com/.
Even if not possible right now but yes in theory, please let us know any insights you might have.
Thanks again

We gave each kit one day to see how much we can produce, and native version of material bread is a clear winner - excellent documentation and great examples. Real cudos for great work!

That's an awesome experiment, glad you found Material Bread so useful!

So if we build a set of components on top of material-bread - for ex. "material-bread-search", will it be possible to publish/produce just a standard web-only library version to give to another department that already has a web-app and doesnt care anything about native or native web (i.e. they already have CRA running and building and publishing their app and just want to do for ex. yarn add 'material-bread-search' - or will they also have to 'buy-in' fully to switching to react native for web under the hood? They already use material-ui.com, so of course we would have to take care of theming the material bread to match what they have.

RNW, in a general sense, is just translating React Native to React DOM, so you can integrate React Native Web components and regular React components in the same web app. Both https://material-bread.org/ and https://www.reactnativeinfinity.com/ use some CSS, HTML markup, other web specific libraries along side Material Bread components and React Native components. But ultimately I think it depends on how much code sharing you want and how much you're willing to configure your web app.
Web depends on RN and RNW
If you're ok setting up RN and RNW for your web app, then your component can share as much as possible between both platforms and integrate with your current React components.
Web depends on React Native but uses many web apis
If you're ok with the web app depending on React Native, then you could publish one library material-bread-search and use Platform-specific extensions (index.web.js and index.native.js) to maintain the two parallel components, but you couldn't rely on React Native for your .web.js component.
Web doesn't depend on React Native
If you want the web app to truly not know anything about React Native or React Native Web, then I think you'd have to maintain two libraries for your search component material-bread-search-web and material-bread-search-native, where the web version is a basic react component with HTML markup.

Similary, we can give just the library to native team who doesnt care anything about the web (its a completelly different app, but needs the same search)

I think this is a perfect use case for sharing the same component across both platforms, if the search is the same on both (with minor differences), then I'd just create one library material-bread-search with one component and set up RNW in the web app along side regular components or even material-ui.com components.

Hi thanks for the clarification. Yes, I think we will have to go with a separate web version. There is like 10-15 existing CRA apps, and looking at the setup, they would also have to eject in order to modify those babel loader rules, correct?

There are a few packages that allow custom webpack rules for CRA apps https://github.com/necolas/react-native-web/issues/1192, for example https://github.com/timarney/react-app-rewired, but they're not officially supported by the React team.

Yeah, the teams were in that situation before where everbody was using their own build versions, some CRAs, some custom, some rewired. It was causing too many inconsistencies when adding shared libraries "cross-apps" - exactly like just right now with the enterprise search, hence decision was made to standardize on CRA and material-ui.
It will be too difficult to fight the battle, I can forsee 20+ urgent "architectural meetings" if we are to propose now any such tweaks.
Since we already decided (and budgeted) to go ahead with 2 libs - web and native. It was just during native kits evaluations we were so impressed with material bread that we wanted to reconsider. We will just use it for native for now and if somebody needs something like electron, guess what, we are already good to go :)
I will close the issue then, keep up the great work man!


Integrate with MTEB?

Amazing work! It'd be great to have the benchmark integrated in MTEB (https://github.com/embeddings-benchmark/mteb) if you're interested :) I think it'd be great for the community & visibility of your project 😊 Should be pretty simple given your format - We'd just need a PR like one of these: LongEmbed ; Law ; FollowIR ; French ; Scandinavian 🙌

Thanks for your attention and support. We will endeavor to integrate COIR into MTEB in the near future.


Request: Provide transform / move without scale consideration

Hi,
currently, the move / transform and the other positioning methods incorporate the scale of the object for positioning an element. Like this:
x.value /= this.trans.scaleX

If i don't want that, it seems I can only use the attr() method. But unfortunately, doing transforms via attr() prevents me from having these things animated, because
animate(1000).attr("transform", "translate(400, 400)");

doesn't work, because animate attributes only works on simple numeric values, but not on complicated things like "translate(10, 20)".
Which leads me to my request: I would like to have an option to use transform(), move(), x(), etc. without that scale being applied, just the pure value.

In svg.js v2.0.1 the scale consideration was removed because it was not compatible to other move-functions e.g. of the PointArray which makes it almost impossibe to have a valid behavior when the element is zoomed


How do I know if the user has submmited a form without filling the recaptcha?

Hello, we resolved this. You can download new release and you will be able to specify your own on change action for Recaptcha.


Normalize Op using fp32

Normalize Op used fp64 and was not compatible with tensorflow.
I added out_dtypes as parameter to provide the user the option to use fp32 instead of fp64
using fp64 broke some unittests

rerun tests

rerun tests

I think the default dtype for our output should be float32 instead of float64 - but realize that's a bigger change than just allowing float32 like done here

rerun tests

As Jenkins didnt run in the beginning with my branch, @benfred created a new PR directly in the repository: https://github.com/NVIDIA-Merlin/NVTabular/pull/1597
I will close this one.


The fsharp compiler fsc should be an sdk tool

If the compiler is a tool:

xplat ready
it's anyway already inside a nuget package, but not easy to restore
easy to run as dotnet fsc
easier to run from msbuild task (just run dotnet fsc)
can be specified by project:

projects can use different compiler versions, or the same
easy development/test of compiler, just change version and restore from dir

Require:

https://github.com/dotnet/cli/issues/4722 - dotnet/cli drop dotnet- prefix requirement for .net tools
fsc as a normal console netcoreapp1.0

@enricosada what's the status on this?

Closing becuase dotnet/cli#4722 (prerequisite) is moved to at least sdk v2.0.
Can be reopened when its implemented, or the cli tools constraints are changed.
Atm fsc will be published as framework dependent deployment, and packaged like FSharp.Compiler.Tools


Update the onig crate to 6.3.1?

coreutils expr is reported[1] as using out-dated onig:
onig = "~4.3.2"
Major version is now 6[2].
https://github.com/uutils/coreutils/commit/e977e29d6a6cc1eec1d6230e9167c325cf37353f references avoiding a dependency on rust 1.31+. According to README, rust 1.54+ is required by coreutils, so this seems
Suggest that the dependency moves to ~6.3. Are there any issues with this approach?
[1] https://deps.rs/repo/github/uutils/coreutils
[2] https://docs.rs/onig/latest/onig/index.html

I think we can give it a try. @alextibbles do you want to give it a try?

There were some dependency changes in onig onig_sys and its usage of bindgen which complicated this.
https://github.com/uutils/coreutils/pull/3136


[Feature] Dropdown to Select Month/Year

Love the idea of this, but if I cannot provide a dropdown to select month and year, I cannot use it.
Thoughts?

@jpgilchrist When participating in open source discussions, it's really important to remember that many projects are maintained by people in their spare time. Your issue basically says "I can't use this library unless it's different." Imagine reading that about something you built!
There are really two options for your scenario (wanting dropdowns to select month and year):
Option 1: Use a library that has the features you want. Something like jQuery UI's date picker already implements the feature you want. I'm sure there are others!
Option 2: Volunteer! Open an issue and ask if this is a feature that @ChiperSoft would continue merging. If he says "sure", then build it! If he says "no", fork it and build it anyway. Kalendae is released under the MIT software license and you can do whatever you want with it. Maybe someone else would find your version useful. Wouldn't that be neat?
I hope that helps a bit. Open source work can be a bit of a thankless world. Always assume that people are doing their best!

@pfiller I apologize for sounding offensive.

I already know you are working on this part time and have a family and a job. I read your README.

This was sort of my intro to, what's the road map here. Any chance this is planned at some point?

Apparently, it is not planned. However, you did not give me a good sense of direction you are taking this project and if that is something you want. I should have been a bit wordier with my question. At the time, I was busy trying to get many things done.
I found an alternative solution (although I really wanted a moment.js backed datepicker, my other solution will suffice) and will be continuing with that. However, at some point (when I have time) I may come back to this, fork it, and issue a pull request.


package.json engines section

Using yarn package manager I found this error:
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "^4.0.0".
which is caused by the engines section of packages.json being too restrictive:
"engines": {
    "node": "^4.0.0",
    "npm": "^2.0.0"
  },

4.* is rather old version. Please replace it with >= if possible. Thx!

Hello @nagylajcsie,
Fixed in +<EMAIL_ADDRESS>Thanks for the issue.
Best,
Alex


Add neuralprophet wrapper

Reference Issues/PRs
Issue #529
Related PR:  #515
What does this implement/fix? Explain your changes.
Added neuralprophet wrapper
Does your contribution introduce a new dependency? If yes, which one?
neuralprophet
What should a reviewer concentrate their feedback on?
Any other comments?
neuralprophet is still in an early phase, not sure if we should already include it into a new release.
PR checklist

For all contributions

[ ] I've added myself to the list of contributors.
[ ] Optionally, I've updated sktime's CODEOWNERS to receive notifications about future changes to these files.
[ ] I've added unit tests and made sure they pass locally.

For new estimators

[ ] I've added the estimator to the online documentation.
[ ] I've updated the existing example notebooks or provided a new one to showcase how my estimator works.

neuralprophet is not available for Python 3.6:
ERROR: Could not find a version that satisfies the requirement neuralprophet
ERROR: No matching distribution found for neuralprophet

Installation issue for Python 3.6 will be fixed with next release (installation via GitHub works already). Also the missing confidence intervalls will be available then: https://github.com/ourownstory/neural_prophet#028-next
I will continue then with this PR, unless you propose sth different @mloning? :)

@aiwalter sounds good to me! Happy to wait. When I find some more time, I wanted to take a look at exempting estimators/tests for specific OS/Python versions in the unit testing because we've had issues with other soft dependencies too.
I introduced a quite a lot of changes on master yesterday for the v0.5.0 release, let me know if you need help resolving conflicts.

@jattenberg I am not continuing on this in the near future. If you want to work on  it, I recommend start sth new bcz the _ProphetAdapter has ahcnged in the meanwhile quite a lot. Also neuralprophet still did not yet release a new version, I think it makes sense to wait at least for this.


SiteMap crawling: 0 start urls identified

Hi,
I am using norconex-collector-http-2.3.0-20151029.020806-31 SNAPSHOT to crawl a some of normal urls and sitemaps as well. I have been successfully crawling normal URLs as well as sitemaps until I faced this issue for one of the sitemaps with similar configuration. The configuration section where I mentioned the sitemap is like below,
<startURLs>
<sitemap ignore="false" lenient="true" class="com.norconex.collector.http.sitemap.impl.StandardSitemapResolverFactory">
http://www1.ericsson.com/sitemap.xml
</sitemap>
</startURLs>
it says - '0 start URLs identified' in log. Here is the log snippet below,
WWW: 2015-11-30 13:16:25 INFO - Running WWW: BEGIN (Mon Nov 30 13:16:25 CET 2015)
WWW: 2015-11-30 13:16:25 INFO - Initializing reference store .\internal-output\www/crawlstore/mapdb/WWW/
WWW: 2015-11-30 13:16:25 INFO - .\internal-output\www/crawlstore/mapdb/WWW/: Done initializing databases.
WWW: 2015-11-30 13:16:25 INFO - WWW: RobotsTxt support: false
WWW: 2015-11-30 13:16:25 INFO - WWW: RobotsMeta support: true
WWW: 2015-11-30 13:16:25 INFO - WWW: Sitemap support: true
WWW: 2015-11-30 13:16:25 INFO - WWW: Canonical links support: true
WWW: 2015-11-30 13:16:25 INFO - WWW: User-Agent:
WWW: 2015-11-30 13:16:26 INFO - WWW: Initializing sitemap store...
WWW: 2015-11-30 13:16:26 INFO - WWW: Done initializing sitemap store.
WWW: 2015-11-30 13:16:28 INFO - Resolving sitemap: http://www1.ericsson.com/sitemap.xml
WWW: 2015-11-30 13:16:29 INFO -          Resolved: http://www1.ericsson.com/sitemap.xml
WWW: 2015-11-30 13:16:29 INFO - 0 start URLs identified.
WWW: 2015-11-30 13:16:29 INFO -           CRAWLER_STARTED
WWW: 2015-11-30 13:16:29 INFO - WWW: Crawling references...
WWW: 2015-11-30 13:16:29 INFO - WWW: Re-processing orphan references (if any)...
WWW: 2015-11-30 13:16:29 INFO - WWW: Reprocessed 0 orphan references...
WWW: 2015-11-30 13:16:29 INFO - WWW: Crawler finishing: committing documents.
WWW: 2015-11-30 13:16:29 INFO - WWW: 0 reference(s) processed.
WWW: 2015-11-30 13:16:29 INFO -          CRAWLER_FINISHED
WWW: 2015-11-30 13:16:29 INFO - WWW: Crawler completed.
WWW: 2015-11-30 13:16:29 INFO - WWW: Crawler executed in 3 seconds.
WWW: 2015-11-30 13:16:29 INFO - Closing reference store: .\internal-output\www/crawlstore/mapdb/WWW/
WWW: 2015-11-30 13:16:29 INFO - Running WWW: END (Mon Nov 30 13:16:25 CET 2015)
The earlier sitemap url that I successfully crawled were intranet ones whereas this one is a internet sitemap. This is one difference that might be affecting, perhaps.
Could there be some firewall related issue or any specific configuration that I need to take care of. Please suggest.

I am not sure what this specific snapshot version provides, but note that version 2.3.0 is officially out now.  Please try with the official release.
You have attributes that do not apply to the sitemap tag found under start URLs:  ignore="false" lenient="true" class="com.norconex.collector.http.sitemap.impl.StandardSitemapResolverFactory".  Those are reserved for the former sitemap tag found elsewhere in the config that has since been renamed sitemapResolverFactory to avoid confusion (the documentation page has been updated since).
When used as a start URL, you simply need to do it this way::
<startURLs>
    <sitemap>http://www1.ericsson.com/sitemap.xml</sitemap>
</startURLs>

Now to your problem.  It occurs because the host name used to access the sitemap is different than the host name in the URLs it contains, so they are rejected.
First, you can simply use http://www.ericsson.com/sitemap.xml instead (drop the "1" character).
Second, you can tell the sitemap resolver to be "lenient" when it comes to URLs not being on the same host name.  Like this:
<sitemapResolverFactory lenient="true"
     class="com.norconex.collector.http.sitemap.impl.StandardSitemapResolverFactory"/>

Keep in mind that it will try to resolve the sitemap again for URLs on the different host, so I would pick the first approach (else, maybe setting the sitemap resolver to ignore=true would prevent processing the same sitemap twice -- once for each different host).
Let me know if that works for you.

Hi Pascal,
Thanks a lot. I have downloaded the latest stable 2.3.0 version and tried crawling with the first approach which seems to have worked.
I am having one more question related to excluding a certain url pattern. Not sure if I could create a separate issue, but including here itself. There are some urls like http://x.y.com/abc/AllArticle.aspx?PageNo=1 and I am trying to exclude them as below,
<filter
class="com.norconex.collector.core.filter.impl.RegexReferenceFilter"
onMatch="exclude">http://x.y.com/abc/AllArticle.aspx.*</filter>
But it does not. If you please help on this plz.

Yes, I prefer a separate ticket since it is unrelated to this one. I created one for you (#191) and I will reply there shortly.