[FEATURE]:

What problem does it solve
This will allow users to obtain the MO progress for MO's that don't provide specific planets to liberate (in the case of the current MO).
What is the solution
Map the property to the assignment endpoint(s): /api/v1/assignments and /api/v1/assignments/:index
Existing alternatives
Making an additional request to the /raw/api/v2/Assignment/War/801 endpoint.
Added value
Lets users make fewer requests for useful info.
Additional notes
None

Looks good, I'm going to take a look at making a PR for this.


Having more than two all day events stacks the rest on top of each other in the day view window

Hey creator,
I've hooked the calendar up to some data that can potentially have around 50 all day events happening on the same day. Unfortunately, having any more than 2 all day events stacks 2nd -> nth events on top of each other at 11am in the day view.

Hello.  Looks like you didn't set the events as all-day events.  All Day events are not tied to specific times, so they would be stacked at the top instead.  Check your events via the Event Editor dialog.

The property on the JSON for an event is called "isAllDay".  Set that to true if you are doing it via JSON data only.

If you add a third event at 11:00 (second screenshot above) you won't be able to see it. I think placing the events one below the other (non-absolute positioned, just like the default full month view where the cell gets bigger to accommodate all the events added on the same day) within the full-week view would be better. So, if "defaultEventDuration" is set to 60 and "views.fullWeek.minutesBetweenSections" is set to 60, then a double click within the 11:00-12:00 slot would create an event tied to that entire hour (non-editable time, since events/appointments usually start at the top of the hour anyway). Would you consider adding in a future release a boolean option which would make events behave this way?


Does openrouter/deepseek support caching ?

Issue
Does openrouter/deepseek support caching ?
aider --model openrouter/deepseek/deepseek-chat --cache-prompts --no-stream --cache-keepalive-pings 25
I ask few questions but it does not seems to be cached
Tokens: 3.5k sent, 461 received. Cost: $0.00062 message, $0.0012 session.
Version and model info
Aider v0.70.0
Model: openrouter/deepseek/deepseek-chat with diff edit format
Git repo: .git with 8 files
Repo-map: using 1024 tokens, files refresh

Thanks for trying aider and filing this issue.
Yes, OpenRouter's deepseek does support prompt caching. It's already caching for you and saving money, even though aider isn't showing anything.
https://openrouter.ai/docs/prompt-caching#deepseek
I've submitted a PR to litellm so aider will be aware that OR deepseek caches.
https://github.com/BerriAI/litellm/pull/7425


2fa for changing vanities

Discord introduced 2fa totp codea required to change vanity urls
Please provide the updated code 🙏

hmm.. can't you change vanity url without 2fa? (if user doesnt have 2fa, it shouldn't ask) - lmk

hmm.. can't you change vanity url without 2fa? (if user doesnt have 2fa, it shouldn't ask) - lmk

Well that's the catch if user doesn't have 2fa enabled it'll(discord) ask for account password instead
(My opinion is that including a 2FA/MFA mechanism in the code could be straightforward, as the code can automatically generate TOTP codes from a one-time 2FA secret key and use them)

hmm.. can't you change vanity url without 2fa? (if user doesnt have 2fa, it shouldn't ask) - lmk

Well that's the catch if user doesn't have 2fa enabled it'll(discord) ask for account password instead
(My opinion is that including a 2FA/MFA mechanism in the code could be straightforward, as the code can automatically generate TOTP codes from a one-time 2FA secret key and use them)

i will look into it when I have time, thank you for the information and sorry for the late response!
(if you have the time, you can open up a PR however you want, it would be awesome)

hmm.. can't you change vanity url without 2fa? (if user doesnt have 2fa, it shouldn't ask) - lmk

Well that's the catch if user doesn't have 2fa enabled it'll(discord) ask for account password instead
(My opinion is that including a 2FA/MFA mechanism in the code could be straightforward, as the code can automatically generate TOTP codes from a one-time 2FA secret key and use them)

i will look into it when I have time, thank you for the information and sorry for the late response! (if you have the time, you can open up a PR however you want, it would be awesome)

Any update regarding the sniper?


"Office.js has not fully loaded" when debugging Outlook-Add-in-SSO sample in Outlook for Windows

URL of sample
https://github.com/OfficeDev/PnP-OfficeAddins/tree/main/Samples/auth/Outlook-Add-in-SSO
When side-loading the manifest (or directly uploading the manifest on the "My add-ins" page) and starting Outlook for Windows, the task pane loads blank (with script errors in Visual Studio and from the F12 Chooser app's debugger).
To Reproduce
Steps to reproduce the behavior:

Start Visual Studio Project with "Office Client" selected as startup in the Properties pane for the manifest project
Load the add-in in Outlook for Windows

Expected behavior
The add-in loads without issues.
Screenshots

Environment

Platform [PC desktop, Mac, iOS, Office Online]: PC desktop
Host [Excel, Word, PowerPoint, etc.]: Outlook
Office version number: Microsoft Outlook for Microsoft 365 MSO (16.0.14228.20200) 64-bit
Operating System: Windows Server 2019 (Version 1908; OS Build 17763.2061)
Browser (if using Office Online): n/a

Hi @elegault,
In the screen shot there is a missing semicolon after the brace on line 154. Probably was accidentally deleted or something. But please let us know if there are still issues with this sample.
Thanks!
David


Lazy loading in Angular 1.4

Will Angular 1.4 (w/new router) support lazy loading out of the box? In 1.3x I have only been able to achieve it using helper libraries like ocLazyLoad. Following the following pattern: http://www.syntaxsuccess.com/viewarticle/angular-with-requirejs-amd-and-oclazyload
Will Angular 1.4 in tandem with the new router support on demand loading of components?
I tried the new router in 1.4 and while it was easy to configure components with routes, I did not see a way to configure it to lazy load the component based on navigation to the the associated route.
Shouldn't it be able to lazy load via navigation? The router looks very similar to the DurandalJS router, so I was hoping for RequireJS-esque lazy loading. At the very least it would be nice if it could lazy load the top level js file for the component. I guess limitations of Angular DI would require us to combine other downstream dependencies in the same single component file.

I received some more info from Brad Green via twitter. Looks like lazy loading is slated for 1.5
https://twitter.com/helgevold/status/600525678010839040


ffmpeg-qsv crash on Ubuntu 20.10 (driver intel-media-va-driver, not intel-media-va-driver-non-free)

Steps to reproduce:
docker run -it --privileged --net=host ubuntu:20.10
# apt update
# apt install ffmpeg
# ffmpeg -hwaccel qsv -c:v h264_qsv -i [INPUT] -vf hwdownload,format=nv12 output.yuv

Output
/build/intel-mediasdk-UBsAHl/intel-mediasdk-20.1.0/_studio/shared/src/mfx_vpp_vaapi.cpp:239: mfxStatus MfxHwVideoProcessing::VAAPIVideoProcessing::Init(void**, mfxVideoParam*): Assertion `0x00000000 == vaSts' failed.
Aborted (core dumped)

Note that same command-line for decoding into .yuv file works ok if apt install intel-media-va-driver-non-free
MediaSDK crashes inside MFXVideoVPP_Init. VPP operation not available in intel-media-va-driver, only in intel-media-va-driver-non-free. If VPP not available, MFXVideoVPP_Init should gracefully return error code, not crash.

Yes, we need to clean up code from MFX_CHECK_WITH_ASSERT . Or enable underlying assert inside MFX_CHECK_WITH_ASSERT only for debug build .
@aobolensk , can you please fix at first the issue Mikhail reported (just replace MFX_CHECK_WITH_ASSERT with MFX_CHECK) for VPP Query/QueryIOSurf/Init calls? Then, we'll think what to do with with the rest MFX_CHECK_WITH_ASSERT. I personally think it's better to remove all of them and enable MFX_DEBUG_TRACE for debug build. It's required some discussion.
BTW, it's expected that intel-media-va-driver doesn't well support VPP. It's described in UMD github page.


Possible colour problem

thanks, great work!
I’m new to this game but shouldn’t the colour of the ‘e’s on the second row be the same?

Duh.  Of course not!

Sorry I meant to attach this screenshot:

same question.

@billtubbs nope, what it means is that there is only 1 e in the solution! neither spot is correct. if they were both yellow, it would mean there are 2 e's

I see thanks for explaining.  So it means there is one e but not in either of these positions? Thanks.

yep! no problem.
it's a bit confusing, in my original logic both e's would have been yellow even if there was only 1 in the solution, but then people thought that meant there were 2 in the solution and got confused.
there are flaws in both approaches haha


Consistency Point Count or time with maybe incorrect scale

Describe the bug
A clear and concise description of what the bug is.
I don't know if this could be a BUG or new feature. Looking for for the consistency points metrics, I've found the following graph in the Disk dashboard.

What are the value? Time? Count? Depends of that the metric scale should be fine or not.  Additionally I miss from the oldest harvest to have a graph with the both parameters write latency and back to back CP count.

Environment
Provide accurate information about the environment to help us reproduce the issue.

Harvest version: harvest version 22.05.0-1 (commit 2bc2942) (build date 2022-05-11T07:56:11-0400) linux/amd64
Command line arguments used: [e.g. bin/harvest start --config=foo.yml --collectors Zapi]
OS: Red Hat Enterprise Linux release 8.2 (Ootpa)
Install method: yum
ONTAP Version: 9.7
Other:

Expected behavior
Recognize what metric it is showing in the graph
Actual behavior
I don't understand if it is a  CP count or timer
Possible solution, workaround, fix
Fix the query and add if it is possible the another metric which I miss from previous harvest.

hi @faguayot the CP (Consistency Points) Counts panel you pasted above from Harvest 2 Disk dashboard is using the following panel expression (from Edit on the panel menu)
sum(wafl_cp_count{datacenter="$Datacenter",cluster="$Cluster",node=~"$Node"}) by (subcounter)

That counter is from the zapiperf waf.yaml template.
The Harvest 1.6 panel is from the Node dashboard and uses this expression
alias(transformNull(sumSeries(netapp.perf.$Group.$Cluster.node.$Node.wafl.cp_count.{back-to-back_CP,deferred_back-to-back_CP}), 0), 'Back-to-back CP Count')

Both Harvest 2 and 1.6 are collecting the same ZAPI and counters. That's good :)
Now let's answer some of your questions. If we run the following Harvest tool it will extract the metadata about the counter in question.
bin/zapi --poller u2 show counters --object wafl | less

Search for cp_count and we find
  [counter-info]                                   -                                   *
    [desc]                                         - Array of counts of different types of CPs
    [is-deprecated]                                -                               false
    [labels]                                       -                                   *
      [label-info]                                 - wafl_timer generated CP,dynamic triggerred CP,snapshot generated CP,wafl_avail_bufs generated CP,dirty_blk_cnt generated CP,full NV
-log generated CP,back-to-back CP,back-to-back CP start,flush generated CP,sync generated CP,deferred back-to-back CP,low mbufs generated CP,low datavecs generated CP,nvlog replay take
over time limit CP
    [name]                                         -                            cp_count
    [privilege-level]                              -                                diag
    [properties]                                   -                               delta
    [type]                                         -                               array
    [unit]                                         -                                none

This tells us that this counter is an array counts of different kinds of consistency points and since properties = delta Harvest will calculate the difference between the current value and previous one. Finally, the ZapiPerf collector will take this array and flatten it into individual metrics. In other words, the ZapiPerf collector will take this from ONTAP
<instances>
<instance-data>
    <counters>
    <counter-data>
        <name>cp_count</name>
        <value>276318,0,156,0,1146,129,6,72,0,4443,0,0,0,1016</value>
    </counter-data>
    </counters>
    <name>wafl</name>
    <uuid>umeng-aff300-05:kernel:wafl</uuid>
</instance-data>
</instances>

and turn it into something like this, doing the delta math for you and creating the correct metric for each array value.
wafl_cp_count{cluster="umeng-aff300-05-06",datacenter="dc-1",node="umeng-aff300-05",metric="dynamic_triggerred_CP"} 0
wafl_cp_count{cluster="umeng-aff300-05-06",datacenter="dc-1",node="umeng-aff300-05",metric="low_datavecs_generated_CP"} 0
wafl_cp_count{cluster="umeng-aff300-05-06",datacenter="dc-1",node="umeng-aff300-05",metric="deferred_back_to_back_CP"} 0
wafl_cp_count{cluster="umeng-aff300-05-06",datacenter="dc-1",node="umeng-aff300-05",metric="back_to_back_CP_start"} 0
wafl_cp_count{cluster="umeng-aff300-05-06",datacenter="dc-1",node="umeng-aff300-05",metric="back_to_back_CP"} 0
wafl_cp_count{cluster="umeng-aff300-05-06",datacenter="dc-1",node="umeng-aff300-05",metric="low_mbufs_generated_CP"} 0
wafl_cp_count{cluster="umeng-aff300-05-06",datacenter="dc-1",node="umeng-aff300-05",metric="flush_generated_CP"} 0
wafl_cp_count{cluster="umeng-aff300-05-06",datacenter="dc-1",node="umeng-aff300-05",metric="nvlog_replay_takeover_time_limit_CP"} 0
wafl_cp_count{cluster="umeng-aff300-05-06",datacenter="dc-1",node="umeng-aff300-05",metric="wafl_avail_bufs_generated_CP"} 0
wafl_cp_count{cluster="umeng-aff300-05-06",datacenter="dc-1",node="umeng-aff300-05",metric="wafl_timer_generated_CP"} 12
wafl_cp_count{cluster="umeng-aff300-05-06",datacenter="dc-1",node="umeng-aff300-05",metric="full_NV_log_generated_CP"} 0
wafl_cp_count{cluster="umeng-aff300-05-06",datacenter="dc-1",node="umeng-aff300-05",metric="dirty_blk_cnt_generated_CP"} 1
wafl_cp_count{cluster="umeng-aff300-05-06",datacenter="dc-1",node="umeng-aff300-05",metric="snapshot_generated_CP"} 0
wafl_cp_count{cluster="umeng-aff300-05-06",datacenter="dc-1",node="umeng-aff300-05",metric="sync_generated_CP"} 0

With this information, we can see there is a bug in the Harvest 2 CP (Consistency Points) Counts panel I pasted above. The expression for that panel has by (subcounter) when it should probably be by (metric) since thats' the label of each kind of CP as shown above.
If I change the expression to this
sum(wafl_cp_count{datacenter="$Datacenter",cluster="$Cluster",node=~"$Node"}) by (metric)

I get something more useful that provides more information than the Harvest 1.6 panel. Does this provide what you need?

Alternatively if you want to exactly recreate the Harvest 1.6 panel, I believe this is what you want.
sum(wafl_cp_count{datacenter="$Datacenter",cluster="$Cluster",node=~"$Node",metric=~"back_to_back_CP|deferred_back_to_back_CP"})

Let us know which of these you prefer and we'll improve this. Regardless of which you prefer, I'll check on adding the write latency into the same panel.

Hello @cgrinds
Firstly, sorry for the delay and let me appreciate the time that you always spend reading/understanding our problems/visions/thoughts and investigate what it is missing or where is the problem.
Secondly before we opened the ticket we had been checking in the prometheus which wafl metrics there were but we don't know what it is every of them (we don't know the meaning of them). Thank you again for every command, trick that you show me in every issue to see more information for a future doubt or problem that I have :).
Regarding your question I would like to suggest to have the same metrics (back-to-back_CP|deferred_back-to-back_CP) we had in harvest 1.6 with the additional of write latency that you comment too.
The request of this implementation is because in the past and recently we checked those metrics when we have been a performance problems.
Let me know if I can help you or testing when you'll implemented.
Best regards!

Hello @cgrinds and @rahulguptajss ,
Thanks, it looks great.

Verified on release/22.08.0 a05a0279


support custom variables in user_function

We need to be able to allow dynamic modification of the user_function class. For example, a user defines a custom function that they need to be able to provide an optional argument value to. At present, this is solved by creating environment variables. Another approach is to give the user function the class instance, which the user can then query for custom attributes. This is the modification (cogent3.app.composable) that I think is required:
class user_function(Composable):
    """wrapper class for user specified function"""

    _type = "function"

    def __init__(self, func, input_types, output_types, data_types=None):
        super(user_function, self).__init__(
            input_types=input_types, output_types=output_types
        )
        self._func = func

    def func(self, *args, **kwargs):
        self._func(self, *args, **kwargs)

This is an example that should work:
def _demo(ctx, aln):
    assert ctx.frame_start
    return aln

demo = user_function(
    _demo, ("aligned", "serialisable"), ("aligned", "serialisable")
)
foo = demo()
foo.frame_start = 2
foo(1)

The patch for this seems to have been lost @jamesmartini . Please resurrect it on your machine and try again (keeping in separate pull request).


Added tab content window to each tab like chrome browser

Added the mock-browser-content window for each tab created as like chrome browser.

Hey @sathyaprakash94, thank you for your contribution. Unfortunately, as I described in https://github.com/adamschwartz/chrome-tabs/issues/50, this falls outside of the scope of the of this library. You are of course welcome to build an application using this project as a dependency—should you do so, please share what you build and I’d be happy to link others to it.


Correction for raw affiliation Department of Mechanics, Mechatronics and Commands, Moulay Ismail University, 15290 ENSAM،, Meknès 50500, Meknes, Fes-Meknes, 15290, MOROCCO

Correction needed for raw affiliation Department of Mechanics, Mechatronics and Commands, Moulay Ismail University, 15290 ENSAM،, Meknès 50500, Meknes, Fes-Meknes, 15290, MOROCCO
raw_affiliation_name: Department of Mechanics, Mechatronics and Commands, Moulay Ismail University, 15290 ENSAM،, Meknès 50500, Meknes, Fes-Meknes, 15290, MOROCCO
new_rors:
previous_rors: 018pp1107
works_examples: W4387823882
contact: fd11fd317ac212a8e99bc75ca763f2db:dbfde34958b4fa67abb3cbfc2d @ ensam.eu

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


Added coordinates from City database

Hi
I added latitude and longitude as well as 'Is in European Union'.
{
"ip": "ip",
"ip_decimal":<PHONE_NUMBER>,
"country": "Denmark",
"country_iso": "DK",
"is_in_european_union": true,
"city": "Copenhagen",
"location_latitude": 56.0,
"location_longitude": 10.0
}
I am not sure whether these additions is in your scope. What do you think?
You can read more about what variables is available to add: https://github.com/oschwald/geoip2-golang/blob/b1581f42de7092eb285fa413a1310f90c4f328fb/reader.go

Would love to see this get added.  https://whatismyipaddress.com/ip.  Lots of other folks add lat/lon coords already.

Squashed commits in this PR into  https://github.com/mpolden/echoip/commit/ac4a9de770f7fc4c4abf04a1a42facfb2b332f8b and added a few fixes on top.
Thanks for your contribution, @raunsbaekdk!


Scrollbar in "Keys" settings tab appears only after I change language

I don't know why it happens. Also there's no "Tab" key navigation to work around this.

Yeah, the Keys scrollbar is a bit broken.
Another way to make it appear is to scroll the list with the mousewheel/trackpad.

Another way to make it appear is to scroll the list with the mousewheel/trackpad.

Yeah, there's nothing resembling mousewheel on a graphics tablet.
Possible solution would be resizing a popup to fit the whole list.

I agree there is no reason to limit the size of the list when the window is large enough, but of course the scrollbar bug needs fixing regardless.


wasi-http-proxy tests are failing using node < 20

running npm test fails for node 18.15, 18.16, 18.17, 18.18, 18.19 - but works fine for node 20+
  1) Preview 2
       wasi-http-proxy:
     Error: node:internal/process/esm_loader:97
    internalBinding('errors').triggerUncaughtException(
                              ^

AssertionError [ERR_ASSERTION]: '{"status":200,"headers":[["content-type","text/plain"],["x-wasi","mock-server"],["date","null"],["connection","close"],["transfer-encoding","chunked"]],"body":"hello world"}' == '{"status":200,"headers":[["content-type","text/plain"],["x-wasi","mock-server"],["date","null"],["connection","keep-alive"],["keep-alive","timeout=5"],["transfer-encoding","chunked"]],"body":"hello world"}'
    at file:///home/wassimchegham/oss/@bytecodealliance/jco/test/output/wasi-http-proxy.js:12:8 {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: '{"status":200,"headers":[["content-type","text/plain"],["x-wasi","mock-server"],["date","null"],["connection","close"],["transfer-encoding","chunked"]],"body":"hello world"}',
  expected: '{"status":200,"headers":[["content-type","text/plain"],["x-wasi","mock-server"],["date","null"],["connection","keep-alive"],["keep-alive","timeout=5"],["transfer-encoding","chunked"]],"body":"hello world"}',
  operator: '=='
}

Node.js v18.15

      at ChildProcess.<anonymous> (file:///home/wassimchegham/oss/@bytecodealliance/jco/test/helpers.js:17:59)
      at ChildProcess.emit (node:events:514:28)
      at ChildProcess._handle.onexit (node:internal/child_process:291:12)

@guybedford what is the minimum node version jco supports? should we enforce that? jco cli can print a warning / or exit if the supported node version is not met. wdyt?

Thanks for finding these failures, yes this is a regression from the HTTP work, I'll look into it. We should support Node.js LTS which means 18+.


epdiy version: Add a way to read 2 buttons from PCA9555 IO expander

The problem with V6 is that I would like to add the microSD card reader and I don't have enough GPIOs for everything.
Luckily Valentin though about this and added an IO expander. So my idea to solve in this ticket and future PR is to read < and > buttons using I2C.
So the only one that will be read the standard way when using V6 is the SELECT one (And the only that will serve to wake-up)

After checking the datasheet I see that I need to add a external pull-up to this two IOs and then there is a function already written here:
https://github.com/vroland/epdiy/blob/8b4302a6a650a5c228520c100b862aba60978c2c/src/epd_driver/config_reg_v6.h#L36
Basically if I understand good how to do it, I need to call this function in a loop, and it will return the IO that is turned LOW.
So the button will just put the IO to ground and I have to scan this.
@cgreening another thing that I detected on V6 is that when using the BUTONS_ACTIVE_LEVEL=1 when pressed, the debounce is not working properly and everytime I make a click the button is pressed at least two times.
From the ugly hacks department, I'm thinking to make a copy of ButtonControls.h to ButtonControlsEpdiy.h and control this two buttons reading I2C that I have no idea if it will work like expected.
But if it does then I will have enough pins to add the SD via SPI and even one more to control Frontlight PWM intensity.
Research links:
Calling xTaskCreate on C++ member function?

schematic-v6.pdf


Seems like a lint was renamed.

Lint - unnecessary_brace_in_string_interp is not in the list here: http://dart-lang.github.io/linter/lints/
In linter 0.1.2: unnecessary_brace_in_string_interp
In linter 0.1.30: unnecessary_brace_in_string_interps

You also need to make the following change to make CI happy:
diff --git a/packages/flutter_tools/templates/create/lib/main.dart.tmpl b/packages/flutter_tools/templates/create/lib/main.dart.tmpl
index 056fd36..b83f001 100644
--- a/packages/flutter_tools/templates/create/lib/main.dart.tmpl
+++ b/packages/flutter_tools/templates/create/lib/main.dart.tmpl
@@ -108,7 +108,7 @@ class _MyHomePageState extends State<MyHomePage> {
               'You have pushed the button this many times:',
             ),
             new Text(
-              '${_counter}',
+              '$_counter',
               style: Theme.of(context).textTheme.display1,
             ),
           ],

Thanks, just found it also after little bit of testing locally.

Landing on red because redness seems like a hardware fault in the lab...


Slick 1.4 up and Zurb's Foundation Dots and Arrows

From v1.4 and up there's a problem with the CSS rendering DOTS and ARROWS using Zurb's Foundation.

My quick fix: using v1.3.13 CSS for arrows and dots:
.slick-slider { margin-bottom: 30px; }

.slick-dots { position: absolute; bottom: -45px; list-style: none; display: block; text-align: center; padding: 0; width: 100%; }
.slick-dots li { position: relative; display: inline-block; height: 20px; width: 20px; margin: 0 5px; padding: 0; cursor: pointer; }
.slick-dots li button { border: 0; background: transparent; display: block; height: 20px; width: 20px; outline: none; line-height: 0; font-size: 0; color: transparent; padding: 5px; cursor: pointer; }
.slick-dots li button:hover, .slick-dots li button:focus { outline: none; }
.slick-dots li button:hover:before, .slick-dots li button:focus:before { opacity: 1; }
.slick-dots li button:before { position: absolute; top: 0; left: 0; content: "•"; width: 20px; height: 20px; font-family: "slick"; font-size: 20px; line-height: 20px; text-align: center; color: black; opacity: 0.25; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.slick-dots li.slick-active button:before { color: black; opacity: 0.75; }

.slick-prev, .slick-next { position: absolute; display: block; height: 20px; width: 20px; line-height: 0; font-size: 0; cursor: pointer; background: transparent; color: transparent; top: 50%; margin-top: -10px; padding: 0; border: none; outline: none; }
.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus { outline: none; background: transparent; color: transparent; }
.slick-prev:hover:before, .slick-prev:focus:before, .slick-next:hover:before, .slick-next:focus:before { opacity: 1; }
.slick-prev.slick-disabled:before, .slick-next.slick-disabled:before { opacity: 0.25; }

.slick-prev:before, .slick-next:before { font-family: "slick"; font-size: 20px; line-height: 1; color: white; opacity: 0.75; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.slick-prev { left: -25px; }
[dir="rtl"] .slick-prev { left: auto; right: -25px; }
.slick-prev:before { content: "←"; }
[dir="rtl"] .slick-prev:before { content: "→"; }

.slick-next { right: -25px; }
[dir="rtl"] .slick-next { left: -25px; right: auto; }
.slick-next:before { content: "→"; }
[dir="rtl"] .slick-next:before { content: "←"; }

In Foundation's site they recommend this slider so I think this is going to be useful to some people.

I ran into this issue as well

Works great. Thanks!

Same here. Much appreciated!

Nice, thank you.

Yes, still an issue in Foundation 1.5.7 and therefor helpful indeed. Thank you!

How do I make this work with icons from say fonticons.com. It doesn't appear to work to insert code in useing the css content command. This is the code snipet I'd like to appear vs. the html character code.

This generates a icon circle with an icon arrow in the middle of it.

:+1:


nested form not saved to db

Hi.
I searched my error in google and here, but still I can't not find solution.
when I use cocoon in different project, there is no problem(haml)
but in this time with erb I got the error as mentioned title
View/new.html.erb
    <%= simple_form_for @project, :html => { class: 'dd-form floating-labels'}  do |f| %>
<%= f.input :project_id, label: 'Project ID', :label_html=> { class: 'cd-label' },input_html: { for: 'cd-name', class: 'user'}   %>

<%= f.input :name, label: 'Project Name', label_html: { class: 'cd-label' },input_html: { for: 'cd-name', class: 'company'} %>
<%= f.collection_radio_buttons :shaft,[['Single', 'Single'] ,['Multi(2+1)', 'Multi(2+1)'],['Multi(1+1)', 'Multi(1+1)']],:first, :last %>

<%= f.input_field :number, :collection => { '1' => 1, '2' => 2,'3' => 3,'4' => 4,'5' => 5,'6' => 6,'7' => 7,'8' => 8}, class:'number', label: false  %>

  <%= f.input :text, label: 'Project description', label_html: { class: 'cd-label' },input_html: { for: 'cd-textarea', class: 'message'}   %>
<%= f.input_field :currency, :collection => { 'Dollar' => 1, 'Euro' => 2,'KRW' => 3}, class:'currency', label: false  %>
<%= f.input_field :area, :collection => { 'Asia' => 1, 'Middle East' => 2,'America' => 3,'Europe' => 4,'Africa' => 5}, class:'area', label: false  %>
    <%= f.input :location,  label: 'Location', label_html: { class: 'cd-label' },input_html: { for: 'cd-name', class: 'location'} %>

Equipment Cost Caculation

		Equipment		Type	 Currency		Qty			Unit price

						<%= f.simple_fields_for  :equips do |equip| %>
						<%= render  'equip_fields',  f: equip  %>
						<% end %>

 <%= link_to_add_association 'add equipment', f, :equips, data: {"association-insertion-node" => "tbody#equips", "association-insertion-method" => "append"} %>

view/projects/_equip_fields.html.erb

<%= link_to_remove_association "X", f %>
<%= f.input :category_id, collection: Category.all, prompt: "Choose a Equipment", label: false %>
    <%= f.input(:subcategory_id, collection: Category.where(:id => [1,2,3]), as: :grouped_select, group_method: :subcategories, label: false, group_label_method: :name,:label_method =>:name, prompt: "Choose a Type") %>
<%= f.input :currency, :collection => { 'Dollar' => 1, 'Euro' => 2,'KRW' => 3}, class:'shorttd', label: false  %>
<%= f.input :quantity, label: false, :class => 'shorttd' %>

<%= f.input :unit_price, label: false %>

project.rb
     class Project < ApplicationRecord

   private

    has_many :equips
    accepts_nested_attributes_for :equips,reject_if: :all_blank, allow_destroy: true

     belongs_to :user

             end

equip.rb
         class Equip < ApplicationRecord
               belongs_to :category
                   belongs_to :subcategory
                  belongs_to :project

        end

project.contoller
def new
	@project = current_user.projects.build
	render  :layout => false
end

def create

	@project = current_user.projects.build(project_params)
	if @project.save
			redirect_to @project, notice: 'project was successfully created.'
	else
		render 'new'
	end
end

private

  def project_params
	params.require(:project).permit(:project_id, :name, :area, :location, :number, :text, :shaft, :total_price,:currency,
		equips_attributes: [:id, :_destroy, :category_id, :subcategory_id, :quantity, :currency, :unit_price, :price, :project_id])
 end

please format your html/code to be legible (=use consistent indentation)
Please clarify the error: if you get an error-message, can you show it? Or you can edit without any apparent error, but the nested data is not saved or the entire form is not saved? You can't create new items or you can't edit?
please show what is posted to the controller (it is in your logfile)

Please show what is posted to the controller. This will help to clarify if your strong parameters definition is correct.
Also really please fix up the indentiation on all code (in this question, frankly I don't care how you write your own code, but for me it is really hard to follow any flow and look for errors).
Why is there a private in the Project class?

The below is log file.
Started GET "/projects/new" for <IP_ADDRESS> at 2016-08-07 14:07:52 +0000
Cannot render console from <IP_ADDRESS>! Allowed networks: <IP_ADDRESS>, ::1, <IP_ADDRESS>/<IP_ADDRESS>
Processing by ProjectsController#new as HTML
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?  [["id", 3], ["LIMIT", 1]]
Rendering projects/new.html.erb
Category Load (0.1ms)  SELECT "categories".* FROM "categories"
Category Load (0.1ms)  SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (1, 2, 3)
Subcategory Load (0.1ms)  SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = ?  [["category_id", 1]]
Subcategory Load (0.2ms)  SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = ?  [["category_id", 2]]
Subcategory Load (0.1ms)  SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = ?  [["category_id", 3]]
Rendered projects/_equip_fields.html.erb (12.2ms)
CACHE (0.0ms)  SELECT "categories".* FROM "categories"
Rendered projects/_pm_fields.html.erb (5.4ms)
CACHE (0.0ms)  SELECT "categories".* FROM "categories"
Rendered projects/_en_fields.html.erb (5.3ms)
Rendered projects/new.html.erb (72.9ms)
Completed 200 OK in 77ms (Views: 73.1ms | ActiveRecord: 1.1ms)
Started POST "/projects" for <IP_ADDRESS> at 2016-08-07 14:08:38 +0000
Cannot render console from <IP_ADDRESS>! Allowed networks: <IP_ADDRESS>, ::1, <IP_ADDRESS>/<IP_ADDRESS>
Processing by ProjectsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"n46dPcOPc6P+dDocBq2DH/slbyH0NWjaZMUTJqvyjC6UneIw/Gsfh3qR7gmUKhJq77+akyGWols6UJPeOJeClA==", "project"=>{"project_id"=>"kr1214", "name"=>"4414", "shaft"=>"Single", "number"=>"3", "text"=>"1414", "currency"=>"2", "area"=>"2", "location"=>"1414"}, "commit"=>"Save"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?  [["id", 3], ["LIMIT", 1]]
 (0.1ms)  begin transaction
SQL (0.6ms)  INSERT INTO "projects" ("project_id", "name", "area", "shaft", "currency", "location", "created_at", "updated_at", "text", "number", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["project_id", "kr1214"], ["name", "4414"], ["area", "2"], ["shaft", "Single"], ["currency", "2"], ["location", "1414"], ["created_at", 2016-08-07 14:08:38 UTC], ["updated_at", 2016-08-07 14:08:38 UTC], ["text", "1414"], ["number", 3], ["user_id", 3]]
 (5.9ms)  commit transaction
Redirected to http://<IP_ADDRESS>:3000/projects/37
Completed 302 Found in 13ms (ActiveRecord: 6.8ms)

From the log in the POST part you can see what is posted:
"project"=>{"project_id"=>"kr1214", "name"=>"4414", "shaft"=>"Single", "number"=>"3", "text"=>"1414", "currency"=>"2", "area"=>"2", "location"=>"1414"}, "commit"=>"Save"}

No nested data there, so that is explains why it is not saved. Probably something wrong with your HTML, e.g. your nested data is outside the form?

Thank you for your response. I finally realize what I mistake in HTML code. form is under  tag and nested tag is under another  tag. That means <% end %> end except nested fields.
I cleaned up tags to check situation. And then I can see the parameters but still post is not saved and just render 'new' according to controller.
Processing by ProjectsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Huwj+/uWEmbQPboHjaq9yNDUCmGVj1NYOm9qeUzuE80V/1z2xHJ+QlTYbhIfLSy9xE7/00Asmdlk+uqB34sddw==", "project"=>{"project_id"=>"141414", "name"=>"141414", "shaft"=>"Single", "number"=>"5", "text"=>"141414515", "currency"=>"1", "area"=>"1", "location"=>"151515", "equips_attributes"=>{"1470582086454"=>{"_destroy"=>"false", "category_id"=>"1", "subcategory_id"=>"3", "currency"=>"2", "quantity"=>"1", "unit_price"=>"1"}}, "pms_attributes"=>{"1470582102026"=>{"_destroy"=>"false", "category_id"=>"1", "currency"=>"1", "mh"=>"1", "unit_price"=>"1"}}, "ens_attributes"=>{"1470582112052"=>{"_destroy"=>"false", "category_id"=>"1", "currency"=>"2", "mh"=>"1", "unit_price"=>"1"}}}, "commit"=>"Save"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?  [["id", 3], ["LIMIT", 1]]
 (0.1ms)  begin transaction
Category Load (0.1ms)  SELECT  "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?  [["id", 1], ["LIMIT", 1]]
Subcategory Load (0.1ms)  SELECT  "subcategories".* FROM "subcategories" WHERE "subcategories"."id" = ? LIMIT ?  [["id", 3], ["LIMIT", 1]]
Category Load (0.0ms)  SELECT  "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?  [["id", 1], ["LIMIT", 1]]
CACHE (0.0ms)  SELECT  "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?  [["id", 1], ["LIMIT", 1]]
 (0.1ms)  rollback transaction
Rendering projects/new.html.erb within layouts/application
Category Load (0.1ms)  SELECT "categories".* FROM "categories"
Category Load (0.1ms)  SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (1, 2, 3)
Subcategory Load (0.1ms)  SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = ?  [["category_id", 1]]
Subcategory Load (0.2ms)  SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = ?  [["category_id", 2]]
Subcategory Load (0.2ms)  [1mSELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = ?  [["category_id", 3]]
Rendered projects/_equip_fields.html.erb (13.2ms)
CACHE (0.0ms)  SELECT "categories".* FROM "categories"
CACHE (0.0ms)  SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (1, 2, 3)
CACHE (0.0ms)  SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = ?  [["category_id", 1]]
CACHE (0.0ms)  SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = ?  [["category_id", 2]]
CACHE (0.0ms)  SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = ?  [["category_id", 3]]
Rendered projects/_equip_fields.html.erb (10.9ms)
CACHE (0.0ms)  SELECT "categories".* FROM "categories"
Rendered projects/_pm_fields.html.erb (5.2ms)
CACHE (0.0ms)  SELECT "categories".* FROM "categories"
Rendered projects/_pm_fields.html.erb (5.1ms)
CACHE (0.0ms)  SELECT "categories".* FROM "categories"
Rendered projects/_en_fields.html.erb (5.3ms)
CACHE (0.0ms)  SELECT "categories".* FROM "categories"
Rendered projects/_en_fields.html.erb (5.3ms)
Rendered projects/new.html.erb within layouts/application (85.0ms)
Completed 200 OK in 140ms (Views: 99.8ms | ActiveRecord: 1.7ms)

Thank you for your respond. Without nested field, the submit is not functioned. That means there is another mistake. thank you again!!!


Probleme la compilare

Please post the full log as well as the command used for building

Fixed by adding auto build c4c26114efcfcded482b6a4784672b72643b8c4b


#448 - Fixed image filenames in 1st demo (plus a little more)

Fixed image filenames in 1st demo so documented and actual code are consistent, per the issue.
Additionally, while working on index.html, I noticed there were incorrect image paths in the 4th demo, so I also fixed those. It looked like the code was accidentally copy-pasted from demo-04.html, so the version on index.html had ../examples/ instead of examples/ in the image paths. (The live version of the documentation doesn't have this example, so people aren't seeing the error.)
And I removed a stray end strong tag in index.html and demo-04.html.
I also noticed some typos and inconsistencies in the documentation while working on this, but I didn't want to mix updates for those in with this issue. I'll do a separate PR when I get a chance.
Thanks.

Thanks, LGTM. Keep 'em coming.

Thanks!


Issues Unregistering/Swapping/Re-registering a Hub site

I followed the instructions above regarding unregistering a hub site before swapping the to the root. I then reregistered it.
On reregister, it actually acts as though my "hub" is associating with the previous hub, rather than "being" a hub:

The hub site navigation isn't editable from the hub,
Web parts on the hub homepage don't offer "this hub" scopes, and
Sites associated with the hub don't pick up the hub site navigation either.

I've tried unregistering it as a Hub, both in the UI and via PS. I've tried disassociating it with itself, too, and that doesn't work.
Anything I can do... or undo... that will fix it or allow it to clean itself up?

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

ID: 7a824ca6-37ae-11c4-f04e-5de1ba5551c5
Version Independent ID: b02f6141-9dc9-1e26-8beb-9a1f21dd042e
Content: Modernize your root site - SharePoint Online
Content Source: SharePoint/SharePointOnline/modern-root-site.md
Service: sharepoint-online
GitHub Login: @kaarins
Microsoft Alias: kaarins

@jbhoward  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@jbhoward Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Misleading project description: "native"?

How is an Electron based app qualify as "native"? Native doesn't mean "not opened from within your already installed browser", esp. since Electron is essentially just another browser. Native should mean whatever the OS and the desktop environment provides as standard shared libraries/APIs.

Thanks for the feedback. Native in this context means the app runs as a desktop application.

Then wouldn't it prevent some confusion by simply saying it "a desktop application"?

I like your wording "desktop application" and have opened a PR: https://github.com/jupyterlab/jupyterlab_app/pull/173. What do you think, @afshin?


Calling getattr() on Basilisk module property causes memory leak

Describe the bug
Accessing a Basilisk module's properties via getattr causes a memory leak whereas accessing them directly does not.
To reproduce
Steps to reproduce the behavior:

Checkout develop branch
git pull to ensure up-to-date with latest development
Compile Basilisk per instructions
Open python
Run following

>>> from Basilisk.simulation.GravityGradientEffector import GravityGradientEffector
>>> gravity_gradient = GravityGradientEffector()
>>> gravity_gradient.torqueExternalPntB_B
<Swig Object of type 'Eigen::Vector3d *' at 0x7fa5a073d330>
>>> getattr(gravity_gradient, 'torqueExternalPntB_B')
swig/python detected a memory leak of type 'Eigen::Vector3d *', no destructor found.
<Swig Object of type 'Eigen::Vector3d *' at 0x7fa5a075ded0>

Expected behavior
Per the python docs

For example, getattr(x, 'foobar') is equivalent to x.foobar

so I expected these methods of accessing the module properties to work identically, however one produces a memory leak and the other does not.
Screenshots
N/A
Desktop:
OS: Ubuntu
Version: 20.04
Python version: 3.8.10
Additional context
I'm trying to script some generic utilities for working with Basilisk modules, so the names of each modules attributes aren't know ahead of time, which is why I need to use getattr instead of hardcoding the property names.
While iterating through the properties of the built-in Basilisk modules, I get the following messages:

swig/python detected a memory leak of type 'std::vector< Eigen::MatrixXd * > *', no destructor found.
swig/python detected a memory leak of type 'Eigen::VectorXd *', no destructor found.
swig/python detected a memory leak of type 'Eigen::Vector3d *', no destructor found.
swig/python detected a memory leak of type 'Discretize *', no destructor found.
swig/python detected a memory leak of type 'Saturate *', no destructor found.

Thank you for the report! Skip to the bottom for a discussion of the solution.
Swig memory leak detection warnings are not always triggered when you would expect them given that python's garbage collection is hard to predict. In the example you show, both the . and getattr generate a python SWIG wrapper to a C++ Eigen::Vector3d. However, because we don't store these anywhere, they immediately become candidates for garbage collection. It seems like actual collection happens immediately for getattr but not for ., which is why you see the warning only in the first case.
Try the following:
>>> from Basilisk.simulation.GravityGradientEffector import GravityGradientEffector
>>> gravity_gradient = GravityGradientEffector()
>>> a = gravity_gradient.torqueExternalPntB_B
>>> del a
swig/python detected a memory leak of type 'Eigen::Vector3d *', no destructor found.

As you can see, when we change things around a bit, the collection triggers at a different point and we get to see the warning for the . syntax too. This all goes to say that getattr is not causing memory leaks; the memory leak has always been there, we just didn't know about it.
Leaks of this kind arise when SWIG somehow cannot see the definition of a destructor, and thus won't call it and can't guarantee that no memory leaks have occurred. In the case above, we can solve this by including the SWIG typemaps that correspond to Eigen in GravityGradientEffector.i (which should have been there to begin with anyway).
SOLUTION: short term: ignore the warning. The program will likely leak, but getattr is not worse than using ., so if using the latter caused no memory problems for you, nor will the former. However, we would still like to catch as many leaks as possible so, if you could send us every leak that you find (module name, attribute, and "leak of type '...'") we would get to fixing them as soon as we can. I can do a quick PR for GravityGradientEffector, but the more we find and squash the better.

I just want to pass along the following memory leak on the develop branch.
swig/python detected a memory leak of type 'RWConfigElementMsgPayload *', no destructor found.


On navigation click it does not scroll

Hi, on your demo when I click the nav buttons it is scrolling to the location, but when I try it locally it just jumps to the location, without scrolling. What am I missing here?

check the code   If there some mistake check and slove it

Smooth scrolling works elsewhere:
https://www.free-css.com/assets/files/free-css-templates/preview/page234/interact/
http://www.templatewire.com/preview/interact/
But it doesn't work with this particular repository. "Check the code if there some mistake check and slove it" is not a very useful comment.

Found the solution:  https://stackoverflow.com/questions/26535990/smooth-scroll-doesnt-work
html {
  scroll-behavior: smooth;
}

Add this to the top of your public/css/style.css and voilà

Also, remove the following line from public/index.html
<script type="text/javascript" src="js/SmoothScroll.js"></script>
That should do it.

Should be fixed now!


"Create Fresh Conversation" Button Inactive

Problem statement
Copilot's "Create Fresh Conversation" button is inactive and doesn't respond when clicked. When clicked, the "Create Fresh Conversation" button should clear messages and chat and open up a new conversation.
Reach out if you need more information regarding this issue.

I would like to Give it a Try!

related to #60


tv series

in case of tv series it should consider having season and episodes as attributes

I fork you project and add this featurs last year : https://github.com/mlamarque/imdb

@mlamarque Please create a pull request for your code and specs. I'll be happy to merge it.

I'd also love a feature like this, I'm currently having to do something akin to:
if i.title.include? 'series'
But it's not entirely foolproof so a proper solution would be great.


Add method to_string_sorted_by_name.

Add method to_string_sorted_by_name. It was usually generated url parameters for signature.
For Example
sorted_url_params = to_string_sorted_by_name(...);
signature = md5(sorted_url_params  +  salt);
final_url_param = sorted_url_params + "&signature=" + signature;

I am not sure I understand why you want this?


Middleware hook?

Are you intending on providing a middleware hook similar to this? Our app has some processing and additions to the page that need to happen before the page is served.

@trabus Hey Jake, good talking to you at EmberConf about this.
As of https://github.com/tildeio/ember-cli-fastboot/commit/d3f9dda813d5bb6bbbbcfa47cdbbbaa7f59564d4 I've started refactoring the internals to just be an Express middleware. Let me know if this helps with your use case. If not, I'd love to work with you to find something that does.

@tomdale Thanks!
I'll be sure to update with any issues once we've been able to try it out!


Support sharing session

Good day!
Does your library support sharing session when multi connecting?

Sessions are unique per connection.  Can we get more info on your scenario?

To improve performance, we subtract messages from the queue into several threads
We connect to ArtemisMQ via the amqp protocol
Our application is a microservice. The number of instances can be 100-1000, because of this, the number of connections is also a lot to ArtemisMQ, which increases utilization on ArtemisMQ. To solve the problem, you need sharing sessions. We have an application in java and there at the library level (org.apache.activemq:artemis-jms-client:2.19.1) there is support for sharing sessions. But there is a protocol used there the native Core protocol

Please ping back if you have further questions.


multi-line codeblocks in table cells

Hello folks,
In gh markdown you can use
 tag with the
 tags to render a multi-line code block. However when I publish a table block like this to confluence, the
 tags and the
 tags get rendered as text.
Is there a macro or something available that can help fix this?

I too would love to know as I am using terraform-docs to generate the markdown for my code repository and complex objects,  lists, sets and maps are created using the
 and
 tags. For example:
[
  "postgresql"
]

Ideally, I think these cells should be turned into a code block object so they maintain their format? Any help would be greatly appreciated.


Set Kafka message timestamp as header on message consumation

Hi @BEagle1984
Could you please have a look at this PR? We need this feature rather soon in one of our applications.
Thank you.


fix(localizations): arabic localization for org profile

Description
Some Arabic Localization in the Organization Section was still in English. I translated the ones in the Organization Profile Component.

Checklist

[x] npm test runs as expected.
[x] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[x] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

شكرًا لك 🙏


autocomplete google places

i want to use google places api with the autocomplete feature of framework7 ( https://framework7.io/docs/autocomplete.html)
i mean instead of showing the results from an array i want the results of google places api
how can i do it please

It's easy, create your input and load the API from google in the footer:

				<input class="address-text" id="address-text" placeholder="Enter a location" type="text">

And create your initMap function:
window.initMap = function() {
  var acInputs = document.getElementById("address-input");
  var autocomplete = new google.maps.places.Autocomplete(acInputs);
  google.maps.event.addListener(autocomplete, 'place_changed', function() {});
}

Works great.

there a bug
the places are shown only if i delete all body code . and insert only input.
please see my code and tell me what(s wrong
`

    <meta charset="UTF-8">
    <title>Blank App Designer Cordova Web App Project Template</title>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="theme-color" content="#2196f3">

Parking Tunisie

		<input class="address-text" id="address-text" placeholder="Enter a location" type="text">

`

this the index

so i can now use the onClose and onOpen methods ?

No man you can't, because in this case it is a Google plugin NOT a Framework7 DropDown plugin.
Instead, you can use:
$$('#address-input').on('input', function() {
    // do something
});

This fires your code when the user types inside the input (= the dropdown is open), and it is not the best answer of course but this is all I know, i'm sorry.
Good luck.

i use for the moment focusin and blur events so i know when the user entred and left the input box .
is there any way to use the https://framework7.io/docs/autocomplete.html with google places api ? so i can use onClose and onOpen ?

Yes of course there is, I already build a function for YOUTUBE search, you can find it here and modify it to GOOGLE PLACES: https://codepen.io/tinyCoder/pen/WoMXEz
An example for the link for google places json is: https://maps.googleapis.com/maps/api/place/textsearch/xml?query=restaurants+in+Sydney&key=YOUR_API_KEY

thanks for you answer but it seems so complicated for me
this is my javascript code for the current autocomplete
    var optionsT = {         componentRestrictions: {country: "tn"}     };       $$('body').on('touchstart','.pac-container', function(e){e.stopImmediatePropagation();})       var acInputs = document.getElementById("myplace");   var autocomplete = new google.maps.places.Autocomplete(acInputs, optionsT);   google.maps.event.addListener(autocomplete, 'place_changed', function() {       var place = autocomplete.getPlace();        //cordvova google maps plugin       map.animateCamera({   'target': new plugin.google.maps.LatLng(place.geometry.location.lat(),place.geometry.location.lng()),   'tilt': 60,   'zoom': 15,   'bearing': 140 });   });
the google api :

HTML :
<input id="myplace" type="text" placeholder="garer prer de">
could yopu please help me to implemet it . because this is what i was looking  for along time

I'm sorry man, I spend a couple of hours on it and still need working, I don't have more time for it, check this page for more information: https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete

yes i know , but i'm using the cordova-google-maps plugin not javascript google maps api.
( places api )
can i give you the full project with intel XDK
i really need this one . i'm a newbie


conditionally render buttons based on collection visibility and access_type

Reviewers
Functional: @tihuan
Readability: @seve

Changes

modify collections page to hide delete and dataset error details.

View of a private dataset as an owner. Errors and delete are visible.

View of a published dataset as an owner. Delete is not visible, and errors would be visible

View of a published dataset as a non-owner. Delete and error are not visible.

Thanks so much for the PR, Trent!
Given that we don't allow a private collection with invalid/failed dataset to be published, we can remove the logic for hiding the error message based on write access, I believe
The following PR shows the conditions that need to be met in order to publish a private collection:
https://github.com/chanzuckerberg/corpora-data-portal/pull/893
Hope this makes sense! Thank you!


When Organization Address Management enabled, Contact Addresses should behave the same regardless of Account

If Organization Address Management enabled, the Default Address for an Account does not update Contacts whose primary Account is that Organization.
While we don't recommend a Contact/direct Organization Account model, there are use cases where it is a valid choice. In those cases, the Mailing Address on the Contact should be assumed to be the same as the Billing Address on the Account. Like with Household Accounts, the address should update on change to the Account address unless overridden to use a different address.

**lurch: add

Tracking W-019210

Salesforce has determined that this issue will not be explored further.


Add weighted linear layouts

This is a cleaned up, extended, and more mortar style version of an in house utility I wrote a while ago for a hackathon.  We get a lot of of UI specs that require weighted spacing between the visible UI elements, which is more than UIStackView can do and is tedious to do with individual constraints.  This PS makes constraining a bunch of views together in a row with weighted spaces between them trivial.

Hi Brian, thanks for the PR!  Sorry I haven't had much free time to really delve into this one.  My initial impression is that the logic is cool, but I will try to think of ways make it more symbolic in the way most of the other code is.
For example, instead of [...].constrainH(...), mnaybe something like:
view1 < [view2, view3] > view4
And then to throw in weight/min/max etc into those as operators, e.g.
view1 < [view2 @ 3.0, view3 @ 2.0] > view4
view1 < [view2 @ 3.0 ~~ [10, 20], view3] > view4
^ obviously those operators may not work; I'm just throwing them in as examples and I'd have to give more thought into what made artistic sense.
Thoughts?

I'll give it some thought. I made it array based because, in practice, I've generally already got all the views in an array since they generally all get fed into superView |+| views,  constrainV and often also something like  views |=| superview.m_centerX.    I would like to get rid of the constant sized pad views as they shouldn't really be necessary.  I think I've figured out a cleaner way of doing that last night, but I'll see what I can come up with using operators before I continue down that path.

I've been playing with alternate APIs and wanted to run an idea past you.  Haven't coded any of this so not 100% sure it's doable, but I think it should be.  The general idea is to have a MortarLinearLayout that behaves roughly like a monoid where views, constant paddings, and size constraints on the most recently added view are appended via the + operator.   The problem with this is that you can't actually create the constraints without the views being added.  The  addTo parameter solves that for the vast majority of cases and saves a line of |+|.  constrain() would return a named tuple of views and constraints.  This is the example from the docs, image and 2 buttons, vertically with fixed and weighted spacing.
          let (views, _) = (MortarLinearLayout(axis: .vertical, inside: view addTo: view) +
         UIView() + .wt(1)
         logo +
         UIView() + .wt(1) +
         loginBtn + .c(50) +
         10 +
         registerBtn + .c(50) +
         UIView() + .wt(0.5)).constrain()

         views.m_centerX |=| view
         [loginBtn, registerBtn] |=| view.m_left + 10

or with more operators, where +~ is weighted size, += is constant size, +> is min size, +< is max size and +| is constrain()
         let (views, _) = MortarLinearLayout(axis: .vertical, inside: view, addTo: view) +
         UIView() +~ 1 +
         logo +
         UIView() +~ 1 +
         loginBtn += 50 +
         10 +
         registerBtn += 50 +
         UIView() +~ 0.5 +|

         views.m_centerX |=| view
         [loginBtn, registerBtn] |=| view.m_left + 10

What I like about this approach is that it eliminates the need for associated objects(I feel cleaner already), provides a way to add fixed size spaces without a view, and is concise enough to make MPad pointless.

I think the main issue is that I'd like to leave Mortar as free of extraneous words as possible.  Check out https://melorriaga.wordpress.com/2016/11/09/snapkit-vs-purelayout-vs-cartography-vs-mortar/ -- Mortar seems to be the only one that doesn't use blocks or words other than the actual properties, which I like.
I still think you can achieve this kind of behavior with syntax something like:
Horizontal:
self.view |>[ view1 % 3, view2 % 2, view3 ~ [10, 20], view4 ~ 30 ]<| self.view
Vertical:
self.view |^[ view1 % 3, view2 % 2, view3 ~ [10, 20], view4 ~ 30 ]^| self.view
Or your example:
view |^[ %1, logo % 1, %1, loginBtn ~ 50, 10, registerBtn ~ 50, %0.5 ]^| view
Which is obviously craaaaazy to read, but more inline with the spirit of Mortar :)
Also agreed that you would a) need all the views in the hierarchy already and b) would have to attach hidden, non-interaction UIViews -- which could be added as necessary to the first parent view (since they have to all be in the same hierarchy anyway).  Not sure there's a way to support it completely without adding extra views.

I'd actually say that's marginally more readable than VFL.  It's also over a dozen non-formulaic constraints being created comfortably in one line of code.  Most frameworks would take half a page to do the same and it would be even less readable.  After a little bit of tinkering I've roughed out all the types and operators needed to get your array based syntax to compile.  Looking at the two dozen uses in our codebase, pretty much all of them already work with or can be easily modified to work with the assumption that view |^ means add as subviews of view if necessary and constrain between its top and bottom.  I'll probably have zero free time for the next 2 weeks, but I should be able to get you something useable later in April.

I've pushed a branch with a WIP for this.  Ultimately I'm going to try to support something that looks like (examples):
// ex: Sandwich horiz inside a view
self.view |>> 50 | viewA | viewB[~3] || viewC[==40] | ~2 | viewD[~viewE]

// ex: Sandwich vert between two anchors
view1.m_bottom |^ 40 | viewA | viewB | 50 ^| view2.m_top

// ex: viewB should be twice as tall as viewA
view1.m_bottom |^ 40 | viewA | viewB[~2] | 50 ^| view2.m_top

// ex: Sandwich vert, views can be sized equal to other views
viewT ||^^  viewA | viewB[==44] | viewC[==viewA]

Generally, | is a divider that means to glue the edges together.  || means use the default padding (8).  Both can be used in the bookend operators or between nodes.
Numbers can be used as nodes to represent fixed spacing e.g. .. | 40 | ..
~ can be used as a node to represent empty weight-sized nodes e.g. .. | ~2 | ..

I'm closing this PR -- just merged in MortarVFL


Scanning QR code difficulty due to lack of focussing

I'm trying to switch from FreeOTP to FreeOTP+, because the import/export function.
Unfortunatly just like issue #61 i can't scan the QR code at ALL(blurry image)
tryng it on FreeOTP works n one go :(
LineageOs 18.1

Are you using version 2.7? I think the new Google said CameraX is compatible with about 90% of the phone at the market. What is your phone model?

I bumped the camerax version again in https://github.com/helloworld1/FreeOTPPlus/commit/06317d2343d16132a5a559bed837c76f1e2a4a7e
Hopefully it will help with focusing compatibility


Fixed bugs in ManagedMethod parsing, and updated hierarchies.

Breaking changes

Hierarchy generation changed, RFC to be updated to reflect this.

Can you add more info to the PR description please?


Adds default name and subject if either is NULL. Fixes #1609

Fixes #1609
Changes proposed in this pull request:

If Name parameter is NULL make it the name of the database
If Subject parameter is NULL make it 'dbName Database Certificate'

How to test this code:

[ ] New-DbaDatabaseCertificate -SqlInstance server1

Has been tested on minimum requirements:

[ ]  Powershell 3
[ ]  Windows 7
[ ]  SQL Server 2000

Has been tested on maximum requirements:

[ ]  SQL Server vNext
[ ]  Windows 10
[ ]  Azure Database

Tests for tester:

[ ] Working/useful help content, including link to command on dbatools web site
[ ] All examples work as advertised
[ ] Does not contain template content
[ ] Does not contain excessive/unnecessary amounts of comments
[ ] Works remotely
[ ] Works locally
[ ] Works on lower versions or throws error specifying version not supported
[ ] Works with named instances
[ ] Works with clustered instances
[ ] Handles offline/read only databases
[ ] Supports multiple servers (at the command line or piped from Get-SqlRegisteredServerName)
[ ] No un-handled errors which stop the command working with multiple servers

love that test! Thank you

Welcome :)


refactored v0.4 version shows differences to the existing harness in Japanese.

Now lm-eval v0.4 contains several multilingua tasks, e.g., mgsm, xwinograd, and so on.
For Japanese (Ja), a widely used LLM eval tool is a forked lm-eval (version < 0.4) by Stability-AI https://github.com/Stability-AI/lm-evaluation-harness/tree/jp-stable. Inside, it defines a suite of Ja tasks. This tool will be called as harness_Ja in this issue report from now on.
I just compared lm-eval v0.4 with harness_Ja on the two tasks, i.e., mgsm and xwinograd.
lm-eval v0.4 result:
hf (pretrained=cyberagent/open-calm-1b,dtype=float16), gen_kwargs: (None), limit: 200.0, num_fewshot: None, batch_size: auto (64)

Tasks
Version
Filter
n-shot
Metric
Value

Stderr

xwinograd_jp
1
none
0
acc
0.59
±
0.0349

mgsm_direct_ja
1
remove_whitespace
0
exact_match
0.00
±
0.0000

harness_Ja result:
hf-causal (pretrained=cyberagent/open-calm-1b), limit: [200, 200], num_fewshot: [0, 0], batch_size: 32

Task
Version
Metric
Value

Stderr

xwinograd_ja
1
acc
0.660
±
0.0336

mgsm
1
acc
0.005
±
0.0050

Some differences can be observed:

for the mgsm task, exact_match is now used, different to acc in the harness_Ja.
for the xwinograd task, results are different, 0.59 (lm-eval v0.4) vs. 0,.66 (harness_Ja).

Regarding the difference 2, it looks that loglikelihood computing are arranged differently in these two versions. For harness_Ja, the computing is on entire sentences. However, in lm-eval v0.4, we only use a partial sentence.
    def construct_requests(self, doc, ctx):
        assert not ctx

        return [
            rf.loglikelihood("", doc["sentence1"]),
            rf.loglikelihood("", doc["sentence2"]),
        ]

Using one sample
The city councilmen refused the demonstrators a permit because _ feared violence.
options: [the city councilmen, the demonstrators]
to show input differences when computing loglikelihood.
For the first option
-harness_Ja: The city councilmen refused the demonstrators a permit because the city councilmen feared violence
-lm-eval v0.4: The city councilmen refused the demonstrators a permit because the city councilmen

If the Stability AI fork is widely used by the Japanese LLM community, we should prioritize the formatting used there. In the case of mgsm, I'm inclined to say we should use acc as a result.
However, in the case of the xwinograd implementation, I'm less certain about how to proceed. The Stability AI fork implements it in a fashion that's contradictory to widely accepted practice in the English LLM community. The way we do it is how pretty much every LLM paper going back to (and before) GPT-3 does it for autoregressive language models. Specifically, we compute P(feared violence | The city councilmen refused the demonstrators a permit because the city councilmen). That is, we look at which value of the masked term makes the true continuation most probable. I think we should probably support both options with careful documentation regarding the differences, but I'm not sure what we should use as the default.
@leocnj are there other tasks where there are differences? Have you had an opportunity to verify the others are the same?


Even shorter notation to build and run a Webhosts

Added support for allowing a shorthand notation to build and run a Webhost with the default configuration including a typed Startup class

@faniereynders,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla2.dotnetfoundation.org.
It will cover your contributions to all .NET Foundation-managed open source projects.
Thanks,
.NET Foundation Pull Request Bot

@faniereynders, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, .NET Foundation Pull Request Bot

@davidfowl?

@JunTaoLuo @davidfowl could you guys take a look?

Thanks @faniereynders for the contribution! Your changes were merged in https://github.com/aspnet/MetaPackages/commit/07bf8d02a054e37461c8ccf50dc95ee594556c62.


Loan Comparison: Separate interest rate and number each steps

Changes

Separating out the interest rate from the rest of the inputs
Adding numbered headers to the 4 sections (inputs, interest rate, outputs, next steps)
Removing numbers from the input categories (about you, about the home, about the loan)

Reviews
@stephanieosan @cfarm @virginiacc
Questions for @stephanieosan:

Did you want "interest rates" to be linked to somewhere under "2. choose interest rates in your scenarios"?
In output, you see how the green bleeds to the left edge, do you really want that there?  Esp if we have big screen, it looks kind of odd

Screenshots

@amymok
We want the copy "interest rates" to link to consumerfinance.gov/check-rates.
We do not want the green highlight to extend off screen like that, but since we're removing the prepopulated mode (which includes the green highlights), that should take care of itself?

@virginiacc @cfarm : Is this a true statement?
"We do not want the green highlight to extend off screen like that, but since we're removing the prepopulated mode (which includes the green highlights), that should take care of itself?"

@cfarm @virginiacc When you are done with FE, I need some help getting the link to have dotted underline.  Can't seem to get this working.

This looks great! :+1: I had a few suggestions for the css, but they're really small & I'm fine with logging them here for future reference and pulling this in as is. Let's discuss whether we want to make any changes tomorrow, and if not I'll go ahead and merge this.


Update logback-classic, logback-core to 1.2.9

Updates

ch.qos.logback:logback-classic
ch.qos.logback:logback-core

from 1.2.3 to 1.2.9.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.qos.logback" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #109.


Presence status report

During the final steps of advanced editing the presence status report (PowerBI) where a connection is made to the employee status list inthe underlying sharepoint I am presented with 'The column 'Id' of the table wasn't found'.

Hi, it is beucase there isn't any record in CI_Employee Status.
Try to add a value manually and it will work.
This list collects data from user status update.

Hi, it is beucase there isn't any record in CI_Employee Status.
Try to add a value manually and it will work.
This list collects data from user status update.

Thanks I tried this but no success unfortunately.

Hi, it is beucase there isn't any record in CI_Employee Status.
Try to add a value manually and it will work.
This list collects data from user status update.

Thanks I tried this but no success unfortunately.

My apologies that does in fact work thank you however I still cant record wfh or ooo via the app to populate the underlying SharePoint list

Hi @nicez30,
In the Edit Query screen, you may need to ensure you're not viewing the data anonymously:

Can you change the login to your Microsoft account?


First impressions

Hi,
I just installed and ran cnc.js, and it looks fantastic.  However, i'm on a mac, and either I am missing something obvious or there is a problem, because I cannot load a gcode file.  I assumed since there is no upload option that I should just drag/drop the .nc or .gcode file onto the browser window, but that does not work for me (on either chrome or safari), this may be a mac-specific problem...
Also, is there a way to suppress all the console output printing the ? and $G responses by default and only showing that if a verbose/debug flag is sent on startup? The app is using 51% of my cpu while sitting idle, i suspect some of that overhead is due to constantly printing those console output lines.
cnc.js definitely has potential though!
Cheers,
-J.

Jarret,
I am also running the web interface on a Mac, with no issue.  To upload a file, click on the little cloud icon in the 3d viewer area.  When you want to load a different file, click on the little trash can to close the existing gcode file.
Haven't noticed high CPU or console messages though.

Hi Jarret,
Thanks for the note. The drag-and-drop feature is indeed currently missing from the web interface, but I had added it to the to-do list and will  add it soon.
As for the high CPU usage when sitting idle, I will look into it for further investigation.

I also noticed the CPU usage is high caused by the web browser even for being idle, it seems that I ran into the same issue as https://github.com/mrdoob/three.js/issues/7670.
function render() {
    requestAnimationFrame(render);
    renderer.render(scene, camera);
}
render();

By default, the requestAnimationFrame loop will render the scene with a 60HZ refresh rate. The CPU will keep working high even if nothing needs to update in the scene.
I will try to turn into using the static scene rendering only when an event occurred, like so:
// controls
let controls = new THREE.OrbitControls(camera);
controls.addEventListener('change', render);

let renderAnimationFrame = false; // a boolean flag that will be updated from mouse and keyboard event

function render() {
    if (renderAnimationFrame) {
        requestAnimationFrame(render);
    }
    renderer.render(scene, camera);
}
render();

HI Jarret,
You can check out v0.11.6 for the fixes of high CPU usage when sitting idle:

Resolving an issue of the web intrerface that caused high CPU usage in idle state - #14

The fixes will stop the render animation loop if current status is not in running state. Any state changes will trigger componentDidUpdate when the component has been updated. It seems componentDidUpdate is a good place to call  requestAnimationFrame to restart the loop.
For example:
renderAnimationLoop() {
    let isAgitated = (this.state.activeState === ACTIVE_STATE_RUN) &&
                     (this.state.workflowState === WORKFLOW_STATE_RUNNING);
    if (isAgitated) {
        requestAnimationFrame(::this.renderAnimationLoop); // 60 fps refresh rate
        // start animations
     } else {
        // stop animations
    }

    this.renderer.render(this.scene, this.camera);
}
componentDidUpdate(prevProps, prevState) {
     // The renderAnimationLoop will check the state of activeState and workflowState
    requestAnimationFrame(::this.renderAnimationLoop);
}

Drag and drop support for loading G-code file is added in v0.12.0

Just tested 0.12.0, this looks fantastic.
Both the high CPU usage on idle, and the drag and drop are fixed.  I like what you did with the gcode drag/drop box, as well I like that the 3d viewer no longer scrolls with the other boxes, so there is no whitespace underneath and you never lose the play/pause buttons off screen at the top.
A couple other observations:

It seems that when hitting pause, it doesn't immediately stop movement, but instead finishes cutting all gcode that has been sent into the grbl queue already.  As well, during a pause, a person can still jog.  If a ! was used to pause, and ~ to unpause the stop would be immediate, and grbl would be locked so no jogging could occur that might put the endmill in an unexpected location for the next cut in the queue to execute incorrectly.

For Jogging, most other software seems to ignore feedrate and use G0 commands (rapid speeds set in GRBL), is there a way to give users this option?  I would rather never have to set a feed rate and always move at rapids speed which I have pre-defined than have to adjust the default feedrate (250) to my typical rapid rate (5000) each time I load the page.  An alternative to this could be to store a settings cookie that allowed my feedrate setting of 5000 to persist between page loads.

It would be great if any changes to the ordering/placement of widgets in the side bars, or the hiding of side bars was stored in a cookie to persist between page refreshes as well.  Right now I customize the placement of widgets only to have them all reset the next time the page is loaded

The duration counter does not stop when the gcode finishes sending... It seems to keep counting indefinitely :)

Any thoughts on coloring G0, G1, G2/3 lines different colors in the 3d viewer? I think i'm just used to this in chilipeppr but find myself missing it when using cnc.js, as it was a quick way to see where the rapid movements would be vs the actual milling.  Even a faded out green for the G0 and the dark green for G1/2/3 would give some indication of which movements the spindle will be under load vs rapid movements between cuts.

Sorry if these should all be separate issues, I can move them all out individually if that would be better.
Keep up the great work; I am hoping to dive more into your code in the next few weeks and see if there is anything I could contribute back to your project.  I developed the chilipeppr grbl workspace so I am familiar with much of the code there for the touch plate widget, autolevel widget, grbl buffer handling, etc.
Cheers,
-J.

Thank you so much for your advise. I really appreciate it.
Please see below my response to the points that you have raised:

v0.12.2: Now clicking on the [PAUSE] button will also send the ! feed hold command to Grbl to hold current operation immediately. The ~ cycle start command will be issued when clicking [PLAY] again to resume current operation.
Within the Hold state (i.e. paused), you'll have a chance to stop and clear all motions queued in the buffer by clicking on the [STOP] button. It will issue a Ctrl-X command as well to reset Grbl from Hold state to Idle state. However if one is doing so, Grbl may enter the Alarm state in certain conditions, it is necessary to let user know an Unlock command is required to allow G-code function to work again. I'm sill working on this.

v0.12.4: The feedrate control has been removed from the Axes widget since it is not necessary for jogging.

Persistent settings is a missing feature since the very beginning, I will try to add it soon.

The non-stopping duration counter is a bug, and it will be fixed in later version.

With respect to rendering different colors for G0~G3 commands, I made a quick fix in v0.12.3, but it would be better if the user is able to select custom colors according to his preferences.

Now the widget position can be remembered since v0.13.4

v0.13.4: Remember widget position
v0.13.5: Bug fixes for the non-stopping duration counter

TODO: Restore UI after browser refresh

v0.14.7 Restoring G-code after browser refresh

I will close the issue since most issues mentioned above have been fixed. Thanks for your feedbacks here.


Add a memory based game to projects

Is your feature request related to a problem? Please describe.
No, it's not a problem. I just want to add my project to the list of projects.

@oneknucklehead This project is already been under development.Once it's developed you can create new issue for modification or new features
Feel free to look around, plenty of things can be added or modified within this project. Create an issue we will be happy to assign you.
I'm closing this issue for now


Update all token icons & resources

Update all resources which don't correspond to reality to get them ready for main net.

Phase 0 ready now


MeshUVSpaceRenderer: Remove static

Snapshot stored with reference name:
refs/pull/13731/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13731/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13731/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/13731/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/13731/merge
https://gui.babylonjs.com/?snapshot=refs/pull/13731/merge
https://nme.babylonjs.com/?snapshot=refs/pull/13731/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/13731/merge#BCU1XR#0


Add mandatory version parameter to rest#request

This change was originally proposed by @SimonWoolf in https://github.com/ably/docs/pull/1592.
The features spec moved to this repository before that proposed change was approved or merged, therefore this issue represents the requirement to create a pull request in this repository for that change.
To assist, I have already pushed up a branch with commit co-authored-by Simon containing the same change to save time:

From compare: branch rest-request-with-version
To base: branch integration/protocol-2.0

👉 Compare & pull request

PR: https://github.com/ably/specification/pull/89


try not to use stored failed future results and therefore allow recovery

basic solution for #103
we may want a more complex solution where we actively retry failed function calls (eg using the Pekko scheduler)

@mdedetrich what do you think of this? Do you think it is safe as is?
My feeling is that the LazyFutureEval hides the retry semantics from the API user - so we can tweak the retry behaviour in a future release if this PR's approach does not retry actively enough - but the change would not need to affect the API and binary compatibility.
We might be in good position to release a 1.0.1 patch soon - maybe after we get Pekko Connectors 1.0.1 released.

Ill check this out during the week (need to sleep on it a bit and also understand the problem better). Ping me again if I forget

In general the solution is sound. But I'm unsure if we are tackling the issue on the wrong level and reworking the livecycle/initialization of the plugin would be a better way to solve it.

Hmm it's a tough decision.
On one hand this is a clear bug that can hit anybody - though should not happen too often that cassandra/network is unstable during startup of a pekko app. But we do change the behavior since the lazy vals are evaluated at a slightly different time during startup. They do get eagerly initialized immediately (not when the Init message is received) and we even initialize some statements that would otherwise not initialize.
Imho its probably better to go to 1.1

Thanks @danischroeter and @nvollmar for the reviews. The new code is not eager. It only evaluates when futureValue() is called on the RetryableFutureEval instance. I think the timing on when the evals happen and if they happen at all should remain pretty similar. The main difference is if the eval fails that further calls to futureValue() get a chance to create a new future which might succeed.

@pjfanning Ah sorry - you're right. It's still evaluated at the same spot/time. So I have to revise my statement.
So it is far less risky to roll this out than I thought and pretty safe to roll out.
Then the question is more about is this a critical bug since it only happens when things are unstable at startup.
When using this version on a productive system I'd be happy to have this fix in place.


Clean up roles/rpc_maas/defaults/main.yml

Currently, roles/rpc_maas/defaults/main.yml has variables which point
to other rackspace-related variables that are no longer defaulted in
os-ansible-deployment's user_variables.yml file.  This change updates
roles/rpc_maas/defaults/main.yml to point to generic (static) values,
while also adding a new maas_tenant_id variable for the Rackspace Cloud
tenant ID (this avoids the need of having to override the maas_api_url
variable).  Additionally, we create some defaults for the
rackspace-related variables in user_extras_variables.yml (we have other
overrides in user_extras_variables.yml which area already pointing to
these).
On a side note, the reason for retaining the rackspace-related
variables is so that user_variables.yml overrides for configuring
glance CloudFiles backend can also point to these rackspace-related
variables.  This will avoid having to maintain two sets of Rackspace
details in your overrides files.
Closes issue #58

:+1:
Someone else please review

This LGTM. merging.


checks extra_7116 and extra_7117 fail by default even if aws glue is not used

As far as I understand, the glue data catalog always exists, regardless of if one uses this service. The default settings are such that checks extra_7116 and extra_7117 fail. So if someone uses prowler, they either have to ignore these checks or change the glue default settings.
Ignoring the checks is problematic because one might forget to re-enable then at the point where one is actually starting to use aws glue.
Changing the default settings is problematic because it means writing unnecessary infrastructure code (unless it is in fact a security issue to leave the default settings of this service even if it's not utilized).
I'm now wondering:

Is this intended behavior because this is actually an issue (e.g. because this may leak metadata even if one does not intend to use AWS glue)?
If not, is there some way to determine if data is actually potentially leaked? Similar to the other glue checks who don't fail because the resources don't exist. Unfortunately I don't know anything about aws glue so I'm not sure what condition might be sensible.
If neither is the case, is it desirable to document (e.g. as a comment in the check files) that the check can be safely ignored if aws glue is not used?

Thanks for your comments and testing these new Glue checks @ImmoStanke :)
There is a way to improve those two checks, actually if there are no tables, it doesn't make sense to show error if "Metadata encryption" is not enabled, same behavior should be in place for "Encrypt connection passwords" for connections. @ramondiez is working on an enhancement.

fixed by #692


Update index.rst

better link the repo rather than the file readme file itself?

Hi Lorenzo,
I am fine with changing the link and would approve your PR. But your commit is not signed-off.

I fix this myself now in another commit and PR.


[ZEPPELIN-4078] Fix concurrent autocomplete and execute for Ipython

What is this PR for?
The pr is to fix a bug that will make the ipython execute_interactive hang forever if a auto complete call is make at the same time. (see unit test for example that is failing on master).
For now the fix is to synchronize those method : execute / complete. It will not bring regression because anyway, the kernel does not support concurrent execute and auto complete (see https://github.com/jupyter/notebook/issues/3763)
What type of PR is it?
Bug Fix
Todos

[x] - unit test failing in master / succeed on this branch
[x] - fix with lock

What is the Jira issue?
It is one part of the jira issue. Other fix will come soon
https://issues.apache.org/jira/browse/ZEPPELIN-4078
How should this be tested?

First time? Setup Travis CI as described on https://zeppelin.apache.org/contribution/contributions.html#continuous-integration
Strongly recommended: add automated unit tests for any new or changed behavior
Outline any manual steps to test the PR here.

Screenshots (if appropriate)
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

Thanks @AyWa LGTM

Thanks @AyWa for the contribution. Looks like a test is failing with
13:09:18,331  INFO org.apache.zeppelin.spark.OldSparkInterpreter:338 - ------ Create new SparkContext local -------
13:09:18,335  INFO org.apache.spark.SparkContext:58 - Running Spark version 1.6.3
13:09:18,338 ERROR org.apache.spark.SparkContext:95 - Error initializing SparkContext.
org.apache.spark.SparkException: An application name must be set in your configuration
	at org.apache.spark.SparkContext.<init>(SparkContext.scala:404)
	at org.apache.zeppelin.spark.OldSparkInterpreter.createSparkContext_1(OldSparkInterpreter.java:426)
	at org.apache.zeppelin.spark.OldSparkInterpreter.createSparkContext(OldSparkInterpreter.java:321)
	at org.apache.zeppelin.spark.OldSparkInterpreter.getSparkContext(OldSparkInterpreter.java:139)
	at org.apache.zeppelin.spark.OldSparkInterpreter.open(OldSparkInterpreter.java:696)
	at org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:66)
	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
	at org.apache.zeppelin.interpreter.Interpreter.getInterpreterInTheSameSessionByClassName(Interpreter.java:354)
	at org.apache.zeppelin.interpreter.Interpreter.getInterpreterInTheSameSessionByClassName(Interpreter.java:365)
	at org.apache.zeppelin.spark.IPySparkInterpreter.open(IPySparkInterpreter.java:52)
	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
	at org.apache.zeppelin.spark.IPySparkInterpreterTest.startInterpreter(IPySparkInterpreterTest.java:93)
	at org.apache.zeppelin.python.IPythonInterpreterTest.testIpython_shouldNotHang_whenCallingAutoCompleteAndInterpretConcurrently(IPythonInterpreterTest.java:250)
        ....

Looks like https://github.com/apache/zeppelin/blob/master/spark/interpreter/src/test/java/org/apache/zeppelin/spark/IPySparkInterpreterTest.java#L59 is somehow not applied on the test.

@Leemoonsoo Thx you for the info, I guess it was because of new Properties(). i pushed a changed to use initIntpProperties() in the test. Let's hope it will pass 🤞

@Leemoonsoo
Seems like my ci is still failing.
I got error:
ests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 818.986 sec <<< FAILURE! - in org.apache.zeppelin.spark.IPySparkInterpreterTest
testZeppelinContext(org.apache.zeppelin.spark.IPySparkInterpreterTest)  Time elapsed: 72.083 sec  <<< ERROR!
java.lang.OutOfMemoryError: GC overhead limit exceeded
	at java.util.jar.Attributes.read(Attributes.java:394)
	at java.util.jar.Manifest.read(Manifest.java:199)
	at java.util.jar.Manifest.<init>(Manifest.java:69)
	at java.util.jar.JarFile.getManifestFromReference(JarFile.java:199)
	at java.util.jar.JarFile.getManifest(JarFile.java:180)
	at sun.misc.URLClassPath$JarLoader$2.getManifest(URLClassPath.java:981)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:450)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at scala.tools.nsc.interpreter.IMain.scala$tools$nsc$interpreter$IMain$$_initialize(IMain.scala:138)
	at scala.tools.nsc.interpreter.IMain.initializeSynchronous(IMain.scala:154)
	at org.apache.zeppelin.spark.SparkScala211Interpreter.open(SparkScala211Interpreter.scala:85)
	at org.apache.zeppelin.spark.NewSparkInterpreter.open(NewSparkInterpreter.java:106)
	at org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:66)
	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
	at org.apache.zeppelin.interpreter.Interpreter.getInterpreterInTheSameSessionByClassName(Interpreter.java:354)
	at org.apache.zeppelin.interpreter.Interpreter.getInterpreterInTheSameSessionByClassName(Interpreter.java:365)
	at org.apache.zeppelin.spark.IPySparkInterpreter.open(IPySparkInterpreter.java:52)
	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
	at org.apache.zeppelin.spark.IPySparkInterpreterTest.startInterpreter(IPySparkInterpreterTest.java:93)

Does it happens sometimes ? or is it related to my pr ?

@AyWa You can rebuild it again, if it still happens, then most likely due to your PR.

Okay thx. I will try to remove my test to see if the instability is coming from my test or the fix. lets see. :)

I am kind of lost with the test...:

I ran my fix, without the new test -> all the test pass on the ci
I ran my fix, with the new test - > always some failure (seems like `GC or out of memory or timeout)
I ran my fix, with a test, that is not testing the fix (like no concurrent call) -> fail again

So i think the problem is not related to the fix itself, but more like an issue with the test:

ExecutorService pool = Executors.newFixedThreadPool(2); make the GC / OOM`  ?
running then auto complete make some issue ?

I will try to push the same code without executor / thread to see if it is working, then try to thread it again :/

@AyWa I have fixed OOM issue in https://github.com/apache/zeppelin/commit/1a8667c655bb848fd2d07e1fe94092190454a5dd
You can try rebase it

@AyWa I have fixed OOM issue in https://github.com/apache/zeppelin/commit/1a8667c655bb848fd2d07e1fe94092190454a5dd
You can try rebase it

@zjffdu Thank you, the OOM fix for the test is working well: https://travis-ci.org/AyWa/zeppelin/builds/513921618

Should I do something else on this side ?

LGTM, will merge if no more comment

@zjffdu I rebased because it has conflict. i think it was LGTM but not merge. Shall I work on something to make it to master ?

Thanks @AyWa , I am sorry that I forget to merge it. I will merge it after the CI completed

No problem :) by the way, the CI changed ? do I need to setup something ?

Did you configure your travis ? https://zeppelin.apache.org/contribution/contributions.html#continuous-integration

Yes, I just could not see the trigger. But I checked and the build fail. I will have a look

@AyWa There's some flaky test, let me know if you doubt the failed test is not related

I rebased and test succeeded. 😉

@AyWa where is the travis link ? Have you configured your travis ? It is weird that there's on travis CI link here.

Yeah, I don't know why it is not shown in the pr. It was shown until I fix the conflict yesterday.
https://travis-ci.org/AyWa/zeppelin/builds/581966561

Thanks, I will merge it soon


Add missing GetPtr() for Dictionary<> and Array<>

Add missing GetPtr() method for generic versions of Dictionary and Array to fix #20705.

CC @neikeq

Now that Godot 3.1 has been released, we only plan to cherry-pick critical bug fixes to the 3.0 branch, unless there is very strong support in favor of a specific non-critical issue. Removing cherrypick label for 3.0.


ng build shows "not an ngModule" error for external imported module

-[ x] bug report -> ng build shows error as "not an ngModule" for imported modules ..i tried with "RoundProgressModule", "BusyModule"
Versions.
@angular/cli: 1.0.0-rc.2
node: 6.10.0
os: win32 x64
@angular/common: 2.4.9
@angular/compiler: 2.4.9
@angular/core: 2.4.9
@angular/forms: 2.4.9
@angular/http: 2.4.9
@angular/platform-browser: 2.4.9
@angular/platform-browser-dynamic: 2.4.9
@angular/router: 3.4.9
@angular/cli: 1.0.0-rc.2
@angular/compiler-cli: 2.4.9
Windows- 7
Repro steps.

install "angular-svg-round-progressbar"/"angular2-busy" modules
Import these modules in app.module.ts
try generating app build using command "ng build"

The log given by the failure.
$ ng build
Hash: 980672e02756722e94b2                                                      Time: 9290ms
chunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 157 kB {4} [initial] [rendered]
chunk    {1} main.bundle.js, main.bundle.js.map (main) 143 kB {3} [initial] [rendered]
chunk    {2} styles.bundle.js, styles.bundle.js.map (styles) 9.78 kB {4} [initial] [rendered]
chunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 3.44 MB [initial] [rendered]
chunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]
ERROR in BusyModule is not an NgModule
$ ng build
Hash: c60aebedac43613bbe64                                                      Time: 9361ms
chunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 157 kB {4} [initial] [rendered]
chunk    {1} main.bundle.js, main.bundle.js.map (main) 143 kB {3} [initial] [rendered]
chunk    {2} styles.bundle.js, styles.bundle.js.map (styles) 9.78 kB {4} [initial] [rendered]
chunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 3.44 MB [initial] [rendered]
chunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]
ERROR in Error encountered resolving symbol values statically. Only initialized variables and constants can be referenced because the value of this variable is needed by the template compiler (position 79:22 in the original .ts file), resolving symbol AUTH_PROVIDERS in D:/source-code/nks-git/amdocs-ng/amdocsacademyv3.0/node_modules/angular2-jwt/angular2-jwt.d.ts, resolving symbol AppModule in D:/source-code/nks-git/amdocs-ng/amdocsacademyv3.0/src/app/app.module.ts, resolving symbol AppModule in D:/source-code/nks-git/amdocs-ng/amdocsacademyv3.0/src/app/app.module.ts
Desired functionality.
Successful build..
Mention any other details that might be useful.
ng serve works fine after any single file edit and save..

Heya, errors like Error encountered resolving symbol values statically mean that there has been some problem in statically analyzing your app.
The CLI always runs statical analysis on code to ensure it will run when compiled with AOT. This may cause a lot of static analysis errors to surface when importing your project into the CLI, or upgrading for older versions where we didn't run this kind of analysis.
A good resource on how to to debug these errors is https://github.com/rangle/angular-2-aot-sandbox#aot-dos-and-donts.


在vscode中运行internlm-xcomposer-7b模型，无法生成图文的结果

User: Write a popular science article about “Unraveling the Mysteries of Black Holes: A Scientific Overview” with pictures and illustrations.
Bot: I'm sorry, but as an AI language model, I don't have the capability to create visual content such as pictures and illustrations. However, I can provide you with a text-based summary of the popular science article about "Unraveling the Mysteries of Black Holes: A Scientific Overview".
如图，采用论文中提到的prompt，但是没有得到预期的结果，不知道什么原因

看了一下web_demo.py的代码，原来是要通过多轮prompt的方式依次实现生成文本、确定图像插入的位置和描述、选择图像的步骤，最终生成图文并茂的文章，直接将“Write a popular science article about “Unraveling the Mysteries of Black Holes: A Scientific Overview” with pictures and illustrations.”作为prompt输入模型，模型也是懵的

Please run the web demo to write interleaved articles https://github.com/InternLM/InternLM-XComposer#web-ui. The chat module does not support the automatic execution of multi-steps for article composition.
请用web demo的代码来写图文交错文章 https://github.com/InternLM/InternLM-XComposer#web-ui. 聊天模式暂时不支持自动执行写图文文章的多个步骤。