Minor updates to the readme file

Temoplate -> Template
LESS, CoffeeScript, TypeScript -> would be nice to see browserify in the list (to enable commonjs in browser). Also SASS is now becoming more prominent with the port to libsass and bootstrap, foundation and extjs all adopting SASS as the preferred compiler.
node, karma, protractor -> would love to see mocha in the list.
jscs, jslint, html-lint, css lint, less lint -> would love to see eslint.

Hey Simo, thanks for the feedback.  Replies

Thanks, we will review.
Can you request browserify specifically by opening up an issue "request"?
We have a request open for a compile-sass pipeline here #1
Mocha is available as part of the node and karma pipelines (if needed, an issue request to update their README's might be in order)
ESLint is supported in our validate-js pipeline - https://github.com/kenzanmedia/pipeline-validate-js

Thanks and let me know if you have any more thoughts!

@simoami
I have created issues to track

see #21
see #22

Everything else seems to be covered.  Please reopen if I missed anything

:+1:


[IN] New Version Testing Issue

Catalysts-POSCARs.zip

Catalysts-POSCARs.zip

Catalysts-POSCARs.zip


UX for saving JSON metadata is misleading

We were setting the expanded slice setting via the json metadata of the Dashboard properties which is saved on the modal menu automatically, but if you then save the Dashboard it gets overwritten.
How to reproduce the bug

Go to Edit mode of the Dashboard
Click on the Three dots -> Dashboard Properties -> Advanced
Change the expanded_slices dictionary
Save Modal dialog
Save Dashboard instead
Reopen the Advanced dashboard properties, the setting is not saved

The way to keep the changes is Discarding the changes, which is counterintuitive.
Expected results
Save Dashboard should not override the modal dialog saved changes
Actual results
Save Dashboard overrides the modal dialog saved changes
Environment

browser type and version: Firefox 108.0
superset version: Version: 1.3.2

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Did not manage to recreate the bug on the version 2.0.1. I suppose the issue is related to the version you are using and was solved in later releases. BTW, why do you use the old version of Superset?

Thanks. We'll update the superset version then. No particular reason to stay on pre 2.0.


Feat/add readthedocs

Is this feature like a documentation book?

Is this feature like a documentation book?

Yeah, more or less, we intend moving the docs from the readme file for easy accessibility, Sphinx is one of the options, so it's a tryout, but I'd be integrating swagger instead.


Is there a namespace conflict with an 'Asset' model?

Environment

Ruby ruby 3.1.1p18
Rails <IP_ADDRESS>
Devise 4.8.1

Current behavior
I have a Location model with the stock CRUD actions / tests.  Works fine in development and production and the test all pass.
Added an Asset model which is an exact clone of Location besides belonging to the location model.  Works fine in development and production.  The issue is that the current_user is only being set in the index and create actions.  In all other tests current_user returns nil.  I have double checked everything for typos etc.  My fixtures are fine.  I added a binding.irb in a few spots in my controllers and I I can manually sign_in the user:
irb(#<AssetsController:0x0000000114df70b8>):006:0> current_user
=> nil
irb(#<AssetsController:0x0000000114df70b8>):007:0> sign_in User.find_by(email<EMAIL_ADDRESS>=> #<User id: 820312697, email<EMAIL_ADDRESS>first_name: "Company", last_name: "Member", time_zone: "America/Chicago", accepted_terms_at: "2022-05-03 19:17:49.000000000 +0000", accepted_privacy_at: "2022-05-03 19:17:49.000000000 +0000", announcements_read_at: nil, admin: nil, created_at: "2022-05-03 19:17:49.555195000 +0000", updated_at: "2022-05-03 19:17:49.555195000 +0000", invitation_token: nil, invitation_created_at: nil, invitation_sent_at: nil, invitation_accepted_at: nil, invitation_limit: nil, invited_by_type: nil, invited_by_id: nil, invitations_count: 0, preferred_language: nil, otp_required_for_login: nil, otp_secret: nil, last_otp_timestep: nil, otp_backup_codes: [], skip_default_account: false, terms_of_service: nil>
irb(#<AssetsController:0x0000000114df70b8>):008:0> current_user
=> #<User id: 820312697, email<EMAIL_ADDRESS>first_name: "Company", last_name: "Member", time_zone: "America/Chicago", accepted_terms_at: "2022-05-03 19:17:49.000000000 +0000", accepted_privacy_at: "2022-05-03 19:17:49.000000000 +0000", announcements_read_at: nil, admin: nil, created_at: "2022-05-03 19:17:49.555195000 +0000", updated_at: "2022-05-03 19:17:49.555195000 +0000", invitation_token: nil, invitation_created_at: nil, invitation_sent_at: nil, invitation_accepted_at: nil, invitation_limit: nil, invited_by_type: nil, invited_by_id: nil, invitations_count: 0, preferred_language: nil, otp_required_for_login: nil, otp_secret: nil, last_otp_timestep: nil, otp_backup_codes: [], skip_default_account: false, terms_of_service: nil>

In my test helper I have sign_in users(:member)
Expected behavior
It's expected to sign_in the user for both models and all tests.
Before I dig deeper is there perhaps a namespace conflict with my 'Asset' model and Devise?  Very odd that only the index and and create actions have the error.

There's nothing specific related to the name "Asset" in Devise, and searching for that word in the source code only returns a few instances inside the rails test app used by the test suite. If there's a conflict could be with Rails, but I can't think of anything off the top of my head.
If you can try to create a separate app that shows the issue and has devise installed, we may be able to help look into it some more.

Thanks - I figured so.  I am going to try that next to see if it is Devise and I can reproduce the issue with a clean app.


New version: VIDA v0.3.1

Registering package: VIDA
Repository: https://github.com/ptiede/VIDA.jl
Created by: @ptiede
Version: v0.3.1
Commit: a423e317bf254260c1f7777366a61a251c492b15
Reviewed by: @ptiede
Reference: https://github.com/ptiede/VIDA.jl/issues/22#issuecomment-672878656

@ptiede I assume this can be closed in favour of #19359?

Ya sorry about that! Was trying to figure out why I was getting a stackoverflow error in Julia 1.5.


StackOverflowError during reflection

Description
running myrepo.save() on a entity wit
@Entity
@DiscriminatorValue("ATOMARSYSTEM")
@DynamicUpdate
@Data
@EqualsAndHashCode(callSuper = true)
public class AtomarSystemPermission extends PermissionImpl implements AtomarPermission
{
  @Column(columnDefinition = "VARCHAR(255)", unique = true)
  @EqualsAndHashCode.Include
  String perm;

and its parent class
@Entity
@Table(name = "permission_composite")
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(
  name = "discriminator",
  discriminatorType = DiscriminatorType.STRING,
  length = 32
)
@Data
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
public abstract class PermissionImpl implements Serializable, Permission
{
  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  @Column(columnDefinition = "INT(10)")
  @EqualsAndHashCode.Include
  private Long id;

Expected behavior
Actual behavior
java.lang.StackOverflowError
	at java.base/java.util.LinkedHashMap.newNode(LinkedHashMap.java:256)
	at java.base/java.util.HashMap.putVal(HashMap.java:626)
	at java.base/java.util.HashMap.put(HashMap.java:607)
	at java.base/java.util.HashSet.add(HashSet.java:220)
	at com.blazebit.reflection.ReflectionUtils.addSuperTypes(ReflectionUtils.java:168)
	at com.blazebit.reflection.ReflectionUtils.getSuperTypes(ReflectionUtils.java:159)
	at com.blazebit.reflection.ReflectionUtils.resolveTypeVariableType(ReflectionUtils.java:359)
	at com.blazebit.reflection.ReflectionUtils.resolveTypeVariable(ReflectionUtils.java:461)
	at com.blazebit.reflection.ReflectionUtils.resolveType(ReflectionUtils.java:281)
	at com.blazebit.reflection.ReflectionUtils.resolveTypeVariable(ReflectionUtils.java:462)
	at com.blazebit.reflection.ReflectionUtils.resolveType(ReflectionUtils.java:281)
	at com.blazebit.reflection.ReflectionUtils.resolveTypeVariable(ReflectionUtils.java:462)
	at com.blazebit.reflection.ReflectionUtils.resolveType(ReflectionUtils.java:281)
	at com.blazebit.reflection.ReflectionUtils.resolveTypeVariable(ReflectionUtils.java:462)
	at com.blazebit.reflection.ReflectionUtils.resolveType(ReflectionUtils.java:281)
	at com.blazebit.reflection.ReflectionUtils.resolveTypeVariable(ReflectionUtils.java:462)
.....

Steps to reproduce
It might be again related to a natural-id mapping, since this was one too. It is the same one we handle in  https://github.com/Blazebit/blaze-persistence/issues/846 just this type not during model mapping but during repository save
Environment
Version:  9.9-snapshot based on non-HEAD https://github.com/Blazebit/blaze-persistence/issues/846
JPA-Provider: hibernate 5.4.5
DBMS:  mariadb10.3
Application Server: spring boot 2.1.7

Disabling blaze-persistence does fix it, if that is yet not obvious in this case :)

Have you bumped blaze reflections utils as I asked you to do?

https://mvnrepository.com/artifact/com.blazebit/blaze-common-utils/0.1.17 Should fix this

@JWGmeligMeyling i already tested with 0.1.17 com.blazebit:blaze-common-utils:0.1.17 - it does not fix it

Ok weird, 0.1.17 fixed the exact stracktrace but apparently there are other occasions we do not consider yet. Hopefully we're able to reproduce it.

After a brief discussion with @beikov he explained that this issue is because i was using a generic on my tepository

@Repository
public interface Somerepo<T extends PermissionImpl> extends JpaRepository<T, Long> {
..
}

This is yet not supported and actually also very unusal - i removed the generic using concrete types now and things went back to normal


Element type is invalid (TypeScript)

Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check the render method of `AtomicTagsView`.

In my AtomicTagsView:
import * as React from 'react';
import InfiniteScroll from 'react-infinite-scroller';

// In the render method
                <InfiniteScroll
                    element="tbody"
                    className="dc-table__tbody"
                    loadMore={fetchAtomicTags}
                >
                    // Here are some rows that were working previous to InfiniteScroll
                </InfiniteScroll>

I have created my own type definitions for the module (PR pending in DefinitelyTyped-repo):

declare module 'react-infinite-scroller' {
    import * as React from 'react';

    /**
     * <InfiniteScroll /> properties.
     */
    interface InfiniteScrollProps extends React.HTMLProps<InfiniteScroll> {
        /**
         * Name of the element that the component should render as.
         * Defaults to 'div'.
         */
        element?: string;
        /**
         * Whether there are more items to be loaded. Event listeners are removed if false.
         * Defaults to false.
         */
        hasMore?: boolean;
        /**
         * Whether the component should load the first set of items.
         * Defaults to true.
         */
        initialLoad?: boolean;
        /**
         * Whether new items should be loaded when user scrolls to the top of the scrollable area.
         * Default to false.
         */
        isReverse?: boolean;
        /**
         * A callback for when more items are requested by the user.
         */
        loadMore(): void;
        /**
         * The number of the first page to load, with the default of 0, the first page is 1.
         * Defaults to 0.
         */
        pageStart?: number;
        /**
         * The distance in pixels before the end of the items that will trigger a call to loadMore.
         * Defaults to 250.
         */
        threshold?: number;
        /**
         * Proxy to the useCapture option of the added event listeners.
         * Defaults to false.
         */
        useCapture?: boolean;
        /**
         * Add scroll listeners to the window, or else, the component's parentNode.
         * Defaults to true.
         */
        useWindow?: boolean;
    }

    export default class InfiniteScroll extends React.Component<InfiniteScrollProps, any> { }
}

So you're working on a PR to add an InfiniteScrol.d.ts file? 👍
Or is your issue about the fact that your definitions aren't working? Can't help you personally, as I don't know Typescript. 😕

I'm working on a PR, but anyway that should work (it compiles, so the problem is most likely in JS), I can try what it compiles to if I don't minify it

@danbovey I think I figured out the problem, as I'm using the latest version of React, I'm gonna fork this project and try with the newest version

Finally realised that the problem is https://github.com/CassetteRocks/react-infinite-scroller/blob/master/src/InfiniteScroll.js#L151 as if default loader is not set then it tries to set undefined as a child


DBD::CSV::st execute failed

I'm running Gekko-BacktestTool in Windows with Strawberry Perl and I'm getting this error message after 4 minutes of backtesting.
DBD::CSV::st execute failed:
Execution ERROR: Missing first row due to EIF - CR char inside unquoted, not part of EOL at C:/Strawberry/perl/vendor/lib/DBI/DBD/SqlEngine.pm line 1480.
called from backtest.pl at 1486.
at C:/Strawberry/perl/vendor/lib/DBI/DBD/SqlEngine.pm line 1271.
[for Statement "SELECT currency, asset, strategy, profit___, profit_market, profit_day___, trades_day, best_win, worst_loss, avg_HODL_min_, avg_price, overall_trades_day, volume_day FROM tmp\tmp_datayzmnf.csv"] at backtest.pl line 148,  line 1.
DBD::CSV::st execute failed:
Execution ERROR: Missing first row due to EIF - CR char inside unquoted, not part of EOL at C:/Strawberry/perl/vendor/lib/DBI/DBD/SqlEngine.pm line 1480.
called from backtest.pl at 1486.
at C:/Strawberry/perl/vendor/lib/DBI/DBD/SqlEngine.pm line 1271.
[for Statement "SELECT currency, asset, strategy, profit___, profit_market, profit_day___, trades_day, best_win, worst_loss, avg_HODL_min_, avg_price, overall_trades_day, volume_day FROM tmp\tmp_datayzmnf.csv"] at backtest.pl line 148,  line 1.
Can't use an undefined value as a HASH reference at backtest.pl line 674.
2018-05-18 11:49:09 (WARN):     TALIB indicators could not be loaded, they will be unavailable.
2018-05-18 11:49:09 (WARN):     TULIP indicators could not be loaded, they will be unavailable.
USD:ETH      RSI_BULL_BEAR_ADX 9|14|76|16|21|52|19       13.55%          -24.37        2.37      52.86%     4.87%      -5.05%     382    59  00:03
I can consistently replicate this issue. I googled and found this stackoverflow saying there's probably invalid characters being output but I'm not quite sure how to identify which character is causing this issue. I don't think it has anything to do with the TALIB and TULIP warning as the strategy I'm testing doesn't use those indicators.
Here is the backtest-config file.
backtest-config.zip

I know about this issue. I must start my Windows in VirtualBox - I dont like it :P
Problem can be in new line (\r\n), I dont know why or in (%, -, /) or/and in spaces in column names. If You want You can try play with it in lines:
my $vars = {
    'currency' => 'currency',
    'asset' => 'asset',
    'exchange' => 'exchange',
    'strategy' => 'strategy',
    'profit' => 'profit[%]',
.....................
    'overall_trades' => 'overall trades',
    'overall_trades_day' => 'overall trades/day',
    'strategy_settings' => 'strategy settings',
    'note' => 'note'

Earlier tables with Tops working fine?

Ok. I found. All you need to do is replace all \r\n with \n in backtest.pl file. I will correct it in the code and recompile the binaries.
Did you find a way to display ASCII art with welcome? On Windows fonts it looks poor :(


[docs] Add catalog release process.

Also fixes https://github.com/microsoft/vcpkg/issues/23387
Also sorts added and changed ports by port name in the generated release notes
Also makes the formatting more consistent with GitHub's default generated release notes ("by foo, in #bar")

https://github.com/microsoft/vcpkg/releases/tag/2022.05.10 was created by this process.


InputSimulationProfile does not exist...

Describe the problem
I'm using the release candidate downloaded directly from git. The documentation say there should be something like a InputSimulationProfile, to controll the app in the Unity Editor (working for HoloLens 1). Well, it's not there. This worked perfectly in the HLTK and really should be enabled by default.
Describe the solution you'd like
This whole profile editing and adding stuff is a little much in my opinion. Most of that stuff could be just set with a toggle on/off. I would love  to just toggle a thingy that disables all the stuff I don't need when using the HL1...
Describe alternatives you've considered
I coded the camera controlls myself, but no way to grab or even click something the Holo-way

The issue above seems to be more with what the framework does when the simulation is NOT available, which is what should be fixed. NOT putting it everywhere as it breaks the abstraction.
To resolve this @davidkline-ms , we should be fixing why we are getting an error when it's on device (aka simulation not needed) rather than pushing simulation everywhere.


Node instance is failing to come up after the reboot and scheduler restart

Here's the scenario that's not working for me:

scaled the number of scheduler instances to 0 in Marathon
scaled the number of scheduler instances to 1 in Marathon. Scheduler is now running on different mesos slave/port.
restarted cassandra node host. Node is failing to start because it's trying to pull java from the location where the original scheduler used to reside.

Has anyone else seen this behavior? Are there any ways to fix this?
Thank you!

Hi @dlyub, this is a bug that was fixed in version 0.2.0 and should no longer be happening. If you're running 0.1.0 please upgrade (it can be performed in place and shouldn't require anything extra from you beside using the new artifacts).  After upgrading you'll need to issue a restart for that node to the rest api by sending POST /node/{node}/restart and the framework should restart that node.

@BenWhitehead we're currently on 0.2.0-1. Is there something in the config / env / logs I should be checking?

Try grepping for TASK_ERROR in cassandra-mesos.log, this should output the error response from mesos if the task is invalid (telling to to run the task in an executor that doesn't exist [the bug that was fixed in 0.2.0]).
If that doesn't turn up anything, grepping for TASK_FALIURE should provide more info about which task is failing and the data that's going into it.

here's what I see in stderr and cassandra-mesos.log
I1109 20:32:04.112392 14339 fetcher.cpp:414] Fetcher Info: {"cache_directory":"/tmp/mesos/fetch/slaves/e3975add-1363-4231-8e59-d03c9351fdac-S5/root","items":[{"action":"BYPASS_CACHE","uri":{"extract":true,"value":"http://my_slave_node:31652/jre-7-linux.tar.gz"}},{"action":"BYPASS_CACHE","uri":{"extract":true,"value":"http://my_slave_node:31652/apache-cassandra-2.1.4-bin.tar.gz"}},{"action":"BYPASS_CACHE","uri":{"extract":false,"value":"http://my_slave_node:31652/cassandra-executor.jar"}}],"sandbox_directory":"/tmp/mesos/slaves/e3975add-1363-4231-8e59-d03c9351fdac-S5/frameworks/e3975add-1363-4231-8e59-d03c9351fdac-0001/executors/cassandra.dev-test.node.1.executor/runs/f3b3e694-70f8-4114-a95a-8ea16a818154","user":"root"}
I1109 20:32:04.113723 14339 fetcher.cpp:369] Fetching URI 'http://my_slave_node:31652/jre-7-linux.tar.gz'
I1109 20:32:04.113736 14339 fetcher.cpp:243] Fetching directly into the sandbox directory
I1109 20:32:04.113746 14339 fetcher.cpp:180] Fetching URI 'http://my_slave_node:31652/jre-7-linux.tar.gz'
I1109 20:32:04.113755 14339 fetcher.cpp:127] Downloading resource from 'http://my_slave_node:31652/jre-7-linux.tar.gz' to '/tmp/mesos/slaves/e3975add-1363-4231-8e59-d03c9351fdac-S5/frameworks/e3975add-1363-4231-8e59-d03c9351fdac-0001/executors/cassandra.dev-test.node.1.executor/runs/f3b3e694-70f8-4114-a95a-8ea16a818154/jre-7-linux.tar.gz'
Failed to fetch 'http://my_slave_node:31652/jre-7-linux.tar.gz': Error downloading resource: Couldn't connect to server
Failed to synchronize with slave (it's probably exited)
2015-11-09 20:07:18,212 DEBUG [Thread-75] i.m.m.f.c.s.CassandraScheduler - {taskId:cassandra.dev-test.node.1.executor} > statusUpdate(driver : org.apache.mesos.MesosSchedulerDriver@1c2d0ca6, status : task_id { value: "cassandra.dev-test.node.1.executor" } state: TASK_FAILED message: "" slave_id { value: "e3975add-1363-4231-8e59-d03c9351fdac-S5" } timestamp: 1.447099638065617E9 executor_id { value: "cassandra.dev-test.node.1.executor" } source: SOURCE_SLAVE reason: REASON_MEMORY_LIMIT uuid: "\3669\353\024\027\335J\373\2521\036\356\244K" 13: "\n\016\022\f<IP_ADDRESS>")
2015-11-09 20:07:18,212 ERROR [Thread-75] i.m.m.f.c.s.CassandraScheduler - {taskId:cassandra.dev-test.node.1.executor} Got status TASK_FAILED for task cassandra.dev-test.node.1.executor, executor cassandra.dev-test.node.1.executor (REASON_MEMORY_LIMIT, healthy=false):
2015-11-09 20:07:18,223 TRACE [Thread-75] i.m.m.f.c.s.CassandraScheduler - {taskId:cassandra.dev-test.node.1.executor} < statusUpdate(driver : org.apache.mesos.MesosSchedulerDriver@1c2d0ca6, status : task_id { value: "cassandra.dev-test.node.1.executor" } state: TASK_FAILED message: "" slave_id { value: "e3975add-1363-4231-8e59-d03c9351fdac-S5" } timestamp: 1.447099638065617E9 executor_id { value: "cassandra.dev-test.node.1.executor" } source: SOURCE_SLAVE reason: REASON_MEMORY_LIMIT uuid: "\3669\353\024\027\335J\373\2521\036\356\244K" 13: "\n\016\022\f<IP_ADDRESS>")

It sounds like the scheduler didn't properly detect that the executor was lost.
If you have another node available in your cluster that could run cassandra the easiest thing to do to sidestep this issue would be to TERMINATE it with POST /node/{node}/terminate and the framework should replace it when the next resources offer comes in.

We've seen this same issue but through a different scenario. We're running cassandra-mesos 0.2.1. We started the framework and discovered the next day it fell over. The most likely scenario we could come up with was the the scheduler moved hosts and then 2 of the mesos-agent where nodes were running restarted. The nodes were still pointing to the first server the scheduler was running on and couldn't download the archives. We reproduced this by killing the scheduler, letting it respawn on a different host and then restart the mesos-agent where one of the nodes were running.
Our setup that the following logs are based off of:
scheduler: ms136
nodes: ms43, ms54, ms137
Digging through our logs, this is what we saw:
stderr
I1201 01:40:17.713582 24837 exec.cpp:452] Slave exited, but framework has checkpointing enabled. Waiting 15mins to reconnect with slave 20151029-080001-4053860618-5050-23715-S151
I1201 01:40:52.298522 24911 sched.cpp:819] Got error 'Framework failed over'
I1201 01:40:52.298596 24911 sched.cpp:1625] Asked to abort the driver
I1201 01:40:52.299443 24911 sched.cpp:861] Aborting framework '20151119-161726-4053860618-5050-2797-0051'
I1201 01:40:52.317241 24871 sched.cpp:1591] Asked to stop the driver
I1201 01:40:52.317375 24932 sched.cpp:835] Stopping framework '20151119-161726-4053860618-5050-2797-0051’

cassandra-mesos.log
2015-12-01 01:40:37,383 ERROR [Thread-20064] i.m.m.f.c.s.CassandraScheduler - {taskId:cassandra.cassandra-chronos.node.2.executor.server} Got status TASK_LOST for task cassandra.cassandra-chronos.node.2.executor.server, executor  (REASON_SLAVE_REMOVED, healthy=false): Slave ms54.example.com removed: a new slave registered at the same address
2015-12-01 01:40:37,514 ERROR [Thread-20065] i.m.m.f.c.s.CassandraScheduler - {taskId:cassandra.cassandra-chronos.node.2.executor} Got status TASK_LOST for task cassandra.cassandra-chronos.node.2.executor, executor (REASON_SLAVE_REMOVED, healthy=false): Slave ms54.example.com removed: a new slave registered at the same address
2015-12-01 01:40:37,937 ERROR [Thread-20109] i.m.m.f.c.s.CassandraScheduler - {taskId:cassandra.cassandra-chronos.node.0.executor.server} Got status TASK_LOST for task cassandra.cassandra-chronos.node.0.executor.server, executor  (REASON_SLAVE_REMOVED, healthy=false): Slave ms137.example.com removed: a new slave registered at the same address
2015-12-01 01:40:38,205 ERROR [Thread-20110] i.m.m.f.c.s.CassandraScheduler - {taskId:cassandra.cassandra-chronos.node.0.executor} Got status TASK_LOST for task cassandra.cassandra-chronos.node.0.executor, executor (REASON_SLAVE_REMOVED, healthy=false): Slave ms137.example.com removed: a new slave registered at the same address
2015-12-01 01:40:52,298 ERROR [Thread-20174] i.m.m.f.c.s.CassandraScheduler - {} error(driver : org.apache.mesos.MesosSchedulerDriver@69a8bf4f, message : Framework failed over)2015-12-01 01:40:52,315 INFO  [main] o.g.g.http.server.NetworkListener - {} Stopped listener bound to [ms136.example.com:31538]

As the nodes tried to re-spawn, we saw this in the process table:
root     19533  4176  0 21:42 ?        00:00:00 mesos-containerizer launch --command={"environment":{"variables":[{"name":"JAVA_OPTS","value":"-Xms256m -Xmx256m"},{"name":"MESOSPHERE_LD_LIBRARY_PATH","value":"\/opt\/mesosphere\/lib"}]},"shell":true,"uris":[{"extract":true,"value":"http:\/\/ms136.example.com:31538\/jre-7-linux.tar.gz"},{"extract":true,"value":"http:\/\/ms136.example.com:31538\/apache-cassandra-2.1.4-bin.tar.gz"},{"extract":false,"value":"http:\/\/ms136.example.com:31538\/cassandra-executor.jar"}],"value":"export LD_LIBRARY_PATH=$MESOSPHERE_LD_LIBRARY_PATH:$LD_LIBRARY_PATH &&  $(pwd)\/jre*\/bin\/java -XX:+PrintCommandLineFlags $JAVA_OPTS -classpath cassandra-executor.jar io.mesosphere.mesos.frameworks.cassandra.executor.CassandraExecutor"} --commands={"commands":[]} --directory=/tmp/mesos/slaves/20151125-224940-648086282-5050-28250-S1/frameworks/20151125-224940-648086282-5050-28250-0006/executors/cassandra.dev-test.node.2.executor/runs/c2d46c4b-466a-426a-a49f-7f42168f7514 --help=false --pipe_read=13 --pipe_write=19 --user=root

But by now the scheduler is running on ms102 port 31729. I was also able to decode the ZK data and saw the following info even after the scheduler moved:
Cassandra Node Host ms43.example.com
        File Download URI http://ms136.example.com:31538/jre-7-linux.tar.gz
        File Download URI http://ms136.example.com:31538/apache-cassandra-2.1.4-bin.tar.gz
        File Download URI http://ms136.example.com:31538/cassandra-executor.jar

Cassandra Node Host ms54.example.com
        File Download URI http://ms136.example.com:31538/jre-7-linux.tar.gz
        File Download URI http://ms136.example.com:31538/apache-cassandra-2.1.4-bin.tar.gz
        File Download URI http://ms136.example.com:31538/cassandra-executor.jar

Cassandra Node Host ms137.example.com
        File Download URI http://ms136.example.com:31538/jre-7-linux.tar.gz
        File Download URI http://ms136.example.com:31538/apache-cassandra-2.1.4-bin.tar.gz
        File Download URI http://ms136.example.com:31538/cassandra-executor.jar

I'm not sure if the ZK data is used to re-launch any node after the agent was lost (mesos-containerizer launch). I'm still trying to wrap my head around the source code. But it seems like a logical place for it to look for information to launch itself. The only issue is that it's outdated.

Hi  juicedM3,
I am having also the similar issue:
I0310 11:07:34.817458 31808 sched.cpp:264] No credentials provided. Attempting to register without authentication
E0310 11:09:42.033685 31815 socket.hpp:107] Shutdown failed on fd=37: Transport endpoint is not connected [107]
I0310 11:10:12.377645 31814 sched.cpp:819] Got error 'Completed framework attempted to re-register'
I0310 11:10:12.377678 31814 sched.cpp:1625] Asked to abort the driver
I0310 11:10:12.378490 31814 sched.cpp:861] Aborting framework '20160309-183453-2497969674-5050-19271-0001'
I0310 11:10:12.386880 31794 sched.cpp:1591] Asked to stop the driver
I0310 11:10:12.387462 31809 sched.cpp:835] Stopping framework '20160309-183453-2497969674-5050-19271-0001'
Any solution for this?
Best regards,
Abu

Abu,
My workaround was to modify the source code. I moved the archives to a known server so that they never move. I then added the option to specify a DOWNLOAD_HOST.
$ git diff cassandra-mesos-framework/src/main/java/io/mesosphere/mesos/frameworks/cassandra/framework/Main.java
diff --git a/cassandra-mesos-framework/src/main/java/io/mesosphere/mesos/frameworks/cassandra/framework/Main.java b/cassandra-mesos-framework/src/main/java/io
index 299e70a..343951c 100644
--- a/cassandra-mesos-framework/src/main/java/io/mesosphere/mesos/frameworks/cassandra/framework/Main.java
+++ b/cassandra-mesos-framework/src/main/java/io/mesosphere/mesos/frameworks/cassandra/framework/Main.java
@@ -124,6 +124,7 @@ public final class Main {

         final int port0 = Integer.parseInt(portOption.get());
         final String host = Env.option("HOST").or("localhost");
+        final String downloadHost = Env.option("DOWNLOAD_HOST").or(Env.option("HOST")).or("localhost");

         final Optional<String> clusterNameOpt = Env.option("CASSANDRA_CLUSTER_NAME");

@@ -201,7 +202,8 @@ public final class Main {
             frameworkBuilder.setId(frameworkId(frameworkId.get()));
         }

-        final URI httpServerBaseUri = URI.create("http://" + host + ":" + port0 + "/");
+        final URI httpServerBaseUri = URI.create("http://" + downloadHost + ":" + port0 + "/");
+        final URI httpServerBase = URI.create("http://" + host + ":" + port0 + "/");

         final Clock clock = new SystemClock();
         final PersistedCassandraClusterHealthCheckHistory healthCheckHistory = new PersistedCassandraClusterHealthCheckHistory(state);
@@ -254,7 +256,7 @@ public final class Main {
                 new ScaleOutController(cassandraCluster, factory),
                 provider
             );
-        final HttpServer httpServer = GrizzlyHttpServerFactory.createHttpServer(httpServerBaseUri, rc);
+        final HttpServer httpServer = GrizzlyHttpServerFactory.createHttpServer(httpServerBase, rc);

         final MesosSchedulerDriver driver;
         final Optional<Credential> credentials = getCredential();

Another option without modifying the source code would be to setup mesos-dns or consul + mesos-consul. Then you could set HOST to something like:
cassandra-mesos.service.consul

And when cassandra-mesos moves to a new host, mesos-consul will update the record in consul and cassandra-mesos should be able to find the archives it needs to run.

just 'fixed' this problem by doing 'rmr /cassandra-mesos' in zkCli and restarting the scheduler

This repository is deprecated. Please use the latest supported framework here: https://github.com/mesosphere/dcos-cassandra-service, and provide feedback for us here: https://dcosjira.atlassian.net/browse/CASSANDRA.


borgbackup: update description

Motivation for this change
While it is true borg started as a fork of Attic, this is ancient history.
'attic fork' confused me, suggesting this was some custom fork of borgbackup
instead of the regular version.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Thanks! It's nice to have accurate descriptions.


Tor connection test

Check if the browser (in Tor mode or super-PBM) is connecting through Tor.

Implemented in test_tor.html


 It worked very well but in some cases it detects wrong.  Do you have any way to reduce that.
https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/dog-puppy-on-garden-royalty-free-image-1586966191.jpg?crop=1.00xw:0.669xh;0,0.190xh&resize=1200:*

i don't see a problem - that image produces result with low-confidence (below 0.57), so just set minimum score appropriately.

Lion is already up to 0.88 which is crazy


Allowing all Github users showing an error when logging

Rancher versions:
rancher/server: master at 27th of feb
steps to reproduce:

enable github authentication
select  Allow any valid Users
try to login with any github user:

Server show 500 response error, and rancher server logs shows this error:
time="2018-02-26T22:07:09Z" level=error msg="Github getGithubOrgs: GET url https://api.github.com/user/orgs?per_page=1 received error from github, err: Request failed, got status code: 403. Response: {\n  \"message\": \"You need at least read:org scope or user scope to list your organizations.\",\n  \"documentation_url\": \"https://developer.github.com/v3/orgs/#list-your-organizations\"\n}\n"
time="2018-02-26T22:07:09Z" level=error msg="API error response 500 for POST /v3-public/githubProviders/github?action=login. Cause: Request failed, got status code: 403. Response: {\n  \"message\": \"You need at least read:org scope or user scope to list your organizations.\",\n  \"documentation_url\": \"https://developer.github.com/v3/orgs/#list-your-organizations\"\n}\n"

Also getting the same error after restricting access to certain github users users

No errors appear now when trying to login with any github user


docs: Fix typo

irrecoverably does not exist

irrecoverable means that cannot be retrieved or recovered which is synonymous to lost. irrecoverably lost could mean (if 1. existed) lost in a unrecoverable manner which simply means lost.

irrevocably means irreversibly or forever. irrevocably lost means lost forever, which is probably what you intended to say.

I used wordreference as the source for correction, the service is based on the Collins dictionary.
Additional white spaces were automatically stripped away from committed files by VS Code for good measure.

What does this PR change? What problem does it solve?
This PR improves the documentation readability.

Was the change previously discussed in an issue or on the forum?
No.

Checklist

[x] I have read the contribution guidelines.
[x] I have enabled maintainer edits.
[ ] I have added tests for all code changes.
[x] I have added documentation for relevant changes (in the manual).
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
[ ] I have run gofmt on the code in all commits.
[x] All commit messages are formatted in the same style as the other commits in the repo.
[x] I'm done! This pull request is ready for review.

After thinking about it again, I still think the current wording is correct. Nevertheless, thanks for trying to improve the documentation.

Thank you for reviewing.
I still believe this could be improved in 2 ways:
Losing your password means that your data is irrecoverably lost.

irrecoverably lost -> irrecoverable
data is -> data are (data is the plural of datum)

So the final sentence would be:
Losing your password means that your data are irrecoverable.

irrecoverably lost -> irrecoverable

IMO that's much harder to understand. With the current wording, one can just ignore the word irrecoverably (which may not be known to everyone) and still understand the meaning.

2. data is -> data are (data is the plural of datum)

AFAIK data is also often used in singular. Especially when referring to an unspecified collection of information.


add preset for route=horse relations

I am not sure if it should be called Riding route or Horse route
(closes #3057)

"Bridle route"

Please call it "Riding route" to be consistent with JOSM
(https://josm.openstreetmap.de/browser/josm/trunk/data/defaultpresets.xml?rev=10086#L9901)
and the OSM wiki
(https://wiki.openstreetmap.org/wiki/Riding#Riding_routes)
("Bridle Route" I couldn't find in the wiki.)
German translation is: "Reitroute"
(http://wiki.openstreetmap.org/wiki/DE:Riding#Reitrouten)

Please call it "Riding route" to be consistent with JOSM

ok, "Riding route" is fine.

Do I have to do something to produce the necessary icon? Do I have to open an issue on
https://github.com/mapbox/maki/issues ?
The icon cannot be very complicated to create because it is just a combination of two others that already exist:

But I can't find the other icons on the maki site either.

merged as
2ed9b19 2016-05-08 Add style and route-horse icon, rename per #3066
cdfe243 2016-05-08 add preset for route=horse relations
7bff5d3 2016-05-08 Add route-horse icon


Nobody write a space after function name

You recommend to write function name (arg) { ... } instead of function name(arg) { ... }.
It seems you are the only one among the JavaScript style guides (*) to recommend that:

Airbnb (25,827 stars btw)
Google
Mozilla
idiomatic.js
Crockford
jQuery
...

Consequence, you also recommend to write:
class Foo {
  name (arg) {
    ...
  }
}

instead of
class Foo {
  name(arg) {
    ...
  }
}

None of the popular programming languages out there do that:

Java
PHP
Python
Ruby
C#
C++
C
TypeScript
Scala
Rust
Swift
Go
...

And last, statistics show that most people (67%) don't write a space after function in JavaScript.
Related issues: #89, #164, #217
(*) listed on Google first page

The title of this issue is inaccurate. Currently every user of this module uses spaces after function names. This is a great example of bikeshedding. Please read https://github.com/feross/standard#i-disagree-with-rule-x-can-you-change-it

@tkrotoff Thanks for sharing your opinion about this issue. It's not open for discussion, though.

The npm name is "standard", the title is "JavaScript Standard Style", the moto is "One Style to Rule Them All" and not something like "Feross JS Style Guide", "Airbnb JS Style Guide", "Google JS Style Guide".
A name like this come with responsibilities.

Let's be honest: this is an pretty unimportant issue. You might be able to find some minor reasons why your preferred style is better than the other style, but others can come up with reasons why their choice is better than yours. This leads to bike shedding.
It doesn't matter which choice we pick. Both choices are valid. Neither choice will lead to more bugs or programmer errors. So, we just need to pick something.
What exactly are you proposing? That we change the rule and force 100K+ monthly users to change all their code? Sorry - not happening.
You're free to use another style guide, to extend eslint-config-standard, or even to fork standard if this issue matters that much to you.

Alternatively, just use arrow functions and you won't even know :smile:


ugoira -> gif

So uhh, I saw in the config that I can convert an ugoira to a gif...but even if that option is set to "True" it still doesnt do it.
Maybe it plans to do it when its done downloading all the ugoira in the queue? I don't know.
In the mean time I wrote this script to do the job for me:
from pathlib import Path
from PIL import Image
import shutil
import os
import re

main_folder = "D:/Downloads/Compressed/pixivutil20210822"  # the folder where you save the pixiv downloads

artists = [
    os.path.join(main_folder, x).replace("\\", "/")
    for x in sorted([x[1] for x in os.walk(main_folder)][0])
    if (
        os.path.isdir(os.path.join(main_folder, x)) and
            re.match(r".*? \(\d+\)", str(x))   # this uses the default pattern for the artist folder, if you have a different one then you must change the regex to match it
    )
]

for folder_path in artists:
    folders = [
        os.path.join(folder_path, x)
        for x in sorted([x[2] for x in os.walk(folder_path)][0])
        if (os.path.isfile(os.path.join(folder_path, x)) and x.endswith(".zip"))
    ]

    for zip_ in folders:
        zip_ = zip_.replace("\\", "/")
        shutil.unpack_archive(zip_, zip_.replace(".zip", "").rstrip("."))

        files = [
            os.path.join(zip_.replace(".zip", "").rstrip("."), x).replace("\\", "/")
            for x in os.listdir(zip_.replace(".zip", "").rstrip("."))
        ]

        if len(files) == 0:
            continue

        filename = Path(zip_.replace(".zip", "").rstrip(".")).parts[-1] + ".gif"

        Image.open(files[0]).save(
            os.path.join(Path(zip_.replace(".zip", "").rstrip(".")).parent, filename),
            format='GIF',
            append_images=[Image.open(x) for x in files[1:]],
            save_all=True,
            duration=int((len(files) * 100)/200) if int((len(files) * 100)/200) > 200 else 300, loop=0
        )

        try:
            shutil.rmtree(zip_.replace(".zip", "").rstrip("."))
            os.remove(zip_)
        except OSError:
            pass
        print("Converted: {}".format(zip_.replace(".zip", "").rstrip(".") + ".gif"))

Anyways, this was fun to write, posting it here for anyone that might find a use for it.

This requires for PILLOW (python image processing package) to be installed.

Oh yeah, the gif duration is not so great, I calculate it based on the frames of the gif, but uhh
It works great with some, and badly with others.
You might want to set it to a constant speed of 300 or smth along those lines.

If you are downloading a huge amount of ugoira (just like me) I suggest putting this in a while loop, and make it sleep for like a minute before each loop.

Oh yeah, this was tested with the default config.
(except for the option "convert to gif" that did nothing)

You need to configure the ffmpeg.exe location.
From readme:
creategif

Set to True to convert ugoira file to gif. Required createUgoira = True and ffmpeg executeable.

https://github.com/Nandaka/PixivUtil2/blob/master/PixivHelper.py#L921
https://github.com/Nandaka/PixivUtil2/blob/master/PixivHelper.py#L949

You need to configure the ffmpeg.exe location.
From readme:
creategif

Set to True to convert ugoira file to gif. Required createUgoira = True and ffmpeg executeable.

https://github.com/Nandaka/PixivUtil2/blob/master/PixivHelper.py#L921
https://github.com/Nandaka/PixivUtil2/blob/master/PixivHelper.py#L949

But since you already have PILLOW as a dependency, why not use that?
Why depend on a non-pythonic approach?

See https://github.com/Nandaka/PixivUtil2/issues/802

See #802

Now it makes sense.
Although, one thing I did not mention was that I already have ffmpeg installed and it's on path, so the default config should have worked, no?
And btw, making a feature not work unless ffmpeg is installed is not optimal, you could for example use Pillow as a backup method in case ffmpeg is not found.

or I can just terminate if it is not found, currently it will set the flags to False.
https://github.com/Nandaka/PixivUtil2/blob/master/PixivUtil2.py#L1339


Enquiry: Server Side Code?

Hello Author,
I have downloaded and working on the Book reader. But i cant find the API of Server Side coding ?
May i have the server side coding of this project?
Thank you

I am very sorry about it, all API are obtained from the app which names "ZhuiShuShenqi"
http://www.zhuishushenqi.com/download


AOMEI applications not installing?

Brief description of your issue
I've been trying to install these two apps from AOMEI through winget, and I'm getting the error "installer hash does not match" for both AOMEI backupper standard, and AOMEI partition assistant. I've tried this on my windows 10, and windows 11 machines. Not sure what this means, or how to fix. I was encouraged to raise the issue here though.
Steps to reproduce
winget install --id=AOMEI.PartitionAssistant  -e
winget install --id=AOMEI.Backupper.Standard  -e
Expected behavior
The app should download and install.
Actual behavior
PS C:\Users\USER> winget install --id=AOMEI.Backupper.Standard  -e
Found AOMEI Backupper [AOMEI.Backupper.Standard] Version <IP_ADDRESS>
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://www2.aomeisoftware.com/download/adb/AOMEIBackupperStd.exe
██████████████████████████████   131 MB /  131 MB
Installer hash does not match.
//
PS C:\Users\USER> winget install --id=AOMEI.PartitionAssistant  -e
Found AOMEI Partition Assistant [AOMEI.PartitionAssistant] Version 10.0.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://www2.aomeisoftware.com/download/pa/PAssist_Std.exe
██████████████████████████████  53.2 MB / 53.2 MB
Installer hash does not match.
Environment
PS C:\Users\USER> winget --info
Windows Package Manager v1.6.2771
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.3570
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.2771.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
PS C:\Users\USER>

//

PS C:\Users\USER> winget --info
Windows Package Manager v1.6.2771
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.2506
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.2771.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
PS C:\Users\USER>

@zjDrummond thanks for reporting the issue. This happens when a publisher changes the "installer" at the URL specified in the manifest. We use a SHA256 hash to make sure the file we're expecting to download is the file we validated. When publishers use a "vanity URL" this can happen as frequently as they update the installer.
We've had an issue with our automation to try and update these ourselves, so for now, it will require someone from the community to update the manifest. We have a tool called wingetcreate designed to help update the manifest.

Issue still there

Facing same issue.


Write user docs / examples

Some folks have noted interest in using this but I have no idea what to tell them to even do.

For Linux at least it's basically these functions: https://github.com/rust-minidump/minidump-writer/blob/main/src/linux/minidump_writer.rs#L135-L212
So
let res = MinidumpWriter::new(pid, tid)
                           // ... some options, if you want, like:
                           .set_minidump_size_limit(my_limit)
                           // ... maybe some more options ...
                           .dump(destination)?;

This will write the resulting dump to destination but also returns a Vec<u8>-copy of it in memory to res.


cant access windows download

the windows link just send you to a page the error on it

This has been reported here already #10
Please close this one, so we can have all of the same reports in one place.

Click right mouse boutton and open new page


Organization auth settings

Allow an organization to enable/disable authentication methods:

Username/password.
Google apps login.

cc @MariaCheca : don't do this as part of the redesign (#4884)


PartitionAware Routing does not work on Realtime Upsert Table using kinesis

Labels : Documentation, Troubleshooting
I have a realtime upsert table which reads data from kinesis.There are 2 partitions or 2 kinesis shards.I updated config but after I restarted broker controller and server I still see 2 servers being hit when the accountId is in the query.
This was the original config.
"segmentPartitionConfig":{
  "columnPartitionMap": {
        "accountId": {
          "functionName": "Murmur",
          "numPartitions": 2
        }
      }
  }
  },
"routing": {
  "segmentPrunerTypes": [
      "partition"
    ],
    "instanceSelectorType": "strictReplicaGroup"
  },

I tried the below config suggested on the following slack channel by @walterddr https://apache-pinot.slack.com/archives/C011C9JHN7R/p1704225307389139
"columnPartitionMap": {
      "accountId": {
        "functionName": "Murmur",
        "numPartitions": 2
      }
    }
}
},
"upsertConfig": {
  "mode": "FULL",
  "hashFunction": "MURMUR3",
  "enableSnapshot": true
},
"instanceAssignmentConfigMap": {
  "CONSUMING": {
    "tagPoolConfig": {
      "tag": "DefaultTenant_REALTIME"
    },
    "replicaGroupPartitionConfig": {
      "numInstances": 8,
      "replicaGroupBased": true,
      "numReplicaGroups": 4,
      "numInstancesPerReplicaGroup": 2,
      "partitionColumn": "accountId",
      "numPartitions": 2,
      "numInstancesPerPartition": 1
    }
  }
},
"routing": {
"segmentPrunerTypes": [
    "partition"
  ],
  "instanceSelectorType": "strictReplicaGroup"
}```

When I run the query

SELECT currencyCode,activityId, activityType, distinctcount(sendIdContactId2) as 'sendId,contactId_count', sum(totalOrderNum) as totalOrderNum_sum, sumprecision(totalOrderAmt, 19) as totalOrderAmt_sum FROM events WHERE accountId =<PHONE_NUMBER>363 AND flowId = 'd13c223f-b3fb-4fac-8689-77b89ab08f82' AND recordType = 'attribution'  AND softDelete = 'null'  group by currencyCode,activityType,activityId  LIMIT 0, 1000 option(timeoutMs=20000)SELECT currencyCode,activityId, activityType, distinctcount(sendIdContactId2) as 'sendId,contactId_count', sum(totalOrderNum) as totalOrderNum_sum, sumprecision(totalOrderAmt, 19) as totalOrderAmt_sum FROM events WHERE accountId =<PHONE_NUMBER>363 AND flowId = 'd13c223f-b3fb-4fac-8689-77b89ab08f82' AND recordType = 'attribution'  AND softDelete = 'null'  group by currencyCode,activityType,activityId  LIMIT 0, 1000 option(timeoutMs=20000)
I still see 2 servers queried

![Screenshot 2024-01-22 at 3 42 40 PM](https://github.com/apache/pinot/assets/2093096/3d093b81-a698-472d-a574-20afcad6c44a)

Can you check if the upstream is partitioned properly? You may read the segment ZK metadata through the rest API and check if each segment only contain data from a single partition


Only parse specific headers

Is there a way I can parse only specific headers?
For instance, only convert  name and family to csv format.
Expected output : name, family.name, family.type
var contacts = [{
name: 'Bob',
lastname: 'Smith',
family: {
name: 'Peter',
type: 'Father'
}
},{
name: 'James',
lastname: 'David',
family:{
name: 'Julie',
type: 'Mother'
}
},{
name: 'Robert',
lastname: 'Miller',
family: null,
location: [1231,3214,4214]
},{
name: 'David',
lastname: 'Martin',
nickname: 'dmartin'
}];

My quick opinion is that this libraries one sole job should just be to convert. Meaning convert only and limit extra functionality to another package.
I feel it is your responsibility and duty to have your data modified before before this package does its main job. You should clone, loop, and reformat your data is my suggestion.
I could be wrong. I am one of several contributors to this package

That a justified belief, I was just curious if the feature was already specified as some other libraries do have that feature. It just makes the process quicker and easier. Thanks for your reply!

In my experience, and I hope you agree, a function should do no more than one job or as little tasks as possible because it often doesn't always do both jobs (waste in file size, processing conditions...) and the more code the more to consider when upgrading (scalability factor).
The big wind above said, I hope you can agree that this package should do less and you should be open to use a like lodash for parsing your data, today, and then tomorrow switch to a functional libray like ramda to do your parsing........... The right tool for the right job combined with other right tools for there jobs, is my principle


Readme enhancements - review them

All the changes are related to the README.md

Modified the "create your bot" chapter:

Removed all the conversation example that  — imho — made that part unnecessarily long.
Added a mini gif that illustrates the bot creation steps

Added an assets folder for the gif file
Some emojis around — because why not, they are cool!

I'm not used to doing pulls, so if is there some etiquette that I'm not aware of, let me know.

Closing off here, as there should be a new one coming 👍


re-indexing either not working or not deleting orphans.

I just tried the re-indexing that you set up for USEP to get rid of some phantom inscriptions. It is supposed to delete orphans but doesn't seem to be doing it.
You can see the problem here: https://usepigraphy.brown.edu/projects/usep/collections/ITA.Rome.AAR/
All the inscriptions from the top of the list to the one ending in 153 were renamed, and appear correctly with their new IDs below - all ending in 400s.
The inscriptions are not in github. but the reindex is not eliminating them from the collection list.

closed with b7857f5


Add 'ujs-selector' data attribute to find element to morphDOM-ed

Status
Needs review
Additional Notes
Add in a new data attribute called "ujs-selector' which is a string that is used to query the page to find an element . If the element is found it will be subjected to morphdom, if it's not found, default to document.body (as before). This is very handy for updating the DOM with partials.
I'm wondering whether it would be worth addding a couple of additional data selector attributes for success vs failed response as opposed to a universal selector data attribute. What do you think?

@taltas so this would only apply to failures. All successes get piped through turbo / turbolinks so they dont apply morphdom so thered be no selector to use.

so if i understand correctly you add data-ujs-selector to the <form> and it will run a search for the element, and default to morphing the body?

@taltas so this would only apply to failures. All successes get piped through turbo / turbolinks so they dont apply morphdom so thered be no selector to use.

Hmmm,  if you submit a form and redirect the page you were originally on, it will still try and use the 'ujs-selector' on success from what I tested, i.e. it will fill the selector div with the entire redirected page's body. I'm curious as to why there is the isSamePage check to do the morph here, rather than letting turbo deal with the same page (I'm not really sure how Turbo handles this scenario)?
If there is no way around this, I'm wondering whether the ujs-selector should only be for when the response is an error reponse, otherwise use the normal body morph, perhaps renaming the attribute ujs-error-selector ?

so if i understand correctly you add data-ujs-selector to the <form> and it will run a search for the element, and default to morphing the body?

Basically yes, except see the one issue when the response is successful from the server.

@taltas so the reason that isSamePage is there is for it to do a pushState if someone is using Mrujs without Turbo / Turbolinks. Give me a little bit to work on this. (I generally don't have too much time during the week, I tend to do most of my OSS on weekends)

@taltas so the reason that isSamePage is there is for it to do a pushState if someone is using Mrujs without Turbo / Turbolinks. Give me a little bit to work on this. The navigationAdapter is admittedly not super well tested and is quite thorny, I'd like to add some tests to this. (I generally don't have too much time during the week, I tend to do most of my OSS on weekends)

No worries, just wanted to make sure you saw it more than anything. :+1:

@taltas How would you feel about calling this data-ujs-morph-root?
If you do this:
<form data-ujs-morph-root=""></form>

It will mean "only morph the form submitting"
If you do this:
<div class="class">
<form data-ujs-morph-root=".class"></form>
</div>

It'll morph everything in the div, how does that sound to you?

@taltas we could pass it to both, but it would require opting out of Turbo based navigation which isnt ideal. But for those not using Turbo, it should work.

Actually, I think leaving it with both is right for now. I think the morphDOM when it hits the same page is a seperate issue in itself. I think this PR is good to go.


Play/pause button doesn't update properly when two projects are open

when you play a project it stops the other projects without updating the play/pause button to reflect that it's paused. then if you pause and play another project, pausing the original project that was stopped will update a playing project to display the play button.

Also if you pause the playing project instead of pausing the original project, the play button will display for the original object but pressing it will do nothing.

Low priority. The supported use cases involve one instance per model so this won't come up

Server is going to be refactored so it has a 1-1 relationship with a file. This nullifies the issue presented here.


overrides working except for transitive dep inheritance with lock file

Not ready to merge, it doesn't work with a lock file. Opening for comment.

So maybe a new issue. Let's say you have a config with 1 dep a and a depends on b. Additionally you have some override in a for b.  Next time you run everything works as before, the override is properly run on b from a.
But if you add b to your top level config and run compile it will still use the lock file version of b but it will not use the override from a. This is because it uses the config file list to traverse deps even if there is a lock file, that way it gets the overrides correct (except in a case like this), and checks the locks for each dep when it hits it to use the right source.

So maybe a new issue. Let's say you have a config with 1 dep a and a depends on b. Additionally you have some override in a for b.  Next time you run everything works as before, the override is properly run on b from a.
But if you add b to your top level config and run compile it will still use the lock file version of b but it will not use the override from a. This is because it uses the config file list to traverse deps even if there is a lock file, that way it gets the overrides correct (except in a case like this), and checks the locks for each dep when it hits it to use the right source.

Ok, fixed that issue by using level 0 entries in the lock file as the base set of deps instead of what is in the config file.
Now I need to ensure that if there is no top level lock file that the proper deps are selected and the proper overrides for transitive deps if the dep or transitive dep has a lock file.

Ok, so now it should do overrides correctly and not screw up locks in doing so.
This obviously needs tests to be sure...

That overall looks okay, but yeah, really needs tests because it's starting to be hard to wrap my head around it all.

Yea, it is getting unwieldy.

Note that this also has a bug fix in the creation of the lock file. Before it was always setting the level to 0 in the lock file.
Due to that and all tests passing I think we should merge this and then build tests, like we've done before :)
I haven't decided how to do override tests, best I can think of is creating apps that will fail to build if overrides are properly applied.

That's a fine plan with me. Hooray for pre-alpha status I guess. Potentially breaking stuff still is acceptable.

Yup, pre-alpha is the best :)


The Plunker example is broken

Loading up the Plunker (http://plnkr.co/edit/u9mJqDH8UpwxDnOv8gZL?p=preview), there is an error in the console right away:
TypeError: Cannot set property 'min' of undefined
And then on blur of the input, there is another error:
Uncaught TypeError: ngModel.$commitViewValue is not a function

Hi @seibar,  Yep! I changed master branch to 0.8.x and this broke plunker, I fixed it! Please try again and if you find any issue please feel free to reopen this ticket!
Thanks a lot!


diff: /Podfile.lock: No such file or directory

Got this and have no clue to solve it out. Did anybody get the same issue before?

Then there's a problem with Cocoapods in your project.  Sometimes cocoapods can get out of sync and you need to re-initiate cocoapods. You should be able to resolve this error by:

Deleting the Podfile.lock file in your project folder
Deleting the Pods folder in your project folder
Execute 'pod install' in your project folder
Do a "Clean" in Xcode
Rebuild your project

I already tried it at the very beginning, but it didn't work out. Any other ideas?

@cbangchen
update your cocoapods to newest version
and run pod setup
and ..
Deleting the Podfile.lock file in your project folder
Deleting the Pods folder in your project folder
Execute 'pod install' in your project folder
Do a "Clean" in Xcode
Rebuild your project

@tilltue @fangyuxi, thx, update operation works.

solved for me: XCODE, IOS, CORDOVA y IONIC
1 - in xcode change value of $(SRCROOT) for you root project in xcode las var of config build in
2 - changed var in this clic in the plus of up: enter image description here
nota: root project is: location of my project and location where use pod this my firs question thank for watching
Images and details in:
https://stackoverflow.com/questions/40095677/how-can-i-add-a-symbol-like-srcroot-to-use-in-an-xcode-projects-build-settin/51971532#51971532


[SPARK-45762][CORE] Support shuffle managers defined in user jars by changing startup order

What changes were proposed in this pull request?
As reported here https://issues.apache.org/jira/browse/SPARK-45762, ShuffleManager instances defined in a user jar cannot be used in all cases, unless specified in the extraClassPath. We would like to avoid adding extra configurations if this instance is already included in a jar passed via --jars.
Proposed changes:
Refactor code so we initialize the ShuffleManager later, after jars have been localized. This is especially necessary in the executor, where we would need to move this initialization until after the replClassLoader is updated with jars passed in --jars.
Before this change, the ShuffleManager is instantiated at SparkEnv creation. Having to instantiate the ShuffleManager this early doesn't work, because user jars have not been localized in all scenarios, and we will fail to load the ShuffleManager defined in --jars. We propose moving the ShuffleManager instantiation to SparkContext on the driver, and Executor.
Why are the changes needed?
This is not a new API but a change of startup order. The changed are needed to improve the user experience for the user by reducing extra configurations depending on how a spark application is launched.
Does this PR introduce any user-facing change?
Yes, but it's backwards compatible. Users no longer need to specify a ShuffleManager jar in extraClassPath, but they are able to if they desire.
This change is not binary compatible with Spark 3.5.0 (see MIMA comments below). I have added a rule to MimaExcludes to handle it https://github.com/apache/spark/pull/43627/commits/970bff4edc6ba14d8de78aa175415e204d6a627b
How was this patch tested?
Added a unit test showing that a test ShuffleManager is available after --jars are passed, but not without (using local-cluster mode).
Tested manually with standalone mode, local-cluster mode, yarn client and cluster mode, k8s.
Was this patch authored or co-authored using generative AI tooling?
No

I'll have to figure out the CI. It seems my fork is running things, but I am getting some failures in this page (AppVeyor and the Notify test workflow)

The MIMA tests are failing due to:
[error] spark-core: Failed binary compatibility check against org.apache.spark:spark-core_2.13:3.5.0! Found 1 potential problems (filtered 3908)
[error]  * method this(java.lang.String,org.apache.spark.rpc.RpcEnv,org.apache.spark.serializer.Serializer,org.apache.spark.serializer.Serializer,org.apache.spark.serializer.SerializerManager,org.apache.spark.MapOutputTracker,org.apache.spark.shuffle.ShuffleManager,org.apache.spark.broadcast.BroadcastManager,org.apache.spark.storage.BlockManager,org.apache.spark.SecurityManager,org.apache.spark.metrics.MetricsSystem,org.apache.spark.memory.MemoryManager,org.apache.spark.scheduler.OutputCommitCoordinator,org.apache.spark.SparkConf)Unit in class org.apache.spark.SparkEnv does not have a correspondent in current version

Which makes sense, since I changed SparkEnv.
I am not entirely sure if adding this to MimaExcludes is the right approach here, and I think I need some help.

Ok I believe given the mima code that I need to add a temporary restriction here: https://github.com/apache/spark/blob/master/project/MimaExcludes.scala#L37.

@tgravescs fyi

@tgravescs thanks for the review. I have handled your comments in this commit: https://github.com/apache/spark/pull/43627/commits/0bd7e990812d23166509ad6585c8d352f78e569f

@mridulm thanks for the comments. I have published a SPIP here https://issues.apache.org/jira/browse/SPARK-45792 that aims to show the bigger picture. Without the change of initialization order in this PR, we couldn't carry out the SPIP linked, because the ShuffleManager is initialized really early in the Executors today. I split this up into a separate PR to not introduce too much change at once, but your point is well taken. I would like to hear your thoughts around the SPIP and how we can proceed.
Note there is an alternative I can easily try and that is to instantiate a ShuffleManager wrapper, which would remove the change to the SparkEnv (we would instantiate the wrapper instead of the actual impl). We could then set the impl on this wrapper at a later time, when jars are localized and plugins are loaded. This felt a bit worse than the approach I have in this PR, but I am happy to hear opinions.
Thanks again!!

While I am not opposed to a way to create a short name for shuffle manager, if it results in nontrivial changes to Spark, I am not very inclined towards it.
IMO this should be something that is better handled in context of SPARK-25299, which unfortunately is partly done.

I agree that ideally we would finish SPARK-25299, I don't see that happening anytime soon.  I also don't think it covers the case of people replacing the entire ShuffleManager vs just the storage piece.   ShuffleManager API isn't public either but we have multiple implementations doing that now (Ubers RSS, project Gluten, Spark Rapids, I thought Cosco was although its not open source, etc).
One note is that issue SPARK-25299 had a sub issue that was going to use the SparkPlugin for configuration https://issues.apache.org/jira/browse/SPARK-30033/https://github.com/apache/spark/pull/26670 and had a pr that mentions the weird interaction with initialization and it works around it in a different way.
 The one thing that is user impacting is the SparkEnv api change, which if we only do with 4.0 shouldn't be a big deal, unless there is some usage I'm not aware of.  @mridulm  Is there a specific part you are concerned with?

@tgravescs @mridulm @beliefer I made a small tweak where the executorEnvs map in the SparkContext is populated with the configuration prefix spark.executorEnv.* after the driver plugin is instantiated (see the last two commits).

@tgravescs The SparkEnv related change is what gave me pause ... I am less concerned about the Executor side of things

@abellina, given SPARK-45792 is an SPIP, can you please surface in spark-dev@ and initiate a discussion on it ? I dont remember seeing it there.

@mridulm thanks for the comments. I think they mostly work and I’m testing it at the moment. I’ll push something either tonight or tomorrow am.
On the SPIP, I did send it to dev as a DISCUSS thread on November 4. I would like to get input on that as well.

On the SPIP, I did send it to dev as a DISCUSS thread on November 4. I would like to get input on that as well.

You are right, I do see it here - looks like I missed it :-(

@mridulm updated. Thanks for your comments and patch. I took most of it verbatim and cleaned up a couple of things.

Thanks @mridulm, yes the commits make sense, it brings back the late initialization in the driver. I tested the change, the main difference from your patch @mridulm is I had to still get the shuffle manage class names using the method we added to the ShuffleManager object here https://github.com/apache/spark/pull/43627/files#diff-42a673b8fa5f2b999371dc97a5de7ebd2c2ec19447353d39efb7e8ebc012fe32R592, because the shuffleManager is not set yet at this point.
@tgravescs fyi

There were some CI failures around missing dependencies in the documentation build (all tests are passing otherwise). So I have upmerged. I also tweaked a couple of comments here: https://github.com/apache/spark/pull/43627/commits/5480faa160bb704f9eb85d51e3fa64d15305268e

Merged to master.
Thanks for working on this @abellina !
Thanks for the reviews @tgravescs, @beliefer  :-)

Thanks @mridulm @abellina

Thanks @mridulm @tgravescs and @beliefer for the reviews and rework!

@dongjoon-hyun, tt is @DeveloperApi from point of view of usage - SparkEnv is not expected to be created by users, as some of the constructor parameters are not externally visible (RpcEnv, for example, cannot be created as it is private[spark]). There have been changes to its constructor in the past as well, after it was marked @DeveloperApi - though to be fair, these were a while back.
In general, I am conflicted about trying to preserve compatibility for things which are clearly private to spark - it inhibits the ability for the project to evolve: especially around major version boundaries (though we do have a lot of these instances where we try to maintain compatibility).
Given how long SparkEnv has been around, I can see valid case being made for adding a constructor which preserves earlier signature. Thiughts @tgravescs ?

@mridulm . Of course, it's legit if it's not easy or there is no other way. Also, we have a similar breaking proposal, #45052 , too. While reviewing that PR, I double-checked this PR briefly.
I'm totally fine if this is inevitable here and there. :)

Thanks for understanding @dongjoon-hyun !


Inconsistent handling of $sce trustedUrl with $http

// Works:
$http.get($sce.trustAsUrl('/')).success(function(d){$log.log(d);});

// Fails:
$http.get($sce.trustAsUrl('/'), {params: {timestamp: 0}}).success(function(d){$log.log(d);});

In the first case, when the trusted URL reaches the XmlHttpRequest, its toString method is used to get the wrapped URL. In the second case, the buildUrl function attempts to add parameters, but the given URL is not a string as expected.
I feel that the buildUrl function should reject a non-string argument for url in all cases.

Or perhaps buildUrl should understand and cope with "trusted" resources?

@pkozlowski-opensource could you take a look at this as part of the buildUrl refactoring?

I thought about suggesting buildUrl tolerate trusted URLs, but I couldn't think of a reason it should. I also can't think of a reason it should not, other than, "is it really necessary?" I would be agreeable to either option.
The main issue was trusted URLs were working some of the time, but failing with an unhelpful message at other times. According to the current documentation, it should be failing every time because url is specified as type string.

I have a work in progress PR that will fix this as a side effect of fixing #11352.  I started on it yesterday but didn't have time to finish it.  I won't get to it anytime today or tomorrow.  However, I created a work-in-progress PR to let folks know that some work has started on it.

In December we put in an explicit check for non-string URLs so that effectively closes this issue.
We are still looking at making JSONP more secure with $sce which might require us to relax that constraint going forward.


Custom options in Multiple Selector

It is possible to pass it on as options with another typing or another schema or it always needs to be in this format?
Option {
  value: string;
  label: string;
  disable?: boolean;
  /** fixed option that can't be removed. */
  fixed?: boolean;
  /** Group the options by providing key. */
  [key: string]: string | boolean | undefined;
}

The first 4 props are fixed.
You can add any other props you like.
An example


[0.6] Backport of !140 - [merged]

Merges cherry-pick-be0c1aaa -> 0.6
Update {x,y}0_mp keywords
See merge request LMSAL_HUB/aia_hub/aiapy!140
(cherry picked from commit be0c1aaa3372c5757d57c43d3c691dd798e771ec)
1a164a25 update {x,y}0_mp keywords
b18809ef changelog

In GitLab by @codecov on Nov 3, 2021, 13:55
Codecov Report

Merging #142 (d2d030c) into 0.6 (e1d19de) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##              0.6     #142   +/-   ##
=======================================
  Coverage   97.50%   97.50%
=======================================
  Files          16       16
  Lines         560      562    +2
=======================================
+ Hits          546      548    +2
  Misses         14       14

Impacted Files
Coverage Δ

aiapy/calibrate/meta.py
100.00% <100.00%> (ø)

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 4475e2b...d2d030c. Read the comment docs.

approved this merge request

In GitLab by @wtbarnes on Nov 3, 2021, 14:33
mentioned in commit 9f42bb1daa6567307fabadbd1e527eecfbe19bab


Mixing up Spark and SQL pools

An Apache Spark pool in your Azure Synapse Analytics workspace. For details, see Quickstart: Create a dedicated SQL pool by using Synapse Studio

I think the details link is pointing to an incorrect page.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c0f4f337-c2cf-9c67-2de4-051cd8b4f3d9
Version Independent ID: 1831d292-2a2d-f121-9bdf-9604fd7637b6
Content: Tutorial: Train a model by using automated machine learning - Azure Synapse Analytics
Content Source: articles/synapse-analytics/machine-learning/tutorial-automl.md
Service: synapse-analytics
Sub-service: machine-learning
GitHub Login: @NelGson
Microsoft Alias: negust

@VitalyMCT -
Thanks for brining this to our attention. We will investigate it further and update you shortly.

Article updated to point to the correct link. Change in PR 165139 @MonikaReddy-MSFT

@VitalyMCT Thank you for your contribution to Microsoft Docs. The article has been updated. I will go ahead and close this issue. The @notification mechanism continues to work even after an item is closed, in case further communication is needed. We hope to hear from you again.

#please-close


⚠ Adacta-fintech.com has degraded performance

In c18b74e, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 1267 ms

Resolved: Adacta-fintech.com performance has improved in d362515 after 10 minutes.


Pie Charts for Proportions

@AbigaleJiang Hey Abigale! I noticed you have done some proportion pie charts for your species in publications. I've been trying to do this for a couple days now!! I'm wondering if you could please give me a hand?

Oh, you know what! I did it somehow woo!


Store bench node socket in tmp dir

Issue Number
#1458

Overview

[x] Make sure the socket path is in a temporary directory

Comments

bors r+

Failures:
--
  |
  | src/Test/Integration/Framework/DSL.hs:1179:9:
  | 1) API Specifications BYRON_UPDATE_NAME_01 - Update names of wallets
  | expected: Status {statusCode = 204, statusMessage = "No Content"}
  | but got: Status {statusCode = 500, statusMessage = "Internal Server Error"}
  |
  | from the following response: Left (HttpException ResponseTimeout)
  |
  | To rerun use: --match "/API Specifications/BYRON_UPDATE_NAME_01 - Update names of wallets/"
  |

🤔 bors r+

bors r+

bors r+


DCOS-8430: Rename State to Status in TaskTable

Rename State to Status in TaskTable, for consistency across application.

Reviewer: @orlandohohmeier

Relevant tests are passing


appsettings / Authority value needs a '/' between the B2C instance and domain

appsetting.json file entries that gets generated is on lines of what is mentioned on this page.
"Authority": "{AAD B2C INSTANCE}{DOMAIN}/{SIGN UP OR SIGN IN POLICY}",
However, note that this does not work.
We need a '/' between the B2C instance and domain - "{AAD B2C INSTANCE}/{DOMAIN}"
Example mentioned does have a / .
So the command line generator and documentation seem out of sync.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ce89fc06-2c18-fbf8-0ac5-f50d41a67d8a
Version Independent ID: 490b7aec-0d31-9032-cb1d-ffcdfea5c976
Content: Secure an ASP.NET Core Blazor WebAssembly standalone app with Azure Active Directory B2C
Content Source: aspnetcore/blazor/security/webassembly/standalone-with-azure-active-directory-b2c.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @guardrex
Microsoft Alias: riande

Thanks @bizframe ... Looks like just a typo. I'll fix it either this evening or first thing Monday morning.

Actually ... not really a 🐛 ... just confusing. The {AAD B2C INSTANCE} includes the forward slash, so the fix here is to call that out and not have readers get confused by it not appearing there. I'll fix this with an instruction or a NOTE right there to call it out. Thanks for mentioning it, @bizframe.


[Task]: Update documentation to better explain "sdk_worker_parallelism" and "number_of_worker_harness_threads"

What needs to happen?
Page to update: https://beam.apache.org/documentation/runtime/sdk-harness-config/
Information about what needs to be updated and why:
From what I can tell browsing the code, this was used by the JRH (aka runner v1 python streaming) to control how many Python containers to launch, and also by Flink.
The most useful documentation would be https://beam.apache.org/releases/javadoc/2.37.0/org/apache/beam/sdk/options/PortablePipelineOptions.html#setSdkWorkerParallelism-int- but it seems it doesn't make it into javadoc so here's the info: https://github.com/apache/beam/blob/fdccad20f2af4f4af84b55529acae4b9d0004a01/sdks/java/core/src/main/java/org/apache/beam/sdk/options/PortablePipelineOptions.java#L69
It sets how many SDK processes per worker process.
Of course, it assumes the runner has a concept of "worker" and that things are organized as "processes" which is not always the case and not required by the model.
Number of worker harness threads is a Dataflow-specific option, referring to the number of threads the JRH or pre-portability Java worker use. The most important use here is for the service to instruct the worker on how many threads to spawn based on the machine type chosen, because Java + docker makes it unreliable to introspect the machine to choose this. I do not believe UW / runner v2 uses this flag.
Issue Priority
Priority: 3
Issue Component
Component: website

I can't seem to assign this to myself, but if it's possible, please assign to me.

.take-issue


minor fixes for ui glitches

mostly alignment of buttons in the thingpedia section and page

Pull Request Test Coverage Report for Build 3283

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 66.257%

Files with Coverage Reduction
New Missed Lines
%

routes/my_conversation.js
3
68.75%

Totals

Change from base Build 3282:
-0.02%

Covered Lines:
6497

Relevant Lines:
9227

💛  - Coveralls


OFF consumption > min ON consumption with TRADFRI bulb E27 WS globe 1055lm (LED2201G8)

System Health details
System Information

version
core-2024.5.5

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.2

os_name
Linux

os_version
6.6.28-haos-raspi

arch
aarch64

timezone
Europe/Paris

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

GitHub API Calls Remaining
5000

Installed Version
1.34.0

Stage
running

Available Repositories
1395

Downloaded Repositories
11

HACS Data
ok

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 12.3

update_channel
stable

supervisor_version
supervisor-2024.05.1

agent_version
1.6.0

docker_version
25.0.5

disk_total
234.0 GB

disk_used
17.9 GB

healthy
true

supported
true

board
rpi4-64

supervisor_api
ok

version_api
ok

installed_addons
Terminal & SSH (9.14.0), File editor (5.8.0), Mosquitto broker (6.4.1), ArgonOne Active Cooling (30a), Zigbee2MQTT (1.38.0-1), ZigStar TI CC2652P/P7 FW Flasher (0.4.0), Samba Backup (5.2.0)

Dashboards

dashboards
6

resources
5

views
16

mode
storage

Recorder

oldest_recorder_run
27 mai 2024 à 01:43

current_recorder_run
3 juin 2024 à 04:10

estimated_db_size
457.00 MiB

database_engine
sqlite

database_version
3.44.2

Checklist

[X] I have read the FAQ to see if there is a known solution to my problem.
[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
Hello,
when my bulb is off, power calc tells me 0.19w, and when it is on at minimum power calc tells me 0.18w
Reproduction steps

...
Debug logs
2024-06-03 05:21:07.804 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.ampoule_salon_2: State changed to "on". Power:0.18
2024-06-03 05:21:11.382 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.ampoule_salon_3: State changed to "off". Power:0.19
2024-06-03 05:21:11.392 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.ampoule_salon_1: State changed to "off". Power:0.19
2024-06-03 05:21:11.401 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.ampoule_salon_2: State changed to "off". Power:0.19
2024-06-03 05:21:11.416 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.ampoule_salon_4: State changed to "off". Power:0.19
2024-06-03 05:21:17.016 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_2: Looking up power usage for bri:255 mired:250
2024-06-03 05:21:17.016 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_2: Calculated power:7.0099999999999997868371792719699442386627197265625
2024-06-03 05:21:17.016 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.ampoule_salon_2: State changed to "on". Power:7.01
2024-06-03 05:21:17.032 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_4: Looking up power usage for bri:255 mired:250
2024-06-03 05:21:17.032 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_4: Calculated power:7.0099999999999997868371792719699442386627197265625
2024-06-03 05:21:17.033 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.ampoule_salon_4: State changed to "on". Power:7.01
2024-06-03 05:21:17.060 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_3: Looking up power usage for bri:255 mired:250
2024-06-03 05:21:17.060 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_3: Calculated power:7.0099999999999997868371792719699442386627197265625
2024-06-03 05:21:17.060 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.ampoule_salon_3: State changed to "on". Power:7.01
2024-06-03 05:21:17.070 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_1: Looking up power usage for bri:255 mired:250
2024-06-03 05:21:17.070 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_1: Calculated power:7.0099999999999997868371792719699442386627197265625
2024-06-03 05:21:17.070 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.ampoule_salon_1: State changed to "on". Power:7.01
2024-06-03 05:21:17.709 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_1: Looking up power usage for bri:1 mired:250
2024-06-03 05:21:17.709 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_1: Calculated power:0.179999999999999993338661852249060757458209991455078125
2024-06-03 05:21:17.709 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.ampoule_salon_1: State changed to "on". Power:0.18
2024-06-03 05:21:17.766 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_3: Looking up power usage for bri:1 mired:250
2024-06-03 05:21:17.766 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_3: Calculated power:0.179999999999999993338661852249060757458209991455078125
2024-06-03 05:21:17.766 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.ampoule_salon_3: State changed to "on". Power:0.18
2024-06-03 05:21:17.791 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_2: Looking up power usage for bri:1 mired:250
2024-06-03 05:21:17.792 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_2: Calculated power:0.179999999999999993338661852249060757458209991455078125
2024-06-03 05:21:17.792 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.ampoule_salon_2: State changed to "on". Power:0.18
2024-06-03 05:21:17.803 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_4: Looking up power usage for bri:1 mired:250
2024-06-03 05:21:17.803 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.ampoule_salon_4: Calculated power:0.179999999999999993338661852249060757458209991455078125
2024-06-03 05:21:17.803 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.ampoule_salon_4: State changed to "on". Power:0.18

Diagnostics dump or YAML config
No response

This are minor measuring fluctuations and to be expected.
Probably power at standby would be somewhere between 0.18 and 0.20 watt. Similar for lowest brightness level.
When measurement session is redone, it could be that standby power would get 0.19 at that time or maybe 0.17.
Powercalc will give you a good indication of approximate power estimation, but it's no exact science. Energy calculated will be within max few % of real usage.


fix(component): compliant with angular-cli

Coverage remained the same at 95.082% when pulling 5fc2ed7c47586770968f2a7304c7dbca3e2bf14b on miton18:master into b717ebf0e4182a21f05d1b9af772bfa994cec33a on paradox41:master.

The changes you've made are functionally equivalent to what you removed. Can you tell me a little about why you made this change?

Without an explanation, I don't see a reason to accept this. This is functionally equivalent to what is currently there.
I am happy to take a look again though. Thanks.


Floating action button can’t show on iPhone12 mini

Just updated the theme yesterday, after that I can’t proper use the floating action button for now, it’s half hidden on my screen.

Hi there! Does the issue still persist? I am having a hard time recreating it.

Yeah, it’s still there. Nothing change since my last post. Can I offer any info to help? Not sure what did I to my phone version Obsidian to make this issue still there…

This is from this morning.

It happens on iPhone Xs too

It happens on my iPhone 13pro too.


adds license information for DailyDialog.

Thanks! Can you also add it as metadata in the YAML block at the top of the file?
Should be in the form:
licenses:
- cc-by-sa-4.0

seems like we need to add all the other tags ?
if error_messages:
>           raise ValueError("\n".join(error_messages))
E           ValueError: The following issues have been found in the dataset cards:
E           YAML tags:
E           __init__() missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'languages', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids'

I'll let @lhoestq or @yjernite chime in (and maybe complete/merge). Thanks!

Looks like CircleCI has an incident. Let's wait for it to be working again and make sure the CI is green

The remaining error is unrelated to this PR, merging