verilator segv with no indication of cause.

Vtop_earlgrey_verilator -t --rominit=target/riscv32imc-unknown-none-elf/release/rom.vmem "--flashinit=target/riscv32imc-unknown-none-elf/release/oreboot.vmem"
Simulation of OpenTitan Earl Grey
Tracing can be toggled by sending SIGUSR1 to this process:
$ kill -USR1 5242
Rom initialized with program at target/riscv32imc-unknown-none-elf/release/rom.vmem
Flash initialized with program at target/riscv32imc-unknown-none-elf/release/oreboot.vmem
GPIO: Unable to create FIFO at /home/rminnich/projects/oreboot/oreboot/src/mainboard/opentitan/crb/gpio0: File exists
jtag0: Failed to bind socket: Address already in use (98)
jtag0: Unable to create TCP server on port 44853
SPI: Created /dev/pts/6 for spi0. Connect to it with any terminal program, e.g.
$ screen /dev/pts/6
NOTE: a SPI transaction is run for every 4 characters entered.
SPI: Monitor output file created at /home/rminnich/projects/oreboot/oreboot/src/mainboard/opentitan/crb/spi0.log. Works well with tail:
$ tail -f /home/rminnich/projects/oreboot/oreboot/src/mainboard/opentitan/crb/spi0.log
UART: Created /dev/pts/7 for uart0. Connect to it with any terminal program, e.g.
$ screen /dev/pts/7
Simulation running, end by pressing CTRL-c.
Tracing enabled.
Writing simulation traces to sim.fst
Segmentation fault (core dumped)
Files available on request -- I could not attach them.
it's not the gpio error --  I remove that, same result. Verilator does not clean up its files.

Do you have multiple verilator instances running at the same time? We can
only do 1 at a time right now, it is a known issue we are going to address
On Fri, Dec 13, 2019, 14:28 ron minnich<EMAIL_ADDRESS>wrote:

Vtop_earlgrey_verilator -t
--rominit=target/riscv32imc-unknown-none-elf/release/rom.vmem
"--flashinit=target/riscv32imc-unknown-none-elf/release/oreboot.vmem"
Simulation of OpenTitan Earl Grey
Tracing can be toggled by sending SIGUSR1 to this process:
$ kill -USR1 5242
Rom initialized with program at
target/riscv32imc-unknown-none-elf/release/rom.vmem
Flash initialized with program at
target/riscv32imc-unknown-none-elf/release/oreboot.vmem
GPIO: Unable to create FIFO at
/home/rminnich/projects/oreboot/oreboot/src/mainboard/opentitan/crb/gpio0:
File exists
jtag0: Failed to bind socket: Address already in use (98)
jtag0: Unable to create TCP server on port 44853
SPI: Created /dev/pts/6 for spi0. Connect to it with any terminal program,
e.g.
$ screen /dev/pts/6
NOTE: a SPI transaction is run for every 4 characters entered.
SPI: Monitor output file created at
/home/rminnich/projects/oreboot/oreboot/src/mainboard/opentitan/crb/spi0.log.
Works well with tail:
$ tail -f
/home/rminnich/projects/oreboot/oreboot/src/mainboard/opentitan/crb/spi0.log
UART: Created /dev/pts/7 for uart0. Connect to it with any terminal
program, e.g.
$ screen /dev/pts/7
Simulation running, end by pressing CTRL-c.
Tracing enabled.
Writing simulation traces to sim.fst
Segmentation fault (core dumped)
Files available on request -- I could not attach them.
it's not the gpio error -- I remove that, same result. Verilator does not
clean up its files.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1209?email_source=notifications&email_token=AAH2RSRTKYOBYLEDA32XV3DQYQEBRA5CNFSM4J2W4RI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IAOIP4Q,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSXYE5SE4B6R24FNPKLQYQEBRANCNFSM4J2W4RIQ
.

yeah that was it. Should I close this issue? Or is it useful for tracking.

I think it's okay to close, there is already a tracking issue. I'll find it
and link it here.
On Fri, Dec 13, 2019, 21:09 ron minnich<EMAIL_ADDRESS>wrote:

yeah that was it. Should I close this issue? Or is it useful for tracking.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1209?email_source=notifications&email_token=AAH2RSUU64ALE4PUKUJLJ2TQYRS75A5CNFSM4J2W4RI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG32Q4Q#issuecomment-565684338,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSVPERPVY74AO7OYMTTQYRS75ANCNFSM4J2W4RIQ
.

Tracking in #562


Fix rss.js href conversion

Hey @neauoire your rss generator links were broken. You might want to update a couple of wrong entries here too https://github.com/XXIIVV/Oscean/blob/master/links/rss.xml

Thanks :)

RSS is generated by typing ~rss in the searchbar.


proc_manager: refactor the sample publish procedure

by removing poll, process and fifo_get public functions and pack all those steps into a single function called step_pm_put(), this also limits the sample pool module responsibillity only to provide storage to the measurement data.
Signed-off-by: Felipe Neves<EMAIL_ADDRESS>

It is WIP, needs to pass on the test suite and also needs to check if the current tests are good.
The new publish method simplified STeP a lot, and changed some responsibillities:

Sample pool: should only provide storage to the measurements data;
Processor manager: responsible to queue the samples and trigger the nodes
Automatic poll: now this is a user responsibillity, the jusitification is located in the sampled data arrival rate, this rate should give the poll interval, as long the publishing method should trigger the nodes immediatelly.

@microbuilder It is WIP, needs to pass on the test suite and also needs to check if the current tests are good.
The new publish method simplified STeP a lot, and changed some responsibillities:
* Sample pool: should only provide storage to the measurements data;

* Processor manager: responsible to queue the samples and trigger the nodes

* Automatic poll: now this is a user responsibillity, the jusitification is located in the sampled data arrival rate, this rate should give the poll interval, as long the publishing method should trigger the nodes immediatelly.

We should generate new architectural diagrams in that case, to explain the basic design, replacing the images and draw.io source here: https://github.com/Linaro/step/tree/main/doc
I can make the images myself if you want to at least send over some napkin drawings, or ascii art with this PR.

Test suite passed, I think due to simplification of the publish process the tests itself got more simple.
Regarding the drawings, okay, the overall architecture has not been changed too much, only the publish procedure, I will share the changes.

STeP achitecture simplfied.pdf

@microbuilder PTAL.
I've put the relevant changed STeP simplfied architecture above, I don't have access to draw.io to edit the final drawing.

@microbuilder now, all the documentation changes are in place, PTAL


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-sandbox/autoscaling-wg-leads
/assign knative-sandbox/autoscaling-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps

After updating to newest crio version, it still doesn't look stable, I will try to figure it out.


active and inactive label is not showing

[ ] if we select  mark inactive from bulk actions,inactive label should shown in vendor description page
same as in mark as active
eg :

but here in vendor page active and inactive label is not showing

issue fixed


Disable push telemetry

Until we remove the push-based telemetry ingestion, it might be worthwhile to add a config option allowing it to be conditionally disabled. If the control plane is configured to pull metrics from the prometheus scraping endpoint, it could disable push telemetry so that the proxy logs don't constantly scream about not being able to connect.

Edit: We're not going to maintain a middle state. We just need to disable push telemetry.

We may not need this, since it's exclusively for an interim state.

Fixed by #616.


Could you provide the sample data again

Thank you for your open source code. Unfortunately, the sample data you provided cannot be opened and downloaded. Can you upload it again？

The same request to upload the sample data again,  Thanks!

Piling on the request for the sample data, would help debugging #5

@tfhome @mojin2855  see https://github.com/jfcorsini/passiveRadar/tree/master for sample data and working updated code.


Does not work any more, parent container renamed letsencrypt to certbot

/bin/start.sh: line 61: letsencrypt: command not found

Hi, I took corrections from @aohorodnyk's code.
This is nice code.
Thanks!

It seems I am too hurried and not properly checked this code .
Currently I revert pull request #5, and took your corrections.
@raarts Thanks again! And sorry for confusion.


[SOP Document] Multimodal Data Linkage

Work to be done for next draft of Linking SOP - TO DO PRIOR TO 16 May

[ ] Create diagram of process - @jshoughtaling
[ ] Define columns for IDs are necessary for registry - @wa6gz
[ ] Language referring to details that will be provided in the Upload or the File format SOP - @jshoughtaling & @wa6gz
E.g. "Sites will provide a mapping table between people and encounters and how that happens will be specified in the file format SOP {LINK TO IN PROCESS FILE FORMAT SOP}
[ ] Description of registry - @jshoughtaling
[ ] Scope - Andrew
[ ] Audience - @wa6gz
[ ] Purpose - Andrew
[ ] How time format will be handled - @del42
[ ] Folder structure - @wa6gz

@del42 - It's in the /sop-website/docs/Multimodal-Linkage directory on the branch linked above:
https://github.com/chorus-ai/Chorus_SOP/tree/review-multimodal-linkage/sop-website/docs/Multimodal-Linkage
There you'll find the PNG diagram, and the more detailed description that accompanies it.

@jshoughtaling  I see it. But how to add the draft? Just give it to you?

@del42 - I created some guidelines in the main README. Feel free to suggest any additions there if they're still not clear.
Briefly:

Clone the Chorus_SOP repo locally and switch to the review-multimodal-linkage branch
Open the mdx SOP document in your editor of choice, ideally one that renders Markdown
Once you've made any edits or additions, commit those to the branch
Anything you're not sure about or would prefer to discuss, feel free to either comment here or open a discussion in this repo

Added a short audience message and spelled out some of the links to other SOPs past and present for file formatting, though more could probably be done here.

Feedback to be addressed:

Under "What this SOP does not do," there's reference to data linking after sites have submitted data. Out of curiosity, is there specific, planned linking after submission? Is this referring to potential post-submission Privacy Preserving Record Linking?
For what it's worth, I disagree with the recommendation to conflate file_id and procedure_occurrence_id values, which introduces an unnecessary and potentially misleading coupling of different concepts. If they are, then at a minimum, I would hope that tools and code are not developed in a way that exploits this value-equivalence across two differently purposed variables/columns. Unfortunately, if it's recommended, then many people will probably write code that requires the value-equivalence between file and procedure occurrence identifiers.
Is the separation of blocks of values for image file identifiers vs. waveform file identifiers necessary? Or is that an artifact of assuming that file id assignments of one might not be "aware" of the other? Put differently, is it required that all file ids draw from a common range of global file identifiers?
In our databases, including our main OMOP instances, we have needed to convert many IDs to bigint and were concerned about the potential of some existing programs or OHDSI tools truncating them. I'd suggest assuming bigint for new initiatives to avoid the accidental development of tools that use narrower integer representations, which will break when the scale of data inevitably grows and requires bigint. As I mentioned, we're already seeing it.
I don't think "Be an integer" should be a sub-item of "IF you are using file_id value as procedure_occurrence_id." If it's a procedure_occurrence_id value, then it has to be an integer anyways. Since all other OMOP ids are integers, and since you're thinking of creating an OMOP extension specification, I'd suggest requiring it to be an integer generally.
Will the intended "real-world" idea of how to optimally group files be specified? Providing guidance on how to group files optimally would be beneficial. It ensures uniformity and helps sites understand the best practices for data organization, which is crucial for downstream processing.
Regarding procedure_concept_ids for Imaging Procedure and Monitoring Procedure, if sites aren't already mapping to more granular concepts under those two broad ancestor concepts, I recommend assuming more granular mapping with respect to how code is written and new tools are developed -- i.e., even if most sites are mapping to those two general concepts, they should be approached through the concept hierarchy, guaranteeing appropriate rollup of more granular mappings, from the beginning.
Regarding procedure_source_value, I'd suggest specifying a concatenation pattern or, alternatively, a metadata standard of specifying the concatenation pattern so that generic code can be written. Standardizing the concatenation pattern can enhance consistency and facilitate the development of generic code, making the system more robust and interoperable.


Adding find_with_linked

PR Info

Closes https://github.com/SeaQL/sea-orm/issues/1242

New Features

[ ]  added find_with_linked

Bug Fixes

[ ]

Breaking Changes

[ ]

Changes

[ ]

Just to clarify, the implementation should involve using a hash map, instead of relying on order by (which is theoretically wrong) to group elements.
The algorithm can be referenced in https://github.com/SeaQL/sea-orm/blob/4905dc5fde00a319ca64e63bee43b0eba900c6ca/src/query/loader.rs#L208
And actually, since now Value is already Hashable, we should change the implementation of loader as well.
We should also consider chaning the existing find_with_related impl as well, but may be, not in the same PR.

@darkmmon I believe you liked performance algorithms, so may be we can optimize the implementation, here we want to minimize allocation, copy and (to some extend) move.
We observe that rows: Vec<(L::Model, Option<R::Model>)> is owned. We can do some operations in place, by mutating it. We can use https://doc.rust-lang.org/std/option/enum.Option.html#method.take to take the R::Model out from the vec, leaving a None in place. As such we don't have to re-allocate Vec<L::Model>.
So the intermediate hashmap can simply be L::PK -> Option<Vec<R::Model>>
In the third and final step, we can re-assemble everything together. Something like:
row.into_iter().filter_map(|l_model, _| {
let l_pk = pk_of(l_model);
let r_models = hashmap.get_mut(l_pk).take();
if let Some(r_models) =r_models {
    Some((l_model, r_models))
} else {
    // it means we have seen this l_model already
    None
}
}).collect()

The key points here:

L::Model should never be cloned, and only needs to be moved once.
R::Model should never be cloned, and needs to be moved twice, first from input into the hashmap, and second from the hashmap into the output.

Anything more might be unnecessary overhead.

GitHub somehow did not allow me to merge into a different branch. So I did manually.


Error with primary key name with SqlServerAdapter and specifying schema

Migration:
$this->table('custom_schema.table_name')->create();

Generates:
CREATE TABLE [custom_schema].[table_name] ([id] INT   NOT NULL  IDENTITY(1,1), CONSTRAINT PK_custom_schema.table_name PRIMARY KEY ([id]));

This gives the error:
Incorrect syntax near '.'.

PK_custom_schema.table_name needs to be parsed to remove the ..

Fixed by #2306


Open Channel/ Android - Categorize messages by custom type

New sample feature:
Expected behavior: user can select a message and apply an emoji/custom type to the message, and provide a list of the messages with the applied emoji/custom type.
Similar to Slack "pinned messages" as shown in video below.
https://user-images.githubusercontent.com/102265523/181097563-c7d663cf-2cd5-4c71-9573-85cb835dfff0.mp4

@octa-george please assign as needed.


Recommended SuperRDP：Automatically support the new version of Window Remote Desktop Service 推荐仓库自动支持最新版本

https://github.com/anhkgg/SuperRDP

10.0.22000.675  version still not supported

You should set the checkbox AutoSupport， then SuperRDP2 will automatically support the new version

Not an rdp wrapper issue
Stop spamming or you'll be blocked


Timeline: Repost action should be available for Public content only.

There are several issues:

[ ] it doesn't hide repost from timeline
[ ] it should allow to repost BX_DOL_PG_ALL & BX_DOL_PG_MEMBERS


Error code 0x80070781 should be added

What helped with error code 0x80070781 was:
open cmd prompt with administrator rights
enter takeown /f C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\NGC /R
if it asks you to get full access to that file, accept with "Yes"
delete the file C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\NGC
restart computer and set up new PIN code
See also https://answers.microsoft.com/en-us/windows/forum/windows_10-hello-winpc/login-setup-wont-take-a-pin/248fbc21-eb94-41b5-8e2f-1e134dc5316e although the described method without "/R" was not working for me.

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

ID: 6b4f9133-887f-17a6-95fc-3712de8a3fa1
Version Independent ID: 09d34ce8-1590-8202-3e70-e6299dadbb65
Content: Windows Hello errors during PIN creation (Windows 10)
Content Source: windows/security/identity-protection/hello-for-business/hello-errors-during-pin-creation.md
Service: unspecified
GitHub Login: @DaniHalfin
Microsoft Alias: daniha

@reklov79 Thanks for the suggestion. We shared this with the engineering team.


Enable nullable for FileAppender, RollingFileAppender, and unit tests

For #118
And fix null issues. Also includes removing reflection code across unit tests for type safety, removing ArrayList usage in favor or strongly typed lists, and a few opportunistic auto-properties and other modernizations.
New version of #119
@erikmav I've created a new branch and PR because I couldn't resolve the conflicts in the old one.

@FreeAndNil I was expanding nullable and strongly typed data structures in the code yesterday. Would it make sense for me to send it along incrementally with new PRs against the 111- branch? Or are you moving fast there and want to minimize interruption?

@erikmav your work is very welcome. One remark: we need to have code coverage for the changed blocks. Most blocks are covered but some are not, so adding missing unit tests is needed.


Tooltip arrow not positioned properly when trigger is near edge of viewport

Bug report
Current Behavior

When the tooltip's trigger is near the edge of the viewport, the arrow is no longer centered on the trigger. Instead it jumps over to the corner of the tooltip content.

Expected behavior

The arrow should stay centered on the tooltip target.
Reproducible example
This is reproducible in your current documentation site, by simply unticking the justify-content: centered property in the Styles Inspector, and narrowing the window until the sidebar disappears and the page margins become very small.

I was also able to quickly reproduce it by cloning your example codesandbox and changing the styles there. I also added various amounts of padding to the main container div, showing that it happens even when the trigger button is near, but not completely in contact with the side of the viewport. The issue occurs any time the distance from the center of the tooltip trigger to the edge of the viewport is less than half the width of the tooltip content.
Here's my fork of your example codesandbox from the docs: https://codesandbox.io/s/silly-tess-d8jlfu?file=/styles.css:278-326
Suggested solution

Not sure. I'll look into this if the time becomes available to me. I really like Radix so far, but given my deadlines I may just have to swap it out for a tooltip that works out-of-the-box.
Additional context

None
Your environment

Software
Name(s)
Version

Radix Package(s)

see codesanbox link

React
n/a
see codesanbox link

Browser
Chrome
98.0.4758.102 (Official Build) (x86_64)

Assistive tech

Node
n/a
see codesanbox link

npm/yarn

see codesanbox link

Operating System
macOS Big Sur
11.6.3 (20G415)

Keywords
radix, tooltip arrow, position, positioning, alignment, not aligned, misaligned

paste this in your css file hope it will resolve your issue

{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: system-ui;
width: 100vw;
height: 100vh;
background-image: linear-gradient(
330deg,
hsl(272, 53%, 50%) 0%,
hsl(226, 68%, 56%) 100%
);
/* position: relative; /
display: flex;
align-items: flex-start;
/ justify-content: start; */
padding: 2rem;
}
body > div {
padding-top: 120px;
position: absolute;
left: 45px;
}
svg {
display: block;
}

Thanks for your attention to this issue, @owaiskhan3. Unfortunately, your solution just absolutely positions the container of the trigger button, and nudges it away from left edge. The point of the tooltip is that it should position itself properly no matter where the trigger button is placed within the viewport. So adjusting the position of the trigger button is not a scalable solution.

@danielpickett There is an offset prop on Tooltip.Arrow which is to be used for that exact situation.

Thanks for the quick response @benoitgrelard. It's very much appreciated. It does look like this will solved my problem, and hopefully others can find this issue if they run into the same misunderstanding as I did.
I will say, this seems like it will require more legwork than I would have expected. If I want to make sure the arrow stays centered under the trigger button, then I need this offset prop on the Tooltip.Arrow to be dynamically calculated based on the width of the trigger button. This would mean maintaining a ref on the trigger button and taking measurements of its width to calculate the offset. And if the content of the trigger button can change after mount, I may even need a resize observer on the trigger button to update that width measurement.
I'm probably over-engineering it in my head. Is this how you typically handle it? Or do you have some tricks or shortcuts to get this centered with less overhead?

I think it's largely a design decision really and that "need" mostly only comes with an IconButton (square ratio) rather than a regular text button.
As in, this type of button and alignment is fine:

This is just the way our popper functionality currently works with regards to arrow positioning, but we could improve it in the future. But that's how things stands right now.
✌

I think the arrow should point to the center of the trigger (with align="center", which is the default value) even if it's near the edge of the viewport. The screenshot above is borrowed from floating-ui (f.k.a. popper.js), which handles arrow position much better.


Updated changelog for 1.2

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@liyubobj Thanks for this update. We have feature freeze for Marathon 1.2. That is why a Marathon 1.3 release branch was cut, which has the unified containerizer and GPU support.
This should be reflected in the changelog as well.

I see. Shall I update this change-log to 1.3 or you will work on it? @aquamatthias

Hi @liyubobj,
sorry for the delay! I recently adapted the changelog to adapt 1.3 (we are skipping 1.2 as final release) and after this PR is merged, it would be super cool, if you could rebase your change on master and then I will merge this :)
Thanks
Johannes

Code rebased @unterstein , please let me know if anything need to be revised. Thanks!

Hi @liyubobj, I am afraid you were a little bit too fast :) It would be super awesome if you could do another rebase

Sure, rebased :)

retest this please

Can it be merged?

I would like to, but CI fails ... I`ll try to trigger a retest.

retest this please

I triggered a re-test by git commit --amend. Is that what you want me do?

Ah no, retest this please is a hook to trigger the testing :D

OK, I see...

🚢
merged, thanks :-)


docs(manage_deis) - add SPM Performance Monitoring

LGTM. Thanks again @megastef!

Thanks @megastef!


hash and set are implemented but unchecked in readme?

the project is awesome, thanks for the great work!
I found the hget/hset/sadd etc are implemented in the command package but still be unchecked in readme, what is the reason?

The codes about hashes and set do not complete so far, we are coding on hashes now.

do you plan to change the meta structure for hash and/or set? If it will be compatible for future version, we would like to try it in production

There is a problem with hashes that it causes many conflicts when updating a hash because we should increment its size which is maintained by a single key.
Now we are planning to use multiple meta keys for a hash to reduce the transaction conflicts. Would you like to describe your scenarios to use hashes?


Disables vox talksounds until someone fixes them

About the PR
Comments out the vox talk sounds and replaces them with the reptilian ones (they were the best analog I could think of.) No audio files have been removed or changed.
Why / Balance
This sound is so grating that it causes some players psychical pain in the form of headaches, along with just generally hurting people's want to play them / be around them. Even though I've gotten kind of used to them personally, the fact that this sound alone actively prevents people from playing the game is terrible.
This change is strictly intended to be temporary. Someone can re-enable the vox sounds later when they are made less harsh.
Technical details
N/A
Media
N/A
Requirements

[X] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog
:cl:

remove: Temporarily replaced vox talk sounds with reptilian ones, until they are made less grating.

*screams of the damned because vox sound like multiple birds when they scream for some reason

I hope they remain at least a little harsh. The sound of my Vox's voice is why I made it so they are always yelling.

Well at the very least, it makes sense to keep some of it and instead use it for when they shout, but otherwise, yea their voices are really grating...

superceeded by #31679


enum extension returning int type isn't possible

Hello,
I'm new to dart and so I'm unsure if this is how this is or this is a bug.
my intention is to save korean text as enum (ex. '원장님') and i see that it's not supported.
fine. I can Parse using extension.
then I thought, I should return index of them within extension for future use.
Thus,
int int() => index;

here, i get "int isn't a type".
having this declared outside is perfectly fine, but why declaring in extension not possible?
declared outside extension is fine
int returnInt() => 1;

enum Role{
  admin,
  staff,
  owner,
}
extension Parse on Role {
  String text()  => toString().split('.').last;
  int int() => index;
}

any help, guide to docs, explanation will be appreciated.
thank you!

i found solution.
int get toInt => index;
fixed it 👍
sorry for bad question. bye.


Visualize belt counts

Experiment with indicating belt counts in the Sankey diagram, such as through striations in the links.

And, of course, the "items" tab should show belt counts, as well.

Done in 7718f9decdcdf6e1f0f5712d8d42b98ed6fb93aa.


Compiling eel into a single exe that uses extern config files

Describe the problem
In my program the user has the option to create their own config file(s) for the program.
I save/load/create them dynamically in a sub-folder in my "web" folder where the rest of the gui is located.
My problem is that whenever I try to compile it down to a single file using the --onefile and run it, the gui and the program will run just fine except that it has removed all the config files and it doesn't create new ones.
What is the best way to approach this problem?
I should mention that whever I compile it down without the --onefile flag everything works as intended.
Code snippet(s)
An example of when I write to a file:
with open(resource_path('./web/data/data.json'), 'w') as dataFile:
        json.dump(dataConfig, dataFile)

...

Desktop (please complete the following information):

OS: [e.g. Windows]
Browser [e.g. chrome]
Version [e.g. 80.0]

Your configuration files are probably placed in a local AppData folder somewhere on your machine.
It might be useful to try adding some debugging lines that print out directory locations, see where they actually lead to and if any files are present within them.
I use PROJECT_DIR = os.path.dirname(os.path.abspath(__file__)) in my project for the "root" dir, try debugging that while the app is running and explore that directory!


EOG 2020 - sprint plan

11-13th Dec 2019 (@shoaibsufi , @anenadic and @rainsworth in the first instance)

CCMcr19 knowledge to be added
EOG tagged accordingly and it show in RTD
EOG appears on SSI Website / in Menu's (maybe)
News item about EOG
For 4 we need a better readme about how to contribute

This should be re-planned for mid/late April 2020

I think this should be re-planned for late May 2020

This should include and cover https://github.com/softwaresaved/InstituteIssues/issues/252

from 2020-06-01 meeting - doing it in two stages:

ccmcr19 - mainly Aleks with Shoaib to review

CW20 online - mainly Rachael with Shoaib to review

For meeting on Wednesday 25th November 2020 at 11am:

Go through comms-edits labelled tickets from final review

We will probably use the project board approach in the future - e.g. - https://github.com/softwaresaved/event-organisation-guide/projects?query=is%3Aclosed for updates and new versions

For the initial release
Next steps - 2020-12-08 pull request read for review by 1pm
News item announcing EOG ready by end of day Friday 2020-12-11th
New announcement around 2020-12-14 or 2020-12-16
A meeting about a blog post and bigger publicity in January - around 2020-12-11 or 2020-12-14.

The first public version was announced here - https://www.software.ac.uk/news/announcing-ssi-event-organisation-guide
I think this ticket can now be closed
We had a meeting about next steps the info is in this document - https://docs.google.com/document/d/1j-hT2WXIugHwHHWIAYxHt-0BvGgC1IZoF_RfbxaFH8M/edit#heading=h.78gr2ui0w7tk

Closed by agreement of Shoaib, Selina, Jacalyn and Aleks in the tickets Triage meeting of 2020-02-08


set up createEvent endpoint

set up /event/create endpoint to create an event based on schema

/cib 8-Set_Up_Create_Event_Endpoint

Branch 8-8-set_up_create_event_endpoint created!


Docker Client fails to create iptables Forward rules and DNS probing on Synology.

Describe the problem
Running Docker Client version 0.27.4 and getting the following errors :
024-05-04T15:43:42.465646724Z 2024-05-04T15:43:42Z ERRO client/internal/routemanager/server_nonandroid.go:66: Unable to add route copsvubnabic73cqrb2g from server, got: insert routing rules: error while adding new forwarding rule for <IP_ADDRESS>/24: running [/sbin/iptables -t filter -I NETBIRD-RT-FWD 1 -s <IP_ADDRESS>/16 -d <IP_ADDRESS>/24 -j ACCEPT -m comment --comment netbird-fwd-copsvubnabic73cqrb2g --wait]: exit status 1: Warning: Extension comment revision 0 not supported, missing kernel module?
2024-05-04T15:43:42.466373439Z iptables: No chain/target/match by that name.
2024-05-04T15:43:42.466462423Z
2024-05-04T15:43:42.466507482Z 2024-05-04T15:43:42Z INFO client/internal/acl/manager.go:52: ACL rules processed in: 34.549µs, total rules count: 2
2024-05-04T15:43:44.466974354Z 2024-05-04T15:43:44Z WARN client/internal/dns/upstream.go:185: probing upstream nameserver <IP_ADDRESS>:53: read udp <IP_ADDRESS>:43795-><IP_ADDRESS>:53: i/o timeout
2024-05-04T15:43:44.467586003Z 2024-05-04T15:43:44Z WARN client/internal/dns/upstream.go:185: probing upstream nameserver <IP_ADDRESS>:53: read udp <IP_ADDRESS>:48481-><IP_ADDRESS>:53: i/o timeout
2024-05-04T18:36:33.561437284Z 2024-05-04T18:36:33Z WARN client/internal/engine.go:512: running SSH server is not permitted
2024-05-04T18:36:33.566448223Z 2024-05-04T18:36:33Z ERRO client/internal/routemanager/server_nonandroid.go:66: Unable to add route copsvubnabic73cqrb2g from server, got: insert routing rules: error while adding new forwarding rule for <IP_ADDRESS>/24: running [/sbin/iptables -t filter -I NETBIRD-RT-FWD 1 -s <IP_ADDRESS>/16 -d <IP_ADDRESS>/24 -j ACCEPT -m comment --comment netbird-fwd-copsvubnabic73cqrb2g --wait]: exit status 1: Warning: Extension comment revision 0 not supported, missing kernel module?

As you can see server is telling this client that he is a routing peer for <IP_ADDRESS>/24 but the client fails to apply the iptable rule to make the routing work.
The server where the Docker Client is running is a Synology one and the problem is the iptables version:
If i try the same rule directly on the Host :
iptables v1.8.3 (legacy): Couldn't load match comment':No such file or directory
To avoid this problem a simple solution would be to implement a "iptables --version" check ( clean )
Or to just retry without commenting ( dirty )
Even without the comment in this version of iptable you need to create the Chain before hand like this :

Another problem which i dont understand is this :
2024-05-04T15:43:44.466974354Z 2024-05-04T15:43:44Z WARN client/internal/dns/upstream.go:185: probing upstream nameserver <IP_ADDRESS>:53: read udp <IP_ADDRESS>:43795-><IP_ADDRESS>:53: i/o timeout
2024-05-04T15:43:44.467586003Z 2024-05-04T15:43:44Z WARN client/internal/dns/upstream.go:185: probing upstream nameserver <IP_ADDRESS>:53: read udp <IP_ADDRESS>:48481-><IP_ADDRESS>:53: i/o timeout

Cause if i connect in the container with a console i can resolve just fine

Same results for <IP_ADDRESS>
Please help me fix this as your native linux app fails to install as well in Synology, but this is for another issue.
Thanks in advance.

This isnt closed as removing comments in tiptable will only part of this problem.
In iptables v1.8.3 (legacy)  [ We cant update this in Synology ]
Even without the comment in this version of iptable you need to create the Chain before hand like this :

Hello @zzecool!
I think we create it in this line.

Hello @zzecool!
I think we create it in this line.

I'm anticipating the next docker image and I will let you know.
Thank you.


#305 Moving constants to a common repo.

Moving important constants to a common repo.
What is the change?

Made an npm package to store all the important constant variables in the join.js file. Importing variables is done by installing the npm package. To install the package, run npm i www-constants in the terminal. After installing the package, the variables are imported by using the "require" keyword. The package which store the variables is named "www-constants".
All the constants which are commented on are the ones which have been stored in the npm package.

The link to the repository of the package is www-constants

Please do not use a feature that is already created, create a new POC and hide it behind a feature flag

Closing this PR as this has been continued in a separate new repository
https://github.com/JAYATEJA04/realdevsquad-constants
Message Reference: https://discord.com/channels/673083527624916993/1007355818603192360/1069837282095419413


jsonnet-language-server: 0.7.2 -> 0.8.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/grafana/jsonnet-language-server/releases.
meta.description for jsonnet-language-server is: "Language Server Protocol server for Jsonnet"
meta.homepage for jsonnet-language-server is: "https://github.com/grafana/jsonnet-language-server"
meta.changelog for jsonnet-language-server is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.8.0 with grep in /nix/store/z70h00fkr207hb7rsa77ksq4vv118il6-jsonnet-language-server-0.8.0
found 0.8.0 in filename of file in /nix/store/z70h00fkr207hb7rsa77ksq4vv118il6-jsonnet-language-server-0.8.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
jsonnet-language-server

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/z70h00fkr207hb7rsa77ksq4vv118il6-jsonnet-language-server-0.8.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A jsonnet-language-server https://github.com/r-ryantm/nixpkgs/archive/17d6094ac706ec748ba86bf1680cc74b75492751.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/z70h00fkr207hb7rsa77ksq4vv118il6-jsonnet-language-server-0.8.0
ls -la /nix/store/z70h00fkr207hb7rsa77ksq4vv118il6-jsonnet-language-server-0.8.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

jsonnet-language-server

Maintainer pings
cc @hardselius for testing.

Result of nixpkgs-review pr 189145 run on x86_64-linux 1

1 package built:

jsonnet-language-server


new-command: spo report activityfilecounts

implements #1243

Coverage remained the same at 100.0% when pulling dd08d2a692d8cbe1c394af4ed7d1232233fad79c on plamber:report-SharePointActivityFileCounts into f62e1ef8c7df7d30ab2e5898f036c4e999016f2b on pnp:dev.

Merged manually. Thank you @plamber 👍


Relative Monad Theory

Relative adjunctions, monads, algebras and prove that the forgetful functor from algebras reflects limits.

WIP on https://github.com/maxsnew/cubical-categorical-logic/pull/92


Web Assembly Guide with C++

🛠 Fixes Issue

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

@nickvidal Hi Nick
There was a typo in the file path that's why the build was failing
I have fixed it now


Add unit tests for temporal type featurizers

Add DayOfWeekFeaturizerSuite.scala, HourOfDayFeaturizerSuite.scala, MonthOfYearFeaturizerSuite.scala
src/main/scala/com/adobe/platform/ml/feature/util/TemporalFeaturizerUtils.scala
src/test/scala/com/adobe/platform/ml/feature/unary/temporal/DayOfWeekFeaturizerSuite.scala
src/test/scala/com/adobe/platform/ml/feature/unary/temporal/HourOfDayFeaturizerSuite.scala
src/test/scala/com/adobe/platform/ml/feature/unary/temporal/MonthOfYearFeaturizerSuite.scala

Looks good. Approved.


chore: install CI for yamllint

Hi all, this PR aims at starting the building block of the CI of this repository. Right now the only feature in this CI is the use of yaml lint which checks for syntax validity (this is useful here because Ansible builds on yaml syntax).
I've used this already created Github Action YAMLlint rather than doing it manually (as described in the yaml documentation) mainly because of the integration of annotations in the summary of the action:

I found this feature pretty nice and clean: we can see which files and lines cause troubles. On the screenshot it's .yamllint
line 10. But if you think that it's better to setup the action on your own following yamllint official documentation, we can do it, it's pretty simple.
As always, reviews and feeback are most welcome 🤗

Hello @chloeskt, really good idea to use an already available github action !
As far as I am not fully knowledgeable, I think this is a nice first CI feature.
We will modify it or add new ones according to our future use and needs of this repo !  Thanks !

@chloeskt don't forget to "delete branch" once you've merged your PR ;)


openmp error

I am trying to run verify_equivalences.py  using the test file data.json. However, I get the following error:
OMP: Error #13: Assertion failure at kmp_affinity.cpp(622).
OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see http://www.intel.com/software/products/support/.
Aborted (core dumped)

I am running on linux, with Python 3.1.9, Conda 24.5.9, and openmp-8.0.1. Note that I wasn't able to run conda install openmp and had to use conda install oconda-forge::openmp instead.

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

I suspect that Python 3.1.9 is a version that is too old. Can you try some version between Python 3.7 and Python 3.11?

Also, how did you get the file data.json?

Hi @xumingkuan, thank you for the help! I can reproduce the error with Python 3.11.9.
The data.json file is from test_generator in src/test/test_generator.h.

Could you please tell me the arguments for test_generator and whether the header of the data.json file looks correct?
For example, I just tried test_generator({GateType::x, GateType::y, GateType::cx, GateType::h}, 3, 0, 0, false, "data.json");
and I got
[
[[0], [0]],
{
"6418a688d81f": [
[[3,0,["6418a688d820"],[-1.59725329897103474e-01,-1.51453041115068326e-01]], []]
]
}
]

verify_equivalences.py then outputs
Considering a total of 1 circuits split into 1 hash values...
Processed 1 hash values that had only 1 circuit sequence, now processing the remaining 0 ones with 2 or more circuit sequences...
Start checking equivalence with different hash...
Solver invoked 0 times to find 0 equivalences with different hash, including 0 out of 0 possible equivalences under phase shift.
0 equivalences found in 0.017588923999937833 seconds (solver invoked 0 times for 1 DAGs with 1 different hash values and 0 potential equivalences), output 1 equivalence classes.
Json saved in 0.00017850699987320695 seconds.

Also, I have never seen an OpenMP error like that. My OpenMP packages are:
# packages in environment at /home/mingkuax/anaconda3/envs/quartz:
#
# Name                    Version                   Build  Channel
_openmp_mutex             5.1                       1_gnu
llvm-openmp               8.0.1                hc9558a2_0    conda-forge
openmp                    8.0.1                         0    conda-forge

What are the OpenMP packages installed on your side?

You were right about the openmp packages. I'm not sure why, but my env had intel-openmp installed as well. When I removed this, everything worked. Thank you!


License is missing

When I changed the license from Apache 2.0 to MIT, I inadvertently wiped out the LICENSE file. This should be corrected using the exact some text as ./docs/about/license.md.

Resolved by: https://github.com/pulsebridge/condo/commit/15d52117d5a7e97d5d635cf10f15f224de2fb40d


Select a default registry for wallet backup

Currently the seed bank is created on the default registry (hyperswarm), probably need to select another one or make it configurable

Resolved by #171 (default registry is now TESS)


Event lookup for city broken

It seems the prefill feature highlighted this - you actually can't select a city other than the default of your dojo on an event.

Fixed here https://github.com/CoderDojo/cp-zen-platform/commit/fbab4bc3a09b014c0c74a7683a0f3a7db20602c3


Implement blockbeat

Open this branch to keep track of rebase conflicts. This is the final branch that will be merged into the master once all the following PRs are done,

#8893
#8894
#9276
#9277
#9227

All the merged PRs have already been approved - unfortunately due to the rebase the commit hashes are different. Also added two minor commits in the end due to rebase,

update fn to fn/v2.
Fix another case in NotifyExitHopHtlc in addition to #9357

check commits CI failed due to no space left on device


cql4bonnie babelify ucum.js

Adds cake task for building cql4browsers.js.
Babelifies ucum.js dependency to be ES5 compliant.
Adds necessary dependencies to package.json.

Regression test shows expected errors only related to invalid ucum units.  All other results are equal.
Expected Errors were with:
CMS744 (bpm), CMS65 (mmHg), CMS113 (wks), and CMS3 (wks)


Windows: Next js fails to compile due to Kuma css module not found

I absolutely love Kuma UI (in particular its SSR support) and I've been using it regularly on my macbook air for a side project.
When I moved to my more powerful Windows PC however, the project failed to compile. I'm using the same Node version on both machines (20.2.0).
I get the error:
./src/app/project/[name]/[draft]/characters/components/CharacterCard.tsx:36:1
Module not found: Can't resolve '...............kuma9dd707f5daeb1e92ea48d356926a856a.css'
  34 |     </div>;
  35 | };
> 36 | import "..\..\..\..\..\..\..\.kuma\9dd707f5daeb1e92ea48d356926a856a.css";;
     | ^

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./src/app/project/[name]/[draft]/characters/page.tsx

I've tried removing node modules and reinstalling everything. Unfortunately the problem persists. I'd welcome any ideas.
Node version: 20.2.0
Npm version: 9.6.6
Windows version: 11
Nextjs version: 14.2.5
Kuma UI core version: 1.5.7
Kuma UI next plugin version: 1.3.1
Please let me know what other information I can add that might help.

Thanks for the issue! It seems related to #60. I'll take a look. 👍


expose required-features to buildRustCrate

The required features field allow to skip the compilation of a binary (or test, bench and example) if all the features aren’t enabled. This is documented here : https://doc.rust-lang.org/cargo/reference/cargo-targets.html#the-required-features-field
This PR against nixpkgs make use of it: https://github.com/NixOS/nixpkgs/pull/187975
It should still work independantly of whether this nixpkgs PR is merged or not.

That's done. The newly added test passes locally (while some other fail due to the lack of unsafeDiscardStringContext, fixed in my other PR). As a bonus, it remove the dependency on rand.

Thanks!


Linked scrible.ink domain does not work

https://scribl.ink/ does not load on my Firefox
http://www.scribl.ink/ does
The former is linked in the repository

Thanks for the heads-up, I've changed the link. I set up DNS forwarding from scribl.ink to www.scribl.ink but for some reason it only works on http and not https...


problem in recaptcha

Hello .i have problem in recaptcha i added the private key of recaptcha to private_contacts.js but whenever i run the board and try to log in it shows that there's an error in recaptcha
I tried many keys but non of them worked . any solution for this?

recaptcha problem solved

Please close inssue


MangaSwat

Plz add this source for arabic language
Name: MangaSwat
Link: https://swatmanga.me

SwatManga already available

Old website ):

I tried to fix this, but idk why the chapters won't load

sounds like the source needs fixing then


Generated screens look for actions wrong

As of Ignite 1.7.0 refactor, we need to update our screen generators.
This line will error
https://github.com/infinitered/ignite/blob/master/ignite-generator/container/templates/container.js.template#L4-Lundefined

I'm sorry, this is my fault.  I looked through the generators and everything.  I'll make time today to fix if nobody else beats me to it first.

super easy to overlook, not sure if there could have even been a test.

hey, hey, its Open-Source-Monday!
Will put together a PR for this one, just wondering if I should:
a) remove the line and leave it out, or
b) replace it with something like,
import SomeActions from  ../Redux/SomeRedux
or c) Something else I haven't thought of yet...

I'm thinking a commented out line, like b.  So it's there for when we need it, but it won't throw an error out the box :)

happy open source monday to you!  I did an open source Saturday, don't have any idea why.   That and video games :D


fix(datasets): share the cache of Ibis connections

Description
Close #935
Development notes
The ConnectionMixin can also be used by something like pandas.SQLQueryDataset and pandas.SQLTableDataset to share a single connection cache. While this has some value (prevent storing the connections twice, if the user is using both datasets), it's less functionally important as in this specific Ibis case.
Checklist

[x] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Updated the documentation to reflect the code changes
[ ] Added a description of this change in the relevant RELEASE.md file
[ ] Added tests to cover my changes
[ ] Received approvals from at least half of the TSC (required for adding a new, non-experimental dataset)

I haven't looked into this at all, but my intuition is that it stems from #842 (comment); because the connections are different, temporary tables are not shared.
I can try to look into creating a shared cache, but no other dataset follows this pattern (they are pretty independent the way they're currently designed); not sure if @merelcht @astrojuanlu @idanov @noklam any of you may have thoughts on this. https://github.com/kedro-org/kedro-plugins/issues/935#issuecomment-2486299226

Quoting this for future reference. This is not just a refactoring, but necessary as temp table are only accessible by the same connection.

Non blocking comment from the peanut gallery: Are there other ways of doing this without using Mixins?
I think we should do less inheritance, not more. Let alone multiple inheritance.

I'm not 100% sure what the best alternative would be, and would need to do some reading/experimentation to figure it out. That said, I think this can definitely be refactored down the road, as it doesn't update the public interface.

Blocked by #949

Should this be added to the release notes?

Yes, will do!


How to trade in futures

Hi,
I wanted to know what the procedure to place a futures long order is. Is there any specific Order class to adjust the leverage? Or how would you do that? Do I need to request and borrow an specified amount of collateral to get the leverage I want?
Has anybody proved it already?
Thanks in advance!

This library can only be used for spot trading.


Updated to 1.19.1, fixing command execution crashes

I recommend using the CommandManager#executeWithPrefix method instead of the CommandManager#execute method, since the latter doesn't support the command string being prefixed with a forward slash (/)

Aah that's interesting to know. Is that something that's changed in CommandManager#execute? The current version of Apoli is still using that method.

I don't know much why the CommandManager#execute method fails if the command string is prefixed with a forward slash, but it looks like the CommandManager#executeWithPrefix method essentially skips the forward slash from the first index of the command string using the String#substring method if the command string has it

Yeah, like you say, if nothing else it makes it easier for people writing origins with the execute command action to get it right first time, whether they include a slash or not.


Bug when keyboard is showed

Hey,
Here is my code :
export default class FeedFriends extends React.Component {

  constructor() {
    super();
  }

render () {
  return (

    <View style={{flex:1, backgroundColor:'white'}}>

     <KeyboardAccessory>
	  <View style={{ flexDirection: 'row', height: 40 }}>
	    <TextInput
	      style={{ flex: 1, height: 30, borderWidth: 1 }}
	      placeholder='Click me!' />
	  </View>
	</KeyboardAccessory>

    </View>

    );
  }
}

And here is what I get when I click on the <TextInput/> :

I'm using Expo : v30.0.0
React : v16.3.1
React Native : 0.55.4
Bugs on iPhone 6S and Android Huawei P6 2018
EDIT : I'm also using react-navigation : 2.13.0. And createMaterialTopTabNavigator with TabBarPosition: "bottom".

If I put TabBarPosition: "top", it removes the bug :

Thanks for your help ! :-)

Added a PR with verticalOffset.

@AlexisJamin - Thanks for your PR!
It seems that this library was not compatible with createMaterialTopTabNavigator of react-navigation, because if I used the code you attached directly without react-navigation, it works well on iPhone 6S.
Your PR looks good, but it more looks like workaround to bypass the issue.
My suggestion is,

Could you use https://snack.expo.io/ to simulate the situation with react-navigation so I can debug with real scenario?
Please also use SafeAreaView from react-native or react-navigation to make sure you app will work for new iPhones.

@just4fun thanks for your reply. Indeed my PR is a workaround. But I don't have the skills sorry to do better at this point.
Here is my snack reproducing the bug : https://snack.expo.io/ByDDZv_yN
Hope it helps ! :-)

@AlexisJamin - I debugged your demo, the issue is existed indeed.
However, the weird thing it that the e.endCoordinates.height (the height of keyboard) has same value no matter you put the bar of react-navigation in top or bottom, that leads us hard to find the root cause.
Since this library is pretty simple, I don't see any reason to improve it to integrate with every popular libraries.
But, your PR is not a workaround, it's also an approach for user to customize the height, so I'd like to accept it.
My further suggestions:

If you're using v0.1.2, try to upgrade react-navigation to latest version (not sure whether it's caused by old react-navigation)
Once I accept you PR, try to use the new version
Just notice there is official InputAccessoryView, you can also have a try

Thanks.

@just4fun thanks for your answer.
I'm using react-navigation (v2.13.0) used by Expo XDE v.30.0.0 (last is v31.0.0 that just came out).
It's not an old version. I think we should really get rid of this bug !

@AlexisJamin - I mean the latest react-navigation, the latest version is 3.x.
Anyway, I'd like to re-clarify my points.

What this library does is very simple, get the height of keyboard, then set to bottom of the accessary, that's all. The only thing we need to care about is that for new iPhone devices, we should reduce 34 which is the height of bottom safe area. This library has already handled it.
For the tab-based app, I tried some apps, and I found most of them are implemented in two ways. First, there is no input in the first screen, which means the input will only displayed in stack navigator. Second, if you need to include the input in the first screen, when you focus the input, the bottom tabs will always be hidden manually. In these two ways, I think the issue will not happen. It doesn't say this is not an issue, but just noticed that many apps did in such ways.
I know react-navigation is popular, actually I also used it in my iOS app: https://github.com/just4fun/stuhome. To handle different kind integration cases with these popular libraries, I'd like to accept your PR to handle that easily.
I didn't try the official InputAccessoryView yet. Once I figure out that component has similar feature, I will mark this library as deprecated. This is like in the old react-native (0.1x), we even have no RefreshControl, so we used 3rd party pull-to-refresh component.


graph_transforms/transform_graph failed with shared backbone and multiple input node

I try to optimize my model with tf transform_graph tool, and failed
bazel-bin/tensorflow/tools/graph_transforms/transform_graph
--in_graph=inference.pb
--out_graph=inference_opt.pb
--inputs='input_image_1:0,input_image2:0,input_image_3:0’
--outputs='output_node_1:0,output_node_2:0’
--transforms='
remove_nodes(op=Identity, op=CheckNumerics)
fold_batch_norms
fold_old_batch_norms
sort_by_execution_order'
Then long log print occur and never stop, something like this:
2019-08-22 10:56:11.108570: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/expanded_conv_16/expand/BatchNorm/beta/read/_135__cf__135 to be preserved.
2019-08-22 10:56:11.108594: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/expanded_conv_16/expand/BatchNorm/gamma/read/_136__cf__136 to be preserved.
2019-08-22 10:56:11.108604: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/expanded_conv_16/expand/BatchNorm/moving_mean/read/_137__cf__137 to be preserved.
2019-08-22 10:56:11.108614: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/expanded_conv_16/expand/BatchNorm/moving_variance/read/_138__cf__138 to be preserved.
2019-08-22 10:56:11.108623: W tensorflow/tools/graph_transforms/transform_utils.cc:448] Generator function didn't preserve needed nodes, copying old replacements back in instead.
2019-08-22 10:56:11.120159: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/expanded_conv_16/project/BatchNorm/beta/read/_140__cf__140 to be preserved.
2019-08-22 10:56:11.120181: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/expanded_conv_16/project/BatchNorm/gamma/read/_141__cf__141 to be preserved.
2019-08-22 10:56:11.120192: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/expanded_conv_16/project/BatchNorm/moving_mean/read/_142__cf__142 to be preserved.
2019-08-22 10:56:11.120201: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/expanded_conv_16/project/BatchNorm/moving_variance/read/_143__cf__143 to be preserved.
2019-08-22 10:56:11.120211: W tensorflow/tools/graph_transforms/transform_utils.cc:448] Generator function didn't preserve needed nodes, copying old replacements back in instead.
2019-08-22 10:56:11.138263: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/Conv_1/BatchNorm/beta/read/_10__cf__10 to be preserved.
2019-08-22 10:56:11.138286: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/Conv_1/BatchNorm/gamma/read/_11__cf__11 to be preserved.
2019-08-22 10:56:11.138294: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/Conv_1/BatchNorm/moving_mean/
And after I remove  transform option  remove_nodes(op=Identity, op=CheckNumerics),
It seems succeed, but when I open optimized pb fie, bn node is still there, which not be fold.
I test other classification model,  transform_graph just woks well. But in my model, it just can not work. By the way, my model has multiple input and shares backbone mobilenet_v2.
bazel-bin/tensorflow/tools/graph_transforms/transform_graph
--in_graph=inference.pb
--out_graph=inference_opt.pb
--inputs='input_image_1:0,input_image2:0,input_image_3:0’
--outputs='output_node_1:0,output_node_2:0’
--transforms='
fold_batch_norms
fold_old_batch_norms
sort_by_execution_order'

Please provide details about what platform you are using (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary?
Please fill the issue template. Could you update them if they are relevant in your case, or leave them as N/A? . If you are unclear what to include see the issue template displayed in the Github new issue template.
We ask for this in the issue submission template, because it is really difficult to help without that information. Thanks!

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac OS 10.14
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 1.14.0
Python version: 3.6.5
Bazel version (if compiling from source): 0.26.0
GCC/Compiler version (if compiling from source): Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>)
CUDA/cuDNN version:  No GPU
GPU model and memory: No GPU

Describe the current behavior
I try to optimize my model with tf transform_graph tool, and failed
bazel-bin/tensorflow/tools/graph_transforms/transform_graph
--in_graph=inference.pb
--out_graph=inference_opt.pb
--inputs='input_image_1:0,input_image2:0,input_image_3:0’
--outputs='output_node_1:0,output_node_2:0’
--transforms='
remove_nodes(op=Identity, op=CheckNumerics)
fold_batch_norms
fold_old_batch_norms
sort_by_execution_order'
Then long log print occur and never stop, something like this:
2019-08-22 10:56:11.108570: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/expanded_conv_16/expand/BatchNorm/beta/read/_135__cf__135 to be preserved.
2019-08-22 10:56:11.108594: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/expanded_conv_16/expand/BatchNorm/gamma/read/_136__cf__136 to be preserved.
2019-08-22 10:56:11.108604: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/expanded_conv_16/expand/BatchNorm/moving_mean/read/_137__cf__137 to be preserved.
2019-08-22 10:56:11.108614: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/expanded_conv_16/expand/BatchNorm/moving_variance/read/_138__cf__138 to be preserved.
2019-08-22 10:56:11.108623: W tensorflow/tools/graph_transforms/transform_utils.cc:448] Generator function didn't preserve needed nodes, copying old replacements back in instead.
2019-08-22 10:56:11.120159: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/expanded_conv_16/project/BatchNorm/beta/read/_140__cf__140 to be preserved.
2019-08-22 10:56:11.120181: W tensorflow/tools/graph_transforms/transform_utils.cc:441] Expected part_cnn/feature_extract/MobilenetV2/expanded_conv_16/project/BatchNorm/gamma/read/_141__cf__141 to be preserved.
Describe the expected behavior
Bn should be fold into conv
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@hwenjun18 Could you share minimum standalone code to reproduce the issue? Did you check graph transform with other tensorflow models? Thanks!

@hwenjun18 Could you share minimum standalone code to reproduce the issue? Did you check graph transform with other tensorflow models? Thanks!

I have checked graph transform with other tensorflow models, including mobilenet_v1, mobilenet_v2 in slim, but with multiple input and a shared mobilenet_v2, it fails

@hwenjun18 Could you add 'fold_constants(ignore_errors=ture)' to the transforms list as fold_constants is prerequisite of fold_batch_norms?
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/graph_transforms#fold_batch_norms


Numba reassigns sys.stdout

Reporting a bug

[*] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[*] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

import sys
import numba

@numba.njit
def f0(a,b):
  return a+b

@numba.njit
def f1(begin1, end1, begin2, end2):
  if begin1 > begin2: return f1(begin2, end2, begin1, end1)
  return end1 + 1 >= begin2

sys.api_version, sys.stdout = 12345, None

print>>sys.stderr, sys.api_version, sys.stdout  # 12345, None
f0(0,1)      # Does not reassign stdout
print>>sys.stderr, sys.api_version, sys.stdout  # 12345, None
f1(0,1,2,3)  # Reassigned stdout
print>>sys.stderr, sys.api_version, sys.stdout  # 12345, file object

assert sys.api_version == 12345  # Pass. From which we can infer reload was not called
assert sys.stdout is None  # Fail. sys.stdout was assigned and not reset.

I came across this because it breaks the IntelliJ unittest runner (which sets sys.stdout before numba), like so: https://youtrack.jetbrains.com/issue/PY-23940 , which causes and exception after running unit tests.
It would be more friendly if numba didn't poke at sys.
Seen in: numba==0.38.1

Thanks for the report. I've tried this on Python 3 and Python 2 and can't reproduce. Just doing conda create -n foo_pyversion numba python=version, then running the example. Which OS are you trying this on? Is there anything else you think that might be special about your set up that could be influencing such behaviours?

Ubuntu 14.04. Python 2.7.6.
 I haven't been able able to confirm that reload is the cause - I don't see how its possible know if reload was called (variables assigned to a module namespace survive the reload, except if they're reinitialized by the module itself):
import sys
sys.stdout = None
sys.zzz = 123
sys = reload(sys)
sys.stderr.write("sys.stdout = {}\n".format(sys.stdout)) # Reset to file object
sys.stderr.write("sys.zzz = {}\n".format(sys.zzz)) # Surprise success!
sys.stderr.flush()

It could be something's directly assigning to sys.stdout/err, or that reload(sys) is called.

OK -- I've update the the example in the original question and discovered:

sys.stdout is assigned to. reload(sys) is not called, otherwise it would have reset sys.api_version
the problem only happens for the recursive call

Weird.

Yeah, this is very weird.  We do some manipulation of sys.stdout in our unit testing code in order to capture printed output, but it isn't obvious to me where this happens in the Numba code itself.

I still cannot reproduce this.
Log from trying with an install from Anaconda:

$ cat issue3027.py
import sys
import numba

@numba.njit
def f0(a,b):
  return a+b

@numba.njit
def f1(begin1, end1, begin2, end2):
  if begin1 > begin2: return f1(begin2, end2, begin1, end1)
  return end1 + 1 >= begin2

sys.api_version, sys.stdout = 12345, None

print>>sys.stderr, sys.api_version, sys.stdout  # 12345, None
f0(0,1)      # Does not reassign stdout
print>>sys.stderr, sys.api_version, sys.stdout  # 12345, None
f1(0,1,2,3)  # Reassigned stdout
print>>sys.stderr, sys.api_version, sys.stdout  # 12345, file object

assert sys.api_version == 12345  # Pass. From which we can infer reload was not called
assert sys.stdout is None  # Fail. sys.stdout was assigned and not reset.

$ conda create -n issue3027 python=2 numba -y -q
Solving environment: ...working... done

## Package Plan ##

  environment location: <path>/anaconda3/envs/issue3027

  added / updated specs:
    - numba
    - python=2

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    numpy-1.14.5               |   py27hcd700cb_0          94 KB
    numpy-base-1.14.5          |   py27hdbf6ddf_0         4.1 MB
    ------------------------------------------------------------
                                           Total:         4.2 MB

The following NEW packages will be INSTALLED:

    blas:            1.0-mkl
    ca-certificates: 2018.03.07-0
    certifi:         2018.4.16-py27_0
    enum34:          1.1.6-py27h99a27e9_1
    funcsigs:        1.0.2-py27h83f16ab_0
    intel-openmp:    2018.0.3-0
    libedit:         3.1.20170329-h6b74fdf_2
    libffi:          3.2.1-hd88cf55_4
    libgcc-ng:       7.2.0-hdf63c60_3
    libgfortran-ng:  7.2.0-hdf63c60_3
    libstdcxx-ng:    7.2.0-hdf63c60_3
    llvmlite:        0.23.1-py27hdbcaa40_0
    mkl:             2018.0.3-1
    mkl_fft:         1.0.1-py27h3010b51_0
    mkl_random:      1.0.1-py27h629b387_0
    ncurses:         6.1-hf484d3e_0
    numba:           0.38.0-py27h637b7d7_0
    numpy:           1.14.5-py27hcd700cb_0
    numpy-base:      1.14.5-py27hdbf6ddf_0
    openssl:         1.0.2o-h20670df_0
    pip:             10.0.1-py27_0
    python:          2.7.15-h1571d57_0
    readline:        7.0-ha6073c6_4
    setuptools:      39.2.0-py27_0
    singledispatch:  <IP_ADDRESS>-py27h9bcb476_0
    six:             1.11.0-py27h5f960f1_1
    sqlite:          3.23.1-he433501_0
    tk:              8.6.7-hc745277_3
    wheel:           0.31.1-py27_0
    zlib:            1.2.11-ha838bed_2

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done

$ source activate issue3027

(issue3027)
$ python issue3027.py
12345 None
12345 None
12345 None

And the same but installing from pip:

$ cat issue3027.py
import sys
import numba

@numba.njit
def f0(a,b):
  return a+b

@numba.njit
def f1(begin1, end1, begin2, end2):
  if begin1 > begin2: return f1(begin2, end2, begin1, end1)
  return end1 + 1 >= begin2

sys.api_version, sys.stdout = 12345, None

print>>sys.stderr, sys.api_version, sys.stdout  # 12345, None
f0(0,1)      # Does not reassign stdout
print>>sys.stderr, sys.api_version, sys.stdout  # 12345, None
f1(0,1,2,3)  # Reassigned stdout
print>>sys.stderr, sys.api_version, sys.stdout  # 12345, file object

assert sys.api_version == 12345  # Pass. From which we can infer reload was not called
assert sys.stdout is None  # Fail. sys.stdout was assigned and not reset.

$ conda create -n issue3027_pip python=2 -y -q
Solving environment: ...working... done

## Package Plan ##

  environment location: <path>/anaconda3/envs/issue3027_pip

  added / updated specs:
    - python=2

The following NEW packages will be INSTALLED:

    ca-certificates: 2018.03.07-0
    certifi:         2018.4.16-py27_0
    libedit:         3.1.20170329-h6b74fdf_2
    libffi:          3.2.1-hd88cf55_4
    libgcc-ng:       7.2.0-hdf63c60_3
    libstdcxx-ng:    7.2.0-hdf63c60_3
    ncurses:         6.1-hf484d3e_0
    openssl:         1.0.2o-h20670df_0
    pip:             10.0.1-py27_0
    python:          2.7.15-h1571d57_0
    readline:        7.0-ha6073c6_4
    setuptools:      39.2.0-py27_0
    sqlite:          3.23.1-he433501_0
    tk:              8.6.7-hc745277_3
    wheel:           0.31.1-py27_0
    zlib:            1.2.11-ha838bed_2

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done

$ source activate issue3027_pip

(issue3027_pip)
$ pip install numba
Collecting numba
  Downloading https://files.pythonhosted.org/packages/4a/9c/6617f797227451a3878a357be6c338084232bf87d971c80bde45cb4952f9/numba-0.38.1-cp27-cp27mu-manylinux1_x86_64.whl (1.9MB)
    100% |████████████████████████████████| 1.9MB 1.7MB/s
Collecting funcsigs (from numba)
  Downloading https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl
Collecting llvmlite>=0.23.0dev0 (from numba)
  Downloading https://files.pythonhosted.org/packages/61/53/64df44dd638d4424d83079365f94592dfacc83149ff2b386bc72f9fa84f1/llvmlite-0.23.2-cp27-cp27mu-manylinux1_x86_64.whl (15.8MB)
    100% |████████████████████████████████| 15.8MB 824kB/s
Collecting numpy (from numba)
  Downloading https://files.pythonhosted.org/packages/6a/a9/c01a2d5f7b045f508c8cefef3b079fe8c413d05498ca0ae877cffa230564/numpy-1.14.5-cp27-cp27mu-manylinux1_x86_64.whl (12.1MB)
    100% |████████████████████████████████| 12.1MB 1.0MB/s
Collecting singledispatch (from numba)
  Downloading https://files.pythonhosted.org/packages/c5/10/369f50bcd4621b263927b0a1519987a04383d4a98fb10438042ad410cf88/singledispatch-<IP_ADDRESS>-py2.py3-none-any.whl
Collecting enum34 (from numba)
  Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting six (from singledispatch->numba)
  Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Installing collected packages: funcsigs, enum34, llvmlite, numpy, six, singledispatch, numba
Successfully installed enum34-1.1.6 funcsigs-1.0.2 llvmlite-0.23.2 numba-0.38.1 numpy-1.14.5 singledispatch-<IP_ADDRESS> six-1.11.0

(issue3027_pip)
$ python issue3027.py
12345 None
12345 None
12345 None

@stuz5000 can you reproduce this using exactly what I've done or do you need that larger environment listed in https://github.com/numba/numba/issues/3027#issuecomment-396778163 ? Thanks.

Works fine in conda:
ubuntu@ip:$ curl -O https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh
ubuntu@ip:$  bash Anaconda3-5.0.1-Linux-x86_64.sh
ubuntu@ip:$ source ~/.bashrc
ubuntu@ip:$ cat > issue3027.py
import sys
import numba

@numba.njit
def f0(a,b):
  return a+b

@numba.njit
def f1(begin1, end1, begin2, end2):
  if begin1 > begin2: return f1(begin2, end2, begin1, end1)
  return end1 + 1 >= begin2

sys.api_version, sys.stdout = 12345, None

print>>sys.stderr, sys.api_version, sys.stdout  # 12345, None
f0(0,1)      # Does not reassign stdout
print>>sys.stderr, sys.api_version, sys.stdout  # 12345, None
f1(0,1,2,3)  # Reassigned stdout
print>>sys.stderr, sys.api_version, sys.stdout  # 12345, file object

assert sys.api_version == 12345  # Pass. From which we can infer reload was not called
assert sys.stdout is None  # Fail. sys.stdout was assigned and not reset.

ubuntu@ip:$  conda create -n issue3027 python=2 numba -y -q

Package plan for installation in environment /home/ubuntu/anaconda3/envs/issue3027:

The following NEW packages will be INSTALLED:

    blas:            1.0-mkl
    ca-certificates: 2018.03.07-0
    certifi:         2018.4.16-py27_0
    enum34:          1.1.6-py27h99a27e9_1
    funcsigs:        1.0.2-py27h83f16ab_0
    intel-openmp:    2018.0.3-0
    libedit:         3.1.20170329-h6b74fdf_2
    libffi:          3.2.1-hd88cf55_4
    libgcc-ng:       7.2.0-hdf63c60_3
    libgfortran-ng:  7.2.0-hdf63c60_3
    libstdcxx-ng:    7.2.0-hdf63c60_3
    llvmlite:        0.23.1-py27hdbcaa40_0
    mkl:             2018.0.3-1
    mkl_fft:         1.0.1-py27h3010b51_0
    mkl_random:      1.0.1-py27h629b387_0
    ncurses:         6.1-hf484d3e_0
    numba:           0.38.0-py27h637b7d7_0
    numpy:           1.14.5-py27hcd700cb_0
    numpy-base:      1.14.5-py27hdbf6ddf_0
    openssl:         1.0.2o-h20670df_0
    pip:             10.0.1-py27_0
    python:          2.7.15-h1571d57_0
    readline:        7.0-ha6073c6_4
    setuptools:      39.2.0-py27_0
    singledispatch:  <IP_ADDRESS>-py27h9bcb476_0
    six:             1.11.0-py27h5f960f1_1
    sqlite:          3.23.1-he433501_0
    tk:              8.6.7-hc745277_3
    wheel:           0.31.1-py27_0
    zlib:            1.2.11-ha838bed_2

ubuntu@ip:$  source activate issue3027_pip

CondaEnvironmentNotFoundError: Could not find environment: issue3027_pip .
You can list all discoverable environments with `conda info --envs`.

ubuntu@ip:$  conda info --envs
# conda environments:
#
issue3027                /home/ubuntu/anaconda3/envs/issue3027
root                  *  /home/ubuntu/anaconda3

ubuntu@ip:$  source activate /home/ubuntu/anaconda3/envs/issue3027
(/home/ubuntu/anaconda3/envs/issue3027) ubuntu@ip:$   python2 issue3027.py

On the same host (outside of conda), and on another (on which only RabbitMQ was previously installed):
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64)

   sudo apt-get install python-pip python-dev
   sudo pip install pip==9.0.1
   sudo pip install numpy==1.14.0
   sudo pip install 'llvmlite==0.23.2'
   sudo pip install numba==0.38.1
   python issue3027.py   # Fail

@stuartarchibald  -- I didn't see the second half of your conda instructions. Will try again.

Both the conda installs worked fine.

Updating the non-conda install to the same pip package versions as the conda install still fails.
   sudo apt-get install python-pip python-dev
   sudo pip install pip==9.0.1
   sudo pip install 'enum34==1.1.6' 'funcsigs==1.0.2' 'llvmlite==0.23.2' 'numba==0.38.1' 'numpy==1.14.5' 'singledispatch==<IP_ADDRESS>' 'six==1.11.0'
   python issue3027.py   # Fail

Thanks for the update @stuz5000. This narrows it down a bit? Anaconda Python is ok, but Ubuntu 14.04 stock Python 2.7 is not. I have to wonder if newer Ubuntu's suffer the same problem? I'll see if a Centos stock Python has this issue.

Doing the Centos equivalent of https://github.com/numba/numba/issues/3027#issuecomment-398194314, but with a virtualenv, on Centos 7, using stock Python 2.7, the problem is not present.

Hmmm -- tried the following on a set of AWS instances:

Ubuntu 18.04 LTS [PASS] (ami-e3293383)
Ubuntu 16.04 LTS [PASS] (ami-43243a23)
Ubuntu 14.04 LTS [FAIL]  (ami-e4293384)

   sudo apt-get update --yes
   sudo apt-get install  --yes python2.7 python-pip python-dev
   sudo pip install pip==9.0.1
   sudo pip install 'enum34==1.1.6' 'funcsigs==1.0.2' 'llvmlite==0.23.2' 'numba==0.38.1' 'numpy==1.14.5' 'singledispatch==<IP_ADDRESS>' 'six==1.11.0'
   python2.7 issue3027.py  # Pass/Fail?

... so it seems limited just to old versions of ubuntu. Which is odd. Why might these packages differ?

With some magic, its possible to trap assignments to sys
Whence:
numba/errors.py  calls colorama/initialise.py:
orig_stdout = sys.stdout
orig_stderr = sys.stderr

wrapped_stdout = sys.stdout
wrapped_stderr = sys.stderr

atexit_done = False

def reset_all():
    AnsiToWin32(orig_stdout).reset_all()

def init(autoreset=False, convert=None, strip=None, wrap=True):

    if not wrap and any([autoreset, convert, strip]):
        raise ValueError('wrap=False conflicts with any other arg=True')

    global wrapped_stdout, wrapped_stderr
    sys.stdout = wrapped_stdout = \
        wrap_stream(orig_stdout, convert, strip, autoreset, wrap)
    sys.stderr = wrapped_stderr = \
        wrap_stream(orig_stderr, convert, strip, autoreset, wrap)

    global atexit_done
    if not atexit_done:
        atexit.register(reset_all)
        atexit_done = True

def deinit():
    sys.stdout = orig_stdout
    sys.stderr = orig_stderr

def reinit():
    sys.stdout = wrapped_stdout
    sys.stderr = wrapped_stdout

colorama>=0.3.9 resolves this issue.

I'll commit a PR

Well found :) So Numba is not at fault?
colorama is a relatively new optional dependency for Numba, everything works just fine without it, but if it is present it helps produce highlighted/coloured error messages. You can just switch it off by setting the env var NUMBA_DISABLE_ERROR_MESSAGE_HIGHLIGHTING to non-zero.

Does adding the wrap=False kwarg to init here: https://github.com/numba/numba/blob/master/numba/errors.py#L132 help?

Reverting to colorama==0.2.5, I still see the problem with wrap=False.
NB.
orig_stdout = sys.stdout
orig_stderr = sys.stderr
is referenced globally. So what gets stored in orig_stdout the is anyone's guess if others are reassigning sys.stdout (pycharm, colorama...).
I'm also a little suspicious about this
def reset_all():
    AnsiToWin32(orig_stdout).reset_all()

...

    global atexit_done
    if not atexit_done:
        atexit.register(reset_all)
        atexit_done = True

Can init be called multiple times?
More cleanly, this state could be cached/restored in ColorShell at enter/exit.

I've submitted https://github.com/numba/numba/pull/3045
Has a unittest and resolves this issue by setting colorama>=0.3.9 as a requirement.
Independently, because of the dependence on colorama, I'd recommended putting a global RLock between ColorShell.enter and exit.


DPL-480 [BUG] Negative test samples show fit to pick as true when they should be false

Describe the bug
Negative samples generated for test data under Lighthouse UI are recorded as fit to pick = true when they should be false.
To Reproduce
Steps to reproduce the behaviour:

Go to Lighthouse UI, under the UAT Actions page
Generate any test data where the plate is not 100% positive results
Observe in MongoDB that the generated negative samples are marked as filtered_positive: true

Expected behaviour
Samples with a negative result should have fit to pick / filtered positive set to false.
Additional context
Add any other context about the problem here.

The updated field in Mongo is confirmed.  That should be good enough to mark this as Done but we will re-visit this issue if the machine testing still cannot be completed.


Now that VS 2019 Mac has shipped, is this still relevant?

I'm unable to Pair from VS2019 on my PC to my Mac VS2019 version 8.0.1.  But reading this article, I wonder if the steps are still relevant and maybe the pairing is still in beta?  Can the article be clarified, or removed?

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

ID: 9d4dcc7c-5d4b-e75d-2295-e80909b5dafc
Version Independent ID: 693733be-56b7-27f9-dd24-af7c458170c5
Content: Connecting Visual Studio 2019 Previews on Windows and macOS - Xamarin
Content Source: docs/ios/get-started/installation/windows/connecting-to-mac/2019-preview.md
Product: xamarin
Technology: xamarin-ios
GitHub Login: @lobrien
Microsoft Alias: laobri

Thanks for your feedback @paulelong. You should be able to pair Visual Studio 2019 from PC to Mac. You're right about this page being intended for the Preview builds - I'll check with the team whether we need to remove this page.
As far as I'm aware, the pairing should work with the stable builds of Visual Studio 2019 released last week. If you continue to experience issues, please report them in Visual Studio, since that will include useful version and system information that can help to diagnose.

I've confirmed the article is not relevant to the released Visual Studio 2019, it will be removed (and redirected to the main pairing page). As I mentioned above, if you continue to encounter problems please report them in Visual Studio.


Simplify Maven and Gradle configuration

Classifier should not be needed for a JAR artifacts (have you experienced any issue with that?)

[Current coverage][cc-pull] is 99.46%

Merging [#70][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master        #70   diff @@
==========================================
  Files             3          3
  Lines          4103       4103
  Methods           0          0
  Messages          0          0
  Branches         49         49
==========================================
  Hits           4081       4081
  Misses           14         14
  Partials          8          8

Powered by Codecov. Last updated by [ec7cb02...7245768][cc-compare]
[cc-base-branch]: https://codecov.io/gh/shekhargulati/strman-java/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/shekhargulati/strman-java/compare/ec7cb028007c03731b42d07937b5d5a77010bcc2...724576852c642e77a6df9914b9d0d51500024f29?src=pr
[cc-pull]: https://codecov.io/gh/shekhargulati/strman-java/pull/70?src=pr


Scroll back to top of page automatically on navigation

Simply call window.scrollTo(0, 0) (equivalent using wasm-bindgen) after here:
https://github.com/sycamore-rs/sycamore/blob/f3e877b4d9afd423c15c8760edabbbf6ae4a20dd/packages/sycamore-router/src/router.rs#L96-L104
and here:
https://github.com/sycamore-rs/sycamore/blob/f3e877b4d9afd423c15c8760edabbbf6ae4a20dd/packages/sycamore-router/src/router.rs#L142-L146

I would be willing to work on this

I would be willing to work on this

Awesome!


Payment list request returns wrong payment items

Description
I have the shop run client REST API for payment checkout over 1 year. Everything works well untill yesterday I got a strange issue when request the payment list :
curl -v "https://api.paypal.com/v1/payments/payment?count=4" -H "Content-Type: application/json" -H "Authorization: Bearer SESSION_TOKEN"
I can see 4 payment items on the list of the API response. However the list items are incorrect, I can't see a new payment item created on Nov 25th, 2018. While it has been existing on my paypal account activities, so the list should return the following items :

trx ID Nov 25th, 2018
trx ID Nov 13th, 2018
trx ID Nov 8th, 2018
trx ID Nov 7th, 2018

But, on the response I get the following items :

trx ID Nov 13th, 2018
trx ID Nov 8th, 2018
trx ID Nov 7th, 2018
trx ID Nov 6th, 2018

The print out of trx ID Nov 25th, 2018 :

Nothing strange with the transaction, all info are fine. Why does it not exist on the response of the list payment ?
[
  {id: "PAYID-xxxx", intent: "sale", state: "approved", cart: "xxxx", payer: {objects}, transactions: [objects], create_time:"2018-11-13T02:52:41Z", "update_time": "2018-11-13T03:18:17Z", links: [objects],
  {id: "PAYID-xxxx", intent: "sale", state: "approved", cart: "xxxx", payer: {objects}, transactions: [objects], create_time: "2018-11-08T01:53:32Z", "update_time": "2018-11-09T09:54:28Z", links: [objects],
  {id: "PAYID-xxxx", intent: "sale", state: "approved", cart: "xxxx", payer: {objects}, transactions: [objects], create_time: "2018-11-07T10:09:14Z", "update_time": "2018-11-07T10:14:22Z", links: [objects],
  {id: "PAYID-xxxx", intent: "sale", state: "approved", cart: "xxxx", payer: {objects}, transactions: [objects], create_time: "2018-11-06T08:19:56Z", "update_time": "2018-11-06T10:22:48Z", links: [objects],
]

What is the exact problem here? And where is it from?

Please raise a ticket at https://www.paypal-support.com/s/?language=en_US -- this repo is only for checkout.js issues and questions.

WE are still suffering from this problem.
Is there any reason why the items aren't being picked up ? I can see them in paypal, but they don't appear in the API

Please raise a ticket at https://www.paypal-support.com/s/?language=en_US -- this repo is only for checkout.js issues and questions.

We're using checkout.js on the client shop then we pull the paypal list payments api on the admin shop. So we're wondering if any related problem between checkout.js or paypal api?

We have now opened a technical support ticket against this issue.


Support temperature range for external temp sensor

Description:
Improve alert range for temperature when using ext temp sensor

Allow adding any value to beyond current min-max limitation
When edited, this value is used, with condition that min is smaller than max because app cannot know that external temperature sensor is used
We will not adjust slider

New limits: -55 to 155

QA passed


Update Northstar to 1.4, adjust instance creation

Sorry about the PR spam, not sure if you have something like this cooking already but this is hopefully at least useful for others using this image.

Updates the Northstar build file to use 1.4
Adjusts NSInstance logic to only abort when NorthstarLauncher exits instead of creating a watcher process, which isn't necessary anymore
Fixes what seems to be a deadlock when the launcher crashes, stopping the entrypoint from exiting (I'm not super sure if my fix is correct, but it does work)

I haven't added support for running NS commands with stdin, not totally sure how that would be set up with the custom PTY stuff?
Also apologies in advance, first time using Go 😄

@mitchpk fixed the deadlock in #3, so I'll remove that part from this branch.

I can't force-push to your branch, so I've manually merged the commits: https://github.com/pg9182/northstar-dedicated/commits/4b8d265d1972daf54b1826d012b0fccebbde9cc7.


Generate more number of images

I have trained the code for my own dataset.My dataset has 200 images. and only 100 images are generated during the test procedure. But how can I generate more number of images (e.g, 1000) during the test procedure?
I didn't understand where should I change in the code to make this happen.

https://github.com/carpedm20/DCGAN-tensorflow/search?l=Python&q=100&type=&utf8=✓
In utils.py

Hi,
@ppwwyyxx I changed the shown lines, but now its giving error. I changed the 100 to 150.
InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [150,8192] rhs shape= [100,8192]

Aside question, are you getting good results by training with only 200 images?

@mohanadkaleia no i didn't.

Hello, I hava a trouble.In my train_set,I can get perfect picture.But,when I use trained-model to generate some picture,its so bad....  I want to know if I don't use the model.

@ppwwyyxx hey .. i also faced the same problem, only 100 images are generating. I followed the line you asked to change in utils.py... but it is giving me error. Any help??

PR #216 created. Please verify it.

@ppwwyyxx  i followed your solution, but it didn't run for more than 100. it was working, if I want to generate 10 images. but when I put 110, it gave me following error
Traceback (most recent call last):
File "main.py", line 97, in
tf.app.run()
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 30, in run
sys.exit(main(sys.argv[:1] + flags_passthrough))
File "main.py", line 94, in main
visualize(sess, dcgan, FLAGS, OPTION)
File "/Users/rahulpaul/Desktop/keras/DCGAN-tensorflow-master/utils.py", line 184, in visualize
z[idx] = values[kdx]
IndexError: index 100 is out of bounds for axis 0 with size 100


Flow analysis assertion when trying to access ClassName?.hashCode.

The following code should cause a compile-time error:
class A {}
f() => A?.hashCode;

With null safety enabled, this causes an analyzer assertion:
  'package:_fe_analyzer_shared/src/flow_analysis/flow_analysis.dart': Failed assertion: line 2452 pos 12: '_stack.isEmpty': is not true.
  #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
  #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
  #2      _FlowAnalysisImpl.finish (package:_fe_analyzer_shared/src/flow_analysis/flow_analysis.dart:2452:12)
  #3      FlowAnalysisHelper.topLevelDeclaration_exit (package:analyzer/src/dart/resolver/flow_analysis_visitor.dart:250:10)
  #4      ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:1135:23)
  #5      FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4821:49)
  #6      ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:796:23)
  #7      CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2119:49)
  #8      LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:735:10)
  #9      LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:136:7)
  #10     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
  #11     LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:135:11)
  #12     LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:107:14)
  #13     _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:216:15)
  #14     LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:106:43)
  #15     AnalysisDriver._computeAnalysisResult2.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1294:63)
  #16     PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15)
  #17     AnalysisDriver._computeAnalysisResult2 (package:analyzer/src/dart/analysis/driver.dart:1271:20)
  #18     AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1222:14)

I can no longer reproduce this, even if I go back to code as of Aug 5.  I'm not sure what happend, but as the bug is not reproducible, I'm closing the issue.


hdf4: fix invalid rpath on darwin

CMake changes in hdf4 v4.15.2 broke library paths on macOS, linking
using an invalid rpath rather than an absolute path.
Before this commit:
otool -L result/lib/libhdf.dylib
result/lib/libhdf.dylib:
	@rpath/libhdf.4.dylib (compatibility version 4.0.0, current version 4.15.2)

After:
otool -L result/lib/libhdf.dylib
result/lib/libhdf.dylib:
	/nix/store/bz52b2gwci0k8rwd0llsi555s1hx166j-hdf-4.2.15/lib/libhdf.4.15.2.dylib (compatibility version 4.0.0, current version 4.15.2)

Motivation for this change
This broke an out-of-tree derivation for isce2 I've been using locally.
Things done

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

[ ] NixOS
[x] macOS
[ ] other Linux distributions

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

Thx. LGTM


Fix wires not appearing on player join

Fixes https://github.com/wiremod/wire/issues/1687

Might need to switch it back to NetworkEntityCreated, but I think this should work fine.

Can someone review

Everybody will review this, whether they want it or not, don't worry.

For some reason those changes got lost. I re-added them

As for why I chose the initialize hook over the networkentitycreated hook, initialize is faster and is only called once, whereas networkentitycreated is called anytime the entity is re-synced and I'm pretty sure the wires will persist after a re-sync and won't need to be re-requested

What the fuck. A lot of changes I made on this branch got wiped.  In order to render the wires, Wire_Render must be called which is done in base_wire_entity so I don't see any issue in putting the request for wires there. I think the whole thing needs to be refactored into the system in wireshared.lua:622 but that'll have to be for another day.

I've reverted those changes. It works 100% now.

@AbigailBuccaneer

I'd say it doesn't make sense to require base_wire_entity to be used. If other addons don't want to use it, but they still want wire support, they can simply call Wire_Render (which should be placed in wirelib btw) from their base entity (or whatever). I checked the code in base_wire_entity and calling this function seems to be the only thing that's required.

Ok I think I found the best solution. Will test and see.

All right it's working. @Divran @AbigailBuccaneer

Ready to merge then

@AbigailBuccaneer @Divran


Typo "@cookie"→"@cookie"

bold with escape characters
https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-unsetapprole-transact-sql?view=sql-server-ver15

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Exception on run

I'm using node v7.4.0 on Windows 10 x64. I've tried the installer and running from source with npm run start. I get the same exception with both (screenshot below) related to icon-tray-default.png.

Same in Ubuntu 16.10 64bit with pb-for-desktop 3.5.0:

@mshish @hotice Thanks for the heads-up. The issue should be solved in b1757a4807504fef8f51dbae94a9febb5d7c18c3 and has been tested on Windows 10 (15014) and Ubuntu 16.04). Please re-test and comment.

Looks like that fixed it, thank you!


add initial support for csky-unknown-linux-gnuabiv2

Add libc-files to allow rust to be used on the csky/linux platform with a PR https://github.com/rust-lang/rust/pull/113658 for rust
Signed-off-by:  @Dirreke<EMAIL_ADDRESS>

I know the code to support Linux/csky isn't yet in rust itself; https://github.com/rust-lang/rust/pull/113658 is in process. However, I need this crate merge first, and then https://github.com/rust-lang/rust/pull/113658 ensues because rust depends on libc by using libc::c_char 、libc::c_int ...
Thanks!

@JohnTitor  May I ask if you have time to review this PR? Thanks

Could you rebase and squash commits into one?

Done! Thanks

@JohnTitor  Could you merge it? Thanks!

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing 92a5d3e8f6fedc30e3c3258cb04c703bc04b6829 to main...


windows now has feature parity for menu items

@kenwheeler added menu feature parity for windows and Linux. tested to ensure that all features are working on OSX, Windows, and Linux, with hotkeys.

Solid