help: Note that channel names can include Unicode emoji.

Also add a tip about links in channel descriptions.
CZO discussion
Current: https://zulip.com/help/rename-a-channel

Updated

Current: https://zulip.com/help/create-channels#tips-for-creating-channels

Updated

Merged, thanks @alya!


bulk deletion, prompt image etc.

some features

🆒 Bulk deletion
🔥 Displays the image of every prompt, easy to preview, apply or delete
💖 Fix size of the preview image
🛶 Adapt to page layout, below 2k resolution (perfect in 4k)

code side

📐 Optimize web-side code performance
🧹 Format the code for easy maintenance

sorry，please ignore the Readme.md, not very good at PR.

sorry，please ignore the Readme.md, not very good at PR.

can you remove the readme file from PR or update the features part only?

sorry，please ignore the Readme.md, not very good at PR.

can you remove the readme file from PR or update the features part only?

how to remove it? I just know some simple options in github.

sorry，please ignore the Readme.md, not very good at PR.

can you remove the readme file from PR or update the features part only?

how to remove it? I just know some simple options in github.

maybe I will patch the current source from your repo and create a reference to your MR. it will be easier to do.

sorry，please ignore the Readme.md, not very good at PR.

can you remove the readme file from PR or update the features part only?

how to remove it? I just know some simple options in github.

maybe I will patch the current source from your repo and create a reference to your MR. it will be easier to do.

That's okay, just do it the easiest way. github is too hard to use, I don't like it.
Maybe you merge the code, restore the old code, and commit it again.
I often do this on SVN, but don't know if it's okay to do this on github.

sorry，please ignore the Readme.md, not very good at PR.

can you remove the readme file from PR or update the features part only?

how to remove it? I just know some simple options in github.

maybe I will patch the current source from your repo and create a reference to your MR. it will be easier to do.

That's okay, just do it the easiest way. github is too hard to use, I don't like it.
Maybe you merge the code, restore the old code, and commit it again. I often do this on SVN, but don't know if it's okay to do this on github.

i was used svn for a very long time ago :D at least 12 years for sure.
anyway i will handle this case. thanks for the PR

thanks for the PR, all ideas are implemented.


Clone knex instance

Is it possible to clone a knex instance, in order to reuse code?. For example, supose we have:
var query = knex('some-table as t1')
  .select('something')
  .join('other-table as t2', 't1.id', '=', 't2.t1_id');

function where1() {
  //reuse previous joins in query,
  //but with specific where
  var q = query.clone()
    .where('t1.a', '=', 1);
  q.exec(function(err, response) {
    //do something
  });
}

function where1() {
  //reuse previous joins in query,
  //but with specific where and join
  var q = query.clone()
    .join('third-table as t3', 't2.id', '=', 't3.t2_id')
    .where('t3.b', '=', 1);
  q.exec(function(err, response) {
    //do something
  });
}

Thanks.

Hello @tgriesser, any news on this topic? I'd be interested in reusing knex objects for multiple queries with small changes, like @agmoyano commented.
If currently there is a way to do that without cloning the object, please let me know.
Thanks!

Small bump as this is still something that's a gotcha to new developers and a PITA for experienced ones

@KristjanTammekivi umm... if you mean the fact to make knex builder immutable, that would be a huge change to the way how knex behaves + pretty much everyone would need to rewrite their knex code to support the new way (immutability would be nice though). Also making that happen in an efficient way would require huge changes to internal implementation.

A common case for this is defining an object to run multiple queries against the same table. For example:
const myTable = knex('vehicles');
const cars = myTable.select(['id', 'name']).where('type', 'car')
const bicycles = myTable.select(['id', 'name']).where('type', 'bicycle')

In this instance the second query fails because it will select where type equals both values as the state stacks. I've seen a bunch of ways to get around this, but it seems like a common enough case that it might be worth supporting with some kind of immutable stub?

In this instance the second query fails because it will select where type equals both values as the state stacks. I've seen a bunch of ways to get around this, but it seems like a common enough case that it might be worth supporting with some kind of immutable stub?

There is a .clone() method for that...
const vehicles = knex('vehicles').select(['id', 'name']);
const cars = vehicles .clone().where('type', 'car');
const bicycles = vehicles .clone().where('type', 'bicycle');

of course immutable query builder would be nicer (even that it would break pretty much everyone's current code. Also to implement immutability efficiently knex internals should be pretty much rewritten.

@elhigu - Thanks for the response. That makes sense and thanks for the pointer to .clone.
I totally get what you are saying about breaking the current implementation and a generalized immutable query builder. To be more clear I guess I was wondering if adding a different method for immutable table selection was possible without breaking everything else, treating it as a special case because it seems like a very common case, much more common than building a partial complex query and then running variations of it.
I haven't dug into the internals a lot, but if this was possible and there was interest I would consider working on it.
I could see this implemented something like this to avoid breaking existing implementations:
mytable = knex.table('books', immutable: true)

Does this make any sense?

Big problem with allowing immutable + non-immutable query builders at the same time is that we would have to add lots of testing to cover both ways well enough.
Basically if that support would be implemented I would prefer deprecating non-immutable way as soon as possible, but still providing at least one knex version that could be used to migrate projects easily that supports the both ways, but test bench doesn't have to support the both ways (having configuration switch, which enables immutability, change all tests to work with immutable query builders by default etc.)
So it would be more like:
const knex = require('knex')({ client: 'pg', immutableQueryBuilder: true, connection: {...}});

Anyways that would mostly require rewrite of knex internals to be performant. Hacky implementation would be to add lots of clone() everywhere and hope that it works, but in my opinion that is a bad idea and I would not support that route.

@elhigu - That makes sense, thanks for the explanation!

@elhigu Do you think there is value in the following approach:

Knex QueryBuilder supports an intermediate JSON/serializable representation (along with fromJSON and toJSON functions) and internals (Query compiler etc.) depend on this JSON.

Two query builder implementations (mutable and immutable) can target the same representation internally with same (or almost same) APIs.

Over time the mutable one can be deprecated if there are no obvious performance concerns.

If this is something that can potentially be adopted, I can fiddle around this over the next couple weeks to gauge how much effort and testing will be required.

Knex is great, but mutability and a fluent/chainable API makes a dangerous and counter-intuitive combination.  Registering interest in a immutableQueryBuilder: true option.


email-templates Webpack compilation error

Module not found: Error: Can't resolve 'atpl
Module not found: Error: Can't resolve 'bracket-template'
Module not found: Error: Can't resolve 'coffee-script'
Module not found: Error: Can't resolve 'dot'
....
Module not found: Error: Can't resolve 'whiskers'
on /node_modules/consolidate/lib/consolidate.js 769:59-78 780:59-78

Add externals with all dependencies


Create a container definition for JavaScript exercism.io (Node 12)

This change creates a container definition for Javascript exercism.io task solving environment based on Node.js 12

Thanks for tagging me. I agree with raising awareness from the Exercism docs and/or extension. I did notice the extension appears not to be officially associated with Exercism, though.
I also wonder where it makes the most sense for this container definition to live- it seems like individuals who would like to use it might get the most benefit from it if it could be merged directly as part of an Exercism repo (maybe going one step beyond just referencing it there). Is there a location from which users pull Exercism exercises? It feels like it'd be natural to include a dev container definition there, so that they could pull source code + a dev container all together.
I also agree with Chuck's comments about making the definition as general as possible.

@Chuxel and @bamurtaugh you are right, earlier I thought that will be nice if this container would be in the VSCode container repository, because it already contains all the necessary tools in order not to look somewhere in the documentation or elsewhere, but you convinced me that it is easier for everyone to create such a container by himself using VSCode Remote Containers.
Alas, I could not write my nickname in history :)
I think that this MR can be closed, but I got experience while creating this container, this is an invaluable experience. Thank you for your time, you are the best!

Sounds good!  Thanks for the work on it!

Thank you for your time and work in creating this container definition! Glad it could be a good experience :)


DECR1 and DECR2 use NADPH, not NADH

Current behavior:
These are all reactions currently in Human-GEM that use NADH to reduce 2,4-dienoyl-CoAs and are associated with DECR1 and/or DECR2:

ID
Reaction

MAR03322
2-trans-4-cis-decadienoyl-CoA [x] + H+ [x] + NADH [x] --> NAD+ [x] + trans-3-decenoyl-CoA [x]

MAR03296
2-trans-4-cis-decadienoyl-CoA [m] + H+ [m] + NADH [m] --> NAD+ [m] + trans-3-decenoyl-CoA [m]

MAR06433
11-carboxy-alpha-tocotrienol [m] + ATP [m] + CoA [m] + 2 H2O [m] + NAD+ [m] + O2 [m] --> 9-carboxy-alpha-tocotrienol [m] + acetyl-CoA [m] + AMP [m] + 2 H+ [m] + H2O2 [m] + NADH [m] + PPi [m]

MAR06448
11-carboxy-gamma-tocotrienol [m] + ATP [m] + CoA [m] + 2 H2O [m] + NAD+ [m] + O2 [m] --> 9-carboxy-gamma-tocotrienol [m] + acetyl-CoA [m] + AMP [m] + 2 H+ [m] + H2O2 [m] + NADH [m] + PPi [m]

Expected behavior:
DECR1 (the mitochondrial enzyme) and DECR2 (the peroxisomal equivalent) both appear to be exclusively capable of using NADPH and not NADH to catalyze this reaction. MAR04970 and MAR04974 already represent NADPH-dependent equivalents of MAR03296 and MAR03322, respectively, so MAR03322 and MAR03296 can just be removed. The other two have a number of other problems, which I address separately in #738
Proposed changes:

[ ] Remove MAR03322 for being a less accurate version of MAR04974
[ ] Remove MAR03296 for being a less accurate version of MAR04970

DECR1 (the mitochondrial enzyme) and DECR2 (the peroxisomal equivalent) both appear to be exclusively capable of using NADPH and not NADH to catalyze this reaction. MAR04970 and MAR04974 already represent NADPH-dependent equivalents of MAR03296 and MAR03322, respectively, so MAR03322 and MAR03296 can just be removed.

yes, it does appear that the NAD versions (MAR03322 and MAR03296) should be removed.
additionally and relevant to this, MAR04005 (the cytosol version of MAR04970[m] and MAR04974[x]) may also be revmoed?

yes it does look like MAR04005 is isolated and there's no reason to believe it'd happen in the cytosol, so it makes sense to remove it along with MAM00678c and  MAM03035c (since MAR04005 is the only reaction either of those metabolites participate in)

MAR04005 is removed by fa52bf007c21a8750c5b577fc0a8f55448ea849a in #788

MAM00678c and MAM03035c are now removed by 1e2fac9de6702bdf6120b6dc8ddaf8527c8211f1

fixed by #788


[Question] How to split DB state into multiple reducers

(I'm rather new to react/redux - sorry if this is a dumb question)
I have an existing app using react native and redux (still in early dev stage), and I'm trying to refactor it to use redux-orm.
The code is divided into "modules", each one with its own reducer (and its own models, selectors, components,...)
Each reducer is in charge of a part of the state, and then I use combineReducers to create a root reducer.
// rootReducer.js
export default combineReducers({
    books: books.reducer, // I want to use ORM here.
    authors: authors.reducer, // I want to use ORM here.
    nav: navigation.reducer,
});

As far as I understand from the docs, (if not following the approach of reducers as static methods of models) Redux ORM works with just one reducer to manage all the DB state, is that correct?
i.e., you can still use combineReducers to have other reducers for things like navigation, forms, or whatever, but all the stuff to deal with "DB entities" must be in a single reducer...
I saw issue #17, which seems to be related, but I don't really understand the solution there...

Basically, I'd like to know whether the approach explained in this section of Redux docs is applicable with Redux ORM.
Redux docs: Separating data handling by domain
As far as I understand, this is not possible since the "slice" of the state that is managed by the ORM must contain all the models...
// this is the whole state...
{
    orm: {/* this needs to contain all the models */},
    otherSlice: {/* you can still have separate state, but not handled with ORM */}
}

You can also factor out the logic to handle actions to separate "case reducers", which afaik can use ORM, but again, all the models state needs to go into the same "slice"...
Is this correct?

@miguelrs : you could certainly have multiple "entities" slices in your app's state if you wanted.  Admittedly, this is a use case I haven't had to deal with yet, so I don't have any real answers on this one.

When you say I could, do you mean I could with the existing Redux-ORM?
The only way I can think of is creating one instance of ORM per slice - I'm not even sure it'd work, but doesn't feel right...
Anyway, assuming I have all the models in one slice, how can I structure a big app without having a massive "module"?
(by "module" I understand a place where I put components, reducer, selectors, actions, etc. related to a part of the system).

E.g., imagine I have an app to manage a library, with 2 main parts:

the book catalogue, with models like Book and Author. I need to be able to query for books in lots of different ways, and also add/modify/delete books/authors in multiple ways - this requires many selectors, many actions and a complex reducer.
the book lending stuff, with models like Member and Loan. Again, there's lots of actions and selectors required to manage all this.

In this scenario, I'd have 2 "modules", so I'd separate my state in 2 slices, and would have one reducer for each part, and also will have the selectors and actions separated for each module.
How would I structure this using Redux-ORM? Is it normal practice to put all this stuff in a single module?

Yes, my answer was picturing having multiple ORM instances, and multiple "DB slices".
If you look at my "Practical Redux" series, I show some examples of ways to write generic CRUD-type behavior for different model classes stored in Redux-ORM, as well as feature-specific reducer behavior.  You might want to read through that and get some ideas.
Are you picturing code-splitting these different "modules", or just trying to maintain encapsulation?

@miguelrs : Part of the issue here is that you're trying to treat all of these "modules" as being completely encapsulated for each other.  At some point, parts of this have to get combined into something the application as a whole can understand.  If different "modules" require data from each other, then yes, either you have to have higher-level logic that wraps them up and injects the data they need, or they just know that the other modules exist and import the parts they need.
Afraid I don't have time to answer this in more depth right now.
As for the session.reduce() thing, that's because most of the blog posts were written using the Redux-ORM 0.8 API, and 0.9 changed things.  See Practical Redux Part 9 for details on the changes.
You might want to drop by the Reactiflux chat channels at some point.  I may have time to discuss this further later this week.

Thanks a lot for taking your time to answer - yes you're probably right, I think I can work a bit around that approach in my previous post to be able to separate things quite nicely 👍
(I'm closing this as this is not really an issue)


Default identifier/pattern style is legacy

In nanoc 4, identifiers still use the legacy syntax (/foo/ rather than /foo.md) by default. The pattern syntax is also legacy rather than glob (/stuff/*/ rather than /stuff/**/*).
I suggest changing the defaults, and providing clear instructions on how to upgrade to nanoc 4 while retaining legacy identifier syntax and glob syntax.

:+1:

Fixed by #592.


SQL: System tables for introspection

It is common amongst DBMSes to expose system information through special system tables. This practice helps people understand the system better and provides visibility into what's going on. Druid has a couple already, see: http://druid.io/docs/latest/querying/sql.html#retrieving-metadata.
In addition to the INFORMATION_SCHEMA I propose adding a "system" schema with :

system.segments -- a row per segment. It should include both segments from the metadata store and segments that are served, but not yet published (i.e. segments that are served from realtime tasks). It should include the DataSegment payload as one of its columns, plus some other useful columns like: dataSource, start, end, is_published, is_available, is_realtime.
system.servers -- a row per server. It should include host, port, and server type. I think at first it would be ok to only include data servers here (i.e. historicals and peons). Eventually we would want to include all server types.
system.server_segments -- a row per segment per server. The idea is that this is a table that can be used to join segments with servers.
system.tasks -- a row per task.

The segment-related tables would largely be meant as more user-friendly alternatives/replacements to the hodgepodge of REST APIs on http://druid.io/docs/latest/design/coordinator.html. The task table would be an alternative to the task APIs on the overlord.
For these tables to work, the information needs to be available on the broker. Some of this data it already has pre-cached (for example: served segments for system.segments are in one of its ServerViews, as are all the data servers for system.servers, and all the server-segment mappings for system.server_segments). Some of this data the broker does not know today (for example: metadata segments for system.segments are only known to the coordinator, and tasks for system.tasks are only known to the overlord).
For the data that the broker already has, the system tables should be wired up to it, similar to how INFORMATION_SCHEMA works.
For the data that the broker does not have, we could either pull it in and pre-cache it, or we could pull it on demand. For metadata segments I could see this going either way. For tasks I think we should not pull and cache -- it changes frequently and we don't want the data to be stale (users will likely rely on this table to be up-to-the-second). So for tasks we should pull "live" from the overlord on each query. There isn't an example of this being done today, but it's something Calcite is capable of. We should also endeavor to push down filters (like dataSource, task type) where possible.

@gianm is this done?

Yes, it was added through #5989 and follow-on PRs.


Dev merge to master

Dev merge to master

Tofa.05

Lol you beat me to it :) merge ahead!

Pada tanggal 19 Jul 2017 05:09, "goedzo"<EMAIL_ADDRESS>menulis:
Lol you beat me to it :) merge ahead!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/PokemonGoF/PokemonGo-Bot/pull/6097#issuecomment-316198596,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ac3n_kO1AuINzyivHM34LOVtx47wkUuMks5sPR7wgaJpZM4Ob5Dy
.


Improve the footer of rejuvenate section #78

https://github.com/akshitagupta15june/Moksh/issues/78#issue-1677737959

Please remove quick link and home too
I forgot to mention that

can u also look at the conflicting file issues
please do a fetch merge too


Improving TimeZone config

defaults the timezone to the same as your Host timezone.
parameter to input timezone otherwise.
if no timezone section in .psd1 , just ignores.

Did try to get a straight edit into the nested hashtables but I kind of suck so didn't manage it.

I appreciate your work and willingness to contribute. I'm going to not accept this into the code base only because I am working on a larger toolset to make it easier to customize the psd1 files. In addition to changing the time zone, you might need to change a VM name to avoid a naming collision. Or you might want a different subnet or default password. I'm working on a broader tool to modify data configuration files.

Dang !, this was my first go at contributing to an actual project with code.
Not trying to have a go but was there somewhere I could have picked up on the fact this wasn't needed.  Not sure of the process, I just seen an open issue I thought I could grab.

And I truly appreciate it. The challenge with the project is that any change has to be tested across all the configurations.

V true, well let me know if I can help out with other stuff.   I'm a huge fan of lowering barriers of entry and also quickly making test infra to play with so this project is right up my alley.


chore(npm): ncu update & verify react-intl-po

Issue:
no
What I did
How to test

Deploy preview ready!
Built with commit 33a48ee69da395a99392533d8609c315e6481cfc
https://deploy-preview-423--mcslite.netlify.com

Deploy preview ready!
Built with commit 33a48ee69da395a99392533d8609c315e6481cfc
https://deploy-preview-423--mcs-lite-ui.netlify.com

Deploy preview ready!
Built with commit 33a48ee69da395a99392533d8609c315e6481cfc
https://deploy-preview-423--mcs-lite-introduction.netlify.com


[WIP] Create new ID to Element map

Render only the element with a certain ID.
Still missing: Exposure to the API level. Fixes #26

Still trying to add tests but would welcome early feedback to the API @mpsuzuki, @moazin and @qrb7xc.


Autosubmit is sometimes not merging valid request on tree-status failure

Is there an existing issue for this?

[X] I have searched the existing infra issues

Type of Request
bug
Infrastructure Environment
Autosubmit
What is happening?
For some reason a perfectly valid pull request was not merged on tree-status failure. The correct labels were added but Autosubmit was calculating the CISuccessful check as failed and would not merge the request until the labels were re-added.
The issue seems to be with how we are calculating the tree-status check. See this pull request: https://github.com/flutter/engine/pull/47024
Steps to reproduce
Unsure how to reproduce this as it seems the service hit some kind of corner case on this one.
Expected results
I expect that Autosubmit will merge the pull request given the correct labels were applied and no other checks were failing.

The reason this is happening is because we are hitting a case where sometimes the tree status label is not detected with the pull request when we process the pr. The issue has to do with our use of the graphql api.


With md.supportHtml = true and VS Code Remote SSH, a PNG file in remote workspaces cannot be loaded on completion items

Version: 1.63.0-insider (Universal)
Commit: bedf867b5b02c1c800fbaf4d6ce09cefbafa1592
Date: 2021-11-18T05:17:00.890Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin arm64 20.6.0
Related to  #136027
Setting md.supportHtml = true and VS Code Remote SSH, on the markdown document of a completion item, a PNG file in remote workspaces cannot be loaded.
Steps to Reproduce:

Open a remote workspace with VS Code Remote SSH
Copy a file img.png to the workspace.
Execute https://github.com/tamuratak/vscode-extension-samples/tree/supporthtml_img_remote/completions-sample
Execute Trigger Suggest
None of images cannot be loaded.

Developer Tools says VS Code Insiders fails to load a file vscode-file://vscode-app/home/ubuntu/img.png. ubuntu is a username on my remote server.

import * as vscode from 'vscode';
import * as path from 'path';

export function activate(context: vscode.ExtensionContext) {

	const provider1 = vscode.languages.registerCompletionItemProvider('plaintext', {

		provideCompletionItems(document: vscode.TextDocument, position: vscode.Position, token: vscode.CancellationToken, context: vscode.CompletionContext) {

			const activeFolder = vscode.workspace.workspaceFolders?.[0]
			if (!activeFolder) {
				return
			}
			const pngPathUri = vscode.Uri.joinPath(activeFolder.uri, 'img.png')
			const pngPath = pngPathUri.fsPath
			const pngPathUriString = pngPath.toString()

			const snippetCompletion = new vscode.CompletionItem('Good part of the day');
			snippetCompletion.insertText = new vscode.SnippetString('Good ${1|morning,afternoon,evening|}. It is ${1}, right?');
			const md = new vscode.MarkdownString(`1 <img src="${pngPathUriString}"> 2 <img src="${pngPath}"> 3 ![a](${pngPathUriString}) 4 ![a](${pngPath})`);
			md.supportHtml = true
			snippetCompletion.documentation = md

			// return all completion items as array
			return [
				snippetCompletion
			];
		}
	});
	context.subscriptions.push(provider1);
}

I think this is https://github.com/microsoft/vscode/issues/97759, cc @mjbvz

I don't think so. Paths, on my example, are absolute, not relative.

I have found that my description of the issue is not correct. I will open a new issue.

Done #137632


now it got worse!

Need a log. Under the preferences window, go to the Advanced tab and "Enable Developer Logs", then restart the program.

Those shortcuts that are greyed out basically check that the exe exists, so I'd check that your exe path is correct.

debug_02-09-2023_00-49-00.log

Yeah, make sure "Game Data Path" is the "Data" folder, and "Game Executable Path" is bg3.exe.

working , I had inverted the data folder with the executable, now it is corrected and working


Determine end of definition location

Currently, the source location of a shape is used to set both the start and end positions of a location range when building the map of definition locations used by the definition provider.
This CR improves the definition locations by finding the appropriate end position of a shape. By working from the bottom of a file to the top, the real end of a shape definition can be found by ignoring the traits and comments of the shape beneath it in a file.
With improved definition locations, clients can render more accurate definitions.
In VS Code, the Peek Definition pane currently shows the following definition for a shape:

With the improved definition location, the entire shape is highlighted:

When using the "Go to Definition" context option, the cursor still moves to the beginning of the shape. With this CR, when selecting "Go to Definition" when the cursor is already within a shape, the cursor will no longer move. Currently, the cursor moves to the beginning of the shape definition due to the definition location being a zero-length location range that precedes the actual shape definition.
This CR also cleans up the unused reload method in SmithyProject.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

When using the "Go to Definition" context option, the cursor still moves to the beginning of the shape. With this CR, when selecting "Go to Definition" when the cursor is already within a shape, the cursor will no longer move. Currently, the cursor moves to the beginning of the shape definition due to the definition location being a zero-length location range that precedes the actual shape definition.

I've not read the code so bear with me, but could use these more precise locations to actually determine the actual shape the cursor is hovering over ? Go to Definition suffers from not having this information, as it does a naive extraction of the underlying string, then gets you the first shape the name of which matches that string. If we had a Location => Shape method, when the cursor is on a member shape, we could jump to the actual targeted shape. There's also a number of additional LSP endpoints that could be implemented by virtue of having this information.

When using the "Go to Definition" context option, the cursor still moves to the beginning of the shape. With this CR, when selecting "Go to Definition" when the cursor is already within a shape, the cursor will no longer move. Currently, the cursor moves to the beginning of the shape definition due to the definition location being a zero-length location range that precedes the actual shape definition.

I've not read the code so bear with me, but could use these more precise locations to actually determine the actual shape the cursor is hovering over ? Go to Definition suffers from not having this information, as it does a naive extraction of the underlying string, then gets you the first shape the name of which matches that string. If we had a Location => Shape method, when the cursor is on a member shape, we could jump to the actual targeted shape. There's also a number of additional LSP endpoints that could be implemented by virtue of having this information.

Yes, the member's location could be used to determine its actual definition which could then allow for jumping to its target. One nice side-effect of the current naive extraction is that tokens can be pulled out of line docs and you can still jump to the definition.
Which other LSP endpoints did you have in mind for being able to use a Location => Shape method?

Which other LSP endpoints did you have in mind for being able to use a Location => Shape method?

I was thinking things along the lines of :

find references
rename symbol


Show dektec modulator tuning parameters?

Is it possible to print the exact tuning parameters of a modulator, most importantly the symbol rate, if it's not entered in the command line? In the example below, the symbol rate gets smartly calculated to 29102, which is great, I didn't have to specify it manually. But then the problem is that only blindscan (or a DVB bandwidth calculator) can actually tell me what's the symbol rate. Is there a way to show the resulting symbol rate (and perhaps other parameters) after running tsp?
This is my command:
tsp -v -I dvb --adapter 2 --delivery-system DVB-S2 --modulation QPSK --lnb 9750,10600,11700 --frequency<PHONE_NUMBER>0 --polarity vertical --fec-inner 9/10 --symbol-rate 44100000 --pilots on --roll-off auto -O dektec --device 1 --modulation DVB-S2-8PSK --convolutional-rate 8/9 --lnb 5150 --satellite-frequency<PHONE_NUMBER> --level -390 --stuffing
and output I receive
* dvb: using TBS 5922 USB DVB-S2 Tuner (DVB-S)
* dvb: tuned to transponder --frequency<PHONE_NUMBER>0 --symbol-rate 44100000 --fec-inner 9/10 --spectral-inversion auto --polarity vertical --delivery-system DVB-S2 --modulation QPSK --pilots on --roll-off auto --lnb 9750,10600,11700 --satellite-number 0
* dvb: input bitrate is 77,004,969 b/s
* dektec: using Dektec device 1, output channel 0 (DTA-107 port 1)
* dektec: output fifo size: 8,388,608 bytes, max: 8,388,608 bytes
* dektec: setting output carrier frequency to 1,055,000,000 Hz
* dektec: initial output bitrate: 77,004,969 b/s
* dektec: DTA-107 output FIFO load is 6,710,848 bytes, starting transmission

and the screenshot shows blindscan result - as you can see, the symbol rate of 29102 is nowhere to be seen in the tsp output shown above

The plugin displays the parameters which are passed to the Dektec API, including the default values which were not specified on the command line.
If I am not wrong, you are asking for the actual parameters which are applied on the output signal. Only the modulator knows them and I have not seen any way to obtain those informations from the Dektec API. Sorry.

Yes, what I was asking about was the symbol rate of the output signal from Dektec. Since TSDuck knows the bitrate and all the tuning parameters (except symbol rate in my case), it could be able to calculate the symbol rate which will be used by the modulator.

Hi @rezna11
This was an old one I finally fixed. In the output plugin dektec,  when the output bitrate is specified but not the symbol rate, the computed output symbol rate is displayed on start. This is a verbose level message (use tsp -v).
Fixed in commit 2c8133fb3e2de2267d740d60ad552a7dbf023949, version 3.8-526.


Parallel level in sync

Which version of the AzCopy was used?
azcopy version 10.1.0
Which platform are you using? (ex: Windows, Mac, Linux)
Linux
What command did you run?
azcopy sync "$folder" "$container/$saskey" --recursive=true --parallel-level 20 --delete-destination=true
What problem was encountered?
unknown flag: --parallel-level

See the AZCOPY_CONCURRENCY_VALUE environment variable documented here https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10#advanced-configuration.
There is no command line parameter for parallelism.
Btw the default behaviour is already highly parallel. There is seldom any need to change it.
Get Outlook for Androidhttps://aka.ms/ghei36

From: 6ixtec<EMAIL_ADDRESS>Sent: Saturday, May 18, 2019 12:42:02 AM
To: Azure/azure-storage-azcopy
Cc: Subscribed
Subject: [Azure/azure-storage-azcopy] Parallel level in sync (#390)
Which version of the AzCopy was used?
azcopy version 10.1.0
Which platform are you using? (ex: Windows, Mac, Linux)
Linux
What command did you run?
azcopy sync "$folder" "$container/$saskey" --recursive=true --parallel-level 20 --delete-destination=true
What problem was encountered?
unknown flag: --parallel-level
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-storage-azcopy%2Fissues%2F390%3Femail_source%3Dnotifications%26email_token%3DAGFQHPR5PITLFLJIA7F6QC3PV2RZVA5CNFSM4HNU5ZCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUMTXVA&data=02|01|john.rusk%40microsoft.com|9ff1190b0a2148c0215c08d6dac5105d|72f988bf86f141af91ab2d7cd011db47|1|0|636936937255279323&sdata=cJq4UPvOUmHtDSfx3rv2mwLujTQ%2FrkQ0UzEKes%2BKiCE%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGFQHPSYQ3P2DT2LLV5BE4TPV2RZVANCNFSM4HNU5ZCA&data=02|01|john.rusk%40microsoft.com|9ff1190b0a2148c0215c08d6dac5105d|72f988bf86f141af91ab2d7cd011db47|1|0|636936937255289314&sdata=AjzbDLACl%2Bq4MOJK2oUj35MZCPIUTLYAXS%2F8p2sk4jg%3D&reserved=0.

Hi @JohnRusk
I came here trying to find out how to instruct azcopy to sync only a few files at a time.
I will try to explain a scenario where I think that limit simultaneous syncing files is very useful.
I have a folder with 70~ big files that I want to put in Azure Blobs,
The first time I run AZcopy It will start to upload 70 files at a time (which is crazy). Lets suppose that after 8 ours or running, none of then still finished its upload. At this point, for a given reason, you have to stop azcopy.
As none of the sync files job has ended, if you cannot resume later, all your effort is lost.
I'm uploading to Azure Blob and I think resume is not possible, I'm right?
Not all the people has a big bandwidth, sometimes the upload slow a lot all the net, etc, you will find a lot of reasons to stop azcopy.
So if you can narrow the sync effort to a few files at a time, you will have a better chance of sync success or at least not to lost all the work doing.
At this moment, I'm facing this problem. :(
It should be good to have the possibility to instruct Azcopy to sync a few files at a time (not to attack all the sync files at once).
I hope my point has been understood.
Regards.

Hi @roberdaniel, thanks for the feedbacks!
The tool was indeed optimized for high bandwidth scenarios, and that's why we try to do as many files simultaneously as possible, since the service side scales better this way.
I see that for your scenario, the current behavior is not ideal. I'll discuss with @JohnRusk and the team to figure out how to better support it.

Robert and Ze, I've been thinking for some time of adding an optional environment variable to configure the number of files that are read from disk at the same time. If that is added, you'll be able to set it to a low value, to achieve what you want.
However, we are trying to minimize the number of "tuning knobs" that users have to think about when using the tool. So we'll need to think about it a bit more to decide whether that really is the right way to do this.
@roberdaniel What would you think of setting an environment variable, called for example AZCOPY_CONCURRENT_DISK_FILES?.  If you set it to, e.g., 10, then it won't start reading the 11th file until the one of the first 10 has been fully read.

Robert and Ze, I've been thinking for some time of adding an optional environment variable to configure the number of files that are read from disk at the same time. If that is added, you'll be able to set it to a low value, to achieve what you want.
However, we are trying to minimize the number of "tuning knobs" that users have to think about when using the tool. So we'll need to think about it a bit more to decide whether that really is the right way to do this.
@roberdaniel What would you think of setting an environment variable, called for example AZCOPY_CONCURRENT_DISK_FILES?. If you set it to, e.g., 10, then it won't start reading the 11th file until the one of the first 10 has been fully read.

Hi John
I think that AZCOPY_CONCURRENT_DISK_FILES will achieve exactly what I need.
I'm very pleased to this issue has been reopened.
Thank you very much.
Regards.

I will add this environment variable to PR #511

Glad to hear that

BTW, I might change the name slightly, e.g. to AZCOPY_CONCURRENT_FILES.

Sure!, regards.

The release is out now, version 10.3 and I can confirm the name is AZCOPY_CONCURRENT_FILES.

Many thanks, I will try it.
Regards!!!


[BEAM-13187] Set filesToStage after full jar resolution.

This cherry-picks https://github.com/apache/beam/pull/15891 to the 2.34.0 release branch.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Closing in favor of https://github.com/apache/beam/pull/15902


News sub headlines are covered by navbar

When a news article is navigated to using an id, the fixed navbar covers that id.
For example: when visiting the "Visual Studio Code" id of this article
https://www.freecodecamp.org/news/getting-started-with-react-a-modern-project-based-guide-for-beginners-including-hooks-2/#visualstudiocode
The sub headline "visual studio code" with the id visualstudiocode is covered by the navigation and users should scroll to bring it into view.
possible solution
https://stackoverflow.com/questions/15676399/prevent-fixed-navigation-bar-from-covering-texts-titles-after-clicking-a-link-or

@ahmadabdolsaheb  Is the code that needs to be modified is in repo https://github.com/freeCodeCamp/freeCodeCamp ?

Ah, yes.
Think there is a CSS hack to this type of problem. Not sure if that's desired though

Did someone claim this? I'd be happy to

@psjishnu, the code is here. https://github.com/freeCodeCamp/news-theme
Please go ahead 👍. No assignment is necessary as described in our contribution docs. The first comprehensive PR will be considered for review.


Data naming scheme

So the current naming scheme for SS data is inconsistent and quite awkward. The field names should be short, concise and consistent between different representations of the data. I propose the following data fields in the SSReadout class:
SSReadout:
	iro #readout number (similar to iev in the fast data)
	time #The timestamp of the readout
	data #The data in a 2d array stored in SS-line ordering
	tel_ra #Telescope right ascension (could go in a separate table)
	tel_dec #Telescope declination (could go in a separate table)

I have omitted the individual timestamps from each of the two board on the 32 TMs since it is unclear whether this information will be useful during normal data taking.

Done with PR #36


346 fix user guide notebooks

Fixes issues in docs.  See issue #346

A few typos in the User Guide notebooks
Runs python -m teehr.utils.install_spark_jars in the docs build container so the S3-related notebooks work
Fixes some issues with the API reference section

Updates changelog and version numbers

@mgdenno Let me know want to take a look at this (fixes issues with the sphinx docs build)


Fix memory error in springboot standard logging.

Close #284

Oh, Averi just moved these to java-docs-samples. I'll fix it there.


MINIFI-142 Updating License and Notice information for NiFi 1.1.0 upgrade

reviewing

@apiri just pushed a new commit addressing the feedback on the NiFi included notice

@JPercivall Awesome, thanks!  Will merge this into my branch and push to apache/nifi-minifi#60

Merged changes into branch with commit c9ca0ee729f8d6d7e8c9e2aa841774ed686f9846


feature(headless): log clicks for product recommendations

https://coveord.atlassian.net/browse/KIT-1898
There was no click action for product recommendations to send a recommendationOpen event.
We are dealing with ProductRecommendation, and not"Result" from searches, so I recreated the PartialDocumentInformation for analytics events using ProductRecommendation's properties.
Because of the validation in coveo analytics, I also needed to add documentUri and documentUriHash to ProductRecommendation.
Also the results in Search event (impressions) were empty, I fixed mapResultsToAnalyticsDocument() in product-recommendations-analytics.ts

I removed permanentid  from the buildPartialDocumentInformation() as it's not part of the PartialDocumentInformation and was failing validation (hence the broken builds). The permanentid is still sent in the event through the customData as contentIdKey/contentIdValue

Not sure what is missing to be able to merge. Simply resolving the conversations?


SaveRunning Does not work on ASA

AttributeError
Error: 'NoneType' object has no attribute 'group'
line: 69
session = StartSession(crt)

I haven't tested against ASAs much.  There are a couple issues with these scripts working against the ASAs.   I think I have them fixed, but I'm going to put the code in the "dev" branch so I can do some more testing with it.  Feel free to run that version of the scripts and if things seem stable, I'll merge it into the master branch.

Tested the rewrite branch on:
asa 8.29(x) & 9.1(x) code lines successfully

Thanks for reporting back on how the updates have worked.  I haven't been doing much firewall work lately, so that is a weak area for the scripts (plus the CLI is different enough to cause problems).
Also, thanks for pointing out that comment from the json file --  I do need to add that that info to both places (I don't think I ever got around to enabling debug mode, so that is a pointless setting for now...  Ultimately I'd like it to create logs for each run when enabled for easier troubleshooting but finding the time is always an issue)
I'll close the issue since this sounds resolved.


Document how to add custom root certificate for node.js

Summary
If scan is performed from behind SSL intercepting proxy, it may fail with the following error:
Exception processing API call: Error: self signed certificate in certificate chain
Error requesting accessible accounts from New Relic api.

This happens because node.js may not trust custom CA root certificate used to sign server certificate "substituted" by proxy.
Desired Behavior
Scan should try handle this gracefully, possibly providing certificate details in the error.
Possible solution
Either disable certificate check in the script or document that setting the following environment variable to the path with proxy's root certificate in PEM format will resolve the issue.
Example:
export NODE_EXTRA_CA_CERTS=~/proxy-ca-root.pem
node nr-find-log4j.js

Additional context
Not all people scanning their Java deployments are fully aware how to fix such issue in node.js

Thanks for reporting this issue @dgcom . If you have the environment, I could use help testing whether PR #14 correctly identifies this situation - I don't have a suitable proxy setup to test the cases of 1) a self-signed ssl certificate, or 2) a private root CA certificate not in Node's default cert store.

Hello.
Yes, I have this setup and I have tested the changes in the PR.
The attempt to scan via such proxy now results in quite an informative error message:
Checking api key...

Uh oh, I think you're behind an HTTPS proxy with a self-signed or internal
certificate, which can cause Node.js requests to the New Relic API to fail.

CAUTION: Someone could be maliciously intercepting your network traffic.

If you're sure this is a trusted proxy, you can work around this issue:
1. Set the NODE_EXTRA_CA_CERTS environment variable to reference a PEM file
containing your proxy's certificate chain:
        NODE_EXTRA_CA_CERTS=proxy-ca-root-cert.pem node nr-find-log4j.js
2. Use the *unadvisable* NODE_TLS_REJECT_UNAUTHORIZED environment variable to
disable SSL certificate validation.

See the Node.js docs for help: https://nodejs.org/api/cli.html

I love this, the only thing I'd suggest to change is to provide a value for "unadvisable" variable :
2. Set the *unadvisable* NODE_TLS_REJECT_UNAUTHORIZED=0 environment variable to
disable SSL certificate validation.


GCC7 "implicit-fallthrough" warning causes build errors

GCC7 introduced a "implicit-fallthrough" warning for case statements that the spirv-tools build is treating thus treating like an error.
Need to either disable this warning or add fallthrough directives to source.

This is not happening on the public version. Never mind.


Spring loaded is in the attic

On this page https://spring.io/projects Spring Loaded is listed as being "in the attic". Can anyone explain what that means? It implies "abandoned" to me, which is reflected by the commit activity here. If so, is there anywhere where the reason for this is explained or where a replacement tool is recommended?

Hey. There are two challenges when performing this style of reloading. The first is to actually achieve the bytecode reload, which SpringLoaded does quite well. The second challenge is the ecosystem around plugins for libraries. Just because a type has been reloaded doesn't mean every library out there can deal with it - many of them will be doing things like caching the result of reflective calls because they don't realize that with agent based reloading in the mix those results can change. So for each library you need a plugin. These plugins may need to poke into internals where these caches are held, thus they can be brittle and the maintenance effort shouldn't be underestimated.
For Spring Boot 1.3 we looked at a more basic form of reloading that did not require this level of maintenance and the result was Spring Boot Dev Tools which is discussed in this blog article: https://spring.io/blog/2015/06/17/devtools-in-spring-boot-1-3 . This isn't as fast as agent based reloading but is much quicker than a full cold restart.  If you need the instant reloading perhaps you should consider JRebel.
That being said, Grails is using SpringLoaded and the maintenance on this project has been around fixing bugs in that Grails usage, which seems to have many fewer requirements on this third party library support because of how they do things. I expect that to continue.

Thanks. This fully answers my question.

Ok this is unfortunate news, I am one of the devs for whom springloaded really works well, and I had my fair share of problems with JRebel in the past on the same codebase (that and their insane price hikes they performed after they basically expired their lifetime licenses).
This is bad news indeed. The spring dev tools approach unfortunately is subpar to spring loaded in my situation since lots of init code depends in my application on the application context startup. And restructuring that so that it works well with the dev tools means loads of work. (also even if we restructure it would mean a lot of performance loss on out side for the roundtripping)
I hope you guys one day might reconsider your stance. I´d rather have a well working 99% solution
than a slow 100% solution which needs lots of rework. In the meanwhile. Thanks for all the good work on this project it will continue to save us a lot of time until it wont work anymore with whatever spring and java version might break it.


Undefined Columns v3, v4, v5 when deleting role with a domain

Using casbin in node with casbin-knex-adapter (https://github.com/sarneeh/casbin-knex-adapter)
Role and policy in db

Code snippet being ran:

Invoked with:
{
    userId: 'userId4',
    policyName: 'Delete a role',
    domain: 'organization_1234',
}

Error Thrown:

casbin.model.conf:

This issue was left unresolved until the repo moved to its new home: knex community
There's also a linked PR here: https://github.com/knex/casbin-knex-adapter/pull/2 , which has code conflicts now. @kibertoad can you please take a look at it?

I think @Sir-Kyle-Richardson maybe don't have time right now.
@17bit can you continue the work of PR: https://github.com/knex/casbin-knex-adapter/pull/2 and make a new PR that rebases against master HEAD?

This should work correctly in latest version, I believe. If someone can still reproduce it with the new version, please reopen!


Interactive legends

It would be great to have interactive legends
There are many interaction patterns where the user interacting with the legend is most intuitive, e.g.:

legend represents the mapping of categories to colors
--> user may want to unselect/ select categories by clicking on the corresponding color/category in the legend
--> user may want to change color mappings by clicking on the colors

legend represents the mapping of intervals to colors
--> user may want to change the interval ranges which would update the Plot

Is it planned the legends will become interactive at one point? Or will the legends remain static and the recommendation is e.g. to build custom Inputs on observable for that?

It's not planned in the short run, but contributions and experiments are welcome. You can use the chart.scale method to retrieve the scale and create an interactive widget that in turn will make changes to some global state that controls the chart definition?

See @tophtucker 's experiment https://observablehq.com/@tophtucker/interactive-plot-legend

Interaction, in general, is essential for exploratory data analysis. Often, programmers can't anticipate the questions people will raise when reviewing data dashboards, presentations, etc. So, adding interactive filtering, slicing, etc., will open doors for real-time exploration.
For comparison, Altair supports interactive legends, selection, and cross-filtering.

https://altair-viz.github.io/gallery/interactive_legend.html
https://altair-viz.github.io/gallery/selection_layer_bar_month.html
https://altair-viz.github.io/gallery/interactive_layered_crossfilter.html

Just dropping in to say "I'm begging you,,, please ADD INTERACTIVE LEGEND"

I was looking for this functionality and landed here. It turns out we can do this using the undocumented render option of markers and and dispatching an event to trigger a cell refresh.
The end result works quite well: https://observablehq.com/d/7f906c970a3f4e09


[#135666429] Batch Process - Couch Bulk Upsert

https://www.pivotaltracker.com/story/show/135666429

added bulk_upsert to couch
fixed a bug in existing couch upsert function

check fails because tests use couchdb..

Closing this because this PR is a subset of #39


Using filament.wasm / NPM module as a Node.js dependency

I've been browsing through the web target for Filament which looks to be for browsers only and was wondering if it was possible to get it running alongside a Node.js application. I figured there's a couple of node/browser polyfills that would be to be involved for fetch and canvas but not sure if there might be something in the prebuilt WASM files that would cause problems. Out of the box the NPM module doesn't work as the Filament global that is defined doesn't get exposed on window like it does on the browser so there's that to contend with.

Correct, our JavaScript and TypeScript API's are designed for Browsers, not nodejs.
I don't know much about nodejs but maybe you could just build a nodejs addon yourself, link against the core Filament library, and use our first-class C++ API.

Actually I'm curious, what would be the render target in such an environment? I.e. what's the h
replacement for canvas?

I'm curious too.  If you're writing an Electron app, maybe your usage of filament could live in the Renderer process rather than the Main process, in which case you could simply use our JS API, right?

Actually I'm curious, what would be the render target in such an environment? I.e. what's the h
replacement for canvas?

I was thinking of using node-canvas which uses Cairo. I'm imagining running this on a virtualized Linux box so it'll probably use X window as it's target through Cairo.
As an example of something similar, I wrote a small screenshotting tool that spins up an instance of headless chrome, tosses in a  element, and produces a render from a browser context but using something like Filament seems more direct without having to load up Chrome. The end goal is to be able to produce 3D renders on a GPU-less docker image hosted somewhere.
I could always end up just using the C++ API directly instead of going through this rigmarole of getting it working throw a 'web' context but was curious if it was possible.

What I'm worried about is whether the whole GL initialization can succeed. Cairo is a 2D renderer and I have no idea if going through it would allow Filament to take over the surface with a 3D context.

Good point. I took a peek at node-canvas and it looks like it only supports the 2d context. You could possibly add support for a webgl context by shimming in one of the node-webgl libraries like https://github.com/stackgl/headless-gl but then it kinda feels like you're going down this rabbit hole of web shims on top of native APIs.
I still wonder what the possibilities are for using the WASM bundle that can be built for Filament in different contexts. With new WASM runtimes like Lucet one could imagine an intersection of rendering and edge computing.
In any case, thanks for the quick responses and insightful conversation on this!

I think headless-gl is typically what people use when going this direction... I've tested "swapping in" a headless-gl instance with other renderers (http://regl.party/) and it just worked. From the docs, "It is built on top of ANGLE and passes the full Khronos ARB conformance suite, which means it works exactly the same on all supported systems."

stackgl/headless-gl is a WebGL 1.0 impl, Filament requires 2.0.

Hm, good point. Following the comment threads a bit further, it doesn't look like they've made much progress on WebGL 2 (https://github.com/stackgl/headless-gl/issues/109). Perhaps https://github.com/google/node-gles then, if/when it becomes stable.


erro 404

Hi.
I follow your instruction to install kraken dashboard into my ceph-monitor.
I just get a 404 erro page.

/root/krakendash/kraken/urls.py:5: RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10 (got status.views.home). Pass the callable instead.
url(r'^', 'status.views.home', name='home'),
/root/krakendash/kraken/urls.py:6: RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10 (got ops.views.ops). Pass the callable instead.
url(r'^ops/', 'ops.views.ops', name='ops'),
/root/krakendash/kraken/urls.py:7: RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10 (got status.views.osd_details). Pass the callable instead.
url(r'^osd/(\d+)/', 'status.views.osd_details', name='osd_details'),
/root/krakendash/kraken/urls.py:8: RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10 (got status.views.activity). Pass the callable instead.
url(r'^activity/', 'status.views.activity', name='activity'),
/root/krakendash/kraken/urls.py:10: RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10 (got ops.views.user_custom). Pass the callable instead.
name='user_custom'),
/root/krakendash/kraken/urls.py:11: RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10 (got status.views.api). Pass the callable instead.
url(r'^api/', "status.views.api", name="api"),
/root/krakendash/kraken/urls.py:11: RemovedInDjango110Warning: django.conf.urls.patterns() is deprecated and will be removed in Django 1.10. Update your urlpatterns to be a list of django.conf.urls.url() instances instead.
url(r'^api/', "status.views.api", name="api"),
/root/krakendash/kraken/urls.py:15: RemovedInDjango110Warning: django.conf.urls.patterns() is deprecated and will be removed in Django 1.10. Update your urlpatterns to be a list of django.conf.urls.url() instances instead.
url(r'krakendash/', include(base_urlpatterns)),
System check identified no issues (0 silenced).
February 27, 2016 - 20:23:15
Django version 1.9.2, using settings 'kraken.settings'
Starting development server at http://<IP_ADDRESS>:8000/
Quit the server with CONTROL-C.

if it is still actual
please use the lower version django or change a code
the structure is a little another, use http://<IP_ADDRESS>:8000/krakendash


first frame is black when i record video using Movieoutput

I tested SimpleVideoRecorder demo,when i touched record button ,the renderview flashed with black frame. After i saved the output video,the first frame of video is dark or black.

Hi. @WorthyZhang  i had similar problem but with white frame in the beginning of the file in iOS. I've changed a bit logic of start the output session. You can try version from my fork. If this will help you i could provide a PR. I was thinking that this is just my little problem.

@dvma04  I solved the the problem by calling  addAudioInputsAndOutputs() method, maybe it will help you.

Can you pls show me where you call the addAudioInputsAndOutputs() method?


fix issue #425 and add test cases.

fix issue #425 and add test cases.

Could the latest version be deployed as this feature is not yet available in 2.7.0


Added lock to register service instance to Lb

https://github.com/rancher/rancher/issues/2399
@ibuildthecloud I want it to be the last fix for standalone LB code

@alena1108 do you want this to be a blocking lock?  The lock you have right now will immediately fail, basically tryLock.

@ibuildthecloud makes sense


'make clean' should delete src/*.ggo files

Currently it does not since they are generated from the *.in's as part of the build process.

I'm going to withdraw this issue and close it. Given that the ggo's are the result of cmake's configuration time rather than make, it doesn't make sense to clean them as part of 'make clean'.
This raises a larger issue of automatic re-generation/cleaning of the ggo's based on .ggo.in changes. This is not currently supported in the project, requiring 'cmake .' to be re-run by hand. If someone wants to re-file that issue, feel free.


feat: add contract type back references to the ABI classes

What I did
This always ABIs to be able to reference other parts of their ABIs if needed, such as Cairo lang structs types used in Methods.
The contact types are optional so that you can still attempt to use ABIs without coming from a parsed ContractType class.
How I did it

Add excluded fields to the models representing optional contract type back-refs
Set the contract types values when getting from contract type class

How to verify it
Checklist

[ ] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[ ] PR title follows Conventional Commit standard (will be automatically included in the changelog)

@ca11ab1e


Fixed broken link

There is one broken link in the writing exporter page.

The current link works fine for me on prometheus.io

The current link works fine for me on prometheus.io

My bad, I was checking on Github itself :)


Accept root path

Because Rails, we have to duplicate the routes to
accept a base path of /.  The write endpoints
will be at some point changed to use content IDs
removing this duplication, though the read endpoints
will need to stay.
Required for https://trello.com/c/blLdEZN5/292-make-apps-register-special-routes-on-deploy

The change in routing behaviour was due to https://github.com/rails/rails/pull/17220 which was raised in https://github.com/rails/rails/issues/17212 (discussion of the issue).

You make the base_path optional in the route and that would remove the need to duplicate them.

You also don't need the with_options, e.g:
Rails.application.routes.draw do
  scope format: false do
    defaults base_path: '/' do
      put "/draft-content(/*base_path)", to: "content_items#put_draft_content_item"
      put "/content(/*base_path)", to: "content_items#put_live_content_item"

      put "/publish-intent(/*base_path)", to: "publish_intents#create_or_update"
      get "/publish-intent(/*base_path"), to: "publish_intents#show"
      delete "/publish-intent(/*base_path)", to: "publish_intents#destroy"
    end
  end

  get '/healthcheck', :to => proc { [200, {}, ['OK']] }
end

@pixeltrix That would lead to inconsistencies as base_path would be either / or something not /something, right?  But the optional part is very helpful.

@elliotcm sure, I added the default to make sure that base_path was always set in params - you could either normalise the path or just call to_s and prefix it.

@pixeltrix aye, we've this in place which should cover it. Thanks! https://github.com/alphagov/publishing-api/blob/master/app/controllers/application_controller.rb#L6

@heathd Updated to remove the route duplication.  Should be good to go.

:+1: looks good. Using the (, ) to declare optional parts of the route makes it much cleaner


Problems with accented characters in syntax highlighting?

It looks like we may have a problem with accented characters with syntax highlighting. We have a report that describes this as being a problem in:

JS
HTML
PHP
CSS

If this can be verified, we should probably do an audit to ensure that all languages that allow UTF-8 encodings utilize regular expressions that recognize the proper character sets. This especially holds true for text or markup languages like HTML.
/cc @atom/languages

I can't reproduce this in a simple HTML or JS document:
<!DOCTYPE html>

		<meta charset="utf-8">
		<title>¡Español!</title>

		Administración de clases

function áéíóú()
{
	let x = threé;
	var ú = mañana + 3;
}

Atom 1.5.0-dev-d855613, non-safe mode, Fizzy syntax.

I got the same problem with the basic One UI and syntax theme.
Screenshot

I can reproduce @mpepito13's JS example:
class Ecriture {};
class Écriture {};
const très_bien;

Looks like accented characters don't get tokenized:

@simurai Could you open an Issue on the language-javascript package for that?

Basically, this is almost assuredly an issue with various language packages (so long as the languages in question actually support non-7-bit-ASCII characters in their identifiers). I don't think there's anything in the Atom engine itself that prevents syntax highlighting of international character sets.

This is the same issue that I believe spell-check is hitting, where \wonly matches [A-Za-z0-9_] and nothing else.

Yeah, probably most languages have this issue in some form.. here just a few more:
/* CSS */
.Ecriture {};
.Écriture {};
.très_bien {};

// go
func Ecriture() {}
func Écriture() {}
func très_bien() {}

// c
int Ecriture() {}
int Écriture() {}
int très_bien() {}

Even here on github.com highlighting breaks.

Looks writing the accents works and searching for it also.


Add toggle for voice reconnect on session reconnect

This PR adds a flag in order to prevent voice reconnect on session reconnect. The default value is set to true so it should not affect the initial behaviour.
Resolves #1349

Sorry for a long wait!


Update registration on Bower

Currently Bower registry still points to GoogleChrome repo, it needs to be removed and re-registered again pointing to that repo.
You can also check that info by executing from command line bower info adapter.js:
> bower info adapter.js
bower not-cached    git://github.com/GoogleChrome/webrtc.git#*
bower resolve       git://github.com/GoogleChrome/webrtc.git#*
bower checkout      adapter.js#master
bower resolved      git://github.com/GoogleChrome/webrtc.git#f21fef6177

{
  name: 'adapter.js',
  description: 'A shim to insulate apps from WebRTC spec changes and prefix differences',
  homepage: 'http://googlechrome.github.io/webrtc/',
  repository: {
    type: 'git',
    url: 'https://github.com/GoogleChrome/webrtc.git'
  },
  authors: [
    'The WebRTC project authors (http://www.webrtc.org/)',
    'Jesús Leganés Combarro "piranna"<EMAIL_ADDRESS>  ],
  main: 'samples/web/js/adapter.js',
  moduleType: [
    'globals'
  ],
  keywords: [
    'WebRTC',
    'PeerConnection',
    'RTCPeerConnection',
    'getUserMedia',
    'Chrome',
    'Chromium',
    'Firefox'
  ],
  license: 'BSD-3-Clause',
  ignore: [
    '**/.*',
    'node_modules',
    'bower_components',
    'test',
    'tests',
    'Gruntfile.js',
    'index.html',
    'package.json',
    'samples/web/content',
    'samples/web/css',
    'samples/web/js/lib',
    'samples/web/js/videopipe.js'
  ]
}

No versions available.

The workflow to update registration fails since we move the original repository.

https://github.com/bower/bower/issues/120

I have commented on that issue to get a manual update done. It seems they conform to the manual requests every few days.

The workflow to update registration fails since we move the original repository.
bower/bower#120
I have commented on that issue to get a manual update done. It seems they conform to the manual requests every few days.

Only can un-register the ones that are owners of the original repo.
Anyway, the manual update should work.
--
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
Unix."
– Linus Tordvals, creador del sistema operativo Linux

I have re-registered adapter.js to git://github.com/webrtc/samples.git :arrow_right:

Awesome, thanks! :-D

Thanks! Updated it now to point to webrtc/adapter.git

Wait... isn't that the renamed old repo?

@piranna .. yes that was the old repo... but now I was able to unregister and register on the new location.
Before unregistered failed since the old location no longer existed (so I could not be owner on it).

Ah, ok @andresusanopinto, I'll wait then a little bit to finish :-)


Memory leak after VACUUM

From my preliminary tests, performing a VACUUM makes a memory leak of the codec instance (65xxx bytes). With no VACUUM (i.e. regular INSERT/UPDATE/SELECT), no memory leak.
I guess there is a missing sqlite3mcCodecFree() call somewhere...
Perhaps the ATTACH statement executed during VACCUM doesn't work as expected.

Thanks for reporting the issue. I will look into it.
VACUUM creates a temporary new database file. If the main database is encrypted, a copy of the main codec will be made. Maybe this copy is not freed as it should. I will have to check what's going on.

If I comment the last sqlite3mcCodeAttach() in sqlite3mcHandleAttachKey (case SQLITE_NULL - which is the case for the ATTACH temp db made during VACUUM), I don't have any leak, and the file is still encrypted after the vacuum... weird...

The VACUUM command attaches a temporary database without using a file name. As a consequence there is no SQLite file handle to which the codec could be attached.
The current implementation does not detect this situation correctly: a codec is allocated and initialized, but not freed.
Commenting the call to sqlite3mcCodeAttach as you did solves the problem only for this special case, but not for the general case.
I will provide a fix within the next few days.

Commit 2794168c955bb05df5304d0fd9a5dccb5afa8c72 should fix the issue.
If no SQLite file handle can be found in function sqlite3mcSetCodec the codec is freed.


[CARBONDATA-2440] doc updated to set the property for SDK user

[x] Any interfaces changed? NO

[x] Any backward compatibility impacted? No

[x] Document update required? ==> Yes

[x] Testing done ==>  All UT and SDV succes report is enough.

[x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.  NA

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4745/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5667/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4507/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4746/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5671/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4511/

LGTM

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4686/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5842/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4887/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5883/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4918/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4731/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4919/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5885/

@xubo245  review comments resolved .

please import CarbonProperties before using it.

@xubo245 import done

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5016/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4844/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6003/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6014/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4856/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6022/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5029/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4863/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5036/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4874/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6033/

retest this please

LGTM


Apple ID Sign In Requests go to all iPhones in family?

When there is an Apple ID Sign In Request on my iPhone and iPad, which I presume has originated from my iCloud3 integration, my wife's iPhone and iPad get the request too.
Is that 'normal' procedure and can I prevent it?
Please excuse me if this is a well known question: I couldn't find it in Github.

But I don't mean e-mails, but the requests. They go the all our iPhones and iPads.

Your description exactly fits my experiences until yesterday. Since then I'm getting these requests several times per hour, so it's starting to annoy a bit.

When there is an Apple ID Sign In Request on my iPhone and iPad, which I presume has originated from my iCloud3 integration, my wife's iPhone and iPad get the request too.
Is that 'normal' procedure and can I prevent it?
Please excuse me if this is a well known question: I couldn't find it in Github.

You are asking about Apple functionality, not iCloud3 functionality.  It would seem from how you described the issue that you've configured all of your devices to be Trusted Devices and, subsequently, they will all receive the notification.
https://support.apple.com/en-us/HT205064
If you keep getting it repeatedly then Apple is not receiving the code properly.  It could be something as simple as someone with one of the Trusted Devices is responding before you do in a way that Apple doesn't like so Apple sends the code request again.
In any case, that's an Apple and you thing - not an iCloud3 thing.

It would seem from how you described the issue that you've configured all of your devices to be Trusted Devices and, subsequently, they will all receive the notification.

I think you've nailed the cause of receiving requests on my wife's iPhone. Thanks!

I believe this problem may be misdiagnosed regarding why your wife's phone is getting the Apple ID Sign in request prompt.  Those prompts are specific to one and only one AppleID.  In the case of icloud3, those prompts will show up on ios devices that are signed into icloud using the same AppleID you've specified in the icloud3 config screen such as in the screenshot below.
If your wifes devices are getting the requests, it would suggest her devices are signed into the same AppleID that your devices are.  Can you confirm that she has her own independant icloud account setup with a different email address and that each of her devices are logged in to that separate account?  Also can you confirm that you've set up the family sharing from your account?  An AppleID can either be the originator of a family or a member of a family but not both.

Closing this issue with the release of v3.0


Slow pytorch prediction when running inside slackclient

Description
Trying to get NLP predictions from a pytorch model is really slow when called within my slack.RTMClient.run_on function wraper. I still get the expected result, but in 10x the time. This is not a GPU issue since everything is running on CPU.
What type of issue is this? (place an x in one of the [ ])

[X] bug
[ ] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[X] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[X] I've read and agree to the Code of Conduct.
[X] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackclient version: 2.1.0
python version: 3.6.8
OS version(s): Windows 7
Steps to reproduce:

Create a slack bot and Load a pytorch model
Call .predict outside of the slackclient (runs normally)
Call .predict inside of the slackclient (runs much more slowly)

Expected result:
The .predict to take the same time outside and inside of the slackclient
Actual result:
Takes 10x the time to get a prediction
Attachments:
Here is the code I am using :
import os
import json
import time
import slack

from fastai import *
from fastai.text import *
import numpy as np

class FrenchClassifier:
    def __init__(self, num_of_words=80, temperature=0.1):
        self.mdl_path = Path('models')
        self.language_model = load_learner(path=self.mdl_path, file='prediction.pkl')
        self.classifier = load_learner(path=self.mdl_path, file='classification.pkl')
        self.num_of_words = num_of_words
        self.temperature = temperature

    def classify(self, text):
        response_tensor = self.classifier.predict(text)
        response_dict = {
            'category': str(response_tensor[0]),
            'conf': np.amax(response_tensor[2].numpy())
        }
        return response_dict

    def complete(self, text ):
        response = self.language_model.predict(text, self.num_of_words, temperature=self.temperature)
        return response

@slack.RTMClient.run_on(event='message')
def read_text(**payload):
    data = payload['data']

    if 'client_msg_id' in data.keys():
        if '!polarity ' in data['text']:
            channel_id = data['channel']
            text_input = data['text'].replace('!polarity ', '')

            response_dict = fc.classify(text_input)

            response = f'Catégorie {response_dict["category"]} avec {round(response_dict["conf"]*100, 2)}% de confiance'

            webclient = payload['web_client']
            webclient.chat_postMessage(
                channel=channel_id,
                text=response
            )

        elif '!complete ' in data['text']:
            channel_id = data['channel']
            text_input = data['text'].replace('!complete ', '')

            response = fc.complete(text_input)

            webclient = payload['web_client']
            webclient.chat_postMessage(
                channel=channel_id,
                text=response
            )

if __name__ == '__main__':
    with open('slackToken.json', "r") as slack_token:
        creds = json.load(slack_token)

    fc = FrenchClassifier()

    slack_token = creds["botAccessToken"]
    rtmclient = slack.RTMClient(token=slack_token)

    rtmclient.start()

@Ownmarc It sounds like this is likely due to how the callback is executed in a different thread when not run asynchronously. Can you try to update your code like below and tell me if it still runs slow for you?
import os
import json
import time
import slack

from fastai import *
from fastai.text import *
import numpy as np

class FrenchClassifier:
    def __init__(self, num_of_words=80, temperature=0.1):
        self.mdl_path = Path("models")
        self.language_model = load_learner(path=self.mdl_path, file="prediction.pkl")
        self.classifier = load_learner(path=self.mdl_path, file="classification.pkl")
        self.num_of_words = num_of_words
        self.temperature = temperature

    def classify(self, text):
        response_tensor = self.classifier.predict(text)
        response_dict = {
            "category": str(response_tensor[0]),
            "conf": np.amax(response_tensor[2].numpy()),
        }
        return response_dict

    def complete(self, text):
        response = self.language_model.predict(
            text, self.num_of_words, temperature=self.temperature
        )
        return response

@slack.RTMClient.run_on(event="message")
async def read_text(**payload):
    data = payload["data"]

    if "client_msg_id" in data.keys():
        if "!polarity " in data["text"]:
            channel_id = data["channel"]
            text_input = data["text"].replace("!polarity ", "")

            response_dict = fc.classify(text_input)

            response = f'Catégorie {response_dict["category"]} avec {round(response_dict["conf"]*100, 2)}% de confiance'

            webclient = payload["web_client"]
            await webclient.chat_postMessage(channel=channel_id, text=response)

        elif "!complete " in data["text"]:
            channel_id = data["channel"]
            text_input = data["text"].replace("!complete ", "")

            response = fc.complete(text_input)

            webclient = payload["web_client"]
            await webclient.chat_postMessage(channel=channel_id, text=response)

if __name__ == "__main__":
    loop = asyncio.get_event_loop()

    with open("slackToken.json", "r") as slack_token:
        creds = json.load(slack_token)

    fc = FrenchClassifier()

    slack_token = creds["botAccessToken"]
    rtmclient = slack.RTMClient(token=slack_token, run_async=True, loop=loop)

    loop.run_until_complete(rtm_client.start())

@mar-muel
As Rodney shared, using run_async=True and having coroutines for listener functions decorated by @RTMClient.run_on has been working fine.
By contrast, RTMClient with run_async=False option (and this is the default) had an issue where the app may cause high CPU usage as reported at https://github.com/slackapi/python-slackclient/issues/569. I'm working on addressing the issue by PR #662. #662 will be included in the next minor version (2.6.0).
That said, if you don't have any issues with run_async=True and implementing logic in async functions, I recommend doing so.
As Rodney shared, using run_async=True is the best solution here even in future versions. Also, since the next minor version (2.6.0), run_async=False also works fine. So, let me close this issue now.
@Ownmarc
Thank you for reporting this issue.

👋 slackclient 2.6.0rc1 is out. The pre-release version contains fixes for your issue described here.
https://pypi.org/project/slackclient/2.6.0rc1/
One week later from now, we'll be releasing version 2.6.0 to PyPI.
If you have a chance, could you try the release candidate version out and let us know your feedback? Thank you very much for being patient with this issue.


How to shift xAxis starting point to the left?

Version
5.0.2
Reproduction link
https://echarts.apache.org/examples/en/editor.html?c=line-in-cartesian-coordinate-system
Steps to reproduce
Open the demo Line Chart in Cartesian coordinate system.
What is expected?
I would like to have the first value to be starting at the intersection point of the two axes.
What is actually happening?
In the Demo it starts however at the first x datapoint and therefore leaving space between those values and the Y Axis.

How might I be able to change this behavior? Thanks in advance!

I resolved this issue just by using min. But I planned to use it in a dynamic setting, so I had then the issue that the data broke up too early like that:

But as it turned out this issue wasn't due to setting min dynamically. Shifting the data too early lead to that issue.
So instead of shifting the data before pushing new data you should do it like that: data = data.slice(-initial_data-buffer).
This prevents shifting all the data if buffer is chosen as big as new data should be updated. So finally you'll have a much smootehr animation:


Add a note on the installation problems for the client debian package

Changelog: None
Signed-off-by: Ole Petter<EMAIL_ADDRESS>

https://tracker.mender.io/browse/MEN-5420

@mender-test-bot
cherry-pick to:

3.2.x
hosted


decide on process for updating images on flux nodes

Currently, flux takes a while to deploy a new docker image. We've got our images in that docker image with a lightweight image server running. Due to flux taking an undisclosed and variable amount of time to switch over to using the new docker image with a new set of images in, we get 404s in the meantime when pointing at the new dataset and vice versa when the flux node has updated but we're still using the old dataset.
Further, a single flux node upgrades quicker than the other 2 nodes as that's the one that handled the redeploy request. The other 2 can take up to 24hrs to redeploy, leaving the state where one node has the new set of images and the other two don't. The it's down to which node you are load-balanced to as to whether you can reach the old images or new images.
How do we handle this?
I can think of two options:

run a new flux node per dataset release
this would leave the old flux node still running and doing nothing, wasting resources. We could reuse it for something else, but what?
integrate the new images with the old images
this would be a 3 step process. 1) add the new images to the docker image, do a redeploy and wait for all nodes to redeploy (up to 24hrs). 2) switch the dataset json on the provider to use the new images. 3) remove the old images from the docker image, upload, wait for flux redeploy (up to 24hrs). This entire process could take anywhere from 2-48hrs according to flux docs on timeline of redeploys. However, no wasted resources and no url changes (i.e. my-img-server.app.runonflux.io stays the same, obviously the image files have changed)

option 3 from chris:
"switch over to the github demo dataset, switch docker imgs, wait for propagation, then switch back to original url for flux nodes"

will be switching the imgs again to squares so good opportunity to give option 2 a try

option 4 from chris, ssh into each node and pull the new docker img

option 5 from hugh, soft reploy each node

Testing the docker image upgrade procedure currently.


; is not optional

{ let x : 22; } and { let x : 22 } should both be valid as well as...
( let x : 22 ), ( a, b, c ), [ a, b, c ], and let x : 22 ,,

There is some logic now to omit ';' when there is a code block terminator ',,'
I still would like to add new lines as substitutes.


test for AddOrReplaceReadGroups

addressed #198

@akiezun :+1: 2 minor comments and then good to merge.  I think it's a really good idea to start annotating how the expected files were created.


Implement the MQTT 5 protocol

Currently the client support MQTT 3.1.1
Look into what has changed from version 3.1.1 to version 5 and start implementing the new stuff.

For future reference this could be handy when we implement the MQTT 5 features: https://github.com/mqtt/mqtt.github.io/wiki/Differences-between-3.1.1-and-5.0

Any plans and status on support for MQTT 5?


test(alert): test alert component

Testing Alert module for containing default class alert-warning.

injectAsync is now deprecated. Instead, use the async function
to wrap any asynchronous tests.

Code changed. Please review.

closed with https://github.com/valor-software/ng2-bootstrap/commit/2729750da


Mowmidave2006/pra 7 learn how messaging in the chrome extension

what's that?

Nothing, Sorry xD
sob., 18 maj 2024, 10:02 użytkownik PatrykKuniczak @.***>
napisał:

what's that?
—
Reply to this email directly, view it on GitHub
https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/472#issuecomment-2118685588,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYKC3RXDMAR2QWDSTDQH7JLZC4DJTAVCNFSM6AAAAABH4JHR5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJYGY4DKNJYHA
.
You are receiving this because you authored the thread.Message ID:
<Jonghakseo/chrome-extension-boilerplate-react-vite/pull/472/c2118685588@
github.com>


Roll Plugins from 0434f0640052 to edda73d0b876 (1 revision)

https://github.com/flutter/plugins/compare/0434f0640052...edda73d0b876
2021-01-14<EMAIL_ADDRESS>[file_selector_web] Add dummy ios directory. (flutter/plugins#3416)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.

Commit queue failed; closing this roll.


Add support for GL_ARB_get_program_binary (core in OpenGL 4.1)

Extension is documented at:
https://www.opengl.org/registry/specs/ARB/get_program_binary.txt
This extension adds support for caching compiled program binaries and loading
them back from direct binary data.
Support has been added by adding appropriate OpenGL enumerations and the:
Binary(), Parameteri(), GetBinary() methods to the Program type.

Hi @micia, thank you for the pull request!
This repo is now legacy, because there is a newer, better set of OpenGL bindings. Please consider one of these two:

github.com/go-gl/gl/... - Lower level (C style API), performant, generated from XML Go bindings for all versions of OpenGL.
golang.org/x/mobile/gl - Higher level (more idiomatic Go) bindings with multiple backends (OpenGL, OpenGL ES, soon WebGL).

Note that https://godoc.org/github.com/go-gl/gl/v4.1-core/gl#GetProgramBinary already supports this extension, so you can start using it right away.
I'll close this PR if you don't mind, but let me know if you have any comments. Thanks again!


HNC: run all e2e tests automatically as part of a test suite, especially in Kind

We should be able to run all the tests in hack/ in a single command, either on a "real" K8s cluster (e.g. GKE, EKS, etc) or a fake one (e.g. Kind). We should be able to make this part of our release suite.
This has several components:

Ensure that each existing test returns 0 on success and 1 on failure
Ensure that no two tests can affect each other (e.g. they all use different namespace names; HNC is repaired between each test)
Write a wrapper script to invoke all the tests.

/good-first-issue

This work is now complete. Thanks @GinnyJI !
/close

Note: we didn't actually automate this, but it does all run now via go test ./test/e2e/... and I think that's good enough. Further automation (e.g. presubmit/postsubmit) can wait for another day.


Energy Meter missing under settings

My energy meter is showing correctly under the normal device list:

I can see all of the values as expected:

But if I navigate to Settings > Energy Meters it's blank:

Is this an issue with my config or an expected behavior as the GX can't control or change any settings on my MQTT meter?

I assume that since your energy meter is custom that it's settings are under "My Grid Meter" not on Victron's Settings screen.

Even a "Victron" EM24 won't be listed there.


Quantization TOCO implementation

Hi,
i am trying to understand how exactly TOCO does quantize an annotated model. Assume we have a keras model:
Conv2D
MaxPool
Conv2D
MaxPool
Flatten
Dense
Dense(SoftMax)

where the Conv2D layers have been annotated with for post-training quantization using a QuantizeConfig for quantizing weights and activations based on the following Quantizer:
LastValueQuantizer(num_bits=8, symmetric=True,
 narrow_range=False,
per_axis=False)

As far as i understand, converting a such annotated keras model to TFLite using TOCO should yield a a model where the Conv2D layers have been quantized to 8bit integers while the rest stays at 32bit float. Is that correct? If yes, how is the rounding from the input keras Conv2D layers in 32bit to int8 accomplished? Is the situation the same when using float16 instead of int8? What abot the siutuation where i set num_bits=4?
Thanks for your help!

Thanks for using the tooling and reaching out.
You are correct that the quantization tooling you are using is able to selectively quantize certain layers while leaving the rest in floating point (this offers well controlled trade-off between accuracy, speed, and model size). When a model has both int8 op and float op, there will be a "quantization" op inserted in between to do the conversion of int8 and float32.
Hope this helps.

Hi,
thank for your reply and confirming my assumptions, this does indeed help me.
I am working on a research project using TF about analyzing quantization errors in CNN topologies and i need to know exactly what happens, but the converter optimizations are still an unknown factor.  Can you tell me what exactly happens when the optimization flag below is used or can you point me to a relevant paper?
converter.optimizations = [tf.lite.Optimize.DEFAULT]
Thanks a lot for your help!

@lorenz0890
Please, see the link for the description of converter optimizations.Thanks!

@lorenz0890
Please, see the link for the description of converter optimizations.Thanks!

Thanks!


LoadbalancingClient supports multiple connections to the same host

Previously a LoadBalancingClient could only have one open connection per host, due to the fact that it was backed by a hash map using the address as the key.  This could be a problem, for example, if you're trying to load balance requests across multiple connections through a proxy.  This has now been changed to use an ArrayBuffer instead.
This is not a perfect solution, since although new connections to a host can be added one at a time, they can only be removed all at once.  This ensures backwards compatibility and does solve the use-case of creating a load-balancer with multiple connections to a single host, but further work will probably be needed down the road to support other use cases.

Current coverage is 83.81% (diff: 88.23%)

Merging #470 into master will increase coverage by 0.02%

@@             master       #470   diff @@
==========================================
  Files            79         79
  Lines          3922       3923     +1
  Methods        3569       3573     +4
  Messages          0          0
  Branches        353        350     -3
==========================================
+ Hits           3286       3288     +2
+ Misses          636        635     -1
  Partials          0          0

Powered by Codecov. Last update e517a42...7b00065

I don't think this is going to work for the way we are using update. For example, in pollscala we are polling config every x seconds and calling update on each of the load balancers with the assumption is wouldn't add new clients if the address already exists (see PollscalaService). With this design it looks like the list will will grow over time.

Ah good point.  I have added a new optional allowDuplicates param to update that defaults to false.  So now the default behavior is as we'd expect in that situation.  Also added another test for that use case.

As a temporary solution 👍


Observer for PWInbox.unreadMessagesCount

Hi, I'm developing an app which has unread messages badge in several places and the way to update the value of it is not very great. It would be easer and better if PWInbox could notify when PWInbox.unreadMessagesCount is changed.
Could you please add an observable that fires a notification when PWInbox.unreadMessagesCount is changed? For example, when user receives new mail or marks it as read.

Hi @Chopyhoo,
Let me first consult our team regarding this solution.
I will update you as soon as there is any news.

Hey @Chopyhoo,
I have consulted my colleagues and as a result, I am glad to inform you that we will add this functionality soon. I am not able to provide the exact ETA at the moment, however, I will update you as soon as the job is done.
Stay tuned!

Thank you!

@Chopyhoo,
Added with the latest release.


Losing functionality when styling

🐛 Bug report
Current behavior
When I wrap the Button from reakit v1 with styled it is losing the Tabbable functionality. You can notice the StyledButton is missing HTML attributes and does not tab/focus properly like the base button does.
Steps to reproduce the bug
https://codesandbox.io/embed/reakit-o4r25
Expected behavior
I would expect the same functionality and attributes on the HTML elements generated for both the reakit and styled-components version.
Notes
I followed the Theming suggestion from the Migration v0 to v1 post. https://github.com/reakit/reakit/issues/350
/cc @diegohaz

Hi @stramel.
That's because you're using the as prop from Styled Components, not from Reakit (SC doesn't pass it down to the Reakit Button). So, you're actually overriding Button with div.
Unfortunately, that's a limitation on SC side (related: https://github.com/styled-components/styled-components/issues/2183#issuecomment-435692522). You can use the render props method instead:
<StyledButton>
  {props => <div {...props}>Button</div>}
</StyledButton>

Thank you for the quick reply.

@stramel  You could also use the new forwardedAs prop added in styled-components v4.3. When applied to your codesandbox it seems to properly keep the Button attributes.
See:
https://custom-elements-everywhere.com/ https://www.styled-components.com/docs/api#forwardedas-prop