Failed compilation with coq.dev (via opam)

[elf@elfi ~]$ opam repo
  30 [http]  coq-core-dev     https://coq.inria.fr/opam/core-dev
  20 [http]  coq-extra-dev     https://coq.inria.fr/opam/extra-dev
  10 [http]  coq-released     https://coq.inria.fr/opam/released
   0 [http]     default     https://opam.ocaml.org
[elf@elfi ~]$ coqc --version
The Coq Proof Assistant, version trunk (July 2015)
compiled on Jul 2 2015 22:14:56 with OCaml 4.02.1
[elf@elfi ~]$ opam install coq:io
The following actions will be performed:
 - install   coq:io.dev
=== + 1 ===

=-=- Synchronizing package archives -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫
[coq:io] Fetching https://github.com/coq-io/io

=-=- Installing packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫
Building coq:io.dev:
  ./configure.sh
  make -j1
  make install
[ERROR] The compilation of coq:io.dev failed.
Removing coq:io.dev.
  rm -R /Users/elf/.opam/4.02.1/lib/coq/user-contrib/Io

#=== ERROR while installing coq:io.dev ========================================#
# opam-version 1.2.0
# os           darwin
# command      make -j1
# path         /Users/elf/.opam/4.02.1/build/coq:io.dev
# compiler     4.02.1
# exit-code    2
# env-file     /Users/elf/.opam/4.02.1/build/coq:io.dev/coq:io-41873-05296d.env
# stdout-file  /Users/elf/.opam/4.02.1/build/coq:io.dev/coq:io-41873-05296d.out
# stderr-file  /Users/elf/.opam/4.02.1/build/coq:io.dev/coq:io-41873-05296d.err
### stdout ###
# "coqdep" -c -R "src" Io "src/All.v" > "src/All.v.d" || ( RV=$?; rm -f "src/All.v.d"; exit ${RV} )
# "coqdep" -c -R "src" Io "src/C.v" > "src/C.v.d" || ( RV=$?; rm -f "src/C.v.d"; exit ${RV} )
# "coqdep" -c -R "src" Io "src/Effect.v" > "src/Effect.v.d" || ( RV=$?; rm -f "src/Effect.v.d"; exit ${RV} )
# "coqdep" -c -R "src" Io "src/Run.v" > "src/Run.v.d" || ( RV=$?; rm -f "src/Run.v.d"; exit ${RV} )
# "coqc"  -q  -R "src" Io   src/Effect
# "coqc"  -q  -R "src" Io   src/C
### stderr ###
# File "./src/C.v", line 86, characters 2-316:
# Error: Illegal application:
# The term "t" of type "Effect.t -> Type -> Type"
# cannot be applied to the terms
#  "E" : "Effect.t"
#  "T" : "Type"
# The 2nd term has type<EMAIL_ADDRESS>which should be coercible to
#<EMAIL_ADDRESS># make: *** [src/C.vo] Error 1

[elf@elfi ~]$

Hi,
To be sure that it compiles, you should use a  stable version of Coq.io instead. You can force the version number:
opam install coq:io.3.1.0

or remove the repository with development versions:
opam repo remove coq-extra-dev

The .dev version is currently written using Coq 8.4.6.


text colors and scaling

Mac M1 Mini with a 4k monitor. Text colors mostly seem to be white on white, so that the settings window appears totally blank. Text shows if I click on it. Text in general is tiny. Is there a way to scale it up?

Hi nottooloud,
Could you open your terminal, enter the following commands, and send me the results?

Replace python with python3.10.

Build 3.03 has two modifications that were added to address this ticket:

The application/text scaling can be adjusted by changing the scale_factor field in the config.json file
The dark mode theme (dark_mode.tcl) was removed for Mac in case it was conflicting with the OSX light/dark modes

I don't have access to an M1 computer or a 4K monitor, however, I've tested these changes on a non-M1 Mac and I've confirmed that there are no issues.
I will leave this ticket open for a couple of days so that this user, or any other users with a similar issue, can provide feedback.

Fails to run, no module named numpy.
Dan

On Sep 14, 2022, at 1:55 PM, bstaple1 @.***> wrote:
Build 3.03 has two modifications that were added to address this ticket:
• The application/text scaling can be adjusted by changing the scale_factor field in the config.json file
• The dark mode theme (dark_mode.tcl) was removed for Mac in case it was conflicting with the OSX light/dark modes
I don't have access to an M1 computer or a 4K monitor, however, I've tested these changes on a non-M1 Mac and I've confirmed that there are no issues.
I will leave this ticket open for a couple of days so that this user, or any other users with a similar issue, can provide feedback.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

My bad, missed the new requirements_mac txt.
Text colors all fixed, size still small. Is there a setting for scaling?
Dan

On Sep 14, 2022, at 2:18 PM, Dan Richardson (t) @.***> wrote:
Fails to run, no module named numpy.
Dan

On Sep 14, 2022, at 1:55 PM, bstaple1 @.***> wrote:
Build 3.03 has two modifications that were added to address this ticket:
• The application/text scaling can be adjusted by changing the scale_factor field in the config.json file
• The dark mode theme (dark_mode.tcl) was removed for Mac in case it was conflicting with the OSX light/dark modes
I don't have access to an M1 computer or a 4K monitor, however, I've tested these changes on a non-M1 Mac and I've confirmed that there are no issues.
I will leave this ticket open for a couple of days so that this user, or any other users with a similar issue, can provide feedback.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Increase the scale_factor value in the config.json file

Last login: Tue Sep  6 08:23:05 on console
@.*** ~ % python3.10
Python 3.10.4 (v3.10.4:9d38120e33, Mar 23 2022, 17:29:05) [Clang 13.0.0 (clang-13<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import tkinter
tcl = tkinter.Tcl()
tcl.call("info","patchlevel")
'8.6.12'
root = tkinter.Tk()
root.winfo_fpixels('1i')
71.98228782287823

On Sep 6, 2022, at 3:31 PM, bstaple1 @.***> wrote:
Hi nottooloud,
Could you open your terminal, enter the following commands, and send me the results?
Replace python with python3.10.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.


Better Visual Novel Selection Menu

Is your feature request related to a problem? Please describe.
Missing feature from the original VNDS software. Most VNDS novels had a 32x32 icon (stored as icon.png in the visual novel folder) and a 100x75 thumbnail (stored as thumbnail.png in the visual novel folder). The icon was displayed left of the visual novel's name in the visual novel selection menu and the thumbnail was displayed on the top screen when the visual novel was selected. Additionally, the Android visual novel interpreters added support for high resolution thumbnails and icons, which were placed in the same folder as the low resolution ones and were named icon-high.png/thumbnail-high.png. When present, they were used instead of their low resolution counterparts. These icons and thumbnails are currently completely unused, and the current selection screen is overall very bare.
Describe the solution you'd like
Complete revamp of the visual novel selection screen. See mock-up below.
Additional context
Because a picture is worth a thousand words, I made a very crude mock-up of what I had in mind.

Screenshot of the menu from the original VNDS.

Should be done with https://github.com/ajusa/VNDS-LOVE/commit/23ba0f3a01f2d8af032146f5c421b517da689100!

As a side note, it turns out that the thumbnail/icons can also be in jpg, so I had to account for that as well.

Should be done with https://github.com/ajusa/VNDS-LOVE/commit/23ba0f3a01f2d8af032146f5c421b517da689100!

As a side note, it turns out that the thumbnail/icons can also be in jpg, so I had to account for that as well.


Provide more document tags for "onHandleTag" manipulation

Presently working with tags is problematic especially when it comes to names of files and associated file paths. "longname" (and even "name" seemingly) is used to create the file path in various parts of the ESDoc architecture. There should be separate tags for "filepath" and "filename" from "name" and "longname". Perhaps also adding in "shortname" which defaults to "longname" and can be modified as desired where visible / normalized paths / names should be used.
An example of this is the search_index.js file which generates names of files based on "longname". Since longname also defines the file path it's not possible to change the script/search_index.js generation based on the actual desired normalized name for a file.
As a solution in my JSPM ESDoc plugin I have to completely rewrite search_index.js in "onComplete" replacing long names with the actual desired normalized name for a file.
https://github.com/typhonjs/backbone-parse-es6/blob/master/esdoc-jspm-plugin.js#L198
Similar replacement also needs to be done for all generated HTML files. Providing a short or normalized name separate of "name" or "longname" and a potentially new "filepath" "filename" tag should resolve this issue in a much cleaner manner.

@typhonrt Thanks for this suggestion. I consider it.


WisecondorX for aneuploidy and gender detection

Description of feature
We have come across this tool WisecondorX which works well for detecting aneuploidy from exome data. It can also (very quickly) determine the gender of sample.
The main caveat being it needs a reference (of at least 15 samples) to compare against.

Interesting will look into it


Cannot use validates_presence_of on multiple nested attributes of the same class

It appears that these validations are getting called several times.  During one or two of these times, the nested attribute in question is not set on the parent model.  Not sure what's causing this.  Please see failing test.

Not urgent, but if you or someone else more familiar with the codebase could take a look, it'd be much appreciated.  I've mucked about for several hours now and still not sure what's happening.  Neo4j::Rails::Validations#perform_validations is called on the parent node and initially passes validation for both nested nodes.  Then, once the parent node has received its own ID, #save is again called on it (not sure why), and this time it fails validation because one of the nested attributes is not present on it.  Hope that helps a bit.

Update: The issue here is that when creating a new node with two or more nested attributes and validating presence for both of them, #update_nested_attributes will end up saving a relationship between the new parent node and the nested node, and in doing so it will kick off #persist_start_node.  This hits #save, but Neo4j::Rails::Validations::#save overwrites "vanilla" #save, forcing all validations to run.  They will fail, however, because all of the nested attributes have not been set yet.
Not sure what things will look like when 2.0 lands, but here are a few ideas for possible solutions/workarounds:

Set all attributes and nested attributes only "locally" (not persisted).  Then run all validations on these local attributes.  Only commit when all validations pass.  This has the advantage of preserving the default behavior of #valid?.
Augment ActiveModel's validates_presence_of, or introduce a new validates_presence_of_associated class method that hooks in to the before_commit hook, filters created/updated nodes to find one of the class in which it is declared, and if it finds one, it declares the presence validations in question, and runs valid?.  This has the advantage that #valid? would work normally (running all validations) after the before_commit hook is executed, but also the potential disadvantage that it wouldn't yet have the nested presence validations before that point, so a bit inconsistent.
Validate the attrs hash "manually" in the controller (hack/workaround).

Thanks for great input. I will have a look at it !


Option to calculate Thorns III as 2x Thorns II

According to the wiki, obtaining Thorns III directly can be a bit complicated, because villagers only sell Thorns II, so often the player will need to somehow combine two Thorns II books (I guess the same argument could be made for Swift Sneak and Soul Speed).
Do you think it would be possible to add a way to say that I want the enchantment order including combining the same book? Or is the impact of combining thorns books negligible?

Re-read the Wiki article you linked to:

Thorns III cannot be directly obtained using an enchanting table, but it can be obtained by using an anvil to combine two Thorns II enchantments, by trading with villagers, or by finding an item enchanted with it from the loot chest as below.

You can get Thorns III from a villager, you just can’t get Thorns III from an enchanting table.

You're right of course, I re-read the article several times before posting but still missed this :-(


WebUI Weather experience

The Weather page in the new WebUI needs more user control than other areas of the web experience.
While the Traffic page will typically see a handful of active targets at any one time and targets come and go within a few minutes, Weather is a different story.
I did a small sampling of pilots and came up with a couple suggestions.

separate METAR+TAF, PIREP, WINDS, ???? into sections so the user is looking at one section at a time
limit METAR+TAF to a user configurable watch list

I'm interesting in more feedback.

For weather, a quick, nicely formatted list of weather along my route (with some color for IFR/MVFR/VFR) would be nice.  I'm a ForeFlight user, so would turn to that App for my primary information.  I think of using the web-based Stratux app primarily as an administration/debugging tool for the Stratux device, in the same way that I consider my Stratus 2 a "turn it on and forget it" device.

The WebUI is definitely growing far beyond "setup and diagnostics". That may be a poor decision. No real data to point one way or another.
I'd love to color-code weather but the algorithm is not simple. The best example I've seen is WeatherMeister which is a paid service. No one else has even come close. In an interview with the developer, he said it was a huge undertaking even to maintain the code base.
Similarly, finding reporting stations along a route requires a database of all possible reporting stations and a geolocation API to determine proximity.
A baby step in that direction is letting the user enter a series of stations.

I'd love to color-code weather but the algorithm is not simple. The best example I've seen is WeatherMeister which is a paid service.

I agree WeatherMeister looks great.  There is a free app for iOS that does a pretty good job.  I think there are similar apps for Android as well:  https://itunes.apple.com/us/app/aeroweather-lite/id288286079?mt=8
Based on the FAA or ICAO definitions for LIFR, IFR, MVFR, and VFR, the author displays a colored icon.

@JohnOCFII - would you happen to know where I could find those FAA or ICAO definitions ?

They are available here: https://www.aviationweather.gov/adds/metars/description/page_no/4

@JohnOCFII - would you happen to know where I could find those FAA or ICAO definitions ?

http://www.aviationweather.gov/adds/metars/description/page_no/4
I believe the ICAO definitions are the same, but expressed in meters.

And in typical fashion, that doesn't define "ceiling". For that we go to part 14,of the FARs:
Ceiling - lowest layer of clouds or obscuring phenomena that is reported as "broken", "overcast", or "obscuration", and not classified as "thin" or "partial".

@bradanlane:  while you are adding to the UI, remember to add a menu item and plate for Airspace uplink messages like SUA and TFRs.
For colors, I vote for the NOAA palette
For display of wx, I'd like to see some kind of notification or flagging of METARs as they change content during a flight.

I'm not sure how useful SUA messages will be. here is an example:
SUA<PHONE_NUMBER>071|5550|W|M|ANNE LOW MOA|1012211925|1012212125|001|069|A|Y|53|ANNE LOW|MOA US 01022|ANNE LOW MOA, AR
I doubt anyone will find that information useful in-flight.
If Stratux receives all vs local SUA and TFR, the user will have to read and find the applicable reports. It's risky for the WebUI to presume to filter these.
The WebUI can include these "for completeness" but not "for use".

On Oct 3, 2015, at 7:44 AM, 224XS<EMAIL_ADDRESS>wrote:
@bradanlane: while you are adding to the UI, remember to add a menu item and plate for Airspace uplink messages like SUA and TFRs.
For colors, I vote for the NOAA palette
For display of wx, I'd like to see some kind of notification or flagging of METARs as they change content during a flight.
—
Reply to this email directly or view it on GitHub.

True, but the SUA usually come with graphic overlays. It should be possible to distance sort/filter from the data in the graphic portion
Sent from my iPhone

On Oct 3, 2015, at 8:17 AM, bradanlane<EMAIL_ADDRESS>wrote:
I'm not sure how useful SUA messages will be. here is an example:
SUA<PHONE_NUMBER>071|5550|W|M|ANNE LOW MOA|1012211925|1012212125|001|069|A|Y|53|ANNE LOW|MOA US 01022|ANNE LOW MOA, AR
I doubt anyone will find that information useful in-flight.
If Stratux receives all vs local SUA and TFR, the user will have to read and find the applicable reports. It's risky for the WebUI to presume to filter these.
The WebUI can include these "for completeness" but not "for use".

On Oct 3, 2015, at 7:44 AM, 224XS<EMAIL_ADDRESS>wrote:
@bradanlane: while you are adding to the UI, remember to add a menu item and plate for Airspace uplink messages like SUA and TFRs.
For colors, I vote for the NOAA palette
For display of wx, I'd like to see some kind of notification or flagging of METARs as they change content during a flight.
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub.

The WebUI will only know where "it is" if there is a GPS available. Even then, it may be best if this level of filtering is done somewhere in the backend where the code is more efficient.
For the near term, I suggest we add this to a "futures" stack. We can get into the details and decision tree at some point.

On Oct 3, 2015, at 11:26 AM, 224XS<EMAIL_ADDRESS>wrote:
True, but the SUA usually come with graphic overlays. It should be possible to distance sort/filter from the data in the graphic portion
Sent from my iPhone

On Oct 3, 2015, at 8:17 AM, bradanlane<EMAIL_ADDRESS>wrote:
I'm not sure how useful SUA messages will be. here is an example:
SUA<PHONE_NUMBER>071|5550|W|M|ANNE LOW MOA|1012211925|1012212125|001|069|A|Y|53|ANNE LOW|MOA US 01022|ANNE LOW MOA, AR
I doubt anyone will find that information useful in-flight.
If Stratux receives all vs local SUA and TFR, the user will have to read and find the applicable reports. It's risky for the WebUI to presume to filter these.
The WebUI can include these "for completeness" but not "for use".

On Oct 3, 2015, at 7:44 AM, 224XS<EMAIL_ADDRESS>wrote:
@bradanlane: while you are adding to the UI, remember to add a menu item and plate for Airspace uplink messages like SUA and TFRs.
For colors, I vote for the NOAA palette
For display of wx, I'd like to see some kind of notification or flagging of METARs as they change content during a flight.
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub.

Please forgive me if I am being obtuse, but let me suggest that geolocation is a feature of nearly all
display devices running an app like FF or WingX, etc., thus a target device for the Stratux UI. It seems
all current HTML5 browsers support the geolocation API from what I see on W3C and other places.  Sometimes, the geolocation is not very accurate, if its just cell-tower based, but I think that market share is shrinking.
It just seems very valuable to have GPS for the planned UI including Traffic, Wx, self ship and self status, etc., at least as an option.
Easy enough to test for:   http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation

The issue is back to what JohnOCFII was eluding to. The WebUI was intended as an administrative interface to the Stratux device. If a user if fling with Stratux is is because they are using on of the apps you describe. Those app can and will always do a much better job at providing an interface to weather, traffic, etc.
The intent of displaying some amount of traffic and weather information was to confirm the device is functioning and to add with any issues a user may have in setup and configuration of the device.
The reason for this discussion was that it became immediately obvious that displaying all UAT uplink data would swamp the WebUI. Going back to the initial goal of "administration and diagnostics" displaying any of the UAT data is sufficient. I was looking for something that might also be interesting.

What problem is the WebUI trying to solve? The WebUI is suppose to be an
"administration and diagnostics" page correct? If so, then that's what it
should be.
Personally, I don't want to have to bring up a page/s that has/have major
functionality overlap with my primary app just to get to the admin and
diagnostics parts.
On Sat, Oct 3, 2015 at 6:50 PM, bradanlane<EMAIL_ADDRESS>wrote:

The issue is back to what JohnOCFII was eluding to. The WebUI was intended
as an administrative interface to the Stratux device. If a user if fling
with Stratux is is because they are using on of the apps you describe.
Those app can and will always do a much better job at providing an
interface to weather, traffic, etc.
The intent of displaying some amount of traffic and weather information
was to confirm the device is functioning and to add with any issues a user
may have in setup and configuration of the device.
The reason for this discussion was that it became immediately obvious that
displaying all UAT uplink data would swamp the WebUI. Going back to the
initial goal of "administration and diagnostics" displaying any of the
UAT data is sufficient. I was looking for something that might also be
interesting.
—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/70#issuecomment-145264142.

Do people agree with the following descending order (and if not, please provide your own defending list):

first purpose of the WebUI is administration
second purpose of the WebUI is diagnostics
third purpose of the WebUI is debugging
forth purpose of the WebUI is to provide interesting and useful ADSB data

On Oct 4, 2015, at 1:58 AM, Joseph Poirier<EMAIL_ADDRESS>wrote:
What problem is the WebUI trying to solve? The WebUI is suppose to be an
"administration and diagnostics" page correct? If so, then that's what it
should be.
Personally, I don't want to have to bring up a page/s that has/have major
functionality overlap with my primary app just to get to the admin and
diagnostics parts.
On Sat, Oct 3, 2015 at 6:50 PM, bradanlane<EMAIL_ADDRESS>wrote:

The issue is back to what JohnOCFII was eluding to. The WebUI was intended
as an administrative interface to the Stratux device. If a user if fling
with Stratux is is because they are using on of the apps you describe.
Those app can and will always do a much better job at providing an
interface to weather, traffic, etc.
The intent of displaying some amount of traffic and weather information
was to confirm the device is functioning and to add with any issues a user
may have in setup and configuration of the device.
The reason for this discussion was that it became immediately obvious that
displaying all UAT uplink data would swamp the WebUI. Going back to the
initial goal of "administration and diagnostics" displaying any of the
UAT data is sufficient. I was looking for something that might also be
interesting.
—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/70#issuecomment-145264142.

—
Reply to this email directly or view it on GitHub.

For my part, I agree that Settings Control, testing and debugging are primary.
I do think however, that there are some relevant flight data that can be be better communicated in a fresh interface than
any of the Pilot Apps currently in use. I will stipulate that my primary experience is with FF, but I have looked at the others
at SnF and KOSH.
The main issue with the pilot apps is that they are very cluttered and do not easily declutter.  If you are specifically looking for
traffic in a busy area, I think you can see targets with the best S/N against a blank radar-type screen or maybe the cockpit
view paradigm I put an example up of previously. If you don’t believe that app displays are cluttered, look at my sample of the
airspace around KATL(look up Stearman in reddit/stratux).  If Im buzzing VFR around the Bravo, and Approach is controlling
my nav, I don’t really need the sectional and a clean screen with just traffic and maybe airspace borders would be nice.  Just
my opinion.
Here’s another suggestion for simplified QA of signals.  Display some very simple heartbeat indicators on the primary web UI
page. What I am thinking is separate animated iconic graphics for UAT download messages, Upload Traffic, Upload Wx messages,
and 1090 messages.  Cycle the animations (like a beating heart, e.g.) as properly formatted messages in each category are received.
Other pages might then allow a peek at the scrolling messages for wx, traffic targets etc.  That kind of display should inform the
user that the messages are being successfully relayed into the display device and then reserve deeper drill downs for the primary app.
If a GPS is installed, the usual full display of GNSS status should be displayed on a web UI page since it might not be available in the primary
app, and the GPS module and its comm link to the Rasp Pi is the subject of a lot of message traffic on reddit.
Cheers

On Oct 4, 2015, at 5:48 AM, bradanlane<EMAIL_ADDRESS>wrote:
Do people agree with the following descending order (and if not, please provide your own defending list):

first purpose of the WebUI is administration
second purpose of the WebUI is diagnostics
third purpose of the WebUI is debugging
forth purpose of the WebUI is to provide interesting and useful ADSB data

I like the suggestion for a cleaner, more graphical status page. I'll investigate.
I have my Garmin EFIS setup with a small "radar scope" styled window lower right as my primary scan for ADSB traffic. It's exactly what you describe. It's very easy to interpret and works well in a busy cockpit scan.

I'm going to finish the very basic implementation of the Weather page using a watchlist. After I commit that code, I'll go back to the basic prioritized principles we've been discussing here and make improvements in descending order - starting with the status page. Once the GPS and AHRS code is stable, I'll build my Stratux test device and focus on that work.

Do people agree with the following descending order (and if not, please provide your own defending list):

I agree with your order and your reasoning.

here is a quick video of the WebUI for Traffic and Weather ...
http://player.vimeo.com/video/141345333

Looks great!

Fantastic!

This looks really great!

Very nice!
On Sun, Oct 4, 2015 at 11:07 PM, bradanlane<EMAIL_ADDRESS>wrote:

here is a quick video of the WebUI for Traffic and Weather ...
http://player.vimeo.com/video/141345333
—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/70#issuecomment-145387758.

Very nice!  Useful too!!

Bradan - nicely done! One thought on the weather ... an app I use shows "minutes old" which is really useful when quickly glancing at defined metars. Would you consider this for the "time" column?

I agree with "minutes" old and will make that change. @cyoung wants to deliver a new "release" so I put a stake in the ground to get the basics done.
In addition to "minutes old" I also want to color code METARs with the NOAA coloring for "flight conditions".

Put a off switch on the web ui to shut down the pi.

Hi @chevyflyer - the "shutdown option in the WebUI has been discussed (in this issue topic or another).
The best solution is to make the SD card read-only for normal operations. We don't want to require the typical user to launch the WebUI at the end of each flight in order to shutdown their Stratux.

With the exception of METAR coloring (which I am working on) I think this issue has been addressed. I'm going to close it. We can open a new issue if there is a bug or for other enhancement requests.

Yes, the off switch was discussed but if I recall it wasn't taken off the table, and where was it stated that the user would be required to use it?

I could provide the supporting research but it would be a lesson in cognitive psychology and learning curves. Suffice it to say, "adding a feature 'because we can' in not good UX design". Software should add what is needed and do it in the most intuitive way possible.

lmao

suffice it to say, "adding a feature 'because we can' in not good UX
design".

Zawinski's* Law*:
“Every program attempts to expand until it can read mail. Those programs
which cannot so expand are replaced by ones which can.”
On Oct 9, 2015 13:50, "bradanlane"<EMAIL_ADDRESS>wrote:

I could provide the supporting research but it would be a lesson in
cognitive psychology and learning curves. Suffice it to say, "adding a
feature 'because we can' in not good UX design". Software should add what
is needed and do it in the most intuitive way possible.
—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/70#issuecomment-146959594.

“Every program attempts to expand until it can read mail. Those programs
which cannot so expand are replaced by ones which can.”
Most focus on the first part of the statement but it's the second part that's important. The reality is that usage is the main driver and things that allow users to do more end up replacing those that don't.


math/rand: tests are too weak due to misuse of statsResults.maxError

The math/rand tests use the function nearEqual to compare floats:
func nearEqual(a, b, closeEnough, maxError float64) bool {
	absDiff := math.Abs(a - b)
	if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
		return true
	}
	return absDiff/max(math.Abs(a), math.Abs(b)) < maxError
}

A bit of thought suggests that maxError should always be pretty small, if this function is ever to return false. However, maxError is usually scaled everywhere it is used (e.g. stddev * 0.08), and in practice it frequently ends up >> 2.
As a result, many of the math/rand tests have no teeth. An extreme example of this is TestReadUniformity, which requires (among other things) that the mean of just 2 randomly selected bytes must be very near 255.0/2, a test which should almost always fail, but which currently succeeds, due to a large value of maxError. (Related: CL 51310.)
Replacing maxError with a constant 0.08 causes most math/rand tests to pass, except TestReadUniformity when called with small n (in which case it should fail).
However, I don't have enough domain expertise to know whether this is reasonable or whether an alternative bound would be better. Advice requested.
golang.org/s/owners lists no one for math/rand, so I'll guess and cc: @rsc @aclements @robpike

This is even worse than I thought. The existing code reads:
func (this *statsResults) checkSimilarDistribution(expected *statsResults) error {
	if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
		s := fmt.Sprintf("mean %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxError)
		fmt.Println(s)
		return errors.New(s)
	}
	if !nearEqual(this.stddev, expected.stddev, 0, expected.maxError) {
		s := fmt.Sprintf("stddev %v != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxError)
		fmt.Println(s)
		return errors.New(s)
	}
	return nil
}

Note that when checking stddev, closeEnough is set to 0 in the call to nearEqual. This means that all the work is being done by expected.maxError, which is generally too large.
Also, there should probably be separate values for closeEnough and maxError for mean and stddev, given that they are generally of very different scales.


refactor: split group_column.rs into multiple submoules

Which issue does this PR close?

Closes #13262.
Rationale for this change

What changes are included in this PR?

separate /group_column.rs into /multi_column/primitive.rs, /multi_column/byte.rs, and /multi_column/byte_view.rs
create /multi_column/mod.rs and place shared trait and function in this file

Are these changes tested?

Are there any user-facing changes?

@Chen-Yuan-Lai You can run ./dev/rust_lint.sh to before push the code

@jayzhan211 thanks for your review! but the other PR (#13352) with the same issue has already been merged. @Rachelint you may need to reorganize codes again based on his change?

Yes.

https://github.com/apache/datafusion/pull/13392 -- I think has the follow on improvements


experimental.docker.com installs regular release on ubuntu/debian

Using curl -fsSL https://experimental.docker.com | sh installs the current release (1.9.1) on Ubuntu/Debian, not the experimental build.
To fix this, this line;
url="https://experimental.docker.com"

Should be changed to (trailing slash)
url="https://experimental.docker.com/"

Otherwise the wrong repository is selected;
elif [ "https://experimental.docker.com/" = "$url" ]; then
     repo='experimental'
fi

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

ping @jfrazelle because you have access to that server :smile:

If we merge a PR it will automatically fix itself tomorrow
On Saturday, January 23, 2016, Sebastiaan van Stijn <
<EMAIL_ADDRESS>wrote:

ping @jfrazelle https://github.com/jfrazelle because you have access to
that server [image: :smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/19620#issuecomment-174261608.

If we merge a PR it will automatically fix itself tomorrow

Oh! Looks like I interpreted that as "no change needed, it'll fix itself", haha

i meant after we fix it it will be magic ;)

and its all better :D, thanks for noticing!!! https://experimental.docker.com/

wooohoo!


Fixes the Mouse Effect Enum

The Mouse Effect Enum was in the wrong order causing everything below Custom to not work as expected (including SetAll which accesses CustomGrid). Custom2 (CustomGrid) needs to be beneath Custom.
From the official Type definition:
 typedef enum EFFECT_TYPE
        {
            CHROMA_NONE = 0,            //!< No effect.
            CHROMA_BLINKING,            //!< Blinking effect.
            CHROMA_BREATHING,           //!< Breathing effect.
            CHROMA_CUSTOM,              //!< Custom effect (old definition to maintain backward compatibility).
            CHROMA_CUSTOM2,             //!< Custom effects using a virtual grid.
            CHROMA_REACTIVE,            //!< Reactive effect.
            CHROMA_SPECTRUMCYCLING,     //!< Spectrum cycling effect.
            CHROMA_STATIC,              //!< Static effect.
            CHROMA_WAVE,                //!< Wave effect.
            CHROMA_INVALID              //!< Invalid effect.
        } EFFECT_TYPE;

Looks good, can you remove the trailing whitespace on the two added blank lines please? I'll run this by @brandonscott as well.

Looks good.  Thanks for contributing @WolfspiritM.

Yes I tested it :-) The only things I can't get working for the mouse is blinking and reactive effects but didn't get them to work with native c++ api, too.

@WolfspiritM Okay, do you have any example source?  I'll pass it on to the SDK engineers.  Thanks again :)

@brandonscott Sure. No Problem. Here is a sample code with working and not working examples:
	// Works as expected
	ChromaSDK::Mouse::STATIC_EFFECT_TYPE staticColor = { RZLED_ALL, YELLOW };
	CreateMouseEffect(ChromaSDK::Mouse::CHROMA_STATIC, &staticColor, NULL);

	Sleep(10000);

	// Works as expected
	ChromaSDK::Mouse::BREATHING_EFFECT_TYPE breathing = { RZLED_ALL, ChromaSDK::Mouse::BREATHING_EFFECT_TYPE::RANDOM_COLORS };
	CreateMouseEffect(ChromaSDK::Mouse::CHROMA_BREATHING, &breathing, NULL);

	Sleep(10000);

	// Works as expected
	ChromaSDK::Mouse::SPECTRUMCYCLING_EFFECT_TYPE cycle = { RZLED_ALL };
	CreateMouseEffect(ChromaSDK::Mouse::CHROMA_SPECTRUMCYCLING, &cycle, NULL);

	Sleep(10000);

	// Works as expected
	ChromaSDK::Mouse::WAVE_EFFECT_TYPE wave = { ChromaSDK::Mouse::WAVE_EFFECT_TYPE::FRONT_TO_BACK };
	CreateMouseEffect(ChromaSDK::Mouse::CHROMA_WAVE, &wave, NULL);

	Sleep(10000);

	// Does not do anything
	ChromaSDK::Mouse::BLINKING_EFFECT_TYPE blinking = { RZLED_ALL, GREEN };
	CreateMouseEffect(ChromaSDK::Mouse::CHROMA_BLINKING, &blinking, NULL);

	Sleep(10000);

	// Makes the mouse black but does not react to anything
	ChromaSDK::Mouse::REACTIVE_EFFECT_TYPE reactive = { RZLED_ALL, ChromaSDK::Mouse::REACTIVE_EFFECT_TYPE::DURATION_SHORT, RED };
	CreateMouseEffect(ChromaSDK::Mouse::CHROMA_REACTIVE, &reactive, NULL);

Hope that helps!

@WolfspiritM Where did you get the Type definition from? Which version of the documentation?

https://gist.github.com/anonymous/a90e6899078210749643

@WolfspiritM @brandonscott just answered a few seconds after. In the latest SDK, it's been moved again.


re-export ExprKind

Super simple one, just re-exporting ExprKind in the root. Or is there a specific reason this wasn't included?

Thanks! No reason, I messed up when I introduced ExprKind. I released this as 0.10.1.


VirtualFile.get_file_size() returns ValueError if file does not exists?

VirtualFile.get_file_size() returns ValueError if file does not exists?
======================================================================
ERROR: testGetFileSize (virtual_file.VirtualFileTest)
Tests the get_file_size function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "UnifiedLogReader/tests/virtual_file.py", line 24, in testGetFileSize
    file_size = file_entry.get_file_size()
  File "UnifiedLogReader/UnifiedLog/virtual_file.py", line 45, in get_file_size
    raise ValueError('File pointer was invalid. File must be opened before calling get_file_size()')
ValueError: File pointer was invalid. File must be opened before calling get_file_size()

@ydkhatri is this the intended behavior? IMHO an IOError('No such file') or equiv would be more clear.

Yes, you can change it to that. I didn't care as long as it was some kind of exception!

I have made the change in last commit. https://github.com/ydkhatri/UnifiedLogReader/commit/d48f0a54a404642333ab6e89a177e4c09c495042.


Q: Logging from actors

I've been using Cricket for a little while now and so far i'm quite impressed. However, there are some simple things I haven't been able to properly figure out yet. One of these things is how to properly log messages from within actors. I found the logger class but it was unclear to me how this logger could be accessed from within an actor. Can this be done?

There is the Tracing Module, which you can use to capture messages. The messages are captured in a dapper-esque format. There is a basic example here, let me know if that is what your looking for.

I'll check it out. Thanks for the help!


fix(delay): emit complete notification as soon as possible

Description:
This is an attempt to fix #4249. delay will now emit complete notification as soon as possible. This means that if there are no values queued it'll emit immediately. If there are queued values then it'll emit complete right after the last scheduled value.
Since complete shouldn't be delayed I'm not even adding it into the queue which means complete might be sent in the same frame as the last value. For this reason I had to change this test https://github.com/ReactiveX/rxjs/compare/master...martinsik:fix-4249?expand=1#diff-dd8d0ea30be1698896e447581ec91fffR379
Related issue (if exists):
This is a breaking change although probably not many people rely on this behavior.
Closes #4249

Pull Request Test Coverage Report for Build 7829

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
6 unchanged lines in 4 files lost coverage.
Overall coverage increased (+0.1%) to 96.951%

Files with Coverage Reduction
New Missed Lines
%

src/internal/observable/fromPromise.ts
1
87.5%

src/internal/operators/mergeScan.ts
1
96.51%

src/internal/observable/fromIterable.ts
2
95.24%

src/internal/observable/fromObservable.ts
2
83.33%

Totals

Change from base Build 7818:
0.1%

Covered Lines:
5787

Relevant Lines:
5969

💛  - Coveralls

Looks good. But will have to wait for the next major version, because it's a breaking change.


Mismatched dark mode colours (v1.9.1)

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[x] Bug is not already reported in another issue

Technical details

Device name: iPhone 12 Pro Max
iOS Version: 14.3
App Version: 1.9.1

Describe the bug
See screenshot, dark mode colours in test result screen do not match
Steps to reproduce the issue

Open test result screen with registered test
See error

Internal Tracking ID: EXPOSUREAPP-4226

It is not only about this screen, f.e. also this screen:

Hey @max-ae ,
Thank you for the report. We are aware of the issue and are currently investigating it internally in our Jira ticket system (your ticket ID: EXPOSUREAPP-4226) to find the cause of the UI glitches. Once we get news when an update is ready, we will inform you here on Github.
Regards,
CH

Corona-Warn-App Open Source Team

PR: #1719
Fix will be in 1.11.0 (according to the milestone)

@max-ae
Can you confirm that this is solved with 1.11?

@max-ae
Can you confirm that this is solved with 1.11?

Yes, I can confirm that this issue is fixed with 1.11.


translate C to GO fatal error: unexpected signal during runtime execution

What version of Go are you using (go version)?

$ go version
go version go1.12.7 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GOPROXY=""
GORACE=""
GOROOT="/data/go"
GOTMPDIR=""
GOTOOLDIR="/data/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build976429460=/tmp/go-build -gno-record-gcc-switches"

What did you do?
translate C  to GO ; fatal error ; Help!!!
[root@e5a86baa4b98 test]# go run main.go
leave msg: index = 0 ,len = 4198
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x106602119cd0 pc=0x7fbc16187098]

runtime stack:
runtime.throw(0x477edf, 0x2a)
        /data/go/src/runtime/panic.go:617 +0x72
runtime.sigpanic()
        /data/go/src/runtime/signal_unix.go:374 +0x4a9

goroutine 1 [syscall]:
runtime.cgocall(0x452c80, 0xc000032708, 0xc000080000)
        /data/go/src/runtime/cgocall.go:128 +0x5b fp=0xc0000326d8 sp=0xc0000326a0 pc=0x40407b
main._Cfunc_GetImageStreamFunc(0xc00007c000, 0x5c0041a00000, 0xc000003300, 0xc00007c004, 0xc000080000, 0x0)
        _cgo_gotypes.go:85 +0x4e fp=0xc000032708 sp=0xc0000326d8 pc=0x4525de
main.main.func1(0xc00007c000, 0xc00007c004, 0xc000080000, 0x0)
        /data/src/test/main.go:32 +0xd2 fp=0xc000032748 sp=0xc000032708 pc=0x452af2
main.main()
        /data/src/test/main.go:32 +0x102 fp=0xc000032798 sp=0xc000032748 pc=0x452952
runtime.main()
        /data/go/src/runtime/proc.go:200 +0x20c fp=0xc0000327e0 sp=0xc000032798 pc=0x42697c
runtime.goexit()
        /data/go/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc0000327e8 sp=0xc0000327e0 pc=0x44b4e1
exit status 2

go file
package main

/*
#cgo CFLAGS: -I /data/src/imageparser/libs
#cgo LDFLAGS: -L /data/src/imageparser/libs -lImageOperationLib
typedef struct IMAGE_INFO_STRUCT
{
    int DataFilePTR;
}ImageInfoStruct;
typedef void  *LPVOID;

int InitImageFileFunc( ImageInfoStruct* sImageInfo, const char* Path );
int UnInitImageFileFunc( ImageInfoStruct* sImageInfo );
char * GetImageStreamFunc( ImageInfoStruct* sImageInfo, float fScale, int nImagePosX, int nImagePosY, int* nDataLength,  char** ImageStream );
int DeleteImageDataFunc( LPVOID pImageData );
*/
import "C"

func main() {
	var h C.ImageInfoStruct

	r := C.InitImageFileFunc(&h, C.CString("/data/src/imageparser/data/somefile.kfb"))
	if int(r) != 1 {
		panic("open file failed!")
	}
	defer C.UnInitImageFileFunc(&h)

	var dataLength C.int
	var imageStream *C.char

	for i := 0; i < 10; i++ {
		C.GetImageStreamFunc(&h, 20, 92*256, 51*256, &dataLength, &imageStream)
		C.DeleteImageDataFunc(C.LPVOID(imageStream))
		println("leave msg: index =", i, ",len =", dataLength)
	}
}

C file can do
#include "stdio.h"
#include "imageparser/libs/jfsdk.h"

//gcc test.c -L./imageparser/libs -lImageOperationLib && ./a.out

int main() {
	ImageInfoStruct h;
	int r;

	r = InitImageFileFunc(&h, "/data/src/imageparser/data/somefile.kfb");
	if (r != 1) {
		printf("open file failed!\n");
		return 0;
	}

	int len;
	char* imageStream;

	int i;
	for (i = 0; i < 10; i++) {
		GetImageStreamFunc(&h, 20, 92*256, 51*256, &len, &imageStream);
		DeleteImageDataFunc((LPVOID)imageStream);
		printf("leave msg: index = %d len = %d\n", i, len);
	}

	UnInitImageFileFunc(&h);
}

What did you expect to see?
can run
What did you see instead?
fatal error

This is a segmentation violation in your C code.  I don't see anything wrong with your Go code.  I don't know why it behaves differently than your C code.
Is there a way that we can recreate the problem ourselves?  If not, I'm not sure that we can help.

I will make some code to give yours to recreate the problem!I wish golang better!!!Just a moment!!!

I wrote some pseudo code, but there is no way to reproduce the problem. This file is a company file, I can't upload it directly. I contacted a third-party sdk development engineer on Monday to see if I can provide some clues.

var h C.ImageInfoStruct
log.Println(" ") //but I put here(fmt or log).Println(" ")  The problem is solved, I don't know why.

I suggest that you run the failing case under a debugger to see exactly where the segmentation violation occurs.

I put all the demo files to the address https://github.com/blacktear/issue33180 shoud recreate the problem ,you can debug!

I don't know how you wrote your code, but you seem to be calling a C++ function by calling a C function that just jumps to the C++ code.  Don't do that.  Write an extern "C" function that uses the C ABI rather than the C++ ABI.
If you want a better answer, show us the source code for libImageOperationLib.so rather than sending us a binary.

I don't have the source code of the so file. It seems that I have to find someone to write this SDK. I will try to see if I can.


Add support for Rocket 0.5

Is your feature request related to a problem? Please describe.
Hello, since one week, Rocket 0.5 was released and Juniper-Rocket does not work with this new version.
Describe the solution you'd like
Add support for Rocket 0.5

We have support in-repo, we just need to make juniper_rocket_async be released as juniper_rocket


Import other zwave devices?

Have you thought about importing other zwave devices connected to an Abode gateway?  I stumbled on your plugin, but I don't manage my locks through Abode.  I have several zwave light switches and outlets that I installed pre-homekit era that I'd like to include though homebridge vice home-assistant.
It seems like like you're already looping over all of the devices from Abode here and would image this is where other device types could be set.
https://github.com/jasperpatterson/homebridge-abode-locks/blob/4cc074e2cd6dce00827907e45df426e2eda192be/src/platform.ts#L89
I'm new to TypeScript but am willing to try though it'll take me some time and I'd have to reference your code a ton.
Anyways, just thought I'd ask to see if you'd thought about this.  Thanks for contributing to the community.

Personally I only have door locks, so that's where my interest was, and all I had the ability to test.
Assuming the other Zwave work in a similar way, my code shouldn't be too difficult to reuse for them. You'd need to write the corresponding Homebridge accessories, and some abode API calls for controlling the device (similar to controlLock).

I get it. Your code is a great jumping off point
Admittedly, I am not much of a developer anymore. I frequent in bash and YAML more than I do anything else
I've been playing with the API a bit today in Postman but can't figure how to update the status through a PUT command. I've tried passing ?status=On as a parameter and I've tried as a body request. Do you have any tips or pointers?  I grabbed my bearer token from the dev tools in chrome when logging in. This lets me at least query the decides so I figured I could set too.
Thanks!

PUT would generally use the request body. I'd recommend controlling the device on abode's website while using the network inspector in Chrome, then you can make sure you're matching the same URL, body, and headers as they do.

Thanks for the pointers.  I must be missing something to use Postman, but I've been able to make some really great progress on a plugin to integrate lights and switches.  Your code has been the only reason I've been able to get anything done!


Not able to delete msg on Android 10, WRITE_SMS permission is not valid anymore either

Is there any work around to make it work?
Thanks

Hi, Zairwolf
Let me have a look at the issue and will get back with a fix. Thanks for raising this.

Hi, @zairwolf.
1. Delete message
Is the app the default SMS handler? If not, it's not possible to delete messages.
You can check out this thread for the full explanation ->
https://github.com/briankabiro/react-native-get-sms-android/issues/51#issuecomment-576307007
2. Write sms permission
Going to look at this now and see whether it changed on Android 10

Hi, @zairwolf.
1. Delete message
Is the app the default SMS handler? If not, it's not possible to delete messages.
You can check out this thread for the full explanation ->
#51 (comment)
2. Write sms permission
Going to look at this now and see whether it changed on Android 10

It there a way to make my RN app as the default messaging app?

Hi, @zairwolf.
1. Delete message
Is the app the default SMS handler? If not, it's not possible to delete messages.
You can check out this thread for the full explanation ->
#51 (comment)
2. Write sms permission
Going to look at this now and see whether it changed on Android 10

It there a way to make my RN app as the default messaging app?

It there a way to make my RN app as the default messaging app?

Did you realize how to do these tasks?

It there a way to make my RN app as the default messaging app?

Did you realize how to do these tasks?

hii
Can You suggest Some code Or Reference Project In android java language


Remove all "private"

:tada: This PR is included in version 3.5.12 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Website broken link(s) for Contributing section

Describe the bug
When navigating the website, the pages inside Contributing section return 404
To Reproduce
Open https://external-secrets.io/latest/contributing-devguide.md
See 404
Expected behavior
Open https://external-secrets.io/latest/contributing-devguide.md
See correct content
Screenshots

Additional context

Hmm, May I ask where the line comes from? The correct URL is following:
https://external-secrets.io/latest/contributing/devguide/

Did you try to use the website and either top navigation bar links or hamburger menus. The incorrect links come from there.

How did you find this URL in the first place?
https://external-secrets.io/latest/contributing-devguide.md

This was already fixed - we removed those burger menus. See https://external-secrets.io/main for reference. When we publish a new release (likely on monday, this should be fixed :))


update library structure

graphql-kotlin is currently a single module project but it also contains standalone example project under root directory, i.e.  our current library structure is
graphql-kotlin [lib project]
  |- example [example app project]

Even though example APP project is under graphql-kotlin directory it is not a child project of graphql-kotlin.
Maybe we should restructure the project as
graphql-kotlin [root]
|- graphql-kotlin-schema [move + rename existing lib]
|- graphql-kotlin-spring-example [rename existing example]

This would allow us to create more specialized packages in the future, e.g.

graphql-kotlin-federation - schema extension for supporting GraphQL federation spec
graphql-kotlin-engine - native kotlin query runtime (i.e. drop dependency on graphql-java)
graphql-kotlin-spring-server - boilerplate code for setting up Spring apps (i.e. our example app)
graphql-kotlin-ktor-server
graphql-kotlin-client - Kotlin native GraphQL client
... and potentially some others

This sounds good to me. Especially renaming the library. That means we would be published as a different artifact. So I would vote to go explicit graphql-kotlin-schema-generator because we can have a separate package if with wanted to publish the schema as its own package.


Provide a way to specify a configuration file

Current code hardcodes the configuration to a specific XML file.
There should be an option - in a Shiro compatible way ideally - to specify a custom config file.
Also we should not read the config file each time a cache needs to be created as is currently the case.

Merged - https://github.com/ehcache/ehcache-shiro/pull/14


Study delete takes a long time if many datasets

Deleting a study with many datasets takes a long time, because sepes is waiting for the storage accounts to be deleted.
Should be performed by worker intead

Deletion now handled by worker, problem not present anymore


Please add null-safety

Moving to flutter 2.0, it would be great to be able to use this there.

I will update in next release


APP-240: Basic level Apps: Events: Update schemas and configuration

Drop the old schema and add the new one to Sandbox builder code.
Reviewers: @Slash32, @Dubland and @vadimol

It should be checked with Event demo


PreTag: [System - barreleye Build -<PHONE_NUMBER>5319 ] : Set boot policy to invalid value - Fails

Keyword "Should Be Not Equal" need to be corrected to "Should Not Be Equal"
Error:
No keyword with name 'Should Be Not Equal' found. Did you mean:
BuiltIn.Should Be Equal

Fixed already integrated. So closing.


update deps and go to 1.20

Codecov Report

Merging #102 (0694abf) into main (440eb66) will not change coverage.
The diff coverage is 50.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #102   +/-   ##
=======================================
  Coverage   41.03%   41.03%
=======================================
  Files          10       10
  Lines         675      675
=======================================
  Hits          277      277
  Misses        370      370
  Partials       28       28

Flag
Coverage Δ

unittests
41.03% <50.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

plugin/artifactory_client.go
17.34% <50.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Changes related to template file

Before this gets merged... has it been tested?
The changes to Template look good.
Why remove Bootstrap from the project? Your version loads bootstrap from an external site - any reason for the change? The reason for keeping the files local was to still support users connecting through the CyberRange.

Before this gets merged... has it been tested?

As far as things I could do when editing this file in a local server (at home), I can confirm that it tested and work. I can't really do any further stress testing because of the limitation I just mentioned. However, as mostly the file I'm changing are re-formatting the codes in a more readable format so it shouldn't (possibly) break anything>

The changes to Template look good.

Glad to hear that :D

Why remove Bootstrap from the project? Your version loads bootstrap from an external site - any reason for the change? The reason for keeping the files local was to still support users connecting through the CyberRange.

According to the [^1][Boostrap documentation][https://getbootstrap.com/docs/5.2/getting-started/introduction/], I think it's better to include the CDN version of Boostrap so that we can easily search up the up-to-date styling values that anyone might need to do changes related to UI / UX design. I have also tested this if it does work for different browsers (GG Chrome, Microsoft Edge, Firefox, and Samsung Internet. I don't have Iphone or Macbook to test Apple-related applications) and operating systems (Windows and Linux tested, I don't have a MacOS one). It does work as how it should be with local files. I think I forget to include the Popper CDN links (which works for dropdown styling and such) from Boostrap so can you possibly add it in too? You can search for it from my provided link[^1]

And it's actually reduce the project (website) file sizes because we only use one of their CSS file by including those CDN links in, rather than having to load the whole bundles, which we hardly ever use all of them for this project (even when the local file still there).

Agree with all of your points, but before we get too far further, I want to test this version on our server. So, we'll hold off on merging this until we can test in production.

No worries.

In testing - Currently this version is located at http://<IP_ADDRESS>/CC-test/CyberCity/ .
BREAKING CHANGES:

The navbar is not rendering correctly - the register and login buttons are stacking on top of each other (Unsure if this is my browser).
2d7922f - Due to the PDO logic changes, all instances of $conn in files that use the database need to be changed to $pdo , and in my testing, this new logic has broken the login page. Currently, when correct credentials are entered, the login page flashes the 'incorrect credentials' error message and login is unsuccessful. This could possibly be attributed to the error it is throwing: (Warning: Undefined array key 0 in /var/www/CC-test/CyberCity/website/pages/user/login.php on line 40).

Other pages are untested - I cannot login to test at this stage.
Will try to debug and add a commit to this PR if I can fix it.

Can $pdo in template.php be renamed to $conn?
Would that fix the issue?

Addition information for my commitments:

Can $pdo in template.php be renamed to $conn? Would that fix the issue?

[pdo-connection-template] : https://www.php.net/manual/en/pdo.connections.php

According to the [PHP example on how to setup a PDO connection][pdo-connection-template], the naming variable for making connections does not need to be set specifically to '$pdo' or '$conn' (or '$dbh' like they do) so @Trixelit, you can safely convert it back to the original version of this file.

The navbar is not rendering correctly - the register and login buttons are stacking on top of each other (Unsure if this is my browser).

I got this issue as well when refactoring this file on the local server. I'm using both Firefox and Microsoft Edge to test it at the time of refactoring it. The issue might lie in the fact that we setup the 'Navigation Bar' quite weirdly. I don't want to fix it 'cause it can be fixed fairly easily (?) but I need to talk with the whole UI / UX team first.

[!NOTE]
Take a look at some of my comments (TODOs one) for further explanation.

Currently, when correct credentials are entered, the login page flashes the 'incorrect credentials' error message and login is unsuccessful. This could possibly be attributed to the error it is throwing: (Warning: Undefined array key 0 in /var/www/CC-test/CyberCity/website/pages/user/login.php on line 40).

I can't really provide any further information about this because I don't have access to the website's actual database from home. However, it might just be because of the changes on the database connection method.

I can see the 'Navigation Bar' fixed now, according to what we have discussed in class about the main issue leading to that. Can this be mergeable now?

I'll let @RyanCather be the judge of this.
Current issues:

A few navbar items are not aligned across the horizontal lines
The links in the dropdown menus currently do not work, and when clicked the entire navbar locks up and cannot be clicked

I'll let @RyanCather be the judge of this.
Current issues:
* A few navbar items are not aligned across the horizontal lines

* The links in the dropdown menus currently do not work, and when clicked the entire navbar locks up and cannot be clicked

Okay then.

UPDATE PART 2 - 13/08/24 07:30:00PM:

I believe I have the successfully fix the second issue. Just need a quick test from the test server at school.

Given it a test, and it seems to be working on both phpstorm and the server. Merging


Use proper method to check snippet existence in the snippetClassMap

"contains" searches by value not by key - "containsKey" should be used

Hey @mroocoo thanks for the contribution!
Was there a discussion about this on our mailing list somewhere? I haven't looked at these changes in depth yet, but having some sort of description of the behavior you were seeing that caused you to want to change this would be super helpful for review. =)

Hi, i don't know if there is any discussion about this. Some time ago i've noticed that snippet classes was unnecessarily searched each time when rendered and as there were many classes in my project it was slow. I made this small change on my local branch and this fixed my issue. And as you look at the code other methods of snippetClassMap ('putIfAbsent', 'get') access this map by key, but 'contains' do not. With the 'contains' method the snippet class cache does not work at all and searches classes each time when invoked.  Dnia 12 kwietnia 2017 15:49 Matt Farmer<EMAIL_ADDRESS>napisał(a):  Hey  github.com @mroocoo  thanks for the contribution!  Was there a discussion about this on our mailing list somewhere? I haven't looked at these changes in depth yet, but having some sort of description of the behavior you were seeing that caused you to want to change this would be super helpful for review. =)  —  You are receiving this because you were mentioned.  Reply to this email directly,  github.com view it on GitHub , or  github.com mute the thread .

Got it.
Per our contributing guidelines we typically like to have a discussion on the mailing list to validate that there's not some unexpected edge case as a result of this, but given that this is a fairly straightforward change and looks pretty uncontroversial I think we can waive that requirement.
I'll try to make some time tomorrow to test and grok this, unless someone gets to it before me.

@mroocoo Please add your name and email to the contributors file at the root of the project so this meets that requirement of our contribution guidelines.

Upon closer look, this is probably an artifact of the switch from Scala concurrent maps to the Java ConcurrentHashMap. Sadly wasn't flagged by the compiler.
Thanks for the contribution!

These changes are approved. Thank you again @mroocoo, this will ship as a part of Lift 3.1.0-M3 on or around the first of June!


Docs: Fix typo on index.md

This is already fixed by @emzoumpo in #558

https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/

https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/


Auto focusing upon render

Hi, I'm trying to use Mustache on an android app, I'm using webview. I've noticed that when I'm rendering an element it's seems that mustache randomly focusing/activating (example:a button is clicked on render) a rendered element after. I'm sorry if this is a duplicate post but I already perused closed issues but found none like my issue.

Hi @dvbondoy!
Code examples would greatly help us debug this issue.
mustache itself doesnt focus or activate buttons. In your example I assume mustache is generating HTML to be displayed in the webview. In HTML one can add attributes on inputs signaling it should get focus, is that what you are doing? Or maybe you have some clientside javascripts running?

Hello @phillipj sorry i forgot to give more details. you're right i use mustache to generate part of my html file to pass object on my static html. i don't want to focus or trigger and element or inputs upon loading. what's bugging me for days is that when my static page load, that part that mustache rendered are being triggered like a link or a button. i'm not really sure if it's mustache fault or webview itself. Here's some of my code..
//note:placed at the bottom of my static page

//note:placed at the bottom my static page
$("#account_list").html(function(){
var template = $("#accounts_tmpl").html();
var render = Mustache.render(template, {"accounts":JSON.parse(accounts)});
$(this).html(render);
});
//note:place in a separate js file
bootcards.init( {
offCanvasBackdrop : true,
offCanvasHideOnMainClick : true,
enableTabletPortraitMode : true,
disableRubberBanding : true,
disableBreakoutSelector : 'a.no-break-out'
});
//and the part rendered by mustache

Could you use markdown to style that code? It's a bit hard to guess what you are trying to show.
https://help.github.com/articles/github-flavored-markdown/

Hi @dasilvacontin sorry i wasn't aware of that that Markdown, my first time to comment a code. Anyway i just found the culprit. i did try to disable fastclick.js and my problem is gone. i would really appreciate if some of you can give an advice where i can still use fastclick.js along with mustache. Thanks a lot.

Just read fastclickjs docs and i think i found a way. Thanks a lot @dasilvacontin and @phillipj . You guys are awesome. This is my first time to use mustache and it's awesome.

No worries! Feel free to ask again when in doubt. :)


Tests with many goldens (i.e. flutter/test/painting/star_border_test.dart) make Skia gold angry

I personally run into this a bunch in "Framework Smoke Tests" on flutter/engine. I suspect it impacts framework CI as well.
Example output:
19:17 +7651 ~121: /b/s/w/ir/cache/flutter/packages/flutter/test/painting/star_border_test.dart: StarBorder parameters
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following HttpException was thrown while running async test code:
Connection closed before full header was received, uri =
https://flutter-gold.skia.org/img/images/c4be4c17b9a965d6cd1b33d7467419b6.png

When the exception was thrown, this was the stack

The exception was caught asynchronously.
════════════════════════════════════════════════════════════════════════════════════════════════════

19:17 +7651 ~121 -1: /b/s/w/ir/cache/flutter/packages/flutter/test/painting/star_border_test.dart: StarBorder parameters [E]
  Test failed. See exception logs above.
  The test description was: StarBorder parameters

To run this test again: /b/s/w/ir/cache/flutter/bin/cache/dart-sdk/bin/dart test /b/s/w/ir/cache/flutter/packages/flutter/test/painting/star_border_test.dart -p vm --plain-name 'StarBorder parameters'

I am going to send a PR to temporarily disable this test, but I have two recommendations:

star_border_test has too many golden files (by my count, over 70 in this particular unit test). That seems excessive.
skia_gold_client needs some combination of respecting HTTP status codes, and potentially queueing/backoff

I suspect it impacts framework CI as well.

It does not.
The framework smoke tests run in flutter/engine need to use an expensive path for running golden file tests. They use the local comparator since the goldctl tool that directly communes with the Gold server is authenticated and tied to the specific repo it is tracking. So gold tests for flutter/flutter run from flutter/engine cost a lot in manually making requests to public endpoints and having to download images locally for comparison.
This is not an issue in flutter/flutter because the goldctl tool is available for directly interfacing with the server, instead of downloading images, it sends the images to gold for processing and gold sends back a result. So the framework is not affected by this.
Maybe flutter/engine should run a reduced set of smoke tests instead?

I think it's already a reduced set, but I'm open to reducing the reduced set.

Downgrading to P2 based on discussion with Kate and Jonah offline.

So far we have fixed this by turning off goldens that were getting thrown into the void.


libpng: Depends on zlib for Linuxbrew

Fix configure: error: zlib not installed

==> brew test --verbose libpng
Testing libpng
==> /usr/bin/gcc test.c -I/home/travis/build/Linuxbrew/linuxbrew/Cellar/libpng/1.6.21/include -L/home/travis/build/Linuxbrew/linuxbrew/Cellar/libpng/1.6.21/lib -lpng -o test
.
==> ./test
Last 150 lines from /home/travis/.cache/Homebrew/Logs/libpng/02.test:
2016-03-23 00:20:04 +0000
./test
Error: libpng: failed
Failed executing: ./test

https://travis-ci.org/Linuxbrew/linuxbrew/builds/117854580#L1208-L1220
See https://github.com/Linuxbrew/linuxbrew/blob/master/Library/Formula/libpng.rb#L49
system ENV.cc, "test.c", "-I#{include}", "-L#{lib}", "-lpng", "-o", "test"

ENV.cc is not set correctly in the test block. It has the value /usr/bin/gcc, when it should be gcc-5.
brew test libpng --cc=gcc-5 works.


Spelling Error fix

There was a spelling error when issuing the fix command so I fixed it.

thank you


APEXCORE-733 implement the new logic using apex.dfsRootDirectory and impersonated user flag

@PramodSSImmaneni pls review and merge as appropriate

@PramodSSImmaneni made the suggested change. Pls review and merge as appropriate

@PramodSSImmaneni comments incorporated and squashed commits. Pls review and merge as appropriate

I believe the following methods would need to be call would need to be changed to getApexDFSRootDir, please chk
StramAgent.getAppsRoot
StramAppLauncher.init
StramAppLauncher.setTokenRefreshCredentials
StramClientUtils.cleanAppDirectories

@PramodSSImmaneni comments incorporated and commits squashed. Pls review and merge as appropriate

Can you address the one comment and rebase

@PramodSSImmaneni addressed the comment and rebased to master.

@PramodSSImmaneni addressed comments and squashed commits

@PramodSSImmaneni pls review and merge

@sanjaypujare can you check tests are failing


refactor(create-api): add vue-create-api and replace

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow DiDi's contributing guide.
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

Travis tests have failed
Hey @tank0317,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
Node.js: 6

     npm test

><EMAIL_ADDRESS>test /home/travis/build/didi/cube-ui
> npm run unit && npm run codecov

><EMAIL_ADDRESS>unit /home/travis/build/didi/cube-ui
> cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run

(node:3536) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
Hash: 11cc086718c07b441394
Version: webpack 3.12.0
Time: 53583ms
                   Asset     Size  Chunks                    Chunk Names
fonts/cubeic.dcc2b6f.ttf  12.5 kB          [emitted]
                index.js  7.51 MB       0  [emitted]  [big]  index.js
  [18] ./src/components/picker/picker.vue 2.04 kB {0} [built]
  [19] ./src/common/helpers/debug.js 7.41 kB {0} [built]
  [22] ./src/components/popup/popup.vue 2.04 kB {0} [built]
  [23] ./src/modules/picker/api.js 4.55 kB {0} [built]
  [24] ./src/components/checkbox/checkbox.vue 2.05 kB {0} [built]
  [34] ./node_modules/babel-runtime/core-js/promise.js 88 bytes {0} [built]
 [120] ./src/components/slide/slide.vue 2.04 kB {0} [built]
 [212] ./test/unit/index.js 1.23 kB {0} [built]
 [232] ./node_modules/vue/dist/vue.runtime.esm.js 212 kB {0} [built]
 [235] ./node_modules/basic-mouse-event-polyfill-phantomjs/index.js 796 bytes {0} [built]
 [236] ./node_modules/phantomjs-polyfill-find-index/findIndex-polyfill.js 712 bytes {0} [built]
 [237] ./test/unit/specs \.spec$ 832 bytes {0} [built]
 [515] ./src ^\.\/\w+\/.+$ 11.7 kB {0} [built]
 [527] ./src/common/stylus/var/box-shadow.styl 1.39 kB {0} [optional] [built]
 [529] ./src/common/stylus/var/color.styl 1.38 kB {0} [optional] [built]
    + 520 hidden modules

ERROR in ./test/unit/specs/scroll-nav-bar.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/scroll-nav-bar.spec.js 3:4-117
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/action-sheet.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/action-sheet.spec.js 3:4-97
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/cascade-picker.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/cascade-picker.spec.js 3:4-141
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/date-picker.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/date-picker.spec.js 3:4-154
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/dialog.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/dialog.spec.js 3:4-91
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/image-preview.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/image-preview.spec.js 3:4-116
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/index-list.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/index-list.spec.js 3:4-140
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/loading.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/loading.spec.js 3:4-92
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/picker.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/picker.spec.js 3:4-124
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/popup.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/popup.spec.js 3:4-90
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/button.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/button.spec.js 3:4-91
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/scroll.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/scroll.spec.js 3:4-109
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/segment-picker.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/segment-picker.spec.js 3:4-161
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/select.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/select.spec.js 3:4-114
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/tip.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/tip.spec.js 3:4-121
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/toolbar.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/toolbar.spec.js 3:4-92
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/validator.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/validator.spec.js 3:4-164
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/upload.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/upload.spec.js 3:4-124
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/toast.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/toast.spec.js 3:4-123
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/time-picker.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/time-picker.spec.js 3:4-114
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js

ERROR in ./test/unit/specs/swipe.spec.js
Module not found: Error: Can't resolve '@/common/helpers/instantiate-component' in '/home/travis/build/didi/cube-ui/test/unit/specs'
 @ ./test/unit/specs/swipe.spec.js 3:4-108
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js
07 09 2018 07:35:49.972:INFO [karma]: Karma v1.7.1 server started at http://<IP_ADDRESS>:9876/
07 09 2018 07:35:49.974:INFO [launcher]: Launching browser PhantomJS_mobile with unlimited concurrency
07 09 2018 07:35:50.068:INFO [launcher]: Starting browser PhantomJS
07 09 2018 07:35:50.598:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket EWKD7ECmrW89YiVkAAAA with id 26982973
07 09 2018 07:35:51.082:WARN [reporter]: SourceMap position not found for trace: undefined
PhantomJS 2.1.1 (Linux 0.0.0) ERROR
  Error: Cannot find module "@/common/helpers/instantiate-component"
  at index.js:49285

PhantomJS 2.1.1 (Linux 0.0.0): Executed 0 of 0 ERROR (0.492 secs / 0 secs)

PhantomJS 2.1.1 (Linux 0.0.0): Executed 0 of 0 ERROR (0.001 secs / 0 secs)

=============================== Coverage summary ===============================
Statements   : 17.07% ( 7/41 )
Branches     : 0% ( 0/16 )
Functions    : 0% ( 0/4 )
Lines        : 17.07% ( 7/41 )
================================================================================
INFO LOG: 'You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html'

npm ERR! Linux 4.14.12-041412-generic
npm ERR! argv "/home/travis/.nvm/versions/node/v6.14.4/bin/node" "/home/travis/.nvm/versions/node/v6.14.4/bin/npm" "run" "unit"
npm ERR! node v6.14.4
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>unit: `cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>unit script 'cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the cube-ui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs cube-ui
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls cube-ui
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/travis/build/didi/cube-ui/npm-debug.log
npm ERR! Test failed.  See above for more details.

Codecov Report

Merging #303 into dev will decrease coverage by 0.26%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##              dev     #303      +/-   ##
==========================================
- Coverage   92.89%   92.62%   -0.27%
==========================================
  Files         131      129       -2
  Lines        2801     2645     -156
  Branches      418      418
==========================================
- Hits         2602     2450     -152
+ Misses        105      102       -3
+ Partials       94       93       -1

Impacted Files
Coverage Δ

src/common/helpers/create-api.js
100% <100%> (ø)
:arrow_up:

src/common/helpers/instantiate-component.js
100% <100%> (ø)
:arrow_up:

src/common/helpers/util.js
70.66% <0%> (-6.67%)
:arrow_down:

src/components/time-picker/time-picker.vue
91.35% <0%> (+2.46%)
:arrow_up:

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 f0d64b8...3c0961d. Read the comment docs.

Hey @tank0317,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
View build log
TravisBuddy Request Identifier: 825daf40-cc83-11e8-9706-8d7bf71fb7b5


How to skip ssl_hostname check

hello! I need to use certificate authentication, but need to skip hostname check, how do I solve this?
func genTLSConfig(cacertfile string) (*tls.Config, error) {

	pool := x509.NewCertPool()
	caStr, err := ioutil.ReadFile(cacertfile)
	if err != nil {
		return nil, fmt.Errorf("read server ca file fail")
	}
	block, _ := pem.Decode(caStr)
	if block == nil {
		return nil, fmt.Errorf("Decode ca file fail")
	}
	if block.Type != "CERTIFICATE" || len(block.Headers) != 0 {
		return nil, fmt.Errorf("Decode ca block file fail")
	}

	cert, err := x509.ParseCertificate(block.Bytes)
	if err != nil {
		return nil, fmt.Errorf("ParseCertificate ca block file fail")
	}

	pool.AddCert(cert)
	return &tls.Config{
		RootCAs:            pool,
		ServerName:         cert.Subject.CommonName,
		InsecureSkipVerify: false,
	}, nil
}

use:
	config := sarama.NewConfig()
	config.Producer.RequiredAcks = sarama.WaitForAll
	config.Producer.Partitioner = sarama.NewRandomPartitioner
	config.Producer.Return.Successes = true

	config.Net.SASL.Enable = true
	config.Net.SASL.User = "producer"
	config.Net.SASL.Password = "producer"
	config.Net.SASL.Mechanism = "PLAIN"

	tlsConfig, err := genTLSConfig("./ca.crt")
	if err != nil {
		log.Println("err:", err)
		return
	}
	config.Net.TLS.Enable = true
	config.Net.TLS.Config = tlsConfig

error:
x509: certificate is valid for kafka1, localhost, not ca.test.demo.io
I hope to achieve this effect.
python:
ssl_cafile = "/home/vale/CD/0/python/kafka/ca.crt",
ssl_check_hostname = False

This is more of a Go question rather than a Sarama one, However, Go doesn't have a built-in option to only ignore the hostname, but still verify certificate is valid and signed, it only offers "InsecureSkipVerify" which disables both
However, in your example you seen to be loading a CA that you've presumably used to generate valid certificates for each of your brokers? At the moment you're hardcoding "ServerName" in your tls.Config to the common name of your CA cert (ca.test.demo.io) which is obviously wrong. However, it looks like you've generated your certs with SubjectAlternativeNames of "kafka1" and "localhost". Assuming that you're not using matching DNS entries for these brokers than just hardcode your tls.Config ServerName to "localhost" and it'll verify that


Error on Save

Step #2 - "save-cache": Already have image (with digest): us-docker.pkg.dev/vargolabs/gcs-cacher/gcs-cacher:0.1
Step #2 - "save-cache": failed to close gcs writer: googleapi: Error 404: Not Found, notFound

YAML: https://github.com/GoogleCloudPlatform/multiregion-app-location-demo/blob/master/cloudbuild.yaml
Maybe because I didn't create my bucket?  Can gcs-cacher do that for me?

Manually creating the bucket resolved the error but an auto-create option would be really nice. :)

I updated the docs. There's a lot of variables (went down this path with berglas bootstrap) and the permutations end up being vast. Given it's a one-time operation, I think people can use gsutil or the cloud console.


Gate merge on exclusively approved label

Will merge after

[ ] "/approved" command works
[ ] blunderbuss/bot read reviewers and approvers
[ ] OWNERS files up to date
[ ] approved label after ALL files have been approved by valid approver
[ ] notification explaining why approved label has not yet been merged

This change is

Integrated in https://github.com/kubernetes/contrib/pull/2076. closing.


Mangrove GMW for Fiji added to fiji branch.

Rendering issue with multiple bands passed for single band layer.
eg: https://dep-pctitiler.westeurope.cloudapp.azure.com/mosaicjson/tiles/9/509/282.png?url=https://deppcpublicstorage.blob.core.windows.net/output/demo/mangrove-fiji-mosaic.json&bidx=1&bidx=2&bidx=3&nodata=0&unscale=false&resampling=nearest&max_size=1024&return_mask=true

@hanbyul-here can you look this over? @sopac reported that when testing the explorer locally, it was inserting an extra &bidx=2&bidx=3 and that breaks the display.

BIDX for single band layer fixed.


Added test for toggling sections.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@95ec5ac). Click here to learn what that means.
The diff coverage is 93.47%.

@@            Coverage Diff            @@
##             master      #36   +/-   ##
=========================================
  Coverage          ?   96.68%
=========================================
  Files             ?        3
  Lines             ?      332
  Branches          ?        0
=========================================
  Hits              ?      321
  Misses            ?       11
  Partials          ?        0

Impacted Files
Coverage Δ

...ionViewController/CollapsibleTableViewHeader.swift
87.93% <ø> (ø)

...s/CollapsibleTableSectionViewControllerTests.swift
100% <100%> (ø)

...roller/CollapsibleTableSectionViewController.swift
94.87% <88%> (ø)

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 95ec5ac...e319f0f. Read the comment docs.


"docker ps" doesn't work after machine restart when working with swarm

Output of docker version:
Client:
Version:      1.12.0
API version:  1.24
Go version:   go1.6.3
Git commit:   8eab29e
Built:        Thu Jul 28 22:05:53 2016
OS/Arch:      linux/amd64
Server:
Version:      swarm/1.2.4
API version:  1.22
Go version:   go1.5.4
Git commit:   5d5f7f0
Built:        Thu Jul 28 19:52:54 UTC 2016
OS/Arch:      linux/amd64
Output of docker info:
Containers: 30
Running: 26
Paused: 0
Stopped: 4
Images: 96
Server Version: swarm/1.2.4
Role: replica
Primary: <IP_ADDRESS>:3376
Strategy: spread
Filters: health, port, containerslots, dependency, affinity, constraint
Nodes: 9
batchprocessing1: <IP_ADDRESS>:2376
└ ID: KZN7:CK5H:DSXN:U7IU:3BPY:WDQ5:EKOT:JE6M:ERXL:TSAW:UO6F:UIK2
└ Status: Healthy
└ Containers: 2 (2 Running, 0 Paused, 0 Stopped)
└ Reserved CPUs: 0 / 2
└ Reserved Memory: 0 B / 14.38 GiB
└ Labels: kernelversion=4.4.0-34-generic, machinerole=batchprocessing, machinetype=C, operatingsystem=Ubuntu 16.04.1 LTS, provider=azure, storagedriver=aufs
└ UpdatedAt: 2016-08-18T23:37:17Z
└ ServerVersion: 1.12.1
batchprocessing2: <IP_ADDRESS>:2376
└ ID: JN2D:WU2T:ODUB:FYFC:WVG7:STAC:CVJN:ANS6:7WHN:MHL4:YEMC:ULGH
└ Status: Healthy
└ Containers: 2 (2 Running, 0 Paused, 0 Stopped)
└ Reserved CPUs: 0 / 2
└ Reserved Memory: 0 B / 14.38 GiB
└ Labels: kernelversion=4.4.0-34-generic, machinerole=batchprocessing, machinetype=C, operatingsystem=Ubuntu 16.04.1 LTS, provider=azure, storagedriver=aufs
└ UpdatedAt: 2016-08-18T23:36:46Z
└ ServerVersion: 1.12.1
kafka1: <IP_ADDRESS>:2376
└ ID: NMOP:72DR:IWCA:LNNK:UMBO:QO2S:DQKC:NLVJ:RY3V:P6FN:ZLRI:MYGQ
└ Status: Healthy
└ Containers: 4 (4 Running, 0 Paused, 0 Stopped)
└ Reserved CPUs: 0 / 2
└ Reserved Memory: 0 B / 7.145 GiB
└ Labels: containerslots=4, kernelversion=4.2.0-41-generic, machinetype=A, operatingsystem=Ubuntu 15.10, provider=azure, storagedriver=aufs
└ UpdatedAt: 2016-08-18T23:37:26Z
└ ServerVersion: 1.12.0
kafka2: <IP_ADDRESS>:2376
└ ID: 2FL5:AY3V:3DTY:Z7KE:PPOO:LH3K:EDKV:FXZV:6BX7:LPNI:H3YU:EQCD
└ Status: Healthy
└ Containers: 4 (4 Running, 0 Paused, 0 Stopped)
└ Reserved CPUs: 0 / 2
└ Reserved Memory: 0 B / 7.145 GiB
└ Labels: containerslots=4, kernelversion=4.2.0-41-generic, machinetype=A, operatingsystem=Ubuntu 15.10, provider=azure, storagedriver=aufs
└ UpdatedAt: 2016-08-18T23:37:27Z
└ ServerVersion: 1.12.0
kafka3: <IP_ADDRESS>:2376
└ ID: YDWS:CSP6:3RQJ:O5EP:UTA6:LMUU:HFOY:VRCH:VC5C:NHYB:WQSW:JMLH
└ Status: Healthy
└ Containers: 4 (4 Running, 0 Paused, 0 Stopped)
└ Reserved CPUs: 0 / 2
└ Reserved Memory: 0 B / 7.145 GiB
└ Labels: containerslots=4, kernelversion=4.2.0-41-generic, machinetype=A, operatingsystem=Ubuntu 15.10, provider=azure, storagedriver=aufs
└ UpdatedAt: 2016-08-18T23:36:46Z
└ ServerVersion: 1.12.0
mysql1: <IP_ADDRESS>:2376
└ ID: SPM2:2WA7:4IPG:YWSF:YCVV:HOYZ:AMCO:MWNR:EHZD:EVNL:UFSL:XPZ6
└ Status: Healthy
└ Containers: 2 (2 Running, 0 Paused, 0 Stopped)
└ Reserved CPUs: 0 / 2
└ Reserved Memory: 0 B / 7.144 GiB
└ Labels: containerslots=4, kernelversion=4.4.0-34-generic, machinerole=mysql, machinetype=A, operatingsystem=Ubuntu 16.04.1 LTS, provider=azure, storagedriver=aufs
└ UpdatedAt: 2016-08-18T23:37:17Z
└ ServerVersion: 1.12.1
swarm-master2: <IP_ADDRESS>:2376
└ ID: 7BWV:3KOJ:6HLS:HW2S:L3SH:NNYN:Q4AB:TEIJ:TVRL:RFYS:TOJQ:T7XM
└ Status: Healthy
└ Containers: 4 (4 Running, 0 Paused, 0 Stopped)
└ Reserved CPUs: 0 / 1
└ Reserved Memory: 0 B / 1.718 GiB
└ Labels: containerslots=3, kernelversion=4.2.0-41-generic, operatingsystem=Ubuntu 15.10, provider=azure, storagedriver=aufs
└ UpdatedAt: 2016-08-18T23:37:35Z
└ ServerVersion: 1.12.0
ws1: <IP_ADDRESS>:2376
└ ID: MZX7:U5AU:LWVE:I45S:DXQO:NUJQ:O4KE:EIFZ:OBZQ:TJ7Z:PNLG:COAV
└ Status: Healthy
└ Containers: 4 (0 Running, 0 Paused, 4 Stopped)
└ Reserved CPUs: 0 / 2
└ Reserved Memory: 0 B / 7.145 GiB
└ Labels: kernelversion=4.2.0-41-generic, machinerole=ws, machinetype=B, operatingsystem=Ubuntu 15.10, provider=azure, storagedriver=aufs
└ UpdatedAt: 2016-08-18T23:37:29Z
└ ServerVersion: 1.12.0
ws2: <IP_ADDRESS>:2376
└ ID: QIE5:TBKZ:4OMM:TQX4:DUHC:23SG:W2K2:6SQN:W4OG:4YE2:X6AK:Q6W4
└ Status: Healthy
└ Containers: 4 (4 Running, 0 Paused, 0 Stopped)
└ Reserved CPUs: 0 / 2
└ Reserved Memory: 0 B / 7.145 GiB
└ Labels: kernelversion=4.2.0-41-generic, machinerole=ws, machinetype=B, operatingsystem=Ubuntu 15.10, provider=azure, storagedriver=aufs
└ UpdatedAt: 2016-08-18T23:37:21Z
└ ServerVersion: 1.12.0
Plugins:
Volume:
Network:
Swarm:
NodeID:
Is Manager: false
Node Address:
Security Options:
Kernel Version: 4.2.0-41-generic
Operating System: linux
Architecture: amd64
CPUs: 17
Total Memory: 73.34 GiB
Name: d80d396d7b83
Docker Root Dir:
Debug Mode (client): false
Debug Mode (server): false
WARNING: No kernel memory limit support
Additional environment details (AWS, VirtualBox, physical, etc.):
If it makes any difference I work with azure driver for docker-machine
Steps to reproduce the issue:

Configure swarm cluster
Point to the swarm master: eval $(docker-machine env --swarm [YOUR_SWARM_MASTER])
Put some docker container parametrs into docker-compose.yml. It doesn't really matter. You can just put a basic startup of Redis in the docker-compose.yml. Configure it with: restart: always
Run docker-compose up -d
Run docker ps. You will see the container running.
Run docker-compose ps. You will see the container running.
Restart the machine where this container is running. docker-machine restart [MACHINE_NAME]

Now comes the problem:
Describe the results you received:
While the machine is down. docker ps doesn't show the running container which is fine because it is indeed not running. However, when the machine is up and running after the restart, the container is started again automatically but docker ps will still not show it.
The problem is even more serious. While the machine is down docker-compose ps doesn't work because it fails to connect to the failed machine. Instead of listing what it can show it just shows:
Get https://<IP_ADDRESS>:2376/containers/8a086e626e16d95ed010faa0e8440317c739fff1ae50572d758466884823c833/json: dial tcp <IP_ADDRESS>:2376: getsockopt: connection refused
So because one machine is down, docker-compose ps doesn't work at all. docker ps is working fine.
However, when the machine restarts then docker ps doesn't show the running container and docker-compose ps does.
Bottom line is that in a real production system you can't trust the ps command. docker ps will always work but can show you a wrong status, docker-compose ps can just not work when one of the machines in the cluster is down.
Describe the results you expected:

docker-compose ps should show the running containers even if it can't connect to one of the machines. It should show what it can. Just like docker-machine ls shows all running machines even if it can't connect to some of them.
docker ps should show the running containers after machine reboot.

Additional information you deem important (e.g. issue happens only occasionally):
If one of them would work that would be fine. But when both of them are not working this is a problem.

However, when the machine is up and running after the restart, the container is started again automatically but docker ps will still not show it.

I suspect the rebooted node might not join the swarm after reboot. After rebooting the node, please run the following commands and paste the result here.
docker -H manager:swarmport info
docker -H manager:swarmport ps
docker -H rebooted_node:dockerport info
docker -H rebooted_node:dockerport ps

I tried to reproduce the issue but I can't start my services anymore on the rebooted machine :-(
when I run:
docker-compose up -d I get:
Cannot start service ws_alerts: Error response from daemon: network sandbox join failed: could not get network sandbox (oper true): failed get network namespace "": no such file or directory
ERROR: Encountered errors while bringing up the project.
Looks like the same problem as issue: #25215.

@groyee did you run docker-machine start default?


vrcfury

I'm using d4rks avatar optimizer and it says "vrcfury is used on this avatar. this means the perf rank change and the merge result previews can be inacurrate as the optimizer does not take vrcfury into account for those. to test in editor built a vrcfury test avatar and use the optimizer on that. for uploading use the optimize on upload feature as that ensures fury and the optimizer get used in the correct order." and it wont let me create optimized copy. also i followed akiwoo's tutorial.

nevermind i read someone else's issue and seen d4rk say fury components break it. <3


Expand VHD disk size ?

Hello,
I want to know if there is a way to use a custom VHD disk or expand size of initrd.vhd. To add more files on the disk
Thanks

Yes there is.
Disk sizes above 1GB seem to not work for me but may work for you.

Delete path/to/moos/Tools/grub2/boot/initrd.vhd ( Copy all the files to another directory if you are resizing )
Open Windows Disk Management. ( Windows Key + X, then press K )
Click on Action -> Create VHD
Set the location to path/to/moos/Tools/grub2/boot/initrd.vhd
Set the size
Leave all the other settings the same ( Virtual Hard Disk Format is "VHD" and Virtual Hard Disk Type is "Fixed" ) and press "OK"
Right click on the new disk's information panel and select "Initialize Disk". Then select MBR, and click "OK"
Right click on the new empty volume
Click "New simple volume"
Go through all the steps but when it asks for "Format Disk" select "Don't format Disk"
Open CMD
Type diskpart
Select "Yes" if a UAC prompt appears
Run list disk
Look for the number of the disk that you just created
Run select disk {disk_number}
Run select partition 1
Run format fs=exfat
Add your files to the disk
Done

the maximum size of initrd is 510mb  because kernel loads at 0x10000000

Thank you,
Is it possible to use another disk than the one put in the ISO? (For example, inserting a VMDK on the machine like a real hard disk on VMWare).

check out misc/entrypoint.asm

but you have to use ramdisk because everything that moos need is in it

but you have to use ramdisk because everything that moos need is in it
And if I put the files on a new disk ?

yeah

If I use an external VHD, with over 500mb of storage, do you think that the kernel will work correctly?

it will

@ArtOS-Developper Are you trying to view data in external VHDs within MOOS?


Allow replaying notifications by id

Would it be possible to extend the idXXX functionality to --show as well?
$ wired --show id275

Expected outcome: This would display the notification with id number 275.

I don't see any reason this shouldn't be possible.  Will do.

You can do this now in 0.10.3.