Can't fly the drone

I've modified the firmware adding the possibility to arm and control the drone directly from the companion computer, thus not needing any rc at all (even if it is an hazard); i'm trying to fly with a simple algo for altitude holding done by a pid controller that gets altitude from an ir sensor and sends a message with a 0 setpoint for the angles and the trottle as control variable.                                      My issue is that as soon as i send the take off command the drone start flipping at max throttle; i've seen other already opened issues on this, and i saw that i had to set properly the axis of the flight controller, but i have a doubt: flat drone should have a -9.8 acc on the z, +9.8 on the x when pitching up 90 deg and +9.8 on the y when rolling left 90 deg, but how should i orient the drone when checking the accelerations? i did that holding the drone from the back props, so pointing away from me and the drone flipped in the roll direction continuously when i did a test flight. I didn't try inverting the direction of the y axis and flying again because at this point crashes are too violent and i'm worried about breaking the raspberry pi.                                                                                I thought it might also be an issue related to the pid parameters of the provided controller, i've red on the docs that the standard values for the pid parameters should work reasonably well but that it also depends on the torque/mass ratio, and my drone is quite lite and powerful: it has 2207 2550kv motors with a 4s 80C battery and a 40A esc board. I was thinking it might have a too high gain and when it tries to correct small deflections it goes full gas.
I checked the imu data with rqt plot and it works well, it can detects also small high freq vibrations (for example when punching the table the drone is on), i don't know if that combined with a too high gain might be an issue,                                                                                Another thing i thought about is esc calibration, but i'm using a diatone mamba 4 in 1 esc board with DSHOT, so it should work with digital signals and no neeed for calibration, but i'm not sure about this point.
To check if the issue was related to the boards not working properly/ the imu being too sensitive a tried running everything without props and holding the drone in my hand: the algorithm works as expected and there is no issues with motors, i can hear small corrections as the drone wobbles around but nothing goes crazy.
I thought it might also be the MOTOR_PWM_UPDATE parameter since i don't know which values i should set it to, but i think that if it wasn't properly set i should have experienced issues also without props.
The MIXER parameter is set to 2 (it's a quadx frame), motors are spinning in the right directions.
At this point i don't know what to do, hope you can help

I know it's been a while, do you still need help with this?


Support for mingw

Steps

Install msys2 on Windows 10
Install mingw-w64-x86_64-python3 and mingw-w64-x86_64-python3-pip by pacman in msys2
Upgrade pip by python3 -m pip install --upgrade pip
Run python3 -m pip install opencv-python, gives the following errorCollecting opencv-python
  Could not find a version that satisfies the requirement opencv-python (from versions: )
No matching distribution found for opencv-python

Run python3 -m pip install opencv-python==<IP_ADDRESS> -v, gives the following error...
    Skipping link https://files.pythonhosted.org/packages/a1/45/69946e94e511171b6956f683cc905642fe8271ca8a637bb0d828764d9051/opencv_python-<IP_ADDRESS>-cp37-cp37m-macosx_10_6_x86_64.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#sha256=a72224ba58c7704ce8fc260ca65cfe7444d165362179f97d713234adc7f52b0e (from https://pypi.org/simple/opencv-python/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/2e/a7/750fcba266a72b4f512a4cf4d6ed37758d2e89fec49a1deab8ab192b63df/opencv_python-<IP_ADDRESS>-cp37-cp37m-manylinux1_i686.whl#sha256=ae6f1aaa64d3b9a82792669e5be04d2544ce8c2e4a71ecfac09e0a4ed7b60908 (from https://pypi.org/simple/opencv-python/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/45/bd/e0a4391ac105ecf73a6e14372174b05774634c7c6454e49c38750d516eee/opencv_python-<IP_ADDRESS>-cp37-cp37m-manylinux1_x86_64.whl#sha256=9acea43d03440e7a0bd9a9ad599394382a529d49ec6995414797645acfc3e629 (from https://pypi.org/simple/opencv-python/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/e8/3e/6d7da89f963ae3d98592a3842ca9f11296a5b31a1c534bf83a4e2bb68866/opencv_python-<IP_ADDRESS>-cp37-cp37m-win32.whl#sha256=d477594c956dfbe6688323a9a06d5b3c6d3940c4b15bef7ce4f30d25f7837f1a (from https://pypi.org/simple/opencv-python/); it is not compatible with this Python
    Skipping link https://files.pythonhosted.org/packages/cc/3c/e9b46d4ff65d4dfcca1789e32113f38d5fc1804840a4aa0bc2437ecef860/opencv_python-<IP_ADDRESS>-cp37-cp37m-win_amd64.whl#sha256=edbdded658021747a4235f178b91361d17b82031859db20731a963b8dafcab67 (from https://pypi.org/simple/opencv-python/); it is not compatible with this Python
  Could not find a version that satisfies the requirement opencv-python==<IP_ADDRESS> (from versions: )
...

Run python3 --versionPython 3.7.2

In Python REPL>>> import pip._internal
>>> print(pip._internal.pep425tags.get_supported())
[('cp37', 'cp37m', 'mingw'), ('cp37', 'none', 'mingw'), ('py3', 'none', 'mingw'), ('cp37', 'none', 'any'), ('cp3', 'none', 'any'), ('py37', 'none', 'any'), ('py3', 'none', 'any'), ('py36', 'none', 'any'), ('py35', 'none', 'any'), ('py34', 'none', 'any'), ('py33', 'none', 'any'), ('py32', 'none', 'any'), ('py31', 'none', 'any'), ('py30', 'none', 'any')]

Question
From the above output, it seems that python3 in msys2 on Windows expects cp37-cp37m-mingw wheel, but there is only cp37-cp37m-win_amd64 available.
So, is it possible to add support for mingw?
Thanks in advance!

There's already enough work to keep the current three major build targets up to date. Therefore I will not add mingw support to this repository. In fact, I'm not even sure if "mingw" tagged wheels can be distributed via PyPI. If you wish to use OpenCV python bindings in mingw, you will need to compile OpenCV manually with mingw.

I have successfully compiled OpenCV manually with mingw. Thank you all the same!

@sgalal,
which version of python , thats supports opencv,  are you referring to ?  Is it Python 3.7.3 (default, May 28 2019, 08:37:07)  [GCC 8.3.0 64 bit (AMD64)] on win32?

@sgalal,
which version of python , thats supports opencv, are you referring to ? Is it Python 3.7.3 (default, May 28 2019, 08:37:07) [GCC 8.3.0 64 bit (AMD64)] on win32?

This issue was opened on Feb 21, 2019, when the Python version May 28, 2019 was not published yet. However, as Python in msys2 has been updated to this version, I believe both version should work.

in msys2 shell, I did the following. It can compile and install without any error but when try to
import cv2
it won't work
pacman -S mingw-w64-x86_64-ninja mingw-w64-x86_64-python2-numpy mingw-w64-x86_64-python3-numpy
cd /c/Users/Dreli/Downloads/opencv-4.1.0/
mkdir temp
cd temp
cmake -G Ninja -DCMAKE_INSTALL_PREFIX:PATH= /mingw64 -DWITH_DIRECTX=OFF -DWITH_DSHOW=OFF ..
ninja
ninja install

@sgalal,
thank you very much.
It turns out that
pacman -S mingw-w64-x86_64-opencv
will install cv2-cpython-37m.dll into  /mingw64/lib/python3.7/site-packages
but to make it work, it is better to install the following as well
pacman -S --needed mingw-w64-i686-{ceres-solver,hdf5,python2-numpy,python3-numpy,ogre3d,tesseract-ocr}


Topic recognition

Created solution to Improved UNet ISIC skin lesion segmentation problem, based on paper: https://arxiv.org/pdf/1802.10508v1.pdf
README contains details on usage and model with results
Files:
dataset.py      handles loading in ISIC dataset
modules.py    creates Improved UNet structure
train.py           trains the model from scratch on training dataset
predict.py       visualises the data, makes predictions

Marking
Good Practice (Design/Commenting, TF/Torch Usage)
Adequate design and implementation
Good spacing and comments
Header blocks missing -1
Recognition Problem
Solves problem
Driver Script present
File structure present
Shows Usage & Demo & Visualisation & Data usage
Module present
Commenting
No Data leakage, but no results on test set -1
Difficulty: Easy -10
Commit Log
Meaningful commit messages sometimes, could be better -1
Progressive commits used
Documentation
ReadMe acceptable, missing usage
Model/technical explanation lacking -1
Good Description and Comments
Markdown used and PDF submitted
Pull Request
Successful Pull Request (Working Algorithm Delivered on Time in Correct Branch)
No Feedback required
Request Description good

Feedback marks possible +2 if the requested changes are made (see above).

No feedback attempt and no feedback marks granted.


Transition-risk-like physical risk model for, e.g. corporates

As suggested by @mariembouchaala and @MLevinMazars, we can adopt an approach similar to that of transition risk for physical risk in calculating the impact of physical climate risk on measures such as probability of default. This is a sort of sectorial model. The basic idea is that the physical effects of climate change impact revenue - e.g. as a result of disruption - and costs - e.g. as a result of impact on labour or asset damage, the latter needing to take into account the impact of insurance. The impact on PD of these changes can be estimated. Within OS-C, probably appropriate to have a representative model implemented. Such a model may be calibrated off a 'bottom-up' approach using a representative portfolio.
Some links:
An example of a transition risk approach
https://home.barclays/content/dam/home-barclays/documents/citizenship/ESG/2021/Corporate-Transition-Forecast-Model-2021.pdf
Pertaining calculation of probability of default
https://variances.eu/?p=6882
https://www.ecb.europa.eu/pub/conferences/shared/pdf/20170511_2nd_mp_policy/DeesHenryMartin-Stampe-Stress-Test_Analytics_for_Macroprudential_Purposes_in_the_euro_area.en.pdf

Close as effectively duplicated.


added SO terms

Address #3403

@nicolevasilevsky, could you please review this?
I will address the creation of axioms using SO in separate issues.
Thank you


Could not find method annotationProcessor() for arguments [com.jakewharton:butterknife-compiler:8.4.0]

I upgrade the version to 8.4.0 like this:
dependencies {
  compile 'com.jakewharton:butterknife:8.4.0'
  annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
}

Could not find method annotationProcessor() for arguments [com.jakewharton:butterknife-compiler:8.4.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

But I got the error as the above , what's the problem?

Are you using version 2.2.0 or newer of the Android Gradle plugin?
On Thu, Dec 29, 2016, 10:14 AM isanwenyu<EMAIL_ADDRESS>wrote:

I upgrade the version to 8.4.0 like this:
dependencies {
compile 'com.jakewharton:butterknife:8.4.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
}
But I got the error as the title , what's the problem?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/issues/834, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAEEEcSPbqyldWb-pozUvHPjsk6lbOmhks5rM85ggaJpZM4LXpSG
.

I am satisfied with the same contingency issue
Error:Gradle DSL method not found: 'annotationProcessor()'

It's my fault！
After upgraded the version of gradle plugin to 2.2.3, my project build successfully. Thks.
I check it out, 'annotationProcessor()' was added in  version 2.2.0 or newer of the Android Gradle plugin.

Great. Thanks for replying.


Unhandled exception ImapClient stream.Write

Hi!
I use the imap idling for a background e-mail sync application. When the computer resumes from standby an exception is thrown on line 477 of ImapClient.cs of revision 127.
	void SendCommand(string command) {
		ts.TraceInformation("C -> " + command);
		// We can safely use UTF-8 here since it's backwards compatible with ASCII and comes in handy
		// when sending strings in literal form (see RFC 3501, 4.3).
		byte[] bytes = Encoding.UTF8.GetBytes(command + "\r\n");
		lock (writeLock) {
			stream.Write(bytes, 0, bytes.Length); // <---- throws IOException
		}
	}

Exception error message is: "Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host."
Stacktrace:
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Security._SslStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at S22.Imap.ImapClient.SendCommand(String command) in C:\Users\Harmen\Dropbox\Visual Studio 2010\Projects\S22.Imap.git\trunk\ImapClient.cs:line 477
at S22.Imap.ImapClient.SendCommandGetResponse(String command, Boolean resolveLiterals) in C:\Users\Harmen\Dropbox\Visual Studio 2010\Projects\S22.Imap.git\trunk\ImapClient.cs:line 493
at S22.Imap.ImapClient.IssueNoop(Object sender, ElapsedEventArgs e) in C:\Users\Harmen\Dropbox\Visual Studio 2010\Projects\S22.Imap.git\trunk\ImapClient.cs:line 2170
at System.Timers.Timer.MyTimerCallback(Object state)
I do need some cleanup of the code using the library so it could be caused by some rogue instructions from my code - but the library itself should be able to handle the situation.

When the computer went into standby, did you close the connection to the imap server and on resume log back in?  It's likely that Idle timed out on the server and it closed the connection.  I recommend adding a handler for Microsoft.Win32.SystemEvents.PowerModeChanged on start up
AddHandler Microsoft.Win32.SystemEvents.PowerModeChanged, AddressOf OnPowerModeChanged
Private Sub OnPowerModeChanged(sender As Object, e As Microsoft.Win32.PowerModeChangedEventArgs)
    Select Case e.Mode
        Case Microsoft.Win32.PowerModes.Resume
           'wait for the network
            Dim count As Integer = 60
            Do Until My.Computer.Network.IsAvailable
                Application.DoEvents()
                Threading.Thread.Sleep(1000)
                count -= 1
                If count < 1 Then
                    Log.WriteEntry("Timed out waiting for network.")
                End If
            Loop
            Accounts.LogOn()
        Case Microsoft.Win32.PowerModes.StatusChange
        Case Microsoft.Win32.PowerModes.Suspend
            Accounts.LogOffl()
    End Select
End Sub

Sorry for the VB.  Hope this helps.


language auto detect not recognizing VB

Version: 1.59.0-insider (user setup)
Commit: e437d424c5e6de97632f5513229c7ebc2cf27a32
Date: 2021-07-28T05:13:47.114Z
Electron: 13.1.7
Chrome: 91.0.4472.124
Node.js: 14.16.0
V8: 9.1.269.36-electron.0
OS: Windows_NT x64 10.0.19041
Steps to Reproduce:
Set "workbench.editor.untitled.experimentalLanguageDetection":true,
New Untitled File
sub main()
   dim x as integer
   dim msg as string = "hello"
   debug.print(msg)
end sub

copy/paste the above block a bunch of times (I got up to about 100 lines)
Result: auto detect picked Groovy, not Visual Basic.
I went and found some VB samples (e.g. https://www.vbtutor.net/sample.html) and pasted them in, but it didn't recognize VB.
New untitled file
copy/paste following code into the new file
Dim num1 As Integer
Dim num2 As Integer
Dim intNumber As Integer

Private Sub score()
    intNumber = intNumber + 1
End Sub

Private Sub begin()
    intNumber = 0
    Image1.Visible = False
    Image2.Visible = False
    Label6.Visible = False
    Label5.Visible = False
    Text3.Text = ""
If Option1.Value = "true" Then
    n = 10
ElseIf Option2.Value = "true" Then
    n = 100
ElseIf Option3.Value = "true" Then
    n = 1000
End If

    num1 = Int(Rnd * n)
    num2 = Int(Rnd * n)
    Text1.Text = num1
    Text2.Text = num2
    Text3.SetFocus

End Sub

Private Sub Form_Load()
    Image1.Visible = False
    Image2.Visible = False
    Label6.Visible = False
    Label5.Visible = False
End Sub

Private Sub Start_Click()
    begin
End Sub

Private Sub text3_keyDown(keyCode As Integer, shift As Integer)
If keyCode = vbKeyNext Or keyCode = vbKeyDown Then
    begin
End If
End Sub

Private Sub text3_keypress(keyAscii As Integer)
If (keyAscii = 13) And Val(Text3.Text) = Val(Text1.Text) + Val(Text2.Text) Then

    Image1.Visible = True
    Image2.Visible = False
    Label5.Visible = True
    Label6.Visible = False
    score
    total.Caption = Str$(intNumber)

ElseIf (keyAscii = 13) And Val(Text3.Text) <> Val(Text1.Text) + Val(Text2.Text) Then
    Image1.Visible = False
    Image2.Visible = True
    Label5.Visible = False
    Label6.Visible = True
    Text3.Text = ""
End If

End Sub

Result is still Plain Text (Auto)

Should be fixed now

@chrisdias verified in Standup yesterday.


Cut generated app url hash suffix to 8 characters

The current generated url uses the first 12 characters of a hash of serviceName + appName + namespace, which is a bit longer and undesirable. Cut down to 8 to make url a little bit nicer.
This change will probably need to be made into changelog for the next release as it changes the format of user's app url.

This will reconsile all existing workloads to short name if users don't put a default value.
It will break if user uses cname record to point the old DNS name.
To revert the behavior, pass {{getAppFullName .Container .App .Namespace 12 | truncate}}.{{.ClusterDomain}}" to --http-endpoint-pattern

@tylerslaton unit tests are added 👍

@tylerslaton Good point! Added


Uninstall deleted 3.1 framework, not 3.2

This cask installs version 3.2.x of R Framework, but the uninstall stanza mistakenly deleted R Framework version 3.1. Probably the result of a sloppy cask update. Fixed by amending the uninstall stanza.

Thank you for the contribution. It was merged directly as 4774b4f33646112264d941376c20b0a2b9b23eab to keep commit history cleaner. Your contribution is still credited to you.


the command is not working

It's like it's hanging.
It's like he can't do something.
homepc:

vps:

This is normal, please read README.md to understand how to use the binaries.


create-snowpack-app doesn't work on windows because of flipped slash character

When running create-snowpack-app on Windows the forward slash gets converted to a backslash:
$ npx create-snowpack-app . --template @snowpack/app-template-blank --use-yarn --force

[ERROR] Unable to find "@snowpack\app-template-blank" in the npm registry.
[ERROR] Cannot continue safely. Exiting...

It does seem like a problem with npx. I tried to install create-snowpack-app globally and then it worked!

I don't get that error message. What Node version do you use?
I'm using Node 12.20.0 (64bit). Windows 10 Pro Version 1909 (64bit)

@AWolf81 I'm using node 15

@hornta OK, for me it's also working with Node 15.5.0.
So not sure why it's not working on your side. Are you using NVM or is Node installed with the installer?
Maybe clearing the npx cache could help. You can get the location with npm config get cache.
On my machine, it is located in %LOCALAPPDATA%\npm-cache\_npx

These are the exact versions I use.
node 15.1.0
npm 7.0.8
windows 19042
So I tried to upgrade to
node 15.8.0
npm 7.5.1
and it works!! :)

snowpack ending up giving error in my ".htm". Does anyone know what it could be?


ol-interaction-modify sample at vue3openlayers.netlify.app doesn't work properly. It doesn't leave the mode of drawing polygons

An example at https://vue3openlayers.netlify.app/componentsguide/interactions/modify/ doesn't work properly.
How to reproduce:

Click the button above the map that change drawing mode to true.
Draw a new polygon
After a double click polygon will be finished and the drawing mode will be changed to false.
=> However now if you start clicking on the map, you will still be drawing a polygon. Selection won't work, the first you've drawn is selected. Dbl click will only make a new polygon disappear.

Looks like OlModifyInteraction.vue has same issue:
sometimes it does not remove old modify object from interactions, and it stays in modify mode even after OlModifyInteraction.vue was unmounted

Have you tried using the latest next release? npm i vue3-openlayers@next

it helped, thanks


Make TODOs optional on project update

What's needed?
Updating an existing project using the cookiecutter replay file will create a new commit with all the changes to the overwritten files and [...] all the TODOs will come back, so there will be quite a bit of cleanup to do. (see https://frequenz-floss.github.io/frequenz-repo-config-python/v0.7/#migrate-an-existing-project).
Proposed solution
Option to suppress TODO comments.
Use cases
Speed up version update since not all TODO comments have to be removed/ignored in the patch.
Alternatives and workarounds
No response
Additional context
No response

Yeah, this should be part of a bigger revamp of updates. Basically update is not really supported, is just generating a new project. I think it will be hard to implement, and even when annoying, as the project matures updates should be less frequent, so the pay off will also diminish with time, so it will probably not happen soon.
Also the idea is to split the repo and have a pure library repo and a pure template repo, this also should make updating easier, as if the library changes it will be clear that templates don't need to be updated.
All that said avoid rendering the TODO comments should be pretty easy to implement if we have a way to tell when we are being regenerated (when a replay file was used, probably) and when we are being created from scratch.

Duplicate of #186


[HIVEMALL-5] Java code formatter

What changes were proposed in this pull request?
In order to make contribution to Hivemall more easier, we need to prepare contribution guide as soon as possible. This PR is the first step toward publishing a complete document on https://hivemall.incubator.apache.org
For now, I added (temporal) contribution guide to README and require contributors to follow specific cording conventions hereafter.
What type of PR is it?
Documentation?
What is the Jira issue?
https://issues.apache.org/jira/browse/HIVEMALL-5

Originally, eclipse-style.xml was created based on google's coding conventions. However, in this PR, I suggest to follow coding conventions of Hive hereafter; since Hivemall clearly stands on Hive, following its conventions should be the most reasonable choice.
@myui If you strongly want to use different kind of conventions, I will update this PR so.

Coverage increased (+0.05%) to 40.329% when pulling cff7ca82e85eb59829594403ec9e0bad7b0e91f7 on takuti:hive-formatter into ec6d945fe48d64cd5175a2ad0156b8bd387c6138 on apache:master.

Coverage increased (+0.05%) to 40.329% when pulling cff7ca82e85eb59829594403ec9e0bad7b0e91f7 on takuti:hive-formatter into ec6d945fe48d64cd5175a2ad0156b8bd387c6138 on apache:master.

I need to rewrite JIRA issue. Let's discuss on the next Monday (or Tues).

@myui Could you share how you are planning to re-write the JIRA issue here If possible? Keeping our discussion in public is generally better :)
Overall, I suspect that you want to follow the google coding convention rather than Hive's one. Is it correct? I'm personally okay for any conventions as long as they are well-documented. If we define some exceptions on either google / Hive (oracle) conventions, we manually need to document them ✍

I suspect that you want to follow the google coding convention rather than Hive's one.

Right.
But, completely following Google coding style has problems in formatting existing codes. Manual comment rewriting and string concatenation rewriting is required.

Current eclipse-style.xml is using modified version of Sun's coding style (no comment formatting), not google one. It's better to evaluate Google coding style + no comment formatting though.
Google coding style provides both Eclipse format and IntelliJ format but different formatting is applied due to mismatch in functionality of IDE. So, providing only Eclipse format (which can be loaded in IntelliJ) is preferred.

Coverage increased (+0.3%) to 40.564% when pulling ba6826559ffc14256f6c34daf64a2d2a9c65f664 on takuti:hive-formatter into ec6d945fe48d64cd5175a2ad0156b8bd387c6138 on apache:master.

Coverage increased (+0.3%) to 40.564% when pulling ba6826559ffc14256f6c34daf64a2d2a9c65f664 on takuti:hive-formatter into ec6d945fe48d64cd5175a2ad0156b8bd387c6138 on apache:master.

Coverage decreased (-0.01%) to 40.264% when pulling ba6826559ffc14256f6c34daf64a2d2a9c65f664 on takuti:hive-formatter into ec6d945fe48d64cd5175a2ad0156b8bd387c6138 on apache:master.

@myui Thank you for sharing your opinion! I realized that this issue requires us to undergo significant amount of discussion and modification of the current code.
So, I renamed the title of this PR to [HIVEMALL-5-pre] as the first step to publish our fixed version of coding guideline. There is no update in terms of coding conventions, and I just applied the formatter to the current code and updated README for future contributors.
If it's acceptable for you, I like to merge this soon :)

Coverage decreased (-0.01%) to 40.264% when pulling 3d5069420ad06588fabe14fec79215bd91ef139d on takuti:hive-formatter into ec6d945fe48d64cd5175a2ad0156b8bd387c6138 on apache:master.

Merged with some modifications. 100 spaces for Javadoc comment, as same as Google style, works fine.


chore(main): release 1.0.1

:robot: I have created a release beep boop
1.0.1 (2024-07-14)
Bug Fixes

set package vendor correctly (#4) (aae1b5c)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.1
:sunflower:


Only start reactions when the minerals are available in the current r…

I'd like to understand the reasoning behind these changes. If you only allow reactions to be started once all minerals are available, then this removes the ability of a room to actively request reactants from other rooms, which would decrease global mineral production. Have you tested these changes on public servers / been logging lab uptime in the grafana dashboard?

I observed the system getting stuck on trying to do a reaction when it was impossible for it to finish that reaction. I.e. it didn't request it from another room and it didn't buy it. I don't understand how it's supposed to work and it's not documented, so I removed the functionality that appeared to be broken.
I still think it's broken that it endlessly loops on a single reaction and never proceeds to the next reaction, so how is it supposed to work and what changes are required to stop it from looping when it's stuck?

I think #110 fixes some of this but I'm not sure it works completely yet.

FYI
I tried it, it works. thanks
zGeneral

@ahmedcharles Now that I have merged #110, is this still an issue?

I'm not sure. I'll need to test it, but I'll close this anyways and open a new issue/pr if I find something.


Side note about factories and $requestedName

This is general, not so much related to the text of the publication.
When relating factory implementations to your students it might be helpful to cover the $requestedName as being the service name within the context of the factory. For many I have noticed that it helps connect the dots for them, especially when they start using Abstract factories where the factory can create any number of instances without previously knowing the service name.
Just thought I would mention it. :)

Thank you very much! :)


Upgrade to latest<EMAIL_ADDRESS>

to avoid issue with latest cargo-leptos v0.1.10
Error: at `~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-leptos-0.1.10/src/compile/front.rs:46:30`

Caused by:
    0: at `~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-leptos-0.1.10/src/compile/front.rs:111:10`
1:

       it looks like the Rust project used to create this wasm file was linked against
       version of wasm-bindgen that uses a different bindgen format than this binary:

         rust wasm file schema version: 0.2.84
            this binary schema version: 0.2.86

       Currently the bindgen format is unstable enough that these two schema versions
       must exactly match. You can accomplish this by either updating this binary or
       the wasm-bindgen dependency in the Rust project.

       You should be able to update the wasm-bindgen dependency with:

           cargo update -p wasm-bindgen --precise 0.2.86

       don't forget to recompile your wasm file! Alternatively, you can update the
       binary with:

           cargo install -f wasm-bindgen-cli --version 0.2.84

       if this warning fails to go away though and you're not sure what to do feel free
       to open an issue at https://github.com/rustwasm/wasm-bindgen/issues!

Excellent, thanks very much!


dua: 2.19.2 -> 2.20.1, add figsoda as a maintainer

Diff: https://github.com/Byron/dua-cli/compare/v2.19.2...v2.20.1
Changelog: https://github.com/Byron/dua-cli/blob/v2.20.1/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 230148 run on aarch64-darwin 1

1 package built:

dua


more detailed information about "duration"

Thank you for your work.
Do you mind helping me out with a little bit more information about the "mean_duration" parameter for the expert description?
The only detailed information about duration that I can find in the paper is: "Mean duration is quantized to 32 logarithmically spaced intervals in [0, 128] positions (12 positions per quarter note)."
If I understand this correctly, this would imply that a duration value of 1 is equal to a note being played for 1/12 quarter notes, whereas a duration value of 32 would mean that it is played for 128/12 quarter notes. However, looking at the generated results from the example descriptions, this doesn't seem to be the case.
Kind regards, and thank you in advance!

Absolutely! Here we're talking about the mean duration, which is computed as follows (in pseudocode):
# 1 position == 1/12 quarter note
mesh = np.logspace(0, 7, 32+1, base=2) # log space between 1 and 128 positions (~2.5 bars)

mean_durations = []
for bar in bars:
  mean_duration = mean(duration_in_positions(note)) for note in bar.notes)
  mean_duration = quantize_to_mesh(mean_duration, mesh)
  mean_durations.append(mean_duration)

Note that the mean duration is only used for the description and does not correspond 1:1 with the duration indices for notes. In case you're referring to note durations: In the REMI+ representation, note durations are actually quantized to a different mesh, which is chosen in a way to have a high resolution for shorter notes and a lower resolution for longer notes (see constants.py for the exact mesh).
I hope this helps, lmk if you still have questions.

Thank you very much for the quick response, this already helps me a lot!
Now, just out of curiousity, if "mean duration does not correspond 1:1 with the duration indices for notes": how does it correspond then? Or are you referring to the quantization to the different mesh in REMI+?

Yes, exactly, I’m referring to the fact that a different mesh is used for quantizing mean durations vs. note durations. To get actual durations from REMI+/description tokens, you’d have to first de-quantize them by indexing the respective mesh.

Alright, thx again! I'll let you know if I have any more questions.


[Design Proposal] Enhancement of Repository Plugin

Objective
This document captures low level details of enhancements to the OpenSearch repository plugin to support parallel uploads of different parts of a file.
RFC: https://github.com/opensearch-project/OpenSearch/issues/6354
Design Factors
This design is based on following factors:

Repository plugin will only be responsible for reliably carrying remote transfers for the provided content. In this case, provided content will be list of streams. It will be the responsibility of the caller to emit different streams for different parts of the file and provide them as an input to repository plugin.
Offloading the responsibility of emitting different streams from a file will also help provide control to callers to do additional processing of content after it is read and before it is transferred such as encryption/decryption, calculating checksums for data integrity, etc.
Repository plugin will not have any reference of type of stream used and will directly consume InputStream interface(s). This will allow caller to provide any stream implementations.

Design details

Repository plugin interfaces will be enhanced to support parallel uploads of multiple parts of a file, as opposed to the serial upload that is done today
An abstraction providing list of stream suppliers will be added to plugin. Suppliers are better suited instead of concrete streams because plugin can decide exactly when and where the streams need to be created.
Vendor plugins will take the decision of determining individual part size for a given file size. An abstraction can take an input of part size determined by plugin to be most suitable for a given file size and provide a list of respective number of suppliers.
Multi-part parallel upload will depend on the part size returned by underlying plugin. This means if plugin invokes with part size equal to file size then upload will happen for the entire file as one part.

Low Level Details
Settings
Following settings will be used to control transfers

Index Setting index.remote_store.multipart_parallel_upload.enabled to enable or disable parallel uploads. Default value will be true.
Repository setting min_part_size to define the minimum size a part should have. A file of size less than or equal to this setting value will be uploaded as a single part.
Scaling threadpools remote_upload and priority_remote_upload will be used in uploads of segment and translog/ckp files respectively. priority_remote_upload can be provided more bandwidth to prioritize ingestion over background tasks like refresh/flush or merge.

Constructs

WriteContext

Encapsulation or a container to hold fields required for a write operation by multiple parts parallel upload.
 public class WriteContext {
        private final String fileName;
        private final StreamContextSupplier streamContextSupplier;
        private final long fileSize;
        private final WritePriority writePriority;
 }

StreamContextSupplier consists of stream suppliers which will be responsible for providing streams depending on the part size. This can look like following
 StreamContext supplyStreamContext(int partSize);

 public class StreamContext {
     private final List<Supplier<Stream>> streamSuppliers;
     private final long totalContentLength;
 }

public class Stream {

    private final InputStream inputStream;
    private final long contentLength;
    private final long offset;
}

Different uploads can then be triggered in parallel each consuming one stream.

BlobContainer

New methods in BlobContainer to accept a WriteContext. Depending upon the support, this will be invoked in OpenSearch remote store flows.
default boolean isMultiStreamUploadSupported() {
      return false;
  }

  default void writeStreams(WriteContext writeContext) throws IOException {
      throw new UnsupportedOperationException();
  }

Performance Results
On carrying out some performance runs on POC code providing capability of parallel upload of multiple parts of a file, we obtained following results :
Note: Observations below are taken from prolonged runs (>15min) of repeated transfers of a file.
Instance Type : m5.2xlarge

Threads
CPU (%)
File Size (gb)
Latency (sec)

1
7
4.5
110

3
8
4.5
100

5
12
4.5
60

10
20
4.5
30

20
35
4.5
17

1
3
1.1
71

3
8
1.1
25

5
12
1.1
15

10
21
1.1
8

20
32
1.1
5

Observations
Following can be deduced from the tables :

There are clear gains in performance of remote transfer using multiple parts of a file in parallel.
Since increasing concurrency impacts CPU, threadpools remote_upload and priority_remote_upload should be properly configured.
CPU is only affected by the concurrency of transfer and remains almost unaffected by the size of the content being transferred.
Latency of entire transfer of a file is proportional to number of threads used and size of file being transferred.

Tagging @elfisher @muralikpbhat @reta @mch2 @dreamer-89 @andrross @Bukhtawar @sachinpkale @itiyamas @dblock @shwetathareja for feedback. Pls do tag others who can review this.

@vikasvb90 I think the suggested API is not complete and even in this shape raises a number of questions:

the API is not purely stream oriented and explicitly requires that the producer knows the size ahead of time (fileSize, totalContentLength)
this is not going to work well with stream composition, for example, when client-side compression or encryption is going to be introduced (the size of the produced content is not known ahead of time)

I believe the API get the inspiration from S3 multipart upload, which (afaik) requires prior knowledge of the data being uploaded.

@reta The idea is not to make it purely stream oriented but to provide support of parallel uploads using streams where each stream can be responsible for reading a specific part of the file. Sample code below :
        CheckedInputStream[] checkedInputStreams = new CheckedInputStream[numberOfParts];
        StreamContainer[] streamContainers = new StreamContainer[numberOfParts];
        for (int partNo=0; partNo<numberOfParts; partNo++) {
            long position = rawPartSize * (partNo);
            long size = partNo == numberOfParts-1 ? rawLastPartSize : rawPartSize;
            checkedInputStreams[partNo] = getMultiPartStreamSupplier().apply(size, position);
            if (checkedInputStreams[partNo] == null) {
                throw new IOException("Error creating multipart stream during opening streams for read");
            }
        }

When it comes to remote store, there is always a bounded transfer. When you skip size of content then what you are suggesting is to allow unbounded transfer to remote store since streaming can be endless. I don't think there is any such capability supported by any remote store and I can't think of a use case in which anyone would require endless streaming to a remote store.
It is entirely possible to determine the size of encrypted or decrypted content without actually encrypting or decrypting it. Design proposal for the same along with perf numbers is mentioned here.
Since you mentioned S3, it is not feasible to upload large files without skipping content length. There is a clear warning present in S3 SDK.

WARNING: No content length specified for stream data. Stream contents will be buffered in memory and could result in out of memory errors.

We would not want to omit any detail from the abstraction which could compromise on the functioning or performance of the underlying plugin.
4. You mentioned that the suggested API is not complete. Can you provide specific API example(s) along with the reasons supporting the need of them?

Thanks @vikasvb90

When it comes to remote store, there is always a bounded transfer.

Fair enough (if that is by design)

It is entirely possible to determine the size of encrypted or decrypted content without actually encrypting or decrypting the entire content.

I believe it is not and highly depends on the algorithm (the proposal you mentioned talks about rough estimations). If you look into original comment, it mentions client side compression as well - the size of the compressed content is unknown ahead of time. In any case, it would be useful to see how the content length is being used to determine possible alternatives or limitations.

You mentioned that the suggested API is not complete.

You just showed that in your answer. The description mentioned some isolated pieces without large picture. F.e., your own code snippet uses StreamContainer but this is not part of the API.  It would be helpful to see:

the complete API
the snippet of how API plays together (even with pseudo code for blob upload when isMultiStreamUploadSupported is `true)

@reta Can you please re-post encryption related question on the encryption design proposal? I can answer all your encryption related questions there. Also, by compression I am assuming that you mean encryption as both are different and we haven't referred compression anywhere so far.

the complete API
the snippet of how API plays together (even with pseudo code for blob upload when isMultiStreamUploadSupported is `true)

I have updated the description with the structure of Stream model.
I intentionally kept the usage of new abstractions in OS out of the scope of this design as I wanted the focus to be on getting feedback for accommodating any missing requirement of a vendor plugin. But since you asked for it, following is how we plan to use these abstraction in OS in remote_store.
streamContextSupplier mentioned in the description in WriteContext can have the reference of following method. Following method will return a StreamContext which has different stream suppliers responsible for supplying streams each referring to a specific portion of the file. These suppliers will be invoked by underlying repository plugin to create streams and then plugin can choose to consume these streams as per its implementation. Also you can see in the API above that plugin will provide partSize in order to get suppliers (present in StreamContext), this will provide control to the plugin to decide the number of parts it deems efficient for a given file size. For e.g. it can provide the entire file size as partSize to get a single stream supplier to upload the entire file serially.
public StreamContext openMultipartStreams(long partSize) throws IOException {
        if (inputStreams.get() != null) {
            throw new IOException("Multi-part streams are already created.");
        }

        this.partSize = partSize;
        this.lastPartSize = (contentLength % partSize) != 0 ? contentLength % partSize : partSize;
        this.numberOfParts = (int) ((contentLength % partSize) == 0 ? contentLength / partSize
            : (contentLength / partSize) + 1);

        InputStream[] streams = new InputStream[numberOfParts];
        List<Supplier<Stream>> streamSuppliers = new ArrayList<>();
        for (int partNo = 0; partNo < numberOfParts; partNo++) {
            long position = partSize * partNo;
            long size = partNo == numberOfParts - 1 ? lastPartSize : partSize;
            streams[partNo] = localFile != null
                ? getMultiPartStreamSupplierForFile().apply(size, position)
                : getMultiPartStreamSupplierForIndexInput().apply(size, position);
            if (streams[partNo] == null) {
                throw new IOException("Error creating multipart stream during opening streams for read");
            }

            final int finalPartNo = partNo;
            streamSuppliers.add(() -> new Stream(streams[finalPartNo], size, position));
        }
        inputStreams.set(streams);

        return new StreamContext(
            streamSuppliers,
            contentLength
        );
    }

    private BiFunction<Long, Long, OffsetRangeFileInputStream> getMultiPartStreamSupplierForFile() {
        return (size, position) -> {
            OffsetRangeFileInputStream offsetRangeInputStream;
            try {
                offsetRangeInputStream = new OffsetRangeFileInputStream(localFile.toFile(), size, position);
            } catch (IOException e) {
                log.error("Failed to create input stream", e);
                return null;
            }
            return offsetRangeInputStream;
        };
    }

    private BiFunction<Long, Long, OffsetRangeIndexInputStream> getMultiPartStreamSupplierForIndexInput() {
        return (size, position) -> {
            OffsetRangeIndexInputStream offsetRangeInputStream;
            try {
                offsetRangeInputStream = new OffsetRangeIndexInputStream(indexInput, fileName, size, position);
            } catch (IOException e) {
                log.error("Failed to create input stream", e);
                return null;
            }
            return offsetRangeInputStream;
        };
    }

Thanks @vikasvb90

Also, by compression I am assuming that you mean encryption as both are different and we haven't referred compression anywhere so far.

No, by compression I mean compression, see please https://github.com/opensearch-project/OpenSearch/issues/2192

Can you please re-post encryption related question on the encryption design proposal? I can answer all your encryption related questions there.

My question was not really related to encryption or compression but stream composition. We can leave this part aside since the design you are suggestion is not purely stream oriented (as you mentioned).

For stream context, do we always need to divide all data into a number of streams ahead of time, or would it make sense to make stream suppliers a stream-like interface, so that we can keep supplying another stream until the caller runs out of data to write? In the compression example the stream compressor could be processing incoming stream data, and every time it has N bytes it would queue those for multi-part writing. In the non-compressed example I could start writing while still constructing further streams.

For stream context, do we always need to divide all data into a number of streams ahead of time, or would it make sense to make stream suppliers a stream-like interface, so that we can keep supplying another stream until the caller runs out of data to write?

Personally, I think the stream(s) on demand is a better option (right now the whole source has to be divided into streams before hand, taking an example, 60Gb divided into 5Mb streams, that would take noticeble amount of heap). But I do not see the clear way to accommodate that in the current design that needs content length knowledge.

But I do not see the clear way to accommodate that in the current design that needs content length knowledge.

Aren't those orthogonal? Just because I know the total size of data, doesn't mean I need to create all streams ahead of time.

Of course it would be better if I didn't need to know / have the entire data already loaded.

Thank would be the best option I think

@dblock

On-demand stream creation is definitely a better idea. I have replaced suppliers with StreamIterable where consumer plugin can use standard iterator based implementation to make a stream creation call whenever needed.
Data is never fully loaded and instead respective streams buffer some amount of data (~10KB) and submit for upload. On demand creation of stream will help in cases where file size is really large and not enough jvm is available to accommodate all objects of Stream at the same time.
A single stream like interface won't work for reading and writing. I have added the reason here.
Plugin can also choose to provide response asynchronously and therefore, I am also adding a CompletableFuture return type in writeBlobByStreams method.


Feat: Recommendation

Add block for anime recommendation:

bug: on anime
button with page of recommendation doesn't open current anime

Site closed :(

I'll see if this service can be replaced by something else


Include the output material when serializing processes

This acknolwedges that (process, output_material) are two halves
of the same chronological entity.  As a positive side-effect,
this means that every object that is accessible via the
python attributes of the objects is included in serialization,
which removes the need for the _forward option and simplifies the code.
To reflect the singular purpose of skip, the option in recursive_flatmap
has been renamed to "unidirectional": only the writable half of
bidirectional links are traversed when unidirection is True.

Note: this works locally with https://github.com/CitrineInformatics/citrine-python/pull/223


Fix injecting custom class names for vertical lines

Fixes injecting custom class names for vertical lines spanning over a period of time longer than day (eg. month)
Right now if we want to inject custom class name for vertical line spanning month it's class names end up corrupted. If I'll return timeline-month class from verticalLineClassNamesForTime function I'll end up with vertical line element:
 instead of

Quick hacky workaround before this gets merged: make verticalLineClassNamesForTime return class names array with first element as empty string (eg. return ['', 'timeline-month', 'timeline-month-odd']


querier: Adjust deduplication for counters when querying for PromQL rates.

cc @SuperQ
Chained over: https://github.com/thanos-io/thanos/pull/2528
Fixes:  https://github.com/thanos-io/thanos/issues/2401
Signed-off-by: Bartlomiej Plotka<EMAIL_ADDRESS>

Works perfectly now :heart:

Let's not merge before https://github.com/thanos-io/thanos/pull/2528 merges.

Let's merge once https://github.com/thanos-io/thanos/pull/2528 get green mark.

PTAL @GiedriusS @brancz

Let's merge on Monday. I plan to add benchmarks for this, plus consider to rewrite to heap approach, plus few other fixes, but let's do on later PR maybe (:

Let's merge without squash (:

And of course I squashed ;p


Create a 0.1.x branch

It would be great to start updating to the JupyterLab 3.1.0-alpha.x packages to pull a couple of improvements, as well as support for RTC.
So probably now is a good time to create a 0.1.x branch for the 0.1.x. release series, so main can add more features and break things for 0.2.0.
More generally, this repo could simply follow the structure and release cadence of upstream JupyterLab.

Closing as fixed: https://github.com/jtpio/jupyterlab-classic/tree/0.1.x


RFC 2616 -> RFC 7231

Reference and quote the up to date RFC (7231) and not the deprecated (2616) one,
rename some codes according to the current accepted naming.

merge conflicts here


Cleanup Attribute Type

I think Database::get() is actually deprecated now too isn't it? I think the new new way is Database::connection() for future reference.

I think we need a response from @KorvinSzanto ...


Revit: Allow updates from origin file

Objects are only cached on receive, meaning objects cannot be updated in the origin file. Eg if I create and send a pipe layout to a stream, someone updates the pipework, then I receive the stream back in that original file, the corresponding Revit elements are not picked up and duplicate elements are created.
Some caching mechanism should be in place to allow the file that originally created the elements to also receive updates to those elements (instead of creating new elements on top).
A slightly related point that only affects Dynamo (since Revit only allows one receiver per stream):
Cache is not shared between receivers, so if you receive data from the same stream from two places, you will receive duplicate objects.

I looked into this and sounds link a quick fix, the assumption though, would be that the user always wants to update local elements when the receiving ones have the same ID (so most likely would mean applying old changes).

Update: https://speckle.community/t/revit-api-compare-differences/1324?u=teocomi


WIP: Geolocation

Issues resolved by this pull request

Closes #105

@rperlin-ela @fiddleHeads here is the geolocation with a mere 10ish lines of code for the defaults. (I'm going to stop pasting in the deploy URL, I think you're familiar w/that, it's the last "Details" link above).
Options to use?
You'll want to refer to the available options and let me know if any should be changed or if they don't make sense to you. They're mostly all relevant but you can ignore these:

the ones that start with on
style
label
auto

My take
1. Options (above)
Personally I like it the way I have it (aside from style/layout stuff, although even the defaults for that aren't terrible- it does a little spinny animation while it's waiting for you to allow/block), but I'm only testing it on a simulated lat/lon so I could see how trackUserLocation could get annoying. BUT, disabling it could get confusing because that's not the standard in map apps. As in, you turn the thing on and the blue dot normally keeps moving with you.
Note that on a non-mobile device, it shouldn't really move. It only uses your Wifi/IP to determine your location (mine was frighteningly accurate, like down to the corner of my house accurate), not GPS (if equipped) + Cell + Wifi like phones.
Note also that trackUserLocation does NOT track and send the info anywhere. It's a misleading name, it just refers to the paragraph I wrote above this one.
2. Button location
Unless you anticipate the majority of users to be in NYC, and the majority of those users to want to allow the usual:

...I probably wouldn't put the button front and center, visible 24/7 like it is. That's some pretty valuable real estate on mobile, so just depends on how high a priority it is.
2.1 If you agree...
...where should I put it? It doesn't even need to be a button, it can probably be a toggle/switch thing. My vote would be inside the "Search by location", which would be renamed of course, but I think we can get away w/same icon for that btn.
2.2 If you disagree...
...where should I put it? It should be a button and ideally match the style of the others, I'm just wondering where it would go. I have a couple ideas but I'll wait until you respond to 2.1 first.
Testing
Ross, you're the man on the ground so you'll be the only true tester. Mask up and get out there! 😷
Maya, if you want to know how to simulate location in Chrome try this and/or a non-Google article here
Disclaimers
If it's not already in the Help or About, might want to consider a "hey really tho, we swear we're not outside your window, mwahaha". (mwahaha optional but encouraged)
Anything else?
Don't want to jinx it but this has been too easy so far. Am I missing anything? The intent is not analysis (e.g. how many arbitrarily approximated points are with 100m of me), it's just a convenience for users in the area. If so, once we settle on the stuff above, are we good?

f'real though, my laptop and i are about 10ft from the edge of the outer perimeter:

technology! 😱

fyi this is not working for me on mobile for some reason. was working-ish before so i'll look into it tomorrow.
in the meantime you can still try on desktop though.

scratch that, i had location disabled in both Safari and Chrome on my phone. derrrrp.
test away!

I’m into it! Working great for me on mobile and desktop. Ironically, I’m going out of town till early next week so won’t be able to do much testing till then, but right now it’s looking great. Only quibble is that on desktop it zooms me way in on a few blocks. Not a big deal, but the zoom level on mobile is perfect.
All your points below make sense to me off the bat, as does making it a toggle in a renamed “Search by location”.

On Oct 22, 2020, at 1:07 AM, Jason Lampel<EMAIL_ADDRESS>wrote:
scratch that, i had location disabled in both Safari and Chrome on my phone. derrrrp.
test away!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Language-Mapping/language-map/pull/124#issuecomment-714229642, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNKB5E474QI6HFGNFLYZKTSL64XJANCNFSM4S2UQG4A.

Sorry for delay, getting house ready for January weather in October. Single digits soon! 🥶
Re: too far zoom on desktop, fine on mobile: not sure what either of those looks like on your devices (it might depend on a few things) but I just went with the same zoom as when you click a community (assuming you weren't already zoomed in close in that scenario, in which case it would keep the same zoom).
Looks fine to me after this update but I'm simulating so let me know. You should be able to test even if you're not in NYC, you just won't see any points of course.
The control was easy to move, I just need some human wording and/or layout/UI suggestions for where I put it:

Bear in mind that we'll likely add a census toggle in there as well. If it gets too crowded or unruly, I have plenty of ideas, but haven't really had to mess with the layout yet.
Other bells and whistles
I added some other ideas in this issue: #125

Works great for me on desktop. I actually like the wording you have and the zoom to location inside the search by location dialog works fine, I think.

Cool, thanks for reviewing, I think we'll just sit tight on this until Ross is back in NYC for testing.

Seems to be working pretty well for me now with consistent zoom level across platforms and browsers, so I think good to go.


[1.3.0-RC2] java.lang.NumberFormatException: For input string: "0-RC2"

steps
sbt version: 1.3.0-RC2
OS: Linux 4.15.0-50-generic #54-Ubuntu
I've forked https://github.com/playframework/play-samples and I've tried to run play-scala-starter-example with updated sbt. You can find it here
problem
[15:14:27] skierat ~/D/d/p/p/p/play-scala-starter-example (2.7.x u=) sbt
[info] Loading settings for project global-plugins from idea.sbt ...
[info] Loading global plugins from /home/skierat/.sbt/1.0/plugins
[info] Loading settings for project play-scala-starter-example-build from plugins.sbt ...
[info] Loading project definition from /home/skierat/Documents/dev/projects/priv/play-samples/play-scala-starter-example/project
[info] Loading settings for project root from build.sbt ...
[info] Set current project to play-scala-starter-example (in build file:/home/skierat/Documents/dev/projects/priv/play-samples/play-scala-starter-example/)
[info] Welcome to sbt 1.3.0-RC2.
[info] Here are some highlights of this release:
[info]   - Coursier: new default library management using https://get-coursier.io
[info]   - Super shell: displays actively running tasks
[info]   - Turbo mode: makes `test` and `run` faster in interactive sessions. Try it by running `set ThisBuild / turbo := true`.
[info] See https://www.lightbend.com/blog/sbt-1.3.0-release for full release notes.
[info] Hide the banner for this release by running `skipBanner`.
[info] sbt server started at local:///home/skierat/.sbt/1.0/server/c7eebc01a9065916a17e/sock
[play-scala-starter-example] $ run

--- (Running the application, auto-reloading is enabled) ---

[info] p.c.s.AkkaHttpServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9000

(Server started, use Enter to stop and go back to the console...)

[error] java.lang.NumberFormatException: For input string: "0-RC2"
[error]         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
[error]         at java.lang.Integer.parseInt(Integer.java:580)
[error]         at java.lang.Integer.parseInt(Integer.java:615)
[error]         at scala.collection.immutable.StringLike.toInt(StringLike.scala:304)
[error]         at scala.collection.immutable.StringLike.toInt$(StringLike.scala:304)
[error]         at scala.collection.immutable.StringOps.toInt(StringOps.scala:33)
[error]         at play.sbt.run.PlayRunCompat.$anonfun$watchContinuously$7(PlayRunCompat.scala:63)
[error]         at play.sbt.run.PlayRunCompat.$anonfun$watchContinuously$7$adapted(PlayRunCompat.scala:63)
[error]         at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:237)
[error]         at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)
[error]         at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)
[error]         at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198)
[error]         at scala.collection.TraversableLike.map(TraversableLike.scala:237)
[error]         at scala.collection.TraversableLike.map$(TraversableLike.scala:230)
[error]         at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:198)
[error]         at play.sbt.run.PlayRunCompat.watchContinuously(PlayRunCompat.scala:63)
[error]         at play.sbt.run.PlayRunCompat.watchContinuously$(PlayRunCompat.scala:38)
[error]         at play.sbt.run.PlayRun$.watchContinuously(PlayRun.scala:34)
[error]         at play.sbt.run.PlayRun$.$anonfun$playRunTask$3(PlayRun.scala:113)
[error]         at play.sbt.run.PlayRun$.$anonfun$playRunTask$3$adapted(PlayRun.scala:68)
[error]         at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] (Compile / run) java.lang.NumberFormatException: For input string: "0-RC2"
[error] Total time: 3 s, completed Jun 13, 2019 3:15:47 PM

expectation
no error in the console
notes
Surprisingly, if I run curl -I http://localhost:9000, it will start

[error] (Compile / run) java.lang.NumberFormatException: For input string: "0-RC2"
[error] Total time: 3 s, completed Jun 13, 2019 3:15:47 PM

[info] p.a.h.EnabledFilters - Enabled Filters (see <https://www.playframework.com/documentation/latest/Filters>):

    play.filters.csrf.CSRFFilter
    play.filters.headers.SecurityHeadersFilter
    play.filters.hosts.AllowedHostsFilter
    filters.ExampleFilter

[info] play.api.Play - Application started (Dev) (no global state)

Thanks for the report! This is a bug in play, however. Please open an issue there.

@eatkins Thanks for pointing that out to me
Ref : playframework/playframework/issues/9391


Bump to requests 2.30.0 and urllib3 2.0.1

Hello, urllib3 maintainer here :wave:
#99 failed because it needed #98.
Closes #98, Closes #99

Thanks for noticing and updating us!


Add input/output tensor names

Can one of the admins verify this patch?

Hi @caoimhinuibrian, I submit this PR about the signature function:

get input/output tensor names
When I compile a model with unsigned integer input, I get following example:

[ {"type": uint32, "dims": [2, 3]} ]

However it cannot be parsed as a json. So I replace all types as string. Our application need type float, integer and long and I will handle it on our side.
Please help to review. Thanks!

Can one of the admins verify this patch?

Hi @caoimhinuibrian, I submit this PR about the signature function:

get input/output tensor names
When I compile a model with unsigned integer input, I get following example:

[ {"type": uint32, "dims": [2, 3]} ]

However it cannot be parsed as a json. So I replace all types as string. Our application need type float, integer and long and I will handle it on our side.
Please help to review. Thanks!

@shizy818 don't you want this merged also with the release branch?

Can one of the admins verify this patch?

Please update the code so that it passes format, thanks

Can one of the admins verify this patch?

Please update the code so that it passes format, thanks

@AlexandreEichenberger format done. Thanks!

Jenkins Linux s390x Build #1395 [push] Add input/output tensor ... started at 15:08

Jenkins Linux ppc64le Build #543 [push] Add input/output tensor ... started at 15:12

Jenkins Linux amd64 Build #1397 [push] Add input/output tensor ... started at 14:08

Jenkins Linux s390x Build #1395 [push] Add input/output tensor ... passed after 36 min

Jenkins Linux amd64 Build #1397 [push] Add input/output tensor ... passed after 47 min

Jenkins Linux ppc64le Build #543 [push] Add input/output tensor ... passed after 1 hr 0 min


Windows: Fixed escaping of command line arguments

Signed-off-by: Darren Stahl<EMAIL_ADDRESS>This fixes TestRunExitCode on Windows, and results in more closely matching the command line parsing on other platforms.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "10662-escapeargs" git@github.com:Microsoft/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Nice, looks legit.
LGTM assuming janky is good.

nice. LGTM

more of a golang question, but I don't see EscapeArg at: https://golang.org/pkg/syscall/  but I do see it at: https://golang.org/src/syscall/exec_windows.go?h=EscapeArg#L26  which looks like a windows specific thing.  Is this a new thing for golang? Is there a way to know which version of go its in?

At least in 1.4:
https://github.com/golang/go/blob/release-branch.go1.4/src/syscall/exec_windows.go#L26


Can't open files from a DocumentServer <IP_ADDRESS> in a proxied Docker

Hello,
I'm trying to have a first look at ONLYOFFICE installing on a self-hosted instance of Nextcloud 17.x My current configuration is as follows:

Docker container run with:

docker run --net onlyoffice -i -t -d --restart=always \
  --name onlyoffice-document-server \
  -p 8081:80 \
  -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \
  -v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \
  -v /app/onlyoffice/DocumentServer/fonts:/usr/share/fonts/truetype/custom \
  -v /app/onlyoffice/DocumentServer/forgotten:/var/lib/onlyoffice/documentserver/App_Data/cache/files/forgotten \
  onlyoffice/documentserver:<IP_ADDRESS>

Notice that I'm exposing only port 80 of the container. For the moment I'm only trying proxying HTTP.

Apache 2.2x proxying a subdomain to the docker container (from 443 -> 8081), relevant config in the subdomain config:

    <IfModule mod_proxy.c>
        Define DS_ADDRESS <IP_ADDRESS>:8081
        ProxyPassMatch (.*)(\/websocket)$ "ws://${DS_ADDRESS/$1$2"
        ProxyPass / "http://${DS_ADDRESS}/"
        ProxyPassReverse / "http://${DS_ADDRESS}/"
    </IfModule>

Configured the subdomain in the preferences of the ONLYOFFICE application in Nextcloud

Issues:

I can't open files selected from the Nextcloud instance because the of the CSP policy, I have this error:

Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf
http://onlyoffice.mydomain.com/5.4.2-46//web-apps/apps/d….2-46&lang=de&
customer=ONLYOFFICE&frameEditorId=iframeEditor blockiert ("frame-src").

If I open in a new tab the url shown in the previous error, I see the ONLYOFFICE page loading, I receive assets from the docker container, I don't see any network errors, just 2 javascript warnings (not sure if related):

wasm streaming compile failed: TypeError: Response has unsupported MIME type fonts.js:14:55
falling back to ArrayBuffer instantiation

But I don't see the UI to edit the document (I've also tried with different browsers:

Firefox Linux 73.0b3 (64-Bit)
Chromium 79.0.3945.79

Screenshot

Any idea of what I'm doing wrong?
Thanks!

Closing because I've understood where the configuration error was, thanks to this post on the Nextcloud support forum.
The configuration suggested for a https-to-http proxy is correct, albeit a bit confusing


Handle hidden dot files in iOS framework bundles

Fixes https://github.com/flutter/flutter/issues/99229
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

HI, When wil this fix be release,d i checked it is not include at 3.0.5 tag. But it has been two months since it was merged...

@casyalex It became available in 2.13.0-0.1.pre, so the fix is also in 3.0.5.  Just confirmed:
$ git co 3.0.5
HEAD is now at f1875d570e [flutter_releases] Flutter stable 3.0.5 Framework Cherrypicks (#107565)
$ grep -riI "Hidden file" packages/flutter_tools/bin/podhelper.rb
packages/flutter_tools/bin/podhelper.rb:      continue if xcframework_file.start_with?(".") # Hidden file, possibly on external disk.

If you're still seeing a problem, please file a new issue and completely fill out the template. Thanks!

https://github.com/flutter/flutter/blob/f1875d570e39de09040c8f79aa13cc56baab8db1/packages/flutter_tools/bin/podhelper.rb#L63 #
@jmagman Might got override or some how, please check above link?
I alos check my local 3.0.5 source code, the continue still there..

@casyalex https://github.com/flutter/flutter/pull/104296 is in 3.1.0-9.0.pre.  Please see https://github.com/flutter/flutter/wiki/Where's-my-Commit%3F#finding-the-versions-that-contain-framework-commit-x


additions.ttl included?

Added something yesterday, is not in RS.

yes, it is included. The following Sparql provides the correct response:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dct: <http://purl.org/dc/terms/>
SELECT * WHERE {
  <https://sk.acdh.oeaw.ac.at/project/dritte-walpurgisnacht> dct:bibliographicCitation ?obj .
}

The dct namespace usually only comes from these about.ttl triples. If you can find one in a graph means the about.ttl was parsed and uploaded.


⚠ Bofrost.lu has degraded performance

In d395835, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1303 ms

Resolved: Bofrost.lu performance has improved in 68f7514 after 6 minutes.


Development

I have added my details  in the layouts/home.html

Hey @AjayH1997  - Could you send a PR onto sushant-j:master?
You have sent this PR on my development branch.


assets for testing

Current dependencies on/for this PR:

main

PR #784

PR #785   👈

This comment was auto-generated by Graphite.


autosetup in prep section needs p1 flag added.

If a spec file contains autosetup in the prep section, the -p1 flag needs to be appended to allow git formatted patches to be applied.

if using rdopkg patch to add patches and the following modification is required to make patches apply
-%autosetup -n %{pypi_name}-%{upstream_version}
+%autosetup -n %{pypi_name}-%{upstream_version} -p1
if -S git is present -p1 is not needed

There are currently sanity checks that fail rdopkg patch/new-version on certain .spec errors, see
specfile.sanity_check.
So adding sanity_check_autosetup there would be simplest way to prevent this error without touching the .spec too much.
In order for automated fixing of stuff, some work on a streamlined and reausable solution is needed as described in #115.


Updated names of Amazon Connectors

Updated names of Amazon Connectors to include the word "Amazon" in the name. Example - Amazon S3

Updated names of Amazon Connectors to include the the word "Amazon" in the name. Example - Amazon S3


Footer on /news page is difficult to navigate to due to semi-infinite scrolling

When on www.freecodecamp.org/news and trying to scroll to the footer, the document height repeatedly increases due to an infinite scroll effect causing new content to load which pushes the footer out of the viewport. This makes navigating to the footer very difficult and constitutes a UX bug, IMO. A narrow, fixed footer or moving the footer content to a fixed side-panel are possible solutions.
To reproduce the bug try scrolling to bottom here: https://www.freecodecamp.org/news

Browser Name: Chrome
Browser Version: 72.0 & 71.0
Operating System: Linux Mint & ChromeOS

I'd be interested in submitting the PR for this if it is deemed an issue in need of changing.

We are currently, in the middle of shipping the learn platform. The news app is a dedicated Ghost instance currently using one of their default themes. We do plan to overhaul this in future.
So, the theme may be changed to something that we choose to vote internally.
Thanks a lot for your interest, and reporting this.
As of now, this is an intended behaviour, and may change in future.


Create gettingStarted page for TS4900

Signed-off-by: Theodor Gherzan<EMAIL_ADDRESS>

We will probably need to update the dashboard image here, because it has the old instructions, and for some reason a lot of people read instructions from the doc images :P

I think the docs in the images. Are already in master. Probably just waiting for deploy.


UI updates

PR Description
The new Halloween theme for Candy Craze features a blood red background, mausoleum-shaped score board and custom artwork designed by Hacktoberfest contributors @silverwavetidaldragon and @j-kincaid.

### Fixes #
This PR fixes Issues #27 and #28.
Describe how to test your PR locally

Open index.html locally and play the game.

Version two of the match 3 game has been released so this PR is out of date .


Documentation of (CARD4L) ARD processes

Based on review remark, which mentions that the documentation is rather sparse.

ard_normalized_radar_backscatter does not mention the bands that are added by default, and their names
ard_surface_reflectance : CARD4L specifies metadata bands to be added, but the process doesn't mention any of this

In general: maybe it can link to code samples? For instance:
https://open-eo.github.io/openeo-python-client/ard.html#atmospheric-correction
We point to processes.openeo.org a lot, which in it current form never mentions how to actually run things.
Can we also extend the description, perhaps by even copying from the CARD4L description, so people don't have to go and read the PDF?

Yeah, we did not copy the information over from sar_backscatter for example. There it is defined how the bands will be named etc. We can simply copy that over.
It's the same for surface reflectance, many of the missing information is in the underlying processes for atmospheric_correction and cloud_detection. Here it's not 100% clear though what is returned as we don't know to what extend different cloud masks are available.

@jdries What do you want me to add from the CARD4L spec?
Linking to the library docs: I'm a bit hesitant as things are still in flux, in theory, processes are independent of implementations in clients and we should probably discuss a structure to not just make this yet another "about" link.
I've opened PR #229 for improvements. For now just SAR and I'll work on SR next. Is SAR how you expected it to be?

ard_surface_reflectance : CARD4L specifies metadata bands to be added, but the process doesn't mention any of this

@jdries Could you please point me to where this is specified? I can't find it in the CARD4L spec.

I believe this is the full list:
2.2 No Data -> threshold
2.3 Incomplete Testing  -> threshold
2.4 Saturation  -> threshold
2.5 Cloud  -> threshold
2.6 Cloud Shadow  -> threshold
2.7 Land/Water Mask
2.8 Snow/Ice Mask
2.9 Terrain Shadow Mask
2.10 Terrain Occlusion
2.11 Solar and Viewing Geometry -> threshold: provide average
2.12 Terrain Illumination Correction
2.13 Aerosol Optical Depth Parameters
So looking at this, it the cloud bitmask seems to be the most relevant.

@jdries @lforesta What bands names have you implemented for all these? Otherwise I'll just use the names that correspond to STAC CARD4L.

Is it an option to specify band names to be used if a backend does want to add these additional bands?

I don't understand. The (threshold) bands need to be generated by the back-ends and the data cube must return specific names so that user can rely on them. So I'd just specify a list of band names in the return value description.

Yes, agreed to specify band names in the return value. Nodata is usually encoded directly in the data, and sometimes also in the cloudmask, but indeed not as a separate band. Also cloud, cloud-shadow and saturation can be encoded in the same file.
One well-known example for sen2cor:

@jdries @lforesta What bands names have you implemented for all these? Otherwise I'll just use the names that correspond to STAC CARD4L.

hmn, we don't provide them as bands yet

For VITO processes, angles need to be loaded from L1C, with these names:
"VAA", "VZA", "SAA", "SZA"
or the full version:
viewAzimuthAngles, viewZenithAngles, sunAzimuthAngles, sunZenithAngles
AOT is generally used for aerosol
SNW is used by sentinelhub for snow band
The terrain stuff is also new to me.

Below there's a first attempt based on naming in STAC CARD4L (the naming from VITO doesn't seem easy to understand). See also #229 for all changes.

Data cube containing bottom of atmosphere reflectances for each spectral band in the source data cube, with atmospheric disturbances like clouds and cloud shadows removed. No-data values (null) are directly set in the bands. Depending on the methods used, several additional bands will be added to the data cube:

date (optional): Specifies per-pixel acquisition timestamps.
incomplete-testing (required): Identifies pixels  for which the per-pixel tests have not all been successfully completed with a value of 1. Otherwise the value is 0.
saturation (required) / saturation_{band} (optional): Indicates where pixels in the input spectral bands are saturated (1) or not (0). If the saturation is given per band, the band names are saturation_{band} with {band} being the band name from the source data cube.
cloud, shadow (both required),aerosol, haze, ozone, water_vapor (all optional): Indicates the probability of pixels being an atmospheric disturbances such as clouds. All bands have values between 0 (clear) and 1, which describes the probability that it is an atmospheric disturbance.
snow-ice (optional): Points to a file that indicates whether a pixel is assessed as being snow/ice (1) or not (0). All values describes the probability and must be between 0 and 1.
land-water (optional): Indicates whether a pixel is assessed as being land (1) or water (0).  All values describes the probability and must be between 0 and 1.
incidence-angle (optional): Specifies per-pixel incidence angles in degrees.
azimuth (optional): Specifies per-pixel azimuth angles in degrees.
sun-azimuth: (optional): Specifies per-pixel sun azimuth angles in degrees.
sun-elevation (optional): Specifies per-pixel sun elevation angles in degrees.
terrain-shadow (optional): Indicates with a value of 1 whether a pixel is not directly illuminated due to terrain shadowing. Otherwise the value is 0.
terrain-occlusion  (optional): Indicates with a value of 1 whether a pixel is not visible to the sensor due to terrain occlusion during off-nadir viewing. Otherwise the value is 0.
terrain-illumination  (optional): Contains coefficients used for terrain illumination correction are provided for each pixel.

The data returned is CARD4L compliant and contains metadata.

Merged, see PR for details.


Controller functions are run 3 times

I've set up a new project using swagger-node and it seems that with every request, the API calls the controller function 3 times. I've tried this with the default swagger hello-world project and my own project. Super frustrating!
Any ideas?

Issue turned out to be caused by the browser. Closed.


[Function builders] Fix-Its and code completion improvements

Extend diagnostics and code completion to help guide developers toward implementing function builders. Specifically:

When the function builder transformation cannot be applied because of a missing build method, e.g., because the body uses if-else but the function builder doesn't provide buildEither(first:) and buildEither(second:), add a note + Fix-It to the error message that adds stubs for the functions needed to support those statements.
When code-completing with the definition of a function builder type, provide a full set of completions for all of the build functions that function builders support.
Add an educational note outlining the builder functions that a function builder can provide.

Fixes SR-13536 / rdar://problem/68732123

@swift-ci smoke test

Fix-It matching with newlines doesn't work with Windows because of CRLF. Sigh.

@swift-ci please test

@swift-ci please smoke test

@swift-ci please smoke test Linux

@swift-ci please smoke testmacOS

@swift-ci please smoke test macOS

Build failed
Swift Test Linux Platform
Git Sha - 3b8656dc6fd94a91d2c1dd3e1b98343a34d0b731

Build failed
Swift Test OS X Platform
Git Sha - 3b8656dc6fd94a91d2c1dd3e1b98343a34d0b731


What's the current status?

I would like to know the current status of this project.
Is there any roadmap where we can know how this project is advancing? Do you expect this project to be stable in a near future? Is it reliable to use it in a Production environment nowadays?
Thank you

Hi deadmouse,
while we don't have any sort of roadmap, we are constantly improving bc2adls. Currently, I am working on extending the possibilities of interacting with bc2adls data in SQL and Spark. Since bc2adls is open source, you are welcome to make your own additions and contribute to the repository.
Please bear in mind that bc2adls is a prototype and that there are currently no plans to integrate it into any official Microsoft product. I would encourage you try it out and see whether it meets your requirements. If you run into issues, you are welcome to reach out at<EMAIL_ADDRESS>


README examples.js link issue

README links to examples.js while the file is called example.js (no s)

Fixed


Home Assistant 2021.2.1: Not Starting

Version of the custom_component
Version: 5.3.0
Home Assistant Version: 2021.2.1
Configuration
# Afvalwijzer
sensor:
  - platform: afvalwijzer
    provider: mijnafvalwijzer        # (required, default = mijnafvalwijzer) either choose mijnafvalwijzer, afvalstoffendienstkalender or rova
    postal_code: !secret postal_code             # (required, default = '')
    street_number:  !secret street_number                # (required, default = '')
    suffix: ''                       # (optional, default = '')
    include_date_today: false        # (optional, default = false) to take or not to take Today into account in the next pickup.
    default_label: Geen              # (optional, default = Geen) label if no date found
    id: ''                           # (optional, default = '') use if you'd like to have multiple waste pickup locations in HASS

Describe the bug
Afvalwijzer is not booting, giving an error at boot of Home Assistant. (See below)
Debug log
2021-02-05 20:04:16 ERROR (SyncWorker_0) [custom_components.afvalwijzer.const.const] Other error occurred: 'ophaaldagen'
2021-02-05 20:04:16 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up afvalwijzer platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 198, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/afvalwijzer/sensor.py", line 65, in async_setup_platform
    afvalwijzer = await hass.async_add_executor_job(
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/afvalwijzer/provider/afvalwijzer.py", line 67, in __init__
    (
TypeError: cannot unpack non-iterable NoneType object

Wellicht te maken met het vervangen van de Python-versie?
Zie blog Home Assistant: 2021.2: Z-Wave... JS!

It seems no data is available on your postal code and street number. Could you provide this information so I can verify? For me the component is working properly on the latest release of hass.

Of course, my postal code is 6361TD with street_number 8

The services indeed don't provide the waste information for my postal code, that's a pitty.
Maybe an idea to catch this situation and provide a description in the logs that this is the case ;)

Imho it's clear enough from the documentation this only supports a couple of waste providers in the Netherlands and the range of postal codes supported isn't very clear stated somewhere. Do you know which provider you need to look at?

https://rd4.syzygy.eu/6361TD/8

Indeed Rd4, will look into that, thanks for the clarification ;)


Update typo in readme.md

As far as can tell, the variable should be named json_schema in the example.

dupe of #3 and #4.


⚠ Cioos Pacific CKAN has degraded performance

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

HTTP code: 200
Response time: 10734 ms

Resolved: Cioos Pacific CKAN performance has improved in eb3bb17 after 11 minutes.


Add Metamask login

Adds a possibility to identify with Metamask

Closes #75 and #80

Should we persist the username in IPFS after authenticating with Metamask, or is this enough?

Looking great @JaniAnttonen! Not sure about persisting the username to IPFS, unless the user requests to do that


Json parser thinks "output" is mandatory

And most but not all led devices require it.
Usbasp doesn't care.

Ou, should be changed
/slack test :D


Some plugins not loading on windows

I have the exact same setting on Ubuntu and Windows. On Windows some plugins load just fine, and some don't. The plugins that are not loading at the moment are sparkup and NERDtree.
Here's my rtp
C:\Users\eduardocereto\vimfiles\bundle\vundle,C:\Users\eduardocereto\vimfiles\bundle\vim-fugitive,C:\Users\eduardocereto\vimfiles\bundle\vim-easymotion,C:\Users\eduardocereto\vimfiles\bundle\vim-powerline,C:\Users\eduardocereto\vimfiles\bundle\sparkup\vim\,C:\Users\eduardocereto\vimfiles\bundle\nerdtree,C:\Users\eduardocereto/vimfiles,C:\Program Files (x86)\Vim/vimfiles,C:\Program Files (x86)\Vim\vim73,C:\Program Files (x86)\Vim/vimfiles/after,C:\Users\eduardocereto/vimfiles/after,C:\Users\eduardocereto/vimfiles/bundle/vundle/,C:\Users\eduardocereto\vimfiles\bundle\vundle/after,C:\Users\eduardocereto\vimfiles\bundle\vim-fugitive/after,C:\Users\eduardocereto\vimfiles\bundle\vim-easymotion/after,C:\Users\eduardocereto\vimfiles\bundle\vim-powerline/after,C:\Users\eduardocereto\vimfiles\bundle\sparkup\vim\/after,C:\Users\eduardocereto\vimfiles\bundle\nerdtree/after

:BuildInstall runs fine and says installed all my plugins. I can see that the plugins are cloned inside my vimfiles directory. EasyMotion and powerLine work just fine. I see no errors or anything when I open Vim. Been bashing my head on this one for a while.

even though Plugin ''rstacruz/sparkup', {'rtp': 'vim'} is placed after Plugin 'scrooloose/nerdtree', NERDTree is not working why some core NERDTree vim files are loaded in wrong runtimepath order.
Here,what i want to know/get is right solution to resolve the problem at Vundle's end.


Trying to associate Dockerfile with an icon

[x] I'm sure this issue is not a duplicate.

Language Extensions:

More info:
Hi, I'm trying to associate Dockerfile.* to dockerfile icon; for now, I have a single one, and I have this in my workspace settings:

"vsicons.associations.files": [
  {
    "filename": true,
    "format": "svg",
    "icon": "webpack",
    "extensions": [
      "Dockerfile.dev"
    ]
  }
],

But it's not working. I tried to follow the wiki on the topic of fine tuning, but I don't know what I'm missing here.
Also, is it possible to put a wildcard in extensions? (For example: Dockerfile*)

Blobs are not supported by the visual studio code extension api.
This code below should change your icons to docker for the files specified in the extensions property:
{
   "icon": "docker",
   "extensions": ["Dockerfile.dev", "Dockerfile.prod"],
   "filename": true},


Add GetAssignees to Issue

code|test copied from IssueRequest

Please read through CONTRIBUTING.md.
These files are auto-generated and should not be edited.

Closing PR.

Apologies!

No apology necessary!  I know it can be very confusing.  Thanks.


Extension fix

Giving an '.ipynb' extension for 'Oxford-IIIT Pet - Semantic Segmentation - Tesla T4' file

Thanks.


[docs] Add more detailed docs on repo structure

As I was working on #2, I realized I was doing too many things at once. Trying to break it up so the PRs are easier to review.
This PR proposes filling in more details on the repo structure, following up on #1 .

adds a CONTRIBUTING.md with details on the expected structure
makes it clear that this repo will not be used to build custom images, and that that should be done in https://github.com/saturncloud/images

Once we agree on this and it's merged, #2 will just be about moving files around to make what we have there compliant, and adding a continuous integration job that will check that all examples follow this structure.

love the .saturn folder

thanks! I thought the . was a good convention to take from CI services (.github/, .circleci/) and editors (.vscode/, .idea/)

love the .saturn folder

thanks! I thought the . was a good convention to take from CI services (.github/, .circleci/) and editors (.vscode/, .idea/)

also added benefit that it doesn't show up in JupyterLab

https://github.com/saturncloud/examples/pull/3/commits/1c8cb87aae73a3b06b9b3edc69152ca96ebdb011 removes the duplicated stuff from README.md and pushes it to CONTRIBUTING. It also adds a line explaining that directory names under examples/ will be project names.


Usage of deprecated constants

Got the following error:
DATA_RATE_KIBIBYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.KIBIBYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
DATA_RATE_MEBIBYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.MEBIBYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
DATA_RATE_GIBIBYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.GIBIBYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
ENTITY_CATEGORY_CONFIG was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use EntityCategory.CONFIG instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
ENTITY_CATEGORY_DIAGNOSTIC was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use EntityCategory.DIAGNOSTIC instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues

Same here
Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 20:04:36 (3128 occurrences)
Last logged: 20:04:59
DATA_RATE_KIBIBYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.KIBIBYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
DATA_RATE_MEBIBYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.MEBIBYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
DATA_RATE_GIBIBYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.GIBIBYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
ENTITY_CATEGORY_CONFIG was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use EntityCategory.CONFIG instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
ENTITY_CATEGORY_DIAGNOSTIC was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use EntityCategory.DIAGNOSTIC instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues

Logger: homeassistant.components.device_tracker.const
Source: helpers/deprecation.py:205
Integration: Device tracker (documentation, issues)
First occurred: 20:04:55 (1 occurrences)
Last logged: 20:04:55
SOURCE_TYPE_GPS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SourceType.GPS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues

I have the same. Is there some way to solve it w/o need to import all constants and fill logs by these messages?

Many thanks.. Now ok ..


I'd like to join this project's community

Your public repo
https://github.com/nickmvincent/gov4git-identity-public.git
Your public branch
main

Approved

 Follow up
On Monday, 25-Mar-24 17:49:04 UTC by Gov4Git dev
@nickmvincent was added to the community.


Random template functions

Per #25, implement the Sprig functions for Bartholomew. Rather than file an issue for each function, I figured I'd break these down into small batches. (Note: I am not entirely sure all of the functions can be done with the same syntax. I am no pro in writing the Handlebars functions.)
Extra warning: I don't know if I've ever tried using random functions within WASI.

rand_alpha  Random from set [a-zA-Z]
rand_numeric Random from set [0-9]
rand_alphanum Random from set [a-zA-Z0-9]

Closed by #133


Toast-UI Calendar with CDN lacking functionalities

Hello, I was trying to work with Toast UI calendar. I tried to use it via CDN which requires us to insert the following:

When I tried to create a calendar in my .html file, I noticed that it lacked a few functions such as date-picker, render-range, or even the event scheduler pop-up. Not only the functions, but they didn't even show up properly on the window(prev,next buttons were empty spaces).
I also noticed that you mentioned 'tui-code-snippet' as a dependency for this calendar: https://github.com/nhn/tui.calendar#-dependency
However, I'm not sure what to include from the tui-code-snippet exactly, as there are a bunch of functions in there and you state that we should only import the functions we need from it: https://github.com/nhn/tui.code-snippet#-usage
I simply need to use the calendar with its scheduling functionality and a few views(monthly, weekly and daily). Please advise how I can get it done.
Kind regards,
Syed Ali Shahbaz

Hi, I just wanted to provide an update on this.
I have tried to include the tui-code-snippet as well:

Which only helped in rendering the calender in the .html page, however, the functionalities were all still missing.

check.
https://github.com/nhn/tui.calendar/blob/master/examples/example00-basic.html
Can you give me a reproducible link?

Hi,
here's the link. I simply followed the instructions provided for a simple .html page using CDN links (unless I misunderstood the steps).
https://alishaz.com/test/tui-calendar

check.
https://github.com/nhn/tui.calendar/blob/master/examples/example00-basic.html

Sure thing, I'll check it out.  Thanks. In the mean time, if you can confirm whether I was on the wrong path or if something is missing in the link I provided, please let me know.
I simply want to create a monthly view calendar with default pop-ups of event-scheduling capabilities.

check.
https://github.com/nhn/tui.calendar/blob/master/examples/example00-basic.html
Can you give me a reproducible link?

Hi,
I updated the page in accordance with the example provided. There are still a couple of things missing. I am not worried about the CSS not showing button icons, etc. but  the "renderRange" is not showing up, and the buttons(prev-next) are not changing the calendar month in this case. In the example file, it does that, however, in my case, it doesn't. What am I missing here?
Thanks for your help!

Hi,
I noticed many functions described in the app.js file which complement what I plan to use with the calendar, like scheduling as well as the basic functions of prev-next and the render-date function.
I can import the necessary functions from app.js to get the job done now. Thank you for looking into this, and thanks for this fantastic open-source plugin. Really appreciate it!