Always corrects to empty git subcommands

thefuck shows the right correction but always executes a empty git subcommand.
Actual output:
λ Imagine ~ → git commot
git: 'commot' is not a git command. See 'git --help'.

 See 'git --help'.

Buggy Configuration:
OS: Windows
Terminal: Any *nix shell
Python: Any (Installed on Windows)
When on above configuration, the python uses CRLF for newline, but the shell does not understand CR character. This gives errors while setting the alias and running corrected commands.
Solution can be to prevent \n translation to CRLF when OS is Windows and Shell is not powershell.
If anybody has any idea how to prevent that translation, please do help.


Refactored testing util logic for beacon creation

Codecov Report

Merging #116 into dev will increase coverage by 0.34%.
The diff coverage is 81.81%.

@@             Coverage Diff             @@
##               dev     #116      +/-   ##
===========================================
+ Coverage     39.2%   39.55%   +0.34%
- Complexity     233      235       +2
===========================================
  Files           39       40       +1
  Lines         1329     1340      +11
  Branches       131      131
===========================================
+ Hits           521      530       +9
- Misses         756      758       +2
  Partials        52       52

Impacted Files
Coverage Δ
Complexity Δ

...oorpositioning/testUtil/AbstractBeaconCreator.java
81.81% <81.81%> (ø)
2 <2> (?)

Continue to review full report at Codecov.

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


chore(deps) bump lua-multipart version from 0.5.1 to 0.5.2

Summary
Bump lua-multipart version from 0.5.1 to 0.5.2.
Issues resolved
Fix #3024
Fix #2981
Fix https://github.com/Kong/lua-multipart/issues/12 (I think)

@bungle Let us know if 0.5.2 still a desired bump or should we delay this as per the recent developments on the linked issues (that seem to still indicate the presence of bugs)? If not, I suggest closing this and reopening it at a later time!


MULTI SWEEP (FINAL DESIGN) WORKING

convert set of sweeps to hex with padding to 16 bits and combined IQ data
Have FFT reset during sending of data
Feed in sweeps and store output as rows in textfile
plot against matlab

NOTE: FPGA version much slower due to UART baud rate. Future work: send all sweeps via faster comms (directly from radar) and store in buffer. Then use multi channel FFT and send to PC over fast comms. Can also process sweeps in real time.
See plot below. can extract any sweep for comparison. Target is a trolley moving towards then reversing away from radar

Yes...  We generally use multiple channels of 10 Gb Ethernet.
For the purposes of this project, however, the slow UART is fine.  You slowly load data into a staging buffer, then play it through the processing chain (i.e. your FFT) at the correct rate, storing the output into a second staging buffer.  You can then read out the result at leisure.

Great! suspected Ethernet is best. Will mention as future work.


Included workflow for noarch conda build and deployment

Description
Builds and deploys CVPack as noarch to the redesign-science conda channel.

Codecov Report

Merging #26 (f2f2f62) into main (bd0c786) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files


More lenient code coverage check

Description
Since there is not currently a good way to have fine-grain code coverage check exclusions, lower the coverage thresholds to make the check more lenient for now.
Also, display the code coverage report in the Travis CI logs to make it easier to understand how to improve coverage:
Diff coverage results:

  F = Function coverage
  L = Line coverage
  B = Branch coverage

------------------------------------------------------------------------------
org/apache/druid/cli/validate/DruidJsonValidator.java
------------------------------------------------------------------------------
254                       }
255                   );
256                 }
257
258                 @Override
259                 public String toString()
260                 {
261 F | L             return "DruidJsonValidator{" +
262                          "logWriter=" + logWriter +
263                          ", jsonFile='" + jsonFile + '\'' +
264                          ", type='" + type + '\'' +
265                          ", resource='" + resource + '\'' +
266                          ", toLogger=" + toLogger +
267                          '}';
268                 }
------------------------------------------------------------------------------

Diff coverage statistics:
------------------------------------------------------------------------------
|     lines      |    branches    |   functions    |   path
------------------------------------------------------------------------------
|   0% (0/1)     | 100% (0/0)     |   0% (0/1)     | org/apache/druid/cli/validate/DruidJsonValidator.java
------------------------------------------------------------------------------
Total diff coverage:
 - lines: 0% (0/1)
 - branches: 100% (0/0)
 - functions: 0% (0/1)

ERROR: Insufficient line coverage of 0% (0/1). Required 50%.

This PR has:

[x] been self-reviewed.

Do you think it's worth it to have separate threshold for each job? I am not sure what's the number currently is and if there's a wide range between jobs/modules or not.

Do you think it's worth it to have separate threshold for each job? I am not sure what are the numbers currently on each job/module and if there's a wide range between jobs/modules or not.

The thresholds are on the PR diff, so I think it should mostly be independent of the particular job/module.

Do you think it's worth it to have separate threshold for each job? I am not sure what are the numbers currently on each job/module and if there's a wide range between jobs/modules or not.

The thresholds are on the PR diff, so I think it should mostly be independent of the particular job/module.

Thanks for clarification. LGTM!


How to open an .aab package?

An error occurred when I opened an aab package file: Openfile err:File "resources.arsc" not found.
Can it open the latest Android APP format——aab file.

Can it support parse AAB file?


Table (view) is not update when the rows are updated

I'm submitting a ...  (check one with "x")
[ X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior

I've a table which I update using a method like newRow
newRow(){
  this.rows.unshift({
      price: 100,
      duration: 60,
      state: 1,
     });
}

where
<datatable #datatableTeaching class="material"
            [rows]="rows"
            [columnMode]="'force'"
            [headerHeight]="auto"
            [rowHeight]="'auto'"
            [footerHeight]="'auto'"
            >
....

But the view (table) is not update since that I resize the window. Although the element is pushing in the array.
The problem is the same when I remove the element from the row.
Expected behavior

The view (table) and the array is updated with a new element.
Reproduction of the problem

What is the motivation / use case for changing the behavior?

I need update a table in real time for user interaction, which works in the old version 0.6.1.

Table version: 1.2

Angular version: 2.0.1

Browser: [all ]

Language: [all]

I believe this is how the OnPush change detection strategy works.  You may need to markForCheck.  See http://blog.thoughtram.io/angular/2016/02/22/angular-2-change-detection-explained.html

Hello @shattar,
I thought that the problem could be the OnPush change detection strategy too. So, I was search the way to invoke manually to refresh the DOM, but I didn't found it.
I've tried this code (in my component which use angular2-data-table) but this doesn't work:

import {  ChangeDetectorRef } from '@angular/core';

constructor(
     private cd: ChangeDetectorRef) {  }

newRow(){
  this.rows.unshift({
      price: 100,
      duration: 60,
      state: 1,
     });
     this.cd.markForCheck(); // marks path
}

Should change my component or the angular2-data-table code?
Thanks!

I guess markForCheck doesn't cascade down to the child components.  I recreated the issue on plnkr (without even using <datatable>).
https://plnkr.co/edit/rAWUWYXZ5bX14WQ0pEpb?p=preview
I'm not aware of how to trigger a child component to check for change without using an immutable input (copy the array to a new one and change the reference), or tickling it with a purpose built update method/event that a parent component can call/emit.  Both seem ugly.  I would love to know an elegant solution to this!

The change detection strategy is onOnPush, u need to push a whole new rows collection. Modifying the existing collection does not trigger updates.
Like this: https://github.com/swimlane/angular2-data-table/blob/master/demo/basic/filter.ts#L69

This is definitely the way ng2 is intended to work, however, it feels a bit awkward this particular component... seeing as how the main function is to render an array to the screen.
See the comments on issue #32.  The filter demo method has some other undesirable side effects, I mean... it filters properly, but... sort the list, then type in a filter, sorting breaks.
Kind of caught between a rock and a hard place.  We want OnPush for efficient change detection, but that will cause us to create copies of the row data on every update, which is not efficient, and currently doesn't function really well anyway.  It would be nice if there were a cheaper way to tell the component to check for change.  It would also be nice if this components state information were not stored in the applications input rows, so that when a new array is given, the state information is not lost.

+1 @shattar could be interesting a configuration option to decide the strategy to render. I think that a table could be update in a lot of the real cases.

@shattar - What API would you propose?

What do you think about exposing a markForCheck function so that parent components can mark it when they mutate the array in place?  See here... https://plnkr.co/edit/hsBGsgUmEfh29O1vEz4W?p=preview .  I like this option because it seems pretty clean and follows ng2 semantics.  It would allow the desperate person to get the job done without compromising the purity of the existing 'array of rows' API.
Or (less desirable IMO) make a 'rows object' option, { rows: any[] }, where the shallow copy is extremely small this.data = Object.assign({}, this.data); instead of the potentially large shallow copy let rows = [...this.rows];.  See here... https://plnkr.co/edit/HLzuNYJ0rqOnZxPBssx5?p=preview .  The component could use the array of rows input like it does now as the primary data source, and check the new rows object as the secondary data source if the primary data source is null.  This way people don't have to mess with the rows object interface if they don't need it.

Ya, I'm going to reach out to others in community and see what their thoughts on this problem is. I think the main issue is that in a few places the table manipulates the inner state without propagating upward which violates the paradigm, however, removing that would remove features like column orders/sorting/etc.
I'm good w/ exposing that until we find a better approach. Could you PR that please?

I think this is a lot of "overhead" with copying the whole array all the times I do an update. This is not affordable for my usecase.

Mee to edit and remove srent percutef aitomaticslly of its onpush strategy please set change detection ...

Added a refresh function in 1.4.0

@amcdnl from my class I use  @ViewChild('datatable') datatable; then  I refresh using this.datatable.refresh() after delete row but ... nothing's happend ... it doesn't refresh, why :S

This nigth (local time) I going to test the new feature too.

Experiencing the same issue. I hit the refresh() function, the table is not refreshed.

This problem still exist?
In version 0.9.3 this bug not hepend

@germanAd 0.9.3 was good  for me too but we are on 1.4.0 ... yes problem still here

In my case doesn't work :(.
This is my code:
TS:
private vars...

  @ViewChild('datatableTeaching') table;

more code...

  newRow(){
  this.rows.unshift({
      price: 100,
      duration: 60,
      state: 1,
     });
    this.table.refresh()
}

HTML:
 <datatable #datatableTeaching class="material"
            [rows]="teachingTable.rows"
            [columnMode]="'force'"
            [headerHeight]="50"
            [rowHeight]="'auto'"
            [footerHeight]="'auto'"
            >
....
</datatable>

Why need add refresh function ?need compare with version(0.9.3) that refresh worked automatically
and fixed this

another technology (onpush strategy detection change) check it http://blog.thoughtram.io/angular/2016/02/22/angular-2-change-detection-explained.html please read all this issue link is above

@germanAd the module changed the strategy because of perform when the table is enormous.

@Caballerog
Have resolve this problem?

@germanAd dude where you read "resolve this problem"
You asked "why need this refresh function,  because in 0.9.3 it worked automatically?"
so about this question : ME and @Caballerog tell you it's because of code refactoring, NOW we have OnPush change detection strategy.
Again please read this issue from the begining and open link I posted to understand better
thanks

@germanAd no, I yet didn't resolve my problem. @istiti told you what is the current problem.

I have this problem too. any ideas ?

+1
refresh() is not working properly.
Table rows are updated after resizing.

Label says is "Working as Intended".
Should the community expect updates on this issue?

My solution ... (its bad, but its working)
                        var self = this;                         setTimeout(function () {                             self.mediaTable.resize.emit(self.tableColumns[0], self.tableColumns[0].width);                         }, 0);

Working on a better solution for this. Added a custom trackBy function per @robwormald suggestion. Still not fully working yet though.

highly waiting this feature cause can't update properly my riws actually !

I can work on this sometime within the next couple of days.

@amcdnl can you please explain how delete and edit row today?  1.7.0
because before was very simple:
delete = this.dataFiles.splice(this.selectedFiles.$$index, 1)
update = this.dataFiles[0].nameFile = 'hmm';
how can achieve this actually ?
even with observable but how achieve this ? my app is blocking and i'm still in 0.9 to get it working if not this version big problems lol thanks

My inline editing example seems to work. Try using the custom track by too.

@amcdnl what do you mean by custom track by too ?
I just check your inline edit and I can see simply:
 this.rows[row.$$index][cell] = event.target.value;
Can I edit my row like this? I don't understand

Even the inline example does not work. Here http://swimlane.github.io/angular2-data-table/# when I go to "inline editing" demo and dobuble "Cora Chase" then change it. Nothing happen after clicking out. Then when you click the second line "Ethel Price" it gets value of modified "Cora Chase".
This I don't call working example. Sorry

I am trying to upgrade from 0.10.1 to 1.7.0 and I can't make the following functions work (they worked in 0.10.1)

add/remove row in a grid without refreshing the whole data set.
live update is not working. I also checked the live update demo and a cell value is get updated ONLY when I click on it.

Just been trying to get the updating working also. Just as a follow on from what @karmis suggested, the following (bad) solution works for me (1.7.0) :
`
@ViewChild('datatableStats') table;
...some code...
removeRow() {
this.rows.pop();
setTimeout(() => {
this.table.resize.emit();
}, 0);
}
`
Tried adding:
[trackByProp]="'name'"
But this didn't seem to do anything.

@motcowley  this is very tricky !
I think @amcdnl is workin on this because actually everbody have this problem!
hope it will be better asap

I tried table.resize.emit() and it does not work for me. Can you please explain why it should work?
So instead of calling resize.emit() I added:
 window.dispatchEvent(new Event('resize'));

after remove/add and it works for me now.

Ya, I'm not sure on best approach. I've spoke w/ quite a few ppl on the matter, I think a custom ngFor is the approach I might have to take.
I'm on vaca this week so won't have much to add right now.

@ipassynk but don't works when edit a row ? for me your solution works only id  remove row

@istiti - window resize helps only with add/remove row but not edit. Cell click helps with edit.
@amcdnl - thank you very much for creating and supporting this library.

@ipassynk  yep you are right, it's very big dammage this regression doesn't allow me use this table now... I really need edit rows but no issue

the same - I need editing as well. I use this hack for now - $('.datatable-body-cell').trigger('click'); after edit.

I posted a question on stack overflow. Still investigating.

Hi @amcdnl , you're a great boy! (There are already answers from stackoverflow!)

So, after chatting w/ a few cool cats...I'm gonna remove OnPush from the top level datatable. Everything else will stay onpush for good perf though. I'm working on this now, so this will be done shortly. Thanks for your patience.

@amcdnl thanks I could update to last version because actually i'm stil on 0.9 :) for this feature (remove/add/edit/ thansk

Thanks @amcdln, I going to testing your new feature in my proyect when it's
ready ;-)
ᐧ

Dr. Carlos Caballero González
PTFP Sistemas y Aplicaciones Informáticas - Junta de Andalucía
LinkedIn: http://lnkd.in/xVG3qV
Twitter: http://www.twitter.com/carlilloGitHub:
http://www.github.com/caballerog------------------------------------------------
2016-12-01 7:12 GMT+01:00 vltr<EMAIL_ADDRESS>
@amcdnl https://github.com/amcdnl thanks I could update to last version
because actually i'm stil on 0.9 :) for this feature (remove/add/edit/
thansk
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/swimlane/angular2-data-table/issues/255#issuecomment-264087697,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIZj36RDKLDG-jB5oZXb5tE3FgNpL1CVks5rDmVPgaJpZM4KqbVB
.

Fixed in 2.0

I upgraded to 2.0. Edit works as 0.9 version - good but add/remove still don't work with triggering window.resize after. May be it make sense to add a demo to the project for add/remove row scenario?

adding and removing rows?

yup

For remove I use - splice and for add - push on the rows array. Without calling window.resize i still do not see new/removed row in the table.

I have experimented with creating a new array that updates the ref. That doesn't work for me either. However, simulating a click on the cell just edited works fine (as good as a hack like this can be I suppose).

@cortopy - did you see the live data demo? I mutate objects in that example and its updating automatically.

@ipassynk - I'm going to re-open this re: your add/remove issue.

Fixed in 2.1.3 :)

it works for add/remove. Thanks a lot.

Glad to hear it!!!!

As per my comment in the chat room, add and remove do NOT work once a column sort from the header has been requested (via click).
Can easily recreate with the Live Demo feature. I like this component, but is there a way for me to disable sorting until this is fixed? Otherwise it's a blocker for me, I rely on realtime events.

Following code works for me Try it
setTimeout(()=>{
this.valveListToDisplay = [...tableData] ;
}, 0);
this.valveListToDisplay = [...tableData];
Write the assignment statement twice.

enchanter5525 's solution with settimeout just once not twice solved my refresh and model change issue. I used [...] operator to update rows, I was changing the sequence of checked rows still it was keeping earlier checked sequence as per old model.
set timeout solved the issue.

Hi,  only you need check this  window.dispatchEvent(new Event('resize')

Hi, I am facing the same issue after updating the library to latest version (19.0.0) and it was working fine for version 16.1.0. Tried all the methods suggested here. And tried updating the rows using the spread operator -> this.rows = [...this.rows];
Any help would be appreciated.
Thanks in advance!


Export SQL for all migrations

I think it would be useful to export the raw SQL commands from all of the migrations so it can be used to initialise new databases from a single file.
For example in my testing environment I generate and start a local Postgres instance which requires setup via migrations before any tests can be run. Currently I have to store ~50 migration files in my repo and run these on every test run. In my case, it would be beneficial from an organisational standpoint to only have one file of SQL to initialise it.
In practise, the command might look like this (--all to run all migrations, --sql-out to print to stdout):
db-migrate up --all --sql-out > allMigrations.sql
Thoughts? I would imagine such a feature may be useful for a few others.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/23012919-export-sql-for-all-migrations?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github).

What about dumping the structure together with the complete migrations-table? (from command line)
You could then include this sql-file into your project and use it when you set up a new environment.
When you then run db-migrate up, it will look into the migrations-table and say "No migrations to run".
Would be nice to have a build-in-function for this tho. :+1:

I think the proper way would be, to add a log level specification:
db-migrate up --dry-run --log-level sql > migrations.sql

and a --ignore-completed-migrations flag
Thoghts?

Would look like the following if implemented like suggested:
[tobi@tobi:node-db-migrate master*]$ bin/db-migrate up --dry-run --ignore-completed-migrations --log-level sql
CREATE TABLE IF NOT EXISTS `migrations` (`id` INTEGER  PRIMARY KEY AUTO_INCREMENT NOT NULL, `name` VARCHAR (255) NOT NULL, `run_on` DATETIME  NOT NULL)
SET AUTOCOMMIT=0;
START TRANSACTION;
INSERT INTO `migrations` (`name`, `run_on`) VALUES (?, ?) [ [ '/20150220133929-test6', '2015-06-28 13:18:57' ] ]
COMMIT;
SET AUTOCOMMIT=0;
START TRANSACTION;
INSERT INTO `migrations` (`name`, `run_on`) VALUES (?, ?) [ [ '/20150302131335-test1', '2015-06-28 13:18:57' ] ]
COMMIT;
SET AUTOCOMMIT=0;
START TRANSACTION;
INSERT INTO `migrations` (`name`, `run_on`) VALUES (?, ?) [ [ '/20150302131336-test2', '2015-06-28 13:18:57' ] ]
COMMIT;
SET AUTOCOMMIT=0;
START TRANSACTION;
INSERT INTO `migrations` (`name`, `run_on`) VALUES (?, ?) [ [ '/20150302131338-test3', '2015-06-28 13:18:57' ] ]
COMMIT;
SET AUTOCOMMIT=0;
START TRANSACTION;
INSERT INTO `migrations` (`name`, `run_on`) VALUES (?, ?) [ [ '/20150305131350-test4', '2015-06-28 13:18:57' ] ]
COMMIT;
SET AUTOCOMMIT=0;
START TRANSACTION;
INSERT INTO `migrations` (`name`, `run_on`) VALUES (?, ?) [ [ '/20150330121354-test5', '2015-06-28 13:18:57' ] ]
COMMIT;

Example implementation:
[tobi@tobi:node-db-migrate master*]$ bin/db-migrate up --dry-run --ignore-completed-migrations --non-transactional --log-level sql
CREATE TABLE IF NOT EXISTS `migrations` (`id` INTEGER  PRIMARY KEY AUTO_INCREMENT NOT NULL, `name` VARCHAR (255) NOT NULL, `run_on` DATETIME  NOT NULL)
INSERT INTO `migrations` (`name`, `run_on`) VALUES ("/20150220133929-test6", "2015-06-28 13:52:38")
INSERT INTO `migrations` (`name`, `run_on`) VALUES ("/20150302131335-test1", "2015-06-28 13:52:38")
INSERT INTO `migrations` (`name`, `run_on`) VALUES ("/20150302131336-test2", "2015-06-28 13:52:38")
INSERT INTO `migrations` (`name`, `run_on`) VALUES ("/20150302131338-test3", "2015-06-28 13:52:38")
INSERT INTO `migrations` (`name`, `run_on`) VALUES ("/20150305131350-test4", "2015-06-28 13:52:38")
INSERT INTO `migrations` (`name`, `run_on`) VALUES ("/20150330121354-test5", "2015-06-28 13:52:38")

Pushed example implementation to https://github.com/db-migrate/node-db-migrate/tree/exportSQLMigrations

@wzrdtales But then it would still run all migrations, you would just have them collected in one file.
I think what @IyadAssaf wanted to have, is a way to create the tables for a new database, for example if you are a new developer and just cloned the project.
> git clone git.myserver.tld:myproject.git
> cd myproject
> db-migrate init
Initiating database...
  CREATE TABLE users....

db-migrate init could for example take a structure.sql (as stated above) as source. If then some changes get made with db-migrate create,it would not only create the .js-file but also update the structure.sql.

No I think this is exactly what he wants, because this was exactly what he has written:

I think it would be useful to export the raw SQL commands from all of the migrations so it can be used to initialise new databases from a single file.

If we talk about dumping a database, you're in the wrong project :)
There is another project of me https://github.com/wzrdtales/node-ultimate-migrate, which reverts existing database schemas to migrations and also delivers the ability to make diffs against existing databases and the actual existing migrations to remove the need to write migrations by hand if they already exist in the current schema.
I don't see the sense in this structure.sql, I think you want to have a file that got the table schema already applied without running through the migrations and altering the table multliple times?
That is something we can think of, but we would need a good concept to realize this.

No I think this is exactly what he wants, because this was exactly what he has written:

Damn, you are right, my bad :D

If we talk about dumping a database, you're in the wrong project :)

Not exactly (you are the developer of course ;) ), if you don't already have a scheme to work on (/migrate), you need  to run every single migration on that database, which would be much slower than having the current structure saved somewhere and use it if there are no tables yet in the database-scheme.
But like you said, this is then not actually an migration-task and therefore maybe not the right project but i see database-migration as a version-control for databases, which then also needs to take care about the initiation-part.
But i will maybe open a new issue for that, because, like you said, op seems just to want an option to put all migrations in one file.

Yep, this is exactly what I was talking about. Thanks for the quick turnaround, this is awesome!

@zyberspace Yes please open a new issue for this :)
Closed as it is already contained in the master.


Problems with backslashes

When a ZIP is created under Windows the backslash is causing problems because it's a legal character in a filename

Strictly speaking this is a .NET / .NET Core problem. It got fixed in .NET 4.6.1 but not at all in .NET Core

Strictly speaking this is a .NET / .NET Core problem. It got fixed in .NET 4.6.1 but not at all in .NET Core

Workaround implemented

Workaround implemented


Implement Token Methods

Implement methods on the tokenizer to get each type of token from the stream.
Necessary for #2

These could be implemented for each token, but that might clutter the code even more.
Example:
'!' => self.get_tag_token()

vs. just
'!' => Token::Tag

It's probably preferable to only implement these methods for multi-character tokens (those that require look ahead)
Example:
'_' => self.get_scalar()


Remove @0.2.3 from jupyter-cytoscape in postBuild

Problem

When trying to debug ipycytoscape in a JupyterHub deployment that I help manage, I was testing a repo2docker image that we build with ipycytoscape=1.2.0 and it was not working because our jupyterlab=2.2. I was comparing the extensions used in the postBuild of our environment against the one in this repository and noticed that the jupyter-cytoscape extension is pinned to<EMAIL_ADDRESS>This is well out of date, and when actually built, jupyter labextension list shows jupyter-cytoscape v1.2.0;

Proposed Solution

The pin for @0.2.3 should probably simply be removed from postBuild. I've made a PR to do this. Ipycytoscape has code to automatically match the ipycytoscape version to the labextension jupyter-cytoscape version anyways.
Additional context

Furthermore, jupyter-cytoscape>1.0.4 does not seem to be hosted in this (somewhat?) official npm repository. I suggest that newer versions are either uploaded to here or it is made clear that this is an archived npm repository for jupyter-cytoscape that works only on jupyterlab2 and ipycytoscape<=1.0.4.

Thank  you for your issue and your fix @sandertyu.
So yeah, you're right about the npm repo, @ianhi and I forgot to upload the package there somehow!
I'll fix it right away and close this issue once it's fixed. Thanks for the catch!

Hey @sandertyu thanks again, fixed here.


Question: Microsoft 365 Dev Benefit and Microsoft Azure Credits

this issue is only an issue in so far as I am not able to find the answer to the question elsewhere.
I have my Azure Credit benefit with my VS Enterprise subscription. I also have an active Microsoft 365 E5 Dev tenant set up.  Is it possible to associate the Azure Credit benefit with the Azure AD tenant associated with my Microsoft 365 E5 dev tenant?
if it is possible then could you add a section to the learning material that describes the steps required to make this work please?
Regards,
Pete

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

ID: 89e73c3b-9ec3-eda3-442b-65700567ea86
Version Independent ID: f79046c8-a4d0-1186-52de-f716f64601a5
Content: Microsoft 365 developer subscriptions in Visual Studio subscriptions
Content Source: subscriptions/vs-m365.md
Product: visual-studio-family
Technology: vs-subscriptions
GitHub Login: @evanwindom
Microsoft Alias: amast

@loaderladdy -- thank you for your questions.
@evanwindom -- please look into this issue.

@loaderladdy Hi Pete.  Can you tell me a little more about what you're hoping to accomplish here?  Are you using the same credentials to access both Azure credits and M365?

@evanwindom Hi Evan. I was working on a solution that told me it required the sorts of features that you get with M365 E5 Dev subs benefit. In this instance AAD P1 or P2. My employer provided VS Ent subs is assigned to a Microsoft Account and my Azure Credits benefit is being used on that AAD instance.  Of course the M365 E5 Dev benefit requires you to set up a new M365 tenant that uses different credentials as it is a Work & School account.  So to work around the problem of my Azure Credit benefit not having AAD P1 or P2 I saw an opportunity to resolve this by trying to find a way to associate the Azure Credit benefit with the M365 E5 Dev tenant.  Does that make sense?

i have added an alternative ID to my Enterprise Subscription that is my work account, but are you suggesting that I add the “work” account for my M365 E5 Developer benefit tenant as the work account?

@loaderladdy  Yes.  If you're using three different IDs to access various assets, I'm unaware of any way to link all of them.

@evanwindom i rechecked and the alt ID I have used is the work account ID for my M365 E5 Dev benefit tenant, and not my ‘real’ work account.  When I re-read the text describing the use of the alternative email ID, which states…

Alternate account
You can connect an alternate email to your subscription to activate your monthly Azure dev/test individual credit, access Azure DevOps, and sign-in to the Visual Studio IDE. Adding an alternate email account does not provide a copy of your subscription to your alternate email or change your subscription sign-in for my.visualstudio.com.

I think the best way to make sure my understanding is correct is through the picture below.  In the picture it shows the my question was about using my M365 E5 Dev benefit (A) with my Azure Credit benefit (1).  But I believe the wording from the above quote is telling me I can associate (A) with either (2) or (3) or both but not (1) by using an alternative ID created when I built (A).  Is that the correct interpretation?

Thanks again,
Pete

@loaderladdy
Hi Pete,
I checked with an engineering PM, and he said that as long as the services call our API to authenticate the subscription, they should work since both the sign-in ID and the alternate ID are associated with it.

@evanwindom okay I'll see how I get on and update you on my experience


Front-End Groundwork: Bundling, SCSS, Static Serving

Possible solution:

Yarn
Webpack

Coverage remained the same at 100.0% when pulling c8e20239289e4f60d86d0248a2182c076ee3b16b on feature/6 into 5f51bc63ea461c70232427c66d892f0a36b29743 on master.


Add automated proxy balancer for nordvpn

Use the following format for --proxyServer:
nordvpn://user:pass@us/

Then call https://nordvpn.com/api/server and find a server that:

Satisfies features.proxy_ssl or features.socks5 (#16)
Satisfies flag matching country code
And then pick one with the lowest load

Additional considerations:

Consider the IP switch while streaming; can we get away with this?
Pick a new proxy again after some time, so that we're always switching to a healthy one

Fixed in 0.8.0

Fixed in 0.8.0


Compilation error Golang 1.11 (go1.11.4 darwin)

Hi,
I'm getting the following error when building the Golang module. Latest checkout of the tvm repository.
go version go1.11.4 darwin/amd64
`$ make
function_test.go:207:30: error strings should not be capitalized or end with punctuation or a newline
ndarray.go:104:30: error strings should not be capitalized or end with punctuation or a newline
ndarray.go:198:30: error strings should not be capitalized or end with punctuation or a newline
ndarray.go:282:26: error strings should not be capitalized or end with punctuation or a newline
ndarray.go:293:34: error strings should not be capitalized or end with punctuation or a newline
value.go:310:34: error strings should not be capitalized or end with punctuation or a newline
value.go:323:30: error strings should not be capitalized or end with punctuation or a newline
gotvm
./ndarray.go:251: cannot use (*_Ctype_long)(&shape[0]) (type *_Ctype_long) as type *_Ctype_longlong in argument to func literal
make: *** [all] Error `

@patrikhermansson  can you try below patch ?
diff --git a/golang/Makefile b/golang/Makefile
index 54019740..d62133b7 100644
--- a/golang/Makefile
+++ b/golang/Makefile
@@ -7,8 +7,8 @@ NATIVE_SRC = tvm_runtime_pack.cc

 GOPATH=$(CURDIR)/gopath
 GOPATHDIR=${GOPATH}/src/${TARGET}/
-CGO_CPPFLAGS="-I. -I${TVM_BASE}/ -I${TVM_BASE}/3rdparty/dmlc-core/include -I${TVM_BASE}/include -I${TVM_BASE}/3rdparty/dlpack/include/"
-CGO_CXXFLAGS="-std=c++11"
+CGO_CPPFLAGS="-I. -I${TVM_BASE}/ -I${TVM_BASE}/3rdparty/dmlc-core/include -I${TVM_BASE}/include -I${TVM_BASE}/3rdparty/dlpack/include/ -m64"
+CGO_CXXFLAGS="-std=c++11 -m64"
 CGO_CFLAGS="-I${TVM_BASE}"
 CGO_LDFLAGS="-ldl -lm"


⚠ main has degraded performance

In ef92452, main ($MAIN_API_URL) experienced degraded performance:

HTTP code: 200
Response time: 21326 ms

Resolved: main performance has improved in 784235b.


can't install the apk？

when I install the apk(singed), I got the error " problems occur when parsing the package". I am really interesting at this project, wish you can give a help. thx.

Can you include logcat output from the installation process?

hi, thx for your reply. i just try it again and i got the "Failure [INSTALL_FAILED_INVALID_APK]". I sign the apk with jarsigner.

Can you include the logcat output of the installation process, please? Otherwise, I cannot help you :)

Sorry for misunderstand your words, here is the logcat:
08-10 05:51:57.163: E/art(5367): Unrecognized option -XX:mainThreadStackSize=24K
08-10 05:51:57.163: W/art(5367): Ignoring unknown -Xgc option: precise
08-10 05:51:57.193: W/art(5367): Failed to find ELF magic in /system/framework/pm.odex: dey
08-10 05:51:57.233: W/art(5367): JNI RegisterNativeMethods: attempt to register 0 native methods for android.content.res.Configuration
08-10 05:51:57.233: D/AndroidRuntime(5367): Calling main entry com.android.commands.pm.Pm
08-10 05:51:57.243: W/ResourceType(27043): XML size 0x93a or headerSize 0x1c is not on an integer boundary.
08-10 05:51:57.243: W/PackageParser(27043): Unable to read AndroidManifest.xml of /data/local/tmp/demo_signed.apk
08-10 05:51:57.243: W/PackageParser(27043): java.io.FileNotFoundException: Corrupt XML binary file
08-10 05:51:57.243: W/PackageParser(27043): 	at android.content.res.AssetManager.openXmlAssetNative(Native Method)
08-10 05:51:57.243: W/PackageParser(27043): 	at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:488)
08-10 05:51:57.243: W/PackageParser(27043): 	at android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:456)
08-10 05:51:57.243: W/PackageParser(27043): 	at android.content.pm.PackageParser.parsePackageLite(PackageParser.java:780)
08-10 05:51:57.243: W/PackageParser(27043): 	at com.android.defcontainer.DefaultContainerService$1.getMinimalPackageInfo(DefaultContainerService.java:175)
08-10 05:51:57.243: W/PackageParser(27043): 	at com.android.internal.app.IMediaContainerService$Stub.onTransact(IMediaContainerService.java:110)
08-10 05:51:57.243: W/PackageParser(27043): 	at android.os.Binder.execTransact(Binder.java:404)
08-10 05:51:57.243: W/DefContainer(27043): Failed to parse package
08-10 05:51:57.243: W/ActivityManager(861): No content provider found for permission revoke: file:///data/local/tmp/demo_signed.apk
08-10 05:51:57.313: D/AndroidRuntime(5367): Shutting down VM


[regen] question: rw1c or rw0c?

Hi Michael and Tim,
I saw both flash_ctrl and alert_handler are using enable registers, but the type is different:
flash_ctrl is using rw0c while alert_handler is using rw1c.
I am just curious if this is intended? If not, do you think it is necessary to unify them?

Hi @cindychip, good point. I remember that we had initially set this to rw0c as well in the alert handler, but then we switched over to rw1c to make clearing "more explicit". This is really just a matter of definition, so I am open to both variants. WDYT, @tjaychen ?

ah so the argument that was given to me by a software person is that if we
make it rw0c, the value written into the register and the value read out of
the register is consistent.
This makes it easier for them to perform random register value checks in
software, since they don't need to understand types and make exceptions :)
That's the main reason i made it rw0c.
On Wed, Apr 8, 2020 at 5:39 PM Michael Schaffner<EMAIL_ADDRESS>wrote:

Hi @cindychip https://github.com/cindychip, good point. I remember that
we had initially set this to rw0c as well in the alert handler, but then
we switched over to rw1c to make clearing "more explicit". This is really
just a matter of definition, so I am open to both variants. WDYT,
@tjaychen https://github.com/tjaychen ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1922#issuecomment-611265006,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSRWCMXUIRG5HVIWWJ3RLUKN5ANCNFSM4MEKUIEA
.

I agree with that rationale. Should we then just align on rw0c for this type of regen usage?

rw0c works for me. doc/rm/register_tool/ would need to be changed to reflect this. I can submit a PR to clean these up. @cindychip or @sriyerg do you know if autogen'd reg tests make any assumptions about regwen?

Hi Scott,
Current DV CRS test was set to RW1C. I can make a PR to change it.
Cindy
On Wed, Apr 8, 2020 at 7:57 PM Scott Johnson<EMAIL_ADDRESS>wrote:

rw0c works for me. doc/rm/register_tool/ would need to be changed to
reflect this. I can submit a PR to clean these up. @cindychip
https://github.com/cindychip or @sriyerg https://github.com/sriyerg
do you know if autogen'd reg tests make any assumptions about regwen?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1922#issuecomment-611300085,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXPOOL4I5LQSQAJ4BPWQSLRLU2RHANCNFSM4MEKUIEA
.

Can this be converted into a 'standard' CSR like the interrupts?

hey Sri,
what in your mind would be considered standardized? For example all the
regen type bits are in one register, and they all behave the same way?
I do think we will have some regwen registers that need to be hwext type,
since their clearing will depend on specific hardware functions and not
just software r/w.
On Wed, Apr 8, 2020 at 8:42 PM sriyerg<EMAIL_ADDRESS>wrote:

Can this be converted into a 'standard' CSR like the interrupts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1922#issuecomment-611311226,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSWGMOWXETPLY2NGGALRLU735ANCNFSM4MEKUIEA
.

rw0c works for me. doc/rm/register_tool/ would need to be changed to reflect this. I can submit a PR to clean these up. @cindychip or @sriyerg do you know if autogen'd reg tests make any assumptions about regwen?

Looking at the code, the following assumptions are made:

Access policy of the 'enable' field is 'rw1c' (Cindy's PR #1925 fixes that).
The 'enable' field is on the LSB end is the only one that unlocks the access to the CSRs

We are not making assumptions on the name of the field because it is set differently in different IPs ("en", "regen"). It would simplify our code if we could.

Bit 0 of register is the only one that unlocks the access to the CSRs

hmmm... so first thing is that I think these will become multi-bits in the
longer term (we can probably standardize on 2)
We could maybe standard on the naming ..for example... *_sw_regwen and
*_hw_regwen.
The former group for example would always behave the same, while the latter
is more wild-card.
Would something like that help?
On Wed, Apr 8, 2020 at 9:07 PM sriyerg<EMAIL_ADDRESS>wrote:

rw0c works for me. doc/rm/register_tool/ would need to be changed to
reflect this. I can submit a PR to clean these up. @cindychip
https://github.com/cindychip or @sriyerg https://github.com/sriyerg
do you know if autogen'd reg tests make any assumptions about regwen?
Looking at the code, the following assumptions are made:

Access policy of the 'enable' field is 'rw1c' (Cindy's PR #1925
https://github.com/lowRISC/opentitan/pull/1925 fixes that).
The 'enable' field is on the LSB end is the only one that unlocks
the access to the CSRs

We are not making assumptions on the name of the field because it is
set differently in different IPs ("en", "regen"). It would simplify our
code if we could.

Bit 0 of register is the only one that unlocks the access to the
CSRs

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1922#issuecomment-611316508,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSWGIIGZZOZBNPZP7D3RLVCYDANCNFSM4MEKUIEA
.

Btw eunchan / michael,
for the *_hw_regwen, i'm basically thinking for things like hmac / aes /
kmac..or really..any module where once an operation begins, you don't want
anyone to change the configuration until it has completed.
Does that seem reasonable to you guys?
On Wed, Apr 8, 2020 at 9:14 PM Timothy Chen<EMAIL_ADDRESS>wrote:

hmmm... so first thing is that I think these will become multi-bits in the
longer term (we can probably standardize on 2)
We could maybe standard on the naming ..for example... *_sw_regwen and
*_hw_regwen.
The former group for example would always behave the same, while the
latter is more wild-card.
Would something like that help?
On Wed, Apr 8, 2020 at 9:07 PM sriyerg<EMAIL_ADDRESS>wrote:

rw0c works for me. doc/rm/register_tool/ would need to be changed to
reflect this. I can submit a PR to clean these up. @cindychip
https://github.com/cindychip or @sriyerg https://github.com/sriyerg
do you know if autogen'd reg tests make any assumptions about regwen?
Looking at the code, the following assumptions are made:

Access policy of the 'enable' field is 'rw1c' (Cindy's PR #1925
https://github.com/lowRISC/opentitan/pull/1925 fixes that).
The 'enable' field is on the LSB end is the only one that unlocks
the access to the CSRs

We are not making assumptions on the name of the field because it
is set differently in different IPs ("en", "regen"). It would simplify our
code if we could.

Bit 0 of register is the only one that unlocks the access to the
CSRs

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1922#issuecomment-611316508,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSWGIIGZZOZBNPZP7D3RLVCYDANCNFSM4MEKUIEA
.

hmmm... so first thing is that I think these will become multi-bits in the longer term (we can probably standardize on 2) We could maybe standard on the naming ..for example... _sw_regwen and _hw_regwen. The former group for example would always behave the same, while the latter is more wild-card. Would something like that help?
…
On Wed, Apr 8, 2020 at 9:07 PM sriyerg @.*> wrote: rw0c works for me. doc/rm/register_tool/ would need to be changed to reflect this. I can submit a PR to clean these up. @cindychip https://github.com/cindychip or @sriyerg https://github.com/sriyerg do you know if autogen'd reg tests make any assumptions about regwen? Looking at the code, the following assumptions are made: 1. Access policy of the 'enable' field is 'rw1c' (Cindy's PR #1925 <#1925> fixes that). 2. The 'enable' field is on the LSB end is the only one that unlocks the access to the CSRs - We are not making assumptions on the name of the field because it is set differently in different IPs ("en", "regen"). It would simplify our code if we could. 1. Bit 0 of register is the only one that unlocks the access to the CSRs — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#1922 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH2RSWGIIGZZOZBNPZP7D3RLVCYDANCNFSM4MEKUIEA .

I was thinking more on the lines of - avoiding disparate CSR names like what we have now - ('regen' vs 'regwen'), field names ('en' vs 'regen') and the access policies (rw0c vs rw1c). Even with PR #1925 fix, is there anything stopping from a new designer from creating yet another enable register with a totally new access policy (which would break our code yet again)?
A multi bit enable register (I am assuming each bit controls a set of CSRs) is fine as long as we can automate all of that. Not sure splitting into to types (*_sw_regen and *_hw_regen) helps. It should be ok to have both sw and hw controls in the same register (in our automated tests, we have exclusions that prevent the hardware from being operational, so it should not affect our tests).

Ah if that's the case, I think it does make sense to standardize.
On Wed, Apr 8, 2020, 21:37 sriyerg<EMAIL_ADDRESS>wrote:

hmmm... so first thing is that I think these will become multi-bits in the
longer term (we can probably standardize on 2) We could maybe standard on
the naming ..for example...
*sw_regwen and hw_regwen. The former group for example would always
behave the same, while the latter is more wild-card. Would something like
that help? … <#m-1078809675183800007> On Wed, Apr 8, 2020 at 9:07 PM
sriyerg @.**> wrote: rw0c works for me. doc/rm/register_tool/ would need
to be changed to reflect this. I can submit a PR to clean these up.
@cindychip https://github.com/cindychip https://github.com/cindychip or
@sriyerg https://github.com/sriyerg https://github.com/sriyerg do you
know if autogen'd reg tests make any assumptions about regwen? Looking at
the code, the following assumptions are made: 1. Access policy of the
'enable' field is 'rw1c' (Cindy's PR #1925
https://github.com/lowRISC/opentitan/pull/1925 <#1925
https://github.com/lowRISC/opentitan/pull/1925> fixes that). 2. The
'enable' field is on the LSB end is the only one that unlocks the access to
the CSRs - We are not making assumptions on the name of the field because
it is set differently in different IPs ("en", "regen"). It would simplify
our code if we could. 1. Bit 0 of register is the only one that unlocks the
access to the CSRs — You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1922 (comment)
https://github.com/lowRISC/opentitan/issues/1922#issuecomment-611316508>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSWGIIGZZOZBNPZP7D3RLVCYDANCNFSM4MEKUIEA
.
I was thinking more on the lines of - avoiding disparate CSR names like
what we have now - ('regen' vs 'regwen'), field names ('en' vs 'regen') and
the access policies (rw0c vs rw1c). Even with PR #1925
https://github.com/lowRISC/opentitan/pull/1925 fix, is there anything
stopping from a new designer from creating yet another enable register with
a totally new access policy (which would break our code yet again)?
A multi bit enable register (I am assuming each bit controls a set of
CSRs) is fine as long as we can automate all of that. Not sure splitting
into to types (*_sw_regen and *_hw_regen) helps. It should be ok to have
both sw and hw controls in the same register (in our automated tests, we
have exclusions that prevent the hardware from being operational, so it
should not affect our tests).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1922#issuecomment-611323361,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSQEBRENCJNT5AZISHLRLVGHBANCNFSM4MEKUIEA
.

To some extent it would make sense to standardize this, yes.
But the same model as used for the interrupts will probably not work. I.e., all interrupts specified are put into the same set of registers (as fields), and you do not have the option to create a second set of interrupt CSRs that are decoupled from the first one. As @tjaychen mentioned, we do expect that we will have multibit regen registers associated with a multibit CSRs, and we may have several instances of them, which calls for a slightly different standardization model.
For example, a module could have one general regen register for some control regs, and two multibit regen registers that are associated with multibit config regs.
This means that we should still be able to create multiple REGEN regs and have the option to give them meaningful names beyond just a generic REGEN0, REGEN1, etc. Would it help if we agreed on a common postfix for such registers, like *_REGEN?
Concerning the access policies, I do see that rw0c could make certain readback tests simpler, but then again, the interrupt state register uses rw1c. That is probably done since multiple bits are grouped together into the same interrupt status register and rw1c lets us avoid having to construct inverted writes like 0xFFFFFFF7 to clear a single interrupt bit. I think we should use the same convention if we moved down that road...
@tjaychen @eunchan do we envision that we will need regen registers that are both clearable and settable (i.e., with normal r/w access)?

The usage of REGWEN (original intention of what Scott thought): After all initial configs are done, clear this bit and never settable without reset. And I think the register value is not readable? So, either RW0C or RW1C doesn't matter, probably R0W type is more correct (doesn't exist in reggen)

Right now we have 5 files with regwen (with different enable register names).
hw/ip/alert_handler/data/alert_handler.hjson    rw1c
hw/ip/entropy_src/data/entropy_src.hjson        rw1c
hw/ip/flash_ctrl/data/flash_ctrl.hjson          rw0c
hw/ip/padctrl/data/padctrl.hjson                rw0c
hw/ip/pinmux/data/pinmux.hjson                  rw0c

I do feel we should standardize on rw0c. util/regtool/validate.py checks for rw0c or rw1c, so we could clamp down there. I don't think there is a way to enforce the name of the actual register that is the enabler, and I personally think it is better to have individual 1-bit registers that are enables, rather than a vector of them. But that is my personal opinion.

Just bump up this issue:) @msfschaffner @mwbranstad looks like alert_handler, otp_ctrl, entropy_src still uses W1C, any plan on moving them to W0C?

yeah i think we should slowly start that migration.
On Mon, Feb 8, 2021 at 1:06 PM cindychip<EMAIL_ADDRESS>wrote:

Just bump up this issue:) @msfschaffner https://github.com/msfschaffner
@mwbranstad https://github.com/mwbranstad looks like alert_handler,
otp_ctrl, entropy_src still uses W1C, any plan on moving them to W0C?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1922#issuecomment-775461494,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSS3VNCR7O5NQASA2XLS6BG35ANCNFSM4MEKUIEA
.

Ah yeah we should migrate this now.

i can have a look at it if you're busy Michael.
Cindy did you have a specific test that raises an error if the wrong type
is used?
i've actually been meaning to go back and add a check in reggen.
On Tue, Feb 9, 2021 at 8:27 AM Michael Schaffner<EMAIL_ADDRESS>wrote:

Ah yeah we should migrate this now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1922#issuecomment-776064063,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSVLZEY24LNMWHWSJC3S6FPALANCNFSM4MEKUIEA
.

Tim, I already started to work on this. We had recent changes to reggen that I need to rebase into my REGWEN updates on the pinmux PR, so I have to touch this code anyways.

sounds good!
On Tue, Feb 9, 2021 at 12:07 PM Michael Schaffner<EMAIL_ADDRESS>wrote:

Tim, I already started to work on this. We had recent changes to reggen
that I need to rebase into my REGWEN updates on the pinmux PR, so I have to
touch this code anyways.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1922#issuecomment-776208316,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSTN3TQZDGMOBAPZZKTS6GIYFANCNFSM4MEKUIEA
.

@tjaychen I was reading back through this thread. For this type of register, "historically" the rw1c case is more common in my experience. For one bit, such as the regen register, it does not matter much. However, for a register full of bits, it is generally deemed easier to see which '1's are clearing which bits, versus the inverted value if wr0c is used. If we are only talking about this register, then being consistent is most important. I would have picked rw1c, but it seems consensus is to move to rw0c.


Fixing merge conflict - Itzrahulsoni master

Attempting to fix conflict

Hi @deneha, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;


Enhancement: Support for Mac touchpad/magic mouse

Hello,
I've just discovered this module which is AWESOME !!! the number of time I struggled explaining to players new to foundry how to open some menus !!
Anyways, I haven't found any equivalent to the middle click button on a mac using a trackpad or a magic mouse :( I plugged a mouse to check it was indeed well working and I would suggest that you also allow to configure a combination of Keyboard input (i.e. Shift + Control + S) to cope with this case !!
Thank you for this grand modules !!

Can't you make it work for Ctrl+Shift+Right-click, by changing the "Modifier keys" setting and the "Allow when right-clicking" setting?
I'm not sure it's possible to make this work with a non-mouse event.

Indeed
All my excuses for the fake issue !!!
though I really appreciate your responsiveness !!

I'm glad you got it to work!


Disambiguate apple and darwin triples

Fixes a bug where all triples with vendor apple are considered to be os variants of darwin. This change special cases "apple-none" to not match Triple.isDarwin(), but all other "apple-*" triples will still be considered to be darwin variant.
Fixes some fallout of making the above change to check for the newly added Triple.isApple() instead of Triple.isDarwin() to allow the triple "apple-none" to opt into behaviors like dead stripping, using libtool, etc.
As a result of these changes spm no longer appends a macOS version number to the "armv7em-apple-none-macho" triple (e.g. "armv7em-apple-none-macho10.13") removing the work around of passing "-target armv7em-apple-none-macho" via cli args or via a toolset.json.
Additionally spm no longer passes unexpected -rpath args to the linker when building a static binary for "armv7em-apple-none-macho".

this needs to be rebased on main once #6438 lands due to the use of .noneOS.

@swift-ci please smoke test

@swift-ci please smoke test windows


Daemon is going in infinite loop when it try to execute not handled commands

Steps

Execute the following blueprint and check the daemon logs

g8client__main:
url: 'du-conv-2.demo.greenitglobe.com'
login: 'driver'
password: 'KrOe6gE9K5nCQdmretfXnj'
account: '6c3cc88d36'
vdc__d3ce57eae2:
g8client: 'main'
location: 'du-conv-2.demo.greenitglobe.com'
disk.ovc__disk1:
size: 1000
s3__s3vm:
vdc: 'd3ce57eae2'
disk:
- 'disk1'
domain: 'mystorage.com'

Actual result

Daemon goes into infinite loop to do autoscale job and it doesn't stop at any point unless the user destroy the repo.
Expected result
Daemon shouldn't be stuck at any point. It should handle this kind of error.
Cockpit repo
8.1.0

Fixed in 820


data-cls-tabs-list-item-active is "broken"?

Hi Olton!
Code at
https://codepen.io/TorakikiSan/pen/EeyWmp?editors=1111
The attribute
data-cls-tabs-list-item-active
seem to be "broken"
Thank's

Its working as supposed. you have messed with styling in your codepen.
Look at corrected result

Oh, now I see what OP meant.
This happens due to the class order precedence in CSS file.
Higher order precedence class overcomes lower order precedence class, that's all.

https://codepen.io/olton/pen/VwjVvBZ?editors=1111


Tflearn import error in Tensorflow 2.1: "ModuleNotFoundError: No module named 'tensorflow.contrib'"

So, basically, I am trying to migrate the entire code to TF 2.1.0. However, it seems that tensorflow.contrib has been deprecated. Due to this, importing tflearn always throws an error of the missing module of tf.contrib. So, how am I supposed to implement this code without using tflearn?
def get_vocab_processor(model_dir):
    vocab_path = os.path.join(model_dir, "..", "vocab")
    #vocab_processor = tf.contrib.learn.preprocessing.VocabularyProcessor.restore(vocab_path)
    #tflearn import error. tflearn support removed from Tensorflow 2.1.0
    import tflearn
    vocab_processor = tflearn.data_utils.VocabularyProcessor.restore(filename=vocab_path)
    return vocab_processor

And then, I use this method like this:
def process(FLAGS, dataset):
    x_raw, y_test = data_helpers.load_data_labels(dataset)
    y_test = np.argmax(y_test, axis=1)

    vocab_processor = get_vocab_processor(FLAGS.model_dir)
    x_test = np.array(list(vocab_processor.transform(x_raw)))

    model_file = tf.train.latest_checkpoint(FLAGS.model_dir)

Edit:
This is the error I get after execution:
Traceback (most recent call last):
  File "c:\Users\koustubh.p\Downloads\multiple-signal-detection\multiple-signal-detection\churn_updated.py", line 179, in <module>
    process(FLAGS, dataset)
  File "c:\Users\koustubh.p\Downloads\multiple-signal-detection\multiple-signal-detection\churn_updated.py", line 110, in process
    vocab_processor = get_vocab_processor(FLAGS.model_dir)
  File "c:\Users\koustubh.p\Downloads\multiple-signal-detection\multiple-signal-detection\churn_updated.py", line 102, in get_vocab_processor
    import tflearn
  File "c:\Users\koustubh.p\Downloads\multiple-signal-detection\multiple-signal-detection\venv\lib\site-packages\tflearn\__init__.py", line 4, in <module>
    from . import config
  File "c:\Users\koustubh.p\Downloads\multiple-signal-detection\multiple-signal-detection\venv\lib\site-packages\tflearn\config.py", line 5, in <module>
    from .variables import variable
  File "c:\Users\koustubh.p\Downloads\multiple-signal-detection\multiple-signal-detection\venv\lib\site-packages\tflearn\variables.py", line 7, in <module>
    from tensorflow.contrib.framework.python.ops import add_arg_scope as contrib_add_arg_scope
ModuleNotFoundError: No module named 'tensorflow.contrib'

tensorflow.contrib has been removed from tensorflow after 1.15

I encountered that error when I tried to run code based on TF 1.x using TF 2.1. As hinted by @ayushmankumar7, a potential resolution (which did fix the issue in my case) is to downgrade from 2.1, and you may need to iterate through a few releases (I tried TF 1.13.2 after 1.15, 1.14, and 1.13.1 did not resolve the issue).
Alternatively, you may want to consult the TF 1 to TF2 migration guide: https://www.tensorflow.org/guide/migrate

@KoustubhPhalak Agree with @ayushmankumar7. You could try installing TF1.14 and use tflearn. I think this issue more close to tflearn repo. There is another issue that was closer to yours.
I am closing this issue as it is more related to tflearn' and can be resolved by installing TF1.x` verison. Thanks!

tensorflow.contrib is being removed in version 2.0, you therefore need version <= 1.14 to operate tflearn (this is a TFlearn issue, not a tensorflow one).
so in your case, I would consider moving to tensorflow and using the tf.keras , which provides the higher-level API tflearn
you have to solutions to solve this:
-1 move to tensorflow and keras
-2 uninstall tensorflow which you have and install  "  conda  or  pip  install tensorflow=1.14  ''
good luck

Yeah, will go ahead with TF 1.14
On Tue, Apr 7, 2020, 1:25 PM Hardy<EMAIL_ADDRESS>wrote:

tensorflow.contrib is being removed in version 2.0, you therefore need
version <= 1.14 to operate tflearn (this is a TFlearn issue, not a
tensorflow one).
so in your case, I would consider moving to tensorflow and using the
tf.keras , which provides the higher-level API tflearn
you have to solutions to solve this:
-1 move to tensorflow and keras
-2 uninstall tensorflow which you have and install " conda or pip install
tensorflow=1.14 ''
good luck
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/36878#issuecomment-610236114,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF7UAZLGRG3WGVJE3VS4DBTRLLL75ANCNFSM4KXTKBTQ
.

I cannot install tensorflow ==1.14
command: pip install tensorflow==1.14
ERROR: Could not find a version that satisfies the requirement tensorflow==1.14 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0)
ERROR: No matching distribution found for tensorflow==1.14
Need help

The wheel files have been deleted
https://pypi.org/project/tensorflow/#files

It does not exist anymore, which causes the following issue:


Support external imports in functions

Description
Support external imports in functions uniformly. These were already supported if the functions were called inline, however if the functions were an external, they were not resolved.
This contains a small fix for the frontend, as well as a terribly pathological test.
Requirements
Before submitting this PR, please make sure:

[x] The code builds cleanly without new errors or warnings
[x] The code passes all the existing tests
[x] If this PR adds a new feature, new tests have been added to test these
new features
[x] All relevant documentation has been updated or added

Additionally, if this PR contains code authored by new contributors:

[x] All the authors are covered by a valid contributor assignment agreement,
signed by the employer if needed, provided to ETH Zurich
[x] The names of all the new contributors have been added to an updated
version of the AUTHORS.rst file included in the PR

GitHub Actions failed here. There is no issue with formatting. I'll try to push a minor commit so that it rebuilds after ensuring there is full test coverage.

Yes, I believe this PR is ready, but should have a follow-up that cleans up the annotation system.


Updated FAQ.

Docs Build status updates of commit 0ca5884:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/microsoft-365-developer-program-faq.yml
:white_check_mark:Succeeded
View

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


fix: add missing endpoints for did, keys and vc

This PR is adding missing endpoints to handle with dids, keys and vcs as an issuer
It also adds some types to make the resulting openapi document compliant to the openapi validator.
The output isn't 100% valid right now so contribution is welcome
fixxes: #172 #171 #164
Signed-off-by: Mirko Mollik<EMAIL_ADDRESS>

merged with https://github.com/walt-id/waltid-walletkit/pull/178


Closes #246

Fixed showing incorrect title on rotation.

I signed it!

Thanks, well spotted.
We need to add UI tests for this change. I can do add it to the backlog or feel free to push a new commit.

This has been done in #308, thanks!


Prims mst

Assigned Issue Number ?
#1886
Location of the file(s) ?
Algorithms=>Graph-Algorithms=>Prim's_MST=>Prim's_MST.java
Checklist

[x] I've followed the contributing guidelines
[x] The content added isn't directly copied from any sources like gfg, tutorialpoint, etc.
[ ] Input has been taken dynamically.
[x] I've referred the correct issue number.
[x] Comments have been added
[ ] I've  synced-up my forked repo.
[x] Ain't pushing from the main branch.

Why did you close it instead of merging it??

Are there any issues left to work upon???Please reply!


[New game]: GHOST SURF  👾

🎮 Game Request
Game logic and basic description

👻 Resurrect dead heroes and use their various attributes to navigate the levels.

Point down the features
Game points
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

/assign

Hey @0xabdulkhalid !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹


Yasir

Nice

Please do not use this version, this repo has been EOL (End-of-life) for many years. Update to the new repo -> society


BCH Wallet balance shows BTC Wallet balance

Hi,
I need help with the following issue:
On August 10th (aprox) I move some BTC I have stored in my Bitcoin Core wallet to a new account.
I then install the BCH Bitcon Classic wallet on a new computer and import the BTC wallet.
It start syncing the blockchain locally from scratch (as expected), but It always shown a 0 balance because it includes the transfer I made after the fork witch I was expecting to be "deleted" or "invalidated" after the blockchain sync ended.
When it finally synced my BCH shows a 0 balance and a transaction that is not confirmed even it was made several days ago.
How can I correct this? It will eventually solve by itself?
Any help would be greatly appreciated

I don't know what you did as very little of your description can be applied to actual Bitcoin Classic usage, so I think you got confused with some other software.
I suggest you install the "Bitcoin Classic UAHF" client and use that.
https://github.com/bitcoinclassic/bitcoinclassic/releases/tag/v1.3.4uahf

zender,
I'am indeed using Bitcoin Classic UAHF. There is the issue, as the transaction placed on BTC walled AFTER the fork is showing in the BCH Wallet!
I'm showing a print screen of the BCH wallet,
In the screen capture ALL the transactions were made on the BCT wallet and the last withdraw made on Aug-13 should not affect the BCH balance... Is this correct?

The way you imported the wallet may have lead to this result,
it would likely be solved by restarting with the -rescan=true argument appended. This takes a while, but your BTC transaction should then be removed.


NIFI-10492 Upgrade graphics2d to 0.40

Summary
NIFI-10492
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[X] JDK 8
[X] JDK 11
[X] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Tested the ResizeImage processor to ensure it's still working as expected, +1 will merge.


[Python] pyarrow compute strptime not working with format '%Y%m%d %H%M%S%f'

Describe the bug, including details regarding any error messages, version, and platform.
Hi guys,
I am trying to convert a timestamp column from string to timestamp datatype.
I have this format: %Y%m%d %H%M%S%f
To read, for example, a date equal to 20090101 185956000.
Assuming that
table['timestamp'][0] = '20090101 185956000'
Running the script below
import pyarrow.compute as pc
pc.strptime(table['timestamp'][0], format='%Y%m%d %H%M%S%f', unit='ms')
throws the error:
*** pyarrow.lib.ArrowInvalid: Failed to parse string: '20090101 185956000' as a scalar of type timestamp[ms]
Meanwhile if I use strptime from datetime module:
test_date = str(table['timestamp'][0])
datetime.strptime(str(df['timestamp'][0]), '%Y%m%d %H%M%S%f')
It gives as output a correctly read datetime object:
datetime.datetime(2009, 1, 1, 18, 59, 56)
Should the pyarrow strptime work like the standard datetime strptime function?
What am I doing wrong?
Many thanks,
Nick
Component(s)
Python

Thanks for reporting this @nikfio !
This is due to pc.strptime using the C/C++ format semantics for parsing instead of the Python ones. Namely it seems it's the %f flag that is causing this issue as this works fine:
>>> pc.strptime('20090101 185956', format='%Y%m%d %H%M%S', unit='ms')
<pyarrow.TimestampScalar: '2009-01-01T18:59:56.000'>

To work around this you can try [this (cumbersome) approach] for now:
import pyarrow as pa
import pyarrow.compute as pc
ts = pa.array(["1970-01-01T00:00:59.123456789", "2000-02-29T23:23:23.999999999"], pa.string())
ts2 = pc.strptime(pc.utf8_slice_codeunits(ts, 0, 19), format="%Y-%m-%dT%H:%M:%S", unit="ns")
d = pc.utf8_slice_codeunits(ts, 20, 99).cast(pa.int64()).cast(pa.duration("ns"))
pc.add(ts2, d)

Tag #31324 for reference.

Hello @rok,
thank you for your help.
I tried your piece suggested. But executing the first operation still gives the same error :
ts2 = pc.strptime(pc.utf8_slice_codeunits('20090101 185956000',                    0,                                           19),                   format='%Y%m%d %H%M%S%f',                   unit="ns")
*** pyarrow.lib.ArrowInvalid: Failed to parse string: '20090101 185956000' as a scalar of type timestamp[ns]
I know and I am sorry actually, this date format (%Y%m%d %H%M%S%f) is a pain in the ass.
I managed to work aroud the issue by reading the timestamp at first as pyarrow string and the passing through a datetime conversion using pandas to_datetime. Then finally convert the datetime array into pyarrow array with type timestamp('ms').

convert timestamp with type pyarrow string  - call it timestamp_str - to pandas datetime using the date format wanted from the start:
import pandas as pd
std_datetime = pd.to_datetime(timestamp_str.to_numpy(),                                      format=%Y%m%d %H%M%S%f)
convert back to pyarrow array;
import pyarrow as pa
timecol = pa.array(std_datetime,                                 type=pa.timestamp('ms'))
rebuild table as wanted
target_schema = pa.schema([('timestamp', pa.timestamp('ms')), 'otehr columns types'])
table = pa.Table.from arrays( [ timecol, 'other cols' ], schema=target_schema

Didn't wrote everything clear in point (3) to be more synthesized.
Hope it is understable from everyone, otherwise let me know.
Thanks,
Nick

Hey @nikfio, sorry I didn't use your raw data. This works for me on your example:
import pyarrow as pa
import pyarrow.compute as pc
ts = pa.array(["20090101 185956123"], pa.string())
ts2 = pc.strptime(pc.utf8_slice_codeunits(ts, 0, 15), format="%Y%m%d %H%M%S", unit="ms")
d = pc.utf8_slice_codeunits(ts, 15, 99).cast(pa.int64()).cast(pa.duration("ms"))
pc.add(ts2, d)

<pyarrow.lib.TimestampArray object at 0x73006a846680>
[
  2009-01-01 18:59:56.123
]

Your Pandas/numpy workaround looks good. I'm not sure which approach would be better for your usecase.

Great @rok I just tested it and it  works fine as expected.
sorry also my fault I didn't understand at first the usage of pc.utf8_slice_codeunits.
I think I'll go with yours in order to have a all-pyarrow operation.
Thanks a lot,
Nick

Close as a prime solution has been suggested and an alternative one has been proposed.

Thanks for confirming it worked and closing the isssue @nikfio.
We might want to implement %f and other flags in the future if there's enough interest. It would require a discussion first and some C++ work.

Related Stack Overflow discussion.


vpnc in lxd

Required information

Distribution: ubuntu
Distribution version: 16.04
The output of "lxc info" or if that fails:

Kernel version: 4.4
LXC version: 2.0.11
LXD version: 2.0.11
Storage backend in use: dir

Issue description
Get the following error trying to start vpnc inside of a Ubuntu 16.04 container:
Cannot open "/proc/sys/net/ipv4/route/flush": No such file or directory
Steps to reproduce

create 16.04 container
apt-get install vpnc
sudo vpnc

vpnc starts asking question when I run it here despite the /proc/sys/net/ipv4/route/flush file not existing.
In any case, those files being missing would be a kernel bug. LXD has no control as to what's visible in /proc and /sys inside the container. I've confirmed that those files are missing even on a very recent 4.15 kernel, so that doesn't appear to have been fixed at all.
I'd suggest you file a kernel bug, possibly at https://launchpad.net/ubuntu/+source/linux/+filebug (or running the ubuntu-bug linux) command. Feel free to post the resulting URL here so that others can find it.

@ddag hey there - did you ever file an Ubuntu kernel bug on Launchpad? I can't find one but I wanted to check with you.
I should be able to make the /proc/sys/net/ipv4/route/flush file show up inside of a LXD container (more specifically, within a non-init network namespace) but I don't have a server to test VPNC with. If I built you a test kernel, would you be able to test the fix?

@ddag are you still using the 4.4 based kernel from Ubuntu 16.04 LTS?

Yep:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.5 LTS
Release:        16.04
Codename:       xenial
$ uname -r
4.4.0-135-generic

I have another test machine on:
$ uname -r
4.15.0-34-generic
Both 16.04.5

@ddag test build here:
https://people.canonical.com/~tyhicks/rtflush/v1/
Thanks for offering to test!

yay! works. thx! when will this fix be part of official release ?

how about 18.04 ? I'm running bionic and I can see same problem here
vpnc[2789]: Cannot open "/proc/sys/net/ipv4/route/flush": No such file or directory
vpnc[2789]: Cannot open "/proc/sys/net/ipv4/route/flush": No such file or directory
vpnc[2789]: Cannot open "/proc/sys/net/ipv4/route/flush": No such file or directory
vpnc[2789]: Cannot open "/proc/sys/net/ipv4/route/flush": No such file or directory
vpnc[2789]: Cannot open "/proc/sys/net/ipv4/route/flush": No such file or directory```

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic
uname -a
Linux lxc-vpn-cra 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

18.04 will need the same change, no kernels currently have this file present in network namespaces

Hi! my LXC is on 4.18.0-17-generic, how can i get my container setup to fix this too? thanks!

See
<EMAIL_ADDRESS>


$ObjMap does not work with Class<T>

Consider the following example (playground):
// @flow

class C { foo() {} }

type ExtractClass = <T>(T) => Class<T>;
type OValue = {c: C};
type OClass1 = {c: Class<C>};
type OClass2 = $ObjMap<OValue, ExtractClass>;
// Surely `OClass1` and `OClass2` should be isomorphic, right?

({c: "something"}: OClass1);  // error (good)
({c: String}: OClass1);       // error (good)

({c: "something"}: OClass2);  // error (good)
({c: String}: OClass2);       // no error! bad!

It appears that OClass2 actually acts like {c: Class<any>}.
The lines with // error (good) are independent from the problematic
line; they can be removed without changing the result.

Several people have reported errors with the way $ObjMap works for some time now. It also affects other utility types like $Call. See  #6056, #5584, #5141. There are probably lots more...

Yep, I also noted this behavior with the two-argument form of $Call.
Changing line 8 in my example to
type OClass2 = {c: $Call<ExtractClass, C>};

retains the same problem (playground).
(I didn’t include this originally because the two-argument form of
$Call is undocumented, so I wasn’t sure whether this was classified as
a problem or just undefined behavior. But it certainly is contrary to
expectations, as with this issue.)
Thanks for the cross-references.

I'm trying to translate TypeScript to Flow
type A<T extends { [key: string]: any }> =
    { [P in keyof T]?: (value: T[P]) => null };
let x: A<{ a: string, b: number, c: symbol }>;

this is what is suppose to be
type m = <T>(T) => (T) => null;
type A<T> = $Shape<$ObjMap<T, m>>;

but it doesn't work.

Closing since we have mapped type that works with classes


docs: update license headers

:white_check_mark: Build TheIdServer 2.1.1-user-ole1-0020 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/b980a78521 by @)

:white_check_mark: Build TheIdServer 2.1.1-user-ole1-0020 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/b980a78521 by @)


Progress of macOS support

Is there any progress for the macOS support? I'm trying to help with the MacOS API but I don't have any MacBook for now.

Hey, I didn't have time to look into it yet. At least I convinced myself to buy a new M1 so I can actually start looking into soon.

Closing this, since we already have https://github.com/pr8x/DesktopNotifications/issues/5 open