Error on Start up

No module named 'aiohttp'
Attempting to install dependencies...
Collecting discord.py[voice] (from -r requirements.txt (line 1))
Could not fetch URL https://pypi.python.org/simple/discord.py/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645) - skipping
Could not find a version that satisfies the requirement discord.py[voice] (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for discord.py[voice] (from -r requirements.txt (line 1))
You may need to run as admin to install dependencies.
C:\Users\Batman\Desktop\MusicBot-master (1)\MusicBot-master>

Try installing this certificate on your system - https://support.comodo.com/index.php?/Knowledgebase/Article/GetAttachment/969/821026

No module named 'aiohttp'
Attempting to install dependencies...
Collecting discord.py[voice] (from -r requirements.txt (line 1))
Could not fetch URL https://pypi.python.org/simple/discord.py/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645) - skipping
Could not find a version that satisfies the requirement discord.py[voice] (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for discord.py[voice] (from -r requirements.txt (line 1))
You may need to run as admin to install dependencies.
C:\Users\Batman\Desktop\MusicBot-master (1)\MusicBot-master>

no it still says this

Strange. Can you try using this command in a command prompt in your Musicbot folder? You can open lazy_cmd.bat to open a command prompt there for you. pip install --trusted-host pypi.python.org -r requirements.txt

Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\Batman\Desktop\MusicBot-master (1)\MusicBot-master>pip install --trusted-host pypi.python.org -r requirements.txt
Collecting discord.py[voice] (from -r requirements.txt (line 1))
Downloading discord.py-0.11.0.zip (436kB)
100% |################################| 440kB 6.6MB/s
Collecting youtube-dl (from -r requirements.txt (line 2))
Downloading youtube_dl-2016.8.17-py2.py3-none-any.whl (1.4MB)
100% |################################| 1.4MB 3.3MB/s
Requirement already satisfied (use --upgrade to upgrade): pip in c:\users\batman\appdata\local\programs\python\python35-32\lib\site-packages (from -r requirements.txt (line 3))
Collecting cffi==1.6.0 (from -r requirements.txt (line 4))
Downloading cffi-1.6.0-cp35-none-win32.whl (145kB)
100% |################################| 153kB ...
Collecting aiohttp<0.22.0,>=0.21.0 (from discord.py[voice]->-r requirements.txt (line 1))
Downloading aiohttp-0.21.6-cp35-cp35m-win32.whl (237kB)
100% |################################| 245kB 6.6MB/s
Collecting websockets==3.1 (from discord.py[voice]->-r requirements.txt (line 1))
Downloading websockets-3.1.tar.gz
Collecting PyNaCl==1.0.1 (from discord.py[voice]->-r requirements.txt (line 1))
Downloading PyNaCl-1.0.1-cp35-none-win32.whl (103kB)
100% |################################| 112kB 6.6MB/s
Collecting pycparser (from cffi==1.6.0->-r requirements.txt (line 4))
Downloading pycparser-2.14.tar.gz (223kB)
100% |################################| 225kB 6.5MB/s
Collecting chardet (from aiohttp<0.22.0,>=0.21.0->discord.py[voice]->-r requirements.txt (line 1))
Downloading chardet-2.3.0.tar.gz (164kB)
100% |################################| 174kB 6.5MB/s
Collecting six (from PyNaCl==1.0.1->discord.py[voice]->-r requirements.txt (line 1))
Downloading six-1.10.0-py2.py3-none-any.whl
Installing collected packages: chardet, aiohttp, websockets, pycparser, cffi, six, PyNaCl, discord.py, youtube-dl
Running setup.py install for chardet ... done
Running setup.py install for websockets ... done
Running setup.py install for pycparser ... done
Running setup.py install for discord.py ... done
Successfully installed PyNaCl-1.0.1 aiohttp-0.21.6 cffi-1.6.0 chardet-2.3.0 discord.py-0.11.0 pycparser-2.14 six-1.10.0 websockets-3.1 youtube-dl-2016.8.17
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
C:\Users\Batman\Desktop\MusicBot-master (1)\MusicBot-master>

im done it and this is what i got

Okay then it was successful, now just run your bot.

It work thank you


Plugins are not installed when running the validate command

Expected behavior
Currently, when running the gauge run, it installs the required plugins if not installed already. The behaviour should be the same when running the gauge validate command.
Actual behavior
Errors on missing plugins.
Steps to reproduce

Uninstall one of the required plugins, e.g. java
Run gauge validate specs/
Should install the missing java, but errors with plugin not found

Gauge version
Gauge version: 1.0.5

Plugins
-------
flash (0.0.1)
html-report (4.0.8)
java (0.7.2)
js (2.3.4)
screenshot (0.0.1)
spectacle (0.1.3)
xml-report (0.2.1)

This issue has been verified and found fixed.
Tested version: Gauge version: 1.0.6.nightly-2019-07-04


Added camp facility details page

I have added a new section to display details of the rescue camp and have taken all measures possible to not break the application. Please Consider this as a response to Issue #120

please rebase and submit

We're implementing this is a better way for issue #161 . Let's not merge till it's ready.

Please close this. It's already merged in a different PR.

@riginoommen

Please close this. It's already merged in a different PR.
https://github.com/IEEEKeralaSection/rescuekerala/pull/130#issuecomment-413833348

Please close this and remove the labels.


Feature 83/unit tests

I have added tests for the StrainSlice module. I created new variation and core test databases for mouse.

Fair enough.

Although please fix the tests. Travis is complaining

I committed a change to the variation API to modify the query if the driver is SQLite. Could you please rerun the last Travis build? It should pick up the change in the variation API. Thank you

Tests are passing, but coveralls coverage claims to have dropped hugely.


Add CHANGELOG

Re: https://github.com/Khan/KaTeX/issues/785

I'm personally against changelogs auto-generated from commit logs and/or merged pull requests.
From keepachangelog.com:

Can changelogs be bad?
Yes. Here are a few ways they can be less than useful.
 Things like merge commits, commits with obscure titles, documentation changes, etc.
The purpose of a commit is to document a step in the evolution of the source code. Some projects clean up commits, some don't.
The purpose of a changelog entry is to document the noteworthy difference, often across multiple commits, to communicate them clearly to end users.

I'm personally against changelogs auto-generated from commit logs and/or merged pull requests.

I did not autogenerate this, but I agree with the implication that the current CHANGELOG is too cluttered/needs to be more readable by a user.

closing for now

The nice thing about the former is that you can see them all together whereas the releases are paginated which isn't that bad imo.

Plotly's Changelog has sections in each release that work well: Added, Fixed, Updated https://github.com/plotly/plotly.py/blob/master/CHANGELOG.md
@kevinbarabash
An alternative to just one-paging the release info is picking the relevant notes and categorizing based on these 3 sections, or to just organize them all under these sections. WDYT?

They seem to follow keepachangelog.com:

Added for new features.
Changed for changes in existing functionality.
Deprecated for soon-to-be removed features.
Removed for now removed features.
Fixed for any bug fixes.
Security in case of vulnerabilities.

@Kully the CHANGELOG.md file you linked to looks alright.  I like the categories that @ylemkimon posted to.  Currently the release notes combine Added and Changed into a single New Features.  I kind of like separate them out though.  I guess every once in a while we do have Breaking Changes which is kind of like Changed.  I'm not sure what would fit into Changed but not Breaking Changes.  🤔

@Kully the CHANGELOG.md file you linked to looks alright. Should I continue with it then? I deleted the branch because you closed the original issue. I can make the CHANGELOG and split Nee Features into Added and Changed as best I can.

And regarding Breaking Changes, I imagine its any change to the code in which functions do not work/raise errors, eg. if \sqrt{} no longer worked. This seems like it would be a very small category. And Changes would be things like interpolating the sqrt symbol: https://github.com/Khan/KaTeX/issues/1132
What do you think?

I see, so changes might be something like "we made this existing feature better in some way"?

@kevinbarabash Yeah exactly. At Plotly that's how we interpret it


Set up instruction fine-tuning pipeline

it would be great to enable users to easily fine-tune base models for their unique downstream tasks

We need some clarification on this!  Maybe some roadmapping!  Maybe a roadmapping meeting!

give some more details so I can work on this issue

assign it as quickly as possible

@Aakashdeep-Srivastava can't assign tickets yet, kindly refer :https://discord.com/channels/1075227138766147656/1147542772824408074/1147672307544899584

Hi, can I also please work on this issues? Thank you!

Hi, I came up with an basic blue print.

project_directory/
│
├── data/
│   ├── dataset.csv
│   └── preprocessing_script.py
│
├── models/
│   ├── fine_tuning_script.py
│   └── evaluation_script.py
│
├── requirements.txt
└── README.md

https://github.com/lucylililiwang/LLM-VM/blob/lucylililiwang-Set-up-instruction-fine-tuning-pipeline/preprocessing_script.py


Bootstrap with template

Changes from this PR
closes #270

For the new command, make  argument required

inspiration for this came from cargo
users can still use the current directory via passing the cwd

Re-organize the project module

For example, things are now accessible via project:::Config instead of project::config::Config
also removes all the logic out of mod.rs, mod.rs is just used for controlling the project module internal API

Moves create_toml function that was in the funky project_utils.rs file in commands to a method of Project.
Adds the templates discussed in #270

here's the structure I went with

Library template
<lib_name>
├── pyproject.toml
├── src
│   ├── __init__.py
│   └── my_math.py    # includes an example library with 2 function
└── test.py           # Also includes an example python UnitTest (not pytest)

App template
<app_name>
├── pyproject.toml
└── src
    └── <app_name>
        └── main.py

Alright, @cnpryer here's what I got...

change the default back to lib
update the pyrpoject.toml entry point and test if necesary
cut down on the boostrap code

Am I missing anything?

I should be able to come back to this in a few hours. Really appreciate the help!

Hmm maybe not necessarily needed in this PR, but maybe we should add the project type concept in our design doc in some form. Coming back to this PR now.

Looks like some more work to do unfortunately :( sorry! There's still a math.py that I think we should get rid of in the --lib bootstrapping.
Also the files aren't formatting properly. Here's the test file.
import unittest

class TestSum(unittest.TestCase):

                      	def test_lib_function(self):
		result = 2 + 2

                      		self.assertEqual(result, 4)

if __name__ == '__main__':
	unittest.main()

Can we also back out of unittest for the bootstrapping? I'm not going to lie the camel casing it uses has always bothered me. Idiomatic python would use snake case.
All we really need here is
def test_add():
    res = 2 + 2
    assert res == 4

Let me know if you want me to help you wrap this up. I hate to nit it like this :/
It also looks like the --app formatting is off
def main():

                	print('Hello, World!')

if __name__ == '__main__':

                	main()

Maybe we should also add some more testing. So assert created files are equal to expected raw strings.

man I gotta stop doing this stuff when I'm inebriated JK. let me fix the formatting real fast

alright, I'm just scrapping the code, on the lib part

I was trying to make the source more readable and I made the python un-runable.

Alright, new lib strucutre
test_proj
├── pyproject.toml
└── src
    └── __init__.py

everything is empty.
new app structure
test_proj
├── pyproject.toml
└── src
    └── test_proj
        ├── __init__.py
        └── main.py

main.py
def main():
    print('Hello, World!')

if __name__ == '__main__':
    main()

I'm just scrapping the code, on the lib part

So we're not going with the test module for --lib?
test.py
def test_add():
    res = 2 + 2
    assert res == 4

This would still pass with huak test.

I mean we can but don't you think it's just getting confusing if we include that? I mean, it's not really a test, and even if it were it's not like there's an example library that it's testing. The initial objective of having the test in there was so users and would have something to 'run' but
def test_add():
    res = 2 + 2
    assert res == 4

is not really runable unless we initialize projects with pytest. (even then I guess we would have to add more? IDK I normally use UnitTests, never understood why people disliked it)
so I'd say nix it.

Gotcha. That's my bad. Looks like I missed the entire snippet.
pub fn add(left: usize, right: usize) -> usize {
    left + right
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn it_works() {
        let result = add(2, 2);
        assert_eq!(result, 4);
    }
}

I think we we're both on the same page about adding a passing test. I guess we just had some communication mixup. That's on me. I do agree that it would be nice to have a test in here. I'll merge this up if you want to move on. I'd understand.
I may follow up and either include test.py as
from my_project import add

def test_add():
    res = add(2, 2)
    assert res == 4

Or I might add version = "0.0.1" to the bootstrap and just
from my_project import __version__

def test_version():
    __version__

I just don't want to steal that contrib from you after all of this work.
Regardless I'll merge this in a bit if we're good with the PR's current state.

Looks good to me. Go for it

Cool! Thanks!


Burst with Robolectric?

Is it possible to get burst working with Robolectric? I realise that adding two test runners would fail but have seen here that if one can be a rule, then both should be OK to run together.
I've looked for a TestRule for Robolectric but can't find one and looked for one in this project but same problem. Any idea how to get them both working or how to write a rule for one or the other?
Cheers!

There is currently no way. #32 was an attempt but it never was completed.

No plans. We are ceasing development in favor of TestParameterInjector.


Add more Translations for DateTime

The following Code cannot be translated with the SqLite Provider.
Everything works fine with SqlServer
.Where(x => x.Expiration < DateTime.UtcNow)
Warning:
{
    "@t": "2018-02-05T08:43:20.2806558Z",
    "@mt": "The LINQ expression '{expression}' could not be translated and will be evaluated locally.",
    "@m": "The LINQ expression 'where ([x].Expiration < Convert(DateTime.UtcNow, Nullable`1))' could not be translated and will be evaluated locally.",
    "@i": "245bba28",
    "@l": "Warning",
    "expression": "where ([x].Expiration < Convert(DateTime.UtcNow, Nullable`1))",
    "EventId": {
        "Id": 20500,
        "Name": "Microsoft.EntityFrameworkCore.Query.QueryClientEvaluationWarning"
    },
    "SourceContext": "Microsoft.EntityFrameworkCore.Query",
    "Scope": ["Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor"],
    "Environment": "Production",
    "Application": "***.Identity.Server"
}

Steps to reproduce
var expired = context.PersistedGrants
   .Where(x => x.Expiration.HasValue && x.Expiration.Value < DateTime.UtcNow)
   .OrderBy(x => x.Key)
   .Take(_options.TokenCleanupBatchSize)
   .ToArray();

    public class PersistedGrant
    {
        public string Key { get; set; }
        public string Type { get; set; }
        public string SubjectId { get; set; }
        public string ClientId { get; set; }
        public DateTime CreationTime { get; set; }
        public DateTime? Expiration { get; set; }
        public string Data { get; set; }
    }

https://github.com/IdentityServer/IdentityServer4.EntityFramework/blob/1d7a862903b82c08f28d0787b1dafe1590e2f526/src/IdentityServer4.EntityFramework/TokenCleanup.cs#L113
Further technical details
EF Core version: 2.0.1
Database Provider: Microsoft.EntityFrameworkCore.Sqlite
Operating system: Windows 10 1709
IDE: Visual Studio Professional 2017 15.5.5

Fixed in https://github.com/aspnet/EntityFrameworkCore/pull/10528
Sqlite did not have translation specified for DateTime.UtcNow which has changed. It should be able to translate it correctly.

Duplicate of #4108


Randomly creates "Enter Full Screen" entries in window menu

This might not be so random but here are the details.  As you can see in the screenshot I have reclaimed  from the normal Find menu to be used with CtrlP.  What happens sometimes is  will magically remap to be Enter Full Screen.  It may or may not be related to me closing my laptop and opening it or just the laptop going to sleep.  I never use full screen mode for MacVim and having 8 tabs or so open only to have to restart MacVim to get my  functionality back is not good.  I haven't tried to dig into the source yet and figured I'd post an issue for it in case anyone else is experiencing this.  I just recently installed macvim via homebrew and that's when it started. Previously with the binary from github I never hit this problem. I'm happy to help diagnose with any info.

Just FYI, :set [no]fu can get you out of fullscreen if you accidentally wind up there.

If I recall correctly, macmenu key mappings must be done in gvimrc, not a separate file.  Put that part in your gvimrc and see if it keeps happening.

Hey @chdiza thanks for the quick reply. I've moved all command key binds to my gvimrc and will see if that fixes, will close this out if it does.

Yeah, my memory was right.  :help macmenu, first paragraph.
But you don't need to move ALL bindings to .gvimrc.  Just the macmenu ones.

You'll notice in my screenshot that the gui_macvim lines are already in my gvimrc, seems like moving the command key binds there didn't fix it either.
What I find really baffling is that by default command f is find, not full screen.

In the only screen shot on this page, the lines are in a file called mappings.vim.

Ah, no, I see now.  The statusline was very faint!

Which gets loaded first, gvimrc or mappings.vim?  If it's mappings.vim, that's likely the problem.

The next time it gets "remapped" to fullscreen, try doing :verbose map to see if <D-f> or <D-F> appear anywhere, and what file they're being sourced from.

Menu key bindings you can change in System Preferences -> Keyboard -> Shortcuts -> App Shortcuts and no need to modify gvimrc

@chdiza mappings is sourced in the last line of my vimrc, so if vimrc is loaded before gvimrc (I forget the load order) then that could be it.
@eirnym thanks! I'll give that a go too.

Vimrc is loaded before gvimrc.  This is almost surely the prob.  I hope!

FWIW, I see the proliferation of entries in the drop-down menu too.  However in my case it isn't Cmd-F, rather it's Shift-Cmd-F. (MacVim shows the Shift as an up-arrow picture.) It happens that in System Preferences I have set as a keyboard shortcut for all apps "Shift-Cmd-F" for "Enter Full Screen".  Do you have "Cmd-F" bound to all apps (or even some apps) in System Preferences?

I should add that in my case this causes no problems other than ugliness, because in my gvimrc I map what is in effect Shift-Cmd-F to "Toggle Full Screen Mode".  So it may well be that on my machine "Enter Full Screen" is being commandeered, but I never noticed it because the hijacker installs the same keyboard chord as I do.

I think I'm all set. It still happened even after swapping the mapping to be after gvimrc. What fixed it is binding an absurd key combo (all meta keys plus F) to enter full screen and now it stopped the high jacking I believe.

Thanks for the help everyone, going to consider this particular case resolved though it does sound like a bug exists that creates menu items repeatedly.

@TheDudeWithTheThing Nevertheless, did you have any keyboard mappings set in System Preferences that apply to "Enter Full Screen" in all apps, or even just for MacVim?  This might help us diagnose what's going on.

Nope, just the default help one and now the "dummy" macvim one

So is that huge keychord showing up multiple times in the Window menu of MacVim?  You said the hijacking stopped, but I'm not sure if you mean the unexpected entries into fullscreen mode, or the existence of the many entries in the dropdown menu, or both.

It does still show up but at least now it's with the giant keychord and not my CtrlP bind.  I'm convinced it has to do with the window being redrawn on desktop switch / laptop close / open, laptop sleep / wake but haven't been able to prove it.  Here's what I'm currently looking at.

OK, so we've got a problem with the interaction between MacVim and custom keyboard shortcuts made in the official Apple way, and we've got two examples (yours and mine).  Your version is where the custom chord is just for MacVim, and my version is when it's for "All Applications".  Your version was created with the Keyboard PreferencePane, and mine was created with the CLI via defaults.
On the one hand, one suspects the flaw is on our end since I've never seen anything like this before.  On the other hand, the keyboard shortcut part of the Keyboard PreferencePane and the shortcuts created have been buggy with weird side-effects since---I kid you not---Panther :smile:

@douglasdrumond @jpetrie @splhack I think maybe this issue should be reopened, or better,  a new one created describing the problem and referencing the current issue.  We can give it a special label to keep it separate from the "usual" issues.
Regardless of what we four think about this particular issue, I think we should decide on our general policies for issue management.

I'm happy to help with testing / troubleshooting as well so keep me in the loop if you like.

Is this resolved? It's marked closed but I see this after using MacVim for a while:


Release preparation & multi-platform support improvements

Adds release preparation script for Windows, Windows + Java runtime, and Linux using
binaries hosted on MyHush/hush GitHub releases and Java SE JRE hosted on Oracle's
distribution site.
Also adds proofing key fetching and validation for Mac and Linux platforms, and various
other platform-specific logic improvements and cleanup.
If this is deemed able to be merged, it should be the commit for the release version tag "v0.71.2b". Binaries can be uploaded for that release shortly thereafter.

Awesome work!


Can't install CIA's

When I try to install any CIA with FBI, it goes to 100% and then displays this error message : "Failed to install CIA file. Result code: 0xC92044FA Level: Status (25) Summary : Canceled (9) Module: FS (17) Desc:  (250)"

Looks to be a FAT operation denied error. Maybe run a disk check on your SD card just in case, or check free space?


Unable to tag microsoft.insights/workbooks using az resource tag command

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az resource tag
Errors:
(BadRequest) Value cannot be null.

Parameter name: The serializedData field is missing or null. Use canFetchContent=true or api-version=2018-06-17-preview when using the GET API to ensure this field is present, or use PATCH if trying to perform a partial update.
Code: BadRequest
Message: Value cannot be null.

Parameter name: The serializedData field is missing or null. Use canFetchContent=true or api-version=2018-06-17-preview when using the GET API to ensure this field is present, or use PATCH if trying to perform a partial update.
Inner error: {
    "trace": [
        "System.ArgumentNullException"
    ]
}

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information. Values have been redacted for security reasons but in actual code do not have parameters.

Put any pre-requisite steps here...
az resource tag --tags Type=Test --ids /subscriptions/$subscription/resourceGroups/$resource_group/providers/microsoft.insights/workbooks/$id

Expected Behavior
The resource should have whatever tags I pass
Environment Summary
Windows-10-10.0.22000-SP0
Python 3.8.0
Installer: PIP

azure-cli 2.43.0

Extensions:
account 0.2.5
azure-devops 0.25.0

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context

@zhoxing-ms for awareness

Hello team is there any update on this?

@Data-Alchemy We will fix the issue in this sprint, the expected release time is 02-07, does this time meet your expectations?

@Data-Alchemy I have completed the development and built the private package. Could you help experience whether the private package has solved your problem? package link


Add note about server validation delay

Before a broadcast transaction can be in a valid status there is a delay. Application code needs to take this into account, and we should make this clear in the documentation.
Thanks to @JosefGattermayer for pointing this out!

Specifically, before you can transfer the newly-created asset, the associated CREATE transaction must be in a valid block, and that takes some time.


Fixed the assertEquals for two dimensional arrays

Fixes # .https://github.com/cbeust/testng/issues/1661
Did you remember to?

[x] Add test case(s)
[x] Update CHANGES.txt

We encourage pull requests that:

Add new features to TestNG (or)
Fix bugs in TestNG

If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the
TestNG-dev before you spend time working on it.

@krmahadevan @juherr please review and let me know your feedback.

@atulagrawal the change breaks the build. Check if you don't have a regression with some other tests.

@juherr - There are following two types of comparison for arrays as per thread in #790 and #870 :

compare by value - is done for an standalone array (one dimensional)
compare by reference - is done when an arrays that is contained by collection, set, map etc and for multi-dimensional array.
The reason for #1661 is because multiple dimensional arrays are converted to collection is are compared via reference.
In order to fix this issue, either I will have to add custom logic in assert method for handling multi-dimensional arrays or will have to change the behavior of collections comparison.

IMHO if someone asserts a collection or any nested data structure, they will look for value comarision. In most cases, developers make expected structure while the method under test returns the actual structure. On top of this, the value comparison covers reference comparision but reverse is not true.

For value comparison in collections, you have assertEqualsDeep.

@juherr I have updated the logic of public static void assertEquals(Object[] actual, Object[] expected, String message)  method along with unit tests cases.

@atulagrawal

This resulted in compare-by-reference behavior.

Are you sure about this ?
Here's the call chain I am seeing:

org.testng.Assert#assertEquals(java.lang.Object[], java.lang.Object[]) invokes
org.testng.Assert#assertEquals(java.lang.Object[], java.lang.Object[], java.lang.String) invokes
org.testng.Assert#assertEquals(java.util.Collection<?>, java.util.Collection<?>, java.lang.String)  which iterates through each of the elements and invokes
org.testng.Assert#assertEqualsImpl (where equals() comparison is being done.

Where is the reference comparison being done here? Can you please elaborate?


Calibration Pixel crash

[ ] Test the calibration process with a Pixel emulator

I believe I fixed it and checked it with the emulator. @jack-elliott if you could check this with the new release. I'll keep my eyes on the crash reports in case this isn't fixed.

Seems to work!
On Wed, Aug 31, 2022 at 2:49 PM Kris Price @.***> wrote:

I believe I fixed it and checked it with the emulator. @jack-elliott
https://github.com/jack-elliott if you could check this with the new
release. I'll keep my eyes on the crash reports in case this isn't fixed.
—
Reply to this email directly, view it on GitHub
https://github.com/mI-PIV/app/issues/389#issuecomment-1233406540, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASRTNWJTQK6OSQ5HKQMC6YTV37AL7ANCNFSM6AAAAAAQAR3ZSU
.
You are receiving this because you were mentioned.Message ID:
@.***>


TypeError: Cannot read property '_autoprefixerDisabled' of undefined

Getting this error against autoprefixer-core 4.0.2.

Problem is because Autoprefixer expects PostCSS 3.0 and some other PostCSS plugin uses PostCSS 4.0.
Downgrade other plugins until Autoprefixer will be updated to new PostCSS.
We try to find some better solution here: https://github.com/w0rm/gulp-postcss/issues/14

I see! Thanks.


Babel support?

Probably very noob question, but how do I use that with Babel?
So far I used babel-watch in the script. And called micro programmatically.

Use a build tool like Gulp or Webpack + Babel that transpiles and bundles your source code into a directory and then do: micro-dev <output-dir>

thanks for answering.
this is probably overkill just to get micro-dev. i hoped there was a more elegant solution. like in the Minimum Viable Async example from rauchg: https://gist.github.com/pid/e922b18a944184d881e5164120db2a65

Async and await work on the latest Node.js version by default. The readme shows this...

...and keeping Babel just for the ES6 import modules is probably useless.
Dang. Now I have to refactor all my imports back to require. 😑
2017-08-07 16:17 GMT+02:00 Leo Lamprecht<EMAIL_ADDRESS>
Async and await work on the latest Node.js version by default. The readme
shows this...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zeit/micro-dev/issues/17#issuecomment-320676136, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJGQ1XGH5AKpuR7aAlSz9CXs6dL-01W1ks5sVxyGgaJpZM4OvX0m
.

Yea... 😊 As the repo states it, at the current state of Node.js (which supports most of ES2015 already), transpilation doesn‘t make much sense server-side.

I'm working with micro-dev & PhantomJS to make some webscrappers workers. The thing is that Phantom supports very few ES2015 features (something about of 10%) so I want to still use Babel and of course, not just for import statements but now I have the work of running npm run build every time I want micro-dev to hot-reload and If I want to automatically build the source code I have to spawn 2 processes, micro-dev and webpack and that isn't efficient. Can we reopen this issue to find a solution for this? I was thinking of making a micro-dev support programmatically API as same micro does or building a webpack-plugin for it.

Hi, this might be a naive solution, but it seems to be working:
// index.js
require('babel-register')
const foo = require('./foo').default

module.exports = function (req, res) {
  const value = foo()
  console.log('serving stuff', value)
  res.end("Hello, world " + value)
}

// foo.js
export default () {
  return 'foo value'
}


VS Code does not open when a file is double-clicked in file explorer

VSCode Version: Code 1.13.1 (379d2efb5539b09112c793d3d9a413017d736f89, 2017-06-14T18:21:47.485Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions:

Extension
Author
Version

xml
DotJoshJohnson
1.9.1

csharp
ms-vscode
1.10.0

PowerShell
ms-vscode
1.4.0

Steps to Reproduce:

Open a folder in VS Code
Open file explorer and navigate to any file that opens in VS Code by default
Double click
The file will not open.

Please uninstall and reinstall VS Code to fix this.


Pattern configuration error with PhamtonJs Runner

My pattern was configured like this

It works when I run karma with chrome, but when I change to phantomjs I got an error.

So I change to explicit the shim/shan path and it works
    {pattern: 'common_beta/static/libs/esr5-shim/es5-shim.js', watched: false},
    {pattern: 'common_beta/static/libs/esr5-shim/es5-sham.js', watched: false},

For questions and support please use the mailing list or Gitter. The issue tracker is for bug reports and feature discussions only.


How to add title and artwork in music control media center

Bug

There is no way to change or add the title and the artwork of the notification center music control. I found nothing related to this.
When I use react-native-music-control then it refresh the notification center every second.

Platform

iOS

Environment info
System:
    OS: macOS 10.15.7
    CPU: (8) x64 Intel(R) Core(TM) i7-3635QM CPU @ 2.40GHz
    Memory: 53.50 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 14.16.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.6.1 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /Users/mac/.rvm/rubies/ruby-3.0.0/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.0, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
    Android SDK:
      API Levels: 29
      Build Tools: 28.0.3, 29.0.2, 30.0.3
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.1 AI-201.87<IP_ADDRESS>42882
    Xcode: 12.0/12A7209 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_282 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.63.4 => 0.63.4
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Library version: x.x.x
5.1.1

I've the same question here, help!

Artwork and track data can be handled in the source metadata :)
source={{
    uri: 'https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8',
    metadata: {
      title: 'Custom Title',
      subtitle: 'Custom Subtitle',
      artist: 'Custom Artist',
      description: 'Custom Description',
      imageUri: 'https://pbs.twimg.com/profile_images/1498641868397191170/6qW2XkuI_400x400.png'
    }
  }}

See https://thewidlarzgroup.github.io/react-native-video/component/props#overriding-the-metadata-of-a-source


Issue with zipcode 60418

Hi,
I'm still using this package to validate some zip codes list.
But it does not validate a particular zip code 60418.
As mentioned in the comment, of https://github.com/seanpianka/Zipcodes/issues/3#issuecomment-497867390, that zipcodes details are used within the free version of the download from here. So I downloaded the csv and checked whether the 60418 exists in it or not and yes it does.

@seanpianka I have a suggestion that we should provide the latest zipcode file from the main database when the user installs the package.

@crsharat I would prefer to avoid making any network requests in a zipcode lookup package.
See the latest changes, they resolve this issue:
>>> import zipcodes
>>> zipcodes.__version__
'1.1.0'
>>> zipcodes.matching("60418")
[{'zip_code': '60418', 'zip_code_type': 'STANDARD', 'active': True, 'city': 'Crestwood', 'acceptable_cities': [], 'unacceptable_cities': [], 'state': 'IL', 'county': 'Cook County', 'timezone': 'America/Chicago', 'area_codes': [], 'world_region': 'NA', 'country': 'US', 'lat': '41.6539', 'long': '-87.7523'}]


Update README.md

The README.md should be updated to reflect recent changes:

New location of default install of upload component at /content/resources/import-tool (this affects a number of locations in the README).
How to run unit tests and integration tests.
New non-curl command-line tool

README.md updated


Great to see the DotNet Wechaty onboard!

Welcome this great C# Wechaty to join the Wechaty Community, and thank you @echofool very much for the efforts of translating Wechaty from TypeScript to C#!
I have just invited you to join the Wechaty Org on GitHub, please accept my invitation by following the below message:

You've invited echofool to Wechaty! They'll be receiving an email shortly. They can also visit https://github.com/wechaty to accept the invitation.

After you join the Wechaty Org, let's start to accept this great repo to our org.
P.S. We have a WeChat Room for all Wechaty Contributors who have contributions to Wechaty, and I'd like to invite you to join. If you'd like to join the room, please contact @lijiarui so that we can add you to our contributor's list.
Link to: https://github.com/wechaty/wechaty/issues/1927

Thanks. I accepted your invitation.

It's great to see you have joined the Wechaty org, welcome!
Now you have the privilege to create new repos in Wechaty org, and now we can move this repo to Wechaty so that we can manage it together.


Re-do the role check in AuthenticationGuard

Pull it out of the fetch
Can it move to atom somehow?

This is already working correctly


docs: explain design tokens and styling

I think one of the biggest hurdles people face using this library is design and customization. I also understand that that is not a complete accident. But hopefully it's also understood that there are other requirements that apps have that do not make this library unusable, because I think it's great.
It's unclear from the docs how does one add some custom colors outside of the main design system styling. Or what's the best practice in this component library.
I also realize that maybe I (and others) are coming from a less strict design environment that this completely opposed to. Which I can understand...
For example, I have a button/anchor that MUST BE green. There's a reason and it has to happen. But I can't seem to know what the best way to that us, so I ended up doing this:
<FluentAnchor Href="@Url" Class="bg-green">GOOD JOB</FluentAnchor>
//CSS
fluent-anchor.bg-green::part(control) {
    color: #fff;
    --neutral-fill-rest: green;
}

But is the best way> It works, but I rather do something that the system supports and falls into its design language.
As a side not, I was able to use Fill with fluent-badge in a more intuitive way, though very similar to the above:
<FluentBadge Fill="success">val23</FluentBadge>
//CSS
fluent-badge {
    --badge-fill-success: green;
    --badge-color-success: #fff;
}

The badge seems like it wants to support my various badge colors (makes sense I think) whereas anchor/button, maybe not.
While I love the library and want to use it for Blazor projects going forward, I am concerned with how stuck I will be with the minimal amount of styling possible.

I think one of the biggest hurdles people face using this library is design and customization. I also understand that that is not a complete accident. But hopefully it's also understood that there are other requirements that apps have that do not make this library unusable, because I think it's great.
It's unclear from the docs how does one add some custom colors outside of the main design system styling. Or what's the best practice in this component library.
I also realize that maybe I (and others) are coming from a less strict design environment that this completely opposed to. Which I can understand...

The design system we use (Fluent) does not really offer a lot of guidance or options to 'color outside of the lines'. That is the main reason we don't give (and have) much docs on how to do that. Doing and/or enabling that is also not a goal of this library, so we don't give much focus or attention to that (we are just a very small team with limited capacity). We (as a Microsoft library) try to follow our own (as Microsoft developed) design system as good as possible.
I fully understand that you might sometimes need to break out of that because of your company's rules, designer demands or whatever.

For example, I have a button/anchor that MUST BE green. There's a reason and it has to happen. But I can't seem to know what the best way to that us, so I ended up doing this:
<FluentAnchor Href="@Url" Class="bg-green">GOOD JOB</FluentAnchor>
//CSS
fluent-anchor.bg-green::part(control) {
    color: #fff;
    --neutral-fill-rest: green;
}

But is the best way> It works, but I rather do something that the system supports and falls into its design language.

We do not have a specific 'best way'. If it works for you and your needs then great! In general, if you need to change these kinds of settings, going with CSS adjustments is the way to go. The library heavily uses shadow dom so changing parts and CSS variables is generally ok. Just be aware that setting variables can have effects somewhere else in you app as well.

As a side note, I was able to use Fill with fluent-badge in a more intuitive way, though very similar to the above:
<FluentBadge Fill="success">val23</FluentBadge>
//CSS
fluent-badge {
    --badge-fill-success: green;
    --badge-color-success: #fff;
}

The badge seems like it wants to support my various badge colors (makes sense I think) whereas anchor/button, maybe not.

That is exactly it. In the badge design, the developers made some entries for doing just that. Buttons are not that flexible.

While I love the library and want to use it for Blazor projects going forward, I am concerned with how stuck I will be with the minimal amount of styling possible.

I think that is something that comes with choosing a specific design system. Yes, that come with some 'restrictions', but it also provides you with consistency and logical defaults. It is just a different thing than implementing and working with a CSS framework (like Bootstrap or Bulma)

After thinking about this some more, I believe for the case you described (and a lot of others as well) we do have a solution out-of-the-box. This is basically what the DesignToken implementation is for.
I don't have time now, but will post an example here later.

The example is given in https://www.fluentui-blazor.net/DesignTokens in the Using design tokens from code section.
The page describes the most common used design tokens. In the library we have made all of the design tokens available. You can inject them into your component ant then target specifc elements in you component with them. As you can see in the example code, a FluentButton is given a different accent color:
await AccentBaseColor.SetValueFor(ref2!.Element, "#185ABD".ToSwatch());

The implementation requires to always use a .ToSwatch when a color is involved. An important thing to note here is that the current design token implementation fro the web components (which is what we expose and use) is that colors are always handeled by the Adaptive color system to ensure contrast. This means you will almost never get the exact color you specify and there is nothing we can do about that at the moment.
By using the design tokens, you automatically have:

the components handles dark/light switching
certainty the change only targets the element you specify
conformity with contrast requirements (WCAG / a11y)

I'm moving this over to the discussion area and closing this here


⚠ Bofrost.at has degraded performance

In 0df1484, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1208 ms

Resolved: Bofrost.at performance has improved in 4e15524 after 304 days, 2 hours, 43 minutes.


Upgrade Quarkus Amazon services to 1.3.0

Looking at tests failing

I still didn't understand the runtime error where the quarkus client is present too in native mode. I'll have a look at it again tomorrow. I'm wondering if this PR is okay quarkusio/quarkus-platform#639

I think this is related to the recently added dev services for Quarkus AWS. There are 2 localstack containers being started and I guess we end up talking to the 'wrong' instance. So the simplest workaround for now is to do quarkus.devservices.enabled=false for these tests.


Copy/paste cell issues

Execute a github issue cell
Copy the cell, paste it below
The output picker shows up, but the output doesn't
Scroll around, sometimes the second output is visible when the first cell is not visible
Delete the first cell
Scroll the second cell in and out, now the output is visible

My guess is that there are outputs with the same outputId

cc @connor4312

Also it looks like we end up with a cell with the same handle, which leads to other issues, like 'selection' is not updated in the EH if I select that cell

It looks like this is fixed


"unknown series references" after clean shutdown

Not sure if this is the correct repo or not, but I see other similar issues here so this is where I'm landing it.
I appear to be losing WAL entries every time I stop and restart the Docker container hosting my Prometheus instance:
level=warn ts=2019-04-24T18:59:57.853Z caller=main.go:484 msg="Received SIGTERM, exiting gracefully..."
level=info ts=2019-04-24T18:59:57.853Z caller=main.go:509 msg="Stopping scrape discovery manager..."
level=info ts=2019-04-24T18:59:57.853Z caller=main.go:523 msg="Stopping notify discovery manager..."
level=info ts=2019-04-24T18:59:57.853Z caller=main.go:545 msg="Stopping scrape manager..."
level=info ts=2019-04-24T18:59:57.853Z caller=main.go:505 msg="Scrape discovery manager stopped"
level=info ts=2019-04-24T18:59:57.853Z caller=main.go:519 msg="Notify discovery manager stopped"
level=info ts=2019-04-24T18:59:57.853Z caller=manager.go:743 component="rule manager" msg="Stopping rule manager..."
level=info ts=2019-04-24T18:59:57.853Z caller=manager.go:749 component="rule manager" msg="Rule manager stopped"
level=info ts=2019-04-24T18:59:57.853Z caller=main.go:539 msg="Scrape manager stopped"
level=info ts=2019-04-24T18:59:57.855Z caller=notifier.go:522 component=notifier msg="Stopping notification manager..."
level=info ts=2019-04-24T18:59:57.855Z caller=main.go:708 msg="Notifier manager stopped"
level=info ts=2019-04-24T18:59:57.856Z caller=main.go:720 msg="See you next time!"
level=info ts=2019-04-24T19:00:17.404Z caller=main.go:285 msg="no time or size retention was set so using the default time retention" duration=15d
level=info ts=2019-04-24T19:00:17.405Z caller=main.go:321 msg="Starting Prometheus" version="(version=2.9.1, branch=HEAD, revision=ad71f2785fc321092948e33706b04f3150eee44f)"
level=info ts=2019-04-24T19:00:17.405Z caller=main.go:322 build_context="(go=go1.12.4, user=root@09f919068df4, date=20190416-17:50:04)"
level=info ts=2019-04-24T19:00:17.405Z caller=main.go:323 host_details="(Linux 4.19.5-1.el7.elrepo.x86_64 #1 SMP Tue Nov 27 12:40:57 EST 2018 x86_64 0c4a5a73b681 (none))"
level=info ts=2019-04-24T19:00:17.405Z caller=main.go:324 fd_limits="(soft=1048576, hard=1048576)"
level=info ts=2019-04-24T19:00:17.405Z caller=main.go:325 vm_limits="(soft=unlimited, hard=unlimited)"
level=info ts=2019-04-24T19:00:17.405Z caller=main.go:640 msg="Starting TSDB ..."
level=info ts=2019-04-24T19:00:17.406Z caller=web.go:416 component=web msg="Start listening for connections" address=<IP_ADDRESS>:9090
level=info ts=2019-04-24T19:00:17.406Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1555494135732 maxt=1555524000000 ulid=01D8PREH4BR5WJXRJSAA0XMZVA
level=info ts=2019-04-24T19:00:17.406Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1555524000000 maxt=1555588800000 ulid=01D8RFCB5Z1VBTZVCS14P9DA1K
level=info ts=2019-04-24T19:00:17.406Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1555588800000 maxt=1555653600000 ulid=01D8TD5WE8SG18D16FQTGVNVW3
level=info ts=2019-04-24T19:00:17.406Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1555653600000 maxt=1555718400000 ulid=01D8WAZDNWJTZDZZ70KJN2B05C
level=info ts=2019-04-24T19:00:17.406Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1555718400000 maxt=1555783200000 ulid=01D8Y8RYYB2KE5FPVD1X0KERXD
level=info ts=2019-04-24T19:00:17.406Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1555783200000 maxt=1555812000000 ulid=01D93ME45939HY4G2C4XF5WJXS
level=info ts=2019-04-24T19:00:17.406Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1555956000000 maxt=1555977600000 ulid=01D9425JM8XMBBSE291CZVDGAT
level=info ts=2019-04-24T19:00:17.406Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1555977600000 maxt=1556042400000 ulid=01D95ZZ3Y4FDRWHVWAFKF5M7S1
level=info ts=2019-04-24T19:00:17.407Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1556107200000 maxt=1556114400000 ulid=01D97XRN27P3EE07STR5W2MXJ3
level=info ts=2019-04-24T19:00:17.407Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1556042400000 maxt=1556107200000 ulid=01D97XRN6R3JNC8JGTY9WED8E9
level=info ts=2019-04-24T19:00:17.407Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1556114400000 maxt=1556121600000 ulid=01D984MCAQH4JTDSFHFHV72Y25
level=warn ts=2019-04-24T19:00:19.091Z caller=head.go:454 component=tsdb msg="unknown series references" count=966693
level=info ts=2019-04-24T19:00:19.096Z caller=main.go:655 msg="TSDB started"
level=info ts=2019-04-24T19:00:19.096Z caller=main.go:724 msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml
level=info ts=2019-04-24T19:00:19.097Z caller=main.go:751 msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml
level=info ts=2019-04-24T19:00:19.097Z caller=main.go:609 msg="Server is ready to receive web requests."

You're already on 2.9.1, so wipe the WAL and see if this is still happening.

This container was created on 2.9.1 with an empty store volume and has been running for less than a week. Is nuking the WAL still worthwhile, or is there anything else I should try?

That's unexpected, that issue is meant to be fixed in that version. Can you share enough of the WAL to reproduce?

Sure; should I just grab the tsdb directory while it's running, or shut it down first?

Either works.

Could this issue be the same, or is related? https://github.com/prometheus/prometheus/issues/3632

Allright. I will continue here. I have the issue that on every restart, prometheus would forget the last two hours.
By reading this thread, it seems that the wal folder was the issue. I've now moved aside the folder, and tried to restart prometheus, and it seems to pick up recent metrics again (but the missed metrics are gone). It seems that somehow, these wal files are blocking prometheus from recovering or something.
On the error, I could see the following:
level=warn ts=2019-05-07T08:45:50.757Z caller=main.go:484 msg="Received SIGTERM, exiting gracefully..."
level=info ts=2019-05-07T08:45:50.757Z caller=main.go:509 msg="Stopping scrape discovery manager..."
level=info ts=2019-05-07T08:45:50.757Z caller=main.go:523 msg="Stopping notify discovery manager..."
level=info ts=2019-05-07T08:45:50.757Z caller=main.go:545 msg="Stopping scrape manager..."
level=info ts=2019-05-07T08:45:50.757Z caller=main.go:505 msg="Scrape discovery manager stopped"
level=info ts=2019-05-07T08:45:50.757Z caller=main.go:519 msg="Notify discovery manager stopped"
level=info ts=2019-05-07T08:45:50.758Z caller=manager.go:743 component="rule manager" msg="Stopping rule manager..."
level=info ts=2019-05-07T08:45:50.758Z caller=manager.go:749 component="rule manager" msg="Rule manager stopped"
level=info ts=2019-05-07T08:45:50.758Z caller=main.go:539 msg="Scrape manager stopped"
level=info ts=2019-05-07T08:45:50.770Z caller=notifier.go:527 component=notifier msg="Stopping notification manager..."
level=info ts=2019-05-07T08:45:50.770Z caller=main.go:708 msg="Notifier manager stopped"
level=info ts=2019-05-07T08:45:50.770Z caller=main.go:720 msg="See you next time!"
level=info ts=2019-05-07T08:45:52.153Z caller=main.go:285 msg="no time or size retention was set so using the default time retention" duration=15d
level=info ts=2019-05-07T08:45:52.153Z caller=main.go:321 msg="Starting Prometheus" version="(version=2.9.2, branch=HEAD, revision=d3245f15022551c6fc8281766ea62db4d71e2747)"
level=info ts=2019-05-07T08:45:52.153Z caller=main.go:322 build_context="(go=go1.12.4, user=root@1d43b6951e8f, date=20190424-15:32:31)"
level=info ts=2019-05-07T08:45:52.154Z caller=main.go:323 host_details="(Linux 4.15.18-13-pve #1 SMP PVE 4.15.18-37 (Sat, 13 Apr 2019 21:09:15 +0200) x86_64 64ded187259c (none))"
level=info ts=2019-05-07T08:45:52.154Z caller=main.go:324 fd_limits="(soft=1048576, hard=1048576)"
level=info ts=2019-05-07T08:45:52.154Z caller=main.go:325 vm_limits="(soft=unlimited, hard=unlimited)"
level=info ts=2019-05-07T08:45:52.155Z caller=main.go:640 msg="Starting TSDB ..."
level=info ts=2019-05-07T08:45:52.155Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1556708952245 maxt=1556755200000 ulid=01D9VEKZAK2HHYYXES00839ZB6
level=info ts=2019-05-07T08:45:52.155Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1556755200000 maxt=1556820000000 ulid=01D9X5HSHKJ5S34QPJT5AAZREQ
level=info ts=2019-05-07T08:45:52.155Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1556820000000 maxt=1556884800000 ulid=01D9Z3BEC4M91WPQ0MNBE5E3J8
level=info ts=2019-05-07T08:45:52.155Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1556884800000 maxt=1556949600000 ulid=01DA114ZRPKBMN67ZP6XN2CRRV
level=info ts=2019-05-07T08:45:52.155Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1556949600000 maxt=1557014400000 ulid=01DA2YYGW0SD4FK7QX97JXHA8F
level=info ts=2019-05-07T08:45:52.155Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1557014400000 maxt=1557079200000 ulid=01DA4WR25ZC6AF4QT68NKXH3W5
level=info ts=2019-05-07T08:45:52.155Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1557079200000 maxt=1557144000000 ulid=01DA6THKGEBKGVNVPZRA0YVTDC
level=info ts=2019-05-07T08:45:52.155Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1557144000000 maxt=1557165600000 ulid=01DA7F4RXZM48Y9FZ0Y47W362J
level=info ts=2019-05-07T08:45:52.155Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1557187200000 maxt=1557194400000 ulid=01DA83QYFT9G0H68C4JJ88X6WS
level=info ts=2019-05-07T08:45:52.156Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1557165600000 maxt=1557187200000 ulid=01DA83QYPK23GWT5TSG0BCEG3X
level=info ts=2019-05-07T08:45:52.156Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1557194400000 maxt=1557201600000 ulid=01DA8AKNQT3XF37QTKB14MYFK7
level=info ts=2019-05-07T08:45:52.156Z caller=repair.go:47 component=tsdb msg="found healthy block" mint=1557201600000 maxt=1557208800000 ulid=01DA8HFCZSE3G5VEX9T9VAK429
level=info ts=2019-05-07T08:45:52.158Z caller=web.go:416 component=web msg="Start listening for connections" address=<IP_ADDRESS>:9090
level=warn ts=2019-05-07T08:45:53.901Z caller=head.go:454 component=tsdb msg="unknown series references" count=926711
level=info ts=2019-05-07T08:45:53.930Z caller=main.go:655 msg="TSDB started"
level=info ts=2019-05-07T08:45:53.930Z caller=main.go:724 msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml
level=info ts=2019-05-07T08:45:53.930Z caller=main.go:751 msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml
level=info ts=2019-05-07T08:45:53.930Z caller=main.go:609 msg="Server is ready to receive web requests."

docker-compose config:
  prometheus:
    image: prom/prometheus
    container_name: prometheus
    restart: unless-stopped
    volumes:
    - ./prometheus/data:/prometheus
    - ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
    environment:
      TZ: 'Europe/Brussels'
    entrypoint:
    - "/bin/prometheus"
    - "--log.level=info"
    - "--config.file=/etc/prometheus/prometheus.yml"
    - "--storage.tsdb.path=/prometheus"
    - "--web.console.libraries=/usr/share/prometheus/console_libraries"
    - "--web.console.templates=/usr/share/prometheus/consoles"
    - "--web.enable-admin-api"
    ports:
    - 9090:9090

@krasi-georgiev what way can I send you my wal folder? it's a tgz of 144MB. I prefer privately, I don't know what data might be in the wal files.

Now that you've wiped the WAL, you should not see that again on 2.9.2. If that's not the case let us know.

My problem seems to be fixed indeed by removing my wal files, but 2.9.2 has an issue recovering from those (probably) corrupt wal files, so that would still count as a bug, right?
It should probably display an error that recovery was not possible, and cleanup the corrupt wal files. Now it seems to continue using them, so new metrics will still be unrecoverably after a restart.

@michaelarnauts yes the wal holds the latest 2h so removing it would cause this data loss.
Please make sure you are using the latest Prom version. I and if it happens again now with a fresh WAL please ping me on IRC (#prometheus-dev krasi-georgiev) to send me that WAL folder.

@michaelarnauts this error doesn't affect receiving new data and when the 2h window passes Prometheus will delete these WAL files. I think this happened due to incorrect checkpointing of the WAL files.

here is the relevant fix https://github.com/prometheus/tsdb/pull/577

@krasi-georgiev it's not happening again, for me, this is fixed, but there still is a bug in 2.9.2 that caused this.
I've only used 2.9.2, and somehow something went wrong and prometheus wasn't able to recover from this, because everytime I would restart it, it would lose the last two hours.

@michaelarnauts hm , just to confirm the WAL corruption happened while you were running 2.9.2? If that is the case please ping me on IRC so you can send me that WAL folder if you haven't deleted it yet.
@brandond how is looking on your end? can you please confirm if you noticed anything unusual while running on a fresh WAL folder with 2.9.2?

Can you indicate if you're using the delete API?

I have not. Just grafana querying.

@michaelarnauts can you try to work out steps to reproduce this as we can't figure out yet what might cause this.

Can you give us an idea of how many times Prometheus restarts before this happens?

I'm not sure how to reproduce this. I have only used a few node exporters and grafana to graph them out.
@brian-brazil Prometheus doesn't restart. I restarted it myself (since I added a host to the config file). Somehow, something went wrong and the wal files got corrupted.
ASCII-art that might make it more clear:
00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23  -> timeline
-----------------------------------------------------------------------
| 00:00 Prometheus is running fine and capturing metrics.
XX XX XX XX XX
              | 05:00 I restart Prometheus at since I added a new host
XX XX XX -- --|XX XX XX XX
                          | 09:00 I restart prometheus again
XX XX XX -- --|XX XX -- --|XX XX XX XX XX

XX = Metrics are fetched fine
-- = Missing metrics
|  = Restart of prometheus

So every time I restart prometheus, it lost the last 2 hours, but everything else is kept. This seem to me that the wal files were somehow corrupted and not cleared on the 2-hour mark when the wal files were compacted to the other db files.

So a single restart was sufficient from the first every start from that data directory, and the data affected was across the entire 2h head?

Hmm, I guess it didn't start after the first restart when I started using Prometheus. I assume a crash or unclean shutdown happened to trigger the corruption.

So 2 restarts then. This is a code bug, not a corruption. Just need to figure out what's causing it.

I have been seeing the same thing - it's always one of the most recent two-hour-periods that's corrupted when I restart. Not the current period that's being written to the WAL, but the one that should have just been compacted. Additionally, not all series in that period are lost, just some of them.

I am also seeing this, running 2.9.2.  I don't know if this matters, but I'm running prometheus in a docker container with a docker volume to a host NFS share.

Have you noticed if the series would have started/ended always at a similar 2-hour period?
Using NFS is not supported, but not the issue here.

Actually it seems to be a 3-hour period of data that's missing.  But the missing data is only for a few series (I'm not sure if this is coincidence, but all the missing series are from the same scrape target)

Interesting. Is these churn in those metrics, is it all of that target, what's the lifecycle of that target like?

I have a static list of 6 hosts collecting from the node exporter plus two different app exporters. The labels within those metrics don't change much at all.
Mine are Docker on local disk (SSD; dev workstation)

Is these churn in those metrics, is it all of that target, what's the lifecycle of that target like?

By coincidence I did introduce some churn around this time by updating my exporter to not report stats that are stale.  So here's what the data looks like now:

Every series in this target went missing for this same time period.  The target is declared as a static config, with a collection interval of 15 seconds.

I have a static list of 6 hosts collecting from the node exporter plus two different app exporters. The labels within those metrics don't change much at all.

So to be clear, completely existing time series?

I was experiencing this same issue (every restart would lose the last two hours of data).
Turned out I needed to use the default storage location: /data
My openshift container yaml:
            - name: ${PROMETHEUS_APP_NAME}${APP_NAME_FLAG_A}
              image: prom/prometheus
              args:
                - '--config.file=/etc/${PROMETHEUS_APP_NAME}${APP_NAME_FLAG_A}/${PROMETHEUS_APP_NAME}${APP_NAME_FLAG_A}.yaml'
                # - '--storage.tsdb.path=/${PROMETHEUS_APP_NAME}${APP_NAME_FLAG_A}'  #
                - '--storage.tsdb.path=/data'  # prometheus continually was losing it's last two hours of timeseries for every restart. I was afraid this was due to my unique file location. /data is the default https://github.com/prometheus/tsdb/issues/590
                - '--web.external-url=http://localhost:19090/'  # (https://www.robustperception.io/adding-basic-auth-to-prometheus-with-nginx)
                - '--web.route-prefix=/'
                - '--web.enable-lifecycle'  # https://www.robustperception.io/reloading-prometheus-configuration
              imagePullPolicy: Always
              resources:
                limits:
                  memory: ${PROMETHEUS_MEMORY} # setting requests because I think the grafana UI is slow because it doesn't have enough processing  # didn't fix the problem. 2019-05-22_17.10
                  cpu: ${CPU}
              ports:
                - containerPort: 9090
                  protocol: TCP
              # livenessProbe:  # continually fails
              #   tcpSocket:
              #     port: 9090
              volumeMounts:
                - name: ${PROMETHEUS_APP_NAME}${APP_NAME_FLAG_A}-yaml
                  mountPath: /etc/${PROMETHEUS_APP_NAME}${APP_NAME_FLAG_A}
                - name: ${PROMETHEUS_APP_NAME}-rules-yaml
                  mountPath: /rules/
                - name: ${PROMETHEUS_APP_NAME}${APP_NAME_FLAG_A}-pvc
                  # mountPath: /${PROMETHEUS_APP_NAME}${APP_NAME_FLAG_A}
                  mountPath: /data

Using prometheus version 2.9.2

@brian-brazil yes all the series should have existed both before and after the restart.

Interesting, that'll make it easier to debug.

now back to full working mode after kubecon, It would be nice to get to the bottom of this. Can any of you that has time to troubleshoot ping me on irc(#prometheus-dev) to work out a way I can replicate it and find the culprit.

I have no idea how to reproduce the initial corruption, I only could reproduce missing metrics for two hours by restarting.

I can reproduce it easily enough just by restarting the container, but I've no idea what's special about any of our configurations. I'd be glad to turn up logging or tracing, grab a memory snapshot, or whatever else might be helpful to help debug the issue.

@brandond can you try to replicate with a minimal config and attach the config here or ping me on IRC to share privately.

I was planning on digging into this today, but any additional info is good.

Found the issue, it's when a given series has multiple refs over time. We don't correctly handle samples for anything other than the first ref.

#623 to fix

Awesome! Looking forward to being able to test the next release.

fix merged so closing the issue, but feel free to reopen if you see something weird after the upgrade.

Given that the fix is not in Prometheus yet, is there anything we can do to workaround this?

Can't think of anything, but next release is due in 2 weeks I think so not so far.

Thanks, had the same issue, losing 2h of metrics on service restart. Just installed the latest release 2.11.1 and that solved the problem.

@Stadicus thanks for the report.
Locking the issue to avoid the extra noise. Feel free to open a new one if you still experience some issues.


Fix Dynamic engine loading

so that the call to ENGINE_load_builtin_engines() is performed.
Backport of commit a5c864ce (PR #11543) to 1.1.1. See also #16735
Fixes #11510

but this looks wrong, since this does implicitly load OPENSSL_INIT_ENGINE_ALL_BUILTIN
which is
OPENSSL_INIT_ENGINE_RDRAND | OPENSSL_INIT_ENGINE_DYNAMIC
| OPENSSL_INIT_ENGINE_CRYPTODEV | OPENSSL_INIT_ENGINE_CAPI |
OPENSSL_INIT_ENGINE_PADLOCK
this is no what you want, when all you need is OPENSSL_INIT_ENGINE_DYNAMIC

This has always been what you get during initialisation.

okay, but what if the user use initializes with OPENSSL_INIT_NO_LOAD_CONFIG, doesn't that express
the user's intent to have explicit control over such automatic engines?

okay, but what if the user use initializes with OPENSSL_INIT_NO_LOAD_CONFIG, doesn't that express
the user's intent to have explicit control over such automatic engines?

Hmmm. That's a good point.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 61 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 92 days ago

Please don't merge this to 1.1.1

I'm unsure about @bernd-edlinger's objection.  It seems reasonable as @mattcaswell noted above.
Let's not merge this until there has been a discussion.

Question to OTC: merge or close?

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

@mattcaswell will research further for next OTC meeting discussion

OTC: This PR needs to be amended to only load the dynamic engine.

Updated as per the OTC discussion.
Ping for review.

The commit message does not make much sense and Shane as the original author either, so please redo the commit from scratch.

This is no longer relevant since 1.1.1 is in security fix only mode.


Definition {_} throws an exception

I've tried $(...).mask(MASK), where MASK = 'a{}', '9{}', 'aa-9{_}' - they all throw exception with text "Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using."
Is that syntax correct?

@ivodopyanov ,
You need to escape the { and }

No, I wanted to use {} as dynamic mask.
{+} definition works but {} doesn't

ANd what should the {_} mean?  it should be +, * or n,m

Ah. It seems read.me file is a bit outdated. It says "Also {+} and {_} is allowed. + start from 1 and _ start from 0."

should be instead of _, right?

@ivodopyanov ,
It seems that atom-beautify the * converts to _ for a md file ;-(


Add urllib3 < 2.0.0 dependency

urllib3 introduced a backwards incompatible change that removed the DEFAULT_CIPHERS field.
Causes the following error:
File "C:\Users\...\AppData\Local\pypoetry\Cache\virtualenvs\falr-05-2023-V98AjTAw-py3.10\lib\site-packages\faapi\connection.py", line 12, in <module>
    from cfscrape import CloudflareScraper  # type: ignore
  File "C:\Users\...\AppData\Local\pypoetry\Cache\virtualenvs\falr-05-2023-V98AjTAw-py3.10\lib\site-packages\cfscrape\__init__.py", line 19, in <module>
    from urllib3.util.ssl_ import create_urllib3_context, DEFAULT_CIPHERS
ImportError: cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (C:\Users\...\AppData\Local\pypoetry\Cache\virtualenvs\falr-05-2023-V98AjTAw-py3.10\lib\site-packages\urllib3\util\ssl_.py)

Please don't do that.
urllib3.util.ssl_ was just a binding to python's ssl lib.
As the ssl's documentation mention it: DEFAULT_CIPHERS has been replaced by PROTOCOL_TLS_CLIENT in last versions.
Furthermore, taking the time to read the documentation, we could propose an up-to-date solution like:

cfscrape/__init__.py

import ssl

[...]

class CloudflareAdapter(HTTPAdapter):
    """ HTTPS adapter that creates a SSL context with custom ciphers """

    def get_connection(self, *args, **kwargs):
        context = ssl.SSLContext(protocol=ssl.PROTOCOL_TLS_CLIENT)
        context.check_hostname = False
        context.verify_mode = ssl.CERT_NONE
        conn.conn_kw["ssl_context"] = context

        return conn


runtime: signal handling panics for signals generated by sigqueue/tgkill

What version of Go are you using (go version)?
go version devel +30d7e6449f Mon Jul 23 15:16:01 2018 +0000 linux/amd64
Does this issue reproduce with the latest release?
Yes (Go 1.10). This is reproducible at least to 1.6 and much earlier.

What did you do?
package main

import (
	"runtime"
	"syscall"
)

func main() {
	runtime.LockOSThread()
	pid := syscall.Getpid()
	tid := syscall.Gettid()
	syscall.Kill(tid, syscall.Signal(syscall.SIGSEGV))
	println("kill ignored")
	syscall.Tgkill(pid, tid, syscall.Signal(syscall.SIGSEGV))
	println("tgkill ignored")
}

What did you expect to see?
Since these aren't "real" SIGSEGV, I expect the runtime to ignore them (or deliver them to a signal channel if one is registered):
kill ignored
tgkill ignored

What did you see instead?
kill ignored
unexpected fault address 0x2f860002ef35
fatal error: fault
[signal SIGSEGV: segmentation violation code=0xfffffffffffffffa addr=0x2f860002ef35 pc=0x44eb2b]

goroutine 1 [running, locked to thread]:
runtime.throw(0x46d21c, 0x5)
	/home/austin/.cache/gover/1.10/src/runtime/panic.go:619 +0x81 fp=0xc42004fe98 sp=0xc42004fe78 pc=0x421f41
runtime.sigpanic()
	/home/austin/.cache/gover/1.10/src/runtime/signal_unix.go:395 +0x211 fp=0xc42004fee8 sp=0xc42004fe98 pc=0x433ad1
...

runtime.sighandler explicitly checks for sigcode SI_USER in several places to distinguish kernel-generated signals from signals send by the user, but sigcode is only SI_USER for signals sent specifically by kill. If the signal was sent by sigqueue or tkill/tgkill (on Linux), sigcode is SI_QUEUE or SI_TKILL, respectively.
/cc @ianlancetaylor @bcmills because I know how much they love signals.

Hey @aclements when you file bugs in the future can you apply the appropriate labels and milestone to them?
Thank you :)

I suppose this ought to be fixed but people who use tgkill on a Go program are confused.

I was using tgkill on a Go program, but I probably don't count. :) That's the only reason I stumbled on this. I somewhat doubt this has ever actually affected anyone, but it caused me some eyebrow-raising.
I could see people using sigqueue on a Go program, though, as a roughly-kill-equivalent.


Document default of schema-autoupdate-strategy : FULL

Describe the bug
Doc bug. The document is missing default value for schema-autoupdate-strategy compatibilty
To Reproduce
Steps to reproduce the behavior:

Go to https://pulsar.apache.org/docs/en/pulsar-admin/#set-schema-autoupdate-strategy
In the options sections see the empty default box in front of compatibility.

Expected behavior
Document default value which is FULL
Screenshots

Got a patch for this in forked repo. Will send PR once issue #3838 is merged. The changes will conflict otherwise.

Here is the fix for this: https://github.com/apache/pulsar/pull/3842


Dose this adapter can work normally?

Hi
I installed this adapter. Only power on function shown in object.
How this adapter works?
I found you commented out get_commands  in https://github.com/Apollon77/ioBroker.benq/blob/master/main.js#L133
I don't know why

Нужен переходник rs232 to ethernet

Communication is OK, But my adapter only shows power object, I can only open projector, can not close it.
Every thing is normal in your home?
BTW, my projector is W1120, but I checked that the RS232 command is same with all Benq projector.

Turn on debag mode adapter and send me log

benq.0 | 2019-09-07 23:27:36.227 | debug | Send Command:*vol=?#
-- | -- | -- | --
benq.0 | 2019-09-07 23:27:26.217 | debug | Send Command:*vol=?#
benq.0 | 2019-09-07 23:27:16.216 | debug | Send Command:*vol=?#
benq.0 | 2019-09-07 23:27:06.210 | debug | Send Command:*vol=?#
benq.0 | 2019-09-07 23:26:56.203 | debug | redis pmessage io.benq.0.* io.benq.0.info.connection {"val":true,"ack":true,"ts":1567870016200,"q":0,"from":"system.adapter.benq.0","user":"system.user.admin","lc":1567870016200}
benq.0 | 2019-09-07 23:26:56.197 | info | BenQ Connected.
benq.0 | 2019-09-07 23:26:56.175 | debug | BenQ W1070 connect to: <IP_ADDRESS>:23

Dose this mean this maybe something wrong with my Arduino hardware?

I checked the code. I think this must be my hardware issue.


Allow moving LineEdit visible window left by more than one symbol.

Fixes #17469.
Looks like the problem was introduced while fixing #11948, my fix doesn't break it.

Thanks!


Adjusted GitHub setting: Don't dismiss stale approvals

Currently this repository is configured in a way that stale approvals are dismissed whenever new commits are pushed (https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/enabling-required-reviews-for-pull-requests, point 8). Since very often after an approval conflicts on the Changelog need to be resolved (leading to new pushes) I would recommend to either

Don't dismiss stale reviews (with the potential danger that the additional commit introduces unintended non-approved behaviour)
Do no longer maintain Changelog in Git, but exclusively rely on GitHub issues tagged with the correct milestone.

@davidjgonzalez WDYT?

@davidjgonzalez @joerghoh Can you explain which of the two options from above you prefer?

@kwin I just updated for #1

For me, the changelog is nice in that were not as clean w/ the GH milestones (some times things get added to say, 4.9.4 but then we release as 4.10.0 - and never back-update the 4.9.4 milestones (for example).
Also, sometimes things just don't get assigned a milestone :(

You can edit milestones: https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/creating-and-editing-milestones-for-issues-and-pull-requests. But I am fine, if you think that maintaining the changelog is beneficial.

Yes - it's more of an issue of someone actually updating it :)
With multiple approvers/releasers it's been "hard" for us make sure the issues are accurately tagged. Often, I'll actually use the change list to track down issues/PRs at release and update GH milestones from there.
Not saying it's ideal, but I'm not sure there's a (realistic) good way to fix this.


Illidan reworked

TO BE FIGURED OUT BY SEBAS

Now illidari, start in Black Temple, add new quests to match

Naga siren master training broken

Draenei unit not trainable at ashtongue lair


UvA DL Tutorials: Updating PL API to >1.8

Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
Updates notebooks to PL 1.8 in terms of:

progress bar API (replace progress_bar_refresh_rate by enable_progress_bar)
accelerator selection (replace gpus by accelerator and devices)

Fixes typo in torch.backends.cudnn.deterministic
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Remaining problems:

Tutorial 10 (PixelCNN) runs out of time in the sampling step although GPU should be deployed. Is there any issue with the testing there?
Tutorial 13 (SimCLR) seems to run out of memory or time when downloading STL10
Tutorial 6 (GNNs) has troubles installing pytorch geometric, also on Colab. Seems to be missing pip find link?

interesting error, not sure where it came from...
KeyboardInterrupt                         Traceback (most recent call last)
Cell In[22], line 2
      1 pl.seed_everything(1)
----> 2 samples = model.sample(img_shape=(8, 1, 64, 64))
      3 show_imgs(samples.cpu())

The output on Azure suggests it is running out of time:
=================================== FAILURES ===================================
_ course_UvA-DL/10-autoregressive-image-modeling/Autoregressive_Image_Modeling.ipynb::Cell 21 _
Notebook cell execution failed
Cell 21: Timeout of 300 seconds exceeded executing cell

Input:
pl.seed_everything(1)
samples = model.sample(img_shape=(8, 1, 64, 64))
show_imgs(samples.cpu())

I don't know why it runs out of time now, since it didn't have any problems beforehand. For this notebook, it may be ok to comment out the line since this is just for showing samples, but Tutorial 13 (SimCLR) runs already out of time when downloading the dataset:
=================================== FAILURES ===================================
__________ course_UvA-DL/13-contrastive-learning/SimCLR.ipynb::Cell 5 __________
Notebook cell execution failed
Cell 5: Timeout of 300 seconds exceeded executing cell

Input:
unlabeled_data = STL10(
    root=DATASET_PATH,
    split="unlabeled",
    download=True,
    transform=ContrastiveTransformations(contrast_transforms, n_views=2),
)
train_data_contrast = STL10(
    root=DATASET_PATH,
    split="train",
    download=True,
    transform=ContrastiveTransformations(contrast_transforms, n_views=2),
)

Traceback:

---------------------------------------------------------------------------
KeyboardInterrupt                         Traceback (most recent call last)
Cell In[6], line 1
----> 1 unlabeled_data = STL10(
      2     root=DATASET_PATH,
      3     split="unlabeled",
      4     download=True,
      5     transform=ContrastiveTransformations(contrast_transforms, n_views=2),
      6 )
      7 train_data_contrast = STL10(
      8     root=DATASET_PATH,
      9     split="train",
     10     download=True,
     11     transform=ContrastiveTransformations(contrast_transforms, n_views=2),
     12 )

We are getting this error now:
________________________ ERROR collecting test session _________________________
/usr/local/lib/python3.9/dist-packages/pluggy/_hooks.py:265: in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
/usr/local/lib/python3.9/dist-packages/pluggy/_manager.py:80: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/usr/local/lib/python3.9/dist-packages/nbval/plugin.py:146: in pytest_collect_file
    return IPyNbFile.from_parent(parent, path=Path(path))
E   TypeError: from_parent() missing 1 required keyword-only argument: 'fspath'
=============================== warnings summary ===============================
../../../usr/local/lib/python3.9/dist-packages/_pytest/config/__init__.py:1183
  /usr/local/lib/python3.9/dist-packages/_pytest/config/__init__.py:1183: PytestDeprecationWarning: The --strict option is deprecated, use --strict-markers instead.
    self.issue_config_time_warning(

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
ERROR  - TypeError: from_parent() missing 1 required keyword-only argument: '...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 1 error in 0.19s ==========================
##[error]Bash exited with code '2'.

@Borda I saw that nbval comes from your personal fork. Could we try to rebase it to the latest version from upstream?

I saw that nbval comes from your personal fork. Could we try to rebase it to the latest version from upstream?

resolved locally with cc593228e36f3f3015cbccc38cc85df10106d98d and open fix https://github.com/computationalmodelling/nbval/pull/196


Model checkpoints after train stage 2

Hi! Thanks for sharing this great work.
Unless I'm missing something, I've noticed that the checkpoint you provide (the net.pth) is the output of the first training stage. Are you planning to release the checkpoint for stage 2?
Regards

Sure, I will release the checkpoints for stage 2.


Portfolio setup and mobile first project review

Added linter configuration.
Added header and headline sections in 'index.html' file.
Added appropriate styling according to the Figma design template.

Added padding for the 'I'm a Software Developer' heading.
Added background image.
Changed the list-style-type to none.


Getting the OPENAI_API_KEY not working.

Try as I may, I could not get the server.py to grab my API Key.
If I ran it like this, the server initialize:
test PASSED, but I put my API Key in the test file.
python3 server.py --openai-api-key sk-XXXXXXnP8eHOYUA
Here is my claude_desktop_conf.json
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/xxx/Desktop/",
"/Users/xxx/Desktop",
"/Users/xxx/Desktop/clients/website/website202408"
]
},
"sqlite": {
"command": "uvx",
"args": ["mcp-server-sqlite", "--db-path", "/Users/xxx/test.db"]
},
"openai-server": {
"command": "python",
"args": ["-m", "src.mcp_server_openai.server"],
"env": {
"PYTHONPATH": "/Users/xxx/Desktop/OpenAIClaude-MCP/src/mcp_server_openai",
"OPENAI_API_KEY": "sk-GQgX2rRXxxxxxxxxgLl3GDhG0xxxxxxeHOYUA"
}
	}
}

}
Any recommendations on what I need to do?
Additionally, VS CODE
from llm import LLMConnector (changed from your .llm)
Thanks,
Jason

Did you check the dependencies?


Huawie p10 lite remote: check password failed!

when i run after complie i get "remote: check password failed!" 4 times and then (remote: device will reboot after 30S due to 5 times of wrong key.)  i have no fingerprint or password on device can you help please.
i have complied on windows using gcc commend from tdm64-gcc

It's an additional protection. You can't do anything about this 😢

Is there any way to automatically boot the phone always in fastboot mode without having to manually give the command "adb reboot bootloader"?

Press the Power button and the Volume Down button and hold them down for a few seconds.
or
Press and hold Volume Down button and connect the USB cable to your phone

Yes, that's what I already do, but every time the password fails and the phone automatically reboots normally not in fastboot mode. Is it possible to put the phone in a loop so that it always boots on fastboot mode?

There is probably some way, but I don't code in C, so I can't help you. Sorry

Try to set your phone in manufactory mod: Type in dial ##2846579## and in background settings set manufactory mod.

Even if you managed to make the program run it could take months of continuous processing to find your code.

Hi brothers @Doping11 @Djobi-Djoba @kko7 @mujtaba765 @Kussh ,
How to run the .c object via fastboot command?
I also HUAWEI P10,  my phone not 'oem unlock 'check item  , and  passed all then stopped in step 7.
I search google but lose,  what should i do then?

You need to run the compiled .exe file after connecting the phone in bootloader mode to your computer.
https://www.wikihow.com/Compile-a-C-Program

将电话以引导加载程序模式连接到计算机后，需要运行已编译的.exe文件。
https://www.wikihow.com/Compile-aC-Program

Oh, undersood, i must firest compile .c to .exe use my android studio and saved in computer, then use fastboot command?
Thank you kko7, im freshman :)

将电话以引导加载程序模式连接到计算机后，需要运行已编译的.exe文件。
https://www.wikihow.com/Compile-aC-Program

Oh, undersood, i must first compile .c to .exe use my android studio and saved in computer, then use fastboot command?
Thank you kko7, im freshman :)

When you compiled the c-file then you have to use cmd-command-promt. Navigate in CMD to your generated .exe-file and just type the name of it in. Then press enter and the programm is running.

将电话以引导加载程序模式连接到计算机后，需要运行已编译的.exe文件。
https://www.wikihow.com/Compile-aC-Program

Oh, undersood, i must first compile .c to .exe use my android studio and saved in computer, then use fastboot command?
Thank you kko7, im freshman :)

When you compiled the c-file then you have to copy the .exe-file in your adb/fastboot-folder. I recommend to use "minimal_adb_fastboot_1.4" because in this version the fastboot-command is running faster then any other versions of fastboot (I tested it :-))
After that you have to use cmd-command-promt. Navigate in CMD to your generated .exe-file and just type the name of it in. Then press enter and the program is running.
I would first advise you to try this program https://github.com/SkyEmie/huawei-honor-unlock-bootloader
When my recommended program reached the 17th digit you can cancel it.
Afterwards you can try this unlocker with the c-file.

Well..... I tried and found that AndroidStudio may not compile. I try to browse CMAKE, but it may be more complicated for me.
My current level is just learning the basic development of ANDROID  in CODELABS.

You need to run the compiled .exe file after connecting the phone in bootloader mode to your computer.

I think I expanded here to a new knowledge structure (compiling C files and ADB command line). I first try to use " https://github.com/SkyEmie/huawei-honor-unlock-bootloader"
I need to digest food, I will report the results here.
 @Doping11  @kko7

Hey bros, i come back .
I first tried use CMake compile .C to .exe , but i failed. and then , i download MINW-GCC tools on windows, its works. compiled .C to named 'a.exe', and i copy it to my platfrom-tools folder.
adb restboot-bootloader ,then  fastboot flash PARTITION a.exe , then i get :
Sending 'PARTITION' (45 KB)                        OKAY [  0.003s]
Writing 'PARTITION'                                FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
Thats mean failed again?
@kko7  @Doping11

Hey bros, i come back .
I first tried use CMake compile .C to .exe , but i failed. and then , i download MINW-GCC tools on windows, its works. compiled .C to named 'a.exe', and i copy it to my platfrom-tools folder.
adb restboot-bootloader ,then fastboot flash PARTITION a.exe , then i get :
Sending 'PARTITION' (45 KB) OKAY [ 0.003s]
Writing 'PARTITION' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
Thats mean failed again?
@kko7 @Doping11

Does it mean that the SkyEmie-tool didn't work you?
I think i found your problem: Open cmd, navigate top your platform-tools-folder (your a.exe should be there) and start the program my using this command "a.exe". Then it starts. Now you can see  a lot of password fails (thats ok because you have both found the correct code already)

Hey bros, i come back .
I first tried use CMake compile .C to .exe , but i failed. and then , i download MINW-GCC tools on windows, its works. compiled .C to named 'a.exe', and i copy it to my platfrom-tools folder.
adb restboot-bootloader ,then fastboot flash PARTITION a.exe , then i get :
Sending 'PARTITION' (45 KB) OKAY [ 0.003s]
Writing 'PARTITION' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
Thats mean failed again?
@kko7 @Doping11

Does it mean that the SkyEmie-tool didn't work for you?
I think i found your problem: Open cmd, navigate to your platform-tools-folder (your a.exe should be there) and start the program by using this command "a.exe". Then it starts. Now you can see a lot of password fails (thats ok because you have not found the correct code already)

Hi bro,
No, i from yestday start 'how to compile .c to exe on windows'and download tools until now, i seen skyEmie is bruteforce. so , i worried its will dominate phone

Both SkyEmie and Martazza tools are bruteforcing the unlock code, and none of them is trojan. SkyEmie is "based on the Luhn algorithm and the IMEI identifier used by the manufacturer to generate the unlocking code". You have to run a.exe from cmd after connecting phone to pc in bootloader mode
Make sure that you have enabled oem unlock in settings

Too late :/

\

Both SkyEmie and Martazza tools are bruteforcing the unlock code, and none of them is trojan. SkyEmie is "based on the Luhn algorithm and the IMEI identifier used by the manufacturer to generate the unlocking code". You have to run a.exe from cmd after connecting phone to pc in bootloader mode
Make sure that you have enabled oem unlock in settings
Too late :/

All right, im sad...

You could try dc-unlocker but I am not sure if it would work. You will have to google this. As far as I know it's not working on android 9 and above

You could try dc-unlocker but I am not sure if it would work. You will have to google this. As far as I know it's not working on android 9 and above

MY builder number is <IP_ADDRESS>(0LU3)
I dont want pay for it. i just want try unlock by self

Send me dm on discord kko7#5194 or email<EMAIL_ADDRESS>I willtry to help you

Send me dm on discord kko7#5194 or email<EMAIL_ADDRESS>I willtry to help you

Thank you brother,
i send email .
btw, i find this doc, https://source.android.com/setup/build/gsi#flashing-gsis, is it useful ?for fast oem unlock

Send me dm on discord kko7#5194 or email<EMAIL_ADDRESS>I willtry to help you

Thank you brother,
i send email .
btw, i find this doc,https://source.android.com/setup/build/gsi#flashing-gsis and https://source.android.com/setup/build/gsi#flashing-gsis, is it useful ?for fast oem unlock


Exiting Kitematic sets boot2docker VM into pause

... and boot2docker can't resume the machine from the command line.
You have to start the VM from VirtualBox and switch it off afterwards.
Could Kitematic get an option how to proceed when exiting, like

do noting
pause
switch off

Added switch in 0.5 settings!


Exclude log4j and commons-logging where needed + add enforcer rule to…

… ban unwnated logging deps

both commons-logging and log4j should not be used. UF depends on SLF4J for logging,
so all other logging frameworks need to excluded and replaced by the appropriate
SLF4J logging bridges (e.g. jcl-over-slf4j and log4j-over-slf4j)

the enforcer rule makes sure that we catch these violations early, before they
are even introduced. Solution is to exclude these unwanted (transitive) deps and
depend explicitely on the logging bridge

+1 to merge.

Thanks.
master: f4bd1e292b6669785f89b066852f3df4f6ea5637


Set bottom of axis

Fix #143

Time: ~0.25 hours

I don't think it's useful to keep them. I do think we need to explain the whiskers, and I've filed

#144

to explore other ways of presenting uncertainty, but I don't think the negative axis does this.


[DOCFIX] Rename reserved categories variable

categories is a reserved word in Jekyll and our usage breaks in
later versions.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10453/
Test PASSed.

LGTM