[3236] Add academic cycle model

Context

https://trello.com/c/0WPWunbh/3236-m-add-academiccycle-model

Changes proposed in this pull request

Creates AcademicCycle model
Seed some cycles with rows starting 15/16 and up to 22/23
Add some ActiveRecord validations for house keeping
Add Postgres constraint to prevent duplicate cycles

Guidance to review

 [M] Add AcademicCycle model


FR OVN Home Page Update

- Summary
Added the ability to display featured and info posts on the home page.
- Description for the changelog
This required modification to the index,html to render a new home-featured partial. The home-featured partial will pull in posts that have a posttype attribute of inform or feature. Based on the posttype it will render featured items on the left and inform items on the right. They are using li-home-info and li-home-featured to render list items. For testing I included markdown for posts.

Please don't merge this until I confirm one area of impact.


Remote forward failing under ET

One of my favourite tools is rmate which can open files in TextMate 2 from an ssh session. For that to work it needs to make a remote forward. I just noticed that this fails when running under ET, even though ssh reports the forward as successful when started by ET.
(In the command below it gets the remote forward argument from ~/.ssh/config.)
$ et -s="-v host " host
…
debug1: Remote connections from LOCALHOST:52698 forwarded to local address localhost:52698
…
debug1: remote forward success for: listen 52698, connect localhost:52698
debug1: All remote forwarding requests processed
…

Trying to open a file:
$ sudo rmate file.txt
/usr/local/bin/rmate: connect: Connection refused
/usr/local/bin/rmate: line 327: /dev/tcp/localhost/52698: Connection refused
Unable to connect to TextMate on localhost:52698

Indeed, nothing is listening:
$ sudo netstat -nap | grep 52698
$

Sorry for creating so many issues, I'm just really excited to start using ET ☺ . My dream is to get iTerm 2 with tmux -CC, rmate and ET working together and now this is the only missing part…

Damn, I just read your How It Works-page 😟 .

After the ETServer process begins on the server, the ssh connection closes and ssh is no longer needed.

and

While it may be possible to implement the SSH protocol on top of ET and thus support X-forwarding and other features, it’s not implemented at the moment.

I guess I'll just need to keep a regular ssh session open for rmate…

Yeah, for this to work someone would have to implement ssh on top of ET.
It's not as hard as it sounds, but it's significant work.
On Thu, Mar 9, 2017, 3:11 PM Tuk Bredsdorff<EMAIL_ADDRESS>wrote:

Damn, I just read your How It Works-page 😟 .
After the ETServer process begins on the server, the ssh connection closes
and ssh is no longer needed.
and
While it may be possible to implement the SSH protocol on top of ET and
thus support X-forwarding and other features, it’s not implemented at the
moment.
I guess I'll just need to keep a regular ssh session open for rmate…
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MisterTea/EternalTCP/issues/15#issuecomment-285514632,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASuv4tnIiVKg3aOPokOovKXzLRj6FGuks5rkIc7gaJpZM4MYvHU
.

If rmate is just a command, why not use ssh and set up a public/private key so you don't have to type your password?

Oh, I have that, but I would prefer to use ET instead of logging in every time I've lost my connection…
Which text editor do you use, if I may ask? Maybe there's something like rmate for it. It's really hard to go back after trying that ☺.

I use emacs within tmux -CC. I also use atom with remote folders. It uses
SSH with public/private keys so you don't have to enter a password.
On Sat, Mar 11, 2017, 10:46 AM Tuk Bredsdorff<EMAIL_ADDRESS>wrote:

Oh, I have that, but I would prefer to use ET instead of logging in every
time I've lost my connection…
Which text editor do you use, if I may ask? Maybe there's something like
rmate for it. It's really hard to go back after trying that ☺.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MisterTea/EternalTCP/issues/15#issuecomment-285891135,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASuv60PZjnFmJO93ii-ta5W195P0glXks5rkuwggaJpZM4MYvHU
.

So you have some kind of SFTP browser inside Atom?
The cool thing about rmate is that you can open a file in one's local GUI editor from the remote ssh terminal session, just like opening emacs/vi.
It's implemented for Atom here: https://atom.io/packages/remote-atom.
I think it's really wonderful user experience ☺ .

Yeah the remote folder thing in atom automatically reconnects so using it
with et is kind of redundant.
On Sat, Mar 11, 2017, 11:53 AM Tuk Bredsdorff<EMAIL_ADDRESS>wrote:

So you have some kind of SFTP browser inside Atom?
The cool thing about rmate is that you can open a file in one's local GUI
editor from the remote ssh terminal session, just like opening emacs/vi.
It's implemented for Atom here: https://atom.io/packages/remote-atom.
I think it's really wonderful user experience ☺ .
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MisterTea/EternalTCP/issues/15#issuecomment-285895486,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASuvyMT8NUY_YzHYlITZKsZuc5gqmm5ks5rkvvCgaJpZM4MYvHU
.

Ok, maybe I'll look for a similar solution ☺ .

I'm going to close this but feel free to reopen if something comes up

Sure.
One last question though: Can't ET just keep up the ssh connection it establishes? The remote forward does indeed succeed in the first place.

For that to work, someone would have to integrate libssh or openssh into
et.
On Fri, Mar 17, 2017 at 10:06 AM Tuk Bredsdorff<EMAIL_ADDRESS>wrote:

Sure.
One last question though: Can't ET just keep up the ssh connection it
establishes? The remote forward does indeed succeed in the first place.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/MisterTea/EternalTCP/issues/15#issuecomment-287413632,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASuv6n0AXCSF04OCFxKgNMgAfgoGmsQks5rmr2HgaJpZM4MYvHU
.


[wip] CIP68 draft support

The standard has many gaps and issues. Should create a followup PR to the CIP repos.

The current CIP68 is in DRAFT
https://cips.cardano.org/cips/cip68/
There are several issues with the draft:

1 token per UTxO - extremely wasteful for large series
NFTs sent to an unspendable address, will cause the minAda to be lost forever
the format still assumes generic metadata, which won't help smartcontracts
the standard does not specify if the metadata should be inlined or not
since the reference carries the metadata and the tokens can be minted separately
the actual expected format is decided afterwards, when looking up. Which is annoying
for an indexer

Proposed additions:

extend metadata to include multiple tokens as a list or assetclass as key
require inlined metadata
(ensures that it needs to be provided, but adds extra min ada fee)
NFT standard should not require locked ADA (metadata can be provided in redeemer/last spent)
Potentially make a fix set of fields (required and optional) with potential generic addition,
so that the metadata can be easily used from smart contracts


Removing IRC Webhook

Hey @nateabele and @christopherthielen, could you please remove the IRC webhook? People don't like it and I don't think it is of any use. I removed the ui-bootstrap ones and I asked the ng-grid guys to do the same.
Thank you.

Hah, took me a minute to figure out what you were talking about, but I'm pretty sure I removed it just now. Let me know if it's still a problem.


pico-sdk 2 - Not all things build anymore.

This is easy to replicate.

Get the latest pico-sdk
Get the latest from here
Try to build all

I'm guessing this is to do with recent changes to pico-sdk?

Yup already a PR open - https://github.com/pimoroni/pimoroni-pico/pull/980

Ah, Good stuff.
I spent quite a while thinking it was my merge from main into my branch (and the fact git hates me) causing the problems :)


haskellPackages.OrderedBits: set platforms=x86

Description of changes
The package doesn't support non-x86 architectures (aarch64)
Preprocessing library for OrderedBits-<IP_ADDRESS>..
Building library for OrderedBits-<IP_ADDRESS>..
[1 of 1] Compiling Data.Bits.Ordered ( lib/Data/Bits/Ordered.hs, dist/build/Data/Bits/Ordered.o, dist/build/Data/Bits/Ordered.dyn_o )

lib/Data/Bits/Ordered.hs:326:14: error:
    The INLINE pragma for ‘lsb’ lacks an accompanying binding
      (The INLINE pragma must be given where ‘lsb’ is declared)
    |
326 |   {-# Inline lsb  #-}
    |              ^^^

source code at
https://github.com/choener/OrderedBits/blob/master/lib/Data/Bits/Ordered.hs#L316
Should also avoid trying to build PrimitiveArray and other dependent packages on aarch64.
ZHF: #199919
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[X] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I think this is supposed to be in another file, but hopefully the Haskell maintainers can explain that better.


Streamline seed points aren't displaying properly.

I was going through the VisIt dam break tutorial and noticed that the seed points weren't displaying. I also noticed some rendering artifacts that went away when I turned off the display of the seed points.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 2311
Status: Pending
Project: VisIt
Tracker: Bug
Priority: High
Subject: Streamline seed points aren't displaying properly.
Assigned to: -
Category: -
Target version: -
Author: Eric Brugger
Start: 06/25/2015
Due date:
% Done: 0%
Estimated time:
Created: 06/25/2015 11:57 am
Updated: 06/30/2015 06:51 pm
Likelihood: 2 - Rare
Severity: 4 - Crash / Wrong Results
Found in version: 2.9.2
Impact:
Expected Use:
OS: All
Support Group: Any
Description:
I was going through the VisIt dam break tutorial and noticed that the seed points weren't displaying. I also noticed some rendering artifacts that went away when I turned off the display of the seed points.
Comments:
This only seems to be a problem with the dam break dataset. I have since seen lots of streamline plots where the seed points displayed fine.

#4445


Correction to ILL invoice template text

Correction to ILL invoice template text
The word California is misspelled in the ILL invoice template.  Inside the top text box the firs line reads "Make checks payable to: The Regents of the University of Calfifornia"   Can you please correct the last word to read "California" ?  Thank you!

@EncinasIsabel Sure. Thanks for catching it.

Thank you Huawei!

Thank you Huawei!


Feature Request: access to EventLoopGroup

According to documentation, an application should generally have a single EventLoopGroup. Kitura-NIO create its own group and threads, and provides no access. Performance will suffer if every library used creates its own group.
I'd like the options:

To create my own group, and pass it into Kitura.
If a group is not specified and Kitura creates one, n accessor to get that group.

I agree, especially option 1 sounds like a good plan to me. In async-http-client for example there’s the EventLoopGroupProvider type to do this.

Sounds reasonable to me. We'd be deviating from the Kitura-net API, but I assume that developers who want to use NIO's types may not really consider switching over to Kitura-net.
Your thoughts @djones6 ?

I think that deviation from Kitura-net is okay in this instance.  As long as the expectation is clear that the application is then tightly coupled to Kitura-NIO, I don't see a problem with providing additional features such as this.

Hi @mlilback, PR #225 adds this feature.


Second episode using same seed as the first

https://github.com/deepmind/meltingpot/commit/449ac8b083c5bbb0d338404e7094d63c00beb5e3 introduced a bug where the random seed was not updated after the first episode. This means that there was incorrect randomization and second episode was the same as the first episode.

Fixed in 976465ae0473051cf4bd63965708328da51c6863


Api calibrate bottom

overview
This pull request gives users the ability to calibrate to the bottom of a container by setting a feature flag called 'CALIBRATE_BOTTOM' to 1.
changelog

Gives users the ability to calibrate to the bottom of a container
Fixes some tuberack definitions that did not contain a 'Z' value offset and also had incorrect depth values.
Adds a feature flag called 'CALIBRATE_BOTTOM' so that a user can toggle between calibrating to the top or to the bottom.

Breaking Changes

Deletes the 'calibrator.py' file and any tests/residual references as it is no longer used in the code base.

review requests

🍥 Looks good, pending CI


"An error occurred" while authentication

I tried to sign in with my github account using vscode on the vscode.dev website, and when I click Continue to my github account, it says I will be redirected, and a callback site that says Visual Studio Code shows Loading... for a moment and then An error occurred. The sign in doesn't proceed at all. I've been using it fine for a while and suddenly discovered this issue today. Is there a solution? I've already tried revoking vscode oauth and remote tunnel access on my github account and deleting them and retrying several times.

Thanks.
Version: 1.92.2
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: vscode.dev

i am same issue today, may be error occurs with vscode microsoft / github extension authentication not found with vscode.dev (website). Take note: using still vscode app normally with remote tunnel. Please check. Thanks

I've tried in windows too but resulted in same issue.

the authentication extension has probably worked back on website today.

Duplicate of https://github.com/microsoft/vscode/issues/226700

Merging with #226700
@jiwonz @badien Can you still reproduce?

Merging with #226700
@jiwonz @badien Can you still reproduce?

Sorry for late replying, This just got fixed 2 days ago.


Add bootrr-auto.sh

Suitable for run bootrr automatically at init, in this case
after log into the systemd via profile.d.
Signed-off-by: Aníbal Limón<EMAIL_ADDRESS>

@ndechesne @andersson Related to https://github.com/ndechesne/meta-qcom/pull/92

@alimon Since #21 has been merged, this should either be refactored to add the feature in /etc/profile.d/ or dropped if the current solution is good enough.


Elfie usability

Breaking: Changing PartialArray from struct to class to fix bugs. If code paths are calling PartialArray members without initializing it, they'll start throwing. I fixed on instance of this in String8Set. I don't see any others and all tests pass.

Consolidating on Verify.RoundTrip (removing near-duplicate).

Adding BaseItemSet to simplify writing Elfie-based data structures.

Defining IColumn for BaseItemSet to use.

Implementing IColumn from PartialArray and ItemMap.

Adding String8Column for simpler use of string properties.

Making DateTime to long conversion methods more discoverable.

Updating SampleElfieStructure to show the (optional) new design model. 90 lines to 30 lines of code.

@jinujoseph @rtaket @hankhoek FYI - Reviewed in person by Ryley.


Cannot create property 'guid' on string ':not(.bootstrap-select)

Hello everyone,
when i fire bootstrap select up, i get the following error message

As well as this happening

Couldnt find anything regarding this error.
The code is simple

I couldnt find anything related to that problem on the internet.
Maybe someone here knows whats up
Bootstrap: 4.6.1
JQuery: 3.6.0
bootstrap-select: 1.14

Create an isolated and reproducible test case. Create a reduced test
case and include a link to a live example. Use this Plunker debugging template to share your isolated test cases.

Im not able to do that :L

I couldnt find anything related to that problem on the internet.

Might want to improve your google-fu then ;)
https://stackoverflow.com/questions/52828241/uncaught-typeerror-cannot-create-property-guid-on-string
Try with the version from git but I believe it's an issue related to your environment and not the lib, so I'll close this issue but feel free to comment with your findings and I'll reopen if it turns out to be a bug in this lib.


Update README.md

change dataSource to datasource

Well, that's actually how it should be spelled. :)
datasource is deprecated in favor of dataSource since 0.4.0, which is about to be released soon. I'll create specific branches for specific releases once Instructions reaches 1.0.0, to avoid out-of-sync READMEs.

But right now the readme points to 0.4 and that's not the name there
Just saying it got me confused when first used it


not an issue but a general question

Hi,
In our project we are currently having issues with the asssembly of long repetitive regions of the genome and we would like to know if your approach (centroflye) would work on repetitive regions others then centromers.
If this is the case I would appreciate if you could explain to me how to make the reference file necessary for running centrofly.
We have long (Nanopore) reads.
Thanks,
j.

Hi,
Sorry, for the long response. Currently centroFlye only works with human centromeres. I would suggest contacting Mikhail Kolmogorov - the main developer of Flye assember in Pevzner's lab. Maybe Flye will work out-of-box for you.
Andrey


Push with UINavigationController

Hello,
I am using this library and I have trouble with PUSH ViewController.
Could you please help me to suggest how to use this lib with UINavigationController ?
Thanks

Hi. Thank you feedback.
you can use together.
But  If you enable the left menu when Viewcontroller you push, It is not recommended because the standard pop gesture suffers.

Are u embedding navigation controller to left menu controller?No,u can't.I tried once.You can also try by navigating to other view using this code in left view controller,Like,Java,C++ Menu

There, it is embedded the navigationcontroller to the left of the view? You had better transition to embed navigationcontroller to main.

yeah it was true.Thanks dekatotoro


Issue compiling latest - with arm64-v8a macOS

Not sure it's worked before
NDK 23.1.7779620
export HOST_TAG=darwin-x86_64
export MIN_SDK_VERSION=21
export CFLAGS="-Os"
export LDFLAGS="-Wl,-Bsymbolic"
macBook M1x
openssl-curl-android-master % ./my-build.sh
./build-openssl.sh: line 28: ./Configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install_sw'.  Stop.
make: *** No rule to make target `clean'.  Stop.
./build-openssl.sh: line 50: ./Configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install_sw'.  Stop.
make: *** No rule to make target `clean'.  Stop.
cp: /Users/~/Downloads/openssl-curl-android-master/openssl/build/armeabi-v7a: No such file or directory
./build-openssl.sh: line 71: ./Configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install_sw'.  Stop.
make: *** No rule to make target `clean'.  Stop.
cp: /Users/~/Downloads/openssl-curl-android-master/openssl/build/x86: No such file or directory
./build-openssl.sh: line 92: ./Configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install_sw'.  Stop.
make: *** No rule to make target `clean'.  Stop.
cp: /Users/~/Downloads/openssl-curl-android-master/openssl/build/x86_64: No such file or directory
./build-curl.sh: line 20: autoreconf: command not found
./build-curl.sh: line 34: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
make: *** No rule to make target `clean'.  Stop.

Did you run git submodule update --init --recursive to pull the openssl repo?

It seems need all these dependancies in order to compile:
brew install autoconf automake libtool berkeley-db4 pkg-config openssl boost boost-build libevent

autoconf compile issues it looked like


return when _devices is empty

Original report by Lucas Neumann (Bitbucket: fiakergulaschsaft, ).

I’m using fauxmo in my project and I’m calling the handle() function no matter whether there are any devices registered in my project for alexa or not. instead I’m globally enabling/disabling alexa-support (fauxmo).
this might be a quite special case but I think it would be good to just return if the _devices vector is empty instead of doing pointless stuff in the code. in my case, the _devices vector was empty and the esp8266 gave me a exception(28) error everytime when alexa was searching for new devices.
i have to admit however, that I’m using a heavily modified version of your code where I have merged the belkin emulation into a current version of fauxmoesp (nasty stuff) because the hue emulation suddenly stopped working a while ago.
nonetheless, I think my fix might be beneficial anyways, even for your code because i think that it is just pointless to do stuff and waste cycles when there is nothing to do anyway.
all the best

I think all of the places where this could be an issue have a check in them. Let me know if there's any lingering still....

I think all of the places where this could be an issue have a check in them. Let me know if there's any lingering still....


Rename to /IACCEPTPYTHONLICENSETERMS

The correct name of this argument is /IACCEPTPYTHONLICENSETERMS as rightly noted in the comments. Besides, https://docs.microsoft.com/en-us/sql/advanced-analytics/install/sql-ml-component-commandline-install?view=sql-server-2017 shows the correct name

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

LGTM but I'm not the author, so we'll wait for MashaMSFT

Hi @Aniruddh25, thank you so much for your contribution! Your correction is accurate. Thank  you for catching this :) #sign-off


toggle window history

Description
I have seen
bind= ALT, Tab, workspace, m+1        # next workspace
bind= ALT Shift, Tab, workspace, m-1  # previous workspace

recently, and this works nicely.
And it would be nice, however, to have
bind= ALT, Tab, workspace, h-1         # back in history
bind= ALT Shift, Tab, workspace, h+1   # forward

to toggle the history of workspaces back- and forth, or
bind= ALT, Tab, window, h+1            # window history
bind= ALT Shift, Tab, window, h-1

for windows.
Why is it important? Because alt+tab can be comfortably run with one, the left hand only. This is often better than regular window or workspace switching keybinds.

not sure if there's a forward, but there's going back in history: workspace, previous

Yes, true; there is even focuscurrentorlast, which is often better.
But they all have limited functionality. Unfortunately, they discard and ignore the history except the very last workspace/ window.

hyprswitch solves the Alt-Tab problem.


Pushover support for carbsReq and insulinReq notifications

Most significant changes in this PR, in order of appearance in the diff:

oref0-online updates for stability
oref0-set-device-clocks if pump clock is >1m off
oref0-set-system-clock if determine-basal complains it's set incorrectly
support for oref1 pushover alerts of insulinReq and carbsReq
allow non-SMB code paths to set temps up to 120 minutes when needed
allow non-zero temps in SMB mode when lastCOBpredBG > target_bg
don't SMB if basal is < 0.3 U/hr (if 0.1U SMB represents >20m of basal)

Anything else we need here before merging this to dev?

 Also please wait for us to get some prelim testing instructions/notes up somewhere before talking about this  more broadly/asking others to test.

Just installed, and it's working well.  Put in on several rigs without issues.  One small typo that I haven't gone through to look for yet is in the reason field.  Missing a space between target BG and the time left on temp basal.  for example IOBpredBG 69; Eventual BG 71 < 9025m left and 0 ~ req 0U/hr  haven't configured any pushover/ifttt yet until i figure the body texts

Just installed, and it's working well. Put in on several rigs without issues. One small typo that I haven't gone through to look for yet is in the reason field. Missing a space between target BG and the time left on temp basal. for example IOBpredBG 69; Eventual BG 71 < 9025m left and 0 ~ req 0U/hr haven't configured any pushover/ifttt yet until i figure the body texts

Can confirm that I've been running the pushover details for a week or so and those aspects work as expected (i.e. Very well)

I've been running an installation of this branch this evening with no problems so far.  Am I correct that to enable the pushover function I need to re-run the script and append -pu=  and -pt=  and insert my pushover user and token respectively?  Have I missed anything else I need to do to enable the pushover capability?

That should be it.

I guess the question is what you're trying to achieve. You either have a script that generates an information file  (which is the basis of what jq is doing - I use it similarly  to create an HTML file) that you then implement a second mechanism for notification dependent on what you want to use, i.e. Pushover, Pancreabble, some other local push mechanism to a watch, etc and keep the two separate, which I think is what you're describing.
Alternatively you can tie the data creation into the mechanism that you are using to create the notification so that the structure fits the data structure requirement of your mechanism.
I think either works, and for now this should be left as is with a new feature request based off it to allow the first mechanism I described to be built. What do you think?

Can confirm also running on Raspberry Pi3 with TI stick, autotune and microbolus and autosens enabled.  No problems.

Just pushed a potential fix for the oref0-online stuff.  If anyone's feeling adventurous, feel free to pull it and test.  I haven't put it on any of our rigs yet, as I'm about to get on a plane and won't be  with them for a bit.

Installed and in test.

New oref0-online installed this morning. Went through the same routine as yesterday. This time connectivity has been maintained throughout, so the fixes seem to work.

The install that I did on Raspberry Pi with Autotune ran last night, but it only pulled Nightscout data for 1 day.  Is that normal for a first run?  Sorry, I don't usually run Autotune as part of my loop so don't know what to expect for behavior.  Not surprisingly it made no recommendations for changes.

The oref0-online script seems to be working well now, so I think we're about ready to merge this.  @danamlewis also wanted to write up something for the docs to describe the pushover feature, what to expect, and discourage people from blindly bolusing off the recommendation.

I added some notes about Pushover usage with SMB to the draft docs we've got going around oref1 (so not merged, but you can see them via https://github.com/openaps/docs/blob/ea422e7fc70bc810737d5225c495cfa524ecc767/docs/docs/walkthrough/phase-4/oref1-features.md#pushover-smb-and-openaps), so I am +1'ing on top of the other comments we've gotten on Gitter about this being ready for merging to dev.


New version: 360.360SE version 15.3.5126.64

Created by 🥟 Dumplings in workflow run #7368.

Log
Updated: 15.3.5124.64 → 15.3.5126.64
No ReleaseTime and ReleaseNotes (zh-CN) for version 15.3.5126.64
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run


Bug Report: FlxMouseEventManager doesnt work on codename

[X] Windows
[ ] Linux
[ ] Mac
i've been using FlxMouseEventManager in psych engine a lot of time and it works always but when i try it in codename it just doesnt detect or go into the functions i want.
does anybody know why?

I haven't used FlxMouseEventManager that much, so I cannot give you an answer, but here is a solution:
FlxG.mouse.overlaps(SprOrGrp:FlxBasic, ?Camera:Null<FlxCamera>) : Bool
FlxG.mouse.justPressed(get, never) : Bool

like:
override function update(elapsed:Float){
    super.update(elapsed);

    if(FlxG.mouse.overlaps(spr, /*If the sprite in question is using a camera, put it here.*/)){
        if(FlxG.mouse.justPressed){
            // justPressedCode
        }
        // selectedCode
    } else {
       // nonSelectedCode
    }
}

ty but the reason i really need the FlxMouserEventManager to work is because so when i hover(overlaps) a object(spr) it plays the scroll sound.
when i try it with the normal FlxG.mouse.overlaps(spr) its looped until i un-hover.

var hasSoundPlayed:Bool = false;

override function update(elapsed:Float){
    super.update(elapsed);

    if(FlxG.mouse.overlaps(/* Sprite u wanna click */, /*If the sprite in question is using a camera, put it here.*/)){ // Selected
        if(!hasSoundPlayed){
            // Plays the sound once
            FlxG.sound.play(/*soundPath*/);
            hasSoundPlayed = true;
        }
        if(FlxG.mouse.justPressed){
            // justPressedCode
        }
        // selectedCode
    } else { // Not Selected
       hasSoundPlayed = false;
       // nonSelectedCode
    }
}

I'm half asleep, so if it doesn't work, put the hasSoundPlayed variable inside the update function.

99% sure the reason why its broken in CNE is because the Flixel branch they custom made for CNE was outdated (This i know because of a UIState bug that pissed me off :sob:) and It works in original YoshiCrafterEngine, and very old (like first 100 commits) CNE because it was using updated Flixel branch.
@NeeEoo might want to check flixel branch and see why FlxMouseEventManager doesn't actually work. Don't know the reason but if I remember, FlxMouseEventManager imports don't work, and i think FlxMouseEventManager.add is null or smth.

99% sure the reason why its broken in CNE is because the Flixel branch they custom made for CNE was outdated (This i know because of a UIState bug that pissed me off 😭) and It works in original YoshiCrafterEngine, and very old (like first 100 commits) CNE because it was using updated Flixel branch.
@NeeEoo might want to check flixel branch and see why FlxMouseEventManager doesn't actually work. Don't know the reason but if I remember, FlxMouseEventManager imports don't work, and i think FlxMouseEventManager.add is null or smth.

oh i forgot they use a custom one


[elasticsearch] add value to disable service

Hey guys,
right now it is not possible to completely disable the service but the service is not required if the helm chart is deployed to a cluster with a service mesh (consul, istio, etc.).

[x] Chart version not bumped (the versions are all bumped and released at the same time)
[ ] README.md updated with any new values or changes
[ ] Updated template tests in ${CHART}/tests/*.py
[ ] Updated integration tests in ${CHART}/examples/*/test/goss.yaml

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

jenkins test this please

will need to be rebased after https://github.com/elastic/helm-charts/pull/1141 merge to fix tests

@jmlrt Thanks for the review! I added the new value to the README and will rebase the branch if required

jenkins test this please

@jmlrt Thanks for rebasing the branch. I added a test to check if disabling the service works as expected if service.enabled is set to false. Also I noticed that the commit message was somehow overwritten I updated the commit to have the original message, I hope thats fine

Thanks for rebasing the branch. I added a test to check if disabling the service works as expected if service.enabled is set to false.

👍🏻

Also I noticed that the commit message was somehow overwritten I updated the commit to have the original message, I hope thats fine

Yes, sorry I messed it a bit while rebasing...

jenkins test this please


Verify image was produced by a trusted task

Ref: EC-253

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d4f9060) 100.00% compared to head (e3d9885) 100.00%.

Additional details and impacted files

@@            Coverage Diff            @@
##              main      #839   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           91        91
  Lines         4095      4137   +42
=========================================
+ Hits          4095      4137   +42

Files
Coverage Δ

policy/release/slsa_build_scripted_build.rego
100.00% <100.00%> (ø)

policy/release/slsa_build_scripted_build_test.rego
100.00% <100.00%> (ø)


Tracing without performance

:scroll: Description
Implement tracing without performance, more context in the referenced issue.
:bulb: Motivation and Context
https://github.com/getsentry/sentry-dart/issues/1541
:green_heart: How did you test it?
Unit tests
:pencil: Checklist

[ ] I reviewed submitted code
[ ] I added tests to verify changes
[ ] No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
[ ] I updated the docs if needed
[ ] All tests passing
[ ] No breaking changes

:crystal_ball: Next steps

Looking good! I think there's one missing part though: New trace headers need to be generated whenever a new transaction is started, but performance is disabled.
Basically turning existing constructs like
if (performanceEnabled) {
  startNewTransaction();
}

into
if (performanceEnabled) {
  startNewTransaction();
} else {
  startNewTrace();
}

E.g. see this one: https://github.com/getsentry/sentry-java/blob/9e60fc1fe6e17eaf16620e62eff24459aeec2505/sentry-android-core/src/main/java/io/sentry/android/core/ActivityLifecycleIntegration.java#L178-L184

Looking good! I think there's one missing part though: New trace headers need to be generated whenever a new transaction is started, but performance is disabled.

I don't think we should create a new tracer every time, but one for the entire session.
Also, this is missing the propagation of the trace for http requests. Are you planning to create a new PR for this?

I've added the propagation for http requests, pls lmk if those make sense

I've added the propagation for http requests, pls lmk if those make sense

Yeap. Looks good.

@denrase if you have some time maybe good if you had a look at this to be in the loop :)


feat(expr): support array_cat function and || operator for arrays

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?

Add array_cat function
Convert || with at least one array operand into array_cat function

Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
Types of user-facing changes

SQL commands, functions, and operators

Release note

Support array_cat function and array concatenation using ||

Refer to a related PR or issue link (optional)
#4998

Hi, everyone! I pushed some new commits to add array_prepend and array_append. Now our behavior is very similar to PG, but still has some differences that can't be fixed. One example is:
select array_cat(array[123], null::int[][]);

PG returns array[123] for the above SQL, however, we save element type in List type and have to infer the return type in frontend, hence can't return array[123] once we decide it's array_cat(int[], int[][]).
Other changes considered everyone's advice. Please feel free the add any further review comments.😃

A quick summary for things that should implement later:

Check the dimension of arrays when concatenate multidimensional arrays. link to comment
Allow concatenating arrays with compatible types, e.g. array[1.1] || array[1]. link to comment
Decide whether we should have exact the same strange behavior as PG. link to comment


Replace depreciated functionalities

The following methods are depreciated and need to be replaced with the new equivalents:

[ ] AsyncTask.execute.
[ ] Solve depreciation warnings inside Activity.enterFullScreen and Activity.exitFullScreen extended methods.
[ ] String.toUpperCase at utils package.
[ ] Gradle's kotlin-android-extensions.

This was fixed on some past commits. At least most of it (that gradle issue is too complicated).


Update StreamingJobGraphGenerator.java

[FLINK-Streaming-java]  update  StreamingJobGraphGenerator.java#L173 Notes

What is the purpose of the change
(For example: This pull request makes task deployment go through the blob server, rather than through RPC. That way we avoid re-transferring them on each deployment (during recovery).)
Brief change log
(for example:)

The TaskInfo is stored in the blob store on job creation time as a persistent artifact
Deployments RPC transmits only the blob storage reference
TaskManagers retrieve the TaskInfo from the blob cache

Verifying this change
Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (100MB)
Extended integration test for recovery after master (JobManager) failure
Added test that validates that TaskInfo is transferred only once across recoveries
Manually verified the change by running a 4 node cluster with 2 JobManagers and 4 TaskManagers, a stateful streaming program, and killing one JobManager and two TaskManagers during the execution, verifying that recovery happens correctly.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

This is not a typo: https://en.wikipedia.org/wiki/If_and_only_if

This is not a typo: https://en.wikipedia.org/wiki/If_and_only_if

@twalthr Thank you for your reply, I will read this https://en.wikipedia.org/wiki/If_and_only_if.


feat: Support longer application names

Closes #1182

Sorry for the late feedback.
Yes, out-of-the-box ArgoCD has issues with application names > 63 chars:
`
However, if the tracking method is changed e.g. if we use in the Helm chart:
configs:
  cm:
    application.resourceTrackingMethod: annotation+label

or annotation
configs:
  cm:
    application.resourceTrackingMethod: annotation

we do not get this issue.


How to customize command.sh

I want to create command.sh by given parameter.Any documentation for how to create command.sh

The command parameter in the POST to /job is simply the system command you want to run.

thanks you @ajvb, I solved my problem


Issue#446 fixed. Updated the about us page responsiveness.

Description
A clear and concise description of what the PR does.

This PR does the following:

Adds better responsiveness to the about us page

Related Issues
Link any related issues using the format Fixes #issue_number.
This helps to automatically close related issues when the PR is merged.

Placeholder: "Fixes #446"

Changes
List the detailed changes made in this PR.

Fixed a bug in the responsive design of the about us page

Testing Instructions
Detailed instructions on how to test the changes. Include any setup needed and specific test cases.

Pull this branch.
Run npm install to install dependencies.
Run npm test to execute the test suite.
Verify that ...

Screenshots (if applicable)
Add any screenshots that help explain or visualize the changes.

Additional Context
Any additional context or information that reviewers should be aware of.

This PR is based on the following...

Checklist
Make sure to check off all the items before submitting. Mark with [x] if done.

[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I am working on this issue under GSSOC

@ParnaRoyChowdhury777 do it for certain size only don't change the main design.

@ParnaRoyChowdhury777 do it for certain size only don't change the main design.

Please check once and tell me the changes.


TypeError: TronWeb is not a constructor

i am getting this issue

TypeError: TronWeb is not a constructor
at Object. (D:\nodeprojects\index.js:3:17)
at Module._compile (node:internal/modules/cjs/loader:1368:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1426:10)
at Module.load (node:internal/modules/cjs/loader:1205:32)
at Module._load (node:internal/modules/cjs/loader:1021:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)
at node:internal/main/run_main_module:28:49

in my index.js file looks like this
const TronWeb = require('tronweb');

const tronWeb = new TronWeb({
  fullHost: 'https://api.trongrid.io',
  headers: { 'TRON-PRO-API-KEY': 'your api key' },
  privateKey: 'your private key'
});

It seems like you are using tronweb@6, please use const { TronWeb } = require('tronweb'). To know more, read migration guide.

It seems like you are using tronweb@6, please use const { TronWeb } = require('tronweb'). To know more, read migration guide.
Your answer solved my problem, thank you


Fix typos in generate_presigned_post docstring

Fix misspellings + made documented argument capitalization consistent with actual code

Current coverage is 97.32% (diff: 100%)

Merging #1009 into develop will not change coverage

@@            develop      #1009   diff @@
==========================================
  Files            44         44
  Lines          7140       7140
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           6949       6949
  Misses          191        191
  Partials          0          0

Powered by Codecov. Last update 385420c...502b511

Thanks!


Pin package versions in requirements.txt

... to stay robust against changing dependencies
Related to #362

This is now causing problems because I'm unable to even do:
target_datasource = compatible_datasources.loc[compatible_datasources['name'] == 'data-003']
load_dataset(target_datasource.url.item())
data_config.airport().to_dask()
```

which might be an issue with xarray or dask

I'm not able to reproduce a problem with a fresh install of the latest PyPI version (assuming your second line begins data_config = ...), but I do have to manually install scikit-image - could that be related to your problem?

I'm not able to reproduce a problem with a fresh install of the latest PyPI version (assuming your second line begins data_config = ...), but I do have to manually install scikit-image - could that be related to your problem?

Me too now, I've tried installing the latest from PyPI or GitHub and the error is gone either way. Perhaps there was briefly an error introduced in a latest release of xarray or intake_xarray that was subsequently fixed? Either way, now is a good time to pin package versions.


Dynamic values for side menu

I need to display dynamic values for side menu.how can i achieve this.

Sorry for being late on the reply.
What did you mean about dynamic values? The lib enables an ability on refreshing the menu with a new list of items: sideMenu.refreshMenu(items)
This's what you're looking for?
Give me more details if not.
Thanks for your attention.

Close the thread because of lack of activities


DryIoc sample throws runtime exception

Running the DryIoc samples results in the following
System.InvalidOperationException: 'No service for type 'MediatR.IMediator' has been registered.'

The addition of the second constructor in https://github.com/jbogard/MediatR/commit/838a8e12b62ee95f2f1caa503d282a8d9bce6047 breaks the default DryIoc container. It doesn't resolve classes with multiple ctors by default.
I have submitted a PR to fix this.

See #881


added some more questions

this is amazing @Tamanna-S
thanks for the contribution in my repo and please share in social media and tag me on twitter


Design and purchase swag for Design System Day 2022

What
Purchase swag for attendees of Design System Day 2022, now we have spending approval.
Continues from #2167.
Why
So we can give attendees something following the event.
Who needs to work on this
Designers
Done when

[x] Decided on what items we're including
[x] Designs produced for each item (where applicable)
[x] Items have been ordered
[ ] Items have been received for distribution

Need to order A5 flyers without date and get them sent to distributor


As an Admin, I want to be able to edit the text that will appear in the survey block for each status of the engagement

MA UX review:

Text must be formatted like the content block and use the gov standard sizes:
h2 font-size: 1.9rem
body/p font-size: 16px, line-height: 1.5

The generic or edited text in the survey block is not changing with the status. It always displays the "open" text (and there is a period missing at the end of the last sentence when published even though the period is in the block.)

So even if the engagement is upcoming or closed, it is the generic text from the open section that shows.
I wasn't able to see the text I edited for each status.

As an Admin, I want to be able to edit the text that will appear in the survey block for each status of the engagement.
##Scenario 1##
Admin is on the create/Edit Engagement page, sees a pre-populated content section in the survey block.
Text area has three tabs: Upcoming, Open, Closed
Each tab has editable pre-populated text for each status of the engagement.
##Scenario 2##
Upcoming tab (Content will show from the time Engagement is published until Engagement is open)
Content (editable):
Header (h2): Let us know what you think!
(p): We would like to hear from you about this project and how it could affect you and your environment. Please fill in our short survey and leave a comment during the engagement period.
##Scenario 3##
Open tab (Content will show while Engagement is open.)
Content (editable):
Header (h2): Let us know what you think!
(p):We would like to hear from you about this project and how it could affect you and your environment. Please fill in our short survey and leave a comment. Survey takes 3-5min to complete.
Button: Take me to the Survey
##Scenario 4##
Closed tab (Content will show after Engagement is over.)
Content (editable):
Header (h2): We heard you
(p): The engagement period is now over. You can view the survey comments anytime and view the survey results by clicking the button below.
Button: Read all Comments
https://xd.adobe.com/view/65ea110d-ea8c-496c-919b-10e890cdea9e-30b9/screen/f766db03-1ff2-49fd-9814-83bc063be010/
https://xd.adobe.com/view/65ea110d-ea8c-496c-919b-10e890cdea9e-30b9/screen/f944cc55-4e87-41dc-973b-6d7a1b7e7218/

Hey team! Please add your planning poker estimate with Zenhub @carlygreenehill @djnunez-aot @jadmsaadaot @marieanik @saravanpa-aot @VineetBala-AOT

When switching tabs in the survey block the "state"/changes are lost, they must be kept until we hit update/save


Allow partial write to RowContainer's row

Description
The typical usage of RowContainer has been like the following:

request a new row via newRow()
write every field via store() and some reading
return row via eraseRow() or reuse it via initializeRow(reuse=true)

However, if the user don't write all the fields of the row, it might cause the issue for the row containing variable width fields: eraseRow() and initializeRow(reuse=true) frees variable width fields, if those fields are uninitialized, HashStringAllocator will try to free some random memory.
Motivation

If the user don't write all the fields of the row

This use case comes from https://github.com/facebookincubator/velox/pull/7172, where I tried to optimize TopN . The optimization delays the copying of non-key fields into RowContainer until the passed rows of a batch of input are confirmed, that is, for each input row that is bigger than current N-biggest rows, store its key fields into a row in RowContainer, this row might be a new row if there hasn't been enough N-biggest rows, or a row that's being replaced by the input row(via initializeRow(reuse=true)). After all the input has been processed, store the rest non-key fields of the passed rows into RowContainer.
Current Status
https://github.com/facebookincubator/velox/pull/7299 addressed part of the problem by always zero-out variable width fields when freeing them. But since new rows coming from newRow() are uninitialized, if the user eraseRow() or initializeRow(reuse=true) a new row without writing to its variable width fields, it still causes the problem.
Proposal

Unfavored one: Enable checkFree_ in RowContainer: With this flag enabled, RowContainer always zero-out fields at newRow, intializeRow and eraseRow. But this will cause unneeded overhead to current code that has the typical usage(write all fields) of RowContainer.
Extend newRow, intializeRow to allow partial-write. That is, add a parameter(default to false) to these function that informs the row is/will be partial-write, so that:

initialzeRow(row, reuse, zeroOut) zero-out variable width fields.
newRow(initialize) passes the flag through to initialzeRow.

cc @mbasmanova @xiaoxmeng

@usurai Thank you for the detailed description of the problem and possible solutions.
I assume we would like to have a way to trigger this code when initializing new row.
  } else if (rowSizeOffset_ != 0 && checkFree_) {
    // zero out string views so that clear() will not hit uninited data. The
    // fastest way is to set the whole row to 0.
    ::memset(row, 0, fixedRowSize_);
  }

Having 2 boolean flags in initializeRow might be a bit hard on the reader (difficult to tell which is which). Would it work to have a separate method to zero-out variable-width fields in the row?

@mbasmanova Great suggestion. Then the partial-write user will only need to invoke the added method before writing.
While adding the new method, I think we should also revert the behavior of initializeRow(reuse = true), that is, don't zero out variable width fields. Will this cause some confusion? E.g. initializeRow returns row that is uninitialized(in terms of fields).
initializeRow serves the following functions:

Reset metadata(null bits, row size, free flag).
If reuse, free external memory and aggregates.
If not reuse and checkFree(which is always false) and contains variable width fields, zero out all fields.

How about splitting initializeRow into two methods:

resetMetadata(or something like this): Reset null bits, row size, free flag.
prepareForReuse: resetMetadata + free external memory and aggregates.

Plus the newly added zeroOutVariableWidthFields.

@usurai This could work. I wonder why can't we always zero-out the row in initializeRow. Would an extra memset make any noticeable difference?
::memset(row, 0, fixedRowSize_);

I guess the difference would not be noticeable, but for most case the memset could be omitted(since all the RowContainer users have been using unintialized rows and doing well).
I think this(splitting and adding new method) adds some complexity but also provides the user more control.

I'm a bit considered about increased complexity. Would it be possible to keep initializeRow as is and document that it leaves variable-width rows uninitialized and the caller is responsible to either write these using store() or call the new initializeVariableWidthFields() to zero these out? Alternatively, I'd consider zeroing out variable width fields by default. This is simple and no visible perf impact.

Got it. I implemented the first option https://github.com/facebookincubator/velox/pull/7383. Please take a look, thanks!


Hedgehog testing of pioneers exercise 1

Tests the building of payment and stake addresses as described in pioneers exercise 1. The test failures leverage optparse-applicative errors.

bors merge


1D CNN Baseline

A 1D CNN baseline model using keras. The model architecture is inspired by alexnet. The following is the backtest report：

A 1D CNN baseline model

Hello,  @chn489 ,  thanks for your contribution!
Please fix the Error reported by CI
Can you follow the instructions  https://github.com/microsoft/qlib/pull/1088 to make the PR complete?

Hello, @chn489 , thanks for your contribution! Please fix the Error reported by CI Can you follow the instructions #1088 to make the PR complete?

I'm sorry, this is my first pull request so I have no experience. I will try to fix these errors and follow the instructions.


cloudflare.StaticSite does not work

I believe this is related to 1044 but this also happens with sst deploy. Not sure when this issue was introduced, but I noticed a while back the react dev build was included in my cloudflare worker, despite me having:
define: {
  "process.env.NODE_ENV": "'production'"
}

In the build.esbuild of my worker.
In the output artefact, I can see that process.env.NODE_ENV isn't replaced at all. In a separate app, I tried to create a cloudflare static site, but that never worked, failing with the following error:
"exceptions": [
  {
    "stack": "    at respond (worker.mjs:50:7)\n    at fetch (worker.mjs:15:38)",
    "name": "ReferenceError",
    "message": "SST_ASSET_MANIFEST is not defined",
    "timestamp":<PHONE_NUMBER>262
  }
]

Inspecting the source code, I can see that SST_ASSET_MANIFEST is also supposed to be replaced with the actual manifest JSON using define, so I can only assume these two things broke at the same time.
Here's a reproduction repo; after running sst deploy, you'll still see unreplaced process.env.NODE_ENV in the output artifact of the worker and unreplaced SST_ASSET_MANIFEST in the web router output file. Trying to access the url of the static site takes you to an error page and inspecting the logs will show the same error as above.

Tried again on latest (3.3.13) and it's still broken. I'm pretty sure all of the cloudflare web components use esbuild define so I'd assume they're all broken too? Downgraded  to 3.0.124, the version before the bundling was moved to go, and it works; tryied 3.0.125 and it's broken. Seems this commit broke it.

Can you tell us approximately when that will happen?
Thanks!


.net core 2.0 hosting iis is very very slow on high traffic

I use jmeter as a test tool，if my site hosting iis ,200 concurrent，per second 20+，but not use iis per second 300+.
Who can tell me why?
Many thanks

@sebastienros

Just to be sure I understand the problem, you are hosting your website on Windows, and you tried with IIS and without IIS (Kestrel only). And you see a worse performance with IIS?
Can you be more specific about the numbers you get, what is the unit of "20+" and "200+"

Forgive me please,my english is so bad.
I create a default project with visual studio 2017.Write some code

I use ab test.It's my result.
with IIS

without IIS (Kestrel only)

Is this production code? Check your use of httpclient maybe.

@dallancarr
I also found httpclient has problem,but i can't solve.

Do you have the same issue is you remove the call to HttpClient and just use a constant text value instead?

If i  remove the call to HttpClient and the performance is ok.

That should work. Just don't new it up in the controller or lazy load it. There are certain patterns of use around this object which have come to love recently.

The issue is that asp.net core module in IIS doesn't forward calls faster to the application. Any idea?

We're closing this issue as no response or updates have been provided in a timely manner and we have been unable to reproduce it. If you have more details and are encountering this issue please add a new reply and re-open the issue.


Request: Add throttle settings to configurator

Request to add throttle settings to configurator. Allowing pilots to change throttle settings per quad will allow pilots to use a single model on the radio.

Firmware issue, transfering the ticket


Agent does not detect the Xamarin.Android capability with Xamarin.Android 6.2 (OS X)

If you install Xamarin.Android 6.2 or higher (currently in the Xamarin Beta release channel), the VSTS agent will fail to detect the Xamarin.Android capability.
Fixed by #550

Fixed by #550


Update LICENSE

Update license text per request from legal

Coverage remained the same at 79.597% when pulling 9e5e229e7d2c708c2498a4d291a500e995375b09 on update-license into a9f61c413572fc88e7a43608adb2905d5f1ee823 on master.


Service manual feedback - Search functionality

Hello!
Love the service manual, but the search functionality is awful. I wanted to search for sections on Main Points but it told be there was no results (despite then finding a whole section on pain points within the Articles Content Type section)
Jo
Jo Maimaris (she/her) | Senior Statistical Officer | Demography | Population Statistics Directorate | Office for National Statistics | Swyddfa Ystadegau Gwladol
+44 (0)1329 447355 |<EMAIL_ADDRESS>| www.ons.gov.uk | @ONS

This will need some user research before even thinking about technical implementation. Once we know how the users would like to search and find articles/content within the service manual we can suggest the best technical approach.

I have added a ticket to the C&I UCD Centralised board so we hopefully can get some UR help

Ticket is on the UCD board.
Recent feedback from users re. the search functionality (via meetings):

users prefer to use the search function to find things rather than click through the taxonomy
users can't always find what they are looking for
users can't find something if they are not in that part of the SM website

Is it possible that they are searching for a specific variant and therefore unable to find it? I have not been able to recreate the behaviour of not being able to find something e.g. a component if I am in another part of the SM e.g. brand guidelines.
There is no feedback in the recent survey that mentions the search functionality.

Alessio has developed an interim fix for this issue by allowing search to work at a fourth level. We still need to complete UR for the search functionality and make any further improvements.

This issue is currently parked on the UCD Board.


fix: Do not use ID filter if empty id array is passed

1. Why is this change necessary?
Currently you can create a Criteria with an empty array (for the IDs). With that, the specified limit is reset and all entities are loaded.
2. What does this change do, exactly?
Check that payload IDs are not empty before resetting the limit.
3. Describe each step to reproduce the issue or behaviour.
Create a Criteria with an emtpy array.
4. Please link to the relevant issues (if any).
-
5. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

related PRs by @soebbing

https://github.com/shopware/platform/pull/1421
https://github.com/shopware/platform/pull/1636

@aragon999 YEAH! Please do it!

@aragon999 please consider the comments on Hendriks PRs. as this is probably a breaking change in the behaviour. that's why he made two PRs :wink:

What is the status on #1421 ?
Why has this not been yet merged? As far as I understand after this has been merged, in the next major version this should not be a problem anymore?
Otherwise I do not know how to proceed here.

is this change supposed to ensure that if an empty ID array is provided that NO entites/IDs are found? I am not 100% sure about the expected result here. Is it just ignoring the filter?

The behaviour is inconsistent atm. Providing an array with two ids gives two results, one id gives one result, and so on. Providing an empty array, though, doesn't provide zero results, as one could suspect when zero ids we're given, but ALL entities.

OK. That makes sense but the description title says that we now ignore an empty ID filter which would result in everything being returned.

The title might be somewhat misleading, sorry.
I encountered this issue first, when there was a limit set on the criteria, but some custom admin component somehow did create an empty array for the ids key, thus the title of the PR.
I fixed the admin component, but thought this might be a more general problem.

Yes, it definitely needs a general fix. Thanks. Now it makes more sense, was mostly confused about the title.

Hey @aragon999, thanks for your contribution 💙  As already mentioned, it would be great if you could implement this with a feature flag and also a test for this would be awesome 🙂

Hi,
@aragon999 are you still working on this? If you won't respond we'll close this PR in 2 days

Hey sorry for the late reply, I will be on holidays next week. Maybe I am able to finish the changes today, but no promise. Feel free to close the PR if it suits you.


fix: don't overwrite wa-sqlite DB on opening

Open wa-sqlite DB with SQLITE_OPEN_CREATE flag.
Because if we don't provide any flags, wa-sqlite defaults to SQLITE_CREATE which overrides the DB if it already exists.

The wa-sqlite default open flags are already CREATE | READWRITE.
It looks like your old code wasn't specifying a VFS so it used the default memory VFS which won't persist instead of IndexedDB. This PR should fix that; it's just that the reason the fix works is not in the flags but in specifying the VFS with the last argument.


Mirror return rules to also fire on pure

They seem to all apply equally well on pure.
The first one I noticed in practice that didn't fire was if x then y else pure ().

Within the Haskell hints themselves, we have isReturn which is true for either return or pure. For the hints, unfortunately we have to duplicate them. We had duplicated a bunch of them, but now I've gone through and made sure we duplicated all of them.


cannot run C compiled programs.

Hi guys,
Iam trying to built dnscrypt-proxy on my dietpi eg debain 8 system.
When I run ./configure I get the following error msg
If you meant to cross compile, use --host'. See config.log' for more details
Which parts of my config.log should I therefore provide?
Ps. I if the issuse is related to libsodium. Iam using the latest version from the tar arviche.

Maybe you can just use already compiled binaries?
https://github.com/jedisct1/dnscrypt-proxy-installer

Thx for the help. I will let it run and see if works fine.

Same error cropped up as well, when looking through config.log turned out that gcc couldn't find libsodium.so. Set a LD_LIBRARY_PATH env to include the directory where your libsodium resides.

@enilfodne I guess you compiled libsodium yourself (and didn't run ldconfig or read the dnscrypt-proxy documentation if you are using Fedora).
Just curious: why didn't you just install the package shipped with your distribution?

Both compiled from scratch.
It started as the official packages omitting the ldns extensions (blocking, logging etc.). Later turned out to be a faster way of updating the server csv list.

Both compiled from scratch.

This is a terrible state of affairs.
Can you report this to the package maintainer, so that the packages get eventually fixed and people don't have to recompile things themselves?
The source code also includes the dnscrypt-update-resolvers.sh script to update the CSV list. It should be part of official packages as well.

I've checked the most recent builds (listed here) and it appears that neither ldns plugins nor dnscrypt-update-resolvers.sh are available in the package.
I think the plugins are missing because they add ldns as dependency, which might be too much for some use-cases. Not sure why there's  no cron or systemd task to update and verify the resolver list though.
Ping @comzeradd (Apologies if Github isn't the right place, PKGdb seems broken right now)


Space cobra

About the PR
NT scanners have spotted a new species of space critter, they are invisible most of the time and have blind poison in their fangs. The NT requires all employees in the wreckage to be extremely cautious.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

:cl: Nimfar11

add: Adds Space Cobras, invisible at rest and venom blind.
add: Adds snake meat and fancy snakeskin boots.

I found mistakes, I'll fix them soon

There are still problems with invisibility and the inability to find the creature at the time of death. Solve the problem in time

just remove stealth ocmp on crit

Yeah, I thought of that too, but you have to get into the stealth system code, and I'm not very good with code. That's why it takes time. :)

i think stealth system handles stealth component removal -> stop being blue + invisible so just RemComp

It worked, invisibility is turned off when a mob dies

Tests still need fixing.

I need some advice, I don't know what else to do here.

Re-open when you get a chance to fix this.


The Axum example broken again with axum 0.6

Hi, the example in the docs seems no longer working with the latest axum 0.6, though it worked perfectly up to 0.5.17 thanks to #339.

Hi @yheuhtozr, you can check out #361 in the meantime.


Test NuttX upgrade with CI

@davids5 This is now the monster diff. We can check this now out and create separate commits for each sub-aspect.

@dagar I've set the CCACHE off environment variable in Semaphore. Let's see if this does anything.

@dagar Still need to disable CCACHE in Semaphore. I really don't think we want any caching.

@davids5 We will need to re-balance CI runs so that we can finish in under 10 minutes. That should be feasible by more parallel machines.

The last change set deletes each build folder and just retains the .px4 files from it. Will likely need more tuning.

@dagar Pushing more commits to distribute the workloads better would be most appreciated.

@dagar As expected Semaphore is now the slowest.

@dagar An obvious optimisation would be to generate the parameters.xml and airframes.xml only once for all targets.

25 mins and counting.

@davids5 I only silenced spurious error messages. The size output is still there.
@dagar @davids5 I squashed my WIP commits. Now the CI changes are clean and we just need to break down the original diff as needed. I also removed the global switch of CCACHE (relying on the Semaphore-only switch now).

Let me see if there's anything we can do right now to improve the build. We're limited in what we can split because the semaphore change would also immediately apply to master/beta/stable.
I'll try generating parameter/airframe only once, but I believe it's only a few seconds per build.

@LorenzMeier - Do you see the 'size' it in the output?

After the nuttx upgrade which builds do we want to upload to s3?

Master, beta and stable, nothing else.

Sorry should have said configs.
https://github.com/PX4/Firmware/blob/nuttx_upgrade/Makefile#L224
aerofc-v1_default
auav-x21_default
crazyflie_default
esc35-v1_bootloader
mindpx-v2_default
posix_sitl_default
px4-stm32f4discovery_default
px4cannode-v1_bootloader
px4cannode-v1_default
px4esc-v1_bootloader
px4esc-v1_default
px4flow-v2_bootloader
px4fmu-v1_default
px4fmu-v2_default
px4fmu-v2_test
px4fmu-v3_default
px4fmu-v4_default
px4fmu-v4_default_and_uavcan
px4fmu-v4pro_default
px4fmu-v5_default
px4nucleoF767ZI-v1_default
s2740vc-v1_bootloader
s2740vc-v1_default
tap-v1_default
zubaxgnss-v1_bootloader

Everything that is not a boot loader.

@dagar
aerofc-v1_default
auav-x21_default
crazyflie_default
mindpx-v2_default
posix_sitl_default
px4-stm32f4discovery_default
px4fmu-v1_default
px4fmu-v2_default
px4fmu-v2_test
px4fmu-v3_default
px4fmu-v4_default_and_uavcan
px4fmu-v4pro_default
px4fmu-v5_default
px4nucleoF767ZI-v1_default
tap-v1_default

I think the others are not complete enough or used.

At this point I think we're going to need to evenly distribute builds across semaphore, travis, circleci and put using multiple compilers on hold.
Sharing parameters only saves a few seconds per build, airframes even less.
Let's try and group things logically so all the builds that need to be uploaded to s3 run in the same place.


can't play streams without audio

Hello,
i'm using LibRtmp extention r2.5.3 with ExoPlayer to play live rtmp video only streams
it working great if the stream has audio but if the stream has no audio it never works !
any idea ?

Hi,
Yeah it is about an issue in ExoPlayer FLV Extractor.
Take a look at this issue https://github.com/ant-media/ExoPlayer-with-RTMP-and-FLV-seek/issues/2
Please let me know whether it works for you

Duplicate of #70


List build-time dependencies

Hopefully this helps save people from trying to autogen without the required packages.

Should help prevent what happened in #7

Hi,
i've developped the wiimote-bindings.
However, i don't manage to get my patch applied in the linux kernel for the
guitar and the drums.
So, i'm not motivated to maintain it.
Don't hesitate to fork.
I don't know if david is still working on the wiimote too.

python-dev is a dependency as well.


chore(cargo): Update unicode-linebreak

unicode-linebreak 0.1.5 has been released. It removes the build.rs script (it's moved in another separate internal crate). Moving to 0.1.5 removes the following dependencies from the tree:

ahash,
aho-corasick,
hashbrown,
once_cell,
regex,
regex-syntax,
version_check,
wasi.

This isn't negligible.
Also, ahash was at version 0.7.6 (latest version is —at the time of writing— 0.8.8), which doesn't compile on Rust nightly. ahash was required by hashbrown, which was required as a build-dependency of unicode-linebreak 0.1.4. It's no longer the case in 0.1.5.

Thanks for the PR! In the meantime, I've configured Dependabot to send automatic PRs with version updates. So I'll close this now and let the bot update this going forward.
Note that it's not strictly necessary to update dependencies when new patch versions are released: people depending on textwrap will automatically get the latest SemVer compatible version of unicode-linebreak thanks to how Cargo treats a 0.1.4 dependency as ^0.1.4.


Formatting error for run timestamps

It looks like Metaflow uses time to store the created_at and finished_at information inside the run: https://github.com/Netflix/metaflow/blob/c2f70c73782549fdce6c418410ecd9b305199b28/metaflow/client/core.py#L340-L341
time does not support the %f directive: https://docs.python.org/3/library/time.html#time.strftime
This creates strings that are not easily parsable by datetime or time and lack the millisecond information. The missing information is not a big deal in my opinion as we are not looking at sub-second Metaflow runs. However, the strings require custom parsing which is not ideal.
See the following example to reproduce outside of Metaflow:
import time

ts_epoch = int(round(time.time() * 1000))
ts_str = time.strftime('%Y-%m-%dT%H:%M:%S.%fZ', time.gmtime(ts_epoch//1000))
print(ts_str)
time.strptime(ts_str, '%Y-%m-%dT%H:%M:%S.%fZ')

The output when running this is:
2020-06-22T16:00:51.fZ

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-165-7b973d37458a> in <module>
      4 ts_str = time.strftime('%Y-%m-%dT%H:%M:%S.%fZ', time.gmtime(ts_epoch//1000))
      5 print(ts_str)
----> 6 time.strptime(ts_str, '%Y-%m-%dT%H:%M:%S.%fZ')

~/miniconda3/envs/risk_models/lib/python3.6/_strptime.py in _strptime_time(data_string, format)
    557     """Return a time struct based on the input string and the
    558     format string."""
--> 559     tt = _strptime(data_string, format)[0]
    560     return time.struct_time(tt[:time._STRUCT_TM_ITEMS])
    561

~/miniconda3/envs/risk_models/lib/python3.6/_strptime.py in _strptime(data_string, format)
    360     if not found:
    361         raise ValueError("time data %r does not match format %r" %
--> 362                          (data_string, format))
    363     if len(data_string) != found.end():
    364         raise ValueError("unconverted data remains: %s" %

ValueError: time data '2020-06-22T16:00:51.fZ' does not match format '%Y-%m-%dT%H:%M:%S.%fZ'

Note the f in the printed timestamp that causes an issue at parsing time.
One solution would be to use datetime to format the time as it supports %f. Something like this:
import time
from datetime import datetime

ts_epoch = int(round(time.time() * 1000))
ts_struct = time.gmtime(ts_epoch//1000)
dt = datetime.fromtimestamp(time.mktime(ts_struct))
dt_str = datetime.strftime(dt, '%Y-%m-%dT%H:%M:%S.%fZ')
print(dt_str)
datetime.strptime(dt_str, '%Y-%m-%dT%H:%M:%S.%fZ')

output:
2020-06-22T17:02:49.000000Z
datetime.datetime(2020, 6, 22, 17, 2, 49)

Let me know if I'm missing something. If this sounds like a good solution to you, I'm happy to open a PR

@vlandeiro Thanks for opening the issue! We should just drop %f since we are not exposing timings at a millisecond grain. Can you open a PR for that?

Thanks for the quick feedback @savingoyal. I opened #227 to remove %f from strftime


Bug fixes for K8s checks

Description

k8s_check_service_pvc_utilization check now has namespace and service_name as optional params. This enables the lego to run for all services. The code is optimized to reuse the utility pod for all services in a namespace.
crashloopbackoff check  now checks if container_status is not available.
Cronjob pod check was using batch/v1beta1 which was incompatible with unskript dev cluster version (it was working for lightbeam). Now we are using kubectl to fetch cronjobs.

Testing

Checklist:

[ ] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] Any dependent changes have been merged and published.

Documentation
Make sure that you have documented corresponding changes in this repository.

Could you please attach test result @shloka-bhalgat-unskript. The changes seems significant, hence the request.

Done @jayasimha-raghavan-unskript .


Unity UnityPlayer_UAP_arm_debug_il2cpp.pdb not loaded exception on build deploy HL2

Describe the bug
Probably not an issue of this specific package but I just keep getting this message when following the instructions building and then trying to deploy my project for ARM on HL2.
Never had this with any other projects?
I already changed some build settings around and tried to build again but it still gives the same exception on deployment.
Docs: https://microsoft.github.io/MixedReality-WebRTC/manual/unity/helloworld-unity-localvideo.html
Project files: https://we.tl/t-FlxiLStvm1
EDIT - Someone mentioned this might be because of my tools (sdk etc.) but I have used another PC to build/deploy and it also has this message so I guess it's still somehow because of the project?
To Reproduce
Steps to reproduce the behavior:

Import Unity WebRTC packages
Follow Unity setup instructions to setup local camera renderer
Build for HoloLens with ARM on min platform version 10.0.10240.0

Expected behavior
The project deploys.
Environment

MR-WebRTC version 2.0.0
Platform: UWP, Unity WSA Player (UWP)
Architecture: ARM
Unity version 2019.4.1f1
Target device: HoloLens 2

Additional context
UnityPlayer_UAP_arm_debug_il2cpp.pdb not loaded

According to https://forum.unity.com/threads/unityplayer_uap_x86_release_il2cpp-pdb-not-loaded.482960/ this should mean that Unity can't find its own pdb file, and should be benign. Are you sure that this is what is making the deployment fail? Are you deploying from Unity or from Visual Studio?
The link to your project has expired so I can't try it, though this indeed seems an issue with how Unity/VS are setup rather than with the project.

I encountered the same issue. Turning off Graphics Jobs in Player Settings / Other Settings as mentioned in #466 solved my issue. Not sure whether it is repeatable.

It appears something is crashing in Unity's job system
https://forum.unity.com/threads/unityplayer_uap_arm_debug_il2cpp-pdb-not-loaded-exception-hololens-2-webrtc.957854/#post-6273128

@efsjouw did you try @qian256's suggestion to disable Graphics Jobs? This is a known bug/regression in Unity, not sure this is exactly what's causing that but I know for a fact this won't work on HoloLens 2, and Unity was working on fixing it last I checked.

hey watch this https://blog.csdn.net/qq_42419143/article/details/108771003


bug: Error when opening grug-far

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.0
Operating system/version
MacOS 14.5
Describe the bug
Every time I want to open grug-far using <Leader>sr, edgy produces a bunch of errors.
First, the errors are "Buffer with this name already exists". Then the errors become "Failed to rename buffer".

Steps To Reproduce

Open nvim
Type <Leader>sr
Voila!

Expected Behavior
Open grug-far
Repro
Sorry I don't understand about this part.
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "LazyVim/LazyVim", import = "lazyvim.plugins" },
    -- add any other plugins here
  },
})

Are your plugins up to date? Because I can't reproduce it on my side.

Yes, I have updated the plugins:

Have you tried reproducing with default LazyVim installation? Here is a screencast where I install LazyVim from scratch and I'm not able to reproduce.

Yup tried it, re-enabled the same plugins as before, and the error is now gone. Not sure why. Thank you! I'm closing this issue.

If you can't reproduce it with default LazyVim installation, then most likely it's something in your personal config that's causing the issue. Either way, since you got it working now all good.
Just for future reference, do try to test potential problems you encounter with a default LazyVim installation. If all works ok with it, then you should probably looking at your personal configuration to see what causes the problem.


docs(style-guide): make examples comply with the linter

/cc @johnpapa @wardbell
For this I had to remove two rules from our linter. They don't make sense for the style-guide.
All the issues where "This is imported, never used" so I used my imagination to use those stuff but still hide it from the guide. So there are no visual changes.
I put some providers and stuff in components too. When we do testing here, we will see if we need to move this providers around, but for now this works.

LGTM

Merged then.


defaultConfig: improve default groupbar appearance

This is subjective of course (this is my personal config), but I feel like this would be better for new users than the current one (suggestions welcome).
Cheers

groupbar generally needs some improvements heh

idk imho its not much better, its almost the same

Yeah it is not that great. Maybe some ricer on discord or something could help improving this, I will ask.

I have created an issue to discuss this. Maybe rather than modifying the defaultConfig, would be better to change the default values for the involved variables when we settle on a good rice. https://github.com/hyprwm/Hyprland/issues/8375


Is there test results on indoor dataset?

Hi Tinghui,
Is there experiments conducted in indoor scenes? Like NYU dataset or SUN3d?

Thank you for the response! Have you tried training on indoor videos?

I tried for a bit on the NYU indoor dataset at the early stage of the project, but did not manage to get reasonable results. The model has changed quite a lot since, not sure how well it would perform now.

@thuyang , were you able to train on indoor dataset like NYU, if yes, how are the results and can you share the details as how you prepared the data and triggered the training


Add CSV writer to pipeline

Split up sequence enumeration and pattern detection stages in pipeline
Insert CSV writer in relevant places, taking care to only use it directly in the MiningPipeline

I agree with @FWDekker - I don't think the two should be separated, for the same reason.

Hm good point, I'll add them back together in a moment.

Codecov Report

Merging #285 into master will increase coverage by 0.39%.
The diff coverage is 91.89%.

@@             Coverage Diff              @@
##             master     #285      +/-   ##
============================================
+ Coverage     80.46%   80.86%   +0.39%
- Complexity      528      537       +9
============================================
  Files            68       69       +1
  Lines          1577     1604      +27
  Branches        249      250       +1
============================================
+ Hits           1269     1297      +28
+ Misses          210      209       -1
  Partials         98       98

Impacted Files
Coverage Δ
Complexity Δ

...fejojo/schaapi/GitHubMiningCommandLineInterface.kt
50% <0%> (+0.57%)
0 <0> (ø)
:arrow_down:

...n/org/cafejojo/schaapi/miningpipeline/CSVWriter.kt
100% <100%> (ø)
9 <9> (?)

...ojo/schaapi/DirectoryMiningCommandLineInterface.kt
95% <100%> (-0.13%)
2 <0> (ø)

.../cafejojo/schaapi/miningpipeline/MiningPipeline.kt
78.26% <100%> (+3.9%)
6 <0> (+1)
:arrow_up:

...ne/patterndetector/ccspan/CCSpanPatternDetector.kt
100% <100%> (ø)
2 <1> (-1)
:arrow_down:

Continue to review full report at Codecov.

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

Unfortunately I haven't really thought of a good way to write sequence lengths to a csv file without passing the output directory to the CCSpanPatternDetector, which looks weird.
I do do that locally for the empirical evaluation though.

@FWDekker Makes it easier to perform empirical evaluations in future. This tool is quite novel so collecting data is I think pretty important.
Admittedly it was a bit rushed since code quality was not a top priority at the time of writing but I'll address your comments soon.

 Add Csv writing tool

 Add Csv writing tool


Removed matplotlib holds.

I found this testing with matplotlib-2.0.
‘hold’ functionality deprecated.
The ‘hold’ keyword argument and all functions and methods related to it are deprecated, along with the ‘axes.hold’ rcParams entry. The behavior will remain consistent with the default hold=True state that has long been in place. Instead of using a function or keyword argument (hold=False) to change that behavior, explicitly clear the axes or figure as needed prior to subsequent plotting commands.
http://matplotlib.org/api/api_changes.html#hold-functionality-deprecated

Coverage decreased (-0.02%) to 77.461% when pulling b1ebbdf07a6cac009ab635e20e1d236683ac95f4 on jed-frey:master into 8caf6616a3e563563b8aeea308e75df030209b06 on python-control:master.

Coverage decreased (-0.02%) to 77.461% when pulling b1ebbdf07a6cac009ab635e20e1d236683ac95f4 on jed-frey:master into 8caf6616a3e563563b8aeea308e75df030209b06 on python-control:master.

Coverage decreased (-0.02%) to 77.461% when pulling b1ebbdf07a6cac009ab635e20e1d236683ac95f4 on jed-frey:master into 8caf6616a3e563563b8aeea308e75df030209b06 on python-control:master.

thanks


cabal2nix in nixpkgs 18.03 is broken for packages with Unicode in .cabal file

Issue description
nixpkgs 18.03 includes cabal2nix version 2.9. This version has a bug which prevents using it with any package with non-ASCII characters in its .cabal file from a local directory and from a git URI. This includes clash-prelude and, alarmingly, cabal2nix.
master of nixpkgs includes cabal2nix version 2.9.2 which fixes this issue. Including this version of cabal2nix in 18.03 would solve this issue.
Steps to reproduce
To demonstrate the issue with the cabal2nix in 18.03, I did the following steps:
cabal unpack cabal2nix-2.9
nix-build cabal2nix
result/bin.cabal2nix cabal2nix-2.9/

This prints:
*** parsing cabal file: user error (cannot parse "./cabal2nix-2.9/cabal2nix.cabal")
cabal2nix: nix-prefetch-zip: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)

Technical details
I am using using Nix version 1.11.9 and nixpkgs revision 4647755b9fd44f37ce6361597c7ac4694d14a742

/cc @peti Shall I override our cabal2nix version, or do we want to wait for an entire hackage bump?

Fixed in https://github.com/NixOS/nixpkgs/issues/39806. I updated only cabal2nix, not all of Hackage, which would feel a bit too risky for a stable branch.

Fixed in aa0c2d59fc811850355d898fda8eb27fd3031689. I updated only cabal2nix, not all of Hackage, which would feel a bit too risky for a stable branch.


Update Fine_Tuning_DenseNet.ipynb

after feature-Extraction you need to work on the trained model "3 epochs" not on the first model, If I Am wrong  please clarify this part for me
you did train your model for 3 epoch to help initialize the weights then you freeze the weights on the first one then you passed the trained model "3 epochs" to the final 30 epochs training .

Hi! Yes, That's exactly what I did.

Sorry for not correctly addressing your question previously. Before that I define:
model = Model(pre_trained_model.input, x)

What I want to freeze is the pre_trained_model layers, hence:
for layer in pre_trained_model.layers[481:]:
    layer.trainable = True

This is not the same as:
for layer in model.layers[481:]:
    layer.trainable = True

because, model includes all layers of pre_trained_model plus 4 additional top layers, which are added for classification task.
Remember that, I didn't include the top layers when importing pre_trained_model:
pre_trained_model = DenseNet201(input_shape=(192, 256, 3), include_top=False, weights="imagenet")

thank you for the reply, I understand the difference between the two models, But I didn't understand this, see in the picture the numbers :
"model" = "pre_trained_model" plus 4
in "1" you trained the "model" for feature extraction, ok
in "2 " you have freezed the layers after layer 481, for the "pre_trained_model" and that's not the one you trained for feature extraction.
in "3" and "4" you compiled an train the "model" for 30 epochs but not the one with freezed layers.
I don't understand this how you have freezed the layers to "pre_trained_model" and that affect the layers in the "model".

see the code for your vgg16 fine-tuning you freeze the layers for the same "model" you trained for feature extraction.

I defined:
last_layer = pre_trained_model.get_layer('relu')
print('last layer output shape:', last_layer.output_shape)
last_output = last_layer.output

# Flatten the output layer to 1 dimension
x = layers.GlobalMaxPooling2D()(last_output)
# Add a fully connected layer with 512 hidden units and ReLU activation
x = layers.Dense(512, activation='relu')(x)
# Add a dropout rate of 0.7
x = layers.Dropout(0.5)(x)
# Add a final sigmoid layer for classification
x = layers.Dense(7, activation='softmax')(x)

model = Model(pre_trained_model.input, x) # this is the definition of model

Basically, model already includes all layers of the pre_trained_model plus a few top layers. When I trained it for 3 epochs first, weights of newly defined top layers are changed but not the pre_trained_model's layers (except for batch norm layers, refer to technical issue). Then I just froze the very last dense block in the pre_trained_model, which effectively froze the corresponding dense block in model. You can think of pre_trained_model.layers as a list containing the following objects: input_1, block1_conv1, block1_conv2, block1_pool, ..., block5_conv1, block5_conv2, block5_conv3, block5_pool.
model is a list containing those same objects plus a few more.
I'm sorry for the inconsistency in the VGG16 script, the following
for layer in pre_trained_model.layers[15:]:
    layer.trainable = True

would achieve the same thing.

sorry I understand my mistake now, sorry I understand my mistake now, thank you for being so patient with me and for your kind reply.


game don't run with script compile .DSO

Hi,
I was testing a prototype game and I found I can't run the game if all my *.cs was compiled to *.dso. I need to delete all the dso and leave the scripts to run the game.
I'm using the new template basegame and FPSGameplay module. I did a quick test in the old Full template and don't work.
I'm using last dev https://github.com/GarageGames/Torque3D/commit/74b7e4cd89f4a0fee65d3f831c35df349d16f8c3
Anyone now something about this issue?

Hm, news to me. Definitely needs to be checked out. Could be stuff with the torquescript updates not being agreeable to DSOs due to a bug?

i'll look into it. might not be for a couple days due to finals w/ school though. thanks john for testing!

@John3 we believe that it is a 64bit issue. 32bit seems to work fine. I will keep you posted once we have a solution! :)

All,
I am still trying to come up with a solution for this. It is more complicated than I originally thought.

elaborate?

It's a 64bit issue. The code/wordsize assumes 32bit in a few places within the interpreter.  I need to review it again, as I forget exactly where it is. Once I look at it I will post more info. Sorry!

Hey @chaigler It's seems that way. thank you.


Load a controller without a view from another DLL

Question:
How to load a controller without a view using AddApplicationPart?.
i only need to load a controller from another dll, and load the dll during runtime.
Steps to reproduce:
var builder = services.AddMvc();
builder.AddApplicationPart(typ.Assembly) //
Description of the problem:

System.ArgumentException: Empty path name is not legal.
Parameter name: path
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at Microsoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeatureProvider.CreateMetadataReference(String path)
   at Microsoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeatureProvider.PopulateFeature(IEnumerable`1 parts, MetadataReferenceFeature feature)
   at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)
   at Microsoft.AspNetCore.Mvc.Razor.Internal.DefaultRazorReferenceManager.GetCompilationReferences()
   at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory)
   at Microsoft.AspNetCore.Mvc.Razor.Internal.DefaultRazorReferenceManager.get_CompilationReferences()
   at Microsoft.CodeAnalysis.Razor.CompilationTagHelperFeature.GetDescriptors()
   at Microsoft.AspNetCore.Razor.Language.DefaultRazorTagHelperBinderPhase.ExecuteCore(RazorCodeDocument codeDocument)
   at Microsoft.AspNetCore.Razor.Language.DefaultRazorEngine.Process(RazorCodeDocument document)
   at Microsoft.AspNetCore.Razor.Language.RazorProjectEngine.Process(RazorProjectItem projectItem)
   at Microsoft.AspNetCore.Mvc.Razor.Internal.RazorViewCompiler.CompileAndEmit(String relativePath)
   at Microsoft.AspNetCore.Mvc.Razor.Internal.RazorViewCompiler.OnCacheMiss(String normalizedPath)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Razor.Internal.DefaultRazorPageFactoryProvider.CreateFactory(String relativePath)
   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.CreateCacheResult(HashSet`1 expirationTokens, String relativePath, Boolean isMainPage)
   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.OnCacheMiss(ViewLocationExpanderContext expanderContext, ViewLocationCacheKey cacheKey)
   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.LocatePageFromViewLocations(ActionContext actionContext, String pageName, Boolean isMainPage)
   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.FindView(ActionContext context, String viewName, Boolean isMainPage)
   at Microsoft.AspNetCore.Mvc.ViewEngines.CompositeViewEngine.FindView(ActionContext context, String viewName, Boolean isMainPage)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.FindView(ActionContext actionContext, ViewResult viewResult)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync(ActionContext context, ViewResult result)
   at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync(ActionContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeResultAsync(IActionResult result)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResultFilterAsync[TFilter,TFilterAsync]()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResultExecutedContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeResultFilters()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()
   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.SpaServices.Webpack.ConditionalProxyMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.SpaServices.Webpack.ConditionalProxyMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Version of Microsoft.AspNetCore.App:

Hi @tofilagman.
Can you please provide us a sample app to repro this issue?

@pranavkm, can you please look into this when we'll have a repro? Thanks!

Hi. We're closing this issue as no response or updates have been provided in a timely manner and we have been unable to reproduce it. If you have more details and are encountering this issue please add a new reply and re-open the issue.


feat(yarn): Also log warnings output by yarn info

Part of #9261.

Merging prematurely as funTest-docker seems to be stuck.


Some code improvements and addition of forgotten methods

Hi devs,
Last year I tried rewriting this package. Tell me anything you think will be useful to your package from mine and I will try merging that.

Hello @kateile  there was a refactor of whole code base. Hence your changes have conflict and some of them where already fixed.


Fix cloneElement Typescript definition

This adds the optional third argument to the cloneElement function's Typescript definition.

Coverage remained the same at 100.0% when pulling 3e2761994f5ef5577d8d4f44c65e84fb32b284aa on hiddedejong:patch-1 into 7c3e6fe1bd5aa85f655b4e2cd676db5fe8d2831c on developit:master.

Thank you for your feedback and work on this great library!


Getting Toll spots

I have gone through the entire documentation but could not get anything. how can I get where tolls exists on and where on the current map to determine if a user has passed any

This is a feature request for the API. Please submit here.


[OTHER] some refactoring of LanguageFrench.ts

In rosaenlg package, in LanguageFrench.ts (and LanguageXxxxx.ts):
thirdPossessionRefTriggered does not need genderNumberManager as a parameter, as it is already a class member
Same for Spy, etc.

done > 3.4.0


Failing test on master

Hey there! Thanks so much for this.
I checked out the repo at d58a207, ran npm run test and got a failure:
1 failure:

expected / actual

  1. Div: nested:

    (document
      (div
        (div_marker_begin)
        (content
          (paragraph)
          (div
            (div_marker_begin)
            (content
              (paragraph))
-           (div_marker_end)))
+           (div_marker_end))
+         (paragraph))
        (div_marker_end)))

Sorry about that, pushed a correction to master.
Thanks!


SourceKit/ExpressionType: allow users to canonicalize collected expression types

The default response of the expression type request doesn't canonicalize expression
types. This patch adds a flag to allow users to canonicalize them.

@swift-ci please smoke test


[Event Request] - Codeunit CRM Sales Order to Sales Order - OnBeforeGetCoupledCustomer

Can you create this event?
Customer needs to be VAR

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


PyTorch code from Object storage download not being defined correctly

Bug was fixed on the newest #24 commit.