password_confirmation not actually required

The current usage states that password_confirmation is "required" for POST / and PUT /password, as well as "accepted" by PUT /.
The current reality, however, is that only PUT /password actually requires the value to be provided.  Neither POST / or PUT / actually require password_confirmation to be provided (though if it is, it must match password and password must be provided).  Since the parameter checking logic is handled by devise, I'm not sure if this is a documentation issue (POST / should say it "accepts" password_confirmation rather than "requires") or if this is a logic error (POST / should actually require password_confirmation)

It may also be worth noting that PUT /password will allow other non-password values to be changed if the :account_update sanitizer was configured to allow them.  This seems like something unintentional, since the standard Devise equivalent only allows changing the password

Thanks @Animeye, I'll look into this ASAP

same issue with @Animeye.

@lynndylanhurley, I've made a branch in my fork with a simple solution for this problem. With the proposed change, password_confirmation will be required by POST / and PUT /. I would be glad if you or @booleanbetrayal could review my PR. Thanks!

@paulosoares86 - thanks! Please submit the PR and I'll review ASAP!

Hi there @paulosoares86    ,
In an effort to cleanup this project and prioritize a bit, we're marking issues that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this issue. Obviously feel free to re-open it at any time if it's the right time or this was done in error!
If you are still having the issue (especially if it's a bug report) please refer to our new Issue Template to provide some more details to help us solve it.
Hope all is well.

Actually, it isn't fixed yet.

@beauraF we closed issues that hadn't had activity in a while and this one hadn't in almost 2 years. Please feel free to submit a pull request if you feel strongly about it!


Add DaVinci admin roles to documentation example and validate provider compatibility

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

New or Affected Resource(s)

pingone_role

Potential Terraform Configuration

# Copy-paste your PingOne related Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

# Remember to replace any account/customer sensitive information in the configuration before submitting the issue

References

#0000

The new DaVinci roles are not available in the plan.
I've left a full breakdown in #496

So watchers of this issue are aware, the general support of the DaVinci admin roles needs to be pushed into a later release.  This is because the roles cannot be re-granted from the worker app client that Terraform uses in the provider {} block.
The existing combinations of Environment Admin and Identity Data Admin will continue to work in the interim
Currently support for DaVinci admin roles is aligned to the v0.20.0 release of the provider, but this can change.  If we have the ability to pull the release of the DaVinci admin roles forward then we will

The required changes to the API were made at the end of last week so we're able to include DaVinci role support in the v0.19.0 release


Frank's suggestions on NB 03, 04, 05 and 08

fixes #66
fixes #64
fixes #67
deletes the pentapeptide example from NBs 03, 04 and 05.
Could somebody revise the ala2 visualization in NB4? Did not install nglview.

Not sure. You are referring to the CK-test plots. ps and 0.001 ns are the same, so those plots come out nicely. If I call plot_cktest without the units argument, it prints steps to the axis. With units='ns', dt=.001, the same function returns a plot with ns axis labels which are barely readable (0.025 ns ...).
It seems that the dt_traj parameter of bayesian_msm is not at all passed to cktest, probably because bayesian_msm.lag is still in unit of steps, not in ns. So I'd suggest to leave it this way.
If I'm not wrong, the only implication the dt_traj='0.001 ns' has on notebook 04 is on the fluxes. (The ITS class does not have this argument, so passing it to the plot_implied_timescales() function is the only option.) I'll add the units to the flux plots.


package.use_shared_strings is very slow

Xlsx generation time changed from few minutes to several hours when I use this:
package.use_shared_strings = true

For my intuition it should make things faster. Isn't it?

Hey Ochko - it is the exact opposite.
as the docs state:
When true, the Package will be generated with a shared string table. This may be required by some OOXML processors that do not adhere to the ECMA specification that dictates string may be inline in the sheet. Using this option will increase the time required to serialize the document as every string in every cell must be analyzed and referenced.


Needs a LICENSE

Hi, I don't see any LICENSE, so the default laws apply (which generally don't allow use).
I'm guessing that you intend for this to be released as open source software. The OpenSSF requires MIT or Apache-2.0 license, and I'm guessing you want to use those.
E.g., you could copy this into LICENSE.md and add the year and your name:
https://github.com/IQAndreas/markdown-licenses/blob/master/mit.md

Added. Thank you!


🚀 | Equalizer for Phoniebox

A Systemwide Equalizer based on plugequal for mpd
It would be a good thing to be able to do some equalizer Settings for the diversity of Loudspeakers to improve Soundquality
Based on
https://wiki.debianforum.de/Erweiterte_ALSA-Funktionen
I've changed the /etc/mpd.conf
#
audio_output {
        type            "alsa"
        name            "My ALSA Device"
#       device          "hw:1,0"        # optional
        device          "plug:plugequal"
#       mixer_type      "hardware"      # optional
#       mixer_device    "default"       # optional
        mixer_device    "hw:1,0"
        mixer_control   "PCM"           # optional
#       mixer_index     "0"             # optional
}

and added the /etc/asound.conf
ctl.equal {
  type equal;
  controls "/home/pi/.alsaequal.bin"
}
pcm.plugequal {
  type equal;
  slave.pcm "plughw:1,0";
  controls "/home/pi/.alsaequal.bin"
}
  pcm.equal {
  type plug;
  slave.pcm plugequal;
}

Further information that might help
Audio with my attempt is acutally working on Terminal, however I havent figured out to get the general loudness working.
However with my basic attempt the loudness is greyed out in the Website...

Is there a way to have this feature for mopidy as well?

Hello everyone, I've got it working! See the following Forum for information.
https://forum-raspberrypi.de/forum/thread/46718-equalizer-fuer-die-phoniebox/?postID=421069#post421305
basically the mixertype needs to be set to software in the mpd.conf.

Is there a way to have this feature for mopidy as well?

Hi there - sorry for the late reply...
I would say that this works system-wide

Hi @thedipling
great contribution. For the time being, I added it to the wiki:
https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/Equalizer_systemwide_based_on_plugequal_for_mpd
Not sure if this should go into core. What do you think?

Hi there
is there a working equalizer config for Phoniebox?
I am using Phoniebox+spotify with a hifiberry miniamp. So i guess i also have to adapt mopidy.conf in addition to mpd.conf and asound.conf. I tried such a lot but i didnt got it working...
does somebody has a hint or got it running?

Hi all,
I tried to activate the EQ but was not successful. This is what I've done:

Install the EQ-package
check which audio interface my headphone-jack is with aplay -l. It gave me device 0:0
create and edit the /etc/asound.conf  (also tried with ~/.asoundrc):

ctl.equal {
  type equal;
  controls "/home/pi/.alsaequal.bin"
}
pcm.plugequal {
  type equal;
  slave.pcm "plughw:0,0";
  controls "/home/pi/.alsaequal.bin"
}
  pcm.equal {
  type plug;
  slave.pcm plugequal;
}

edit /etc/mpd.conf:

audio_output {
        type            "alsa"
        name            "My ALSA Device"
#       device          "hw:0,0"        # optional
        device          "plug:plugequal"
#       mixer_type      "hardware"      # optional
        mixer_type      "software"
#       mixer_device    "default"       # optional
        mixer_device    "hw:0,0"
#       mixer_control   "headphone"     # optional
        mixer_control   "PCM"
#       mixer_index     "0"             # optional
}

restart pi
tried to change EQ while listening to music via alsamixer -D equal

Unfortunately I hear no change while changing the EQ. Do anybody have an idea or hint why?

Hi there, sorry for the late reply...
have you tried the decription here?
https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/862#issuecomment-602037593
My initial try was not successful. It was a long time ago... I actually dont know what to do here...
sorry..

I have added a few important tips and testing methods to the Wiki page. And my setup is working without any issues. But it has taken me a long, long time to figure it out.
However, my mpd.conf differs in one aspect, which is mixer_device. I leave that at "default" (by omitting it). This means ALSA will pick an appropriate mixer device. (See here https://www.musicpd.org/doc/html/plugins.html?highlight=mixer_device). I think it should be omitted, and the asound.conf file should contain a default entry. This would make it more generally usable. Can anybody confirm / disagree?
Except from Wiki
        type            "alsa"
        name            "My ALSA Device"
        device          "plug:plugequal"
        mixer_type      "software"      # optional
        mixer_device    "hw:1,0"
        mixer_control   "PCM"           # optional
}```

My configuration
```audio_output {
        type            "alsa"
        name            "HifiBerry Speakers"
        device          "hifiberry"     # optional
        auto_resample   "no"
        mixer_control   "Master"
}

Thank you for the good description. I have "just" one problem. As soon as I add this line to the /etc/asound.conf I get no sound any more from the phoniebox:
# Make the equalizer the default playback device (optional)
pcm.!default {
  type plug
  slave.pcm plugequal;
}

The the EQ works with the soundtest speaker-test -c 2 -d plugequal.
When I remove the part and restart the phoniebox everything works, but not the EQ. Even not with the soundtest.
Is this maybe a problem with the Spotify-Edition, or did I miss something?
The rest of my configuration is like in this comment.

Please continue the discussion in a new issue or the new discussions feature.
Continuing discussions in closed issues are easily overlooked.

@THorst92 : Please test my configuration described at https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/1198 and give feedback. Let's continue discussion there or in the discussion feature. For the Spotify Edition, you must make settings accordingly in mopidy configuration file.

I checked the #1198 but I didn't found anything about mopidy.conf.
What exactly do I have to change there?


Oracle JDK7 is no longer officially supported and not available anymore.

Closes #292 .
Oracle JDK7 is no longer officially supported and also no longer downloadable from Oracle JDK site.
Therefore the oracle-jdk7 build was removed from Travis file.
Instead added:

Open JDK8
Open JDK10
Oracle JDK10

References:

http://www.oracle.com/technetwork/java/javase/downloads/index.html
http://www.oracle.com/technetwork/java/javase/eol-135779.html
http://www.webupd8.org/2017/06/why-oracle-java-7-and-6-installers-no.html

Request was started on master instead of separeted branch - so I close the request. Sorry for any inconveniences.


Fix User-Agent header

Prevent User-Agent header from growing with each request.
Fixes #83

Coverage increased (+0.03%) to 92.492% when pulling 081ce825c96737825a6d5ba9ad369b38d59be430 on matthewloring:headers into 561748556d97c479dcce5bc266a4649b88ea68f0 on google:master.

LGTM


Convert more tests

ct_test,evp_extra_test,wpackettest,packettest
Add strncmp TEST wrappers
And make some style/consistency fixes to ct_test

Red cross from travis is relevant.

The error message prints from test_strn_eq and test_strn_ne will fail if the strings aren't zero terminated.  The print_string_maybe_null are the problem.

Added precision args to the strn printf's.
Additional commit pushed.

Travis errors are relevant

I think it's a gcc bug, but just pushed a workaround for it.

adcd8e3 in master, thanks!


Fix builds with rocBLAS that does not support F8

By-product of triaging the issue with transposed convolutions.

[Attribution] @junliume @JehandadKhan

https://github.com/ROCmSoftwarePlatform/MIOpen/labels/quality
https://github.com/ROCmSoftwarePlatform/MIOpen/labels/urgency_high
Proposed reviewers: @JehandadKhan

@junliume Thanks! I need to revert fin changes here (accidentally sneaked).

@junliume @JehandadKhan Accidental changes of fin reverted. PR updated from the recent develop. Ready for the next review & CI testing round.

@junliume @JehandadKhan Ready for the next review & CI testing round.


scroll.js, navbar, API ref

For some time now, there appears to be a scrolling/navigation issue in the API ref.
After selecting some item in the left nav list, the selected section is displayed in the main page.
However, the left navigation does not remain on the selected item.
Instead, the nav. list displays another unrelated item, such as:
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#watch-list-csinode-v1beta1-storage-k8s-io.

Looks like the watch list node for CSINode resource is causing some problems. Will investigate.

@tengqm , Check out config.yaml, lines 84 -86. Is the version correct? The 1.17 API reference link in the left nav shows v1beta1.
Would it be possible to auto-generate config.yaml from swagger.json? Manually maintaining this list seems error prone.
 - name: CSINode
      version: v1
      group: storage

@kbhawkey Good spot. The current API reference doc is incorrect. I hope when https://github.com/kubernetes/website/pull/18067 is in, the navigation error will go away.
Generating config.yaml would be very difficult if possible at all. We need  to distinguish the top level resources (e.g. Pod) from the nested resources (e.g. PodSpec, CSIDriver). Then we need to collect all versions of a particular resource, pick the latest version and leave the others as "old versions". For new resource types added, we need to find a "group" for it...

Just checked generated API reference in PR 18067. The left navigation appears to be fixed.

/close


Return individual samples of model components if return_samples is true

Hey Nestor,
title says it all. Adding "if not return_samples:" in line 1979 would make it possible to calculate own quantiles from the samples of the individual components. This would be handy for calculating the confidence intervals of planet phase plots.
Though, I did not check if you need the median components and full model samples elsewhere in juliet, but I tried it and it seems fine.
Best,
Jonas

Hi @JonasKemmer,
This is a good call. I'll try to implement this in a future release.
N.


Add empty album checking

Handle no album situation for new account, fixes #117

Thanks for your PR 🎉
I'll merge.


Seedtag/in banner in stream support

Type of change

[ ] Bugfix

[x] Feature

[ ] New bidder adapter

[ ] Code style update (formatting, local variables)

[ ] Refactoring (no functional changes, no api changes)

[ ] Build related changes

[ ] CI related changes

[ ] Does this change affect user-facing APIs or examples documented on http://prebid.org?

[ ] Other

Description of change

new placement : Support video instream and display inBanner placement

close the PR to submit it to Prebid


Run Configuration - Not Working

Greetings!
Quick notes

I'm on MacOS Sonoma (14.1)
IDE: Goland (2023.2.4)

IDE Settings

Stream Deck Settings

Issue
Well... it just isn't working :smile:. Initially, I wondered if the multi-project multi-tab setting for MacOS (where each project is a tab within the IDE window) was to blame, so I disabled that and tried again. Still nothing happens.
Other actions outside of Jetbrains products are working, so I know the Stream Deck itself does function on my system. Just seems that maybe the OOTB settings are insufficient for my system... for some reason?
I'm unsure how to best troubleshoot, but if guided, I'm more than happy to troubleshoot in whatever way I can.
Thanks! Looking forward to using this! Actually one of the biggest reasons I picked up a Stream Deck in the first place.

Hello, can you try to install https://github.com/JetBrains/intellij-streamdeck-plugin/blob/main/releases/com.jetbrains.ide.streamDeckPlugin this one and see if it helps? I noticed that Stream Deck has switched their app store to a new one and the plugin version on it is somehow not updated to the latest one. I'll try to update it today.

@beansoft Pulling in the updated plugin works! :smile: Thank you!
I'll close this out, but if you need anything else from me, just let me know!


Landscape support?

comes in from the top and sideways of course.  Any places I can start looking to fix that?
Also I added a dismiss delegate.

+100 for iPad / landscape support - does anyone have any hack they can share ?

This worked for me....
in AMSmoothAlertView.m...
add
#define kCircleViewTag 9999
at the top as a const
at the bottom of

(void) _initViewWithTitle:(NSString *)title andText:(NSString )text andCancelButton:(BOOL)hasCancelButton forAlertType:(AlertType)type andColor:(UIColor) color
{
//----snipped for brevity ----//
[[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];
[[NSNotificationCenter defaultCenter] addObserver: self
selector: @selector(deviceOrientationDidChange:)
name: UIDeviceOrientationDidChangeNotification
object: nil];
}

(void)deviceOrientationDidChange:(NSNotification *)notification {
CGRect screenRect = [[UIScreen mainScreen] bounds];
self.frame = screenRect;
alertView.center = self.center;
CGRect circleViewFrame = [self viewWithTag:kCircleViewTag].frame;
circleViewFrame.origin.x =screenRect.size.width/2;
circleViewFrame.origin.y =((screenRect.size.height/2)-alertView.frame.size.height/2);
[self viewWithTag:kCircleViewTag].frame = circleViewFrame;
}
-(void) dealloc{
[[NSNotificationCenter defaultCenter] removeObserver: self];
[[UIDevice currentDevice] endGeneratingDeviceOrientationNotifications];
}

the in i add the tag defined at the top to the circle mask view

(void) circleSetupForAlertType:(AlertType) type andColor:(UIColor*) color
{

UIView * circleMask = [[UIView alloc]initWithFrame:CGRectMake([self screenFrame].size.width/2, (([self screenFrame].size.height/2)-alertView.frame.size.height/2) , 60, 60)];
circleMask.tag = 9999;
//----snipped for brevity ----//
}


Deploy Doxygen to generate code documentation

Is your feature request related to a problem? Please describe.
Source code is getting more and more complex as we introduced new feature.
Thus we need to be able to generate documentation from the source code of a given release.
Describe the solution you'd like

Use Doxygen to generate documentation from the source code.
Rework code comments to allow doxygen to parse them

Describe alternatives you've considered
No other alternatives considered

Code comment rules for Doxygen are described here in the project wiki


Remove deprecated API

The ReactiveKafka class should have an empty constructor. We also should remove old, deprecated functions.

Fixed by f6e33c7


TSA: Roslyn Analyzer fixes

Close TSA issues once the following PR is merged to master
https://github.com/NuGet/NuGet.Services.Metadata/pull/321

Changes are in master, closed out TSA VSTS issues


Use Justfile instead of Makefile for shorthand commands

So we can use the Makefile for integration into RIOT and other Makefile based frameworks

@erlingrj whats the benefit over using just classic make?

Because I want to reserve the Makefile for RIOT integration. I.e. Makefile should include build info like specifying all sources, include paths etc, such that we can easily include this into an existing project.
We could of course also put that in reactor-uc.mk and keep the existing Makefile as is. Maybe a bit confusing

how about just naming it reactor-uc-riot.mk then its clear what its used for.


Mongoid::Errors::UnknownAttribute for relevant_search option is passed on mongoid > 4

I am using following method
User.full_text_search("india", relevant_search: true)

It gives following error
Mongoid::Errors::UnknownAttribute:
Problem:
  Attempted to set a value for 'relevance' which is not allowed on the model User.

As in mongoid version > 4 dynamic attributes are not default enabled. We need to include module Mongoid::Attributes::Dynamic If we want to add fields dynamically.
If we set relevant_search option it tries to set value for relevance and it does not find setter method for relevance so above error occurs.
I think in [full_text_search] (https://github.com/mauriciozaffari/mongoid_search/blob/master/lib/mongoid_search/mongoid_search.rb#L27) method adding attr_accessor relevance if relevance_search option is set will solve the issue.
Test cases for same are also failing for mongoid version 5.
Let me know your thoughts on this. I will submit PR for the same soon.

Fixed by this PR.


Restore-DbaDatabase fails if source DB was in SIMPLE RecoveryMode and you specify a RecoveryTime

Bug Report

General Troubleshooting steps
Tested in 0.9.318

[X] Verified running the latest release of dbatools?
[X] Verified errors are not related to permissions?
[X] Can duplicate in new/clean PowerShell session (clean = powershell -NoProfile)?

Version Information

Operating System (Windows 10|Windows7):
PowerShell Version: 5.1.14409.1012
SQL Server (Developer|10.50.6220):

Steps to Reproduce

In a situation where you are restoring a FULL backup plus one out of several DIFF backups, Restore-DbaDatabase fails if the source DB was in SIMPLE RecoveryMode and you specify a RecoveryTime in order to filter out DIFF backups that are "too new".
To sum up: The restore command fails with a syntax error because dbatools includes STOPAT in the RESTORE database command, even though the DB is in simple mode.
Here is the scenario:

Database ABC is running in SIMPLE mode.
We are using Hallengren-style backups
A full backup occurs Sunday mornings at 6 AM. Let's call that 2/4/2018 06:00.
A DIFF backup occurs every other day, Monday through Saturday, at 6 AM. We have backups from 2/5/2018 through 2/10/2018, always at 6 AM.
(Pretend that) today is 2/13/2018. We want to restore the ABC database to a DEV server, but only up to Wednesday (2/7/2018) morning
Restore-DbaDatabase -SqlInstance TestSrv -database ABC -MaintenanceSolution -path \backupsvr\backups -RestoreTime '2/7/2018 9:00 AM'
This command finds the FULL backup from 2/4. Good. This command also finds the most recent DIFF backup that is older than our RestoreTime. That would be the DIFF from 2/7/2018 06:00. Good.
Problem: The RESTORE command for the full backup file is incorrect because it includes a STOPAT value. You can easily see this by using -OutputScriptOnly. STOPAT is not legal syntax for a restore of a full backup file for a database running in simple recovery mode. STOPAT is legal syntax for a restore of a full backup of a database running in bulk logged or fully logged recovery modes.

My proposed fix:

BackupHistory.cs needs to be enhanced to add the RecoveryModel attribute to the Sqlcollaborative.Dbatools.Database.BackupHistory class.
Get-DbaBackupInformation needs to be enhanced to output the RecoveryModel in addition to the attributes it already provides
Invoke-DbaAdvancedRestore needs to check if backup type (which is already available) is full and RecoveryModel (which requires the first change) is simple, if so then do not set a ToPointInTime on the $restore object.

Additional information
I've got code changed and ready to go in my repo, I am looking for someone to reassure me that this is a sane thing to do and I'll submit a PR.

@Stuart-Moore, I don't see anything about how to deal with dlls. I've modified the backuphistory.cs file, which requires rebuilding the dbatools.dll. Do I include updated copies of the .\bin and .\debug dlls, or is that built somehow by devops magic? This is my second PR ever and it's kind of intimidating.

@niphlod. I will look at that now.

After pulling down the latest restdiffsimple, I'm not seeing a change

hum, something is definitely going on. any chance we can chat on slack ?

Happy to give it a try, but I'm on the US East coast, 6 hours behind Milan and I'm guessing we will have to try tomorrow. I don't normally hang out on slack, but I can get to #dbatools channel OK.

no probls

restdiffsimple doesn't contain any dll changes, should it?
There's a nack to altering the version number to get it recompiled.

PR in. @ashdar afraid I couldn't tag you as reviewer but if you could try it that'd be great. Though I've included a new appv test that covers it.
@niphlod
To force the dll to recompile you have to remove it, and then update the version numbers in library.ps1 and AssemblyInfo.cs. Looks like fred dropped some docu into library.ps1 since I last looked.

If I had realized what a PITA changing the DLL is, I would not have even tried. It seems easy enough, just add a string attribute to BackupHistory.cs, right?
I've been overwhelmed all morning with pop-up tasks and the first Friday of a month is always busy for me, I'll try to have a look in the next four hours.

No probl. Most of times is easy peasy but if you went and raised a PR with
"errors" we'd have swooped and fixed step by step throughout the review
process.
Thanks for the contribution ;-)
Il ven 6 apr 2018, 18:50 dstrait<EMAIL_ADDRESS>ha scritto:

If I had realized what a PITA changing the DLL is, I would not have even
tried. It seems easy enough, just add a string attribute to
BackupHistory.cs, right?
I've been overwhelmed all morning with pop-up tasks and the first Friday
of a month is always busy for me, I'll try to have a look in the next four
hours.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/issues/3469#issuecomment-379311829,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHdB-RHO6TrxuPL6Ai8d2g7d4wYQaVuks5tl5zrgaJpZM4TF8OA
.

That passes my tests, which aren't dependent on any appveyor configuration.

@ashdar be so kind, share your test code.

Will this gist  work for you?

Brilliant, thank you!


Statix doesn't seem to work

It plays the music, but nothing ever shows on the screen.

Works now — I swear I rebooted to make sure, and it still had the same issue. But it launched fine today.


Features from MyTab could make great addition to Polished UI

Please consider migrating some features from the now abandoned MyTab mod to Polished UI. Polished UI already has better support for anvil image override than MyTab

Page Title override
Favicon override
Cursor override

Sounds good! Will add it once I have time to work on this


Tree is closed on ci.yaml validation failure

See https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8810612181851678305/+/u/luci_validate/stdout?format=raw.

Seems due to new upstream lucicfg version update. I can repro locally with latest version.
Working on a quick fix.

Fix is in: https://flutter-review.googlesource.com/c/infra/+/31500
The rerun passes: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux ci_yaml flutter roller/3526/overview
Tree is open.


Pasting and opening a file path into the bar in Open File opens the file but doesn't close the dialog

VSCode Version: 1.13.1
OS Version: Windows 10

Steps to Reproduce:

Create a text file somewhere and copy it's whole file path including the file name and extension
Bring up the Open File dialog (Ctrl-O)
Double click on the address bar that shows the current directory and replace the text with the file path
Press Enter

Expected:

Dialog box closes and the file is opened

Actual

Dialog box remains open and the file is opened

I can reproduce, looks like an Electron issue.

Actually no, this seems standard Windows behaviour, I see the same happening for Notepad.


How to Code series, audit course will be no longer existing!

Hi, how are you?
I just started with the serie of "How to Code" recommended on the Core CS and...once I started, I got this message on edX:
"Audit Access Expires Aug 26, 2019
You lose all access to this course, including your progress, on Aug 26, 2019.
Upgrade by Jul 29, 2019 to get unlimited access to the course as long as it exists on the site. Upgrade now"
tl;dr: from Aug 26 it looks like is not going to be free anymore (even just watch the videos).
Should be needed to look for some alternative?

I think EdX is doing that for many other courses now. When I tried taking
MIT's Intro CS with Python it was like this as well. However one year ago I
took the same course, but it had a different archive policy.
On Tue, Jul 9, 2019 at 9:43 AM Leandro Lemos<EMAIL_ADDRESS>wrote:

Hi, how are you?
I just started with the serie of "How to Code" recommended on the Core CS
and...once I started, I got this message on edX:
"Audit Access Expires Aug 26, 2019
You lose all access to this course, including your progress, on Aug 26,
2019.
Upgrade by Jul 29, 2019 to get unlimited access to the course as long as
it exists on the site. Upgrade now"
tl;dr: from Aug 26 it looks like is not going to be free anymore (even
just watch the videos).
Should be needed to look for some alternative?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ossu/computer-science/issues/581?email_source=notifications&email_token=AEUAB4AIJ3JBJRFRAVZUYOTP6SIWVA5CNFSM4H7FUNQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G6DLM6A,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEUAB4BQ5Z5N5R3IFIBPRCTP6SIWVANCNFSM4H7FUNQA
.

When the access will expire, just do another account of edx (even just for that course) and re-enroll. I completed the first and the second course in time, but not Sotware Construction: Data Abstraction, so I made a new account and re-enrolled.

When the access will expire, just do another account of edx (even just for that course) and re-enroll. I completed the first and the second course in time, but not Sotware Construction: Data Abstraction, so I made a new account and re-enrolled.

uhmmm but the message sounds like the entire course is going to be closed for audit access, I mean I just enrolled yesterday and immediately that message appeared (is not like if I was already doing the course and that notification pop up).

When the access will expire, just do another account of edx (even just for that course) and re-enroll. I completed the first and the second course in time, but not Sotware Construction: Data Abstraction, so I made a new account and re-enrolled.

uhmmm but the message sounds like the entire course is going to be closed for audit access, I mean I just enrolled yesterday and immediately that message appeared (is not like if I was already doing the course and that notification pop up).

I know, that message appeared to me everytime that I enrolled for the first three courses. For example, when I enrolled (months ago) for How to Code: Simple Data, that message said that the audit access would have expired for me in March 20, 2019(or something like that), but after that date, the audit access for the course is not expired for everyone (in fact, you enrolled yesterday). That message says that the audit access expires for your account, and if you want unlimited access you have to pay. But you can just make another account to get around this restriction. Or at least, that's what I did.

@marrets ohh I got it know, thanks!
From what I read the course is based on the "How to Design Programs" book (https://htdp.org/2018-01-06/Book/), being that you did the courses, all the three courses are based on that book? or just the first 2?
I'm asking because now, being that the course has that workaround, but that is based on that book, I started to doubt if I'll keep with just the book or the course/book.

I have been lurking on this conversation and I must say, even though these courses are propietary, is there a way we can archive some of the lectures or lessons on these edX classes? I'd like to know which ones are being taken away, because I definitely enjoy some of them.

The two How to Code courses are the two courses based on How to Design Programs.
The videos for How to Code are all on YouTube, but the projects are not

Like commented earlier, it appears there will be a mass expiration of courses by the end of the month.

Upgrade by Aug 2, 2019 to get unlimited access to the course as long as it exists on the site."
That means the course could be completely removed from the page entirely.

If in doubt, know that the course exists on Youtube as @Alaharon123 said. https://www.youtube.com/channel/UC7dEjIUwSxSNcW4PqNRQW8w I started this course about two months ago and my access audit has expired already!

Interesting!
THANKS a lot for the Youtube link, my only doubt now about it is, one in youtube is called "Systematic Program Design", meanwhile the one in edX is divided between Simple and Complex data, so basically, until what module in the youtube one will be the simple data, and in which one will start the complex?

Does anyone know if there are any answers available to the problems in the problem bank?

We could just map all problem questions to the problems in the book on https://htdp.org which always has a link to its solution. I suspect they are the same problems supplied in the edx courses that are now behind paywalls.

This discussion is quite valuable. It's also replicated in a number of issues. To bring all of the issues and possible solutions together in one place, I've opened an RFC on the How to Code classes. Your input would be valuable! Comment here: #588

Now nearly all the edx course has two important changes:

If you don't pay it, you will lose data and cannot access to it.
Some parts of course will be locked, like exercises and exams.

And also, I found How to Code: Simple Data only has one chance to learn, or you need to register more edx accounts to enroll the course. I don't know why UBC do this. The whole How to Code courses are paid as you go.

Interesting!
THANKS a lot for the Youtube link, I think I just will keep with the one on youtube + the book + download just in case all the things in "Problem Bank" in case they are referenced later in the course.
Btw, if someone has the same doubt I had (in edX is divided in 2 coureses Simple and Complex data, meanwhile in youtube just "Systematic Program Design"), the mapping between those I think is:
edX Simple data <--> module 01a BSL to 06a BSTs on Youtube
edX Complex data <--> module 06b Mutual Reference to 11 Graphs on Youtube

Yeah, if you enroll these two courses, you will find you can only watch videos, why not watch them directly on Youtube?


Fix for Ubuntu 14.04 and OpenSSL 1.0.1

There is an issue where systems using an older version of OpenSSL are not able to build, due to a type mismatch. The PR links to a branch I have made of the OpenSSL module map which now has a wrapper around the method in question (EVP_DigestVerifyFinal) to stop Swift complaining due to a type mismatch.
When the OpenSSL branch is merged into master, I will update this PR to point to the release that contains the fix, rather than the branch. Opening this now so Travis can do some testing.

@KyeMaloy97: Are you still working on this?  The CI checks are failing.  Thanks.

@billabt Yea I am still working on it, I am working on removing force unwraps in the Test suite to get the Swift Linter to pass

Opening in two new PRs #20 and #19

Cool, I’ll take a look either later today or first thing in the morning.


[REQUEST] Request the function to stop accessor using "interact-item-secondary"

version: griefdefender-bukkit-1.5.4
flag: interact-item-secondary
accessor can use an item in a claim.
I can't stop it in any flag.
In this case, he using "ic2:treetap"
https://griefdefender.github.io/debug/?ytAUEbDQGy

Accessor trust is designed for block usage not items. You cannot stop it with flag since you are using trust which overrides flag. Stop using trust and start using Flag Definitions if you want more granular permissions.
https://github.com/bloodmc/GriefDefender/wiki/Flag-Definitions-GUI


ENH: Deal with bad parameters to get_datetime

Coverage decreased (-0.05%) to 83.5% when pulling 549a72099fae451aa0868dcba6cd612fabc5ab6f on deal-with-bad-getdatetime-params into 71b2363775830d2d7c1adc8127de288e02706d1e on master.

Coverage decreased (-0.05%) to 83.496% when pulling 63ef840363f855bedbcee2f8bcb1e2727d6c1651 on deal-with-bad-getdatetime-params into 71b2363775830d2d7c1adc8127de288e02706d1e on master.


Error with menu_burger.png

Version

react-native-router-flux v3.22.23
react-native v0.26.0

Expected behaviour
This is with a new React Native project. The first time I run the app, without editing anything except adding react-native-router-flux
Actual behaviour
"/Users/jneumann/Projects/portfolio/node_modules/react-native-router-flux/src/menu_burger.png: Unexpected Character '?' (1:0) at menu_burger.png:1:0

We haven't pushed a version compatible 0.26 to NPM yet. Go ahead and change your package.json to "react-native-router-flux": "aksonov/react-native-router-flux#0.26-wip",

Jawesome! That works now.

I have the same error with the latest version and latest react/react-native on an empty project

The solution was to quit the emulator and the packager terminal and restart

my package.json is pointing to "react-native-router-flux": "^3.33.2" and @DominicTobias 's suggestion worked for me.

I am getting same error, while running the test with mocha. I also tried to use "react-native-router-flux": "aksonov/react-native-router-flux#0.26-wip" but no luck.

@nalwayaabhishek have you found a solution to your mocha tests? The suggestion by @hellogerard in #628 fixes my tests, but I don't know what (if any) negative effects it could have to silence the mockery warnings

For posterity, since I almost missed it scrolling through after being brought here on Google by this error message:
@DominicTobias's solution worked for me.
RN v0.33.0 and react-native-router-flux v3.35.0.

This comment is helpful, thanks!

@DominicTobias 's solution worked for me.


Files failing to be copied from S3 upload bucket to EFS in import

We are experiencing problems when downloading zip files from the upload S3 bucket to temporary space on EFS.

this might or might not be related to #336

For #336 we observed the following error occasionally when uploading from efs to s3:

ERROR de.intranda.wellcome_export_bagit.BagitFilesystemManipulator - com.amazonaws.SdkClientException: Unable to complete multi-part upload. Individual part upload failed : Unable to execute HTTP request: Socket is closed

For downloads from s3 in to efs in goobi we have occasionally observed:

ERROR (DownloadS3Handler.java:68) - com.amazonaws.SdkClientException: Unable to complete multipart download. Individual part download failed.

or this combination:

ERROR (DownloadS3Handler.java:68) - com.amazonaws.SdkClientException: Unable to complete multipart download. Individual part download failed.
WARN  (S3AbortableInputStream.java:178) - Not all bytes were read from the S3ObjectInputStream, aborting HTTP connection. This is likely an error and may result in sub-optimal behavior. Request only the bytes you need via a ranged GET or drain the input stream after use.

Also this could be observed for a period of time, but did come up again so far:

com.amazonaws.services.s3.transfer.exception.FileLockException: Fail to lock /efs/tmp_goobi/5ef071ba-dcbe-4384-8de2-1368d919ef1d/b19595633.zip

shellserver instances have increased CPU and memory settings
staging goobi has parallel downloads disabled... still observing

No further issues have happened in the last 2 weeks. Closing and will open a new ticket if something else occurs.


Missing Environment Variables

I downloaded the zip file, extracted it and created a .env file in the root folder, I created a web account, got my credentials as:
APS_CLIENT_ID="some_string"
APS_CLIENT_SECRET="some_secret"
When I ran the node/yarn start commands I got "Missing some of the environment variables."
Then I started from scratch, created the project as suggested on Autodesk's getting started page, and I arrived at the same results. I can't get past this step. It's not clear what's missing, the error isn't well defined for me to take next steps. Please assist. Thank you.

Hi @inteldon, please note that the .env file is only loaded when you start the app using Visual Studio Code. If you want to start your app from the command line, you'll need to specify the environment variables yourself, for example, when bash:
APS_CLIENT_ID="..." APS_CLIENT_SECRET="..." yarn start


return !granted to unknown role

Hi, is there a constraint to trigger an exception on an unknown role instead of returning false to granted method ?
Thanks

An "unknown role" shouldn't get there in the first place.
If you mean a denied role; then you can throw if you like but it'd not be friendly.
If I'm getting you right...


Extend Ion Schema

[ ] Create PerovskiteIon(PureSubstance) entity with properties from Jesper's schema

[ ] With three inheriting sections PerovskiteIonA, PerovskiteIonB, and PerovskiteIonC

[ ] Create PerovskiteComposition(CompositeSystem) entity that contains references to the Ion entities

[ ] Also includes impurities = subsection(section_def=Component)

[ ] Create a parser to create Ion entities from excel file (most importantly import once from existing excel file)
[ ] Create a python function for querying and exporting a PerovskiteCompositon as a json with the ion references resolved in place and the nomad specific information removed
[ ] Create an example jupyter notebook that queries PerovskiteComposition and Ion entities and uses the function above to export them

Later:

[ ] Replace/extend the PerovskiteSolarCell.perovskite subsection with PerovskiteComposition

Original schema from @Jesperkemist
definitions:
  name: 'Perovskite composition'
  sections:
    perovskite_composition:
      quantities:
        # To be generated in the back end
        short_form:
          type: str

        long_form:
          type: str

        # Parameters to be given by the user
        composition_estimate:
          type:
            type_kind: Enum
            type_data:
              - 'Estimated from precursor solutions'
              - 'Literature value'
              - 'Estimated from XRD data'
              - 'Estimated from spectroscopic data'
              - 'Theoretical simulation'
              - 'Hypothetical compound'
              - 'Other'
          description:
          m_annotations:
            eln:
              component: EnumEditQuantity

        sample_type:
          type:
            type_kind: Enum
            type_data:
              - 'Polycrystalline film'
              - 'Single crystal'
              - 'Quantum dots'
              - 'Nano rods'
              - 'Colloidal solution'
              - 'Amorphous'
              - 'Other'
          description:
          m_annotations:
            eln:
              component: EnumEditQuantity

        dimensionality:
          type:
            type_kind: Enum
            type_data:
              - '0D'
              - '1D'
              - '2D'
              - '2D/3D'
              - '3D'
              - 'Other'
          description: The dimensionality of the perovskite, i.e. 3D, 2D, 1D (nanorods), quantum dots (0D), etc.
          m_annotations:
            eln:
              component: EnumEditQuantity

        band_gap:
          type: float
          unit: eV
          shape: []
          description: Band gap of photoabsorber in eV.
          m_annotations:
            eln:
              component: NumberEditQuantity
              defaultDisplayUnit: eV

      # Sub sections
      sub_sections:
        a_ions:
          section: '#/Ions'
          repeats: true

        b_ions:
          section: '#/Ions'
          repeats: true

        c_ions:
          section: '#/Ions'
          repeats: true

        secondary_phases_impurities_and_dopants:
          section: '#/Materials_in_layer'
          repeats: true
    Ions:
      quantities:
        abbreviation:
          type: str
          shape: []
          description: The standard abbreviation of the ion. If the abbreviation is in the archive, additional data is complemented automatically
          m_annotations:
            eln:
              component: StringEditQuantity

        coefficient:
          type: float
          shape: []
          description: The stoichiometric coefficient
          m_annotations:
            eln:
              component: NumberEditQuantity

        # Here we could have one boolean filed asking if teh remainder of the ion data should be read for online source

        # Here we could give a text field asking for teh source of the ion data, but  with a predetermined default answer

        common_name:
          type: str
          shape: []
          description: The common trade name of the ion
          m_annotations:
            eln:
              component: StringEditQuantity

        molecular_formula:
          type: str
          shape: []
          description: The molecular formula
          m_annotations:
            eln:
              component: StringEditQuantity

        smile:
          type: str
          shape: []
          description: The canonical SMILE string
          m_annotations:
            eln:
              component: StringEditQuantity

        iupac_name:
          type: str
          shape: []
          description: The standard IUPAC name
          m_annotations:
            eln:
              component: StringEditQuantity

        cas_number:
          type: str
          shape: []
          description: The CAS number if available
          m_annotations:
            eln:
              component: StringEditQuantity

        source_compound_smile:
          type: str
          shape: []
          description: The canonical SMILE string
          m_annotations:
            eln:
              component: StringEditQuantity

        source_compound_iupac_name:
          type: str
          shape: []
          description: The standard IUPAC name
          m_annotations:
            eln:
              component: StringEditQuantity

        source_compound_cas_number:
          type: str
          shape: []
          description: The CAS number if available
          m_annotations:
            eln:
              component: StringEditQuantity


Fix runtime tests

The byte stream needs to be decoded before it can be compared to the
string running....
@javierhonduco  seems like this broke with the merge of #651, but tests pass? Might be python 3 version related. I'm testing with Python 3.6.8 on ubuntu 18.04

Oops, good catch! Thanks for fixing it
(If you are referring to the Travis-CI test, that's normal because runtime tests are not run at the minute in CI )

LGTM

Interesting, this is causing tests to fail on my machine.
Traceback (most recent call last):
  File "main.py", line 66, in <module>
    main(args.tests_filter)
  File "main.py", line 31, in main
    status = Utils.run_test(test)
  File "/home/mmarchini/workspace/iovisor/bpftrace/build/tests/utils.py", line 109, in run_test
    nextline = p.stdout.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 118: invalid start byte

Which is why I removed all .decode()s from utils.py in an early commit (#466). Maybe that's an environment issue? @javierhonduco @fbs any thoughts?

The test that's crashing here is usdt."usdt probes - filter probes by pid on provider

Ok, changing from decode() to decode('utf-8', 'ignore') (which is what was being used a while back) fixes the issue. Guess the problem I had earlier was a Python 2/3 difference. I'll send a PR to fix that.

Weird... can't repro with Python 2.7.5, but the change looks good to me :)

Weird... can't repro with Python 3.6.3rc1+, but the change looks good to me :)

Yeah I recall running this on my box just fine too.


Failed running the binary tesseract created

I create a binary tesseract,but when i try to run it,it searches for leptonica files.Isn't leptonica too statically linked?because to use it in aws lambda,i will need to build leptonica then.

Did you do: sudo apt install libleptonica-dev? Or just installed the package libleptonica-dev using your package manager?

When running on Debian Buster, it requires at least liblept5 and libgomp1 packages to be installed (and maybe even more deps, I've stopped my research at that point).
It would be awesome to fix the build to output truly static tesseract binary.

When running on Debian Buster, it requires at least liblept5 and libgomp1 packages to be installed (and maybe even more deps, I've stopped my research at that point).
It would be awesome to fix the build to output truly static tesseract binary.

tesseract is built on ubuntu:bionic, you have to rebuild it on Debian Buster


Add AM_REVOKED_JWT to migration scripts

Related to https://github.com/wso2/product-apim/issues/5464


Fixed UUIDs for Alerts

The UUIDs generated for the Alerts raised by the Edge Agent currently change every time the Edge Agent is restarted. This is not ideal, as the Directory has no way of knowing the new alert is a replacement for the old and will keep indexing both.
Since we have no information available to us except our own UPN, UUID and Sparkplug address, I propose using v5 UUIDs under the following scheme:

Use the existing Factory+ UUID 11ad7b32-1d32-4c4a-b0c9-fa049208939a as the v5 UUID namespace.
The name within this namespace is a string composed of colon separated parts.
The first part is a subtype, also a UUID in canonical string format.
The subtype 8a4dc2f4-2f9f-45fc-b2e9-ed7b9cda6145 is hereby reserved for generating Instance_UUIDs from fixed metric names.
Names of this subtype have two more parts: a Device UUID and a string metric name.
The metric name must be the folder prefix of the Instance_UUID metric we are generating.

So an alert based at Alerts/Config_Invalid for a device with uuid 11111111-2222-3333-4444-555555555555 would have a metric Alerts/Config_Invalid/Instance_UUID generated with
uuid.v5(
    "8a4dc2f4-2f9f-45fc-b2e9-ed7b9cda6145:11111111-2222-3333-4444-555555555555:Alerts/Config_Invalid",
    "11ad7b32-1d32-4c4a-b0c9-fa049208939a");

This needs moving to amrc-connectivity-stack.


Microsoft Skype Room system v2

Dear Sir/Madam, I don't have much information about the skype room system. I've got a question for you. I just want to install the Microsoft Skype Room System V2 on my Lenovo y700 laptop. Can I do it?
*I have an Office 365 Business Premium account.
Why do I want this?
*I want to install a fixed computer in my room and just open the Skype application.

@mcterzioglu thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


how to compile application to wasi?

hello, how can i compile pyhon's application to wasi?

Can you provide some more detail as to your question? Are you trying to compile Python to WebAssembly? Or are you trying to use this dependency? Or perhaps something else altogether?

i want to know is it posible to compile Python to wasi(WebAssembly System Interface)? then i learn more infomation, find the answer is no. right?

I believe right now it's not possible to do so without modifying the Python source. I know some folks are working on making this easier, but that's also not what this repository is for. This repository is a Python embedding of Wasmtime which is for native Python applications to execute WebAssembly code using Wasmtime.

ok,thank you for your answer.


clahub.com doesn't provide SSL access

I really like the idea and I'd like to contribute to a project that uses CLAhub to manage CLAs. I know there are some cost added by getting a SSL-certificate in order to enable HTTPS but I'm not so much in favour to use a service that requires me to pass personal data like a phone number yet doesn't provide at least transport security.
Instead of barking about missing tin foil hats, what would be needed to get SSL on clahub.com? :)

Closing this since it appears HTTPS is working.


Simply does not work at all

Description
When trying to format a document, VS Code reports "There is no formatter for 'xml' files installed."
Formatter Implementation
I have not adjusted this. Setting it to any value has no effect.
XML Tools Version
2.5.1
VS Code Version
1.47.3
Operating System
Windows 10

Seems to be somehow related to WSL. The feature works as expected outside of WSL.

Interesting, I've encountered the same issue. I have WSL 2 myself.

the feature works as expected outside of WSL

What do you mean? Do you mean when not running VS Code with the Remote - WSL extension?
If so, I tried VS Code with the Remote - WSL extension installed, uninstalled, and disabled, but still go the same no formatter error.

When I use the extension locally on the Windows side, it works as expected. Like when I just open a folder in VS Code from Explorer.

I'm closing this in favor of #283. This is planned, but I unfortunately have zero bandwidth right now for this extension. Once I get some free time on my hands, I'll continue working on this. Thanks!


added a message when account has no hotspots

Fix #157
Hi @danielcolinjames. Please review this PR.

You may also be able to solve this by setting the emptyText in the Ant Design Table. Documentation here: https://ant.design/components/table/

You may also be able to solve this by setting the emptyText in the Ant Design Table. Documentation here: https://ant.design/components/table/

nice @abhay, good to know that's there, thanks 👍


Error - Homebridge Crash

Any help with this error would be great. Node js 6.7, npm3. plugins - sonos, indigo, nest and alarmdotcom
events.js:160
throw er; // Unhandled 'error' event
^
Error: connect ENETDOWN <IP_ADDRESS>:1400 - Local (<IP_ADDRESS>:54365)
at Object.exports._errnoException (util.js:1036:11)
at exports._exceptionWithHostPort (util.js:1059:20)
at connect (net.js:874:16)
at net.js:963:9
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)

"ENETDOWN: A socket operation failed because the network was down." It looks like the network is down.


Document steps to build a source tarball from dotnet/installer

Before we had the vmr, we built a source tarball from dotnet/installer.
Now most of that is handled by automation and we get the resulting sources from the dotnet/dotnet repository.
When making some changes to the dotnet/installer repository, it can still be useful to turn those into a source tarball.
This is a request to document those steps.
Or maybe my understanding of how these pieces fit together is out-dated, and this request doesn't make sense.
cc @premun @MichaelSimons @omajid

My question isn't about creating a source tarball from dotnet/dotnet, but from dotnet/installer.

Hey,
There are few ways to achieve this:

Initialize a new, fresh VMR from installer. This might be rusty but if you'd call
./build.sh /p:InitializeVmr=true /p:VmrDir=/target-folder from dotnet/installer
and it would initialize a new VMR. However, we don't really exercise this flow much. I see there's 2 missing parameters in here missing but that's an easy fix.
Synchronize your new installer commit into an existing VMR (can be all done locally) via vmr-sync.sh. This is much safer and we run that dozens of time daily as it's used for the actual synchronization of dotnet/dotnet. (You can use the "remotes" option to point to a local installer repository)
Use GitHub Codespace where instructions are in the README that opens automatically when the Codespace is started (but it uses vmr-sync.sh in the background.
If you only want to test something, just go and change src/installer in the VMR directly - but I understand you don't want that for some reason? Such as you're changing versions of packages etc

So if you are after quick testing, I'd do 2 or 4, if you want to set up a process, maybe 1. would be the best (I can fix the problem there). If you want a full environment, 3 is the best but costs $..
Now for the ask itself to document this.. The synchronization based on installer is a temporary thing. However, temporary means probably next "almost a year" so I understand this could be more upfront in VMR's README so I will log an issue for that.

Oh yeah.. why did I create a duplicate for this... It's been a long day 😅

@premun - Are you going to capture these steps formally within our documentation?  What is needed to complete this issue?

@MichaelSimons I am not here tomorrow so that we could discuss this. If we want to support this, we'd need to think about it a bit more so that we have coverage for this as we do not really exercise this for anything. But maybe it's not an interesting feature really?

We have discussed this and the right way to bring in new changes from the installer repository is via the vmr-sync.sh script.
We will bring this more front into VMR's README.

Closing as resolved by https://github.com/dotnet/installer/pull/17414.


how to mount /apollo/data folder to another disk

Hi everyone,
I'm just starting using apollo 2.0 on my desktop. There is the problem I met. My desktop has 2 disks, one is about 200G ssd, and another disk is 1T hdd. I installed the Ubuntu1604 and apollo 2.0 on ssd. At the beginning, I did not pay attention to the disk usage on ssd. This morning, after I reboot the computer, I failed to access into the system with this message
Low disk space: The volume "Filesystem root" has only 0 bytes disk space remaining...

I force deleted some documents and enter into the system. I mentioned that apollo occupies 150G on the disk. The folder apollo/data takes about 135G.
Therefore, is it ok that I move the apollo/data out of the apollo root folder to a hdd disk, and make a link back to it? Or maybe there's a solution that I could modify the data configuration settings, but how? ( I find a recorder.global.yaml under apollo/modules/data/conf folder, only need to modify this file or anything else?)
Thank you smart guys and have a nice day!

The quick and easy way is to create a softlink for apollo/data, and link it to your HDD.
I guess the majority of the data is the log.
You can use glog's default '--log_dir' setting to point it to your HDD. You have to change it for each module in the 'conf/xxx.conf' file.

Thank you, I've done with the soft link way, it seems work well till now. :+1:


Documentation doesn't match playbook names

Describe the bug
Documentation lists slurm and kubernetes playbooks as slurm.yml and kubernetes.yml, but the actual names are slurm-cluster.yml and build-kubernetes-cluster.yml. They should match.
We should change the scripts to slurm.yml and kubernetes.yml to be consistent with other playbooks like kubeflow.yml.
To Reproduce
Steps to reproduce the behavior:

Look at the script names
Look at the documentation

Expected behavior
The same names should be used uniformly.

I will address this in #97


ux: Remove duplicate connection-error message.

fixes #4703.

Automated message from Dropbox CLA bot
@aero31aero, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @aero31aero!


Fix power spectrum example notebook

This PR addresses issue #375 by adding an example for cosmologies with neutrinos to the notebook. It would be great if we could add all variants (emu+neutrinos, inverted hierarchy, etc).
The PR also adds an example of a case with baryons to that same notebook and moves the Correlation_3d example notebook from the tests/ to the examples/ folder.

Pull Request Test Coverage Report for Build 1531

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

Totals

Change from base Build 1518:
0.0%

Covered Lines:
515

Relevant Lines:
545

💛  - Coveralls


encoding into SDK and sending mavlink messages to the drone.

I have already imported a teleoperation package from github which uses keyboard and written in python also I think that I should use the offboard mode for my task but I don't know how I can encode this teleoperation package into SDK and how to send this mavlink message to the drone.

That's not clear to me. What is this package, and what do you mean by "encode this package into SDK"?

You need to provide more details for us to help. Provide the code that you already have. Link to this "teleoperation package". Explain what you're trying to achieve.
Also, it might be a good time to learn about what a C/C++ library is, what header files are, what a binary is and how it all fits together.

Closing due to inactivity.


Add more markdown render hooks

What i need is the
 element, to replace it with an inline svg which has a role="separator" on it like what Sarah did in this post.
I know that it is purely stylistic, but it seems trivial to implement since it does not need much context and useful to have, well i mean it could not hurt anyone to have it.
Also, it would be nice to customize lists with hooks. I mean the
 and
. Font awesome has a nice usage for their icons as list markers documented over here.. It needs classes on both ul, ol as well as
 elements, and icon spans before list item content.
I know that both of these could be more than easily be solved by using shortcodes (as i already solved them) but i do not want to, the whole point of having render hooks is that to have clean and readeable markdown that renders nice with content perfectly decoupled from code. I generaly do not like to use shortcodes (much). They are quite powerful, but with great power comes great responsibility so they quickly overcomplicate documents.
Is these good enough to consider? Also, i would like to know why do we have so few render hook kinds? Is there a reason to have only the ones currently supported? Is there plans to adding more?
Kind regards,
Á.

Also, i would like to know why do we have so few render hook kinds? Is there a reason to have only the ones currently supported? Is there plans to adding more?

They're costly to implement (relatively).
They're relatively slow, so having them for "every element" in Markdown would not be a great situation.

So, for us to even consider it, it needs to be 1. Important enough and 2. Not having a simple workaround.

@Aerobird98
Some of what you ask for is easily accomplished using markdown attributes; this article might be helpful.
config
[markup.goldmark.parser.attribute]
title = true # default is true; applies to h1-h6 elements
block = true # default is false; applies to other block-level elements

markdown
list
- one
- two
- three
{.my-class-a .my-class-b #my-id}

---
{.my-horizontal-rule #my-other-id}

name|age
:--|:--
Spot|3
Rover|5
{.my-class-foo #my-id-foo}

Hugo supports markdown attributes on images and block-level elements including blockquotes, fenced code blocks, headings, horizontal rules, lists, paragraphs, and tables.

Yeah, that i know. Markdown attributes are indeed useful for styling, but what i realy need, is changing the html output directly.
For horizontal rules, how can i replace the
 element with an inline svg without using any javascript or css background image hack? That is the power of markdown hooks, it would let me change the output without sprinkling complicated hugo specific markup in my markdown.
For lists, yeah, i can add the classes to the ol and ul, but not the li, also doing that every time i need to style the table.. not so content creator friendly, markdown hooks are.
I tend to use attributes (and shortcodes) sparingly.
I already claimed that it is easily solvable, i solved both with shortcodes, they are fine, but feels ugly and unelegant, out of place, i need to remember their specialized markup, what classes to use etc.. but thanks anyway.
I still think that, more markdown hooks could be a fine enhancement for hugo, no other static site generators work like this (that i know of).
I stick to using shortcodes for the time being.
Thank you for the realy quick answers and help, Hugo is awesome!
Kind regards,
Á.

Supporting ol and ul through a _default/_markup/render-list.html would be extremely useful. These render hooks are a great method to apply consistent styling with Tailwind to the render template or simply extending the default DOM produced.
I look forward to this, if it makes it into an upcoming release.

I'm closing this. We have hook coverage for the important parts, and much more than I imagined we'd cover.


Remove unnecessary assignment sorting code.

This approach will save us from using our own assignment sorting code.

commit 81a401083e5a4fd2d9720fd015dd7d515b808f83


CI run for PR #9527

This Pull Request is created automatically to run the CI pipeline for #9527
Please do not alter or merge/close it.
Feel free to review/comment/discuss the original PR #9527.

https://github.com/neondatabase/neon/pull/9527 had been merged


gherkin-perl: Gherkin uses feature from perl5.12 but only requires perl5.10.1   language:perl

gherkin-perl:  Gherkin uses feature from perl5.12 but only requires perl5.10.1

Summary

When running gherkin on perl 5.10.1 (the minimum supported version), the "..." lines in Gherkin::Pickles::Compiler cause a syntax error, perl minimum version should be increased or '...' feature  not used
Expected Behavior
'gherkin' command should parse and run and return ndjson formatted messages

Current Behavior
gherkin command fails with syntax error

$ gherkin
syntax error at /home/gherkin/perl5/lib/perl5/Gherkin/Pickles/Compiler.pm line 35, near "..."
syntax error at /home/gherkin/perl5/lib/perl5/Gherkin/Pickles/Compiler.pm line 171, near "..."
Compilation failed in require at /home/gherkin/perl5/lib/perl5/Gherkin.pm line 9.

Possible Solution
One of

Gherkin module should have 5.12 as the minimum version, and not be installable on 5.10.1, or
Gherkin::Pickles::Compiler should use 'die "Unimplemented";' instead of '...', making it 5.10.1 compatible

Steps to Reproduce (for bugs)

perlbrew use 5.10.1
cpanm Gherkin
gherkin

Context & Motivation
Trying to use Gherkin to parse files on an old system (Centos 6, Perl 5.10.1)

Your Environment

Version used: Gherkin-18.1.1
Operating System and version: CentOS 6
Link to your project:

Thanks for the report! We'll get this fixed (back to 5.10.1) and organize a release.


Add support for querying on RealmLists

Add support for querying RealmLists.
/**
 * Query the objects of a list by the `filter` and `arguments`.
 *
 * @param filter the Realm Query Language predicate to append.
 * @param arguments Realm values for the predicate.
 */
public fun <T : BaseRealmObject> RealmList<T>.query(
    filter: String = TRUE_PREDICATE,
    vararg arguments: Any?
): RealmQuery<T>

This is added as an extension method as we cannot add the method fun query(...): RealmQuery<T> on the RealmList interface as RealmQuery has an BaseRealmObject upper bound which RealmList do not.
TODO:

[x] Changelog entry
[x] DynamicRealmObject support
[x] Exception categorization

Closes: #1037

I am a bit concerned that CI has a StackOverflow when building, but nothing in the PR caused any alarm to me..maybe something about the query changes 🤔

The StackOverflow is just gradle that doesn't report the errors correctly. The actual build error was just some build error from making the queryPointer private. Thought the @Supress("invisible...") didn't care. Making it internal again fixed it ... at least locally

@cmelchior The missing tests showed quite some issues with our flow, so probably sane with another round. Also discovered this dangling PR with part of the same functionality but didn't deem the tests of all the aggregates essential for this PR. Is this really needed?

Hello,
How come it's still not available in the snapshot?


update workflow for snapshot

Codecov Report

Merging #47 (1582b1a) into master (d31546b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #47   +/-   ##
=========================================
  Coverage     50.19%   50.19%
  Complexity       74       74
=========================================
  Files            16       16
  Lines          1291     1291
  Branches        246      246
=========================================
  Hits            648      648
  Misses          525      525
  Partials        118      118

Continue to review full report at Codecov.

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


[Feature Request] - Support Mac M1 chip

It can not be installed on my mac book air m1.
will you have a plan to support it?

Yes, it's in my plan for the next release, though I need to make the docker file to cross-build on my x86 mac

I start to have some doubts on how this thing can be implemented:

there's no way to run a macos image on docker, so no buildx
I wasn't able to cross-build with rust, because I need some C libs for arm, such as the libssl so I should check if I'm able to set this up.

M1 package be available from 0.8.1


fix: keep user-defined options during block2 transfers

Fixes #365.

I approved, but maybe lets wait if the user can check it

Thank you :) Yeah, let's wait for them. In the meantime, I rebased the PR and squashed the commits into one.

feel free to merge :-)

For some reason, the CI fails on Master now for Node.js 20 :/ Will try to investigate that, maybe we need to temporarily revert the merge, though.


Notification

Hello to all. It is a great application I just finished to update the material design. Only problem not work chat notifications. if sending a notification from the site of quickblox notifications appear. also appear when you make a call but can not quite notifications for chat messages. you can help me solve?

Hi @EminDemiri  I am not even able to receive notification from site. how you implemented this can you please help.

How to receive notification from the site?


Add an example

Challenge Pairwise has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

function pairwise(arr, arg) {
  return arg;
}

pairwise([1,4,2,3,0,5], 7);

As an improvement, can you add an example to clarify the following ?
If multiple pairs are possible that have the same numeric elements but different indices, return the smallest sum of indices.
Thanks

@jinz2014 thanks for the feedback. There's another issue suggesting a similar addition to the Pairwise challenge https://github.com/FreeCodeCamp/FreeCodeCamp/issues/9037. Please take any additional comments over there. Happy coding!

A few suggestions:
1 Is there a next/previous button to go to the next/previous question ?
2 Are the solutions to questions stored somewhere when you sign in again ?
Thanks
From: Eric Leung<EMAIL_ADDRESS>Sent: Wednesday, October 12, 2016 2:38 PM
To: FreeCodeCamp/FreeCodeCamp
Cc: JIN, ZHEMING; Mention
Subject: Re: [FreeCodeCamp/FreeCodeCamp] Add an example (#11177)
Closed #11177https://github.com/FreeCodeCamp/FreeCodeCamp/issues/11177.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/FreeCodeCamp/FreeCodeCamp/issues/11177#event-821489712, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHcEcI5dX89qFoo6S-JnztJ5IcJvsEeyks5qzTcGgaJpZM4KVETw.

@jinz2014

There is no previous or next button. There is a discussion on improving challenge navigation here https://github.com/FreeCodeCamp/FreeCodeCamp/issues/10423.
If you visit your FreeCodeCamp profile page, you can see your coding solutions for each challenge https://www.freecodecamp.com/jinz2014

Thank you for your email!

From: Eric Leung<EMAIL_ADDRESS>Sent: Wednesday, October 12, 2016 5:51:37 PM
To: FreeCodeCamp/FreeCodeCamp
Cc: JIN, ZHEMING; Mention
Subject: Re: [FreeCodeCamp/FreeCodeCamp] Add an example (#11177)
@jinz2014https://github.com/jinz2014

There is no previous or next button. There is a discussion on improving challenge navigation here #10423https://github.com/FreeCodeCamp/FreeCodeCamp/issues/10423.

Reply to this email directly, view it on GitHubhttps://github.com/FreeCodeCamp/FreeCodeCamp/issues/11177#issuecomment-253349877, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHcEcBB0c80Ul9I_ZjQCG6aAm0rHdbvbks5qzVZpgaJpZM4KVETw.


Create CVE-2015-3397 for yii2 and extensions

Affected packages:

yiisoft/yii2 <2.0.4
yiisoft/yii2-dev <2.0.4
yiisoft/yii2-bootstrap <2.0.4
yiisoft/yii2-gii <2.0.4
yiisoft/yii2-jui <2.0.4

Announcement: http://www.yiiframework.com/news/86/yii-2-0-4-is-released/
The fixing commit: https://github.com/yiisoft/yii2/commit/78d3a856d3b2691a6071d23acd0f75cafe3808e0

this one is ready for merge now.

@fabpot @GrahamCampbell I have reverted the branch name to 2.0.x

Thanks!


Installtion????

wget https://github.com/biscuits99/rp-video-manager/releases/download/{release-number}/rp-video-manager.zip
What is {release-number}? Should I use the force to guess what it is?
Release number of this utility? Release number of retropie? release number of Star Wars?

Yes, use the force in the first instance, if that fails use the release tab info:
https://github.com/biscuits99/rp-video-manager/releases


java.lang.Exception: Could not find valid metadata

What is the output link of /viaversion dump?
http://hastebin.com/umagevoxay.json
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
BungeeCord
How does this error happen? login? Using an item?
I dont now, its happend very often
Is there an error in the console? Use pastebin.com. Is there a kick message?
http://pastebin.com/EBsZkCXb

One of your plugins is sending invalid metadata, make sure that all your plugins are compatible with spigot 1.8.x. You can disable this informative exception by enabling suppress-metadata-errors in the config.


Changes the procgen clouds parallax with a solid nebulae

About the PR
The cloud toml procgen thingy we use for space is kind of ugly, so I have replaced it with a nebulae parallax in the meantime. Maybe someone will code a pretty procgen someday.
Screenshots

Rapidly moving lights warning!
https://user-images.githubusercontent.com/43253663/167268869-69284fdd-1278-46a3-935c-deeb6c5bb847.mp4
Changelog

:cl:

add: The space pollution has cleared, and now you can see the bright nebulae once hidden behind the space clouds.

this tiles too quickly imo

I can always make it 2,2 but that ruins the quality.

Or make it slower!


Change set_drag_forwarding() to use callables.

This solution is much cleaner than the one in 3.x thanks to the use of callables.
Works without issues in any language (no need to worry about camel or snake case).
Restored Callable::call using varargs.
Editor code uses a compatibility function (too much work to redo).

Fixes #59899

Ok I gave it a test and I see 2 problems (although one of them already existed).
The doc says

The function format for each callable should be exactly the same as the virtual functions described above.

Which is not true. The forwarded functions take one additional argument - the source control. The description needs to state that. And I think the code example might be still needed due to this.
Another thing, which would've saved me some time I wasted trying to test these methods, would be printing an error if a call fails. I mean, if you assign a valid Callable, then it should be validated. If the method call ends with an error, the error should be reported instead of failing silently.

@KoBeWi Good point on that, I forgot about it. I will remove the source control so, if you want to add it back you can just bind it to the callable. I will also make it print errors if the function fails.

@KoBeWi Alright, changed it based on your feedback. Now the signature is exactly the same (the _compat function does the bind so it keeps working) and if the callable fails, it prints an error.

Thanks!


learning.oreilly.com video broken - youtube_dl.utils.RegexNotFoundError

Checklist

[ X ] I'm reporting a broken site support
[ X ] I've verified that I'm running youtube-dl version 2019.05.11
[ X ] I've checked that all provided URLs are alive and playable in a browser
[ X ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ X ] I've searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dl -v -n --sleep-interval 60 --write-sub --convert-subs srt --playlist-reverse --skip-unavailable-fragments -ic  --socket-timeout 5 --retries infinite --write-description --write-info-json --write-annotations -o "%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s" https://learning.oreilly.com/videos/clean-code/9780134661742/ --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-n', '--sleep-interval', '60', '--write-sub', '--convert-subs', 'srt', '--playlist-reverse', '--skip-unavailable-fragments', '-ic', '--socket-timeout', '5', '--retries', 'infinite', '--write-description', '--write-info-json', '--write-annotations', '-o', '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s', 'https://learning.oreilly.com/videos/clean-code/9780134661742/', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.05.11
[debug] Python version 3.4.2 (CPython) - Linux-4.4.38-v7+-armv7l-with-debian-8.0
[debug] exe versions: avconv 11.12-6, avprobe 11.12-6
[debug] Proxy map: {}
[safari:course] Downloading login form
ERROR: Unable to extract csrf token; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/home/alex/.local/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/home/alex/.local/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 528, in extract
    self.initialize()
  File "/home/alex/.local/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 432, in initialize
    self._real_initialize()
  File "/home/alex/.local/lib/python3.4/site-packages/youtube_dl/extractor/safari.py", line 27, in _real_initialize
    self._login()
  File "/home/alex/.local/lib/python3.4/site-packages/youtube_dl/extractor/safari.py", line 51, in _login
    login_page, 'csrf token')
  File "/home/alex/.local/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 1013, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/home/alex/.local/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 1004, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract csrf token; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

This same command and URL was working few days ago. I guess that something changed server side. I cannot provide the credential but I can run further debug if needed.

Hi, I was able to download yesterday and encounter the same problem now

they changed their login procedure just have to change some lines in the codes I think

Can you point to the change they did?
May be we can try a workaround.
On Tue, May 14, 2019 at 11:18 AM yaasin12<EMAIL_ADDRESS>wrote:

they changed their login procedure just have to change some lines in the
codes I think
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/21090?email_source=notifications&email_token=AA3NM4AJQFWG2ZWRNG7SOY3PVJ7VJA5CNFSM4HMTXEVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVK3SXY#issuecomment-492157279,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3NM4AQF2WFDL5SWIWBLJ3PVJ7VJANCNFSM4HMTXEVA
.

any updates on this?


Phasing

some standard for this - will perhaps apply to some gaseous form etc.
Can't be hurt by Physical/Energy, only Mental and Mystical - so currently would make them immune into psionic and mystical attacks implemented - other basic attack types
A more complicated attack choice problem here and the basic 'best preferred attack' pattern won't work, need fancier algorithm.

Basic version done.


Extending the CanImportRecords trait by delimiter guessing

Most of the time, the delimiter in CSV files can be guessed by the ammount of appearance in the file.

[x] Changes have been thoroughly tested to not break existing functionality.
[x] New functionality has been documented or existing documentation has been updated to reflect changes.
[ ] Visual changes are explained in the PR description using a screenshot/recording of before and after.

Please change this so that the reader is optionally passed to getCsvDelimiter(), which also handles the guessing. Instead of checking twice each time.

I edited my commit.


Adding support for .ejs files

Also fixes [#15 ],[#14 ].
@bookshop/ejs-engine needs to be directly linked to, but it needs to exist first. I plan to do this after merge.
Sorry about the formatting of the document -- I accidentally formatted it halfway through.
P.S. The .ejs engine is transpiled because ejs needs to be browserified -- it has require(fs)'s in it.

@bglw

Great! Thank you for your review!

It would be great if we can avoid having to transpile this engine.
If you include the client build<EMAIL_ADDRESS>then we can run it in the browser without any transpilation. I don't think there's an npm module with the client build, but that file looks requirable if it were dropped in.

I'll do this.
However, I think this is potentially problematic. Transpiling allows us to keep up to date with the latest ejs package, but maunally copying a script so require will work natively makes it harder to update.
There are also other advantages of transpiling (e.g. ES2020 support for older node LTS versions) which I am sure you are aware of.

You'll also need to add support for includes inside ejs files. You can see how to handle includes on their Github: mde/ejs#caveats

So on catching an include you'll need to do the network request to get a file and return it (similar to underscore-engine behaviour)

Great! Thanks for this. I will start adding this now. Good catch!

Great! Thank you for your review @bglw !

It would be great if we can avoid having to transpile this engine.
If you include the client build<EMAIL_ADDRESS>then we can run it in the browser without any transpilation. I don't think there's an npm module with the client build, but that file looks requirable if it were dropped in.

I'll do this.
However, I think this is potentially problematic. Transpiling allows us to keep up to date with the latest ejs package, but maunally copying a script so require will work natively makes it harder to update.
There are also other advantages of transpiling (e.g. ES2020 support for older node LTS versions) which I am sure you are aware of.

Let's do this more problematic way for now, just so we don't have to deal with transpilation for the bookshop refactor that's in the pipes. After that, we can revisit this setup.

You'll also need to add support for includes inside ejs files. You can see how to handle includes on their Github: mde/ejs#caveats

So on catching an include you'll need to do the network request to get a file and return it (similar to underscore-engine behaviour)

Great! Thanks for this. I will start adding this now. Good catch!
🤙

Hey @bglw , have removed webpack.
Just working on the include behaviour now :)

Hey @bglw , includes now work in storybook!
The syntax matches the ejs spec e.g. include('components/button/button.ejs', { props: { text: props.text, type } });,
This should be good to go, I think!

Also, cleaned up the diff a bit by undoing my prettier format, so should be nicer to read

Thanks @bglw

Just checking - you access variables through a key props? So you would expect <%= include.text %> rather than <%= text %>

I think that you don't necessarily need to key the passed data to props - this is just mapped from the storybook loader render function (operates the same as your underscore engine). Here is the syntax for an include in a .ejs file:

Curious about the decision to override the include variable rather than using the include callback feature ejs has?

If you do intend to use the override instead, looks like you will also need to provide it in an included file. Looking at it I don't think including a file that includes a file will work as is.

As is, including a file that includes a file seems to be working fine.
Here is an example of a file that includes a button component, and the button component includes an input component i.e.:
overview
-> button.ejs
-> filter.ejs
:

Is this okay? The current solution was just the easiest one, and it seems to work fine for the storybook.
Ofc, the loader for the app will have to be different

@bglw We've decided to make the props the only data passed in, so the new syntax for importing will be:
<%- include('components/button/button.ejs', { text: props.text, type }); %>
```.

It is not as general as it could be, the benefits are component consistency and succintness


Conflict with Numerals Plugin

May be a bit outside of the scope of this plugin. I have another plugin called Numerals that acts as a calculator within the notes. It also uses the math block, so there is a conflict with the two where it either chooses Excalidraw or the Numerals mathblock depending on the order the Plugins were installed. Is there an easy way to change the type of block this plugin works for? I had tried editing the "registerMarkdownCodeBlockProcessor" in the .js file, but this led to "\int_{#1}^{#2}" to render an integral being replaced with "\in t_{#1}" which was unintended.

This isn't a conflict, it's happening to me too. This needs to be fixed ASAP.

This should be fixed in the latest release.


Polymer 3 Example unchecks last item when previous item is deleted

thanks for reporting. will get on it as soon as I can. If you have polymer 3 knowledge feel free to give it a crack.

Submitted a PR that fixes this https://github.com/shprink/web-components-todo/pull/21

It is fixed on prod. Thanks guys


Can't use the plugin

Hi, Could you please, illustrate for us how to use this plugin in Android studio with some screenshots.
Thank you

The plugin works as expected. You saved me lot of research time. Thanks to creator!

@EngMahmoudMagdy This repository doesn't seem to be maintained anymore. I have created a fork of this repository and published a new plugin here https://plugins.jetbrains.com/plugin/20377-postman-to-retrofit2-v2 which includes screenshots. Any feedback is appreciated.


Yosemite skin improvements (work in progress)

I'm working on the Yosemite theme to make it look more similar to a native app like iTunes.
Would be okay if I send a PR with my edits?
I need a way to change the position of the window controls because they should be some some pixel higher...
Thanks!

Made some progress on it:

Styled the progress bar:

@kbhomes could you kindly reply?
By the way I've improved the look and feel adding a different style to the header when inactive.

Well. I like it personally. I've been ready to rid of titlebars since 2010.
Vertically center the toolbar more. Do something with the search bar to make it smaller...
Try to merge the controls with the top toolbar. Get rid of the (dis)like etc buttons...I'd just keep play and next, and maybe a longhand to go back somehow. That could be pretty and save a LOAD of space.
Trash back and forward navigation buttons. Most of us can swipe or use a keyboard.
Personally, I like it though. Friggin hate toolbars. And I realize my suggestions are really only my opinion. I dream of clean interfaces.

@FezVrasta where can I find patch with your improvements?
Looks amazing

@FezVrasta, does it still work with Google's new design...?

Well, no. But I hope it will be fixed soon :)

I'm not at home these days, next week I'll send a pr

<3

Sorry, completely broken with new ui :(


feat(client-services): Add NetworkService

Current dependencies on/for this PR:

main

PR #2163

PR #2170

PR #2185   👈

This comment was auto-generated by Graphite.


script to install tools

script to install 3rd party dependencies that are needed, but not a part of ros. Example include wstool, clang-format, clang-tidy, etc.

will incorporate in readme


 Since Classic components in Ember and the curly invocation syntax are essentially deprecated and many apps have moved on to using Angle Bracket syntax this functionality is not really needed anymore and removing it should not break too many apps.

Since Classic components in Ember and the curly invocation syntax are essentially deprecated

Just stumbled across this deprecation in an upgrade. 💯 agree, but can we convince ember core to deprecate these things officially :p


MRG: adds dependency habitat; gets API server/creds from environment

closes #1. ready for review-squash-merge.

@josmas @acabunoc tests passing locally; ready for review. the root of the struggle was that habitat is supposed to parse vars that it reads from the environment when they're obviously JSON-like (or booleans or numbers).  It appears to have not been doing that with the credentials, and I couldn't seem to change its mind, so this now builds auth out of two separate environment variables.  Would still be nice to get habitat working with a 'badgr' prefix, but I think that's lower priority and could be handled in a separate issue if it's something you folks want.

Hi @drammock thanks a million for this. I have squashed all the commits into one at https://github.com/josmas/badgr-client/commit/180993202fcad141e3b2fdddcf654aecb5e90286
It is now merged!


Revert "feat(core): add app-region: drag to data-tauri-drag-region (#9789)"

This reverts commit ae6b13dfc0590dcaedbdb619c148072f072df050.
While the app-region: drag does work correctly and fix the touch issue, it has a few differences:

Doesn't allow Right Click, as it will always show the system context menu
data-tauri-drag-region works only if the click was on an element that has it, this allows buttons in the custom titlebar to work, however app-region: drag will treat the whole area as a titlebar won't even allow clicks on buttons

The buttons issue could be solved by users if they structure their titlebar to separate the buttons container from the container that has app-region: drag, like this:

Window title

    <button> Minimize </button>
    <button> Maximize </button>
    <button> Close </button>

But realistically speaking, this will become harder when implementing a complex titlebar like VSCode custom titlebar implementation, and app-region: drag doesn't provide the needed flexibility.
In conclusion, I think we should revert this and just document that users can add app-region: drag if they wish so.

To be honest, vscode's title bar is implemented using app-region: drag, it's more about data-tauri-drag-region being not flexible enough (we don't have a way to add exclude zones), and about the menu thing, vscode uses some additional code to do that

https://github.com/microsoft/vscode/pull/155276
https://github.com/microsoft/vscode/blob/e82e806f172f30aecb0e6bb04c01f37780c16f22/src/vs/platform/windows/electron-main/windowImpl.ts#L149-L193

To be honest, vscode's title bar is implemented using app-region: drag

yes but it is cross-platfrom because they are using Chrome which is not the case for us,

I think we should go with the other way around, document this and let users to opt-out (they can just do app-region: no-drag) (or we add in a data-tauri-non-drag-region or something)

app-region: drag breaks consistency and compatibility of this feature between the different platforms we have and is why I want to revert this.
However the fact that app-region: drag allows dragging with touch, is a huge win for me and why I don't want to merge this yet.
I just want to discuss and find an acceptable middle ground.

I also hope to revert this commit. I think we haven't designed this yet. This update basically completely destroyed the software I wrote Tran. It originally had the entire window  draggable, and you can directly interact with the elements below by double-clicking, and you can also scroll, and the menu will not appear when you right-click. I thought about it for a long time last night and couldn't figure out how to do this elegantly under the current solution.

You can use *[data-tauri-drag-region] { app-region: unset; } for now to get the old behavior back
I'm still leaning towards using as much native things as possible (probably because I got hurt way too many times on bad custom ones), but those are all valid points on why this should be opt-in not opt-out, document this and making people opt-in if they only plan to use it as a normal title bar

You can use *[data-tauri-drag-region] { app-region: unset; } for now to get the old behavior back
I'm still leaning towards using as much native things as possible (probably because I got hurt way too many times on bad custom ones), but those are all valid points on why this should be opt-in not opt-out
Guess we can document this and making people opt-in if they only plan to use it as a normal title bar

I encountered a problem. I directly set its style or drag as you said. When I set the force, it cannot be dragged. But if I do not set it, but set the drag to unset in the console, it will be able to Drag and click (i.e. the old behavior)

We should merge this asap and release @lucasfernog , then we can iterate on a better solution in another PR


Proposal to move the project to Poetry

Hi,
I propose to move the project to poetry to have a centralised point to manage dependency.
Best regards

Hey @tuscaonline, thanks for this PR as well!
Do you have specific plans to continue working on this software? In that case, you could consider forking this project and maintaining a version in a different namespace.
I mainly developed this during my time at RWTH, but have left since and I think no one has actively continued on it for a while. I wouldn't mind adding a link to your fork to this project and archiving it in that case.
If you are proposing to introduce poetry over the current dependency "management" just for the sake of it, I don't think I'm the right person to review and maintain it.
PS: Very happy to see this being of use for others :-)

Hi,
Ok i wil do a cimpyormNG :) Thank you for this soft, i work for a tso is it very useful.


Improve server logging

Included support for winston.
server/logs/server.log - Store normal logs
_server/logs/exceptions.log _- Any exceptions, don't exit and print to standard out.
TODO: Future, support for more log levels in ui.log()


Home screen widget

I would love a home screen widget or a "create task" activity so I can make a custom shortcut to create a new task.

Ok, I will try to implement it, but it may take time, as there is a lot of other work.

Thank you for taking my feedback into consideration.

Yes, widgets are awesome, especially if the todo list can be viewed and edited without opening the application.

I would like to add support for this request. The lack of a widget where I can view my to dos and check them off is the one thing keeping me using Google tasks.
Amazing app in all other respects!!!

Hi, is there any update on the progress of this?


Use plain channel send or receive   SCC-S1000 for pkg/agent/tunnel/tunnel.go

Environmental Info:
K3s Version:  upstream

Node(s) CPU architecture, OS, and Version:

Cluster Configuration:

Describe the bug:

https://github.com/k3s-io/k3s/blob/master/pkg/agent/tunnel/tunnel.go#L96
use deepsource.io SaaS service to scan, it reports:
should use for range instead of for { select {} } (S1000)go-staticcheck
Steps To Reproduce:

Installed K3s:

Expected behavior:

the code should be refactor
Actual behavior:

Additional context / logs:

Backporting

[ ] Needs backporting to older releases

PR welcome.

Closing; nothing to test since it's just a refactor to meet style guide.


Adds pullrequest template and linter configs

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-28-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4132

Questions ?
Please refer to the Backport tool documentation