GCReW Weather Station Data for L1

@bpbond @roylrich do you think we could include the GCReW weather station data in the L1 release? This may mean pulling that data from the dropbox or mirroring it to the G-drive at some point. Roy would this be okay with you?

Why do issues opened by @wilsonsj100 always result in more work for me 🤣
Seriously, though, this is a GREAT idea--lots and lots of TEMPEST data users will need met data, and if we can serve it up to them just like we do for the other sites that would be great.
Short-term, could you send me a sample raw file from the GCReW met station? That would help me assess how easily the existing pipeline will be able to process it, or if we'll need to make modifications.

Thank you!
Hurray, totally consistent TOA5 format. This will be easy. I ❤ @roylrich !

@stephpenn1 Does this make sense to you?

Here are the data fields in the file posted above by @wilsonsj100 . I assume that we want any field that with a match in the COMPASS-FME ClimateVue data. What others?
Will need to think about how to handle unit differences.

TIMESTAMP
TS
Do we want?

RECORD
RN

Statname

Rain_in_Tot
inch

Rain_cm_Tot
cm
Yes but COMPASS var in mm

AirTC_Avg
°C
Yes

RH
%
Yes

CleanRH
%
?

VP
kPa
Yes - but COMPASS var is in mbar

VPD
Pa

SVP
Pa

Barometric_Pressure_PB110B
mbar
What's the difference from next one?

Barometric_Pressure_PB110B_Avg
mbar
Yes

SlrW_Avg
W/m²
Yes but COMPASS in MJ/m2

SlrMJ_Tot
MJ/m²
Yes but COMPASS in W/m2

PAR_Den_C_Avg
micromols/s/m^2
Yes

PAR_Tot_C_Tot
mmol/m^2second
Yes

Temp10cm_Avg
C

Temp25cm_Avg
C

Temp90cm_Avg
C

Above75cm_plate_Avg
C

Aquatroll_ID(2)

Depth
cm

Temperature
C

Actual_Conductivity
uS/cm

Specific_Conductivity
uS/cm

Salinity
PSU
Yes

TDS
ppt

Water_Density
g/cm3

Pressure
PSI

Resistivity
ohm-cm

WindDir_RM_Avg
degrees
What are these "RM" vars?

WindDir_RM
degrees

WS_ms_RM_Max
m/s

WS_ms_RM_Min
m/s

WS_ms_RM_Avg
m/s

WS_ms_RM
m/s
?

WindDir_WS_Avg
degrees
Yes

WindDir_WS
degrees
?

WS_ms_WS_Max
m/s
Yes

WS_ms_WS_Min
m/s
Yes

WS_ms_WS_Avg
m/s
Yes

WS_ms_WS
m/s
?

Thanks. That makes sense to me, at least for a first pass; we could expand the available data in subsequent releases.

Initial mapping for going from GCReW met data to COMPASS-FME L1 variables:

Hey all, how is this met station output different than the compass_gcw_w_climavue data streams already in our pipeline?

This is the permanent gcrew met station
Sent from my T-Mobile 5G Device
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Stephanie Pennington @.>
Sent: Thursday, May 2, 2024 9:59:40 AM
To: COMPASS-DOE/data-workflows @.>
Cc: Rich, Roy @.>; Mention @.>
Subject: Re: [COMPASS-DOE/data-workflows] GCReW Weather Station Data for L1 (Issue #158)
External Email - Exercise Caution
Hey all, how is this met station output different than the compass_gcw_w_climavue data streams already in our pipeline?
—
Reply to this email directly, view it on GitHubhttps://github.com/COMPASS-DOE/data-workflows/issues/158#issuecomment-2090571652, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFIDRBSSSIVNWKRS4E7LKHDZAJBEZAVCNFSM6AAAAABHB4MFT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJQGU3TCNRVGI.
You are receiving this because you were mentioned.Message ID: @.***>

Is our COMPASS climavue station in a different location than the gcrew one?
I'm just wondering the benefits of having two met station datasets since it increase file sizes and might be confusing. @wilsonsj100 might be a good person to answer this, im just curious why use the gcrew one over the synoptic one. Thanks!

Hmm. You're right @stephpenn1 there are existing ClimaVUE50 outputs for GCW...but all their values appear to be zero.
Paging @wilsonsj100 for clarifications 😕

There is no climate at gcrew because it was an add on site
Sent from my T-Mobile 5G Device
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Ben Bond-Lamberty @.>
Sent: Friday, May 3, 2024 8:29:02 AM
To: COMPASS-DOE/data-workflows @.>
Cc: Rich, Roy @.>; Mention @.>
Subject: Re: [COMPASS-DOE/data-workflows] GCReW Weather Station Data for L1 (Issue #158)
External Email - Exercise Caution
Hmm. You're right @stephpenn1https://github.com/stephpenn1 there are existing ClimaVUE50 outputs for GCW...but all their values appear to be zero.
Paging @wilsonsj100https://github.com/wilsonsj100 for clarifications 😕
—
Reply to this email directly, view it on GitHubhttps://github.com/COMPASS-DOE/data-workflows/issues/158#issuecomment-2092920240, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFIDRBTP56HVUMDV53WQIC3ZAN7I5AVCNFSM6AAAAABHB4MFT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSHEZDAMRUGA.
You are receiving this because you were mentioned.Message ID: @.***>

Right, thanks @roylrich . I wonder why those zero rows are appearing in our L1...
Anyway, @stephpenn1 that's the rationale: there's a big convenience factor for users if weather data are easily available GCW and TMP as for the other synoptic sites.

@roylrich @bpbond @stephpenn1  I don't think we have a "COMPSS" climaVue at GCW because we were planning to use the existing met station. Roy can confirm, but I think the reason they are all zero is because it doesn't exist and there is nothing to populate that part of the dataset, but the code is there in case we added one. That is why I wanted to add the existing GCW weather station data in.

OK, cool, thanks.
@roylrich maybe @selinalcheng or SW or SP, does the mapping in my comment above, from the GCReW datalogger fields to our COMPASS synoptic fields, look right?
Related note, for the wind speed and direction fields in the GCReW datalogger, what's the difference between the "RM" and "WS" fields? I wasn't sure which one to use.

There are a few things in the mapping doc that are incorrect. Where is this document? / could you share with me on GDrive? I could edit and fix. So for the variables you didn’t fill out, are you just not including them in the L1 release?
remind me again, what does the prefix “wx” mean? Does that refer to the WXT met instrument?
I believe RM refers to one anemometer made by RM Young. WS refers to another anemometer called Windsonic. You may want to include both? IDK @roylrich ? How would you choose one over the other?

@selinalcheng I shared a google sheet with you

Ok, I am actually off today and Monday so I may not get to it till Tuesday if that’s ok!On May 3, 2024, at 11:39 AM, Ben Bond-Lamberty @.***> wrote:
@selinalcheng I shared a google sheet with you
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

I have one question for @wilsonsj100

I assume that for consistency you'd like the GCReW weather station data mapped to GCW-W, following the pattern of other synoptic sites?

And one question for @roylrich (probably)

If we're going to do this, could I be added to the Dropbox share for these data? Or if the data are distributed some other way, let me know options to gain access?

Thanks!

Yes, I think that would make the most sense. This would match the rest of the sites and make it easier to utilize the data across sites.
Thank you!

Ok, I updated the google sheet with fixes and comments. The VP measurement is dubious and I am still not sure how you would want to deal with / choose the RM Young vars over the Windsonic vars

Thank you! This will let me do some robust testing while I wait for data access.

@roylrich @selinalcheng What kind of instrument is the GCReW met station? A ClimaVUE50, or something else? Thanks

@wilsonsj100 The L1 data on the google drive have been updated with the GCReW met data.

Great! Thank you - is that as of right now? Ie. if I downloaded the data earlier today, do I need to redownload now?

I'm sorry, yes, just pushed up a new version.

Actually it's not quite done! Sit tight for 5 minutes

Okie doke! No problem! I can redownload tomorrow

All done

Yay! Thank you!


New search control with pin+infowindow

Adding a pin + infowindow with the search info, made in CartoDB.js and now available under the editor, but with you edit tools with help to:

Add an annotation in that point (if user is in a visualization).
Add a marker in that point (if data layer is made of points and a query is not applied).

Public (no buttons)

Visualizations (buttons enabled)

Table (buttons disabled)

Fixes #4914
cc @iriberri
REVIEWER: @javierarce

@josecruz, it will be available in rui servers.


我怎么获取随机数，我可以自定义随机数吗？

When file a bug report (see below for feature requests)
Please answer these quesions for a bug report. Thanks!
What version of GoTTY are you using (gotty --version)?
gotty version v1.3.0
What operating system and browser are you using?
What did you do?
If possible, please provide the command you ran.
What did you expect to see?
What did you see instead?
If possible, please provide the output of the command and your browser's console output.
When file a new feature proposal
Please provide an actual usecase that requires your new feature.

Can you explain what you're trying to do?

Closing as it's not clear what the problem is.


Slow sequential And

Subject of the issue
It appears that if And compounds are sequential then tests are running for a long time. Eg.:
expect('qwe').
  to include('asd').
    and(include('asd')).
    and(include('asd')).
    and(include('asd')).
    and(include('asd')).
    and(include('asd')).
    and(include('asd')).
    and(include('asd')).
    and(include('asd')).
    and(include('asd')).
    and(include('asd')).
    and(include('asd')).
    and(include('asd')).
    and(include('asd'))

this is running on my computer for 15 seconds, and each additional condition doubles the previous duration.
It's not a problem with nested and:
expect('qwe').
  to include('asd').
    and include('asd').
      and include('asd').
        and include('asd').
          and include('asd').
            and include('asd').
              and include('asd').
                and include('asd').
                  and include('asd').
                    and include('asd').
                      and include('asd').
                        and include('asd').
                          and include('asd').
                            and include('asd')

This is instant. But I prefer the previous sequential approach as it doesn't increase nesting level.
Your environment

Ruby version: 2.6.3
rspec-expectations version: 3.10.1

Thanks for reporting, this looks interesting.
Would you like to debug and pinpoint the issue? I'd start somewhere here. A pull request is welcome, too.
Side note:

it doesn't increase nesting level

It might be editor-specific. I never had problems in mine increasing indentation level.
Wondering if users of the other style https://rubystyle.guide/#consistent-multi-line-chains are affected by the growing indentation problem.

These are both (or should be) sequential in our terminology (how your editor/formatter formats it is not the issue we'd format both of those the same), its just that the ruby precedence changes and one chains of the and matcher, and one chains off the include matcher, why that makes a difference I don't know yet.

I was able to replicate the problem with both expressions. I believe they both hit the underlying problem, but ruby may compile the expressions differently.
When expressed the first way, the match expression is compiled like this (AND (AND (AND X X) X) X).
#<RSpec::Matchers::BuiltIn::Compound::And:0x000056077b68bd88
  @matcher_1=#<RSpec::Matchers::BuiltIn::Compound::And:0x000056077b68be00
    @matcher_1=#<RSpec::Matchers::BuiltIn::Include:0x000056077b68bef0 @expecteds=[3]>,
    @matcher_2=#<RSpec::Matchers::BuiltIn::Include:0x000056077b68bef0 @expecteds=[3]>>,
  @matcher_2=#<RSpec::Matchers::BuiltIn::Include:0x000056077b68bef0 @expecteds=[3]>>

When expressed the second way, the match expression is compiled like this (AND X (AND X (AND X X))).
#<RSpec::Matchers::BuiltIn::Compound::And:0x000056077b68b978
  @matcher_1=#<RSpec::Matchers::BuiltIn::Include:0x000056077b68bef0 @expecteds=[3]>,
  @matcher_2=#<RSpec::Matchers::BuiltIn::Compound::And:0x000056077b68b9a0
    @matcher_1=#<RSpec::Matchers::BuiltIn::Include:0x000056077b68bef0 @expecteds=[3]>,
    @matcher_2=#<RSpec::Matchers::BuiltIn::Include:0x000056077b68bef0 @expecteds=[3]>>>


with 2fa (two factor authentication) unable to initialize zendesk client

We are using zendesk_api client since few years and everything was working as expected.
Now everything stopped as we enabled 2fa for the domain.
Do we have any idea our ruby client supports 2fa or not.
Thank you!

Thank you for bringing this to our notice. We will consider support for this.

@nishajgd - we might have found a window of time to investigate your issue. What is your account? What HTTP library are you using?
Thank you.

@nishajgd You will need to use an API token if you have 2FA enabled. You can find more information about using the API with 2FA here: https://developer.zendesk.com/documentation/ticketing/using-the-zendesk-api/using-the-api-with-2-factor-authentication-enabled/


[WIP] Increase retry time interval for service invocation

Signed-off-by: Pravin Pushkar<EMAIL_ADDRESS>Description
Increasing the retry time interval for service invocation to 60 sec.
Output logs - (Some of the below logs statements are added just for debugging purpose and are not actually present in the code)
Logs from sidecar when Caller and Callee both apps are present -
in Invoke direct_messaging, appid= nodeapp, err=%!s(), namespace=default
app.id=nodeapp, app.namespace=default
in invokeWithRetry, numRetries :  3
in invokeWithRetry, backoffInterval:  1m0s
Got response :  200
Logs from sidecar when Callee app became unavailable -
app.id=nodeapp, app.namespace=default
in invokeWithRetry, numRetries :  3
in invokeWithRetry, backoffInterval:  1m0s
retry count: 1, grpc call failed, ns: default, addr: nodeapp-dapr.default.svc.cluster.local:50002, appid: nodeapp, sleepTime: 1m0.0005653s, err: rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:50002: connect: connection refused"
Issue reference

Please reference the issue this PR will close: #4237
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@artursouza @berndverst @yaron2 I believe a 1 minute retry interval is too high ... Can it be somewhat like 5 seconds or 10 seconds ?

@mukundansundar - This is specifically for handling something like cert rotation which we expect to have a longer downtime. Due to that though, it should definitely be a much more specific change than this so we don't affect all retries.

There are issue/proposal opened for better root cert rotation -  https://github.com/dapr/dapr/issues/5958, https://github.com/dapr/dapr/issues/5756
Once these are implemented, increasing time interval for service invocation will not be of any use as this issues is specifically for taking care of service invocation when the cert is being rotated.

Closing this for now. If anyone feels otherwise , feel free to re-open this.


AFL-Fuzz Crash 000000: parse.c:1186

The files that trigger crash are as follows：
6crash.zip

Thank you!
gef➤  bt
#0  __interceptor_strcmp (s1=0x800059df085a <error: Cannot access memory at address 0x800059df085a>, s2=0x55555557be80 ".dynstr") at ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:442
#1  0x000055555557574b in display_dyninfo64 (h=0x7fffffffde50) at parse.c:1190
#2  0x000055555557090d in parse (elf=0x555555586140 <elf_name> "../crash2", po=0x555555586280 <po>) at parse.c:196
#3  0x0000555555561464 in readcmdline (argc=0x4, argv=0x7fffffffe0e8) at main.c:290
#4  0x0000555555561495 in main (argc=0x4, argv=0x7fffffffe0e8) at main.c:302

This vulnerability seems to be a kind of problem with #1, I will fix it as soon as possible to avoid this kind of problem from happening again.
感谢CC，这看起来似乎和 CVE-2022-21711 是一类问题，我会尽快修改，避免此类问题再次发生。


Tics: decimals are accepted.

The Navigation->Annotation table accepts decimals as input. This seems weird to me...

Update on 6/11/2018:
This is fixed.


Improve image pulling/caching

This is a follow-up to the discussion on the 3rd Nov 2022 meeting.
In summary: the current implementation of image pulling has served us well to get the project off the ground. Now may be a good time to start exploring possible improvements, for example, image caching. Several members of the community have expressed interest, so I'm opening this issue for us to share and discuss resources/proposals.
Link to my couple of slides: https://docs.google.com/presentation/d/1QKaV5E2OGUeKPKDwleau5Tu-kUiYzQ4CpmFM_IrmJOs/
Link to Christophe's deck: https://docs.google.com/presentation/d/1ie4i6p17VEm5klQchjAVisMUQYFCO8rIQsT3GvGWHS4/edit?usp=sharing

Related discussion: https://github.com/confidential-containers/image-rs/issues/65

Here are the slides for our (Microsoft's) proposal, discussed in the last two meetings: https://docs.google.com/presentation/d/1lBKVrYzm9JEYuw-gIEsrcePSK0jL1Boe


Export total investment to csv

Currently only the total depreciation costs of technologies can be viewed for all stakeholders. For discussions about financial constructions also the total investment is relevant.
Proposal
I don't think this should be shown in the standard interface. What I would like is the option to download the investment costs per stakeholder. Both the total investment as a split per technology are relevant.
Maybe this can be combined with #1565. Similar like the option to download information regarding the electricity network:

Download split of investment costs per stakeholder and technology
Download total investment costs per stakeholder
Download business case

notifying @AlexanderWirtz

Total investments are hard to reconstruct from ETM SA results, whereas they are relevant from an exploratory perspective: one of the most difficult questions neighborhoods and municipalities face is how to finance investments in residences. Many private owners lack the financial means or will find it hard to obtain a loan to invest in new equipment, insulation, battery packs, solar panels, etc.

also notifying @dennisschoenmakers

@antw or @grdw: Is implementing this doable?

In addition to watching the total investment a split of all the components of the business case would be useful for proper analysis and comparison of the scenario.

If payments of one stakeholder to another consists of multiple components (like gas and electricity from customer to supplier) making the split of those components visible.
Like mentioned above, the split of depreciation and O&M costs per technology and the total investment per technology.

This does not have to be visible in the standard interface but can be implemented as an export.
@antw when you answer my questions regarding business cases it seems that such a split is already available, but not visible for users.


Drone distribution maybe fix for #144

This might fix the problem in #144

It didn't fix but it didn't crash, you think this is better? If yes, merge, if not, close

i will change this to only include the clean up, and remove the additional checks i added


Adding icons to login and signup page.

I want to add icons to login and signup page.
I am GSSOC'24 Contributor.
I want to work on this issue.
Please assign me this issue.

I want to work on this issue. I'll add icons to login and signup page.
Please assign me this issue under GSSoC'24.

I want to contribute to this issue .I will try to solve this issue by adding icons to login and signup page.
Kindly assign me the task.


Why can I even press the 'Create Dataset' button when I haven't added any items?

This is what we achieve with Parsley, it will show the user what needs to be done. If someone presses the "Create dataset" button, he/she must think that its finished. In this case we will show the user what steps still need to be done.


Choosing a modular platform should update the default management port

Issue Type

[ ] Bug Report

Summary
When a platform such as 7500R is chosen, the default management port is still "Management1" which does not exists in modular switches. It would be nice that is automatically set to "Management0" (active supervisor).
Steps to reproduce

Chose platform 7500
Management port for all platforms are still using default port "Management1".

Expected results
Modular platforms to use Management0 instead.

Today we read the variable mgmt_interface which is set as an ansible group_var. You could override that on host_var level or for sub-groups, but that would be cumbersome to maintain.
A better solution would be with a new key under platform_settings.
platform_settings:
  - platforms: [<...>]
    <...>
    management_interface: < management interface name | default -> Management1 >

Example:
platform_settings:
  - platforms: [default]
    reload_delay:
      mlag: 300
      non_mlag: 330
    feature_support:
      queue_monitor_length_notify: false
  - platforms: [7280R3, 7280R2, 7280R]
    tcam_profile: vxlan-routing
    lag_hardware_only: true
    reload_delay:
      mlag: 780
      non_mlag: 1020
  - platforms: [7800R3, 7500R3, 7500R]
    tcam_profile: vxlan-routing
    lag_hardware_only: true
    management_interface: Management0
    reload_delay:
      mlag: 780
      non_mlag: 1020

Thanks, i was just wondering if we wanted to avoid that modular platforms had "Management1" set as the default port, since it's not a valid interface in that case, but yes this works fine too.
In my case i used the spines.yml file which are modular devices to override the management interface:
'''
type: spine
mgmt_interface: Management0
logging:
source_interface: Management0
vrfs:
MGMT:
source_interface: Management0
hosts:
- <IP_ADDRESS>
snmp_server:
local_interfaces:
Management0:
vrf: MGMT
'''
I noticed that for some services like ntp, the source interface it's automatically changed to Management0 when the override the management interface. But we still need to set it up for the logging or the snmp-server too.
thanks

Just to be clear, i agree the best option is to set this up at the platform level like in your example. But we might need some additional config like this to set the right interface as source for some services then.


Update POM to use Storm 0.10

Also match kryo version to the one from storm-core:0.10.0

update minor


Please bundle LICENSE file to the published jar artifacts

org.jetbrains.lets-plot:plot-config-portable-jvm:2.2.0 says it is MIT-licensed, however,

It references an invalid license: https://opensource.org/licenses/MIT. The thing is there's no generic text for MIT license, and the actual uses of MIT always customize copyright owner and copyright year, so all "MIT licenses" are different.

License text might vary over time (e.g. copyright owners might vary), so the ones who bundle MIT-licensed software need to carefully follow the exact license text for the particular version. For instance, if Apache JMeter bundles lets-plot, then MIT license requires that copyright notice shall be included in all copies or substantial portions of the Software. In other words, it requires to include the copy of the license with the appropriate copyright notice.

I would suggest including the license text as META-INF/LICENSE so the ones who consume (and redistribute) the jar know the license for the given artifact.
Here is the list of the artifacts without a corresponding license file:

org.jetbrains.lets-plot:lets-plot-kotlin-jvm:3.1.0
org.jetbrains.lets-plot:lets-plot-common:2.2.0
org.jetbrains.lets-plot:plot-config-portable-jvm:2.2.0
org.jetbrains.lets-plot:plot-builder-portable-jvm:2.2.0
org.jetbrains.lets-plot:plot-base-portable-jvm:2.2.0
org.jetbrains.lets-plot:plot-common-portable-jvm:2.2.0
org.jetbrains.lets-plot:vis-svg-portable-jvm:2.2.0
org.jetbrains.lets-plot:base-portable-jvm:2.2.0

#490

Hi @vlsi,
The LICENSE file is now added to all jars. Please, check out the latest lets-plot v2.2.1 and lets-plot-kotlin v3.1.1.

Thanks, 2.2.1 and 3.1.1 include the licenses indeed.


remove API links from WCMP2 metadata

Given the API (as an optional component) will be access controlled by default, remove any API links from WCMP2 generation.

also applies to passthrough without API treatment of data

need to ensure this is also in the discovery metadata editor


CLI login command incorrectly handles server URL

Description
The Harbor CLI tool's login command does not correctly handle the specified server URL, resulting in various errors and failed login attempts.
I attached video for the clear Explanation.
https://github.com/goharbor/harbor-cli/assets/89722848/92dc7a72-78dd-4d48-b1b7-c4086861170f
it should follow the schema as discussed here: #38

Can I work on this @Vad1mo

Hey @bupd FYI this issue has already an associated PR #51 which is solving this issue.

Yeah, I looked into #51 and have some recommendations for solving the issue let's colloborate and solve this.

@bupd is this issue still relevant?

closing #68 as completed via  #134


vscode crashes when starting up at ubuntu 20.04

The vscode was installed by apt. And it could be open for a few seconds, then it crashes automatically.
I tried to figure it out with the code --verbose command. It shows
[67802:0311/205929.505928:INFO:CONSOLE(626)] "%cTRACE color: #888 [File Watcher (node.js)] [CHANGED] /home/chou/.config/Code/logs/20210311T205927/telemetry.log", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (626)
terminate called after throwing an instance of 'char const*'
/dev/fd/3: No such file or directory
Server response:
[67849:0311/205929.809879:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104)

The last line might be caused by the ssh-extension, so I have removed it manually from ~/.vscode/extensions.
But the problem still exists, I've also tried with the --disable-extension flag, but nothing changed.
The only way I can enter vscode now is by sudo code --usr-data-dir command.
And here's the last few lines of exthost.log file:
[2021-03-11 22:07:54.814] [exthost] [debug] ProxyResolver#resolveProxy cached https://dc.services.visualstudio.com/api/profiles/AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217/appId DIRECT
Error: Error for stack trace
	at Pe (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:96:3)
	at ProxyAgent.addRequest (/usr/share/code/resources/app/node_modules.asar/vscode-proxy-agent/index.js:73:16)
	at new ClientRequest (_http_client.js:296:16)
	at Object.request (https.js:314:10)
	at Object.<anonymous> (/usr/share/code/resources/app/node_modules.asar/agent-base/patch-core.js:23:20)
	at Object.<anonymous> (/usr/share/code/resources/app/node_modules.asar/https-proxy-agent/node_modules/agent-base/patch-core.js:25:22)
	at /usr/share/code/resources/app/node_modules.asar/socks-proxy-agent/node_modules/agent-base/patch-core.js:23:20
	at Object.U [as request] (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:96:4165)
	at Function.e.makeRequest (/usr/share/code/resources/app/extensions/github-authentication/dist/extension.js:1:7505)
	at Timeout.s [as _onTimeout] (/usr/share/code/resources/app/extensions/github-authentication/dist/extension.js:1:17133)
	at listOnTimeout (internal/timers.js:549:17)
	at processTimers (internal/timers.js:492:7)
[2021-03-11 22:07:55.351] [exthost] [info] extension host terminating: parent process 82934 does not exist anymore: kill ESRCH (code: ESRCH) (errno: ESRCH)
[2021-03-11 22:07:56.368] [exthost] [info] exiting with code 0

I wonder what would cause the problem, please help...

Remove nodejs and vscode completely, after an apt autoremove and make an update, reinstall and nodejs and vscode and post the result.

Sure. I have done the things above and the --verbose tells
[main 2021-03-11T15:09:21.721Z] menubarService#updateMenubar 1
terminate called after throwing an instance of 'char const*'
/dev/fd/3: No such file or directory
Server response:

and exthost.log tells
[2021-03-11 23:09:21.723] [exthost] [debug] ProxyResolver#resolveProxy cached https://dc.services.visualstudio.com/api/profiles/AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217/appId DIRECT
Error: Error for stack trace
	at Pe (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:96:3)
	at ProxyAgent.addRequest (/usr/share/code/resources/app/node_modules.asar/vscode-proxy-agent/index.js:73:16)
	at new ClientRequest (_http_client.js:296:16)
	at Object.request (https.js:314:10)
	at Object.<anonymous> (/usr/share/code/resources/app/node_modules.asar/agent-base/patch-core.js:23:20)
	at Object.<anonymous> (/usr/share/code/resources/app/node_modules.asar/https-proxy-agent/node_modules/agent-base/patch-core.js:25:22)
	at /usr/share/code/resources/app/node_modules.asar/socks-proxy-agent/node_modules/agent-base/patch-core.js:23:20
	at Object.U [as request] (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:96:4165)
	at Function.e.makeRequest (/usr/share/code/resources/app/extensions/github-authentication/dist/extension.js:1:7505)
	at Timeout.s [as _onTimeout] (/usr/share/code/resources/app/extensions/github-authentication/dist/extension.js:1:17133)
	at listOnTimeout (internal/timers.js:549:17)
	at processTimers (internal/timers.js:492:7)
[2021-03-11 23:09:22.314] [exthost] [info] extension host terminating: parent process 92195 does not exist anymore: kill ESRCH (code: ESRCH) (errno: ESRCH)
[2021-03-11 23:09:23.330] [exthost] [info] exiting with code 0

It was mostly the same at the beginning.

The problem keep happening. But if I change to the insiders version, all the functionalities works fine, FYI

I have the same problem on Ubuntu 20.10.  I don't think it's related specifically to vs-code, though.  It seems as though this crash is a side effect.
I am able to run code-insiders just fine on this machine, and I can run code or code-insiders on another computer (same operating system), using the same configurations.  I can even create a new user account on this computer, log into it and code works fine.  Log back into my normal user account, and code crashes with this exact error.
I have tried purging it, removing all the config files, wiping out nodejs, everything I can think of. I finally reinstalled using snap instead of the apt repository and it works.  It must be something in the environment of my user account, but I can't seem to figure out what.
It's especially bizarre because it started happening randomly... went to bed one night and it was fine, woke up the next morning and it wouldn't start.  Thought maybe it had to do with some automatic library updates causing conflicts, but you would think that would effect the other user account, too.
I wonder if this is more of an electron issue... I'm just not sure how to proceed with troubleshooting that.

Same here.
I have removed vscode, all configuration directories, and reinstalled and the issue persists. I too have only had it work via snap.
--verbose output here
OS is Manjaro Linux 20.2.1 running KDE Plasma 5.21.2

This happened to me also, and I think the problem is that I first installed the snap version, then removed it and installed the deb version. Now the deb version doesn't work. Looks like the snap installation messes with something, but I can't find where.

Similar fix for me. I've used the snap version for a few weeks and wanted to switch to the .deb version because of issues with keyboard shortcuts because of the input method (see this issue).
Upon starting the app, it died after a few seconds every time with no visible error message. Even with --disable-extensions and a fresh --user-data-dir it crashed all the same.
I saw the following stack trace:
Error: Error for stack trace
        at Pe (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:96:3)
        at ProxyAgent.addRequest (/usr/share/code/resources/app/node_modules.asar/vscode-proxy-agent/index.js:73:16)
        at new ClientRequest (_http_client.js:296:16)
        at Object.request (https.js:314:10)
        at Object.<anonymous> (/usr/share/code/resources/app/node_modules.asar/agent-base/patch-core.js:23:20)
        at Object.<anonymous> (/usr/share/code/resources/app/node_modules.asar/https-proxy-agent/node_modules/agent-base/patch-core.js:25:22)
        at /usr/share/code/resources/app/node_modules.asar/socks-proxy-agent/node_modules/agent-base/patch-core.js:23:20
        at Object.U [as request] (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:96:4165)
        at Function.e.makeRequest (/usr/share/code/resources/app/extensions/github-authentication/dist/extension.js:1:7505)
        at Timeout.s [as _onTimeout] (/usr/share/code/resources/app/extensions/github-authentication/dist/extension.js:1:17133)
        at listOnTimeout (internal/timers.js:549:17)
        at processTimers (internal/timers.js:492:7)

Thanks to @dac73's hint above, I opened Passwords and Keys (keyring manager app on Ubuntu 20.04) and searched for "code", and found a Login entry vscodevscode.github-authentication/github.auth (probably because I authed there in order to use the Live Share extension). Removed it and now it works (also after re-authing with GitHub)!

@RMacfarlane it seems saving an auth password in the snap and then using the deb will trigger a crash.

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


Add HTTP Bindings

HTTP is a popular format for async messaging (webooks).
We should provide

classes for HTTP bindings,
documentation on how to use HTTP bindings

https://github.com/asyncapi/bindings/tree/master/http
Bindings are currently usable by creating a filter which adds the binding.
e.g.
services.AddAsyncApiSchemaGeneration(options =>
{
    options.ChannelItemFilters.Add(new MyAmqpChannelFilter());
}

class MyAmqpChannelFilter : IChannelItemFilter
{
    public void Apply(ChannelItem channelItem, ChannelItemFilterContext context)
    {
        channelItem.Bindings.Amqp = new AmqpChannelBinding
        {
            Is = AmqpChannelBindingIs.RoutingKey,
            Exchange = new AmqpChannelBindingExchange
            {
                Name = "streetlights",
                Type = "topic",
            }
        };
    }
}

I have had a bit of a look at this and would like to have a go at doing this for hacktoberfest.

Sorry I have lots of questions as I am unsure of how I am supposed to test that I have implemented the HTTP bindings currently. I don't know whether I have missed something fundamental in the documentation is some of the stuff just hasn't been implemented yet.
I'm unclear of How you want to use the HTTP bindings? is it like the filters above (there currently isn't a http channel binding in the async API documents)? for example:
in the startup:
 options.OperationFilters.Add(new HttpOperationFilter());
public class HttpOperationFilter : OperationFilter
    {
        public void Apply(Operation operation, OperationFilterContext context)
        {
            operation.Bindings = new Dictionary<string, OperationBindings>() {
                {
                    "foo", new OperationBindings {
                        Http = new HttpOperationBinding {
                            Type = "foo",
                            Method = "foo",
                            Query = "foo",
                            BindingVersion = "foo"
                            }
                        }
                    }
             };
        }
    }

currently there only seems to be a filter for channel bindings, operations, and documents?  do you want the message binding to be used in the same way?
Also for the Message binding, I can't seem to see how you use them in the system? do I need to add in an apply filter like the PublishOperation and Channel attributes in the Document generation.cs?
how do you want the data to be displayed when you do the call?  an example is given below?
         "test": {
           "http": {
             "type": "foo",
             "method": "foo",
             "query": "foo",
             "bindingVersion": "foo"
           }
         }
       },

I don't know whether I have missed something fundamental in the documentation or some of the stuff just hasn't been implemented yet.

Definitely the latter - the library was built first to suit my (rather narrow) needs, and I'm now trying to expand it to be more fully-featured.
You're on the right track, adding bindings is currently only supported via filters. So adding an OperationBinding would be done via an OperationFilter.
If you look through the different *Bindings implementations (MessageBindings, ChannelBindings, OperationBindings) they are currently all different... I think it would be best to bring them in line with the ChannelBindings implementation like so:
public class ChannelItem
{
    ...

    [JsonPropertyName("bindings")]
    public ChannelBindings Bindings { get; set; }
}

public class ChannelBindings
{
    [JsonPropertyName("amqp")]
    public AmqpChannelBinding Amqp { get; set; }
}

For example, OperationBindings should be like:
public class Operation
{
    ...

    // Remove this current implementation
    // [JsonPropertyName("bindings")]
    // public IDictionary<string, OperationBindings> Bindings { get; set; } = new Dictionary<string, OperationBindings>();

    // Add this new implementation
    [JsonPropertyName("bindings")]
    public OperationBindings Bindings { get; set; }
}

public class OperationBindings
{
    [JsonPropertyName("amqp")]
    public AmqpOperationBinding Amqp { get; set; }

    [JsonPropertyName("http")]
    public HttpOperationBinding Http { get; set; }
}

As for the rendered output, it should match the YAML in the example documentation
channels:
  /employees:
    subscribe:
      bindings:
        http:
          type: request
          method: GET
          query:
            type: object
            required:
              - companyId
            properties:
              companyId:
                type: number
                minimum: 1
                description: The Id of the company.
            additionalProperties: false
          bindingVersion: '0.1.0'

But in JSON format like:
{
  "channels": {
    "/employees": {
      "subscribe": {
        "bindings": {
          "http": {
            "type": "request",
            "method": "GET",
            "query": {
              "type": "object",
              "required": [
                "companyId"
              ],
              "properties": {
                "companyId": {
                  "type": "number",
                  "minimum": 1,
                  "description": "The Id of the company."
                }
              },
              "additionalProperties": false
            },
            "bindingVersion": "0.1.0"
          }
        }
      }
    }
  }
}

@tehmantra Thanks for getting back to me, I've had a go and there is a pr in for it, let me know if there are any changes you want made etc.

Looks good, thanks!

Fixed in #57


Missing return in a function expected to return 'Bool'

Upgraded to Swift 5 and build fails on ValidationResult.swift - isValid does not return a Bool
public enum ValidationResult {

    case valid

    case invalid([ValidationError])

    public var isValid: Bool {

        self == .valid
    }
}

Do you have plans to make a new release that will include this fix soon? Latest version still has this problem

Done 3.2.1

Thanks! I just noticed that part of the same commit that introduced this bug, merge methods on ValidationResult were removed. Was this intentional? if so, what is the right way of merging multiple results now?

Thanks! I just noticed that part of the same commit that introduced this bug, merge methods on ValidationResult were removed. Was this intentional? if so, what is the right way of merging multiple results now?

Is this question solved?


bound dates suddenly not working

Hello:
i tried the last example today and it does not work anymore.It returned 0 tweets.  Everything was fine yesterday so do you know what the problem is?
Thank you

Experiencing the same issue.

Humm, it is weird @tangjienan, maybe you get a temporary empty response from twitter, are you still facing this problem? and you @chriskao?

Hi, @Jefferson-Henrique . I also have the same problem. The project was working fine the other day and suddenly did not work anymore. I hope you can fix this issue. Thank you very much.

It worked again today!
On Mon, May 16, 2016 at 4:13 PM, Jefferson Henrique <
<EMAIL_ADDRESS>wrote:

Humm, it is weird @tangjienan https://github.com/tangjienan, maybe you
get a temporary empty response from twitter, are you still facing this
problem? and you @chriskao https://github.com/chriskao?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Jefferson-Henrique/GetOldTweets-python/issues/8#issuecomment-219575996

--
Stanford University Class of 2014
Symbolic Systems / Human Computer Interaction
My Site http://www.yuchunkao.com | Blog
http://calligraphydance.wordpress.com/ | LinkedIn
http://www.linkedin.com/pub/christina-kao/2a/9b/668 |<PHONE_NUMBER>

@chriskao really? I still could not get it to work. Did you change anything?

No I didn't, not sure what made it work again.
On Thu, May 19, 2016 at 9:11 PM, APUnatto<EMAIL_ADDRESS>wrote:

@chriskao https://github.com/chriskao really? I still could not get it
to work. Did you change anything?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Jefferson-Henrique/GetOldTweets-python/issues/8#issuecomment-220513076

--
Stanford University Class of 2014
Symbolic Systems / Human Computer Interaction
My Site http://www.yuchunkao.com | Blog
http://calligraphydance.wordpress.com/ | LinkedIn
http://www.linkedin.com/pub/christina-kao/2a/9b/668 |<PHONE_NUMBER>

Did you run the Main.py? Which tool did you use to run it? Thank you.

I've only been using the command line queries.
On Thu, May 19, 2016 at 9:17 PM, APUnatto<EMAIL_ADDRESS>wrote:

Did you run the Main.py? Which tool did you use to run it? Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Jefferson-Henrique/GetOldTweets-python/issues/8#issuecomment-220513604

--
Stanford University Class of 2014
Symbolic Systems / Human Computer Interaction
My Site http://www.yuchunkao.com | Blog
http://calligraphydance.wordpress.com/ | LinkedIn
http://www.linkedin.com/pub/christina-kao/2a/9b/668 |<PHONE_NUMBER>

Hi,
Great work, thank you for sharing.
But i am having the same problem the code was working till yesterday and now its not returning me anything, whenever i run the command line query it shows something like
searching......
Done. Output file generated "output_got.csv"
with no tweets in it. my query is something like.
"python Exporter.py --since 2016-01-01 --until 2016-05-20 --querysearch 'MERS-CoV'"
Am i doing something wrong or is it something else?
Thank you

Hi,
I'm experiencing this same problem. It worked perfectly yesterday, but when I ran the same code today, it wouldn't fetch tweets with a set time range. Everything else is fine. What do you think could be the possible reason to this? Thanks! @Jefferson-Henrique

Hello @mali23  and @bcn1161, did you test it with the last version (the one that logs a message every 100 tweets)? Besides that when you face this problem can you check what Twitter shows after you use Advanced Search? Maybe there it isn't showing good as well. Thanks for your replies, I have discovered some issues because of you all on this thread.

It really weird, I don't know yet what causes this inconsistent behavior because when I am testing it works hahah

It's working now! @Jefferson-Henrique I have no idea why...

Hai @Jefferson-Henrique , thanks for your great code, its really help me.
But yes, i'm facing the same problems, it worked perfectly when the early time i tried, i got the tweets from 2013, but when I ran the same code with a same set time range today, i got nothin. But if i change the range time from just last week or a few days from now (since : few days ago, until :now), it got me the tweets.
Is there any way twitter know and blocked me to access their old tweets again?
or there might be any answer for this?
Thanks lot!

Humm thanks for your reply @novikesumaningtyas, can you test again? there is a new apprach now to handle twitter requests, lets see if this will help you.

Hai @Jefferson-Henrique thanks for your reply and update, yes it works after i pull the new one. Wonderful work!

I'm having the same problem.  I got 10000 tweets from 2012 yesterday. But, it returns 0 tweets just the morning after.

Hello @shadigkh, can you get the last version and test it again?

Hello  @Jefferson-Henrique, sorry for such a dumb question. I don't know much about Git. So, what do you mean by the last version? The "got" package hasn't been updated since 19 days and that's the one I'm using right now.

That is ok @shadigkh, please download it again, it is from 19 days ago because I have accepted an old pull request, but in fact I did this yesterday, so this update can help you.

Thank you  @Jefferson-Henrique for the details. I downloaded and used the new version. But, I don't get any results when I use dates. It works perfectly without the dates though.

hai @shadigkh , just want to share my experience when i used the previous package, i tried to change my internet source, like i always use home wifi then change my internet to another wifi or from mobile phone provider, i can get old tweet again from 2013, idk why maybe it got somthin with ISP

Thank you @novikesumaningtyas. As you suggested, I'm using a different ISP now and it's working!

I'm having this issue too. Is there any way to fix it other than switching to a different ISP? I noticed that it worked on my school campus but not at home...


Please add a breakpoint window

VSCode Version:1.15.1
OS Version:win10

Steps to Reproduce:

Please add a breakpoint window, thanks.

Reproduces without extensions: Yes/No

@hubluesky What do you mean? Your breakpoints are shown in the bottom left hand corner in the 'Debug Side Bar'. You can take a look at some screenshots here.


Code Lens Run Test/Debug Test options don't show up in NUnit project

Issue Description
Code Lens doesn't appear
Steps to Reproduce

Open VSCode
See missing options

Expected Behavior
"Run Test"/"Debug Test" options show up in NUnit test files
Actual Behavior
"Run Test"/"Debug Test" options do not show up.
Logs
OmniSharp log
I don't want to post the log since it contains company-specific repo information, but I note that the project I'm looking to run ProjectName.UnitTests doesn't show up in the Omnisharp log at all. The one that is working correctly ProjectName.ApiTests, however, does.
C# log
Getting latest OmniSharp version information
Downloading package 'Latest OmniSharp Version Information' (1 KB).................... Done!

Environment information
VSCode version: 1.44.2
C# Extension: 1.21.17
Mono Information
        OmniSharp using built-in mono
Dotnet Information
.NET Core SDK (reflecting any global.json):
 Version:   3.1.102
 Commit:    573d158fea
Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.14
OS Platform: Darwin
RID:         osx.10.14-x64
Base Path:   /usr/local/share/dotnet/sdk/3.1.102/
Host (useful for support):
Version: 3.1.2
Commit:  916b5cba26
.NET Core SDKs installed:
2.2.301 [/usr/local/share/dotnet/sdk]
3.0.102 [/usr/local/share/dotnet/sdk]
3.1.102 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.2.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.2.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.2.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

csharp
ms-dotnettools
1.21.17

mssql
ms-mssql
1.9.0

vscode-docker
ms-azuretools
1.1.0

vscode-nuget-package-manager
jmrog
1.1.6

I note that the project I'm looking to run ProjectName.UnitTests doesn't show up in the Omnisharp log at all.

@nguillermin If your .sln file includes your UnitTests project, but you aren't seeing it loaded in OmniSharp then a redacted OmniSharp log would be necessary to troubleshoot your issue.

I note that the project I'm looking to run ProjectName.UnitTests doesn't show up in the Omnisharp log at all.

@nguillermin If your .sln file includes your UnitTests project, but you aren't seeing it loaded in OmniSharp then a redacted OmniSharp log would be necessary to troubleshoot your issue.

I guess I don't understand how VSCode works because I've never dealt with an .sln file while using VSCode. I only just "Add folder to workspace".
Incidentally, I just closed my workspace and reloaded the project folder and now its displaying the 'Run Test'/'Debug Test' options. Is there a way to have multiple projects active or should I just have a separate workspace for each?

@nguillermin I see now. There is a mismatch between the way VS Code workspaces work and the way C# manages a collection of projects. The C# extension only works from a single VS Code workspace so adding additional won't give you the behavior you expect. We have plans to design a better experience around this.
For C# you would typically have a solution file which you can manage with the dotnet cli. Once you've created your solution file and added the project files you want to be a part of your workspace, open the folder containing the .sln file in VS Code and it will be available in the project selector.


juju_machine should allow both placement and constraints

Description
Following the PR #378 of the placement addition in 0.11.0, and came to test this today, but have come to another issue. We should be able to appliy a constraint and a placement, but the provider does not allow us to do this
Urgency
Blocker for our release
Terraform Juju Provider version
0.12.0
Terraform version
1.8.2
Terraform Configuration(s)
resource "juju_machine" "ceph-mon-1" {
  model = juju_model.cpe-focal.name
  placement = join(":",["lxd",juju_machine.all_machines["101"].machine_id])
  constraints = "spaces=oam,ceph-access,ceph-replica"
}

Reproduce / Test
❱❱❱ juju add-machine lxd:34 --constraints="spaces=oam,ceph-access,ceph-replica"
created container 34/lxd/8

The above extract from terraform gives me the following error

╷
│ Error: Invalid Attribute Combination
│
│   with juju_machine.ceph-mon-1,
│   on 05-ceph.tf line 35, in resource "juju_machine" "ceph-mon-1":
│   35:   placement = join(":",["lxd",juju_machine.all_machines["101"].machine_id])
│
│ Attribute "constraints" cannot be specified when "placement" is specified

### Debug/Panic Output

```shell
n/a

Notes & References
n/a

@arif-ali
In your example juju will attempt to use those spaces for the container if they are available on the host machine, however will continue if not and use the spaces available to the host machine as a fallback. For spaces, juju does not treat space constraints exactly the same as when creating a machine.
The example below is a bit more straight forward:
resource "juju_machine" "ceph-mon-1" {
  model = juju_model.cpe-focal.name
  placement = join(":",["lxd",juju_machine.all_machines["101"].machine_id])
  constraints = "mem=10G"
}

If I don't add any constraints, then the lxd fails to deploy, and get the following from juju status --format json
      "7/lxd/0": {
        "juju-status": {
          "current": "down",
          "message": "agent is not communicating with the server",
          "since": "02 May 2024 20:19:34+01:00"
        },
        "instance-id": "pending",
        "machine-status": {
          "current": "provisioning error",
          "message": "no obvious space for container \"7/lxd/0\", host machine has spaces: \"admin\", \"ceph-access\", \"ceph-replica\", \"external\", \"internal\", \"oam\", \"overlay\"",
          "since": "02 May 2024 20:19:34+01:00"
        },
        "modification-status": {
          "current": "idle",
          "since": "02 May 2024 19:59:35+01:00"
        },
        "series": "focal"
      },

adding the constraint causes the original issue

@arif-ali
In your example juju will attempt to use those spaces for the container if they are available on the host machine, however will continue if not and use the spaces available to the host machine as a fallback. For spaces, juju does not treat space constraints exactly the same as when creating a machine.
The example below is a bit more straight forward:
resource "juju_machine" "ceph-mon-1" {
  model = juju_model.cpe-focal.name
  placement = join(":",["lxd",juju_machine.all_machines["101"].machine_id])
  constraints = "mem=10G"
}

Even with constraints="mem=10G" doesn't work unfortunately
 resource "juju_machine" "ceph-mon-1" {
  model = juju_model.cpe-focal.name
  placement = join(":",["lxd",juju_machine.all_machines["101"].machine_id])
#  constraints = "spaces=oam,ceph-access,ceph-replica"
  constraints = "mem=10G"
}

╷
│ Error: Invalid Attribute Combination
│
│   with juju_machine.ceph-mon-1,
│   on 05-ceph.tf line 35, in resource "juju_machine" "ceph-mon-1":
│   35:   placement = join(":",["lxd",juju_machine.all_machines["101"].machine_id])
│
│ Attribute "constraints" cannot be specified when "placement" is specified
╵

I removed the line, compiled the provider, and used it locally, and now for me it works as expected. I have managed to deploy lxd/kvm machines successfully and attach them to applications similar to what I was originally expecting

@arif-ali sounds like the placement conflicts can be relaxed, can you open a PR with your change and qa steps so we can take a closer look at it? Thanks!

@cderici, @arif-ali - I'm working on this bug already. It's in the milestone for 0.13.0. It also has a jira card.

@cderici, @arif-ali - I'm working on this bug already. It's in the milestone for 0.13.0. It also has a jira card.

Sorry that's my mistake, I didn't realize @hmlanigan was on this, you may safely ignore my message 👍


LinePointer shows overshooted after teleport

Overview
The straight LinePointer does overshoot for one frame when reappearing after the teleport arch hides
Expected Behavior
LinePointer is correct
Actual Behavior
LinePointer overshoots
Steps to reproduce

show the teleport arch
move the controller a little
stop teleport

notice how the overshoot reliably lies in extended direction of the controller movement
Unity Editor Version
2018.3.7f1
Mixed Reality Toolkit Release Version
mrtk_development

Could please we get some screenshots to compare the differences?

Sure, here you go:

shows the initiation of the Teleport (notice the cup is in view)
shows the release of the teleport a little to the left of the initiating position (cup not visible anymore)
The straight beam is clearly off, as if the whole controller motion was extrapolated in that direction. Start position, endposition and therefore the angle of the beam relative to the controller orientation all look like that
is the frame after that where the controller is totally fine again.

I guess it's a race condition of visibility and positioning in Update or something. Funny though, that the beam is updated to a position not encountered before.

@StephenHodgson this problem does not happen when BaseMixedRealityLineDataProvider is configured to use the transform provided. The default case is using local matrix, which is set too late and wrong for some reason.

Ok I think I know what's happening. The matrix is Updated in OnEnable, Update and OnValidate. The Motion Controller is moved during Update of the MixedRealityToolkit. This means we have a race condition here. The controller could be repositioned after the matrix has been updated. Since the LineRenderer updates after the two and uses the matrix it's an overshooted version.

So currenty the thing is the following:
The Controller, it's matrix and the LineRenderer all had independent Updates, hence race conditions (I fixed the LineRenderer to update in LateUpdate). Ordering Controller and matrix update is the currently left task here.

I suspect that for this to be bullet-proof the matrix will need to be refreshed during Update AND during LateUpdate, and script execution time will have to be set to take place very early.

Great investigation @Alexees.

@Railboy I disagree. The matrix should be updated once after the motion controller has moved during the frame. The movement is initially realised by the MixedRealityToolkit and it's services (not sure which one right now).
I think positioning and matrix saving should be done in one go. The matrix is currently saved in OnValidate, Update and OnEnable, which already looks kind of dumb 😛

@StephenHodgson @Railboy  I have the situation layed out and need a hint of how to solve it:

MixedRealityInputSystem Update: updates pointers and motion controller visuals via class ControllerPoseSynchronizer : InputSystemGlobalListener
BaseMixedRealityLineRenderer LateUpdate: updates the LineRenderer based on a BaseMixedRealityLineDataProvider
BaseMixedRealityLineDataProvider Update: updates its internal matrix

to resolve the Update issue between InputSystem and DataProvider I wanted to derive the DataProvider from InputSystemGlobalListener as well, so it would get updated the same as the visualizers and pointers. Unfortunately the InputSystemGlobalListener in is MRTK.Services namespace and LineRenderers and DataProviders are directly part of the MRTK namespace, hence wrong dependency direction. This would solve the problem the easiest.
Since all relevant components are on the same gameobject another solution could be to introduce a cross reference from BaseMixedRealityLineDataProvider to BaseControllerPointer, to get an update whenever it updates.
What do you think?

Closing myself as #3612 is also closed and it doesn't look like this problem is still there


Events for skipping commits in codeunit 31354 "Issue Payment Order YesNo CZB" and codeunit 31355 "Issue Payment Order Print CZB"

Describe the request
Please, add events for skipping Commit() as bellow. Thanks!!
Daniel
codeunit 31354 "Issue Payment Order YesNo CZB"
local procedure Code()
var
    IssPaymentOrderHeaderCZB: Record "Iss. Payment Order Header CZB";
    Selection: Integer;
begin
    Selection := StrMenu(IssueQst, 1);
    if Selection = 0 then
        exit;

    Codeunit.Run(Codeunit::"Issue Payment Order CZB", PaymentOrderHeaderCZB);
    // new code >>
    OnBeforeCommit(SkipCommit);
    if not SkipCommit then
    // new code <<
    Commit();
    Message(IssuedSuccesfullyMsg);

    IssPaymentOrderHeaderCZB.Get(PaymentOrderHeaderCZB."Last Issuing No.");
    IssPaymentOrderHeaderCZB.SetRecFilter();
    if Selection = 2 then
        IssPaymentOrderHeaderCZB.ExportPaymentOrder();
    IssPaymentOrderHeaderCZB.PrintRecords(false);
end;

codeunit 31355 "Issue Payment Order Print CZB"
local procedure Code()
var
    IssPaymentOrderHeaderCZB: Record "Iss. Payment Order Header CZB";
    Selection: Integer;
begin
    Selection := StrMenu(IssueQst, 1);
    if Selection = 0 then
        exit;

    Codeunit.Run(Codeunit::"Issue Payment Order CZB", PaymentOrderHeaderCZB);
    // new code >>
    OnBeforeCommit(SkipCommit);
    if not SkipCommit then
    // new code <<
    Commit();
    Message(IssuedSuccesfullyMsg);

    IssPaymentOrderHeaderCZB.Get(PaymentOrderHeaderCZB."Last Issuing No.");
    IssPaymentOrderHeaderCZB.SetRecFilter();
    if Selection = 2 then
        IssPaymentOrderHeaderCZB.ExportPaymentOrder();
    IssPaymentOrderHeaderCZB.PrintRecords(false);
end;

Additional context
We need rooling back transaction if export codeunit throws error after Issuing Payment Order
Internal work item: AB#495802

Availability update: We will publish a fix for this issue in the next update for release 23.
Build ID to track: 15281.

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


How to integrate Libra RPC TestNet with PeatioCryptoExchange

❓ Questions and Help
I got some error integrating Libra TestNet with PeatioCryptoExchange
Please help me how I can integrate it with PeatioCryptoExchange
https://github.com/algobasket/PeatioCryptoExchange

Firstly, you need to create a library which will be interacting with the Libra network by gRPC.

Ok thanks, let me try
On Sun, Jun 23, 2019 at 7:32 PM Yehor Smoliakov<EMAIL_ADDRESS>wrote:

Firstly, you need to create a library which will be interacting with the
Libra network by gRPC.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/libra/libra/issues/159?email_source=notifications&email_token=AB7ENWMNIQPW5UXMSP47DRLP3567PA5CNFSM4HZ7OZA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYK7HZQ#issuecomment-504755174,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB7ENWJPJ3BKOHJMJR56NFTP3567PANCNFSM4HZ7OZAQ
.

--

@algobasket did you have any luck integrating with PeatioCryptoExchange?

@algobasket, I started on a library that uses the grpc interface to communicate with the Libra nodes here: https://github.com/perfectmak/libra-core.
There is still some work being done on it, but what features of the client do you require to integrate? perhaps I can prioritize that for you


 Mind you, if you are modding, please try testing your bug in a clean version of the engine instead, this ensures the bug is actually caused by the engine itself. Also, if you're using an older version of JSE, please try the latest action build in the Actions tab or the latest release build. The issue has probably been fixed since that version. Oh yeah, and also be sure to check the pinned 'JS Engine: Known Issues' issue, to double check if your issue hasn't already been found!
so

this bug of null pie
Command Prompt/Terminal/Crash logs (if existing)
PlayState.hx (Line 7644)
PlayState.hx (Line 5641)
PlayState.hx (Line 6447)
PlayState.hx (Line 5994)
openfl/events/EventDispatcher.hx (Line 426)
openfl/display/DisplayObject.hx (Line 1398)

Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/JordanSantiagoYT/FNF-PsychEngine-NoBotplayLag

> Crash Handler written by: sqirra-rng
The engine has saved a crash log inside the crash folder, If you're making a GitHub issue you might want to send that!

Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.
i thing i press 7 much times

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no. i just modding an song for my mod.
If you use 1.12.0 or earlier, did you have Optimized Chart Loading turned on?
None
Did you check for any similar issues to what you're reporting? Check, then come back here. If there is a similar issue, then do not report the issue, otherwise it will be marked as a duplicate.
Yes

and ye. its happens when i miss

i found a bug with miss rating. when i miss then game think i not miss and gives a health

duplicate of #393

duplicate of #393
ok BUT its issue from ranking

duplicate of #393
ok BUT its issue from ranking

yeah its the same issue, that’s why it’s called a duplicate

plus I already made a fix for it, so use that build instead


restore QtNDisplayButton

Description

This PR restore QtNDisplayButton, mark it as deprecated, and exposes QtStateButton for future use
Type of change

[x] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

@sofroniewn @goanpeca I add a requested change.
As napari documentation is whole in English then I think that such messages are for developers, not users, and should be in English.  But it could be discussed later and I do not want block this release.
Call me when a new RC release was created. I manually will trigger test to check if everything works for me on CI.

I just added a release note/ expanded deprecation note. I will merge when tests pass


Improved app/info to display nicely formatted json configurations

extend app/info to display the default JSON configurations with indentation
should display two columns (id, description) and after each line optionally the JSON configuration with or without indentation
app/info [--show-config-no-indent --show-config-indent]

chose the solution of exporting by default each configuration to its own file: simpler, no new parameters


Function, Deployment, Backups, logs, Settings are not available (disabled) self hosted docker

Describe the bug
new to this community, When I tried NHost with docker compose example,  Function, Deployment, Backups, logs, Settings are disabled.
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/nhost/nhost
cd nhost/examples/docker-compose
cp .env.example .env
docker-compose up -d

Expected behavior
menu should be enabled
Screenshots

Desktop (please complete the following information):

OS: Windows 11
Browser [Opera]
Version []

That functionality is provided by our cloud so it isn't available in self-hosted. You need to provide that functionality yourself.


How to use in a fragment

I would like to insert this material cab in a Fragment
MaterialCab cab = new MaterialCab(getActivity(), R.id.cab_stub) gives the error
required: AppCompatActivity,int
found: FragmentActivity,int
reason: actual argument FragmentActivity cannot be converted to AppCompatActivity by method invocation conversion
How can  I fix this ?

Cast getActivity() to the name of your Activity.


Refactoring

Just small refactoring. I will merge this soon since this is harmless.

Current coverage is 89.15%

Merging #5 into master will increase coverage by +7.76% as of 782f9f5

@@            master      #5   diff @@
======================================
  Files            3       3
  Stmts          172     166     -6
  Branches         0       0
  Methods          0       0
======================================
+ Hit            140     148     +8
  Partial          0       0
+ Missed          32      18    -14

Review entire Coverage Diff as of 782f9f5

Powered by Codecov. Updated on successful CI builds.


No mapping found for HTTP request with URI [/dialogs/formula/formula.html] in DispatcherServlet with name 'dispatcherServlet'

输入数学公式的时候，显示不出来，看了log貌似被spring拦截器拦截了，找不到对应的controller，冲突了。

have resolved this issue ,change all my action type to other except "html"


Add OpenEuler 22.03 support for toolchain and docker image

Description of PR
The PR support the OpenEuler 22.03, include building puppet and slaves docker env for compile and smoke test etc.
How was this patch tested?
I confirmed that some of components were successfully compiled on OpenEuler 22.03, including ZK, oozie, hive etc.
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (BIGTOP-3876)
[ ] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/

@guyuqi
The docker image verification has been done, including CentOS-7, Fedora-36, Ubuntu-18.04,Debain-11 and Openeuler-22.03.
1. Bigtop-puppet

CentOS-7

Fedora-36

Ubuntu-18.04

Debain-11

Openeuler-22.03

2. Bigtop-slaves

CentOS-7

Fedora-36

Ubuntu-18.04

Debain-11

Openeuler-22.03

@guyuqi
but failed to build the rocky image, the error log is:

@guyuqi but failed to build the rocky image, the error log is:

Rocky image: rockylinux-8
e.g. bigtop/slaves:3.2.0-rockylinux-8-aarch64

@guyuqi but failed to build the rocky image, the error log is:

Rocky image: rockylinux-8 e.g. bigtop/slaves:3.2.0-rockylinux-8-aarch64

rockylinux-8 puppet:

rockylinux-8 slaves:

@guyuqi
The the code of provisioner module has been removed on the branch of MacChen02:openEuler_dev: https://github.com/MacChen02/bigtop/tree/openEuler_dev
It will jump to error web page, when i remove the code from the PR.

@MacChen02
Please do not delete files in Provisioner , just revert the modification of Provisioner.

modify the source code.
git add , git commit and git push in your console (command line), please do not handle it by using the GitHub web UI.

@guyuqi
Created a new PR to replace this one for modify the provisioner module code
The new one: https://github.com/apache/bigtop/pull/1127

Duplicated to https://github.com/apache/bigtop/pull/1127


Chained jobs are not respecting delays

Laravel Version: 5.8.*
PHP Version: 7.3.4
Database Driver & Version: mysql Ver 8.0.15 for osx10.14 on x86_64 (Homebrew)

Description:
I am implementing server creation in Digital Ocean through my API. I currently have 5 steps, as described below:

Server Creation (Create a new docker image based droplet in Digital Ocean)
Server Authentication ('ssh-keyscan'. $ Droplet->networks[0]->ipAddress . '> ~ /.Ssh/known_hosts') - If I don't do this I can't connect to the droplet using envoy
Server Installation (Download a Docker image and install it)
First Login On Server (My docker image requires me to login first via API and change Password)
Login On Server (Login with the new Password to receive a token to use the other APIS)

In between some steps I would like to put some delay to avoid queue problems...
Here is an example:
CreateServer::withChain([
    (new AuthenticateServer($number))->delay(now()->addMinutes(2)),
    (new InstallServer($number))->delay(now()->addSeconds(10)),
    new FirstLoginOnServer($number),
    new LoginOnServer($number)
])->dispatch($number);

Results in:
[2019-08-06 23:08:58][680] Processing: App\Jobs\Whatsapp\Servers\CreateServer
[2019-08-06 23:08:59][680] Processed:  App\Jobs\Whatsapp\Servers\CreateServer
[2019-08-06 23:10:57][681] Processing: App\Jobs\Whatsapp\Servers\AuthenticateServer
[2019-08-06 23:11:00][681] Processed:  App\Jobs\Whatsapp\Servers\AuthenticateServer
[2019-08-06 23:11:00][682] Processing: App\Jobs\Whatsapp\Servers\InstallServer
**[2019-08-06 23:11:45][682] Processed:  App\Jobs\Whatsapp\Servers\InstallServer
**[2019-08-06 23:11:45][683] Processing: App\Jobs\Whatsapp\Servers\FirstLoginOnServer
[2019-08-06 23:11:45][684] Processing: App\Jobs\Whatsapp\Servers\FirstLoginOnServer
[2019-08-06 23:11:46][685] Processing: App\Jobs\Whatsapp\Servers\FirstLoginOnServer
[2019-08-06 23:11:46][686] Processing: App\Jobs\Whatsapp\Servers\FirstLoginOnServer
[2019-08-06 23:11:46][687] Processing: App\Jobs\Whatsapp\Servers\FirstLoginOnServer
[2019-08-06 23:11:46][688] Processing: App\Jobs\Whatsapp\Servers\FirstLoginOnServer
[2019-08-06 23:11:46][689] Processing: App\Jobs\Whatsapp\Servers\FirstLoginOnServer
[2019-08-06 23:11:46][690] Processing: App\Jobs\Whatsapp\Servers\FirstLoginOnServer
[2019-08-06 23:11:47][691] Processing: App\Jobs\Whatsapp\Servers\FirstLoginOnServer
[2019-08-06 23:11:47][692] Processing: App\Jobs\Whatsapp\Servers\FirstLoginOnServer
[2019-08-06 23:11:47][693] Processing: App\Jobs\Whatsapp\Servers\FirstLoginOnServer
[2019-08-06 23:11:48][693] Processed:  App\Jobs\Whatsapp\Servers\FirstLoginOnServer
[2019-08-06 23:11:48][694] Processing: App\Jobs\Whatsapp\Servers\LoginOnServer
[2019-08-06 23:11:49][694] Processed:  App\Jobs\Whatsapp\Servers\LoginOnServer

Look at the ** above.
The delay property is not respected because each job does not have an exact execution time, it can vary... I think the delay property should recognise the time from the previous job.
I was able to achieve the desired result with a sleep(10); inside App\Jobs\Whatsapp\Servers\FirstLoginOnServer...
Am I missing something?

@caiokawasaki Have you tried just passing the seconds to the delay method as an integer instead of now()->addSeconds(), when you do that you're giving it a timestamp which in the second job in the chain will have already passed when it's executed.
The now() in your case is getting called when the job is made not when it runs. I notice the docs doesn't give an example of this but it should work.

Please see the answer above, thanks.

@Shkeats tried with seconds and didn't work...


Automated Builds

We should have a way to create automated builds of the server when there have been updates. This way we don't have to manually build the server and upload it each time we create an update. This automated build process can also probably be leveraged for #18 to help with automated updates.

This is now completed. Everything should work and be auto-built once merged into master


feat: add ahjo_status to Django admin

Description :sparkles:
Add application's ahjo statuses to the Application view in Django admin
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:

Additional notes :spiral_notepad:

API branch is deployed to platta: https://helsinkilisa-pr2955.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr2955.dev.hel.ninja :rocket::rocket::rocket:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr2955.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-pr2955.dev.hel.ninja :laughing::tada::tada::tada:


Support language which need tokenizer (Chinese, Japanese .etc)

I think iepy need a common interface to embed a tokenizer to support language like Chinese, Japanese .etc.
There is a old ie project with gui named GATE, it contain a pre-trained model and dataset, maybe helpful
https://gate.ac.uk/sale/tao/splitch15.html#sec:misc-creole:language-plugins:chinese

Hello. The preprocessing pipeline can be customized to introduce a different tokenizer. See for instance:
https://github.com/awolfmann/PLN-2015/blob/practico4/information_extraction/resoluciones-unc/bin/preprocess.py

Hello @francolq ,
I have seen how to customise in docs:
    pipeline = PreProcessPipeline([
        CustomTokenizer(),
        CustomSentencer(),
        CustomLemmatizer(),
        CustomPOSTagger(),
        CustomNER(),
        CustomSegmenter(),
    ], docs)
    pipeline.process_everything()

Then I look into the code , preprocess.tokenizer.TokenizeSentencerRunner seems not be used in anywhere. And I found:

one pipeline may have multiple runner
one runner may have step or not

It a little hard to customise without knowing the input and output of each runner and step format and the runner api design principle. I would like to help to make iepy compatible with CJK language if anyone could provide the api principle to write the runners.  @machinalis @jmansilla

Sorry the delay respect this talk. Can I still help here @eromoe ?

@eromoe Right now, I want iepy to customize to Chinese, could you give me a hand ?

Sorry, I was just need the annotator and object binding of iepy, since it is not easy to integrate Chinese ,  I have already made my own now.

@eromoe All right. Thanks a lot. Now I was also  met with this trouble, I really need someone could help me.

@eromoe I am doing Chinese EMR information extraction ， can i use iepy to do entity relationship extraction ？


HDDS-10539. Replace GSON with Jackson in multitenancy code.

What changes were proposed in this pull request?
This update addresses compatibility concerns with Java 17 by transitioning from GSON to Jackson in the Multitenancy code. This change simplifies dependencies and ensures smooth operation across different Java versions.
Parent Jira Issue: HDDS-10538
This patch streamlines our Multitenancy implementation.
Affected Multitenancy Classes:
- GetUserInfoHandler.java
- RangerUserRequest.java
- ozone-secure-tenant.robot
- TenantAssignAdminHandler.java
- TenantCreateHandler.java
- TenantDeleteHandler.java
- TenantListHandler.java
- TenantListUsersHandler.java
- TenantRevokeAdminHandler.java
- TestOzoneTenantShell

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10539
How was this patch tested?
The existing UT's passed successfully.
And the forked CI passed successfully as well.

Thanks @ArafatKhan2198 for the patch, @smengcl for the review.


zvm plugin cannot work with zsh git plugin, and cannot source the .zshrc file.

General information

Basic examination
zvm plugin cannot work with zsh git plugin, and cannot source the .zshrc file.

[x] I have read through the README page
[x] I have the latest version of zsh-vi-mode
[ ] I have tested with another terminal program

Problem description
Everytime I source the .zshrc in my home dir, this ZVM plugin stop working properly and the cursor begin to flash. If I close the terminal and restart, it works fine. I cannot use both git and ZVM plugins the same time. It just doesn't work and the cursor flashing all   the time and I can not change to other mode.

Reproduction steps

install zsh and oh-my-zsh
install plugin zvm
install plugin git
source the .zshrc in home dir.

Expected behavior

The cursor is a thin block
Can change to  normal or visual mode using esc or v

The config related in my .zshrc is like this.
ZVM_INIT_MODE=sourcing
ZVM_LAZY_KEYBINDINGS=false
ZVM_LINE_INIT_MODE=$ZVM_MODE_INSERT
plugins=()
plugins+=(zsh-vi-mode)
plugins+=(z)
plugins+=(extract)
plugins+=(zsh-autosuggestions)
plugins+=(zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh

I had the same issue and solved it by loading zsh-vi-mode before the conflicting plugins

Hi @meicale
Thanks for your issue, and sorry for the late reply, currently I'm quite busy, I will research your issue when I am possible. Hope you have a good day! : )
Thanks and Regards


design: Voedger Type System

Types in application definition
Pains

Commands and Queries. Arguments and results of commands and queries may be arrays. Now: only ODoc document allowed.
Arrays in structs. Structure fields may be arrays. Now: only simple data types allowed.
Functions. Simple data types (and arrays) for functions in/out parameters. Now: only structs allowed.
User data types. User can declare custom data kinds, inherits from system or other user data kinds. Now: only system data kinds allowed.
Anonymous types. Some parts of structures definition can include unnamed user types (e.g. array[10] sys.float64). Now: all definitions must have names.

Solution
New type hierarchy, which will union data kinds and struct definitions.
Separate type declaration from type definition for anonymous types ability.
Concept
Definitions and types, relationships
erDiagram
    AppDef ||--|{  IType: has
    IType ||--||  "Kind()": has
    IType ||--||  "QName()": has

    "Kind()" ||..||  KindArray: "can return"
    "Kind()" ||..||  KindCDoc: "can return"
    "Kind()" ||..||  KindData: "can return"

    IType ||..||  IArray: "can be"
    IType ||..||  ICDoc: "can be"
    IType ||..||  IFunc: "can be"
    IType ||..||  IData: "can be"

    IArray ||--||  "MaxLen()": has
    IDoc ||--||  ICDoc: "can be"

    ICDoc ||--||  "Singleton()": has
    ICDoc ||--||  "RecordDefs() []QName": has

    IFunc ||--|{  "InParam": has
    IFunc ||--|{  "OutParam": has

    IData ||--||  "DataKind()": has

    InParam ||..||  Param: is
    OutParam ||..||  Param: is

    Param ||--||  "Name() string": has
    Param ||--||  "Logged() bool": has
    Param ||--||  "Type() IType": has

Types hierarchy
mindmap
  root (IType)
    )Simple types(
      Int32
      Int64
      Float32
      Float64
      Bytes
      String
      QName
      Bool
      RecordID
    Array
    )Complex types(
      Record
      Event
    )Structures(
      GDoc
        GRecord
      CDoc
        CRecord
      WDoc
        WRecord
      Object
        Element
      ODoc
        ORecord
    View
      Key
        PKey
        CCols
      Value

Solution 2. Integrate DataKind into new DefKind member

[ ] New DefKind_Data enumeration element

[ ] New IData interface inherits from IDef with members:

Kind() DataKind
Ancestor() IData. Ancestor data is nil for system definitions and not nil for user
Restricts() []IRestrict. System data has no restricts

[ ] New IDataBuilder interface with methods:

Restrict(...IRestrict). If some taken restrict defined in ancestor, then it overrides ancestor restrict

[ ] New system definitions for all simple data kinds must be added:

[ ] Int32() IData
[ ] String() IData
[ ] …
[ ] SysData(DataKind) IData

[ ] Existing IField interface must be refactored:

[ ] new member Data() IData must be added,
[ ] existing member DataKind() DataKind must be deprecated

[ ] Existing IFieldsBuilder interface must be refactored:

[ ] existing AddField(… DataKind …) and AddVerifiedField(… DataKind …) methods must be changed to takes IData (or, better, data definition QName) instead DataKind
[ ] existing AddRefField(), AddStringField() and other kind-specified field constructors must call general AddField() method and pass to it system data definitions. If some restricts are passed to these methods, then the anonymous data definition (with no QName and inherits from system) must be created under hood and passed to AddField().

[ ] IAppDef interface changes:

[ ] new Data(QName) IData method

[ ] IAppDefBuilder interface changes:

[ ] new AddData(name QName, ancestor IData, restricts ...IRestrict) IDataBuilder method

Arrays in istructs row interfaces
One-dimensional arrays
type IRowWriter interface {
  …
  // Puts value by index to specified array field
  PutInt32ToArray(name string, index uint, value int32)

  // Puts values array to specified array field
  PutInt32Array(name string, values []int32)
  …
}

type IRowReader interface {
  …
  // Gets value by index from specified array field
  AsInt32FromArray(name string, index uint) int32

  // Gets values array from specified array field
  AsInt32Array(name string) []int32
  …
}


[REVIEW] elenajp

GitHub Profile Link
https://github.com/elenajp

Looks good to me! 😄 I made a PR to your repository (https://github.com/elenajp/elenajp/pull/8) for a few minor improvements, aside from them I would suggest to:

Add dynamic blogs using GH Actions, if you have a blog
Add at least 2 Stat images in total
Link to your site in the header image.

Looks great, reviewed on live stream...
Some suggestions

maybe remove the widget
you could pin 2 or 4 of your favourite repos


Import duration from Alexa timers

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
No.
Describe the solution you'd like
A clear and concise description of what you want to happen.
I would like to utilize this timer card with timers started in Alexa. It should pull the duration of the timer from Alexa and when the state returns "unavailable" it should clear the timer as if to say the timer is not set. This would use the Alexa Media Player integration that is already publicly available. As it stands now, the timer can not be set/started/cleared by using Alexa voice commands.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hey, I'm really sorry. I didn't see this. I'll enable email notifications for future issues.
I don't have an Alexa, so I can't really test, but what sort of entity does it create in Home Assistant for these timers?
I don't know if this is the integration to which are referring, but if it is, it seems to give the time at which the next timer starts and not its duration.

That’s the integration. It uses the next timer entity to find the start and end times, but it doesn’t do accurate math down to the second when the timer is longer than 1 minute. I was drawn to your custom card because of the possibility of seeing that data down to the second regardless of the timer length.
Currently, if you use an entity card and set it for the next timer entity you see something like “In 20 minutes.” As opposed to a format of HH:MM:SS.
On Mar 5, 2021, 7:46 PM -0600, Jesse Sopel<EMAIL_ADDRESS>wrote:

Hey, I'm really sorry. I didn't see this. I'll enable email notifications for future issues.
I don't have an Alexa, so I can't really test, but what sort of entity does it create in Home Assistant for these timers?
I don't know if this is the integration to which are referring, but if it is, it seems to give the time at which the next timer starts and not its duration.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Oh ok, so it should contain the time at which the next timer ends? And the desired result it to show a countdown between now and that date?
Do you think you could possible show me an example of your sensor.media_player_next_timer in Developer Tools -> States ? I need to know what attributes it contains as they clearly aren't the same as a timer.
Thanks

The below info is from a 15-minute timer set on the echo dot in my office space.

I finally got to updating the module to work with Google Home timers and I tried to add support for Alexa Media Player based on your example.
If you update to the version 0.2.0 in theory it should work with your example, but the values might be a bit off or come out weird. If you test it and find any issues I'd be happy to fix them, but it's really hard to test without a working example.
If you do test it and it works or not please let me know. Thanks!

I just tried it out and unfortunately I cannot add sensor type devices. They have to be timers. If you could add the ability to use sensor entities I can give it another go and let you know.
On Apr 21, 2021, 7:53 PM -0500, Jesse Sopel @.***>, wrote:

Hey, sorry it took so long.
I finally got to updating the module to work with Google Home timers and I tried to add support for Alexa Media Player based on your example.
If you update to the version 0.2.0 in theory it should work with your example, but the values might be a bit off or come out weird. If you test it and find any issues I'd be happy to fix them, but it's really hard to test without a working example.
If you do test it and it works or not please let me know. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Really? It's called sensor.[the name]_next_timer right? If not you can always switch to yaml mode in the editor and you'll be able to add it. It's just filtered for convenience.

I added the entity in yaml mode but it did not produce any sort of output on the card.
Here’s my state info for a 5 minute timer.
recurrence: Never Repeat
process_timestamp: '2021-04-21T20:30:20.247072-05:00'
prior_value: '2021-04-21T20:35:19-05:00'
total_active: 1
total_all: 2
I’m leaving off the sorted_active information because it contains sensitive info. Hopefully the info provided above is sufficient.
On Apr 21, 2021, 8:21 PM -0500, Jesse Sopel @.***>, wrote:

Really? It's called sensor.[the name]_next_timer right? If not you can always switch to yaml mode in the editor and you'll be able to add it. It's just filtered for convenience.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Oh thank you! I'm actually using the createdDate, remainingTime and triggerTime in the list of timers as this allows for listing all running timers instead of just the next. At least that's the theory and that's what it does for Google.
I think I was accessing the list incorrectly. I changed it and made a new release (0.2.1) I hope that works if not I'll see if I can fix it tomorrow after work. Thanks for your help. :)

I tried again with the updated card just a moment ago and I still see no output on it. Also worth mentioning is that I set the entity in yaml mode, but when I go back to visual mode the entity field is empty. I’m not sure if that has something to do with it or not.
On Apr 21, 2021, 9:45 PM -0500, Jesse Sopel @.***>, wrote:

Oh thank you! I'm actually using the createdDate, remainingTime and triggerTime in the list of timers as this allows for listing all running timers instead of just the next. At least that's the theory and that's what it does for Google.
I think I was accessing the list incorrectly. I changed it and made a new release (0.2.1) I hope that works if not I'll see if I can fix it tomorrow after work. Thanks for your help. :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Indeed, it wasn't working. I had to actually setup and Alexa Dot and the integration to figure out what was wrong. I think I've finally got it working though!
Sometimes it seems to be off by a couple seconds. It might be a difference between the browser and the device. I'll do some more testing, but it should load correctly for you now as of v0.2.2.
Are you sure your sensors don't appear in the editor entity list though? I see them in mine. Perhaps if you clear your cache?

Seems to be working all the way around now. Sensors show up in the entity dropdown menu and the timer counts down from about the time (give or take 2 seconds) that the timer is set for on the device.
Thank you for your persistence in implementing this fix!
On Apr 22, 2021, 8:12 PM -0500, Jesse Sopel @.***>, wrote:

Indeed, it wasn't working. I had to actually setup and Alexa Dot and the integration to figure out what was wrong. I think I've finally got it working though!
Sometimes it seems to be off by a couple seconds. It might be a difference between the browser and the device. I'll do some more testing, but it should load correctly for you now as of v0.2.2.
Are you sure your sensors don't appear in the editor entity list though? I see them in mine. Perhaps if you clear your cache?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

That's awesome! I'll look into the delay, but I think that's something that affects all the types of timers so might be a separate issue. So I think  I'll close this issue but feel free to open other issues if you find something. No problem!  Thanks for your help!


Default Locale Redirection not Working

For some reason this code still redirects to /en instead of /ar in first visit ( regardless what I insert as default locale )
import { createI18nMiddleware } from 'next-international/middleware';
import { NextRequest } from 'next/server';

const I18nMiddleware = createI18nMiddleware(['ar', 'en'] as const, 'ar');

export function middleware(request: NextRequest) {
    return I18nMiddleware(request);
}

export const config = {
    matcher: ['/((?!_next).*)'],
};

in addition to having support for detect language maybe?
and thank you for the awesome lib, so far everything else has been working flawlessly in server components + client components,
without having to drill props nor complicated setup

Thanks for the kind words! I'll take a look at this issue.

The default locale serves as a fallback if the no locale matches the Accept-Language header. Your browser might be configured to use English as the default locale, so next-international tries as much as possible to use the user's locale.

Wouldn't make more since if we can pass an argument ( which I thought the second param in the middleware is for ) to force default language? if its none existing we can use accept-language in this case

I don't think it's a good idea to force a specific language if users specifically set their preferred language. This goes against what the user expects.
I'm curious about what the community thinks about this. Feel free to add reactions if you agree/disagree to see what we should do in the future.

Well this is exactly why its only for default because some systems may focus on having a specific default language.
in case the user preferred language isn't supported how would it behave though? would it choose the default passed as default locale?

in case the user preferred language isn't supported how would it behave though? would it choose the default passed as default locale?

Yes, if the preferred language isn't configured in your app, it will use configured one (2nd argument)

Perfect
Thank you ao much🙏🙏🙏


Take out console debugging printlns in isotope

@ShivenBhatt, this is easy. Can you do this quickly please.


Stream Enrich: implement source/sink-agnostic at-least once processing via checkpointing

Given that Stream Enrich is flexible around which source you connect to which sink, we have some interesting questions around how we successfully achieve at-least once processing. Here are some examples:

Kinesis to Kinesis: we should only checkpoint the read when the write has been successful
Google Cloud Pub/Sub to stdout: we should only ack the read messages when the print to stdout has been successful
Kafka to Google Cloud Pub/Sub: we should only checkpoint the read when the write has been successful

We could actually build a whole matrix of the source-sink options and capture the required behaviors for at-least once processing.
I believe that currently Stream Enrich performs optimistic checkpoints on the source, and this is a result of the design decision to have very loosely coupled:
source -> sink

I think we need to re-architect Stream Enrich and introduce some kind of first-class Checkpoint entity, which we will use to deliver pessimistic checkpointing on the source:
source -> sink -> checkpoint
   ^                    /
    \------------------/

Assigning to @BenFradet, adding @jbeemster for some advisory

Closing given migration to https://github.com/snowplow/snowplow/issues/2975#issuecomment-293166874


Easy way to get the number of registered members?

For some applications it is necessary to get the number of registered members of a type. This is possible using
std::tuple_size<decltype(registerMembers<Class>())>::value

This is however an implementation detail which may not be ideal to rely on from the outside. The alternative
std::tuple_size<std::decay_t<decltype(getMembers<Class>())>>::value

is way too verbose. Therefore, I would propose to add a new function
template <typename Class>
constexpr std::size_t getMemberCount();

with the definition
template <typename Class>
constexpr std::size_t getMemberCount()
{
	return std::tuple_size<decltype(registerMembers<Class>())>::value;
}

to your meta library.

Alternatively, this could be provided without a function:
// integral constant containing the number of registered Members
template <typename Class>
using get_member_count = std::tuple_size<decltype(registerMembers<Class>())>;

// number of registered Members
template <typename Class>
inline constexpr std::size_t get_member_count_v = get_member_count<Class>::value;

Good idea. Please make a PR, and I'll accept it.
Just curious: what will you use it for?

Sure, do you prefer the constexpr function or the alias template + inline variable? I'm currently using the latter.
In general, I use MetaStuff to deserialize objects from CSV files using "Fast C++ CSV Parser". I need the number of registered members as the parser requires the number of expected CSV columns (-> registered data members) as a template parameter. Furthermore, I wrote two functions
// returns std::tuple of all member names (const char*)
template <typename Class>
const auto& getMemberNames();

// returns std::tuple containing a reference for each member
template <typename Class>
auto getMemberRefTuple(Class&& obj);

which also make use of the number of members.  The CSV lib has a read_row function which takes a reference for each column, where the read values are written to:
int a,b;
while(csvReader.read_row(a,b)){
    // a contains value of first column, b of the second column...
}

I use the getMemberRefTuple function in combination with std::apply to directly deserialize each row into an instance of the registered type.

Oh, nice to see my lib being used this way. :)
I think that constexpr function is easier to read, so I'd prefer it.

Cool, see https://github.com/eliasdaler/MetaStuff/pull/16.

Merged, thanks.


Upstream/375 enhancement add a docker config to allow easy server launches

CONCISE description of PR (PR Title)
Docker-compose is configured
This PR:
Resolves #375
1.    Docker-compose spins up 2 services(react, solid) on a same network with nginx-proxy manager.
2.  Solid-server conf added as a volume to container(there is some issue with conf)
3.  On server services up and running (solid misconfigured)

The files this PR effects:
docker-compose.yaml
Dcokerfile.react
config/solid-server/solid-server.json
Components
List file names here
Tests
List file names here
Other Files
List file names here

Screenshots (if applicable):
Add any screenshots/videos here.

Additional Context (optional):
Add any other context about the PR here.

Future Steps/PRs Needed to Finish This Work (optional):
Add any other steps/PRs that may be needed to continue this work if this PR is just a step in the right direction.

Issues needing discussion/feedback (optional):
1.
2. If needed, delete if not
3. If needed, delete if not

@Fokker50 I'm happy to help review or play with docker. Let me know. 😀