found some bugs on big_o.py

Unexpected dot on line: "from .complexities import ALL_CLASSES"
Missing: import datagen
With those minor fixes it works... with your examples.
Couldn't figure out how to make it work with other simple functions: selection sorting, bisection search, fibonacci, and others.
Could you please put some more examples on your README?

Thanks for the report @joepartridge . I think you are using an old version of the library, since I cannot find those problems in the latest code: https://github.com/pberkes/big_O/blob/master/big_o/big_o.py

I'm closing this issue, and opening a new one for the request of more examples


isso-comments.de down

I'm sure you have noticed and are working on it, but just in case not:
isso-comments.de is down since this morning.

@hariom147 Thanks for bringing this up. But the page is accessible here (Switzerland with Init7) without any problems and also testing with https://www.uptrends.de/tools/uptime is working successfully.
Do you get an error message, and can you provide a screenshot from it maybe?

The website (including documentation) is hosted on GitHub Pages.
I can't see any issues in the Incident History and my Uptime monitor for website and demo API didn't indicate anything either.
Might be Cloudflare/GH CDN blocking your IP or otherwise connectivity problems on your end.

		IN	A

;; Query time: 593 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>) (UDP)
;; WHEN: Tue Jul 19 19:06:44 CDT 2022
;; MSG SIZE  rcvd: 91

See the line there that starts with EDE: 6 (DNSSEC Bogus)

Hmm, I'm also getting an NXDOMAIN error from my browser today, I'll check on it once I get home.

Wait, this still hasn't been fixed? I'm pretty sure it's a DNSSEC issue
$ dig isso-comments.de

; <<>> DiG 9.18.10 <<>> isso-comments.de
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 48925
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; EDE: 6 (DNSSEC Bogus): (for DNSKEY isso-comments.de., id = 26795)
;; QUESTION SECTION:
;isso-comments.de.		IN	A

;; Query time: 1354 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>) (UDP)
;; WHEN: Sat Jan 07 18:05:53 CST 2023
;; MSG SIZE  rcvd: 91

And dnsviz.net also agrees: https://dnsviz.net/d/isso-comments.de/dnssec/
(If it's not easy to just fix the DNSSEC, maybe disable it entirely)

Thank you for re-raising the issue, I'll see what I can do on the DNS registrar's side.

I turned off DNSSEC from the registrar panel.
@BBaoVanC or @atomicwrites would you kindly ping me in about a day once this change has propagated so I can close the issue then?

@ix5 Works for me now, thanks!


Jio 2.2.0 has a bug with Login button

Feature request
For Add-on ... [e.g. Jiotv]
I'm submitting a proposal to ...

[ ] new feature
[*] change an existing feature

After clicking login-> the option OTP or password pops up. When you close the popup instead of choosing those. It chooses the Password login option by default. Please fix this.

Also Noticed this -> After Clicking Login-> the Option Keyboard or Web Pops up. When you close the popup instead of Choosing those. It chooses the Web option by default. Please fix this too.

Input is taken by Dialog API which Kodi provides and it only returns True or False as a response and for canceling it returns False by default so there is no way to detect whether Dialog canceled or not though there is a new option yesnotcustom which returns -1 if dialog canceled by the user but in our case, it's not useful since we don't have any third option. Here
If this doesn't make sense then ignore it. This is all technical stuff
In short, it's not my fault

First of all, I really appreciate your hard work on this. I totally agree and this is just a suggestion and I clearly understand that you have nothing to do with this dialog box which is maintained by Kodi directly.
Thanks!


Invalid Syntax error

Hey I want to use the HyperGAN for an artistic project.
But I am struggling here. I succeed in importing hypergan and with as hg.
But when I try hypergan new mymodel
I receive a syntax error.
What should I do? Can you help me out to run it properly.
ps: I am on Windows 64bit and no hands on experience with python

Hi, currently windows is not supported.  I think it won't be difficult to add, since we already have hypergan working on osx.  I'll leave this ticket open until windows is supported.

Thanks for your prompt reply martyn. Do you think that it can work through a VM? I mostly ask for the GPU! Thanks in advance, VK

Any word on windows support?
I also am receiving said syntax error, unfortunately.
-Windows Pleb.

We are going to release a windows installer after 1.0 now that training is more reliable.


Is there a way to just download this and go?

Why does everything have to be so complicated? I just want to download a few files and get going. I don't know how to build my own or have the time to learn. Thanks for what seems to be a good product, just at this moment I don't know what to do.

I gotta say, it's hard to imagine a context in which one has a website, has code, and wants to put a syntax highlighter for said code on said website, and yet they are unable to either find or follow the directions at https://github.com/syntaxhighlighter/syntaxhighlighter/wiki/Usage.


[os-images] Cannot enable ros service volume-netshare

RancherOS Version: (ros os version)
Version 1.1.0
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
iohyve
When i ask the list of available services, get "volume-netshare" as one of them.
If I try to enable it by:
sudo ros service enable volume-netshare

I get the following error:
FATA[0001] Failed to load volume-netshare : non-200 http response: 404

I have the same problem, any update on this?
RancherOS v1.1.0 running bare metal.

Anyone with this problem can try this:
rm -f /var/lib/rancher/cache/*
ros service list
disabled amazon-ecs-agent
disabled crontab
disabled open-iscsi
disabled kernel-extras
disabled kernel-headers
disabled kernel-headers-system-docker
disabled open-vm-tools
disabled rancher-server
disabled rancher-server-stable
disabled zfs
disabled amazon-metadata
disabled volume-cifs
disabled volume-efs
disabled volume-nfs

In fact, volume-netshare contains three services volume-cifs volume-efs volume-nfs.

Tested with RancherOS version- v1.1.2-rc2
volume-cifs volume-efs volume-nfs can be enabled.
# ros service list | grep volume
enabled  volume-cifs
enabled  volume-efs
enabled  volume-nfs


[giphy] Add extractor

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

There are more formats available, but getting hands on them would require extra code.
I have have personally no use for the other formats, so I chose not do the work most likely nobody needs.

I've lost interest in youtube-dl.


Contact Journal screenshots(EXPOSUREAPP-4559)

Covers contact journal (Screenshot) tests.
Testing

Have Fastlane installed
run ./gradlew clean assembleDebug assembleAndroidTest to build two APKs. It is required, please don't use APK build using AS
run bundle exec fastlane screengrab  or bash screenshot.sh. the later script will just ZIP screenshots after taking them.

LGTM. Successfully tested on Pixel (Android 10)
Solely waiting for UX mock data approval.

LGTM. Successfully tested on Pixel (Android 10)
Solely waiting for UX mock data approval.


add xz and tar.xz

add xz formats as they somehow are first choice for quite a few projects.

@derekstavis i think you should check this


:truck: Add <IP_ADDRESS> as listening address

@ddelange fixes livenessProbe issue (also same issue with proxy thingy)

amazing find! 🙏


Added hint that the fsharp compiler has to be installed properly in the readme.md

Thanks!

Ups, I didn't read it that carefully. Anyways, it's a nice motto, we should use it from now on: Make sure F# (all the things)!


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1617 ms

Resolved: Bofrost.at performance has improved in 5fd0614.


French translation

French translation.
And a little typo in the English FAQ part, missing dots at the end of the lines.

French translation.

Send me an e-mail for a promo code :) thanks


Move logic for adding agent keys into its own recipe.

This should fix #7

Closing this out since most of this happened with the big refactor with client packages


metric_logger buggy when doing multi-node training

In
https://github.com/instructlab/training/blob/2b744affa58e3e429a4115f73b16a53c4e782226/src/instructlab/training/main_ds.py#L408 ,
each local rank 0 logs to file and this results in json decoding error where multiple objects are concatenated together.
Simple fix would be changing this line to
if args.global_rank == 0:

@RobotSail @Maxusmusti or @JamesKunstle . Can anyone look into this, we should make the log name to have the global rank in the name to avoid this issue.


F# compiler/tools type provider generated types cache misses

Instantiation function is called 3 times within short period of time (~ 1 sec) for type provider generated types for now obvious reason.
I created repro project
https://github.com/dmitry-a-morozov/Sandbox/tree/2902ed84c434b2b555f888312f5aa254d2b33197/TPCacheMisses
To repro take following steps

Open TPCacheMisses.sln
Compile type provider
Start TPCacheMisses project (with or w/o debugger)
Open Test.fsx to trigger types generation
Observe assertion pop-up

https://github.com/dmitry-a-morozov/Sandbox/tree/66f55ff410262382373b134c7252c174f49adcca/TPCacheMisses

Can you implement a cache for the generation in the type provider?  e.g. https://github.com/Microsoft/visualfsharp/blob/fsharp4/src/fsharp/FSharp.Data.TypeProviders/TypeProviders.fs#L33

Of course I do that.
https://github.com/fsprojects/FSharp.Data.SqlClient/blob/master/src/SqlClient/ProvidedTypesCache.fs
But I thought F# compiler can be a little smarter.
Seems like cache miss to me.
BTW, isn't types cache suppose to be thread-safe?

Closing old discussion

Agree. As a matter of fact I think I have a good solution for this problem. Better than on one in FSharp.Data.
https://github.com/fsharp/FSharp.Data/blob/2.3.1/src/CommonProviderImplementation/Helpers.fs#L295
Maybe I will write a blog post on that.


Initial Implementation

Create an initial implementation, using the provided reference implementations:
https://docs.rs/getrandom/latest/getrandom/
https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues
https://nodejs.org/api/webcrypto.html#cryptogetrandomvaluestypedarray

just saw this https://github.com/Absolucy/nanorand-rs might be worth checking it to see if we wrap it? just thinking out loud here, haven't check it deeply

Hey @cbrzn, this will need to be a plugin, as it will utilize the OS' random number generation APIs. For examples of this, see the rust getrandom crate's documentation which shows this: https://docs.rs/getrandom/latest/getrandom/


Nested can.Component with  tag causes detached DOM nodes

Code found here: http://jsfiddle.net/akagomez/v8h1qfod/

Incoming speculation, with links to lines in code:
When we replace the <content/> tag with the subtemplate, we never set replacements  on the node subtemplate nodeList when we register it. So when we remove the component from the DOM and unregister the subtemplate nodeList, since it doesn't have the replacements property, it doesn't get deleted from the nodeMap.
After doing some work arounds to force the contents we replace <content /> with to be seen as a parent element and, therefore, have that replacements array - I was able to remove your memory leak, but I'm sure we'll talk more in the morning.

This wasn't actually being tested.  About to submit a fix.