Added Seqhash functions

This adds seqhash functionality to the Poly library. Basically, the Seqhash function hashes any DNA/RNA/Protein sequence with the blake3 algorithm to give it a universal identifier. If the sequence is circular, like a plasmid, it first takes the lexicographically minimal string rotation using Booth's algorithm, then hashes the resulting sequence with the blake3 hash.

@Koeng101 this looks awesome! I want to refactor and expand on this before merging but to do that I need two things.
1.) Can you run go mod tiny && git add go.sum go.mod and push those files to the prime branch of your fork? It helps with dependency tracking stuff.
2.) Can you also give me push access to your fork so I can make those changes there then merge them into the prime branch of poly? This is the best way I know of to make sure github credits you for this pull request while still allowing me to edit it before being merged.
🙏 🙏 🙏

1.) Run + added + committed the command above to the prime branch of the fork.
2.) Gave access to fork.

Read comments, looks good. The reason for uppercasing is that the case never matters sequence-wise, but it impacts hashing. Could be lowercase for the same reason, but uppercase is nicer to read for sequences.
Also, the check failed because you didn't fix the hash_test.go file to use seqhash instead of Seqhash.

So I just made a big push and a couple of smaller comment related commits. Everything is looking good so far but testing is still needed before this is merged.
Key things to test:

BoothLeastRotation needs to be tested such that it's feed every rotated permutation of a circular sequence then all outputs need to be equal to eachother.

Command usage. User experience. Make sure everything behaves as expected.

I don't see the need to test for individual hash functions. Seems tedious.

All basic commands have been implemented and tests passed. Please review before I merge @Koeng101.


Refresh applicants view after marking a favorite

Currently, when you mark an item as a favorite or archive, you need to refresh the page. We should sync the applicants list with the change.
favorite.$save() returns a promise. This can be used to trigger another query to refresh the page as follows:
favorite.$save().then(function(){
$scope.applicants = Applicant.query();
});

page now refreshes when favorite button is pressed


Document quality/development/support level definitions

Quality

Production

Recommended for production
Supported in Mattermost, Inc. SLA
Documented
Included in security reviews

Beta

Not recommended in production without Premier Support engagement with Mattermost, Inc.
Minimal documentation
Disabled by default, must be turned on via run-time feature flag
Tested thoroughly on a small set of platforms, with tickets and work items drafted, made available to public for testing and feedback in more platforms

Experimental (“preview” is so confusing, since we have a “Preview” install on Docker as well)

Not recommended for production
Minimal feature is not yet complete
Less than minimum documentation available
Disabled by default, must be turned on via run-time feature flag

Development

Under Development

Experimental or Beta quality
Improved, minimal features not yet complete. Beta or experimental quality.

Active Development (Note: We should figure out what to call this_

Production quality
Improvements and maintenance changes accepted

Maintenance

Production quality
Maintenance changes accepted

Deprecated

To be discontinued

Support

Unofficial peer-to-peer support

Peer-to-peer support on forum.mattermost.org

Officially supported

Closing. PR is in progress: https://github.com/mattermost/docs/pull/853


Just wanna say thanks...

I have found the normalize-url a few minutes back, but ended that it does not work for what I was looking for - but happy with the solution and added to the my queue of projects to help in some way.
Moved back to my search and got back here - that I am going to use and also on other project, and to my surprise, all opened 3 different projects are from the same dev.

Glad you found them useful ☺


v0.42

Version 0.42
Released February 5, 2024

Add Ghana holidays (#1639 by @JerryAgbesi, @arkid15r)
Add Jersey holidays (#1664 by @PPsyrius)
Update Costa Rica holidays (#1657 by @KJhellico)
Update Croatia holidays (#1659 by @KJhellico)
Update Greece holidays (#1663 by @KJhellico)
Update Switzerland holidays (#1648 by @KJhellico)
Update United Arab Emirates holidays (#1667 by @KJhellico)
Update ruff config (#1684 by @KJhellico)
2020 China calendar discrepancies fix (#1645 by @PPsyrius)
Add United Kingdom's Whit Monday holidays for pre-1971 years (#1668 by @PPsyrius)
Ruff cleanup (#1680 by @PPsyrius, @arkid15r)
Unify common holidays name translation (#1673 by @KJhellico)
Use current version for release notes generation (#1661 by @arkid15r)
Use ruff instead of black+flake8 (#1671 by @arkid15r)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 294 (100.0%)  changed or added relevant lines in 18 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
10501

Relevant Lines:
10501

💛  - Coveralls


RAMInBytes not parsing strings returned by BytesSize

Example:
units.RAMInBytes("32GiB")

This returns an error...

Opened PR #27 to fix this.


Eigen values

Find the eigen values of a given matrix.
Hint: If no function is present for determinant computation create one.

I want to do this


We got a DTO problem

There is some problem with the existence of DTO in the project here, I am strongly opposed to it being here. We have to replace it.

@h1alexbel yes, I thought of that. I see that as one of the solutions


Stop using and deprecate ENGINE_setup_bsd_cryptodev

The calls we made to it were redundant, as the same initialization is
done later in OPENSSL_init_crypto() anyway.

Inspired by #1285

Please check that this is OK with Christos Zoulas (NetBSD OpenSSL maintainer).

Okie, will do

merge it!

Cool, and I just got a LGTM from Christos (both on this and on #1285), so all is fine :-)

Found a fault, be back with an update in a few

Ok, looks like it's going better now...  @richsalz , reconfirm?

reconfirm

Ok, thanks!  Merged


vk.com extractor:  User profile video's and or playlists are not able to download, yet a single video still does.

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2021.12.27. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Europe, Russia, Most of asia.
Description
Due to a update to VK.com.
it seems no longer to be possible to download videos directly from a channel,
for example https://vk.com/video/@mobidevices. (channel is accessable without a vk account)
yet if you select a url such as https://vk.com/video-17892518_456239840 (first video on that channel as of 1-1-2022)
the select video will download, but only that selected video.
i am using the windows build and this issue only happens on VK.com
Verbose log
[debug] Command-line config: ['-Uv', '--cookies-from-browser', 'edge', '-o', 'E:\\Principle maindrive\\home\\Joey/0_Video/%(title)s %(channel)s (%(id)s) [%(channel_id)s].%(ext)s', '--add-metadata', '--geo-bypass', '--downloader', 'aria2c', '--downloader-args=aria2c:-x16 -k1M -s16', '--merge-output-format=mkv', '--postprocessor-args=ffmpeg:-threads 2', '--throttled-rate', '100k', 'https://vk.com/video/@mobidevices']
[Cookies] Extracting cookies from edge
[debug] Extracting cookies from: "C:\Users\jzneter\AppData\Local\Microsoft\Edge\User Data\Default\Cookies"
[Cookies] Extracted 719 cookies from edge
[debug] cookie version breakdown: {'v10': 719, 'other': 0, 'unencrypted': 0}
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2021.12.27 [6223f67] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19043-SP0
[debug] exe versions: ffmpeg n4.4-154-g79c114e1b2-20210924 (setts), ffprobe n4.4-154-g79c114e1b2-20210924
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2021.12.27, Current version: 2021.12.27
yt-dlp is up to date (2021.12.27)
[debug] [generic] Extracting URL: https://vk.com/video/@mobidevices
[generic] @mobidevices: Requesting header
WARNING: [generic] Could not send HEAD request to https://vk.com/video/@mobidevices: HTTP Error 418:
[generic] @mobidevices: Downloading webpage
WARNING: [generic] Falling back on generic information extractor.
[generic] @mobidevices: Extracting information
[debug] Looking for video embeds
[redirect] Following redirect to https://vk.com/badbrowser.php
[debug] [generic] Extracting URL: https://vk.com/badbrowser.php
[generic] badbrowser: Requesting header
WARNING: [generic] Could not send HEAD request to https://vk.com/badbrowser.php: HTTP Error 418:
[generic] badbrowser: Downloading webpage
WARNING: [generic] Falling back on generic information extractor.
[generic] badbrowser: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://vk.com/badbrowser.php
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1353, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1423, in __extract_info
  File "yt_dlp\extractor\common.py", line 599, in extract
  File "yt_dlp\extractor\generic.py", line 3829, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://vk.com/badbrowser.php

Are you sure this used to work? As far as I can see, this would never have worked...

Are you sure this used to work? As far as I can see, this would never have worked...

Are you sure this used to work? As far as I can see, this would never have worked...

Yes, i used to download entire channels a few months ago, and when it stopped working i didnt had the time to report this. This weekend i had the time, so thats why you only see it now

Are you sure this used to work? As far as I can see, this would never have worked...

Yes, i used to download entire channels a few months ago, and when it stopped working i didnt had the time to report this.

I'll try to add this is tomorrow

@jzneter can u provide an url with around 150 videos?
Or can you manually confirm how many videos does the url u provided has?

@jzneter can u provide an url with around 150 videos? Or can you manually confirm how many videos does the url u provided has?

The url provided has quite a lot of videos but i will try to find one that fits your description.

Found this one that has around 516 videos in total. https://vk.com/video/@englishpolls

The api is kinda retarded tbh.
even when u explicitly ask it to return say 100 videos, it returns like 90
then the code thinks that since we asked for 100 but it returned 100, so that proly means there are no more videos to return and it stops thus resulting in some missed videos.
I'll see if i can solve this someway

@Ashish0804 If it doesnt return a reliable number of vids, dont use PagedList and just use a generator instead


Move transaction checks from chainstate to tx_verifier and use them in mempool

I moved the implementations, so Chainstate calls the same checks as before.
Not sure if I should remove tokens checks from wallet because it looked like a workaround but I might be wrong

Maybe leave the checks in the wallet as the error reported to the user will be shorter than the full response from the mempool?


sfc playground - various (lost unicode, version is not retained, preview refresh to quick, compress links, console.clear)

Version
3.0.11
Reproduction link
https://sfc.vuejs.org
Steps to reproduce

unicode is is not retained in the base64 encoding/decoding of the url

use ✅ (U 2705)  in the code, copy share link and open in new tab. the opened sandbox will no longer have the unicode char

changing active file, while typing, may not save changed made to the previous active file.
will be more prominent if delay of debounce is increased.

due to low debounce delay, error message jumps back to quickly, while making changes
this is a problem when the window height is low, and the  red error  box keep covering the editing area.
in addition the low debounce mean more cpu usage while typing and editing code.

selecting a vue version is not retained in the shared link
creating a link while working with vue 3.0.10 will be opened with the current version @03ae300
it also not retained if the user select a version and refresh the page.

shared links can be quite large, allow for compression.

console.clear called every sandbox refresh. removed historical logs.
remove the clear call and allow the developer to clear manually if they want to.

What is expected?

unicode is retained
changing active file should not be possible while debounce is in progress
make error less intrusive (allow hiding errors )
selected version should be part of the  shared url
url should be more compact, which can be achieved with compression , but also be compatible with urls that were generated uncompressed.
refresh of sandbox should not clear the whole console.history. alternatively each sandbox logs can be in a console.group.

What is actually happening?
.

POC
version locked to 3.0.10
uncompressed  ( will be upgraded once opened )
https://sfc-vue3.netlify.app/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8aDE+e3sgbXNnIH19PC9oMT5cbjwvdGVtcGxhdGU+XG5cbjxzY3JpcHQgc2V0dXA+XG5jb25zdCBtc2cgPSAnSGVsbG8gV29ybGQhJ1xuPC9zY3JpcHQ+In0=
compressed ( with unicode example )
https://sfc-vue3.netlify.app/#/s/eyJ2IjoiMy4wLjEwIiwidCI6IjEiLCJkIjp7IkFwcC52dWUiOiI8dGVtcGxhdGU+XG4gIDxoMT57eyBtc2cgfX08L2gxPlxuPC/LI1xuPHNjcmlwdCBzZXR1cD5cbmNvbnN0xTI9ICfinIUgSGVsbG8gV29ybGQhICfEQMYyPiJ9LCJj5QCGfQ==

remove console.clear and group logs

This PR can fix unicode problems https://github.com/vuejs/vue-next/pull/3662

@HcySunYang
I opened the issue and put up a demo with all the fixes to the issues I mentioned
to get some feedback and see if there is interest in this kind of changes , before I setup a PR.
SFC playground demo
https://sfc-vue3.netlify.app

removed console.clear(), and replace with a context group
higher debounce delay ( reduce cpu usage while typing )
better handling of file navigation, with higher debounce delay of preview
version is embedded in url and used on refresh/load
url compression ( lzutf8 )
base64 for better unicode support ( also provided by lzutf8 )
url loader, with backward compatible to previously generated urls(atob()), and the newer compressed payload
ability to minimize error, to status bar

The unicode fix in the PR #3662  relies on escape()/unescape() which has a deprecation warning on MDN
it does provide some backward compatibility, but the sfc tool does not target old browsers.

@lidlanca If you have done some excellent work, then there is no doubt that you can make a PR 👍

added dark mode to editor ( mode does not persist )

allow browser built in search to find code that is not in the editor viewport. ( remove limit of search only of visible part )

loading from a github gist:
https://sfc-vue3.netlify.app/#/gist/c25471df90da7174730a2794f23a3bd9

feel free to close this issue, another fix was merged for the unicode fix.


opera: 100.0.4815.47 -> 105.0.4970.21

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

Shall we backport this?

@marsam let me know if you want me to make backport PR

good to know that backport labels work after merge

No worries!


Using arraylist in Sugar orm

Is there any way to use the one to many relationaship,except the one explained in the official site?
like for example:
public class Book extends SugarRecord {
String name;
String ISBN;
String title;
String shortSummary;
// defining a relationship
Author author;
}

Is there any way to use the one to many relationaship,except the one explained in the official site?
like for example:
public class Book extends SugarRecord {
String name;
String ISBN;
String title;
String shortSummary;
// defining a relationship
Author author;
}

akku20080  have you got some solution?


emit mouseDown event

In a long-ish list, when re-ordering, I want to zoom out the UI (apply a CSS transform to shrink all the elements).
This will allow the user to easily drag and drop elements a large number of elements away.
I think I could do this if we had a mouseDown event and i could do custom stuff from it.
What do you think? I think it would mean exposing another handle like onChange.

Seems reasonable to me. The UI you describe sounds cool. I wonder if the hook you’re after is something like prepare or before-sort or will-sort — something that can return a promise so can defer sorting until animation is complete.

hmm. maybe I'm just unfamiliar with how the code is written, but I would have assumed that the "sorting" part is triggered when the element is dropped, no? In my head, I'm seeing it like this:

mouseDown
custom hook
dragEvent
dropEvent
onChange
custom hook

Soemthing like will-sort seems like it would fit in after dropEvent or after onChange.
I'm looking for something after mouseDown and also after dropEvent to reverse whatever I did on mouseDown.
Does that make sense?

I think you’re right that will-sort implies completing the sort.
Could you sketch out how you’d use this if it were implemented as mouseDown?

Mainly I’m curious as to what component will receive the action in this particular example.

I just looked through the code a little bit and it looks like the onChange event is fired in sortable-group in the commit function. I think mouseDown could be fired in the prepare function? A quick spike validated that I was able to send the action pretty easily!

@mehulkar I would still like to explore to possibility of giving this action a more specific name. Three reasons:

It could be a touchstart that triggers it
We’re cancelling the real mousedown with preventDefault
This may open the door to exposing many other DOM events as actions

It might not be a problem to overload mousedown with our synthetic version but I’d like to explore other possibilities.
This hook definitely has value but let’s make sure we nail it.

One thing that's tripping me up looking at the code is that I don't
understand what the sortable groups are for. Could you talk about a use
case for that?
On Monday, August 31, 2015, Jamie White<EMAIL_ADDRESS>wrote:

@mehulkar https://github.com/mehulkar I would still like to explore to
possibility of giving this action a more specific name. Three reasons:

It could be a touchstart that triggers it
We’re cancelling the real mousedown with preventDefault
This may open the door to exposing many other DOM events as actions

It might not be a problem to overload mousedown with our synthetic
version but I’d like to explore other possibilities.
This hook definitely has value but let’s make sure we nail it.
—
Reply to this email directly or view it on GitHub
https://github.com/jgwhite/ember-sortable/issues/54#issuecomment-136577333
.

--

Mehul Kar
@mehulkar

sortable-group has n jobs:

Listen out for updates from the item being dragged
Put other items in position when dragging occurs
Collect up models from items to send in the commit action

Items should are not aware of each other — they are self-absorbed by design. sortable-group facilitates this.

what's the purpose of binding a model to the sortable-group? From the README, the only value of binding a model to the sortable-group is that this "group model" is included in the arguments passed to the onChange action, in addition to the itemModels array.
Aren't the itemModels going to be the same as the groupModel in a typical scenario?

@mehulkar the group model was added in #28. Typically it is the array you’re sorting, while the item models are the things in the array.

Here’s a fleshed out example:
// app/routes/my-route.js
import Ember from 'ember';
const { Route, A } = Ember;

export default Route.extend({
  model() {
    return {
      collections: [
        A(['red', 'green', 'blue']),
        A(['big', 'medium', 'small']),
        A(['universe', 'galaxy', 'solar system'])
      ]
     };
  },

  actions: {
    // We’re using the same action handler for a bunch of different
    // collections so we need to know which collection we’re updating.
    updateCollection(collection, newOrder) {
      collection.setObjects(newOrder);
    }
  }
});

{{! app/templates/my-route.hbs }}

{{#each model.collections as |collection|}}
  {{! Here we’re saying “when you fire the `onChange` action,
      send this particular collection along as the first argument” }}
  {{#sortable-group tagName="ul" model=collection onChange="updateCollection" as |group|}}
    {{#each collection as |item|}}
      {{#sortable-item tagName="li" model=item}}
        {{item}}
      {{/sortable-item}}
    {{/each}}
  {{/sortable-group}}
{{/each}}


Coordinate Descent?

Some people in julia slack helped me tune a coordinate descent NNLS. Not sure if this interests you, but, here's some code,
function NNLS_CD(X, Y; ϵ = 1e-9, max_iters = 300)
    rows,vars = size(X)
    XTX,XTY = transpose(X) * X, transpose(X) * Y
    x  = zeros(vars)
    μ = -XTY
    Hxf = similar(XTY)
    @inbounds for iter in 1:max_iters
        Hxf .= XTX * x .- XTY
        all(>=(-ϵ), Hxf) && break
        for v in 1:vars
            initial = x[v]
            x[v,1]  = max(x[v] - μ[v] / XTX[v,v], 0.0)
            ∇       = x[v] - initial
            μ      .+= ∇ .* @views XTX[:,v]
        end
    end

    return x
end

variables = 100
X    = randn(200, variables)
beta = rand(variables, 1)
Y    = X * beta
r = NNLS_CD(X, Y; ϵ=1e-9, max_iters=300)
sum(abs,beta .- r)

could be useful.  do you want to make a PR?  it would be important to test it too.

No problem I'll close this out and make a PR real quick


accept custom resolve function

custom resolve function which default to internal resolve when not found.
allows to easily plug in some files.
not far from #1006 though
along with module_deps fileCache, can be used to provide generated content for #1436

Interesting approach @Cactusbone. I've been thinking about a good way to solve that (allow setting it, but also wrapping the original). Part of the issue for me is that I wish to be able to do it from a plugin.

from what I understood, plugins can interact only after modules_deps right now, so it's not gonna be easy :)

@Cactusbone That's true. It could be as simple as just documenting .resolver as public API on module-deps in combination with allowing it to be passed in as an opt. I have done some work on prototyping an extension to the plugin API that would allow plugins to run before the pipeline is constructed. I think all you'd lose is the ability to synchronously access b.pipeline before b.bundle().

.resolver did not do the trick for me, since it still required existing files and i wanted to give arbitrary code.

@Cactusbone I'm not sure what you mean. Wrapping .resolver doesn't inherently require existing files any more than this PR does, does it?

@jmm I don't remember exactly from my tests, but browser-resolve was checking if my files existed when i used .resolver,  whereas my PR changes directly in module-deps, which check first in its fileCache.
check https://github.com/substack/node-browserify/issues/1436 for my usage :)
I can check again if you want th exact stack trace

@Cactusbone I understand what you're going for, I'm just not sure what difference there would be between what you've PR'ed here and this:
var b = browserify();
var mdeps = b.pipeline.get("deps").get(0);
var baseResolve = mdeps.resolver;
mdeps.resolver = function (id, parent, cb) {
  customResolve(id, parent, function (err, file, pkg) {
    if (!err && !file) return baseResolve(id, parent, cb);
    else return cb(err, file, pkg);
  });
};

In your PR opts.resolve just becomes .resolver, doesn't it?
(Please note that I'm not necessarily saying your proposal shouldn't be considered -- there's a couple of different issues involved here.)

@jmm looks like my memory was playing against me. indeed using a customResolver here do work as well as my PR :)

@Cactusbone Ok, thanks for the feedback. I personally do think there should be public API for using a custom resolver eventually -- I would just want to see it have a sensible API (including being able to set it via plugin, for example).


[FAQ] Webpage seems focusing on wrong section when a section link is clicked

Title
[FAQ] Webpage seems focusing on wrong section when a section link is clicked
Platform / OS
Windows 10
Browser
Microsoft Edge
Description
The webpage jumps a bit high and the header covers up the correct section title that user intended to focus on.
Steps to Reproduce

Go to FAQ page
Select any section from the section links
Observe the focus of the webpage after the link is clicked

Expected Behavior
The correct section is focused and the header does not cover the intended section
Additional Info
On this screenshot the donate section was clicked and was covered by the website header

Branch: f67f58e998004b2402288d094660a7a90acf9a97
dev Build: https://circleci.com/gh/sleepbusorg/sleepbus.org/188

fixed on dev by 84c7430499ce7917fdc3261939aa14aa9415d6df will deploy to prod along with code for refund policy soon

recently fixed with another commit


README.md out of date - no "setup" script

"Getting Started" Section states to "Just clone the repo and run yarn install followed by yarn start:" but there is no script for "setup" in the package.json

same

Looks like it was removed here https://github.com/kriasoft/relay-starter-kit/pull/341, possibly mistakenly

Fixed, thank you!


ErrorException : "continue" targeting switch is equivalent to "break"

Hi there, I just installed your package and tried to run php artisan statsbut got:

I've added SebastianBergmann\PHPLOCto the 'ignored_namespaces' in config/stats.php without luck.
Any tip will be very welcome, thanks.

Did you have this on latest Homestead running PHP 7.3? Try:
php7.2 artisan stats

Actually, I have that on valet and I don't' have 7.2 only 7.3.2

There is a PR on this https://github.com/stefanzweifel/laravel-stats/pull/129#issue-238306303

getting same error here on php7.3

Yes, unfortunately the package is currently broken on PHP 7.3. As described in https://github.com/stefanzweifel/laravel-stats/pull/129#issue-238306303, this comes from the phploc package.
I will create a PR to fix this issue over the next days. I hope I can tag a new php7.3 compatible version of laravel-stats in the next 2 weeks.

The version at https://github.com/sebastianbergmann/phploc/edit/master/src/Analyser.php actually has fixed all of these warnings already...

Oh yes, you're right. In https://github.com/sebastianbergmann/phploc/commit/6834fdaaf288fff461602015c2f04d3b981ad787 a fix for PHP 7.3 has been applied.
The changes have not yet been tagged in a new stable release (Changes since the last release: https://github.com/sebastianbergmann/phploc/compare/4.0.1...master).
Will reach out to them, to ask if they could release the fixes.
Don't like the idea of changing the dependency to a dev-master version.

i am also getting the same error. Using valet.

I've created an issue on the repo: https://github.com/sebastianbergmann/phploc/issues/190.
Will update my PR (#129) with further changes to make the package compatible with PHP 7.3

master is now compatible with PHP7.3. Will do some last testing and then tag a new release.


Azure OpenAI Endpoint Support

Is your feature request related to a problem? Please describe.
I use Azure OpenAI service for my LLMs. I do not want to pay for an additional OpenAI service.
Describe the solution you'd like
Support for using an Azure OpenAI endpoint instead of the OpenAI one.
Describe alternatives you've considered
Using litellm, like in Open Web UI (which bundles the litellm proxy within the Docker container)
Additional context
N/A

It can be done via the custom OpenAI provider in the settings menu. You just need to add the API URL (supporting OpenAI's format) and it would work completely fine


Cannot stop parallel execution

When a test is run in parallel it cannot be stopped by ctrl+c

I've given this a quick test, looks like it fixes this, but may require more testing.


Support image styling

This PR is related to thunder-app/thunder#609. It adds the ability to set the link preview image opacity when constructing the widget. (Note that this is a property of the image and not an Opacity widget.)

LGTM!


Conduct user research on migration process

What we're after: as a team, we'd like to talk to users to learn about what has been working, and what hasn't, in the migration process to improve the process for them and other users.
Discussed as possible ongoing work during PI planning

Issue moved to 18F/cg-migration #36 via ZenHub


Create css var lib

Create css var lib to store constants
example:
{
  --padding: var(--size-3);
}

Example of constants:  padding, typography, colour-palette, site-content-width

@chrisvdm Even though it's small, should we close this one now that we've got some code in https://github.com/redwoodjs/example-store-stripe/blob/main/web/src/index.css?
https://github.com/redwoodjs/example-store-stripe/blob/f04d178ef9732e7e025847997c14266891eaeffc/web/src/index.css#L3-L6
https://github.com/redwoodjs/example-store-stripe/pull/119 also adds a few. We can keep updating our CSS changes in https://github.com/redwoodjs/example-store-stripe/issues/52.


[Tikv] Some problems about performance and fault tolerance

Question
Hi, We are prepared to integrate tikv into our business, so I am testing tikv's performance and fault tolerance, but i get some problems about tikv.

I'm testing the write performance, I use 160 threads to send put request and get 2W QPS.  but  i find some of my put request usually get DEADLINE_EXCEEDED, my timeout setting is 100ms, that mean i send a request to a tikv server, but after 100ms, the tikv server has no responding, i think it is not reasonable. so i check the tikv server's log, when the request is timeout, the server print a lot of logs about

2018/10/16 14:43:26.942 INFO apply.rs:902: [region 2199] 2201 execute admin command cmd_type: CompactLog compact_log {compact_index: 79865 compact_term: 7} at [term: 7, index: 79868]

i'm testing the tikv's fault tolerance,   when i close one of my tikv instance, much of my request get failed and retry, i think it is reasonable because much of my region cache is invalid and at the moment the requests connecting to downing machine will fail and retry. but when i recover the downing machine, still get much request DEADLINE_EXCEEDED, i'm confusing. i check the server log, still get the same result as the first case.

Deploy
PD * 1
tikv * 4 (every node located in an AZ, the network latency between node is about 2ms)

Env
TiKV
Release Version:   2.1.0-rc.2
Git Commit Hash:   b35f8e6e1ea32695c094e332f65adf58cd540595
Git Commit Branch: master
UTC Build Time:    2018-10-05 08:03:30
Rust Version:      rustc 1.29.0-nightly (4f3c7a472 2018-07-17)

Release Version: v2.1.0-rc.2-13-g3532c6b
Git Commit Hash: 3532c6bd4b05a3a32a041f49e2d953dd2df49a83
Git Branch: master
UTC Build Time:  2018-09-30 11:19:17

Config
# TiKV config template
#  Human-readable big numbers:
#   File size(based on byte): KB, MB, GB, TB, PB
#    e.g.: 1_048_576 = "1MB"
#   Time(based on ms): ms, s, m, h
#    e.g.: 78_000 = "1.3m"

[readpool.storage]
high-concurrency = 8
low-concurrency = 8
normal-concurrency = 8

[readpool.coprocessor]

[server]
labels = { }

[storage]
scheduler-worker-pool-size = 12

[pd]
# This section will be overwritten by command line parameters

[metric]
address = "<IP_ADDRESS>:9091"
interval = "15s"
job = "tikv"

[raftstore]
raft-log-gc-count-limit = 192000
raft-log-gc-size-limit = "192MB"
raftdb-path = ""
region-max-size = "384MB"
region-split-check-diff = "32MB"
region-split-size = "256MB"
sync-log = true

[coprocessor]

[rocksdb]
max-manifest-file-size = "20MB"
wal-dir = ""

[rocksdb.defaultcf]
block-size = "64KB"
max-bytes-for-level-base = "512MB"
max-write-buffer-number = 5
target-file-size-base = "32MB"
write-buffer-size = "128MB"

[rocksdb.lockcf]
max-bytes-for-level-base = "512MB"
target-file-size-base = "32MB"

[rocksdb.writecf]
level0-slowdown-writes-trigger = 20
level0-stop-writes-trigger = 36
max-bytes-for-level-base = "512MB"
max-write-buffer-number = 5
min-write-buffer-number-to-merge = 1
target-file-size-base = "32MB"
write-buffer-size = "128MB"

[raftdb]

[raftdb.defaultcf]
block-cache-size = "256MB"
max-bytes-for-level-base = "512MB"
max-write-buffer-number = 5
min-write-buffer-number-to-merge = 1
target-file-size-base = "32MB"
write-buffer-size = "128MB"

[security]
ca-path = ""
cert-path = ""
key-path = ""

[import]

PD Config
# PD Configuration
initial-cluster-state = "new"

enable-prevote = true
lease = 3
namespace-classifier = "table"
tso-save-interval = "3s"

[security]
cacert-path = ""
cert-path = ""
key-path = ""

[log]
level = "info"

[log.file]

[metric]

[schedule]
leader-schedule-limit = 4
max-merge-region-keys = 0
max-merge-region-size = 0
max-pending-peer-count = 16
max-snapshot-count = 3
max-store-down-time = "30m"
merge-schedule-limit = 8
region-schedule-limit = 4
replica-schedule-limit = 8
split-merge-interval = "1h"
tolerant-size-ratio = 5.0

[replication]
location-labels = []
max-replicas = 3

@siddontang

Hi @Xavier1994
Could you show grpc panel and thread CPU panel in grafana?
Examples:

Latency of requests may increase under heavy load, like the metric above.
If you demand a very low read-write latency, it is recommended to use SSD with high IOPS.

hi,  @overvenus

at 19:30, i stopped one of my tikv instance, and at 19:40, i restart the stopped instance. and i always send request with client  all the time. you can see, my grpc message failed is always high even i have no operation to the tikv instances.
my tikv cluster is deployed on ssd(and iops is about 3.5W tested by fio).
I searched on the internet about the benchmark of tikv(we use raw kv without  transaction), but i can't find anything(almost tidb's benchmark). So it's difficult to tell if my testing result is reasonable, so there is any place i can find tikv's benchmark?

Could you export tikv grafana to PDF for further investigation? Click the report button on the up-right corner.

Hi @Xavier1994

but i find some of my put request usually get DEADLINE_EXCEEDED, my timeout setting is 100ms

The print logs are not relevant to this issue, but we find a problem when Compacting Raft log, see #3671
Can you give us the whole metrics PDF like above said? If not, maybe you can give us the panels like gRPC, Raft IO, Raft Propose or More Raft metrics, and threads.

but when i recover the downing machine, still get much request DEADLINE_EXCEEDED

Maybe it is caused by Raft leader election, maybe you can give us all the logs at that time.
BTW, can you give us your benchmark application? so we can reproduce it by ourselves.
/cc @disksing please pay attention to this problem too.

hi, @siddontang @disksing I failed to export the pdf from grafana, so i have a full screenshot of the monitor panel, but it is too big to upload on github. So you can give me a email address and i will send it by email. the grpc screenshot is below

I stopped one of my tikv instance at 11:03, at that moment, the grpc qps decreased. i find it is because even my tikv server is down, the rpc request sent to that server won't failed immediately, and it wait for a timeout then failed. So it make much of my request' latency increase.  and i recover the machine at 11:16, at that moment, almost all of my request failed. I think it is not reasonable.
@siddontang i will give my benchmark application(i write a cpp client and use it write a benchmark application) with email.


Add exception handling to date parsing

Currently there is no exception handling when LocalDate.parse is used. Add error handling by catching java.time.format.DateTimeParseException as appropriate.

Handled in 0f45d97dbd785fc3097d23af1c685fb6ba62c92e


Optional parameters in Actions not supported

Copied from vuex-typescript Issue 14
Given an action wit optional parameter:
async testIt(context: TestContext, payload?: number): Promise<void> {}
Is mapped with:
export const testAction = dispatch(test.actions.testIt)
When you call the action inside a VUE Component with the optional parameter:
test.testAction(this.$store, 123)
You will get a compile error:
Expected 1 arguments, but got 2.

Spent some time trying to solve this, because we ran into it on one of our own projects. However, it looks like there's no good solution until TS 12400 is addressed: https://github.com/microsoft/TypeScript/issues/12400
At some point, I may come back to this to try to use one of the alternative approaches defined there, but the ideal solution would be once that issue is addressed, then typesafe-vuex would just infer that, if one of the potential types for a function is undefined, it's marked as optional.


Add containerStats API endpoint (since Remote API v1.17)

https://docs.docker.com/reference/api/docker_remote_api/#whats-new

This is a streaming API endpoint, so it depends on #4.

This appears to be the only API endpoint that generates an endless stream of events.
As such, it makes little sense to add a Promise-based API for this endpoint, as Promises are all about the "results" of an operation.
One possible approach would be to inspect the stream and then resolve the promise when the first event is completed and then terminate the underlying stream.

This appears to be the only API endpoint that generates an endless stream of events.

The upcoming Remote API v1.19 will add a boolean stream flag to indicate whether to terminate the stream after the first event. This is somewhat similar to the above approach.
https://docs.docker.com/reference/api/docker_remote_api/#v1-19


"" in postgres table names

The script doesn't seem to work with postgres tablenames using "":
I get:
Deprecated: "user" was not specified in the config.  A future release will cause this to be an error.  Please specify the table definition or set it to :keep.

with the following specified in obfuscate.rb
  :"user" => {...}

Hey @jlvdh, that's likely.  If you have a patch, we'd be happy to accept it.


Hello vulkan 1.0

could we use GameActivity instead of NativeActivity?
I will change https://github.com/googlesamples/android-vulkan-tutorials soon.

Will attempt 👍
However this is unclear to me:
'Apps derived from GameActivity are expected to build all three parts of C/C++ code into one library.'
I imagine two of them are:

The actual application
android_native_glue (just like native activity)

What's the third one? We don't need JNI since we use native_glue.


[release-1.28] Bump dependencies for 1.28.3

What this PR does / why we need it:
Which issue this PR fixes(if applicable):
fixes #
Special notes for reviewers:

Release note:

NONE

/hold

@zetaab @mdbooth please approve

/lgtm
/approve


This returns repo and connectorManager, but we could use the connectorManager contained in the repo throughout

Issue opened with imdone.io from code comment on 9f751f1
TODO  This returns repo and connectorManager, but we could use the connectorManager contained in the repo throughout id:2

https://github.com/imdone/imdone-atom/blob/9f751f14f022fed15d90b360e4f50f43250dcb82/lib/services/imdone-helper.coffee#L11-L16

Issue closed with imdone.io by removing a comment.

https://github.com/imdone/imdone-atom/blob/b7251b7ccf00e69c484ae85d9668078cedb7152e/lib/services/imdone-helper.coffee#L11-L16


createJavadocs: build errors and warnings mostly related to HTML formatting

Describe the bug
When building the Javadocs for Ghidra, a range of errors and warnings are reported. Errors such as attribute not supported in HTML5: name, malformed HTML (when using < characters).
To Reproduce
Steps to reproduce the behavior:

Navigate to the root directory of Ghidra
Run gradle buildGhidra as described in step Building the Package of the DevGuide
See error reported by Task :createJavadocs

> Task :createJavadocs
/home/u/Desktop/ghidra_play/ghidra/Ghidra/Features/Base/src/main/java/ghidra/app/services/MarkerService.java:39: error: attribute not supported in HTML5: name
 *
      ^
/home/u/Desktop/ghidra_play/ghidra/Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/Plugin.java:38: warning: empty
 tag
 *

   ^
/home/u/Desktop/ghidra_play/ghidra/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/pe/cli/blobs/CliBlob.java:31: error: malformed HTML
 * - If the first four bytes are 110bbbbb_2, x, y, and z: size is (bbbbb_2<<24 + x<<16 + y<<8 + z) bytes.
                                                                                ^
/home/u/Desktop/ghidra_play/ghidra/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/format/actions/EnableFieldAction.java:38: warning: no @param for panel
    public EnableFieldAction(String owner, FieldHeader panel) {
           ^
100 errors
100 warnings

Expected behavior
Successful build of documentation.
Environment (please complete the following information):

OS: Arch Linux

$ uname -a
Linux x1 5.0.5-arch1-1-ARCH #1 SMP PREEMPT Wed Mar 27 17:53:10 UTC 2019 x86_64 GNU/Linux

Java Version: jdk-openjdk 11.0.3.u4-1

Ghidra Version: 49c2010b63b56c8f20845f3970fedd95d003b1e9 (Ghidra_9.0.2_build)

This is a pretty large effort that we've decided to tackle a little bit at a time.  Our general strategy is to try to fix up the javadoc in the files we are touching, and then ensure all new code is properly javadoc'd.  We've set up some rules in our Eclipse preferences file to produce warnings on any bad javadoc so every contributor should make sure those are enabled.
So, over time, the errors and warnings should go down, but it's not a priority at this time to get it to 0 in the short term.


Runelite freezes when I start the GPU plugin

Describe the bug
My runelite freezes when I attempt to start the GPU plugin and stops reacting to any kind of input. I have to kill it using an external utility.
These are the last lines on standard output:
2020-05-07 12:15:20 [Client] ERROR n.r.client.plugins.gpu.GpuPlugin - Error starting GPU plugin
com.jogamp.opengl.GLException: Profile GL4bc is not available on X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7f63c06037c0, owner true, JAWTToolkitLock[obj 0x61d8435, isOwner true, <5b4a9e1f, 4ef4120f>[count 1, qsz 0, owner <Client>]]], but: [GLProfile[GLES1/GLES1.hw], GLProfile[GLES2/GLES3.hw], GLProfile[GL2ES1/GLES1.hw], GLProfile[GL4ES3/GL4.hw], GLProfile[GL2ES2/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GLES3/GLES3.hw], GLProfile[GL4/GL4.hw], GLProfile[GL3/GL4.hw], GLProfile[GL2GL3/GL4.hw]]
        at com.jogamp.opengl.GLProfile.get(GLProfile.java:991)
        at jogamp.opengl.GLContextImpl.verifyInstance(GLContextImpl.java:1471)
        at jogamp.opengl.GLContextImpl.setGLFunctionAvailability(GLContextImpl.java:1942)
        at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:395)
        at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:765)
        at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:648)
        at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:586)
        at net.runelite.client.plugins.gpu.GpuPlugin.lambda$startUp$1(GpuPlugin.java:327)
        at net.runelite.client.callback.ClientThread.invoke(ClientThread.java:99)
        at net.runelite.client.callback.Hooks.clientMainLoop(Hooks.java:193)
        at client.my(client.java:21613)
        at client.ao(client.java)
        at br.ab(br.java:362)
        at br.run(br.java:316)
        at java.base/java.lang.Thread.run(Thread.java:832)

To Reproduce
Not sure what information is needed. I just try to toggle the plugin on. See "environment".
Expected behavior
If the plugin cannot work in my environment, it should produce an error message and stay turned off, instead of freezing the whole program.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Runelite version is  1:1.6.12.
I am using java-14-adoptopenjdk and I have mesa installed.
I hope the following describes my Linux system, can provide more info if requested:
$ uname -a
Linux jb-lenovo 5.6.10-arch1-1 #1 SMP PREEMPT Sat, 02 May 2020 19:11:54 +0000 x86_64 GNU/Linux
$ lspci -v|grep VGA
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07) (prog-if 00 [VGA controller])

The issue tracker is not a support forum. Please join the Discord for questions of support.
However, some quick points:

1.6.12 is not the latest version. If you're constantly restarting the client and it still says that version, make sure you're actually using RL and not a fake.
Certain Java versions do not work. Use the AppImage to use a Java version that is known to work

In addition to what Hydrox mentioned, it's important to understand that RuneLite is only officially supported via the following distributions:

Launcher downloads provided on runelite.net (32- and 64-bit Windows exe installers, MacOS dmg installer, AppImage for linux, and all-platform jar)
Via snap, on Snapcraft

If you've installed your client from anywhere else it is at best not an official distribution, and at worst a malicious client masquerading as us.


Task action implementation is not tracked when added via Task.doLast(String, Action)

@wolfs commented on Tue Dec 04 2018
See https://github.com/gradle/kotlin-dsl/issues/1271
The underlying issue is that we don't unpack ConfigureUtil.WrappedConfigureAction which is created by the Closure accepting method created by our runtime task decoration.

@jjohannes Can you maybe look into fixing this, given that you introduced the method(s)? I can give some guidance.

I'm guessing this is not true anymore?

I am pretty sure it still is. At least I don't remember fixing anything in that area.

IIRC, we did track unnamed additional actions properly, it was only an issue with the (then) newly added named actions. If you look at the code we are now calling through from unnamed to named, so either we don't have the problem or we have the problem with unnamed actions, too.
I'd be pretty surprised if we had a problem with tracking the implementation of unnamed actions, as we have tests for that case.

Ah, is this not about the "new" methods adding the String parameter, but the methods taking Closure?

The underlying issue is that we don't unpack ConfigureUtil.WrappedConfigureAction which is created by the Closure accepting method created by our runtime task decoration.

Those methods are gone now. Does that change the situation?
We do unwrap WrappedConfigurationAction here, but it's not related:
https://github.com/gradle/gradle/blob/d9f98fecd1dfb9cd6184346299aa265a6552230b/subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/bean/NestedRuntimeBeanNode.java#L63-L67

We should fix this.

Woo-hoo! 🎉


Not Abel to crack some tokens, were as other cracker can crack the token.

crackjwt.py script ==> can crack any token.
Note Secret Key is:<PHONE_NUMBER>
$ python3 jwtcat.py -t "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb21lIjoicGF5bG9hZCJ9.Fw4maeqOtL8pPwiI2_VzYBo4JQ91P1Ow3X3hNqx2wPg" -v -w ~/passwords_long.txt

@Mr007jd, could you please provide more information about the decrypted token:

the header
the payload

It seems that your private key does not work:

Should be fixed with https://github.com/aress31/jwtcat/pull/19.


Fix unexpected whitespace when output text when using tags not decorated with newlines.

               Test

Rolled into #30


Add dnx451

Add dnx451
to https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/blob/7164cbf205c987e9fa7ff445a481b74cc2f83085/PackageExplorer/PackageViewer.xaml.cs (note "key-value" array)
More info: https://github.com/aspnet/Announcements/issues/98

Drop as replaced with netstandard


problem with the layout

the views get stuck on the corners of the bounds

also the bounds arent correct

would you want a video

Sure that might help

`
this only happens when the layout width nad height are set to match parent

https://streamable.com/qvwy9

Okay, good to know. Yeah this is something I am not too sure about. I imagine you might need to do something like wait for the view to be measured and then reset the physics world or something.

Maybe you could recreate the blocks after onsizechanged is called

maybe it is because the width of the navigation bar when the app is in landscape is different than when it is in portrait

also how can i reset the physics

can you please fix the issue with the bounds

or atleast make the java files not read only so we can try to fix them


Touch Y coordinate is inverted

I'm using your library with a 2.4 TFT touchscreen bought on eBay. All works fine, except the touch functionality -  every TSPoint obtained using TouchScreen.getPoint() has inverted the Y-coordinate. It would by nice to have an option to set coordinate system for TouchScreen instance (for example as optional parameter of the TouchScreen constructor).
I temporary fixed it by uncommenting the line #159 in the SPFD5408_TouchScreen.cpp file (return TSPoint(x, y, z);).

+1

Hi,
In mine TFTs I need invert the coords.
Can be in your case it not necessary.
Please modify the SPFD5408_TouchScreen, line 159:
after:
//return TSPoint(x, y, z);
// *** SPFD5408 change -- Begin
// SPFD5408 change, because Y coordinate is inverted in this controller
return TSPoint(x, 1023 - y, z);
// -- End
before:
return TSPoint(x, y, z);
// *** SPFD5408 change -- Begin
// SPFD5408 change, because Y coordinate is inverted in this controller
//return TSPoint(x, 1023 - y, z);
// -- End
If this ok, I can create an #define for this
Please send me if this ok now.
Regards
Joao

Half solved... my touch is now correct, but when i draw, up/down is left/right and vice-versa!!

Thank You, the only working way ive found on the internet!!!!


Build a Sample App in the codebase

Do it by stealing a sample app from EF somewhere and converting that? Or RavenDb.
I've never been good at this kind of thing, and I'd actually prefer this be done by folks that aren't necessarily deep into the Marten internals so we can use this exercise to flush out usability problems or things that are confusing.

The current thinking is to use https://github.com/jchannon/DinnerParty as the basis. Probably port it to ASP.net MVC (boo!) at some point for more reach into the community.

I'm working on this issue, while trying to keep up with the on-going development; @jeremydmiller is your vision that this sample project be included in the main solution (Marten.sln), and builds along with everything else?

@CodingGorilla At least at first, I think we should keep it in the same repo for exactly the reason you said. I've been beaten up for over a decade for not having enough samples in my OSS projects and it'd be nice to not have that issue so much with Marten;) Thanks for doing this.

Closed by https://github.com/JasperFx/marten/pull/371. Thanks @CodingGorilla !


origin/location of kube-config

I just switched from k8s-on-rpi to this project but I am curious where the kube-config command is coming from to install master and worker nodes?

It's just a script.  You can read/modify it with any text editor.

yeah but where is it? cant find it once I booted the hypriot version

I just talked to @saturnism and we noticed, that I folled the README from top to bottom and the sd card setup seems to be missing the kube-config.
@saturnism suggested to flash the pure hypriot image and install via the debian package - I will try it

kube-config is located in /usr/bin and is a normal bash script. The kube-systemd README

Link to kube-config

@luxas Hmm, so from my recent experience it was not in the rpi2 / hypriot image, when I used sdcard/write.sh script. I used find after starting from sdcard but I couldn´t find it.
The workaround was to flash a plain hypriot image and installing the deb package.

@w0mbat did you forget to include kube-systemd rootfs at the end? As the README says:

sudo sdcard/write.sh /dev/sdX [board] [os] [rootfs]
Example:
sudo sdcard/write.sh /dev/sdX rpi-2 hypriotos kube-systemd

I made it this way, because it should be to flash the plain hypriot or arch image too from sdcard/write
But in the next release it could print a warning if one omits it.

@luxas nope - used exactly that command and just replaced the device to match my sdcard.

Strange. It works for me...
Do you have more details?

@w0mbat Can you reproduce on v0.7.0 or should I close it?

Closing as probably fixed in v0.7.0.
Reopen if not


Iteration Plan for May 2019

May 2019 Plan
Last month, we hit most of our goals for the period. We delivered updates to our Build service to add support for the latest versions of Xcode and macOS plus updates to Mono and Xamarin support. We enabled search for handled errors in Diagnostics, changed the way Distribution updates work on a device in guided access mode, and enhanced Test to support NUnit 3. We also delivered the REST API and UI for the new Push to User capabilities in the Push service.
On the MBaaS side, we completed the UI for the public preview for our new Auth and Data services; you should be able to start using these services in your apps in early May. Our work on these services moved rather quickly considering we started work at the beginning of the year. Our intent is to ship early, so you can try them out yourselves, and continue to iterate on new features as we use customer feedback to tune our plans.
Our Build service gets some special attention this month as well, we expect to make progress on the clone branch configurations feature and start investigating adding support for git and GitLab. We’re also finally ready to roll out the first version of our HockeyApp migration experience so our existing HockeyApp customers can begin transitioning fully on to Visual Studio App Center.
Services
HockeyApp Migration Experience

[x] Opening private preview for interested users [#230]

Auth

[x] Ship early public preview [#388]

Build

[ ] Clone branch configurations [#22]
[ ] Investigate gitlab.com and/or general git support [#37]

Data

[x] Ship early public preview

Diagnostics

[ ] Filter crash and error groups by build number [#133]

Distribution

[x] CodePush support for Electron apps

General

[ ] AAD groups support in Organizations
[ ] Add a Member role to Organizations

Could you consider #30 (Xamarin.iOS entension signing)?

Are you considering supporting TestNG ?

Is there currently a way to send analytics data and crash reports to AppCenter from an Electron app?

@SVCAppCenterGit no plans at this time, though we are certainly monitoring interest on various test frameworks. Always open to feedback/ideas.

@jamelait definitely on our mind, but still have a lot to do with our current platforms. I did mess around with it a bit here.

Where can I find further information on how I can consume Push to User? I understand it is not part of the SDK yet, but cannot find any information on it at your REST API explorer either (https://openapi.appcenter.ms/).

@brimmy11 have you looked at this documentation?
https://docs.microsoft.com/en-us/appcenter/push/push-to-user

@patniko that wasn't what I was after, I was looking for a way to target a user via the REST API. I only just noticed you can toggle between "Example Value" and "Model" on the OpenAPI Explorer. Currently we target "devices" (installation id's), now I can see there is a "user_ids" type. I think I should be ok now :)

Excellent! Will close this for now, but please do let us know if you need anything else.

I currently am using Auth through Azure, but would like to transition to App Center (which I know still uses Azure).  Are there plans to support UWP and MacOS?
What about Data for UWP and MacOS?
Thanks for the great work!!

Also, Is there a place for current videos / training?

Hi @ttirrell,
Thanks for the kind words and support! We have plans to support UWP in our roadmap but there’s no exact timeline yet; we currently support iOS, Android and Xamarin, and have a work item that will be worked on this summer to support React Native. MacOS is not on our roadmap yet but our work is also based on our developer community that we serve, so if we hear feedback, we will continually reprioritize our efforts.
Re videos and training, not yet. However that is a good point and we’ll work on it.
You mentioned that you’re using Auth through Azure. Would you mind sharing what service you’re using, and your use case?

Any chance you could support "APK per ABI through Release/Distribute" for Xamarin Android any time soon? #99

We're loving AppCenter so far and we are fully on board with it for all features. However, the upcoming restrictions for distribution will drastically reduce it's value for us since we'll have to go back to manually building and deploying droid. Are there plans in the next month or two to get support for .aab support so we can keep our automated distribution pipelines in place?
I've already voted here: https://github.com/microsoft/appcenter/issues/194 but was hoping a bump on this board might also assist in planning for both of us.
From google: "By August 1, 2019, all apps that use native code must provide a 64-bit version in addition to the 32-bit version in order to publish an update. This past January, we reiterated that this is required in order to make way for innovation and in anticipation of future Android devices that only support 64-bit code."

@patniko Could you also add support for building with xamarin android 9.3?


Use WP-LESS in my plugin

It would be awesome if I could do something like...
add_action( 'wp_head', 'my_plugin_head' );

function my_plugin_head() {
  wp_enqueue_style(
    'my-plugin-foo',
    plugin_dir_url(__FILE__) . 'my-plugin-foo.less'
  );
}

.. and the WP-LESS parser would kick in, allowing me to use LESS in my internal plugins (I would add WP-LESS as a dependency to my plugin as well)
Let me know, thanks!

Is this going to update my CSS files automatically?

yes

Is it possible to build not-minified AND minified CSS files separately?

no not separately, you can modify how the lessc class does stuff though via an action

Is this event (writing the CSS files) handled by Wordpress?

yes

Does this happen when I save the theme options or it just detects changes in the variable file and re-writes the CSS files?

if the vars passed in to the filter change then it will recompile the css

Can I setup several LESS files to be handled by your script or just one?

as many as you like :) You can also use @ import

Can I combine several LESS files to create a ONE CSS file minified output?

yes

If you need any further advice reopen the issue.


Remove trailing empty line in copyright comment (part 13)

Next part of https://github.com/helidon-io/helidon/pull/5324

/trigger


guest-ssh-add-authorized-keys complains about final newline in public SSH key

Is your feature request related to a problem? Please describe:
A clear and concise description of what the problem is.
I create VirtualMachines with the following access credentials configuration:
      accessCredentials:
        - sshPublicKey:
            source:
              secret:
                secretName: ssh-public-key
            propagationMethod:
              qemuGuestAgent:
                users:
                  - ubuntu

I use the following steps to create the secret:
ssh-keygen -f id_rsa -C '' -N ''
kubectl create secret generic ssh-public-key --from-file=id_rsa.pub=id_rsa.pub

Since v1.0.0 this does not work anymore because the file has a final newline and guest-ssh-add-authorized-keys does not consider it a valid OpenSSH public key:
{
  "component": "virt-launcher",
  "kind": "",
  "level": "error",
  "msg": "Error encountered writing access credentials using guest agent",
  "name": "ubuntu-jammy",
  "namespace": "default",
  "pos": "access_credentials.go:491",
  "reason": "virError(Code=1, Domain=10, Message='internal error: unable to execute QEMU agent command 'guest-ssh-add-authorized-keys': invalid OpenSSH public key: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCtxtPEKSX4irxKGXAuzDQjffQY94A5SyxwTIdh9TwqZxaFH71vB28vXYVRpEwxQqxctYRAzMsNfhDq1fxXemHhGfd1Asa2CQlaGtWFQZ+4hl8j4Cy55JGY0wqx1pEFFTUMivVIn3U3bMzqZ03P3p38Qk5eazg/fLvB6yjvdGaj3IEs7QFYGTtaKZhhK914b+vix3ThfK7dJ12eyqawtXnEZK3YmN8zJI2Pp4TLnQu9l+TVSQNCTM6mw9NUGy3ojm5XRwEaRKmf1YSdo3ah1bTQA6XVCWM3Y7qKYaNr1pVibtJQEEpsbTT1L1rCMko0SWTshZYqrpd3HcfeWfPAAgdoMOYK8H5ICb5kSP1FwRAip2CWxF0F7xAdeLw1kbQRLq22Ft8zgeVHs1nNtzqbpOIoukx1ZnxrS+swL2O02qMUZyrMDTRmILwuAT8lqHiIjhnyJoqtb3Dvn/6tcTTJoAN+32JdvhH4EtpqDoNcOs/rMM0nhtzmCZ9ipo8pM0kC50U= \n'')",
  "timestamp": "2023-07-31T10:25:28.531880Z",
  "uid": "5dc3e452-a235-45f9-86d6-ccbe7cc20afe"
}

To get rid of the error I have to remove the final newline from the public SSH key file (for example using truncate -s -1 id_rsa.pub) before I create the Kubernetes secret.
Describe the solution you'd like:
A clear and concise description of what you want to happen.
The launcher removes the final newline from the public SSH keys before it uses guest-ssh-add-authorized-keys to add them to the VM so I do not need to maipulate the key files created by ssh-keygen.
Describe alternatives you've considered:
A clear and concise description of any alternative solutions or features you've considered.
At the moment I use truncate to remove the final newline before creating the Kubernetes secret:
truncate -s -1 id_rsa.pub

Additional context:
Add any other context or screenshots about the feature request here.
SSH version: OpenSSH_9.0p1 Ubuntu-1ubuntu8.2, OpenSSL 3.0.8 7 Feb 2023

/remove-lifecycle stale


tour: example2.go -- methods returns only integer part of hours

Context: https://tour.ardanlabs.com/tour/eng/methods/1
In example2.go, the methods setHours and hours, as they are, ignores any fractional part of hours.
I think they should be as follows:
// setHours sets the specified number of hours.
func (d *duration) setHours(h float64) {
	*d = duration(h*float64(hour))
}

// hours returns the duration as a floating point number of hours.
func (d duration) hours() float64 {
	hours := d / hour
	nsec := d % hour
	return float64(hours) + float64(nsec)*(1e-9/60/60)
}

Thank you for a wonderful resource.

Hmmm.  Wonder why the code is using float since a duration is an int64. I have no problem changing it.

I get the same answer either way. I wonder how important this is

I updated the code, it will show in patch 26


Action Policies tests

Fixes

Pull Request Test Coverage Report for Build 549092668

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.08%) to 84.732%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-dialogs/src/dialogSet.ts
1
94.44%

Totals

Change from base Build 549091919:
-0.08%

Covered Lines:
18583

Relevant Lines:
20909

💛  - Coveralls


The type or namespace name -'FluentAssertions'  missing error help

The type or namespace name 'FluentAssertions' could not be found (are you missing a using directive or an assembly reference?)

Hello there, "FluentAssertions" is a library I use for writing Unit tests in this project. You should be able to just delete the "tests" directory without breaking anything if you don't need to see how I setup unit testing. If you do want unit testing, they you can just download FluentAssertions and add the library to the Project/Packages folder. Hope that helps you get this project running!


Allow nil app in image.manifest when run with pod manifest.

Fix #1034

Will add some functional tests for this. (But I am waiting for #980 to get in first)

Works like a charm. Thanks a lot!

LGTM


Unable to download the LMDB dataset in the example

I'm trying to download the dataset mentioned here and I keep getting The zip file is too large.

@GMXela Can you upload to google drive?

Hello,
Yes i can... now, im ok for the dataset but my problem is to Built the python code to train the model...
Télécharger Outlook pour Androidhttps://aka.ms/AAb9ysg

From: Yg Zhou @.>
Sent: Wednesday, November 17, 2021 2:18:27 AM
To: clovaai/deep-text-recognition-benchmark @.>
Cc: GMXela @.>; Mention @.>
Subject: Re: [clovaai/deep-text-recognition-benchmark] Unable to download the LMDB dataset in the example (#309)
@GMXelahttps://github.com/GMXela Can you upload to google drive?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/clovaai/deep-text-recognition-benchmark/issues/309#issuecomment-971297391, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVZWMN7JGYTEFLDF6X6HEMLUMNJMHANCNFSM5FWJ2GRA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


PMID:32723864 follow up

https://github.com/pombase/fypo/issues/3985
follow on.
abolished mitotic spindle formation phase II
is a descendant of
abnormal spindle assembly during meiosis I
Annoyingly this isn't even the terms I was waiting on as it wasn't fully curated- I got mixed up. It was   https://github.com/pombase/fypo/issues/3992! that I was eager to do.

doh. (/me mutters darkly about the Protege interface)

analogous to
FYPO:0007748
| increased duration of mitotic spindle assembly
Note that  both the meiotic and the mitotic terms are the  spindle phase 1&2

phase 3, which is also part of spindle assembly/elongation is not affected.


Add Support for Secret Injection from Drone Secrets, and a couple other things

This PR allows developers to inject arbitrary secrets from their Drone Secrets into their Container. It also adds support for Docker labels, setting a Log Driver and options, allowing override of the defaults. All these new features are documented and usage shown in DOCS.md.

Closing this PR since all these chances are in the latest version.


API: expose lowest TSDB timestamp in /api/v1/status/tsdb

Add information about the lowest timestamp in the TSDB to /api/v1/status/tsdb. This feature would be useful to have in Thanos so that the Thanos Sidecar can adjust its advertised range so we can more precisely prune endpoints during fan-out.
Structure of API and UI are more or less just suggestions and what came to mind, but is this feature agreeable in general?

looks akward but works somewhat:

@MichaHoffmann Heya, I just merged the new Prometheus UI in https://github.com/prometheus/prometheus/pull/14872, so UI changes should (also, or at least) be made in web/ui/mantine-ui from now on. You can see the corresponding file there: https://github.com/prometheus/prometheus/blob/main/web/ui/mantine-ui/src/pages/TSDBStatusPage.tsx
Regarding the API change itself, I'd just like to hear from TSDB people like @jesusvazquez or @codesome whether they think that's the best approach (or whether e.g. reporting stats for each chunk or something like that would be preferable).

@MichaHoffmann Heya, I just merged the new Prometheus UI in #14872, so UI changes should (also, or at least) be made in web/ui/mantine-ui from now on. You can see the corresponding file there: https://github.com/prometheus/prometheus/blob/main/web/ui/mantine-ui/src/pages/TSDBStatusPage.tsx
Regarding the API change itself, I'd just like to hear from TSDB people like @jesusvazquez or @codesome whether they think that's the best approach (or whether e.g. reporting stats for each chunk or something like that would be preferable).

Thank you for taking a look! Ill update the UI properly once he have settled on an API to expose this!

Why don't you get the data from /metrics ?

Why don't you get the data from /metrics ?

Yeah @SuperQ suggested that on slack too and it's a workable solution too I think. I just had this written already and wondered if it would be desirable in this API too.

To repeat my previous comment, it seems unnecessarily complicated to have Prometheus scan a bunch of metrics in order to report a number on /status/tsdb which you could have read yourself from /metrics.
This Pr could be more useful to humans. What about including the disk space, or the number of blocks?

Yeah it is a bit awkward, reading metrifs it would work perfectly fine for my use case. Should I close the PR?

Hello from the bug scrub. Closing based on the discussion about complexity and because the UI has changed. Please feel free to open a new PR or reopen this one if you have updates.


Updated the organisation filter to remove duplicates.

Removed duplicate organisation refs from the organisation array filter under the following helper files:
Search
Region
Sector
Country

Coverage increased (+0.03%) to 19.184% when pulling deb4c7e7e115aa91542a8d93ed36ffe23974974a on bug-fix-remove-duplicate-org-filter into ea4876e403544284229a42929af74b0aedaeb8ec on master.


📊 Add GBD dataset on Mental disorders prevalence rates

I am adding a subset of the IHME GBD 2019 dataset.
This is a temporary fix, as importing all IHME datasets is quite complex.
Having this dataset live is crucial to be able to update ~20 charts which are currently showing wrong values. For more context, read this thread starting from the linked comment.

Thanks!


Restore animated drop-down with no collisions

Fixes #299.
Use the left and top properties of the drop-down div to avoid clobbering the initial translate offset on Android. Also has the benefit that we no longer have to store the initial X and Y positions (as those are stored in left and top...

And the benefit that we don't have to keep changing the transition style.

I like your explanation - mostly stolen with a couple of adjustments


Wav2Vec2.0: Where is the dict file for XLSR53?

I can't seem to find any answers after searching. For normal models, we have to indicate the dictionary file like this: https://github.com/pytorch/fairseq/issues/3155
However, I couldn't find the dict file for XLSR53 model. Or how do I create 1?
Thanks!

the released xlsr model is not fine-tuned on anything, so there is no dictionary. you would create your own for whatever dataset you are finetuning on. you can create it by copying existing dicts and modifying them or, for example, running preprocess.py as in language modeling examples and then taking that dict (possibly renaming it)


Discussion: Using NextJs routes over Supabase edge functions for Stripe webhooks.

Discussion
Both NextJs and Supabase have serverless functions that allow you to catch Stripe webhooks and sync Supabase with your products, prices and subscriptions.
But why specifically does this template use NextJs routes? It may purely be because this is a NextJs repo and it's good to see examples built using the technology and nothing deeper than that.
However I have put together a pros and cons list for using Supabase instead and would love to know everyones thoughts.
PROS and CONS for moving Stripe webhook functions to Supabase.

PRO Reduced complexity: It's 2 steps (Stripe  ➝ Supabase) vs 3 steps (Stripe ➝ Vercel ➝ Supabase)
PRO Faster and more reliable: Supabase provides direct access to the database, eliminating an extra step in the chain compared to Vercel.
PRO More secure: By reducing the number of providers from two to one, Supabase minimizes the attack surface area, making it a more secure option.
CON more expensive: While Vercel offers unlimited serverless functions, it is unlikely that the Supabase limits will ever be exceeded, making the cost difference less significant.
PRO Better documentation and guides: Supabase provides comprehensive documentation and guides, particularly regarding integration with Stripe, offering a more user-friendly experience for developers.
CON more work: Everything is already setup and working out of the box and rewriting everything again may be a complete waste of time.

These are the main points I can think of based off my research, but please correct me if I'm wrong and add to it!
Thanks

For your points 1 through 3, supabase edge functions don’t have direct access to the database, you have to connect to them using supabase js. They are essentially Deno edge functions. So, it doesn’t matter vercel or supabase functions.
For your point 4, vercel doesn’t have unlimited serverless functions. It might actually be cheaper to run Supabase edge functions for this purpose.
For point 5, check out Supabase wrappers.

Okay so all my points were misconceptions... That was exactly the clarification and correction I was looking for, so thanks! 🙏


weird error occurs when run evaluate_ws.py

sorry for bothering u, when i try to run evaluate_ws.py ,the error occurs and i try many ways, i failed.
Is the version of library babel?or anything else,thx

same question

same question

I do not know the reason but I solved this issue by right before the line 332 in babel\numbers.py add locale = Locale('en','US')

what's the solution ?

right before the line 332 in babel\numbers.py add locale = Locale('en','US')


fix(app): simplify discovery state to avoid stale IPs and health data

Overview
This PR switches the app to a newer implementation of the Discovery Client with improved state management to:

Avoid displaying stale health data to the user (See #5981)
Prevent weird phantom robots from showing up with mDNS FQDNs (See #5984)
Avoid the buggy attempt to gather real-time mDNS advertisement status (See #5985)
Clear out unreachable IP addresses for a given robot when we have an address that is currently working (See #5250)

Closes #5985, closes #5250
Changelog

fix(app): simplify discovery state to avoid stale health data

The new discovery client state has given the app increased visibility into how the robot is failing to respond
Connectivity error messages can now differentiate between error responses from the robot (e.g. 502) and fetch failures (e.g. EHOSTDOWN)

refactor(discovery-client): remove large chunks of now-unused code

Review requests
summary of changes
This PR boils down to 3 fundamental changes:

Removing the old Discovery Client from discovery-client
Updating app-shell/src/discovery.js to use the new Discovery Client's API
Updating app/src/discovery to use the new shape of robots returned by the new DC

Updating consumers of this state involves touching a lot of files in the app

old state

Discovery Client sends an Array<Service> to the app, where:

There's a one-to-one relationship between IP addresses and Services, if the IP is known
There's a one-to-many relationship between a robot name and its Services, because a robot may have multiple IP addresses

export type LegacyService = {
  // robot name
  name: string,
  // ip address this entry tracks, if known
  ip: ?string,
  port: number,
  // IP address (if known) is a link-local address
  local: ?boolean,
  // GET /health response.ok === true
  ok: ?boolean,
  // GET /server/update/health response.ok === true
  serverOk: ?boolean,
  // is advertising on MDNS
  advertising: ?boolean,
  // last good /health response
  health: ?HealthResponse,
  // last good /server/update/health response
  serverHealth: ?ServerHealthResponse,
  ...
}

This state shape ended combining too many concerns and we ended up losing information that led to stale data bugs.
new state

Discovery Client sends a Array<DiscoveryClientRobot>, where:

There is a one-to-one relationship between robot name and DiscoveryClientRobot
A DiscoveryClientRobot contains a list of IP addresses and each IP's current health status

The app's discovery selectors take the head of the addresses array (which is the address the DC thinks is most connectable) and merges it into the object returned by the selector

All machinery that expects a robot to have an IP and port still works
Checks to Service.ok can be replaced with DiscoveryClientRobot.healthStatus === HEALTH_STATUS_OK

type DiscoveryClientRobot = {|
  /** unique name of the robot */
  name: string,
  /** latest /health response data from the robot */
  health: HealthResponse | null,
  /** latest /server/update/health response data from the robot */
  serverHealth: ServerHealthResponse | null,
  /** IP addresses and health state, ranked by connectability (descending) */
  addresses: $ReadOnlyArray<DiscoveryClientRobotAddress>,
|}

type DiscoveryClientRobotAddress = {|
  /** IP address */
  ip: string,
  /** Port */
  port: number,
  /** Whether this IP has been seen via mDNS or HTTP while the client has been running */
  seen: boolean,
  /** How the last GET /health responded (null if no response yet) */
  healthStatus: HealthStatus | null,
  /** How the last GET /server/update/health responded (null if no response yet) */
  serverHealthStatus: HealthStatus | null,
  /** Error status and response from /health if last request was not 200 */
  healthError: HealthErrorResponse | null,
  /** Error status and response from /server/update/health if last request was not 200 */
  serverHealthError: HealthErrorResponse | null,
|}

type HealthStatus =
  | HEALTH_STATUS_UNREACHABLE
  | HEALTH_STATUS_NOT_OK
  | HEALTH_STATUS_OK

testing
A fair amount of smoke testing is important for this PR. It's the culmination of a lot of work and we've got a lot of fun edge cases that our discovery system interacts with:
The following checklist is a grab bag of things that need to keep working that this switchover touches. See this Discovery Client test plan for a set of instructions on how to test each of these items

[ ] Robots on the network continue to show up
[ ] App correctly identifies link-local vs non-link-local robots (via the USB icon in the list)
[ ] Correct error message is displayed if robot server is down but update server is up

"Your robot's API server is not responding..."

[ ] Correct error message is displayed if both servers are down but robot was recently seen

"This OT-2 has been seen recently, but is not responding..."

[ ] All the HTTP client stuff (that used discovery state to find the IP address of a robot to hit by robot name) still works
[ ] Robot updates still work
[ ] Balena migrations + updates still work
[ ] Robot restarting spinner(s) still work
[ ] "Lost Connection" alert still shows if RPC WebSocket becomes disconnected

Important to note: This PR changes the format of the app's discovery.json cache file. If you run this PR, it will migrate your file to the new format. If you then open the app on an older version, it will appear as though your cache has been cleared because of the migration. Everything should, however, continue to function.
Risk assessment
Medium. The app's discovery system is a critical piece of connectivity. The following steps were taken to mitigate risk:

Requesting QA oversight + testing for this PR
Made sure there is high unit test coverage
Wired new discovery client to CLI first for E2E testing (see #6162)
Tested with Wi-Fi and U2E robots / bare RPis with various server states

I have a strong suspicion that additional changes to the ap's fetch usage will need to be made to support the pre-3.3.0 IPv6 robots due to the fact that the discovery client no longer adds square-brackets to IPv6 addresses

After testing on various Balena robots (both pre-3.3 and post-3.3) I pushed the following changes to fix observed issues:

IP address ranking was wrong for IPv6 link-local addresses, causing pre-3.3 robots (with the fd00:0:cafe:fefe::1 address) to always prefer Wi-Fi over U2E

Pushed a fix + tests to rank IPv6LL lower than IPv4LL but higher than non-LL addresses

Health endpoint responses were latched to the first received value rather than the latest received value

Pretty classic "put the variables in the wrong order" bug that manifested in (among other things) a broken Balena > Buildroot migration process
Push a fix + test to ensure the health responses saved to state are always the latest values


Is it possible to trigger an error on successfully opened connection?

I want to test behavior when connection was successfully established and then networking error has happened. Such as disconnection during data transmission.

There is no way to do this using nock at the moment. However, it is a trivial service to implement, e.g.
// @flow

import http from 'http';
import stoppable from 'stoppable';
import {
  promisify
} from 'bluebird';
import type {
  RequestHandlerType
} from '../../src/types';

export default async (responseBody: string | Buffer | RequestHandlerType): Promise<*> => {
  const router = (req, res) => {
    if (typeof responseBody === 'function') {
      responseBody(req, res);
    } else if (responseBody) {
      res.end(responseBody);
    }
  };

  const server = stoppable(http.createServer(router));

  const stop = () => {
    return promisify(server.stop.bind(server))();
  };

  return new Promise((resolve, reject) => {
    server.once('error', reject);

    // eslint-disable-next-line no-undefined
    server.listen(0, undefined, undefined, () => {
      const port = server.address().port;
      const url = 'http://localhost:' + port;

      resolve({
        stop,
        url
      });
    });
  });
};

Just stop the server amid the request to simulate the disconnection.

@ierceg Can this be flagged as a feature request?

@gajus Sure. This would also be useful for mocking streaming protocols.

The issue remains relevant.

Thanks, @gajus.

Could this currently be done by listening to the socket event on the request then emitting an error on the request? (and/or abort the request?)


Update list imputs

Allows CreateTextList and CreateCircleTextList to have inputs entered using the enter key.
So that you don't have to click the ➕ to add the item to the list

also made it recapture focus after the user hits enter

"imputs"


Use translations instead of hard-coded texts

Replaces hard-coded strings with calls to the translation API.
Thanks @denniskigen for building the foundation here!

Replaces hard-coded strings with calls to the translation API.
Thanks @denniskigen for building the foundation here!

Thank you both @FlorianRappl @manuelroemer!


feat: add dependabot to the project

Hi there,
I really like the project, and i was wondering if we can add dependabot to it, to be always up to date regarding deps.
I set it to 5 max PRs and also on weekly only.
Let me know if you want to adjust those params, thanks.

Seems reasonable to me. @LaurentMazare wdyt ?

For the dependabot we can try and we'll remove it if it's a pain (I'm more on the side on keeping the dependencies frozen for a longer time rather than changing them too often).
I'm not sure why the explicit caret have been added to the requirements but to my knowledge it's the default in cargo so I would be in favor of reverting that part of the change unless there is a good reason for it.

am okay to with the idea on keeping things frozen, let's remove the caret for now


Add ujjwalshriv3 as a contributor for review

i have only one option to raising my PR because bot is not raise my PR automatically So plz check this out and merge my PR @sanjay-kv @dinxsh my issue is given below 👇

i have only one option to raising my PR because bot is not raise my PR automatically So plz check this out and merge my PR @sanjay-kv @dinxsh my issue is given below 👇

will check @ujjwalshriv3


Citing this package

I used this in my research. How would you like me to cite it?

I'd be happy to PR a Citation.cff file, if needed. https://citation-file-format.github.io/cff-initializer-javascript/#/

Richard, sincere apologies for not replying sooner, I only saw this now. I added a citation file, using https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md as a reference. The bumpversion configuration also needed to updated to add the new file also. Let me know if this has everything you need.

No worries! Sounds good. Thanks for adding that. All set, happy to cite this.


New Feature: Communication between professionals

Expected behavior:
When we edit a patient, show a tab communication or professionals like labs, medication and others, where can comunicate to another professional by chat, mail or call/videocall, or maybe group chat room too
That can make a diference when patient's care mathers.
Actual behavior:
None
Steps to reproduce:
None
Screenshots (if applicable):
None
OS and Browser:

I have working on this features.
This is my idea:

When you select a patient from patients list, a communication tab is showed, selecting it you can see what professional are involved with this patient and communicate directly

@epolicardo Should I continue from this point?

@ZiruZanrgeiff You can continue from this point. You can check my github repo to take advantage of my progress...

@epolicardo this is an interesting idea. I look forward to reviewing the PR.

This would be a great feature. The epr I use just now has a task function where you can communicate with other users of the system within a patient's record. I'm sure it's quite a lot of work though.


Add additional unit test for Friendly Date Ranges.

makeFriendlyDates(["2018-07-01", "2018-07-04"]);
My solution, which I fixed for this test, originally returned ["July 1st", "4th"], and passed all tests. I doubt that you want these dates formatted without a year when they occur in future years.

I don't think there needs to be any changes. The purpose of the challenge is just to put the date ranges in a friendlier/more readable format. If you were to account for current date, the answer would change per day. Maybe on a production system, you may want to check for that. Your code works and even the example you've given follows what was asked for:

If the range ends in the same month that it begins, do not display the ending year or month.

Thanks for the issue but I'm closing the issue as it is not a bug on the site. Happy coding!

Actually, it does not fulfill that line you quoted. It specifies ending year an month. It does not say to omit the starting year. No matter, just thought I would point that out.


[OpenAPI] Add securitySchemes

🚀 Feature Proposal
The OpenAPI documents are missing securitySchemes and security declarations.
They could perhaps be added similarly to the info in https://github.com/elastic/elasticsearch-specification/blob/main/compiler/src/steps/add-info.ts
NOTE: I believe that you could have the same list of securitySchemes for both documents, but the security list for the serverless document would not include basicAuth.
Motivation
Relates to https://github.com/elastic/docs-content/issues/192
Example
In the Kibana openAPI document, it looks like this:
security:
  - apiKeyAuth: []
  - basicAuth: []

...

  securitySchemes:
    apiKeyAuth:
      description: |
        These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`
      in: header
      name: Authorization
      type: apiKey
    basicAuth:
      scheme: basic
      type: http

As a work-around I've created https://github.com/elastic/elasticsearch-specification/pull/3198


Added dewpoint getter to WundergroundClient

Hi Squix78,
a friend of mine (@Taquma) asked for the already by W.Underground provided dewpoint information also to be available in your nice library. He is using it for his third version of CavAir ...
I would be pleased you to review and hopefully accept this pull request ;)
Yours count023

Hi Squix78,
you still did not respond. I still hope you to accept my little change. If there are any reasons, this change may not be acceptable, please don't hesitate to tell me.
Quite sure, you are very busy, but it really would be helpful for CavAir...
Thanks in advance, Yours
count023

Hi Count023
Sorry that I didn't integrate your change yet, after maintaining the upstream OLED library I totally forgot to check pull requests on this library...
I will do this now. Thanks a lot for your contribution!

Hi Squix78,
thanks for adding ... ;)
Yours,
count023


inclavared: support to generate default rpm changelog

Signed-off-by: Zhou Liang<EMAIL_ADDRESS>

Will be merged after merging the fix for #1058.

Please the fix line in commit header. Refer to https://github.com/alibaba/inclavare-containers/blob/master/CONTRIBUTING.md#commit-message


[WIP] Add support for rendering frame diagnostics.

This PR resolves #30 and will contain the following steps:

[X] Create a metrics level enum to determine what metrics to record and/or output.
[ ] Overhaul the DebugService to record metrics it needs to.
[ ] Implement new overhaul in NovelRunner's update logic.
[ ] Output the DebugService's metrics to the main window.

Feel free to suggest metrics it should be able to record below. For now, I'll start simple with framerate, hardware usage and rendering statistics. I might include sound cache too.
Another thing that could be good to add is outputting metrics to a log file.

 All committers have signed the CLA.

PR abandoned. Closing.


add search.geoconnex.us

adds search.geoconnex.us as an embed so we can do full text search as another playground option
best to have as much as possible in this docs site so it is easier to manage and discover for new users.
WIP since visual styling is bad

@webb-ben I got the search website working. However, I think this looks pretty bad as an embed since it isn't themed properly and has its own navbar.
I think this should probably not be merged until I move all the JS as a component inside the docs website instead of using an iframe that, in my opinion is always going to have theming issues


[Manual] - Incorrect list of actions for user in offline mode

Commit number: d6c3226b855da038d105e33ba6c249d222417e31
Preconditions: test user is signed in
Steps to reproduce:

Set the application to offline mode
Open "Search" screen
Open "People" tab and enter search criterion that has cached search results
Open profile for an user from the search results (the profile has not been opened in on-line)
Open list with actions (in the top right corner of the screen) for the user on the "Profile" screen

Actual Result: The list with actions contains "Add post" and "New follow requests" items
Expected Result: The list with actions contains "Block user" and "Report user" items because this profile is  not profile of the account owner

Verified on build from commit number 0e8e7126865d5ac106e04482326f059a9af96579


Set up OOP school library: add Person, Student and Teacher classes

In this milestone, I have completed the following requirements:
Project requirements

Create class Person with  the following:

Instance vars: @id, @name, and @age.
Constructor with name,  age, and parent_permission as parameter. name and parent_permission are optional and have default values of "Unknown" and true.
Getters for @id, @name, and @age.
Setters for @name and @age.
Private method of_age? that returns true if @age is greater or equal to 18 and false otherwise.
Public method can_use_services? that returns true if person is of age or if they have permission from parents.

Create class Student with the following:

Inherits from Person.
Constructor extends parent's constructor by adding @classroom and a parameter for it.
Method play_hooky that returns "¯\(ツ)/¯".

Create class Teacher with the following:

Inherits from Person.
Constructor extends parent's constructor by adding @specialization and a parameter for it.
Override can_use_services? so it always returns true.

Each class should be saved in a separate file.

@frank1738 Thanks for the approval and highlighted.


lru_cache for imports

What does this PR do?
wrap imports check with cache
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

The assumption here was that module_available already has the lru_cache. Why doesn't it anymore? It seems very odd

good point :)


Ensure getPrototypeOf will not crash on plugin options with no scopes

Resolves #9368

No, I haven't tried that. That looks like a better solution, so I'll explore it

No, I haven't tried that. That looks like a better solution, so I'll explore it

Did you forget this, or just busy? :)

Totally forgot! Will try and get to this today

@etimberg Hey was this fix reverted, It doesn't seem to exist in the project, and I cant find the commit in the commit history for src/helpers/helpers.config.js
I get the same issue this fix addressed while using chart.js in AlpineJs.


FailedToLoadSymbol("GetProcAddress failed") with Windows driver v536.99

I just upgraded nvidia windows drivers to "NVIDIA Studio Driver version 536.99" and I now get FailedToLoadSymbol("GetProcAddress failed") error when trying to initialize the library. I suspect this is due to the bindings being out of sync or something?
Is it possible to self re-generate/re-build the project to get compatibility with latest drivers? I've tried to find the source of nvml.h but haven't managed to track it down.

Yeah, I've never tried this with the studio driver personally, so I'm not sure what would be going on there.
If you're hitting FailedToLoadSymbol("GetProcAddress failed") when trying to initialize, that's likely coming from our attempt to call nvmlInit_v2 in Nvml::init_internal:
https://github.com/Cldfire/nvml-wrapper/blob/1d71e81a23146759269b22e57c103f9f0b49d479/nvml-wrapper/src/lib.rs#L239
If you can confirm that's the source of the error, it's unlikely newer generated bindings will fix this (although you're welcome to try, I just committed #50 into main). nvmlInit_v2 has existed for years, here's a commit from 2020:
https://github.com/Cldfire/nvml-wrapper/blob/516c6da6c69b2ae060753b9240e22f030059c242/nvml-wrapper-sys/nvml.h#L100

Is it possible to self re-generate/re-build the project to get compatibility with latest drivers? I've tried to find the source of nvml.h but haven't managed to track it down.

Yes, you could try that as well. I get nvml.h from the CUDA toolkit download: https://developer.nvidia.com/cuda-downloads. After installation I copy C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.2\include\nvml.h to nvml-wrapper-sys\nvml.h, and then you can run nvml-wrapper-sys\gen_bindings.sh to regenerate bindings (on Windows I run that script through WSL2).

Ahhh - it must have been the studio driver. Since updated/changed to the normal 'game ready' drivers and it's working all fine now. It didn't quite occur to me that could be the issue.
Reverting from the Studio drivers to the Game Ready drivers fixed the issue. Thanks!


Add sudo for mkfs.ext4

Since mkfs.ext4 is in /sbin/ and this directory is usually not in the PATH of a normal user, this command fails.
I've tried this on Debian Wheezy/Jessie and on Ubuntu Trusty

I signed it!

sorry, i've sent the Pr with the wrong user. I'll do it again with the right one. closing this PR


This package is needed for the WebSocket example to work properly.

Without this package, it seems the code samples don't work. The browser reports the following errors:
GET http://localhost:8000/node_modules/reflect-metadata/Reflect.js
localhost/:10 GET http://localhost:8000/node_modules/reflect-metadata/Reflect.js 404 (Not Found)
(index):15 Error: (SystemJS) reflect-metadata shim is required when using class decorators
Error loading http://localhost:8000/app/websocket-observable-service-subscriber.ts

Two months ago this sample worked fine without Reflect.js, but I'll test it again. Thanks.

@yfain To be clear, this is when you use websocket-observable-service-subscriber as the starting point.


Private endpoints took some digging to get working

Having some frustration regarding the documentation, as I've’ve followed these 2 articles and ended up with a scenario that was not 100% functional.
https://learn.microsoft.com/en-us/azure/storage/files/storage-files-configure-p2s-vpn-windows
https://learn.microsoft.com/en-us/azure/storage/files/storage-files-networking-endpoints?tabs=azure-portal
Requesting changes to the previous documents to highlight the required DNS entries that should be executed when dealing with private endpoints.
https://learn.microsoft.com/en-us/azure/storage/common/storage-private-endpoints#connecting-to-a-private-endpoint
https://learn.microsoft.com/en-us/azure/storage/files/storage-files-networking-dns

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 87a52dac-048f-2a4d-b857-cb91b9534cf5
Version Independent ID: a1e64a4a-dcfb-eac3-4851-366dd8893428
Content: Configuring Azure Files network endpoints
Content Source: articles/storage/files/storage-files-networking-endpoints.md
Service: storage
Sub-service: files
GitHub Login: @khdownie
Microsoft Alias: kendownie

Duplicate of #99784


Update v_find_dropuser_objs.sql

updated view to filter out temp tables. temp table ownership cannot be changed.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Add table_id column to v_generate_tbl_ddl view