Modified TOC with RealitiesShow one level above

Docs Build status updates of commit 64129c6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/TOC.md
:white_check_mark:Succeeded
View

mixed-reality-docs/images/therealitiesshow.jpg
:white_check_mark:Succeeded
View

mixed-reality-docs/realities-show.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Custom form submissions

Describe the feature
This is a rather big feature request so I'm expecting it to either be out of scope of what the project is or be placed onto the backlog.
Something that would allow us to extend the usage of the CAD beyond its current usage would be the creation, submission and management of custom forms. In policing there is a lot of paperwork involved and at the moment communities are likely either using Google Forms or some other external resource to do this.
It would be good to have this integrated into the CAD, leveraging what has already been developed. For example, for incidents that are created with the 'firearms involved' tick, upon closure it could provide a firearms deployment form for the LEO to complete. This would then be reviewed by an LEO Supervisor before being archived.
You could also leverage the same system, if it was permitted, to create other forms such as sign up forms for divisions and keep a track record of them within the CAD.
This ties in to another suggestion I was going to make about having the incidents require sign off from an LEO supervisor. (You can also 'prettify' this by putting a signature font with the LEO supervisors name underneath upon approval.
Additional Context
The core functions I'd believe you'd need to build out are:

A form builder
Form triggers for things like firearms discharge
A new section on the CAD for reviewing and submitting forms
The ability to set reviewers for the forms
The ability to archive forms once reviewed

Reference Items:
https://info.sonorancms.com/tutorials/getting-started/creating-custom-forms
https://albo1125.com/fms - See HR/Forms

I love this idea, but I don't think I can implement this on my own. This FR seems to be quite a bit to much for SnailyCAD at it's current state.


add possibility to catch SoapFault Exception in isValidVATNumber method

I would also like this.
Sometimes there is soapfaults, which is causing errors in automated tests which then prevents automated deployment.
Surely the soapFault should at least throw a VATCheckUnavailableException?


Unit Tests for Admin App Properties

Added various Admin property tests for :

AdminConfigurableTablesSettingsFragment
AdminConfigurableDeviceSettingsFragment
AdminConfigurableServerSettingsFragment

@sanyud24 please resolve the merge conflicts

@sanyud24 please resolve the merge conflicts

Fixed it @wbrunette


Reving unit tests for parallel process param updating

What is the change?
This PR does two things to do with parallel processing in ARMI:

Revives some ARMI unit tests that were (apparently) deactivated years ago.
Add some unit test crumbs for a couple requirements.

Why is the change being made?
This is part of the on-going requirement work.

Checklist

[X] This PR has only one purpose or idea.
[X] Tests have been added/updated to verify that the new/changed code works.

[X] The code style follows good practices.
[X] The commit message(s) follow good practices.

[X] The release notes (location doc/release/0.X.rst) are up-to-date with any important changes.
[X] The documentation is still up-to-date in the doc folder.
[ ] No requirements were altered.
[X] The dependencies are still up-to-date in pyproject.toml.

Can you explain why you decided not to migrate over the tests that were looking at the things like SINCE_ANYTHING or SINCE_DISTRIBUTE_STATE, specifically in the old tests called mpitest_noConflictsMaintainWithStateRetainer and mpitest_rxCoeffsProcess?

I don't think those tests every "worked", and it might take me a week to build the kind of infrastructure needed to test them. I wasted a day trying to get them working and it was just hard to figure out how to do inside PyTest.
My guess is those would be testable inside some sort of cluster-based integration test. But, either way, I don't have a week free time right now to experiment with building new testing tools. Especially since there are no guarantees I would succeed, and it might just be pure R&D time.


Disabling LEDs

Hi,
I own a JMB585-based board which unfortunately features way too bright green LEDs. So I was looking for possible options to disable them, as I don't really need them. Of course just cutting PCB traces or the LEDs themselves would probably be the easiest here, but destructive methods are always a bit scary to me. So I looked into whether there are possible software ways to turn them off.
Based on your notes here it looks like these LEDs are probably driven by GPIO pins on the chip, which could perhaps be disabled via a configuration change? Can you confirm this? Do you have made progress with the instruction/configuration reversing perhaps?
Though even if so, there's probably not an easy way to reflash the flash with a new configuration, right? I'm a beginner when it comes to messing with hardware, so I'm not sure if I want to attempt desoldering and then resoldering a flash chip (Though I do have friends which may be able to assist me with such endeavours).
Interested to hear your thoughts & many thanks for the notes - really helpful!
Max

Yes, I can confirm that the LEDs can be disabled by a configuration change, though I'm not sure exactly how to do that. At one point I tried writing the flash of one card (full-size PCIe) to the flash of another card (M.2), and upon powering it on I noticed that some of the LEDs were out. After writing the original flash contents back to that card, all the LEDs worked the same as they did before. So while I'm certain that the configuration sequence is what defines which LED signal gets routed to what GPIO pin and the pin modes of the GPIO pins, I haven't done enough RE to determine exactly which bits control what pins and signals.
Regarding flashing, I still don't know how to do that over PCIe, or if that's even possible at all. On many boards that use this chip there's what looks to be an in-circuit programming header whose traces connect to the JMB585 IC (not the flash), but I haven't yet figured out how to use that. So for now, the only way to (reliably) rewrite the flash is to desolder it and program it externally.
All that said, I think the simplest and least-destructive way to solve your problem would be to either cover the LEDs with electrical tape (or any other opaque, non-conductive tape or sticker) or to use a black permanent marker to try and black out the LEDs (or at least significantly reduce their brightness). These methods are rather low-tech, but they should solve your problem without requiring you to do any soldering.

Thanks!
Yeah I looked at tape solutions already and will probably go with that eventually. Still, many thanks for looking into it!


fix consistency issue in the switch statement example

This resolves the following build issue
TypeError: Cannot read property 'toString' of undefined
    at Renderer.renderer.code (/Users/ccscanf/src/github.com/imba/imba.io.git/src/util/markdown.imba:219:22)
    at Parser.tok (/Users/ccscanf/src/github.com/imba/imba.io.git/node_modules/marked/lib/marked.js:999:28)
    at Parser.parse (/Users/ccscanf/src/github.com/imba/imba.io.git/node_modules/marked/lib/marked.js:944:17)
    at Object.exports.render.self.render (/Users/ccscanf/src/github.com/imba/imba.io.git/src/util/markdown.imba:298:23)
    at add (/Users/ccscanf/src/github.com/imba/imba.io.git/src/data/guide.imba:33:18)
    at add (/Users/ccscanf/src/github.com/imba/imba.io.git/src/data/guide.imba:27:5)
    at new Guide (/Users/ccscanf/src/github.com/imba/imba.io.git/src/data/guide.imba:63:2)
    at Function.Guide.get (/Users/ccscanf/src/github.com/imba/imba.io.git/src/data/guide.imba:70:33)
    at /Users/ccscanf/src/github.com/imba/imba.io.git/src/server.imba:32:20
    at Layer.handle [as handle_request] (/Users/ccscanf/src/github.com/imba/imba.io.git/node_modules/express/lib/router/layer.js:95:5)

Closes: #19 (I cannot run this repo locally, I want to make some PR's)

@iamtirado could you see if this pr resolves your build issue?


Toggle Button Group: enforced and exlusive props do not behave as expected

Component:
Toggle Button Group
Description:
The "Enforced" and "Exclusive" properties on this component are no longer working properly. It is working fine in 4.6.
Steps to reproduce:

Navigate to https://storybook-preview-dev--upbeat-sinoussi-f675aa.netlify.app/?path=/story/togglebuttongroup--alignment-example
Try turning these two options on separately and also together and you'll see they aren't working.
Enforce means after the initial selection, at least one button has to be selected
Exclusive means only one button can be selected at a time

Can it only be reproduced in dev or is it reproducible in the last released version?
Only on dev

Cases that have been tested:

Check the logic for Toggle Button Group without props;
Check the logic for Toggle Button Group with the enforced prop;
Check the logic for Toggle Button Group with the exclusive prop;
Check the logic for Toggle Button Group with the enforced and exclusive props;
Check all the previous cases with a screen reader.


tests: workaround against astyle 3.1 bug

This prevents astyle 3.1 from changing these 3 matrices without a good reason.
Raised by @ItsTimmy.

I like the solution to not use astyle hints better... https://github.com/PX4/Firmware/pull/13699/files#diff-c8b55ca0557d07929abf09c324061e65R772

@MaEtUgR yes that's better, thanks.


Cannot inject grammar to some scopes in Markdown

Does this issue occur when all extensions are disabled?: Yes. Except the current extension

VS Code Version: 1.19.1
OS Version: WinNT x64 10.0.22631

Steps to Reproduce:

Clone https://github.com/KermanX/grammar-injection-repro
Start debugging the extension
See this:

The "Success Injection" is injected correctly, while the "Failed Injection" is not.
5. Open ./synatxes/failed.json and ./synatxes/success.json, they are all the same except the injectionSelector.
After some testing, I think most of the scopes can be injected, while the following can't:

fenced_code.block.language.attributes.markdown
fenced_code.block.language.markdown
punctuation.definition.markdown

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.91.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

you can only inject into begin/end rules or capture groups that have a recapturing patterns array
https://github.com/mjbvz/vscode-fenced-code-block-grammar-injection-example

you can only inject into begin/end rules or capture groups that have a recapturing patterns array

Thanks for your reply. Then how can I inject grammars into the fenced_code.block.language.attributes.markdown part without re-defining all the code block grammars for every embedded language?

as far as I'm aware
you can't
you could maybe ask @mjbvz kindly to add an empty patterns array under capture 5
but this would also require every single other extension author to do the same (if you wish to support their injections),
wouldn't work on any old version of VSCode/extensions
and might cause other injections that target markup.fenced_code.block.markdown to also inject into it

Thanks for your advice. In that case I may generate all the code blocks on my grammar file to simplify the task. However, I am wondering why the capture groups are required to be injected? Is it possible to change this behavior?
Thanks a lot!

What's the goal with these injections?

What's the goal with these injections?

Slidev.js has some special attributes for code blocks. For example, line highlighting. And the expected highlighting is:

which is exactly the fenced_code.block.language.attributes.markdown scope.

Thanks. Can you test if adding the empty patterns element to fenced_code.block.language.attributes.markdown  would allow you to  do the injection?
We can pretty easily add this for all of our built-in languages

Thanks. Can you test if adding the empty patterns element to fenced_code.block.language.attributes.markdown  would allow you to do the injection?

Yes, it works. In fact, I've used some code to generate new grammars with patterns: [] for each built-in languages and everything works as expected. So if you feel this grammar scope is too specific, it's fine to not update the official grammar file.
May I ask if is there any way to to support injection to any scope without patterns defined? I am not sure why currently this is not allowed.


fix: Disable Services w/ 404 Error

We should disable services that return a 404 error. This will decrease the number of polling errors if an endpoint is dead.
Additional Note: Do we really want 502 to disable services? Couldn't a bad gateway be temporary? This could be the reason GPS locations aren't consistently updated over time until an HA reboot?

Need to check because I guess I had some endpoints with 404 in my log and after restart they were working again. But need to check if it really was 404 (wouldnt make sense but I have in my mind that it really was 404).

Yeah let me know what you think. Services are only disabled until next restart when it would check again upon refresh. So I don't think this would cause an issue.

I just checked my log, I had on the 4. July and 7. July 502 issues with POSITION service.
Maybe we remove 502 for position for disabling the service?
Or remove 502 in general.... but couldn't find 502 in my log except POSITION

For climater I also found 403.

Once also for "ClientResponseError with status 403 while updating trip data"

My understanding is that 502 isn't even reaching the intended server, so it wouldn't cause an issue with over-polling and is often an intermittent issue which may resolve itself.
403 is forbidden, so we should disable if 403 to avoid over-polling a forbidden service.
404 is not found, so we are essentially polling a dead endpoint. We should disable if 404 so we aren't polling a dead endpoint continuously.
let me know if you have other thoughts/ideas.

I agree with you, so you will remove 502 from disabling the services?
I'm just a little bit confused why I got randolmy an 403 but maybe temporary issues with the Audi server :)

403 while primarily would occur by design a server outage could cause that in edge causes.
I'm good with the approach though.

502 Removed. Ready for review.


Random.nextBool is biased

In this failure, the number of heads is off by almost 5 standard deviations. Considering the number of runs per day, that's unexpected.
We should investigate whether nextBool has any particular design deficiencies.
=== Failure summary:
FAILED: none-vm-checked debug_ia32 lib/math/coin_test
Expected: Pass
Actual: RuntimeError
CommandOutput[vm]:
stdout:
coin_test seed: 27477
Heads: 5241
Tails: 4759
Ratio: 1.1012817818869511
stderr:
Unhandled exception:
Expect.approxEquals(expected:<1.0>, actual:<1.1012817818869511>, tolerance:<0.1>) fails
#0      Expect._fail (package:expect/expect.dart:385:5)
#1      Expect.approxEquals (package:expect/expect.dart:173:10)
#2      main (file:///Volumes/data/b/build/slave/vm-mac-debug-ia32-be/build/dart/tests/lib/math/coin_test.dart:29:22)
#3      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:257)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:142)

This doesn't seem frequent enough to be a concern.


Move CMAKE_CXX_FLAGS up to avoid overwriting coverage flags

This is a good catch. I did not notice this bug.


Fix brakes add_foreign_key

Description
The fix package blindly replaces }) with }, unaware of context.
Steps to Reproduce the Problem
add_foreign_key("domains", "domain_id", {"domains": ["id"]}, {
    "name": "fk_rules_domains",
    "on_delete": "CASCADE",
    "on_update": "CASCADE",
})

Run buffalo db fix, get this:
add_foreign_key("domains", "domain_id", {"domains": ["id"]}, {
    "name": "fk_rules_domains",
    "on_delete": "CASCADE",
    "on_update": "CASCADE",
}

Expected Behavior
Don't introduce a syntax error. Also a check after the "fix" operation that the syntax of the result is still valid and roll the changes back otherwise.
Actual Behavior
fix removes a ) where it shouldn't.
Info
Workaround
As a workaround, type add_foreign_key migrations (and similar) as follows:
add_foreign_key("domains", "domain_id", {"rules": ["id"]}, {
    "name": "fk_rules_domains",
    "on_delete": "CASCADE",
    "on_update": "CASCADE", })

I.e. don't let the }) be on it's own line.
Cause
https://github.com/gobuffalo/pop/blob/7bb873077bba624e819348fe6ef605bc891b5069/fix/anko.go#L20-L22
This part is not implemented "context aware".

Good catch! Thanks for running this down!

How does this fix work? When the condition on line 17 is true, how can the nested condition on line 19 become true? What am I missing here?


Crash when trying to select in VisTextArea when libGDX color marckup is enabled

VisTextArea and all its children (HighlightTextArea, ScrollableTextArea), crashes when color markup is enabled.
Stacktrace:
java.lang.IndexOutOfBoundsException: index can't be >= size: 1299 >= 1291
	at com.badlogic.gdx.utils.FloatArray.get(FloatArray.java:131)
	at com.kotcrab.vis.ui.widget.VisTextArea.drawSelection(VisTextArea.java:251)
	at com.kotcrab.vis.ui.widget.VisTextField.draw(VisTextField.java:350)
	at com.badlogic.gdx.scenes.scene2d.Group.drawChildren(Group.java:111)
	at com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.draw(ScrollPane.java:543)
	at com.badlogic.gdx.scenes.scene2d.Group.drawChildren(Group.java:124)
	at com.badlogic.gdx.scenes.scene2d.Group.draw(Group.java:58)
	at com.badlogic.gdx.scenes.scene2d.ui.WidgetGroup.draw(WidgetGroup.java:170)
	at com.badlogic.gdx.scenes.scene2d.ui.Table.draw(Table.java:126)
	at com.badlogic.gdx.scenes.scene2d.Group.drawChildren(Group.java:111)
	at com.badlogic.gdx.scenes.scene2d.ui.Table.draw(Table.java:117)
	at com.badlogic.gdx.scenes.scene2d.ui.Window.draw(Window.java:253)
	at com.kotcrab.vis.ui.widget.VisWindow.draw(VisWindow.java:239)
	at com.badlogic.gdx.scenes.scene2d.Group.drawChildren(Group.java:111)
	at com.badlogic.gdx.scenes.scene2d.Group.draw(Group.java:58)
	at com.badlogic.gdx.scenes.scene2d.Stage.draw(Stage.java:129)

I think that start and end are not aware that markup glyphs are not rendered, and so the range is higher then the size of glyphPositions array
https://github.com/kotcrab/vis-ui/blob/8b997f2b64b0aeb308ab0442257294b03f8acf3e/ui/src/main/java/com/kotcrab/vis/ui/widget/VisTextArea.java#L247-L248
Where could be the right place to fix this? Thanks

LibGDX and VisUI doesn't support color markup for any text field iirc, see https://github.com/kotcrab/vis-ui/issues/313.
Can you reproduce this with libgdx's TextArea?

TextArea don't work at all, I've got an empty rendering, while VisTextArea works overall well, it's broken just the selection, this is a screen of a VisTextArea rendering color markup string

It's a pity that VisUI not support color markup just for the this selection :smiley:

VisTextArea is mostly a copy of TextArea so something must have changed. I remember it working in TextArea (or TextField?) with issues.
I'm guessing fixing this requires parsing the text to remove color markup before it's used for selection and others functions. I'd nice if this was working in libGDX, I never wanted to change VisTextArea too much.


prometheus-config-reloader can't hit localhost

prometheus-config-reloader can't hit localhost
For some strange reason just the prometheus-config-reloader pod resolves localhost to the wrong ip (not <IP_ADDRESS>).  I assumed this was a problem with my underlying openshift cluster however the other two pods in the statefulset can reload the server just fine (I ran a curl from the prometheus pod). I manually changed the statefulset --reload-url to <IP_ADDRESS> and it worked.
I realize that this issue is almost completely unfixable/untroubleshootable from the coreos developers side. My request is that the --reload-url either be made configurable or hard set to <IP_ADDRESS> . In the meantime I will compile prometheus-operator  myself. Maybe I will get lucky and find the underlying issue in the meantime.
Thanks!

Image

quay.io/coreos/prometheus-config-reloader:v0.22.0

Kubernetes cluster kind:
openshift enterprise 3.9.31

Manifests:
prometheus stateful set generated from kind: Prometheus

 - args:
            - '--reload-url=http://localhost:9090/-/reload'

Prometheus Operator Logs - prometheus-config-reloader:

ts=2018-07-19T16:55:15.411201193Z caller=main.go:35 msg="Starting prometheus-config-reloader version '0.22.0'."
  | level=info ts=2018-07-19T16:55:15.60978331Z caller=reloader.go:77 msg="started watching config file for changes" in=/etc/prometheus/config/prometheus.yaml out=/etc/prometheus/config_out/prometheus.env.yaml
  | level=error ts=2018-07-19T16:55:45.611089319Z caller=runutil.go:43 msg="function failed. Retrying" err="trigger reload: reload request failed: Post http://localhost:9090/-/reload:  dial tcp <IP_ADDRESS>:9090: i/o timeout"

The config reloader is mainly an implementation detail, ideally we wouldn't need to do a request at all, I hope that Kubernetes stabilizes sharing PID namespace, so that the reloader can just send a SIGHUP signal to the Prometheus process. So I don't think we should make this configurable in the Prometheus object, but given that we have seen these problems a number of times I think it's fair to have a flag on the Prometheus operator to configure this if people absolutely cannot find out what their problem is (it's probably DNS, it's always DNS). Such a flag would need to be declared experimental and may be removed at any time, ideally when sharing PID namespace becomes available.

That won't work in IPv6 only setups anymore. I realize that that's relatively scarce right now, but we've had reports of IPv6 only users (in other regards). I'd prefer not to drop compatibility with a set of users whose clusters are working correctly.
In the past we have heard that this is because the Kubernetes DNS soluteon has an entry for localhost. You should make sure that the first resolver is the local one and make sure your DNS addon is not doing this.

Thanks for the great feedback! I'll definitely put in a PR. How does this work for the flag?
flagset.StringVar(&cfg.LocalReloadHost, "local-reload-host", "localhost", "Experimental: Change the host used for the config reload url")

Closing here as #1655 is merged. @allen13 thanks for the work.

Is there a fix here for us users? I'm getting this error on <IP_ADDRESS>


Release: 1.6.0

:tada: This PR is included in version 1.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Create Java Program to Find the Determinant of a Matrix

Are you going to merge with the main branch then?

Hey, thanks for adding this program.
But you just copy pasted the code from GFG. Don't do this next time.
I am not accepting this pull request. You can add another one.


update init.py avoiding infinite loop

In certain scenarios, Google may be unable to find any relevant results related to the search term, resulting in an empty search result block. This can be identified by the length of the search result block, which will be equal to zero.
If the search result block is empty, the code will not enter the for loop at line 63. As a result, the value of the start variable will not be changed, causing the program to enter an infinite loop. To prevent this, we need to add a check to verify the length of the search result block and update the value of start accordingly.
Therefore, Ｉ recommend adding a condition to check if the length of the search result block is zero, and update the value of start to break out of the loop. This ensures that the program behaves correctly and avoids any potential infinite loops.

Have you tested this and made sure it works?

I have tested the updated code extensively in my side project (fake news source searching). It has been used approximately 800 to 1000 times in my side project, and throughout this usage, I have not encountered any bugs or issues and the infinite loop  and the infinite loop has not reappeared.
While my testing has provided positive results, it's important to note that I have not conducted an exhaustive analysis covering all possible scenarios. However, based on the extensive usage and only minor modifications to the code, I am confident in the correctness of the proposed change.


update version in package.json

Version number in package.json is stuck at 1.0.0. In the future, please update it to match the release.
Thanks!

Done.


Add a .api command to list all taiko methods and description

Register a command that will list method and documentation of all the available taiko methods.
For e.g.
> .api
openBrowser() - Opens a browser
click("element") - Clicks an element with text  "element"

Figure out a way to render this from the inline documentation.

.api and .api <function> is available in the REPL.

There's an error while running .api
browser              Returns the browser insance created using openBrowser.
page                 Returns the page instance.
selector             Identifies an element on the page.
readline.js:1021
            throw err;
            ^

TypeError: Cannot read property 'trim' of undefined
    at map (/home/zabilcm/.g/taiko/repl.js:179:77)
    at Array.map (<anonymous>)
    at d.children.map.c (/home/zabilcm/.g/taiko/repl.js:179:10)
    at Array.map (<anonymous>)
    at desc (/home/zabilcm/.g/taiko/repl.js:178:6)
    at doc.forEach.e (/home/zabilcm/.g/taiko/repl.js:159:27)
    at Array.forEach (<anonymous>)
    at displayUsage (/home/zabilcm/.g/taiko/repl.js:157:9)
    at REPLServer.action (/home/zabilcm/.g/taiko/repl.js:74:18)
    at REPLServer.parseREPLKeyword (repl.js:1062:16)

Expected behavior
Should get the list of apis
Actual behavior
getting API usage not available
Steps to replicate

.\taiko
___________      .__ __             Interactive browser automation.
__    /_  ||  | ______
|    |  __  \ |  |  |/ /  _ \    Version: 0.0.6
|    |   / __ |  |    <  <> )
||  (_  /||_ __/    Documentation: https://getgauge.github.io/taiko/
/        /         Type .api for help and .exit to quit

.api
API usage not available.

Working as expected now


EnqueueAction.INCREMENT_FILE_NAME not working correctly when file doesn't exist

After performing download request for file 'file.txt' using INCREMENT_FILE_NAME and file with that name doesn't exist, two file are created, empty file 'file.txt' and 'file (1).txt' with correct content.

@marcino1 will check on this issue and will post back soon.

@marcino1 Fetch 2.3.4 has been released with this bug fix. Please let me know if it works well for you.

Yes, it works fine for me. Thanks.


⚠ Cioos Pacific CKAN has degraded performance

In f89ef63, Cioos Pacific CKAN (https://catalogue.cioospacific.ca) experienced degraded performance:

HTTP code: 200
Response time: 6492 ms

Resolved: Cioos Pacific CKAN performance has improved in 0f79787 after 5 minutes.


Workers

Changelog

Supporting worker stacks and worker containers in inet stacks

Issues fixed or closed

Part of #9

Questions (open the PR then click the check boxes)
Did you update the documentation related to your changes?

[x] Yes
[ ] My changes were not already documented

Did you run make before committing code and opening this PR?

[x] Yes
[ ] I didn't change any code

Did you run porter create-stack and porter sync-stack to verify provisioning
works?

[x] Yes
[ ] N/A

👍

:+1:

👍


[Feature Request] Example notebook showing how to create SFT data from a resource and use unsloth to fine-tune on it

Required prerequisites

[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[X] Consider asking first in a Discussion.

Motivation
I have a resource which perfectly captures all of the information relating to a specific subject, which I would like to train an LLM to be proficient with.
Potentially I would like to merge the generated data with an existing SFT dataset, so having the data accessible intermediately in that format would be ideal.
A notebook to show how to do this would be very useful, which I could use directly or modify for my needs.
Solution

[ ] A notebook that shows how to create data from a rich resource like a webpage or a pdf and fine-tune a model on that data with unsloth

Alternatives
No response
Additional context
No response

close this issue as already finished by @CaelumF


Clear dtc, show descriptions

Show description for trouble codes.
Fix crash when DTC gets pulled but no codes present
Added ability to clear codes

Dependent on ResetTroubleCodes.java

it would be really great to have descriptions for the dtc codes but i'm wondering where the data come from, was it released under a license that allows us to use it? or is it public information like a standard published somewhere?

Not to worry. It is published all over the web. There are hundreds of websites that have the descriptions for trouble codes.

http://engine-codes.com/

doesn't seem to be too kind, http://engine-codes.com/about/terms.php : "Be advised that all information contained on this site is the copyrighted property of Engine-Codes.com and/or its affiliated companies. This site, Engine-Codes.com, including all other URL's owned by Engine-Codes.com and its owner, contains copyrighted material, trademarks and other proprietary information, including, but not limited to, graphics, music, photos, software, text and video. The whole contents used on or incorporated into this Web site, and the arrangement or integration of all such content and graphics are subject to any copyrights held by or licensed to Engine-Codes.com or in respect of which Engine-Codes.com is protected or entitled to by operation of any law, and all rights thereto are specifically reserved."
The underlying problem is that car manufactures claim this as their propitiatory information

But as far as I know the trouble codes are all based of the OBD2 standard.
http://www.obd-codes.com/trouble_codes/
http://www.dmv.de.gov/services/Vehicle_Services/dtc_list.pdf
http://www.outilsobdfacile.com/data-trouble-code-obd2.php

cool that dmv link looks like a good source

Here is the pull request for the java part: https://github.com/pires/obd-java-api/pull/51
Here are screenshots, emulated data:

I added altitude as well. It is useful for calculating altitude HP loss, which I will add later.

Merged and updated to 1.0-RC5 version of dependency.


cant load previous saved files

I am currently wokring on my Menu in my game and tried out the nifty editor
but if i save the current stuff, i cannot reload the file
got a huge amount of errors in my console
(i used niftyeditor 0.6 and also 0.59)
like this
WARNING: screen [GScreen0] not found

Jun 13, 2016 10:43:42 AM de.lessvoid.nifty.render.NiftyMouseImpl registerMouseCursor
WARNING: Your RenderDevice does not support the createMouseCursor() method. Mouse cursors can't be changed.
 Mouse cursors can't be changed.
Jun 13, 2016 10:43:42 AM de.lessvoid.nifty.loaderv2.types.ScreenType create
WARNING: Missing ScreenController for screen [GScreen1] using DefaultScreenController() instead but this might not be what you want.
Jun 13, 2016 10:43:42 AM jada.ngeditor.controller.GUIEditor$Reload perform
SEVERE: null
java.lang.RuntimeException: java.lang.IllegalArgumentException: input == null!
	at de.lessvoid.nifty.Nifty.loadFromStream(Nifty.java:632)

i downloaded the sources and after fixing tons of problems i was able to run in jme
there occourse this error
WARNING: screen [GScreen0] not found
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at jada.ngeditor.model.GUI$2.perform(GUI.java:226)

maybe the problem is cause you using java 1.6 in dev?

I've tried to load your file, are you sure that you have the images in the dropbox folder? I don't think it's a java version problem. Nifty-editor has 1.6 for target jvm version.

yes the settings are all correct
i found a workaround
start editor > click WorkGUI > delete GScreen0 > load XML file
with this i have no trouble to load the file


Add the support of CREATE SEQUENCE syntax

This closes #60

Updating ast_test.go is missing?

Yes, good catch. It's done now.


Pass event data when calling editor.getData()

I'm developing some code that performs manipulations on editor content when CKEditor’s getData() method is called. There are 2 events that are fired when getData() is called: beforeGetData and getData. I also happen to use your wordCount plugin. However, wordCount plugins calls getData() quite often. I only want to run my code, when I save editor contents or change between wysiwyg and source mode (these two call getData() as well). Currently there is no way for me to differentiate getData() calls made by wordCount plugin and calls made by other plugins/code. So I made this little pull request which, in essence, will pass firedBy element along with the event data.
Also for completeness sake, I added firedBy element to event data passed when limitReached event is fired.
Please, let me know what you think about this change. I will make modifications to it, if needed.

Yes thanks if that helps you and don't break anything i add it.


Invalid BAM path

If you enter a URL that doesn't exist, the app hangs. I just typed bob as the URL and old bam just sits Initializing data. New bam just has a blank page

@AlistairNWard this looks pretty easy to fix. I'm assuming we want behavior similar to the user entering a blank URL, ie a popup telling them they done goofed?

Exactly. Nothing fancy, just something so the user doesn't stare at their screen all day wondering what's gone wrong!

I guess it could actually be more involved, depending on how in depth we want to go. If we just want to handle simple cases such as "bob" where it's obviously not a valid URL, that should be pretty straight forward. However, if they provide a valid URL that doesn't point to a valid location, we'll need to send a request and see if there's anything there.

I work on handling both.

Agreed.  I'm not sure why this is commented out.

Fixed in #96


Nm wired return existing

Dependent on #325
nm.wired: Return existing setting instead of nothing
The wired setting is affecting the reapply action when it is missing
from the connection profile [1].
In order to adjust to this behaviour, in cases where no new wired
parameters are mentioned in the desired state and an existing profile
exists, the current wired setting is returned.

https://bugzilla.redhat.com/1703960

Coverage decreased (-16.0%) to 70.962% when pulling 4080a77f3ab933e48f62b80cc9563b97a813f8be on EdDev:nm-wired-return-existing into 5c8bbedcb0c961894c17d0901e103498748910c5 on nmstate:master.

MHO a comment in the code would make it more likely that this special behavior will be remembered when refactoring the code.

I do not like most inline comments, this one included. Such comments , in many cases, rot because no one changes them when they should change.
If someone does not understand why it is implemented as it is, git 'blame' is available.


API error: 422 response from StableDiffusion API for txt2img/img2img

Photoshop plugin version: 1.4.1
A1111 extension: 6f6d4907
I'm getting 422 http responses from A1111 SD API when I generate txt2img (or any mode) from the photoshop plugin.
For example with api logging turned on, I see:
2024-05-15T23:07:20.995698136Z API 2024-05-15 23:07:20.785580 422 http/1.1 POST /sdapi/v1/txt2img <IP_ADDRESS> 0.0036

I can curl and post to the API manually, e.g. with something like:
curl -X 'POST'   'https://$WAN_URL/sdapi/v1/txt2img'   -H 'accept: application/json'   -H 'Content-Type: application/json'   -d '{
  "prompt": "a bowl of cherries",
  "negative_prompt": "",
  "styles": [
    "string"
  ],
  "seed": -1,
  "subseed": -1,
  "subseed_strength": 0,
  "seed_resize_from_h": -1,
  "seed_resize_from_w": -1,
  "sampler_name": "DPM++ 2M",
  "scheduler": "karras",
  "batch_size": 1,
  "n_iter": 1,
  "steps": 35,
  "cfg_scale": 7,
  "width": 1024,
  "height": 1024
}'

That works from the same network as my SD plugin.

Any ideas appreciated -- also, love this plugin! Thanks for the hard work on it. I have it working on another machine and it works fine, which is baffling
Additionally I noticed a log errors to file option in the photoshop plugin, but, unsure where that file would live.
Thanks!

For what it's worth I realized that this install of a1111 is tracking master, so I'm trying again with the v1.9.3 tag

@dougbtv The plugin works in 1.93, just not the full sampler. This is because the sampler and scheduler were separated in 1.93. You can't select the ‘ Schedule type' anymore

Thank you @cdmusic2019 that is extremely helpful. I just had a success using a1111 v1.8.0 (as recommended in #486) and it worked, but.... indeed this must be what I was doing is LIKELY selecting DPM++ 2M Karras with the scheduling type jammed in the sampler name!! Thank you


Pin postgres

@dannyroberts

FYI @TylerSheffels due to my delinquency in timely review, this is now not mergeable

@dannyroberts No sweat, will resolve merge conflicts

bumpalump

Looks like master got updated to pin the PG version in another PR


Introduce never type for panic method

Introduce a never type for the panic flow control:
function unwrap(content: Option<string>): string {
  match content {
    Some(v) => v
    None => panic("not found")  // compilation error! because panic() return `unit` currently
  }
}

Change the signature of panic to :
public declare function panic(...content: any[]): never;

Maybe any is enough?

any has been used in panic method.


Pico android flavor

Tested on Pico Neo 3 with PUI v4.9.3
About "Imposter": I want to explicitly show, that this binding doesn't work and leads to engine crash during startup, even it's listed in the Pico's example.
Also included generic (Monado-Android) Android flavor.

Sorry to leave this hanging.  Pico SDK v2.1.0 was released 12/06/22 and says

Support OpenXR standard API 1.0.24
Migrate the original non-standard extensions of PICO to standard extensions
To use the new version of the OpenXR SDK, ROM version should be 5.2.x and later (For Neo3, a supported version is expected to be released after 2022/12/15).
Some PICO non-standard extensions have been removed. See the migration instructions in the development documentation for details.

Were you running on this new version, or the previous one?  I'm curious if this means Pico will work with the generic OpenXR loader now.  That would be awesome.

I have only Neo 3, firmware which supports new SDK still doesn't released, so I use previous version.
Anyway, I can't found any clues, that Pico now works with the generic loader, SDK docs still says about custom Pico loader. There is still a long way to come to universal VR apk. Maybe for now it's better to write universal manifest, place all loaders inside APK and determine the platform on Java side somehow?

Stable libc++ file path for all NDK versions (including NDK 25+) seems to be
./toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so

This should fix the build.  The path might need to account for the host tag (ANDROID_HOST_TAG).  Let me know if you're up for it, otherwise I can merge and make the change.
I am also adding a TODO to switch other libraries (ode, msdfgen) to use shared C++ library in CMake and tup, which is the more correct behavior (Android requires this if your project uses multiple shared libraries due to global conflicts in the C++ standard library).  It might reduce file size a bit.

I think, use ANDROID_HOST_TAG is a good idea (even if almost all Android HMDs are arm64). Before merge, I think we should also make a Git mirror of Pico OpenXR loader (on lovr-org  preferably) and add it as dependency, and I should test latest Pico XR SDK on recently released Neo3 firmware.

I tested the 2.1.0 SDK with the new firmware, it works flawless. Also I added the ifdef, around XR_MND_headless, because it still breaks Pico (and useless on Android at all). Please make a GitHub mirror of Pico OpenXR SDK, add it as dependency, and merge to master.

Tested on Quest with NDK 25.1.8937393, works great.
I added the Pico OpenXR SDK submodule, let me know if you have any issues with it.
Left a few more comments as well.

Thanks!  🎉

FINALLY!!!!


Update Oracle database EF API

Microsoft Reviewers: Open in CodeFlow

/cc @andrevlins

Same comment as SqlServer about sharing common code across EF components.

I'll do that when all PRs are merged https://github.com/dotnet/aspire/issues/2233

I'll do that when all PRs are merged #2233

Why can't we do it on one of them - let's say SqlServer. Get that merged, and then update this one after that is merged?

Because I find it easier this way. Independent PRs, and then one more to refactor when they are in.


Support writing links in synthesized technology root pages

Bug/issue #, if applicable: rdar://129282701
Summary
This primarily fixes a bug where links were DocC didn't resolve any links in the content of a "synthesized" root page.
It also fixes an unrelated bug where an article that got promoted to a root page lost its existing metadata configuration.
Dependencies
None.
Testing

Create a documentation catalog with a single markup file without a @TechnologyRoot directive but with some links that won't resolve. For example:
# Something

The link below will fail to resolve:

- ``NotFoundSymbol``

Build documentation for this article-only catalog.

There should be a warning about the link that doesn't resolve

Add a @PageColor metadata configuration to the page:
  # Something

+ @Metadata {
+   @PageColor(red)
+ }

  The link below will fail to resolve:

  - ``NotFoundSymbol``

Build and preview documentation for this article-only catalog.

There should still be a warning about the link that doesn't resolve.
The page should have the custom page color.

Add another article and name it the same as the base name of the documentation catalog. For example:
# Something else

Another article

In the first article, go back and add a link to the second article. For example:
  # Something

  @Metadata {
    @PageColor(red)
  }

  The link below will fail to resolve:

  - ``NotFoundSymbol``
+ - <doc:CatalogName>

Build and preview documentation for this article-only catalog.

The second article should now the be root, because it's name matches the catalog's name.

This root page doesn't have a custom page color.

There should still be a warning about the symbol link that doesn't resolve.
The link from the first article to the second should resolve and work when clicked on.

Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Added tests
[x] Ran the ./bin/test script and it succeeded
~[x] Updated documentation if necessary~ Not applicable

@swift-ci please test

@swift-ci please test


[codestyle] choose test asserts

Description
There are duplicate ambigous assert macro.
Should choose and use one (e.g. don't use ASSERT_EQ, use EXPECT_EQ).

gtest:
321 EXPECT_EQ
590 ASSERT_EQ
...

testutil outcome (#1863):
 11 ASSERT_OUTCOME_ERROR
 16 EXPECT_OUTCOME_ERROR
 30 EXPECT_OUTCOME_SUCCESS
136 ASSERT_OUTCOME_SUCCESS_TRY
195 ASSERT_OUTCOME_SUCCESS

Motivation
Less ambiguity, more consistency.
Are you planning to do it yourself in a pull request ?
Maybe

EXPECT_ and ASSERT_ were intended


Added Salary Estimation Calculator

Fixes Issue🛠
Closes #839
Description👨💻
I have utilised HTML, CSS and Javascript and implemented a salary estimation calculator that predicts the wanted or needed salary an individual is looking for based on the given criteria.
Type of change📄
Addition of a new calculator

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added demonstration in the form of GIF/video file
[x] I am an Open Source Contributor

Screenshots/GIF📷

Congrats on getting your PR merged to the repo under GSSOC 2k24 🥳 @mythri1010


How do we move data from the scalar register to high bits of the floating-point register?

By using the RV32D instruction set, how do we move the data from the 32-bit scalar register to high 32-bit of the floating-point register?
And how do we move high 32-bit of the floating-point register to the 32-bit scalar register?

Compiler will store the whole FPR into stack and then load high part into GPR, it's the only way to do that as I know.

discussed before
https://github.com/riscv/riscv-isa-manual/pull/301

Duplicates issue, so closing this one.


Add test to ensure seed length, otherwise key might not be deterministic

Note that this PR will not pass tests since require('sodium-prebuilt').api.crypto_sign_SEEDBYTES does not exist
Should it just be hardcoded or?

now using latest sodium so should not be a problem

actually latest sodium did not expose this so added a fallback and https://github.com/paixaop/node-sodium/pull/86


Add a subcommand of dashboard: global-metrics

In order to make it easier for reviewers to review the code, I split the entire requirement into multiple PRs. So this is only a part of the dashboard command.

Now users can provide their own templates to customize the dashboard with the flag --template:


Prevent dates from being adjusted by a User's timezones

When a date is passed as 2018-01-01 to the component as a string via the value prop, it gets converted to a JavaScript Date object.
The user's timezone reflects during this conversion.
A user in New York will see 2017-12-31 on his datepicker component rather than 2018-01-01 because GMT-4

There is a related PR: #440

Oh, nice! It's been open for a few months now @charliekassel ... It would be really helpful if it's merged.

@charliekassel In my use case, I am binding the value to the datepicker component from a PHP blade template, not using it within another vue component where I'd be able to manipulate a date before passing it as a prop, so I have to use a string.
One way to get around this is to convert the date-string to reflect the user's timezone, basically suffix it with 00:00:00 GMT-4
However, a prop that tells the datepicker to ignore the time part of the date (or lack thereof) would be helpful.
If it's a datepicker, it makes sense that it should be able to be concerned with just dates and not their time values.

@mykeels I circumvented this situation using the vue-moment
date = this.$moment.utc(date, 'YYYY-MM-DD').format('DD MMM YYYY')
<datepicker :value="date"></datepicker>

@charliekassel is there any chance that you merge PR #440 any time soon? This timezone issue is really annoying, because this is something that is expected to work out of the box, but instead it leads to weird results and there is nothing related to UTC or timezones in the docs. I really don't want to attach moment.js to my project just because of one text field with date, neither I want to complicate the project's code and implement workarounds without a reason. Thank you for you work.


Improve Phone layout

fixes https://github.com/lfortran/lcompilers_frontend/issues/28

This is ready. Please possibly review and share feedback.


[z3] Update to 4.12.2

Updates the z3 port to 4.12.2 to fix building on macOS.
Also includes a patch for cstdint so it builds with gcc 13 (see https://github.com/Z3Prover/z3/pull/6723)

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

@microsoft-github-policy-service agree


Fix a few MD syntax typos

Closing this as it has received no comments for years and the repo appears to be unmaintained in the first place.


Added support for bigint in ClassNameValue type

https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-2.html#bigint

Should be fine now.


DefaultChannelHandlerInvoker write leak

Motivation:
DefaultChannelHandlerInvoker.invokeWrite calls a utility method validatePromise which may throw if the arguments are not valid. If this method throws then the message will not be released.
Modifications:

If an exception is thrown the message should be released

Result:
No more leak in DefaultChannelHandlerInvoker.invokeWrite

It is possible this may relate to https://github.com/netty/netty/issues/4302 (and other leaks too)
@trustin @nmittler - FYI

@Scottmitch ship it... That said I don't get why you think this may be related to https://github.com/netty/netty/issues/4302

LGTM

That said I don't get why you think this may be related to #4302

The buffer that leaks is almost definitely written here (as we confirmed when you were at my desk ... which lead me to submit PR #4861 due to the initial confusion of verifying this). So it is reasonable to assume if the write method was not fulfilling the reference count ownership that is implied that a all the leaks reported in #4302 could be a result of this issue.

But wouldn't this only happen when the validation of the promised is failed?

Am 07.03.2016 um 17:15 schrieb Scott Mitchell<EMAIL_ADDRESS>That said I don't get why you think this may be related to #4302
The buffer that leaks is almost definitely written here (as we confirmed when you were at my desk ... which lead me to submit PR #4861 due to the initial confusion of verifying this). So it is reasonable to assume if the write method was not fulfilling the reference count ownership that is implied that a all the leaks reported in #43 02 could be a result of this issue.
—
Reply to this email directly or view it on GitHub.

Cherry-picked 4.1 (e2f5012, d0f7f98) 4.0 (27c68a1)

But wouldn't this only happen when the validation of the promised is failed?

Yes. SimpleChannelPromiseAggregator currently "fails fast".  If multiple write operations are done using the same SimpleChannelPromiseAggregator and one of them fails (say the connection is closed), then the second write operations may fail.  So I agree with you ... the first write operation here should not be impacted by this.  Also I need to investigate if the "fail fast" behavior is necessary because with the "write" method throwing a exception ... this could lead to other leaks.


✨ Assistive scripts for contributors

Description
Closes #11. Introduces an optional scripts to help migrate Solady content to Soledge. Offers previews and requires user confirmation before updating. Includes a reminder to double-check before committing. No external dependency.
Usage
npm run powerup

npm run rebrand

Updates

Following files added to scripts:utils
├─ config.js — "All script configuration, prime one being the latest supported solidity version."
├─ io.js — "Util script for I/O operations"
├─ powerup.js - "An assistive file to quickly update solidity version"
└─ rebrand.js - "An assistive file for rebranding from solady to soledge"

@raxhvl  Thanks for the PR. I have some suggestions regarding the scripts. Please consolidate all scripts into a single file and make it compatible with the command-line interface (CLI) for easier execution by developers. This way, we only need to maintain one file for automating tasks.

make it compatible with the command-line interface (CLI) for easier execution by developers

Could you please elaborate what interface are you looking for? Currently these are CLI compatible via npm scripts :
npm run powerup

npm run rebrand

Do you mean standalone script via node <script.js> <command>? Please spec out the interface and I'll modify the code.

Looks good to me.


Edit field in Custom Value dropdowns

Context
Based on @ztephm comments on https://github.com/CartoDB/cartodb/issues/11903 we need to enable a field edit feature in the Custom Value dropdowns that enables users to edit the field and not only rewriting it from scratch.

Steps to Reproduce

Look for a Custom Value dropdown (e.g. in infowindows)
Try to edit a previous value

Current Result
No way to edit the field without rewriting it entirely
Expected result
Be able to edit the content, like, for example, in the table view.

Don't you think it should start in design, trying to find a way to do it, and then move it to development?

Also I have doubts about if it should be tackled in the response team...

This is a bug, as the component was originally designed to be editable. But summoning @urbanphes so he can shed more light.
cc @saleiva

There is nothing else to design. When you've entered a custom value, you should be able to edit it by editing the content of the input directly. That would be reflected on the dropdown as well.

When you enter a custom value and it is applied, it is not a custom value anymore!. So it is not that easy to edit it.

For the dropdown component clicking on the already written value an filling the text field with it (so you're able to edit it) should work. That said, I can't find a reason for using that component in Geometry edition; you should be able to directly edit the value in the text field itself, right?

@noguerol remember that functionality of autocompleting is very useful when working on categorized maps – which is quite common when creating datasets from scratch

True. Then we can fix the component as I said.

On production


Merge two RecordBatchs or StructArrays

This PR implements two functions:

Merge(batch, batch, memory_pool);
Merge(struct_array, struct_array, memory_pool);

what is this utility going to be used for?

The use case for now is to merge the columns read via the filtering process , with the columns read from projection. So we don't need to read the filtered columns again for queries like
SELECT foo, bar FROM data WHERE bar = 12

Feels like the offsets assumption is dangerous to make in a util method that we expect will be commonly used.

lemme just add the check for now then.


Implement new segmentation plugin

Pending #304

This now implements:

Instance segmentation with decoder
Automatic 3d instance segmentation (both with decoder and AMG)
State precomputation for AMG and IS with decoder

There are still several improvements necessary, but I will merge this now and then work on the improvements as a follow-up.


Run cAdvisor inside Kubelet

Fixes #4798.
Changed salt to delete the cAdvisor manifest since otherwise it would get orphaned.

Overall LGTM. Just a few comments. Nice work @vmarmol. This should open doors for many new features in kubelet.

Thanks @vishh! PTAL

LGTM

@vmarmol
Shippable is failing with the following error:
./hack/verify-boilerplate.sh
sed: couldn't write 40 items to stdout: Broken pipe
sed: couldn't flush stdout: Broken pipe
sed: couldn't write 58 items to stdout: Broken pipe
sed: couldn't flush stdout: Broken pipe
sed: couldn't write 64 items to stdout: Broken pipe
sed: couldn't write 64 items to stdout: Broken pipe
cat: write error: Broken pipe
Can you please have a look?

@nikhiljindal looks like a real issue when running without cgroups. Will test and try.
Ran e2e and all tests pass btw.

This is OK to merge?

@satnam6502, not quite yet :) I'd like @dchen1107  to take a look and the tests are failing on Travis (not a flake, it is an env issue I'm sorting through).

I removed lgtm tag since there are still failures.

Added some error handling to cAdvisor and updated that dep.
Travis is now green. PTAL

Re-assign this to me. I will review it tonight without merge, I promise. :-)

LGTM overall but you have to 1) rebase first 2) you need to remove cadvisor manifest related entry in cluster/saltbase/salt/kubelet/init.sls

All changes made, PTAL @dchen1107 and thanks for the review :)

LGTM and will merge once travis is green

All is green :D

xref https://github.com/mesosphere/kubernetes-mesos/issues/18

Good day guys! After last Kubernetes update we found out cAdvisor running inside kubernetes on port 4194. Looks nice but how to configure it to dump stats to influxdb on specific host?

@bliss: In the case of kubernetes, we recommend using heapster instead of re-configuring cadvisor on the node.

@vishh Does your reply mean that there are no ways to configure built-in cAdvisor except via heapster ?

Yes thats the current state.
On Mon, Apr 6, 2015 at 11:45 AM, bliss<EMAIL_ADDRESS>wrote:

@vishh https://github.com/vishh Does your reply mean that there are no
ways to configure built-in cAdvisor except via heapster ?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/5308#issuecomment-90193166
.

You can alternatively run cAdvisor instances on each of your machines as a stop-gap. We do recommend moving over to Heapster that provides more data and metadata.

But is there a way to stop built-in cAdvisor if we decide to run standalone cAdvisors on every machine?

@bliss unfortunately there is no way, although it should only affect you by using  slightly more resources than only running one of them. Are you running into any issues?
Note that to run the Kubelet cAdvisor on a specified port use the --cadvisor_port flag on the Kubelet (or not to export the HTTP endpoint set it to 0)

@vmarmol Thank you very much!


Use clap-derive instead of raw clap for argument parsing

Now that structopt has been merged into clap, I think it would be simpler for novice users to use clap derive instead of the original clap code.  Are there any objections to migrating to this method?

I'd like to work on this!
Can I pick this up?

leave the clap example but prelude it with the simple recipe.


filename on splitwindow

I really need to see the filepath on splitwindows, looks like by design inactive_galaxyline greys out non-focused window.
Can I get the filepath displayed there?

you can config short_ right

you can config short_ right

that's perfect, thanks a lot!

that's perfect, thanks a lot!

now can we close this issue?

now can we close this issue?

Yes, 10x

Yes, 10x


after "bash build.sh" How to install xgboost

I'm new to python and new to ubuntu.
After "bash build.sh" I saw a program "xgboost". Then how to install the model ?
I have "import xgboost as xgb" in my py program but looks like they didn't find it.
I got "ImportError: No module named xgboost"
Thanks for you help.

How can I use it only by c++?

check out instruction in the https://github.com/dmlc/xgboost/blob/master/doc/README.md if you mean CLI version. If you mean use the c++ class, you will need to read the interface of modules in xgboost


Clock showing __ __ under, even if only time is set to be displayed

Hello.
Just got my Ulanzi clock yesterday and managed to get EsphoMaTrix working on it. Great work, thanks in advance.
In "other" clock applications I used (awtrix, for instance), these __ __ only appeared in case more than 1 information was to be shown (date, day of week, etc).
As per my personal settings, I usually only display the clock, so I wonder if removing the __ __ appearing below the clock is feasible, in case only time is set to be displayed.
Thanks in advance.

According to the docs, should be possible if you add day_of_week: false under the ehmtx section though not tried myself.

According to the docs, should be possible if you add day_of_week: false under the ehmtx section though not tried myself.

I missed it:
dayofweek (Optional, bool): draw the day indicator on the bottom of the screen. Disable e.g. if you want larger fonts, defaults to true.
I'll try it with dayofweek: false, thanks again.,

Solved, according to the documentation.


Check if bot owns a game

Command for checking if bot owns a game by appid. Possibility of checking by (part of) name gonna be amazing but a bit harder to implement.

If we don't want to use API for that, and we most definitely don't want to, then it's another portion of reverse engineering steam client and searching which part is responsible for returning owned games of given account.
Wishlist.

you can do it simple without api key going here: http://steamcommunity.com/profiles/76561198177999769/games/?xml=1, just do a search looking for "YourGameAppID", if found, then account "76561198177999769" have the AppID game.
i hope i can help :)

Nice find, although steam community requests are also limited, this will be a good way if I won't find a way to do that from inside steam client.

if accounts have an api key, i guess this should work  http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?key=XXXXXXXXXXXXXXXXX&steamid=76561197960434622&format=json
if not i guess you will have to take my first suggest :c, i know requests are limited, but probably this will be used just a few times and should not rearch any limits
so for now if you have time, if the bot instance have an api key, use then, and if not.you can put bot to search in SteamCommunity, i guess you probably will find a better way latter :)

With recent debugging and sniffing tools I added to ASF, reverse-engineering steam client got much easier.

As I assumed, Steam doesn't send client appIDs it owns. I also can't find any decent way to request them either, so I'll probably need to go with steamcommunity data, sigh.

sounds awesome also boring to do :c, great job you are doing bro !

D'oh! You're slow Archi (⇀‸↼‶)
LicenseListCallback + PICS

That returns info for specific package(s), not for all of them.

I'd need to fire ClientLicenseList, get results, then ask PICS for all of returned packages, which sounds like an overkill.

:+1:


I got error when downloading aspnetcore on kitematic !

Error Message

... unknown blob

This is a Windows Container image only - Please see the documentation for this image and the requirements.
To learn more about Windows Containers, please see this post:
https://blog.docker.com/2016/09/build-your-first-docker-windows-server-container/


Add JS CDN fallback urls

If a particular CDN cannot be accessed or is down, keep a list of backup/fallback CDN urls for React, ReactDOM, d3-require, and Vitessce that can be used via a parameter  like vc.widget(cdn="unpkg")

Should also document this, perhaps in the troubleshooting section of the README and/or on the docs site

We can also add a fallback option that points to files on servers entirely within our control.


How to replace Foundation with Bootstrap?

Hello there!
As I see bower.json contains both foundation and bootstrap dependencies. And index.html includes foundation-site.css by default (not bootstrap styles). So the question is: how can I change Foundation with Bootstrap? Where is this magic option? I look for it but without success.
Thanks!

Hi,
First: if you need more options depend on the workflow you can use this [ Slush-Kickstart ] which have more options when you start your workflow.
Second: if you want to just change this default foundation framework, please do that :
in this file [ gulp/paths.js ] just change this code :
'!' + src + 'scss/vendor/bootstrap.scss'
to:
'!' + src + 'scss/vendor/foundation-sites.scss'
Third: if you want to completely remove foundation and using enough bootstrap, please do that :

remove foundation from here : bower.js & here
remove this code :
path.to.sass.foundation,
from here : gulp/config.js
in this file [ gulp/paths.js ] : remove this codes :
'!' + src + 'scss/vendor/bootstrap.scss'
foundation: src + 'scss/vendor/lib/foundation-sites/scss',

Thanks for the detailed response! :+1:


Prometheus traget kubernetes-service-endpoints  error "server returned HTTP status 404 Not Found"

Bug description
Hi team, I have met a problem when I use istio 1.6.12, that Istio addon prometheus have been auto injected istio-proxy sidecar, and foud the prometheus traget kubernetes-service-endpoints happened error server returned HTTP status 404 Not Found, is it a bug? ,can you give me some ideas?  thanks.
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
the prometheus traget kubernetes-service-endpoints happened error server returned HTTP status 404 Not Found, and Istio prometheus have been injected the istio-proxy.
Steps to reproduce the bug
the 1th step:
istioctl manifest generate --set profile=demo --set values.global.jwtPolicy=first-party-jwt  > istio-demo-3.yaml
the 2nd step:
kubectl apply -f istio-demo-3.yaml
the 3rd step:
istioctl  verify-install -f istio-demo-3.yaml
finally, you will find the prometheus have been added sidecar istio-proxy .

in addition, I have checked the prometheus yaml, and found it have added annotation sidecar.istio.io/inject: "false".

prometheus-deployment.yaml.txt
I also have saw the prometheus web UI and found that kubernetes-service-endpoints metrics 15090 server returned HTTP status 404 Not Found :

Version (include the output of istioctl version --remote and kubectl version --short and helm version if you used Helm)

[root@ecs-5274-0318468 istio]# istioctl version --remote
client version: 1.6.12
control plane version: 1.6.12
data plane version: 1.6.12 (12 proxies)
[root@ecs-5274-0318468 istio]# kubectl version --short
Client Version: v1.18.8
Server Version: v1.18.6

How was Istio installed?
the 1th step:
istioctl manifest generate --set profile=demo --set values.global.jwtPolicy=first-party-jwt  > istio-demo-3.yaml
the 2nd step:
kubectl apply -f istio-demo-3.yaml
Environment where bug was observed (cloud vendor, OS, etc)

[root@ecs-5274-0318468 istio]# uname -a
Linux ecs-5274-0318468.novalocal 3.10.0-957.10.1.el7.x86_64 #1 SMP Mon Mar 18 15:06:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[root@ecs-5274-0318468 istio]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core

@howardjohn what do you think?

I don't see how it can happen. we look for [__meta_kubernetes_service_annotation_prometheus_io_scrape=true] in the config... can you ensure this annotation is not present on the prometheus pod/service/endpoint? when looking at the manifest generate I do not see it, but not sure how this could happen otherwise

@howardjohn yes, I saw [__meta_kubernetes_service_annotation_prometheus_io_scrape=true] in prometheus svc, see below:

[root@ecs-5274-0318468 ~]# kubectl get  svc prometheus -n istio-system  -o yaml
apiVersion: v1
kind: Service
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"v1","kind":"Service","metadata":{"annotations":{"prometheus.io/scrape":"true"},"labels":{"app":"prometheus","install.operator.istio.io/owning-resource":"installed-state","install.operator.istio.io/owning-resource-namespace":"istio-system","operator.istio.io/component":"AddonComponents","operator.istio.io/managed":"Reconcile","operator.istio.io/version":"1.6.12","release":"istio"},"name":"prometheus","namespace":"istio-system"},"spec":{"ports":[{"name":"http-prometheus","port":9090,"protocol":"TCP"}],"selector":{"app":"prometheus"}}}
    prometheus.io/scrape: "true"
  creationTimestamp: "2020-11-03T07:38:29Z"
  labels:
    app: prometheus
    install.operator.istio.io/owning-resource: installed-state
    install.operator.istio.io/owning-resource-namespace: istio-system
    operator.istio.io/component: AddonComponents
    operator.istio.io/managed: Reconcile
    operator.istio.io/version: 1.6.12
    release: istio
  managedFields:
  - apiVersion: v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:prometheus.io/scrape: {}
        f:labels:
          .: {}
          f:app: {}
          f:release: {}
      f:spec:
        f:externalTrafficPolicy: {}
        f:ports:
          .: {}
          k:{"port":9090,"protocol":"TCP"}:
            .: {}
            f:name: {}
            f:port: {}
            f:protocol: {}
            f:targetPort: {}
        f:selector:
          .: {}
          f:app: {}
        f:sessionAffinity: {}
        f:type: {}
    manager: kubectl
    operation: Update
    time: "2020-11-03T11:31:27Z"
  - apiVersion: v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          f:kubectl.kubernetes.io/last-applied-configuration: {}
        f:labels:
          f:install.operator.istio.io/owning-resource: {}
          f:install.operator.istio.io/owning-resource-namespace: {}
          f:operator.istio.io/component: {}
          f:operator.istio.io/managed: {}
          f:operator.istio.io/version: {}
    manager: istioctl
    operation: Update
    time: "2020-11-04T02:20:16Z"
  name: prometheus
  namespace: istio-system
  resourceVersion: "22092249"
  selfLink: /api/v1/namespaces/istio-system/services/prometheus
  uid: 428cc9e9-1750-4c36-9257-5fa041180e3d
spec:
  clusterIP: <IP_ADDRESS>
  externalTrafficPolicy: Cluster
  ports:
  - name: http-prometheus
    nodePort: 32525
    port: 9090
    protocol: TCP
    targetPort: 9090
  selector:
    app: prometheus
  sessionAffinity: None
  type: NodePort
status:
  loadBalancer: {}

but when scraped the address http://<IP_ADDRESS>:15090/metrics,  it will happen server returned HTTP status 404 Not Found, and if I change the address  http://<IP_ADDRESS>:15090/metrics to http://<IP_ADDRESS>:15090/stats/prometheus, the request response is okay,  Is the configuration correct?

[root@ecs-5274-0318468 ~]# kubectl get pod -n istio-system -o wide
NAME                                    READY   STATUS    RESTARTS   AGE     IP               NODE                         NOMINATED NODE   READINESS GATES
grafana-7dbb4c4d57-ft28f                1/1     Running   0          5d17h   <IP_ADDRESS>     ecs-5274-0318495.novalocal
istio-egressgateway-79bc5897d9-gztq8    1/1     Running   0          5d17h   <IP_ADDRESS>     ecs-5274-0318495.novalocal
istio-ingressgateway-794bc8cd66-2c8ft   1/1     Running   0          4d23h   <IP_ADDRESS>   ecs-5274-0318428.novalocal
istio-tracing-6669c66b87-vwlmg          1/1     Running   0          5d17h   <IP_ADDRESS>     ecs-5274-0318495.novalocal
istiod-84645b6577-dplfd                 1/1     Running   0          4d23h   <IP_ADDRESS>   ecs-5274-0318428.novalocal
istiod-84645b6577-m247g                 1/1     Running   0          4d23h   <IP_ADDRESS>     ecs-5274-0318495.novalocal
kiali-5c96cd5d68-tmdzm                  1/1     Running   0          5d17h   <IP_ADDRESS>     ecs-5274-0318495.novalocal
prometheus-6dbdc4769f-sdzl2             2/2     Running   0          4d23h   <IP_ADDRESS>    ecs-5274-0318468.novalocal

/prometheus $ wget http://<IP_ADDRESS>:15090/metrics
Connecting to <IP_ADDRESS>:15090 (<IP_ADDRESS>:15090)
wget: server returned error: HTTP/1.1 404 Not Found

/prometheus $ wget http://<IP_ADDRESS>:15090/stats/prometheus
Connecting to <IP_ADDRESS>:15090 (<IP_ADDRESS>:15090)
saving to 'prometheus'
prometheus           100% |*************************************************************************************************************************************************************************************************| 30326  0:00:00 ETA
'prometheus' saved

Hi,
Is there any workaround for this? I have the same problem, i.e., "metrics" endpoints is not working but "/stats/prometheus" does.
Thanks in advance


Lock editing:

When an item is locked or unlocked, the history table should reflect this.
The column entries should be
History | Modified by | Last modified | Description of changes
[Item locked/Item unlocked] | [SUNet of admin making the change] | [date/time stamp same as other entries] | [blank]

Do we want to be able to see some kind of note about this action in the history table? If so, we need to build that into the locking/unlocking feature.

Yes, my PR that implemented the lock/unlock admin feature added to the events table (which builds that history view).


Wrong link to 'Enable passwordless security key sign-in to Windows 10 devices.'

It seems that the link to:
Enable passwordless security key sign-in to Windows 10 devices.
Should rather go to: https://learn.microsoft.com/en-us/entra/identity/authentication/howto-authentication-passwordless-security-key-on-premises

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

ID: 50b27a01-622e-d980-83f2-1ed27060613b
Version Independent ID: e6472e15-10d7-bd4a-da02-558f2774dbaf
Content: Passwordless security key sign-in to on-premises resources - Microsoft Entra ID
Content Source: docs/identity/authentication/howto-authentication-passwordless-security-key-on-premises.md
Service: entra-id
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

@YoniGit
Thanks for your feedback! We will investigate and update as appropriate.

@YoniGit
Thank you for bringing this to our attention.
I've delegated this to content author @Justinha, who will review it and offer their insightful opinions.

@YoniGit thanks for raising this and sorry for delay. The link is right but the link text is outdated. It's been corrected and will appear no later than tomorrow. #please-close


[ST] "allowance(address, address)" revert ezETH

Describe the bug
Users trying to bridge to/from Mode are getting this error:

We already had them try to revoke approval and reapprove but that doesn't fix it.
Link to ticket in discord
https://discord.com/channels/454734546869551114/1217746830239072376/1217755732464635924

this is due to RPC issues. Rotated the providers in coinhippo, would recommend rotating wallet provider if using a browser wallet. for now will close until / unless this comes up again.

The issue came up again, seems that the only fix is to rotate the wallet provider https://discord.com/channels/454734546869551114/1220018966194425876 (we've more open tickets about this in the last 2-4  days)
Not a nice solution since it forces users to import their wallets to new providers.

Another case:
https://discord.com/channels/454734546869551114/1220105325940572411

unfortunately the users provider is the most reliable. we can switch to using public providers on the frontend, but we will likely just have to switch these much more often.
im not sure if there is a better solution here, but imo we should wait to debug / qa these types of issues on the refactored UI

This user can't bridge even after having changed wallet provider
https://discord.com/channels/454734546869551114/1219149711374549062

Another user here, using MM + Ledger: https://discord.com/channels/454734546869551114/1222157831394820118

Another one with Metamask, they even switched devices.  https://discord.com/channels/454734546869551114/1222089022474686495
It's been a common error in the chinese channel so maybe that has to do with it.

#6107


Flag for "datdaemon add" to not complain if a hash already exists

Currently it dies, which makes it hard to script (because i would like to differentiate between already added and other errors).

https://github.com/soyuka/dat-daemon/blob/master/index.js#L48
Need to test this :|. Thanks for the report.

Wait in fact you should be able to test this just fine, it exits with a code 1, would another code do the trick?

Does it always exit with 1 only if the key is already added? No other cause makes it exist with 1?
So I imagine something like rm -f flag, which makes rm exist with 0. So then I would not even have to check the return code value. (And generally it is hard to assure that the return code is not reused because some other library might exit with 1 for example for some other reason.)

Exits with code 2 in this case :).

Thanks!


How to include a simple plugin (e.g. fancybox or any other) into Foundation 6.4 (Webpack)?

I set up foundation with the cli template and wanted to include the jquery plugin fancybox. In previous versions without webpack, I would include the path to my fancybox bower plugin in config.yml.
How does it work now with webpack?
Do I need to add it in config.yml?
  # Paths to JavaScript entry points for webpack to bundle modules
  entries:
    - "src/assets/js/app.js"
    -<EMAIL_ADDRESS>
Or in my app.js like this?
$(document).foundation();
import fancybox from<EMAIL_ADDRESS>
really confused about how to include it and nothing works thus far. Have been trying different things. I am not too familiar with webpack, but I guess that is now a prerequisite for using foundation.
What is the best practise or at least, how can I make this work?

cc @kball
By the way myself also interested for knowing the answer to it ;)

The latter is how I'd do it - will set up a sample project and verify exact config for you

Fancybox expects window.jQuery to be defined. There also appears to be some sort of inconsistency when using an es6 import given it's not an es6 module, so I used a node style require instead (webpack groks both). In the end this is what it took to get this to work  in my app.js:
window.jQuery = $;
require('@fancyapps/fancybox/dist/jquery.fancybox');

Thanks @kball. Wouldn't it make sense to restructure things a little bit? Maybe like so:
This is what my app.js now looks like:
// Framework
import $ from 'jquery';
import whatInput from 'what-input';
import './lib/foundation-explicit-pieces';

// User
require('./lib/fancybox');
require('./lib/justifiedGallery');
require('./lib/classie');
require('./lib/header');
require('./lib/counter');

This is my lib/foundation-explicit-pieces.js:
import $ from 'jquery';
window.$ = $;

import { Foundation } from 'foundation-sites/js/foundation.core';
import { rtl, GetYoDigits, transitionend } from 'foundation-sites/js/foundation.util.core';
import { Box } from 'foundation-sites/js/foundation.util.box'
import { onImagesLoaded } from 'foundation-sites/js/foundation.util.imageLoader';
import { Keyboard } from 'foundation-sites/js/foundation.util.keyboard';
import { MediaQuery } from 'foundation-sites/js/foundation.util.mediaQuery';
import { Motion, Move } from 'foundation-sites/js/foundation.util.motion';
import { Nest } from 'foundation-sites/js/foundation.util.nest';
import { Timer } from 'foundation-sites/js/foundation.util.timer';
import { Touch } from 'foundation-sites/js/foundation.util.touch';
import { Triggers } from 'foundation-sites/js/foundation.util.triggers';
import { Abide } from 'foundation-sites/js/foundation.abide';
import { Accordion } from 'foundation-sites/js/foundation.accordion';
import { AccordionMenu } from 'foundation-sites/js/foundation.accordionMenu';
import { Drilldown } from 'foundation-sites/js/foundation.drilldown';
import { Dropdown } from 'foundation-sites/js/foundation.dropdown';
import { DropdownMenu } from 'foundation-sites/js/foundation.dropdownMenu';
import { Equalizer } from 'foundation-sites/js/foundation.equalizer';
import { Interchange } from 'foundation-sites/js/foundation.interchange';
import { Magellan } from 'foundation-sites/js/foundation.magellan';
import { OffCanvas } from 'foundation-sites/js/foundation.offcanvas';
import { Orbit } from 'foundation-sites/js/foundation.orbit';
import { ResponsiveMenu } from 'foundation-sites/js/foundation.responsiveMenu';
import { ResponsiveToggle } from 'foundation-sites/js/foundation.responsiveToggle';
import { Reveal } from 'foundation-sites/js/foundation.reveal';
import { Slider } from 'foundation-sites/js/foundation.slider';
import { SmoothScroll } from 'foundation-sites/js/foundation.smoothScroll';
import { Sticky } from 'foundation-sites/js/foundation.sticky';
import { Tabs } from 'foundation-sites/js/foundation.tabs';
import { Toggler } from 'foundation-sites/js/foundation.toggler';
import { Tooltip } from 'foundation-sites/js/foundation.tooltip';
import { ResponsiveAccordionTabs } from 'foundation-sites/js/foundation.responsiveAccordionTabs';

Foundation.addToJquery($);
// Add Foundation Utils to Foundation global namespace for backwards compatibility.
Foundation.rtl = rtl;
Foundation.GetYoDigits = GetYoDigits;
Foundation.transitionend = transitionend;
Foundation.Box = Box;
Foundation.onImagesLoaded = onImagesLoaded;
Foundation.Keyboard = Keyboard;
Foundation.MediaQuery = MediaQuery;
Foundation.Motion = Motion;
Foundation.Move = Move;
Foundation.Nest = Nest;
Foundation.Timer = Timer;

// Touch and Triggers previously were almost purely sede effect driven, so no // need to add it to Foundation, just init them.
Touch.init($);
Triggers.init($, Foundation);
Foundation.plugin(Abide, 'Abide');
Foundation.plugin(Accordion, 'Accordion');
Foundation.plugin(AccordionMenu, 'AccordionMenu');
Foundation.plugin(Drilldown, 'Drilldown');
Foundation.plugin(Dropdown, 'Dropdown');
Foundation.plugin(DropdownMenu, 'DropdownMenu');
Foundation.plugin(Equalizer, 'Equalizer');
Foundation.plugin(Interchange, 'Interchange');
Foundation.plugin(Magellan, 'Magellan');
Foundation.plugin(OffCanvas, 'OffCanvas');
Foundation.plugin(Orbit, 'Orbit');
Foundation.plugin(ResponsiveMenu, 'ResponsiveMenu');
Foundation.plugin(ResponsiveToggle, 'ResponsiveToggle');
Foundation.plugin(Reveal, 'Reveal');
Foundation.plugin(Slider, 'Slider');
Foundation.plugin(SmoothScroll, 'SmoothScroll');
Foundation.plugin(Sticky, 'Sticky');
Foundation.plugin(Tabs, 'Tabs');
Foundation.plugin(Toggler, 'Toggler');
Foundation.plugin(Tooltip, 'Tooltip');
Foundation.plugin(ResponsiveAccordionTabs, 'ResponsiveAccordionTabs');
module.exports = Foundation;

$(document).foundation();

And this is for example my fancybox.js:
import $ from 'jquery';
window.jQuery = $;
require('@fancyapps/fancybox/dist/jquery.fancybox');

$('a[data-fancybox="cl-group"]').fancybox({
    baseClass: 'fancybox-custom-layout',
    margin: 0
});

This way, the app.js functions like the app.scss and all JS is in separate files/modules.

@phifa I like that idea a lot - I think getting to a best practice with the new JS approach is going to take a little figuring, but this looks good to me.

@kball yeah, my solution is most likely not the best. I am not experienced with webpack at all, just trying to figure this out.
I think for foundation to succeed on the longrun, this is a critical topic to tackle. There are many guys like me out there using foundation, but have not been exposed to webpack. We cannot afford to loose them and we cannot afford to not win the newbies who are just starting out with web development. They will run to Bootstrap the minute they have the feeling it is easier to use - not because it's better.
By including webpack, we have added another layer of complexity to foundation. We need to lower all the entry barriers to get people on board. I think this is why I am proposing the above idea and I invite people with more experience and knowledge to improve upon the idea, like I said, this is most likely not the best solution/practise.
Also I noticed long transpiling time, sometimes a minute for webpack/babel/gulp to parse the JS files and reload the browsersync.

@phifa would you like to submit a PR to the zurb stack with the new structure you proposed?

sure, no problem, do we want more eyes on this first, or you think it is a safe approach? also regarding transpile time? mabe you can test it first.

I've been building my own workflow for a week because just like when the javascript task was done with Gulp. The construction time seems a little tedious for a minute. This is not productive if you are developing.
Already with Gulp separate the structure into three directories:

Core: frameworks and libraries
Common: javascript files that are shared between different pages.
Main: javascript files that are on each page.

This way when I changed something in Common or Main, Babel and concatenate took a second or even less.
I'm totally new to webpack, but I think you could move this to webpack. Here they speak of three methods:
Https://robertknight.github.io/posts/webpack-dll-plugins/

DllPlugin
CommonsChunkPlugin
code splitting

Of course this would be for development, unless it will make it easier to make a lazy load on Foundation users. So that you could have:

Vendor.bundle.js - Where would also be Foundation.
Main.bundle.js - Where would be the developer code.

But there would have to be two Gulp tasks:
Const webpackConf = require ('../ conf / webpack.conf');
Const webpackDistConf = require ('../ conf / webpack-dist.conf');

Gulp.task ('webpack: dev', done => {
  WebpackWrapper (false, webpackConf, done);
});

Gulp.task ('webpack: dist', done => {
  Process.env.NODE_ENV = 'production';
  WebpackWrapper (false, webpackDistConf, done);
});

Function webpackWrapper (watch, conf, done) {
  Const webpackBundler = webpack (conf);

  Const webpackChangeHandler = (err, stats) => {
    If (err) {
      GulpConf.errorHandler ('Webpack') (err);
    }
    Gutil.log (stats.toString ({
      Colors: true,
      Chunks: false,
      Hash: false,
      Version: false
    }));
    If (done) {
      Done ();
      Done = null;
    } Else {
      Browsersync.reload ();
    }
  };

  If (watch) {
    WebpackBundler.watch (200, webpackChangeHandler);
  } Else {
    WebpackBundler.run (webpackChangeHandler);
  }
}

'Webpack: dev' -> vendor.bundle.js and main.bundle.js
'Webpack: dist' -> bundle.js

My references on DllPlugin:

https://medium.com/@soederpop/webpack-plugins-been-we-been-keepin-on-the-dll-cdfdd6cb8cd7
https://github.com/react-boilerplate/react-boilerplate

You can use the webpack ProvidePlugin to shim jQuery for older plugins.
https://webpack.js.org/plugins/provide-plugin/
Then you can import any plugin you need as normal.

Hm, never had such issues with the current templates. Some jQuery plugins do not export the namespace or class name and do not bind window to root in the UMD / AMD wrapper that they use sometimes. In this case we host a modified version where we define window as root.
Using require with the ES6 module structure can introduce problems and needs a different babel config.

Closing as we did not receive any further updates regarding this issue. If there are still issues please open a new issue.


[SPARK-6723] [MLLIB] Model import/export for ChiSqSelector

This is a PR for Parquet-based model import/export.

Added save/load for ChiSqSelectorModel
Updated the test suite ChiSqSelectorSuite

Can one of the admins verify this patch?

Can you fix merge conflicts so I can try it out?

Thanks Feyman!
Cleaned up the newlines and fixed the merge conflicts.

LGTM overall, some nits, ping @mengxr to trigger tests

ok to test

Merged build triggered.

Merged build started.

Test build #44016 has started for PR 6785 at commit e97930c.

Test build #44016 has finished for PR 6785 at commit e97930c.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):\n  *     case class Data(feature: Int)\n

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44016/
Test PASSed.

Merged build finished. Test PASSed.

Merged into master. Thanks!


npm audit fix to update vulnerable packages.

Pull Request Test Coverage Report for Build 510

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.934%

Totals

Change from base Build 508:
0.0%

Covered Lines:
575

Relevant Lines:
584

💛  - Coveralls


Is there a video tutorial / detailed tutorial for mac or Linux on this process?

Is there an existing issue for this?

[X] I have searched the existing issues

I'm submitting a ...

[ ] bug report
[X] feature request
[ ] support request --> Contact me over mail for support https://github.com/MShawon

Description
.
Environment
- OS : Mac/Kali Linux
- Python :
- Script version :

config.json
.

nope only readme


Django 1.10 support

I've started migration of my project to Django 1.10 so far I found some issues on test suite when running Django 1.10, I've updated some of the tests, but some of them are still failing.. I'll re work on this later but if someone already started giving support to Django 1.10 this is a good start [1]
[1] https://github.com/angvp/django-rest-framework-jwt

Put your code here friend.

@SalahAdDin There's a link upside ^ ;) .. I'm opening a pull request anyway

Did this get closed? The docs list Django 1.10 as a requirement but this comment suggests otherwise.


fix(material/tabs): allow coercing of booleans for all inputs

Previously, some properties were declared as BooleanInput and some not. With this commit, all boolean inputs are threat as BooleanInput and therefore the input values are being coerced.

@wagnermaciel @crisbeto @josephperrott The tabs preserve content example is now broken because somehow the examples got released with version 13.2.3 but the commit of the code changes was not in release 13.2.3 but only in 14.0.0-next.3.

@jeripeierSBB Yeah, looks like the v14 docs content/example content is used for the v13 material docs site. I'll send a fix in angular/material.angular.io.


Fix for #721

cleaner code :heart:
fixes #721 :hear_no_evil:

P.S.: @mholt sorry, again :cry:

@DenBeke You wanna give this a try? You could even just make the change locally on your computer if that's easier :stuck_out_tongue:
Thanks @elcore! (Haha, and no worries. This happens. If this works, maybe add a test...)

LGTM. Thank you for the fix and test!

Maybe a bit late, but this indeed fixes #721. Thanks!

@DenBeke no problem :smile:


There is an error in using xcode 13 according to the operation in the video

video link: https://twitter.com/sir_kif/status/1368644206789615617
xcode: Version 13.0 (13A233)
Multiple commands produce '/Users/admin/Library/Developer/Xcode/DerivedData/HotSwiftUI-bphptxjidulartdyzngcqjbfxuid/Build/Intermediates.noindex/HotSwiftUI.build/Debug-iphonesimulator/HotSwiftUI.build/Objects-normal/arm64/HotSwiftUI.swiftmodule':

Target 'HotSwiftUI' (project 'HotSwiftUI') has compile command for Swift source files
Target 'HotSwiftUI' (project 'HotSwiftUI') has compile command for Swift source files

build fail

Hi, It's difficult to say what the problem is here without knowing more about your project. I have used "HotSwiftUI" with Xcode 13 without seeing this problem. Have you used it before with Xcode 12?

No, I use the xcode13 beat version. I cleared the cache and reset it.
I feel that this will refresh automatically. I must set
#if debug for the view to be modified in advance
@ObservedObject var iO = injectionObserver
#

Then set debug view
. erasetoanyview ()

to debug it dynamically. If a view is not set, it will still be a little troublesome to run it again

All I can suggest is trying, getting it working in Xcode 12 before trying Xcode 13 again.

Thank you idol, I will close this video


[Volunteer] support config dubbo consumer pool

Volunteer help
support config dubbo consumer pool

apache dubbo part had done, see https://github.com/apache/incubator-shenyu/pull/2941


Error building SD Image

Hello,
Thank you for creating this nice repo.. it's been very helpful. I tried to build my sd image with the following command and it failed. I followed every step in your tutorial exactly, and I am building this with Ubuntu 18.04 for my DE1 soc. The script just hangs forever and never completes:
sudo ./make_sdimage.py -f -P preloader-mkpimage.bin,u-boot.img,num=3,format=raw,size=10M,type=A2  -P rootfs/*,num=2,format=ext4,size=1500M  -P zImage,u-boot.scr,opencl.rbf,socfpga.dtb,num=1,format=vfat,size=500M -s 2G -n sdcard_de1soc.img
Please let me know if you have any ideas on how to fix this.. thanks!

@mdrolet01  yes, the python script works fine on ubuntu 16.04 , but get stuck on ubuntu 18.04.
This issue may be fixed by rsarwar87 make_sdimage2.py

That worked just fine, and my image was created. thank you!

This page https://rocketboards.org/foswiki/Documentation/BuildingBootloader should be updated to reflect this. If anyone knows KeFu Fang, he should be informed.