Remove ClientOnly wrapper around the homepage search type switcher

Problem

The homepage search type switcher popover only renders client side currently.
Description

There was some obscure error that prevented it from rendering server side (if I recall correctly) so we wrapped it in ClientOnly (originally there was some onMounted + ref logic that duplicated ClientOnly). We should figure out what is causing the error and remove the wrapper.
Implementation

[ ] 🙋 I would be interested in implementing this feature.

Fixed in #1934.


Change the default font

This is a nitpick, but a powerful one. On very close inspection, Lato is not a powerful default business font, like Arial and Helvetica, which are simple and look very good with well-defined strokes. I'm having to customize the default Semantic build for simply this reason. I think it would be best for the default Semantic build to stick with these fonts.
Just my 2 cents.

I respectfully disagree, but I appreciate your feedback. Lato is used by Slack and i would consider at a strong default for nouveau-business style.


How to use with Luxon, toJSDate() doesn't work?

Are there any guidelines about how to use this library with Luxon? Luxon is by the same authors of Moment.js, so I believe there shouldn't be a huge difference but I couldn't make it work.
I believe the only way now would be to use JS dates, but even with that it doesn't work:
I'm trying to use DateInput with
value={DateTime.local().toJSDate()}

And simply it doesn't work, as it says:
Failed prop type: Invalid prop `value` of type `date` supplied to `DateInput`, expected `string`.

This is exactly the route I was trying before, but the problem is that string conversion is locale dependent. For example, on 1st of April, the calendar component is initialised to 04/01/2019 and then I click on it, and it displays 4th of January.
The only unambiguous string format is ISO date format, that is YYYY-MM-DD, but I don't see any reference in this project's code or documentation about this. It'd be nice to know that ISO format can be used as a "reference" string format and this widget is compatible with it both in input and output, all across different locale settings.
If ISO format input and output cannot be guaranteed, then it'd be important to solve this bug related to input from Luxon's .toJSDate() method, as it really should work if JS dates are supported.

I just noticed that value prop is not documented in readme. I should fix this.
Its value is a string (the output of moment.format() method). Inside the calendar value is parsed using moment library. Like this moment('01-05-2015', 'DD-MM-YYYY'). You should provide a value that corresponds to dateFormat. If it doesn't, you will get invalid date in the calendar or error.

Here is the function that is used for parsing value prop https://github.com/arfedulov/semantic-ui-calendar-react/blob/5bcff7ede96bc2e74ebbd868a5500a02ed164e93/src/inputs/parse.ts#L23
And here are default props for DateInput https://github.com/arfedulov/semantic-ui-calendar-react/blob/5bcff7ede96bc2e74ebbd868a5500a02ed164e93/src/inputs/DateInput.tsx#L99
Here you can see possible date formatting tokens https://momentjs.com/docs/#/parsing/string-format/
There is of course a better way to handle parsing, but this is what we have currently.


cmd/dist: timeout in test phase.

What version of Go are you using (go version)?
go version devel +f3d5478 Fri Jun 17 19:15:29 2016 +0000 windows/386

What operating system and processor architecture are you using (go env)?
set GOARCH=386
set GOBIN=C:\Go\bin
set GOEXE=.exe
set GOHOSTARCH=386
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=c:\gopath
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_386
set CC=gcc
set GOGCCFLAGS=-m32 -fmessage-length=0
set CXX=g++
set CGO_ENABLED=0

What did you do?

git clone https://github.com/golang/go.git
cd go\src
all

What did you expect to see?
A clean build & test.

What did you see instead?
...
ok      cmd/compile/internal/test       0.360s
ok      cmd/cover       14.877s
ok      cmd/doc 0.614s
ok      cmd/fix 0.372s
panic: test timed out after 6m0s

I tried twice:
firsttry.txt
secondtry.txt
The computer is an old and slow netbook:

Please note I have set CGO_ENABLED  to zero, to avoid C compiler installation issues.

I'm sorry but I don't think there is much we can do here.
I'm going to close this issue as I don't think there is an issue that can be addressed here.

I was not aware of GO_TEST_TIMEOUT_SCALE. I changed it, as you suggested and now everything goes fine. Thanks, Dave.

That's exactly the same situation. Thanks, Mikio.
On 6/19/16, Mikio Hara<EMAIL_ADDRESS>wrote:

Just FYI: #10314

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/golang/go/issues/16106#issuecomment-227037861


CDS 3.34.3 introduces changes to handling of CSV load files

Faster generation of hdbtabledata files from csv data. It no longer tries to check the existence of element or column names. Such checks are anyways done during SAP HANA deployment. This behavior is now symmetrical to SQLite deployment.
-- I just found out the hard way that this means that if you have extra columns in your CSV it doesn't ignore them any longer but sends them to HANA which then errors out.  If anyone has CAP examples watch out for this recent change.

Remove extra columns from CSV files.


Manipulate time in UNIX timestamp format

My timeFormatter function is giving me time in client's timezone format due to casting timestamp using moment.unix(crosshairTimestamp)
Is there any posibility to cast time displayed in timeline to client's timezone?

Is there any posibility to cast time displayed in timeline to client's timezone?

You can try to manipulate with times you provide and add the TZ offset to them. So, instead of timestamp you need to provide timestamp + tzOffset as time for the item. In this case you don't need to provide timeFormatter to format in client's timezone because we'll do it.

But please make sure that you've added a correct offset for every time value (it might be changed along the time goes in case of DST for instance).

@dekaj96 @timocov what do you use to provide the offset?<PHONE_NUMBER>+10H ?

when I try the timestamp +10H it throws an error asking for the normal date format. Is it possible to still pass the unix timestamp?

@deantheiceman you need to convert 10H to seconds first<PHONE_NUMBER> + 10 * 60 * 60), did you do it?

I'm going to close the issue. If you'll have any question or updates - feel free to re-open it.


Validate button for the Base URL doesn't seem to work

It seems to accept any value given to it so it's possible to input a Base URL that doesn't work for video playback.

good point!

Hmm this seems to work for me. I run it on diynas:86 and if i put this in, it gets validated...
So at least for me the button works

t


ExcelPainter needs to identify and modify data == +/-inf

xlsxwriter lib cannot write numpy.inf/ -numpy.inf, so data of this type should be converted to string '-'.
In pain_box code to identify nan should also identify inf...
        # Check data for nan/ inf and replace with '-'
        if not isinstance(data, (str, unicode)):
            if np.isnan(data):
                data = '-'
# to...
        # Check data for nan/ inf and replace with '-'
        if not isinstance(data, (str, unicode)):
            if np.isnan(data) or np.isinf(data):
                data = '-'

This was incidentally fixed in the recent beta branch (#290).


New hishtory version give random letters on new line after command

I didn't have this problem before, but after updating hishtory after every command I do, there are random letters and signs. I don't remember what version was still good - maybe 309.
If I comment out blesh from bash config file, everything is good, but if I enable blesh again a got this every time:

In fish, even if config file is empty and I add only hishtory to it, it gives the same problems:

If I just enter without command, nothing bad happens. I tried Alacritty and Wezterm as terminals and its the same effect in both of them.

Interesting... I tried to reproduce this and am unable to reproduce this. Those look like sort of terminal escape codes related to colors. Can you share:

What OS you're using?
What shell versions you're using?
The value of the TERM environment variable?

If you're willing, you could also try to figure out exactly which version caused this issue by using HISHTORY_FORCE_CLIENT_VERSION to bisect the breakage. For example, HISHTORY_FORCE_CLIENT_VERSION=v0.309 hishtory update to roll back to version 309.

Ups, sorry, I forgot about it.

Arch Linux
GNU bash, version 5.2.37(1)-release (x86_64-pc-linux-gnu)
blesh-git 0.4.0_devel4.r2203.32f290df-1 (from AUR)
fish, version 3.7.1
TERM for Alacritty: alacritty
TERMfor Wezterm:xterm-256color`
TERMfor Foot:foot`

I toyed with different version of hishtory and last one that doesn't vomit escape codes is 304. From 305 there is escape codes nightmare for bash with blesh-git and even clear fish in every mentioned above terminals.
PS. This force client command is really handy, thanks.


Boots to black screen on 5.1.0

not sure what all versions work but LaiNES 1.0 worked fine but after updating I get a black screen

The release note for latest version 1.4.0 states that you need to put the "res" folder in the root of your SD card or it will crash.
"IMPORTANT: place the res folder on the root of your sdcard or it'll crash. Will fix paths in a patch asap"

Ah sorry missed that in the log


HELP ME I'M ON LINUX AND IT'S NOT  WORKING

When i try and install
charles@Charles-PC ~/BetterDiscordApp/Installers/Electron $ sudo ./node_modules/.bin/electron ./src
/home/charles/BetterDiscordApp/Installers/Electron/node_modules/electron/dist/electron[15363]: ../../vendor/node/src/async-wrap.cc:357:void node::SetupHooks(const FunctionCallbackInfov8::Value &): Assertion `env->async_hooks_init_function().IsEmpty()' failed.
1: node::Abort() [/home/charles/BetterDiscordApp/Installers/Electron/node_modules/electron/dist/libnode.so]
2: 0x7f1e51ef3384 [/home/charles/BetterDiscordApp/Installers/Electron/node_modules/electron/dist/libnode.so]
3: 0x7f1e51edd705 [/home/charles/BetterDiscordApp/Installers/Electron/node_modules/electron/dist/libnode.so]
4: 0x7f1e51a3147a [/home/charles/BetterDiscordApp/Installers/Electron/node_modules/electron/dist/libnode.so]
5: 0x7f1e51951b3c [/home/charles/BetterDiscordApp/Installers/Electron/node_modules/electron/dist/libnode.so]
6: 0x7f1e51951234 [/home/charles/BetterDiscordApp/Installers/Electron/node_modules/electron/dist/libnode.so]
7: 0x79cf48463d
I was following this how to: https://www.youtube.com/watch?v=h1R2NTX-6C8

use this https://gist.github.com/ObserverOfTime/d7e60eb9aa7fe837545c8cb77cf31172

this happens
charles@Charles-PC ~ $ sudo betterdiscordctl install -s /usr/share/discord
[sudo] password for charles:
ERROR: Discord installation not found.
charles@Charles-PC ~ $


View options for component fields.

Problem.
As of now there is no defined way to determine the preferred formatting of Signals e.g., when displayed in a tooltip, or by the popup hover.
Potential solution.
We could define an enum:
enum SignalFmt {
  Unsigned(u8), // u8 {1,2,4}
  Signed(u8), // u8 {1,2,4}
  Hex(u8), // u8 {1,2,4}
  Bool, // treats it as true/false
  Binary(Vec<(u8), Id)>) // u8 is the number of bits for each field, where Id is a string for the field name
}

Then we can implement a helper that takes a Signal, and a SignalFmt and formats the signal accordingly.
Maybe the Binary is a bit OTT, and would likely take a lot of space, and would not align well in a table with the other formats, which are all compact.
In the model we associate each output to a SignalFmt.
Alternatively instead of the u8, we can have it structured:
enum SignalSize {
  B, // byte
  H, // halfword
  W, // word
  D, // double word
}

But that sort of restricts to 32 bit architectures (though D could be used to express 64 bits, but signal is currently fixed to 32 bits in any case ...).
Another potential structure is to go with:
enum SignalFmt {
  U8,
  U16,
  U32,
  I8,
  I16,
  I32,
  HexU8,
  HexU16,
  HexU32,
  Bool, // treats it as true/false
  Binary(u8) // just to set a limit to the number of bits
}

Signals that have very specific implementation, like the register numbers 0..31 in MIPS will require side stepping this formatting, so its up to the component to use this extra info or not (when creating the popup/tooltip and internal View).
Any thoughts on this. We can discuss here in the issue and/or on discord.

Personally I think the last one is pretty straightforward and intuitive.


Backport #89 for 1.0

See https://github.com/go-gitea/docs/pull/89#issuecomment-278553000 for justification for filing this on the release/v1.0 branch.

LGTM

LGTM


android okhttp3 or okhttp2 has a 403 Forbidden question

I use okhttp3 and okhtt2 and Retrofit2 found they have a 403 Forbidden question to http://c.m.163.com/nc/video/list/V9LG4B3A0/n/0-10.html/ or http://c.m.163.com/nc/video/list/V9LG4CHOR/n/0-10.html/. but Apache HttpClient and HttpURLConnection and Browser is ok,can to get datas.
My okhttp3 of code is:
public String doGet(String url) {         Request request = new Request.Builder().url(url).build();         try {             Response response = mHttpClient.newCall(request).execute();             if (response.isSuccessful())                 return response.body().string();             else                 LogCatUtils.log("【OkHttp3Util # doGet】response code is " + response.code() + " , message is " + response.message());         } catch (IOException e) {             e.printStackTrace();             LogCatUtils.log("【OkHttp3Util # doGet】has a IOException , message is " + e.getMessage());         }         return null;     }
print log are:【OkHttp3Util # doGet】response code is 403 , message is Forbidden
My HttpURLConnection of code is:
`String[] urls = new String[]{
"http://c.m.163.com/nc/video/list/V9LG4B3A0/n/0-10.html",
"http://c.m.163.com/nc/video/list/V9LG4CHOR/n/0-10.html"
};
for(int i=0;i<2;i++){
final String path = urls[i];
new Thread(new Runnable() {
@Override
public void run() {
try {
URL url = new URL(path);
HttpURLConnection connection = ((HttpURLConnection)url.openConnection());
InputStream input;
if (connection.getResponseCode() == 200)
input = connection.getInputStream();
else input = connection.getErrorStream();
BufferedReader reader = new BufferedReader(new InputStreamReader(input));
String msg;
while ((msg =reader.readLine()) != null)
Log.i("My",msg);
} catch (IOException e) {
System.err.println(e);
}
            }
        }).start();
    }`

print log are:{"V9LG4CHOR":[{"topicImg":"http://vimg1.ws.126.net/image/snapshot/2012/11/I/3/V8GIAB8I3.jpg","videosource":"新媒体","mp4Hd_url":"http://flv2.bn.netease.com/videolib3/1506/29/tUuas4099/HD/tUuas4099-mobile.mp4","topicDesc"...
Be careful,Browser  can also to get datas!
so, you can watch logs is diffrent, i think is okhttp bug,how to do it,can you answer me?

If this is a big report please provide a failing test case. Otherwise please use StackOverflow for usage questions.

Thank you for answer me, this is my first to submit issues, so maybe is not so good, hope you forgive.
Ok,here is my test case.Maybe the layout is not so good.But you just need to copy and paste it.
@Test     public void testDoGetByOkHttp() {         String[] urls = new String[]{                 "http://c.m.163.com/nc/video/list/V9LG4B3A0/n/0-10.html",                 "http://c.m.163.com/nc/video/list/V9LG4CHOR/n/0-10.html",                 "http://c.m.163.com/nc/video/list/V9LG4E6VR/n/0-10.html",                 "http://c.m.163.com/nc/video/list/00850FRB/n/0-10.html"         };         for (int i = 0; i < urls.length; i++) {             String value = OkHttp3Utils.doGetByOkHttp(urls[i]);             Assert.assertNotNull(value);         }     }
@Test     public void testDoGetByConnection() {         String[] urls = new String[]{                 "http://c.m.163.com/nc/video/list/V9LG4B3A0/n/0-10.html",                 "http://c.m.163.com/nc/video/list/V9LG4CHOR/n/0-10.html",                 "http://c.m.163.com/nc/video/list/V9LG4E6VR/n/0-10.html",                 "http://c.m.163.com/nc/video/list/00850FRB/n/0-10.html"         };         for (int i = 0; i < urls.length; i++) {             String value = HttpURLConnectionUtils.doGetByConnection(urls[i]);             Assert.assertNotNull(value);         }     }
My OkHttp3Utils class source code is:
public static String doGetByOkHttp(String url) {         Request request = new Request.Builder().url(url).build();         try {             Response response = new OkHttpClient.Builder()                     .connectTimeout(10000, TimeUnit.MILLISECONDS)                     .readTimeout(10000, TimeUnit.MILLISECONDS)                     .build().newCall(request).execute();             if (response.isSuccessful())                 return response.body().string();         } catch (IOException e) {             e.printStackTrace();         }         return null;     }
My HttpURLConnectionUtils class source code is:
public static String doGetByConnection(String url) {         BufferedReader reader = null;         try {             HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection();             connection.setDoInput(true);             connection.setDoOutput(true);             connection.setConnectTimeout(10000);             connection.setReadTimeout(10000);             connection.setRequestMethod("GET");             int code = connection.getResponseCode();             if (code == 200) {                 reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));                 StringBuilder builder = new StringBuilder();                 int len = 2048;                 char[] cbuf = new char[len];                 while ((len = reader.read(cbuf)) != -1)                     builder.append(cbuf, 0, len);                 return builder.toString();             }         } catch (IOException e) {             e.printStackTrace();         } finally {             if (reader != null) {                 try {                     reader.close();                 } catch (IOException e) {                     e.printStackTrace();                 }             }         }         return null;     }
And you can use the browser to test urls, you will find that you can still get the datas.

year,I saw your url is "http://c.m.163.com/nc/video/list/V9LG4B3A0/n/0-10.html",I think you what to get data from neteast, but neteast refuse to allow OKHttp, so, you need to add head with code:                .header("User-Agent", "a"). hope you can read Chinese


docs: add description on how to add operating systems

@krsteen Is this for end-user docs, or developer docs?


localStorage/sessionStorage disabled causes some conditions to fail

When using conditions like max frequency, if the users browser has storage apis disabled then the condition fails as not met.
Ideally there would be an option within the condition configuration that asks me how i want to handle storage apis being unavailable (still fire the rule or don't fire the rule) or fallback to cookies.
Expected Behaviour
Condition should fire with storage apis disabled
Actual Behaviour
Condition doesn't fire with storage apis disabled
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Create a condition which involves use of storage APIs
Platform and Version
Core 1.8.3
Sample Code that illustrates the problem
Max Frequency - once per pageview
Logs taken while reproducing problem

It seems like having localStorage disabled would be an extreme edge case?  Can you describe more about the conditions in which an end-user would not have this enabled?

We are seeing it on android app web views and private browsing mostly

Based on our our understanding, you should still have access to localStorage in both of those scenarios.  We're trying to understand if this is a real-world scenario, or something specific to your development environment.  Can you give us some steps to reproduce this?

By default a webpage displayed within an android app has storage set to disabled (https://developer.android.com/reference/android/webkit/WebSettings#setDomStorageEnabled(boolean))
If you you launch within this webpage and make reference to the storage api then it will fail

@adobe export issue to Jira project PDCL

This applies to Max Frequency, Sampling, and Visitor Frequency.

Apologies that this sat around for so long. I'd like to discuss if this is still a concern since our code that tries to pull from localStorage and sessionStorage are wrapped in try/catch and return null during get and false during set.:
https://github.com/adobe/reactor-extension-core/blob/master/src/lib/helpers/getNamespacedStorage.js#L28-L48

@arobsco Do you have some time to provide a failing use case?

@arobsco If this ends up still being a problem then will you open an issue again? Thank you!


add blog post for Flagger release

Signed-off-by: Daniel Holbach<EMAIL_ADDRESS>

→ https://deploy-preview-827--fluxcd.netlify.app/blog/
Thanks @aryan9600 for all your help!


Fancy Zones should support unique configurations per monitor - COVID WFH help

After bringing a 2nd monitor home to WFH through COVID I've noticed that FancyZones seems to only have 1 setting that is applied globally across all monitors.  It would be great if I could configure the zones unique to each monitor since my work flow is different for my primary monitor vs. 2nd.
Thanks!  Chris<EMAIL_ADDRESS>

Hi @christophernovak
FancyZones already supports different configurations for different monitors, if you set a layout for one monitor and it is also applied to the second monitor, you may be experiencing a know bug https://github.com/microsoft/PowerToys/issues/611
Con you please run the testing tool indicated here: https://github.com/microsoft/PowerToys/issues/611#issuecomment-554016813
Thank you.


Update active dev

@MarkAckert Having the same DCO issue here. My goal is to simply update this branch so that it keeps up with master, but there are quite a few DCO issues. Tips?

@MarkAckert @jackjia-ibm Is this a squash-and-merge situation? The blockage is due to old missed-DCO signoffs being pulled in from master (all of whom are folks we know in the project who probably signed the .txt file).
(I have a dream that one day we will never miss another DCO signoff! lol)

Set DCO to pass, these missing DCO's are historical at this point - already merged in master, and should be attributed in the dco_signoffs folder.


DataFrame.idxmax may return modified index/column dtype

In some circumstances, idxmax may return a Series with unexpected dtype:
>>> df = pandas.DataFrame(data=[[0.0, 1.0], [0.0, 1.0]], columns=[1,2], index=[1,2])
>>> df.idxmax(axis=0)
1    1
2    1
dtype: int64

>>> df = pandas.DataFrame(data=[[-inf, 1.0], [-inf, 1.0]], columns=[1,2], index=[1,2])
>>> df.idxmax(axis=0)
1   NaN
2     1
dtype: float64

In the second case, dtype is changed from int64 to float64 (even though both columns and index only contains int64.
I understand that float64 is needed to actually store NaN in the second case but I find it confusing (and possible error-prone if we combine it with a subsequent call to df.loc, for example).
But maybe this is the expected behavior...
 Currently this is not representable by integers, so it coerces to floats. It is a bit inconvenient, but correct.
In [62]: df
Out[62]:
     1  2
1 -inf  1
2 -inf  1

In [63]: df.dtypes
Out[63]:
1    float64
2    float64
dtype: object

In [64]: df.idxmax(axis=0)
Out[64]:
1   NaN
2     1
dtype: float64


helm/local-storage: custom DRBD port range

What this PR does / why we need it:
Add drbdStartPort and maxHAVolumeCount params to support custom drbd port range when install.
Special notes for your reviewer:
NONE
Does this PR introduce a user-facing change?

NONE

How to use ?
1. Set drbdStartPort
$ helm install hwameistor --set localStorage.member.config.drbdStartPort=43111 ...

2. Set maxHAVolumeCount
$ helm install hwameistor --set localStorage.member.config.maxHAVolumeCount=500 ...

This PR only solves the problem of how HwameiStor selects ports, but the modification of port reservation on the host is not included in this PR.


Feature request: Profile deployment

Thoughts on adding a deployment part to the utils? Ideally this would work across multiple deployment tools, but the one I use is deploy-rs so I'll roll with that specific example, though it could also be extended to nixops, etc. My thought is a flake along the lines of:
hosts.HostnameExample = {
        ....
    deploy-to = {
    type = "deploy-rs";
    hosts = [ "<IP_ADDRESS>"; "<IP_ADDRESS>"; ];
  };
};

The idea is that FUP builds the attributes and checks used by deploy-rs if the deploy-to set is not empty. The big question in my mind is: is this out of scope for this project? And is there demand for this feature? Another issue is this might be oversimplifying deployment. However, this would let the user take the equivalent utility functions out of their flake.nix. As far as I can tell, this is the entire point of FUP. And I think it hits the sweet spot of use cases for deployment tool users: "I want to deploy my flake hosts to my server cluster."
On the implementation side, all this would need to do is generate a bunch of deploy.nodes attributes, similarly to what I've done here. I could see FUP picking sane defaults, such as fastConnection = false and user=sshUser="root" which could be overridden.
Does this fits in the vision for FUP?

@Pacman99 and me have pondered about the possibility of including more "configuration builders", such as for home manager and deploy-rs.
However, aome of them might introduce additional dependencies (such as deploy-rs) and it is declared objective of this project to be dependency free.
The reason is that it remains a universal and slick tool that does not pretend upon what dependencies one wants to have included.
That being said, we are working on a conceptual :onion: of things in this order:
flake-utils → flake-utils-plus → devos-lib (without "no-dependency" rule and additional conveniences) → devos-templates.
Hope that makes sense.

home-manager builder doesn't actually depend on anything, you just pass it self.nixosConfigurations and if your hosts have the home-manager module enabled then it can just pull the home configurations from there.
deploy-rs could be added here but one of the arguments for the function could be deploy itself.
deployConfigurationBuilder = deploy: nixosConfigurations: ...

Just a thought:
I bet it would be quite easy to create concept of optional dependency by
just filterAttrs (it: it.outputs.someProperty) inputs 🤔
On Tue, Apr 20, 2021, 17:20 David Arnold @.***> wrote:

@Pacman99 https://github.com/Pacman99 and me have pondered about the
possibility of including more "configuration builders", such as for home
manager and deploy-rs.
However, aome of them might introduce additional dependencies (such as
deploy-rs) and it is declared objective of this project to be dependency
free.
The reason is that it remains a universal and slick tool that does not
pretend upon what dependencies one wants to have included.
That being said, we are working on a conceptual 🧅 of things in this
order:
flake-utils → flake-utils-plus → devos-lib (without "no-dependency" rule
and additional conveniences) → devos-templates.
Hope that makes sense.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gytis-ivaskevicius/flake-utils-plus/issues/41#issuecomment-823314062,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFRP5RRC3BQ2JG3AKTY65W3TJWETNANCNFSM43HBU22A
.

I think @nxrdp had already explored that to programatically manipulate inputs. It's not possible.
Flakes need a notion of development deps, but that's another issue.
So I'd suggest closing this defering to the divnix/devos sister project which does not have those dependency restriction.
I still think no-deps is one of flake-utils-plus bedrock features.

Ah wait! @Pacman99 do we still need to make the generic config builder even more generic so that it can output a deploy.nodes (nested attribute)?

I agree with you. Doesn't seem like it belongs here, so I'll close the issue.
Out of curiosity, though: couldn't we pass in the input? E.g. something like
outputs = inputs:
...
hosts.HostnameExample = {
        ....
    deploy-to = {
    type = inputs.deploy-rs;
    hosts = [ "<IP_ADDRESS>"; "<IP_ADDRESS>"; ];
  };
};
...

Then, the FUP code would go in and basically do something akin to pattern matching on the type to create the node topology IF the type wasn't null and was something it knew how to handle. This wouldn't introduce dependencies explicitly.

Ah wait! @Pacman99 do we still need to make the generic config builder even more generic so that it can output a deploy.nodes (nested attribute)?

I don't think so, since deploy-rs nodes don't need any fancy pkgs handling - one of the main features of fup - theres no benefit to using the hosts arg for deploy outputs. You may as well just do deploy.nodes = mkNodes ....

@DieracDelta I see you are wishing to deploy one host config to different IPs. Of that is correct, you'd have to coerce a lot of other prerequisites about those machines, too, like architecture, etc.
Devos lifts those.limitation by introducingbsuites which is a machine agnostic global configuration, like "developmemt-suite" or "gaming-suite" that you could pull into each host.
The benefit is that you can attend different hosts of different characteristics (e.g. archs) uniformely, while it also preserves a 1:1 mapping to deploy-rs.
I think that's a betrer way of thinging about the underlaying data structures than deploying one host to two different IPs.
If those IPs represent two interfaces of the same host, then that is an issue that coyld be opened upstream with deploy-rs, instead.


zfind: init at 0.3.0

Description of changes

Added zfind as a new package to nixpkgs.
zfind allows you to search for files, including inside tar, zip, 7z and rar archives. It makes finding files easy with a filter syntax that is similar to an SQL-WHERE clause.
Things done

Built on platform(s)

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

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

[x] 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

[x] 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.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1720

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1723

As I had to touch the commit anyway, I figured, I could also just init at 0.4.0, which has been released on the 6th of June.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1744

Please pass your file through nixfmt-rfc-style.

I did run nix run nixpkgs#nixfmt-rfc-style -- nixfmt pkgs/by-name/zf/zfind/package.nix now. 😸


More test coverage

Getting to 100% coverage in this PR.

Codecov Report

Merging #612 (154ac02) into master (4293b8c) will increase coverage by 0.41%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #612      +/-   ##
==========================================
+ Coverage   96.83%   97.24%   +0.41%
==========================================
  Files          49       49
  Lines        2398     2398
  Branches      209      209
==========================================
+ Hits         2322     2332      +10
+ Misses         60       54       -6
+ Partials       16       12       -4

Impacted Files
Coverage Δ

src/spellbot/client.py
100.00% <100.00%> (ø)

src/spellbot/models/__init__.py
100.00% <100.00%> (ø)

src/spellbot/models/game.py
100.00% <100.00%> (ø)

src/spellbot/operations.py
100.00% <100.00%> (ø)

src/spellbot/settings.py
100.00% <100.00%> (ø)

src/spellbot/spelltable.py
100.00% <100.00%> (ø)

src/spellbot/utils.py
100.00% <100.00%> (ø)

src/spellbot/interactions/lfg_interaction.py
64.32% <0.00%> (+5.40%)
:arrow_up:

Continue to review full report at Codecov.

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


core.print breaks some characters

Minimal reproduction:
core.print('boo\n')

This doesn't print "boo", but only "oo". The "b" is converted to a backspace.

The following characters are affected: "b", "f", "n", "r" and "t".
The problem doesn't occur without the trailing newline "\n".

Somehow these five characters are converted into their escaped counterparts backspace, form feed, new line, carriage return and tab.

Adding more characters after the \n gets even funnier:
> core.print("boo\nbooboo")
oo
ooo"

> core.print("boo\nboobooboo")
oo
oooo"

> core.print("boo\nbooboobiibaa")
oo
ooiaa"

> core.print("boo\nbooboobiibaauu")
oo
ooiaauu"

> core.print("boo\nbooboobiibaauub")
oo
ooiaau"

There is something funny happening in the parser, I guess.

It is definitely a problem how the parser handles ESCAPE CHARs
#define ESCAPE_CHAR(c, info) ((c) == 'b' ? '\b' : (c) == 'f' ? '\f' : (c) == 'n' ? '\n' : (c) == 'r' ? '\r' : (c) == 't' ? '\t' : (c))
in its code.

Maybe we can reproduce it online?
https://ianh.github.io/owl/try/

When processing escape sequences (like '\n'), the code used the original string length instead of the processed length. For example, "\n" has length 2, but should be length 1 after processing.


Bind  to close tooltips in infoview windows

So -- <tab> jumps in, <s-tab> jumps outward, <esc> closes em all.

Also, the way that this TUI works is if you're hovered over a div with a tooltip, that tooltip will show. If you want we can add a command that disables/enables this hover feature.

I think I saw you mention the hover thing elsewhere -- it sounds like a good idea though I haven't used widgets for long enough yet to know whether I'd personally configure mine on or off -- but I can imagine that autohover is one angle (whether widgets automatically show any interactable widget underneath them as soon as you move the cursor on top of them), but regardless of that autohover setting I think sometimes you just want less noisiness for a second in the window -- my brain would mash the Esc key in that case, same as for exiting insert mode to get back to some calm, which is the impetus for suggesting this mapping -- but I think even if autohover was on, if someone hit Esc, the tooltip shouldn't re-autohover in my mind.

but I think even if autohover was on, if someone hit Esc, the tooltip shouldn't re-autohover in my mind
This should be how it works at the moment - I've made the clear commands specifically remove the tooltip from the div entirely, so when you press C you shouldn't see a tooltip at all. Are you seeing something else?

Or are you saying hypothetically in a div that you can't modify at all, in which case yeah we could add a way to disable hovers (in case you get overwhelmed by them, or just want to see underneath without having to move your cursor).


Sample manifest references missing node

Bug Report
Steps to Reproduce:

See file calm/samples/api-gateway-implementation.json
There is a relationship to 'idp' which is not a defined node

Expected Result:
Relationships should only reference real nodes
Actual Result:
You can see the resulting visualisation here:

Environment:
main branch

@jpgough-ms can you take a look at this please.

This looks like it was resolved here:
https://github.com/finos-labs/architecture-as-code/blob/main/calm/pattern/api-gateway.json#L99


Resolving merge issue storage update function in DB

What this PR does / why we need it:
While merging Access-info update PR, storage_update fucntion was worngly update.
reverting that change.
Which issue this PR fixes
NA
Special notes for your reviewer:
Tesitng Notes:

Registered new storage(fake_storage)
Updated fake storage capacity values
Updated storage wih new access_info ,
verfied that storage is updated with new access_info and capacity values.

Release note:

@wisererik @sfzeng @kumarashit  please review.
This need to be merged first..


Make maskWithOutline the default?

Seems like our most popular option :smile:

Sounds good to me! If we do, I think we should put something easy to spot in the README saying something about if the board doesn't show up or looks weirdly distorted, try turning maskWithOutline off


Sort books in series by book number on admin form

Instead of by inserted_at

Hey @doughsay could I work on this issue?

Hey @doughsay could I work on this issue?

@barrotbake of course! Thanks for your interest 😁

@barrotbake I've added some basic instructions to the README: https://github.com/doughsay/ambry#local-development
Let me know if you have any questions on how to get started on this.


"BUILD FAILED" and "ARCHIVE FAILED"

I renamed my project name, target name, scheme name recently. Then build failed frequently(not all the times). It prompt "** ARCHIVE FAILED **" or "** BUILD FAILED **". I can't find any error in --verbose mode.
But it is ok to build it in Xcode or using xcodebuild.
It looks like this:
ipa  build -w JiecaoNews.xcworkspace -s JiecaoNews -c Debug -d builds --clean --verbose > log.txt
2015-02-08 23:05:57.795 xcodebuild[14942:2853115]  DeveloperPortal: Using pre-existing current store at URL (file:///Users/shannon/Library/Developer/Xcode/DeveloperPortal%206.1.1.db).
** BUILD FAILED **

** ARCHIVE FAILED **

I uploaded the verbose log here:
my log （password：d910）

Shenzhen builds through an underlying xcodebuild call exclusively. If ipa build or ipa archive is failing  for any reason, it's because the command line options being passed are incorrect. It's unclear that there is anything to be changed in Shenzhen itself.
For help with your particular build settings, I would recommend Stack Overflow. Perhaps this question is related?

@shannonchou I had the same issue today. My issue was caused by a build phase script which couldn't be found. Using xcode GUI it would work but not via command line. Sometimes report navigator can be much more useful.

@shannonchou I had the same issue today. My issue was caused by a build phase script which couldn't be found. Using xcode GUI it would work but not via command line. Sometimes report navigator can be much more useful.

Thank you for the "clue", got same issue with a scripts phase calling a script which was not executable


latest Zanata translation changes in kie-wb-common from 2016-09-03

Jenkins please retest this.

+1 to merge.


Update version line when using dev version

Right now tsp compile will always output the latest version not the currently running version when you are using a dev version.
You will see TypeSpec compiler v0.44.0 instead of TypeSpec compiler v0.45.0-dev.26 when using v0.45.0-dev.26.

fixing it as there is another Pr involving the dev version and this should be super simple, just regenerating the manifest after bumping the versions


How to create few shot data?

Hi, thanks for your nice work.
After downloading data, I find there just a data file supervised.
I find few shot files are needed in the script :
python3 train_demo.py  --train data/mydata/train-inter.txt ...
Could you add some guide to create few shot data files like train-inter.txt in the readme?
Thanks!

Oh, I'm sorry I missed some details!

the parameter should be --mode inter instead, I have updated the readme


fix: revert concordance diff, use jest's diff output

This PR reimplements Jest's diffing algorithm and the way it's outputted for our use case (better browser support, don't use chalk). It seems like concordance was not a good choice right now, but we can reevaluate it in the future. The main feature we are now lacking is showing string difference (now it's just +/-), but we can improve it later ourselves without relying on another library:

Closes #3261
Closes #3560
Closes #3553

Looks like the dependency on concordance is still there, not sure if this is intentional or not.
https://github.com/search?q=repo%3Avitest-dev%2Fvitest concordance&type=code

Looks like the dependency on concordance is still there, not sure if this is intentional or not. https://github.com/search?q=repo%3Avitest-dev%2Fvitest concordance&type=code

It wasn't even intentional before 🤔 Thank you for noticing, I will create a separate PR

It looks like this change may have caused the output in @vitest/ui to print ANSI escape codes.

I'm not sure what the root cause is, but I'm sure it started after I upgraded vitest this week.


Reference Handling

Torch should resolve references to ensure referential integrity.

Torch can only handle known profiles, other profiles will be ignored

The new field CRTDL feature "includeReferenceOnly" has to be handled => Torch has to be able to handle CRTDL groups in different ways

Reference handling does need to be able to handle cyclical references

CRTDL can only have one attribute group per profile

Resources with no patient reference (i.e. no patient field or no subject reference) have to be exported with each bundle. (self contained bundles)

Open Questions:
-How to handle references for profiles with no defined attribute group (Standard behaviour?)
{
  "groupReference": "https://www.medizininformatik-initiative.de/fhir/core/modul-diagnose/StructureDefinition/Diagnose",
  "attributes": [
    {
      "attributeRef": "Condition.code",
      "mustHave": true
    }
  ],
  "includeReferenceOnly": true
}

-CRTDL has to be statically checked before extraction such that  for every potentially referenced profile
-Has to be able to resolve references inside of referenced resources, if extracted
-no duplicate reference resolve of known resources

Open Questions:
How to identify and collect references?:
From structure definitions? Recursive crawling of extracted resource?


Made casting more explicit for better compatibility with different compilers

Made casting more explicit for better compatibility with different compilers. For instance zig cc was producing errors.  And zig cc relies on some version of clang witch is probably also affected.

@johan0A Thanks a bunch for fixing these up, I don't generally test with zig cc so wouldn't have caught these 🙂
I will see if I can get the github CI to run a compile using zig cc, so I can avoid breaking these compilers in future.

@nicbarker That would be very cool :D Though to be clear clay.h does compile without errors using zig cc but using the affected functions produces illegal instruction errors.

@johan0A ah fascinating, good to know thanks!


Performance reduction on service provider creation

When invoking the DCR endpoint, the following query is executed twice for each invocation. This query is run to check whether a given user has a given role from [1]. When there is a lot of service providers created from a single user, that user may have lots of roles and this query will select them all and take time for it.
SELECT UM_ROLE_NAME
FROM   UM_HYBRID_USER_ROLE,
       UM_HYBRID_ROLE
WHERE  UM_USER_NAME = "admin"
       AND UM_HYBRID_USER_ROLE.UM_ROLE_ID = UM_HYBRID_ROLE.UM_ID
       AND UM_HYBRID_USER_ROLE.UM_TENANT_ID =- 1234
       AND UM_HYBRID_ROLE.UM_TENANT_ID =- 1234
       AND UM_HYBRID_USER_ROLE.UM_DOMAIN_ID = (SELECT UM_DOMAIN_ID
                                               FROM   UM_DOMAIN
                                               WHERE  UM_TENANT_ID =- 1234
                                                      AND UM_DOMAIN_NAME =
                                                          "PRIMARY")

[1] https://github.com/wso2/carbon-kernel/blob/v4.4.40/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/hybrid/HybridRoleManager.java#L389
Related: https://github.com/wso2/product-is/issues/2083

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Add ERB Lint to CI workflow

Context
Restores running ERB Lint as part of CI workflow.
Changes proposed in this pull request
Restores what was removed in as removed in 46f24cceccef68c551df75e89fd17ad3d6352022.
Guidance to review

Rather than just run ERB Lint in app/views as before, not using --lint-all flag, which uses the following glob **/*.html{+*,}.erb

Since this was removed, the way Azure pipelines are organised has changed. So I’m not sure where this should now go:
  - script: make ci.lint-erb
     name: ci_lint_erb
     displayName: 'ERB lint'
     condition: and(succeededOrFailed(), eq(variables['deployOnly'], false))
     env:
       dockerHubUsername: $(dockerHubUsername)
       dockerHubImageName: $(imageName)
       RAILS_ENV: test
       GOVUK_NOTIFY_API_KEY: $(govukNotifyAPIKey)
       AUTHORISED_HOSTS: $(authorisedHosts)
       FIND_BASE_URL: $(findBaseUrl)
       GOVUK_NOTIFY_CALLBACK_API_KEY: $(govukNotifyCallbackAPIKey)
       SANDBOX: $(sandbox)

Link to Trello card

Things to check

[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] API release notes have been updated if necessary
[ ] New environment variables have been added to the Azure config

(This PR will fail until #4078 is merged and rebased into this branch.)

@paulrobertlloyd I remember this taking a while to run on my local environment. What impact does this have on running rake?

@despo On my mid-2014 MacBook Pro (2.8 GHz Quad-Core Intel Core i7), which is very nearing retirement:
bundle exec rake erblint  72.48s user 4.87s system 96% cpu 1:20.04 total
bundle exec rake erblint  69.09s user 4.34s system 97% cpu 1:15.08 total
bundle exec rake erblint  71.29s user 4.01s system 98% cpu 1:16.66 total

If I use a more specific glob pattern (app/{views,components} instead of using --lint-all):
bundle exec rake erblint  69.62s user 3.97s system 98% cpu 1:14.69 total
bundle exec rake erblint  74.07s user 4.02s system 98% cpu 1:19.49 total
bundle exec rake erblint  80.16s user 5.25s system 96% cpu 1:28.88 total

Which seems like it may actually be worse, weirdly.
Might it be possible to run this task in parallel somehow?

I'd add this to the Rubocop/Brakeman step in the CI pipeline? Ie around line 221 of azure/pipelines/build.yml
I don't think yarn.lock ought to be here?

I'd add this to the Rubocop/Brakeman step in the CI pipeline? Ie around line 221 of azure/pipelines/build.yml

🙏

I don't think yarn.lock ought to be here?

Whoops! Fixed.

Just pushed a fix to the pipeline to get it running in CI — it's now failing for the right reasons!


Cluster list - Tests

Follows from #571
Addresses https://github.com/open-cluster-management/backlog/issues/7208

/lgtm


Sweetpad issue: No schemes

Please describe your issue here.
Even with the scheme included, I can't seem to select workspace.
Last logs:
{
  "message": "Sentry setup",
  "level": 1,
  "time": "2024-12-08T00:38:02.173Z",
  "sentryDsn"<EMAIL_ADDRESS>  "sentryIsEnabled": false,
  "sentryIsClientIsInitialized": true
}
{
  "message": "Failed to get schemes",
  "level": 3,
  "time": "2024-12-08T00:38:32.949Z",
  "stackTrace": "Error: Error executing \"xcodebuild\" command\n\tat /Users/Vol/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:47427:13\n\tat Generator.throw (<anonymous>)\n\tat rejected (/Users/Vol/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:81:29)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
  "error": {
    "options": {
      "context": {
        "errorMessage": "Command failed with exit code 1: xcodebuild -list -json -workspace /Users/Vol/Developer/Postcard From/Postcard From.xcodeproj/project.xcworkspace",
        "stderr": "xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance",
        "command": "xcodebuild",
        "args": [
          "-list",
          "-json",
          "-workspace",
          "/Users/Vol/Developer/Postcard From/Postcard From.xcodeproj/project.xcworkspace"
        ],
        "cwd": "/Users/Vol/Developer/Postcard From"
      }
    }
  }
}

@jingyuan9Li could you try solution from this comment https://github.com/sweetpad-dev/sweetpad/issues/3#issuecomment-2017742269?


Texture from imported object are not exported

Hello,
I imported in Blender 2.79 an object from a game using an add-on, and everything was showed correctly, even without the add-on, but when I tried to export it as a .gltf or a .glb file only shapes remained showed, while all the texture were missing. For importing them I needed to export the entire object, import it again in Blender, apply the texture and export it and finally the texture was there. Is it possible to export this object without doing all these actions?
Here you have the zipped .blend file
Thanks in advance

Seems you blend file is a node tree of Blender internal renderer, that is not supported in gltf addon (only Cycles & Eevee are supported, because of PBR workflow)
Can you please clarify how you apply the texture, and where you are trying to display your exported gltf file generated by our addon?

I tried the method that I used last time but it didn't work. Basically what I've done is wrapping the UV mapped texture on every part of the 3d object, but I should have miss some steps this time.
For viewing those gltf file I've used the tools offered by https://gltf-viewer.donmccurdy.com .

@UX3D-nopper The provided blend file has some blender internal texture, so it can't be generated by importing some gltf file. I know the issue description is not really clear, so I removed any label until we really understand what part of addon is used here.
@edoaxyz Please clarify how you generated the provided blend file, and what part of glTF addon you are using: Import and/or export? If you try to use glTF import, please provide the .glb or .gltf used

Well, seems this ticket is quite old, and if I understand correclty, there is no bug here.
Blender Internal render is not supported in glTF exporter addon, and will never supported (Blender Internal Render is no more supported by Blender itself since 2.80).
Closing this ticket.
Don't hesitate to comment if I missunderstood


CHORE: did minimize bundle size (13mb reduction)

Description
total website size (including assets) went from 27.5mb to 14.5mb ( 13mb 😱 )
Type of change

optimization

@Souhaib-Benbouzid will like this haha


Search Feature and Documentation related bug fix

For point 2, I tested last time and just now, for t/t and t/x now it only shows contacts with element t and x in it. Perhaps the reason why in yours it shows all contacts for t/x is because there is no contact with x in it?

For point 1, yes I will update the UG, thanks for the suggestion :D

OK now for point 2 I now disable the reduction relevant search if the after reduction length is 0, that way it will prevent the returning all contacts. What do you think?


Locally built docker image has wine error

wine: '/tmp/.wine-0/server-fd04-1601bf9/socket' is not a socket
It seems that I have to run wineserver first, then it will work. any idea why? Doesn't seem to be the case on the one distributed on docker hub.

I've just rebuilt the py3 on Windows image and can't reproduce that error. Possibly another selinux issue?

Are you bind mounting /tmp/ into the container?


verifyProof is rejecting on staging

Hi ya'll!
I'm trying to build an airdrop claim contract using worldId but can't get it to work on the testnet. I've isolated that issue to the worldId.verifyProof function rejecting in the contract but have no idea how to debug this issue. On mumbai, when I try to call the contract with the params given by the worldId widget, I get the following error:
ContractFunctionExecutionError: The contract function "verifyAndExecute" reverted with the following signature:
0x3ae7359e

Unable to decode signature "0x3ae7359e" as it was not found on the provided ABI.
Make sure you are using the correct ABI and that the error exists on it.
You can look up the decoded signature here: https://openchain.xyz/signatures?query=0x3ae7359e.

Contract Call:
  address:   0x711e95ddd8595dd3c41992b864e729a0f01b1c4c
  function:  verifyAndExecute(address signal, uint256 root, uint256 nullifierHash, uint256[8] proof)
  args:                      (0x6b35F3FE3a1aFFC17b4EC8064662907802434296,<PHONE_NUMBER>507396323949580117840016177554215485091593526212095878502963106228,<PHONE_NUMBER>425501731207919687036448033785684734535204514123355879639401159188, ["4861165953074043488392691781888918383917310526809990770293067694909634481915","8411332239281619475030251452936331325849899968920292208992700559228370754572","6657066515956362048968896444947214212352055579369129893251354693127334943133","12631433038508154115864654521989527274487900917021357581325913421878234404939","16094855089242592329187071792566039537984789905433359402691558657383819307535","5880997204003857823148431814702469852168828474836851314642211418082025772316","15815980942064492808834084090051375732205610604305785198834799350792718164761","12693168495739595099260209557969384484306645109625737398299981667802333808780"])
  sender:    0x6b35F3FE3a1aFFC17b4EC8064662907802434296

Not sure what 0x3ae7359e means. Any help here would be much appreciated! I've deployed the contract on both mumbai and goerli and followed the example provided by the docs but both failed. At this point I am unable to reproduce a success case using the example.
Here is some context:

Using this simulator to test
Deployed contract on both mumbai and goerli. Both rejects on the verifyAndExecute function. Goerli rejects with 0x728ade92 and mumbai rejects with 0x3ae7359e

I'm using the following params:
RPC_URL="https://polygon-mumbai.g.alchemy.com/v2/<key>"
WORLD_ID_ADDRESS="0x719683F13Eeea7D84fCBa5d7d17Bf82e03E3d260"
WORLD_APP_ID="app_staging_53428f5084efef47b7dc7703364238d8"
WORLD_ACTION_ID="test-action"

This is the contract I deployed:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {ByteHasher} from "./helpers/ByteHasher.sol";
import {IWorldID} from "./interfaces/IWorldID.sol";
import<EMAIL_ADDRESS>
contract FEDAirdrop {
    using ByteHasher for bytes;

    ///////////////////////////////////////////////////////////////////////////////
    ///                                  ERRORS                                ///
    //////////////////////////////////////////////////////////////////////////////

    /// @notice Thrown when attempting to reuse a nullifier
    error InvalidNullifier();

    /// @dev The World ID instance that will be used for verifying proofs
    IWorldID internal immutable worldId;

    /// @dev The contract's external nullifier hash
    uint256 internal immutable externalNullifier;

    /// @dev The World ID group ID (1 for Orb-verified, 0 for Phone-verified)
    uint256 internal immutable groupId = 1;

    /// @dev The ERC-20 FED token to be airdropped
    IERC20 internal immutable fedToken;

    /// @dev Whether a nullifier hash has been used already. Used to guarantee an action is only performed once by a single person
    mapping(uint256 => bool) internal nullifierHashes;

    /// @dev event verifying that the test call succeeded
    event FEDAirdropped(address indexed caller, uint256 amount);

    /// @param _worldId The WorldID instance that will verify the proofs
    /// @param _appId The World ID app ID
    /// @param _actionId The World ID action ID
    constructor(
        IWorldID _worldId,
        string memory _appId,
        string memory _actionId,
        IERC20 _fedToken
    ) {
        worldId = _worldId;
        fedToken = _fedToken;
        externalNullifier = abi
            .encodePacked(abi.encodePacked(_appId).hashToField(), _actionId)
            .hashToField();
    }

    /// @param signal An arbitrary input from the user, usually the user's wallet address (check README for further details)
    /// @param root The root of the Merkle tree (returned by the JS widget).
    /// @param nullifierHash The nullifier hash for this proof, preventing double signaling (returned by the JS widget).
    /// @param proof The zero-knowledge proof that demonstrates the claimer is registered with World ID (returned by the JS widget).
    /// @dev Feel free to rename this method however you want! We've used `claim`, `verify` or `execute` in the past.
    function verifyAndExecute(
        address signal,
        uint256 root,
        uint256 nullifierHash,
        uint256[8] calldata proof
    ) public {
        // // First, we make sure this person hasn't done this before
        // if (nullifierHashes[nullifierHash]) revert InvalidNullifier();

        // We now verify the provided proof is valid and the user is verified by World ID
        worldId.verifyProof(
            root,
            groupId,
            abi.encodePacked(signal).hashToField(),
            nullifierHash,
            externalNullifier,
            proof
        );

        // // Finally, execute your logic here, for example issue a token, NFT, etc...
        // // Make sure to emit some kind of event afterwards!
        uint256 amount = 1 * 10 ** 18;
        // require(fedToken.transfer(signal, amount), "Transfer failed");
        emit FEDAirdropped(signal, amount);

        // // We now record the user has done this, so they can't do it again (proof of uniqueness)
        // nullifierHashes[nullifierHash] = true;
    }
}

On the JS side I am passing in the signal (wallet address), app_id=WORLD_APP_ID, and action_id=WORLD_ACTION_ID. Which matches what I use to deploy the contract. I don't know if there's anything I'm doing wrong. Any pointers would be much appreciated!
cc @m1guelpf @paolodamico

Marking this as closed -- the root issue was a bug in our simulator which has since been fixed.


Moved blacklist confirm to be part of popup

Addresses #60. Much better idea to have the blacklist confirm in the popup compared to doing it via content_script.
Now the popup script talks directly to the background script to handle the delete after confirmation.
Looks like:

May have better ideas for the style.

Looks good, I may would change the grey block into a rounded block that has only fine grey lines, but is not filled out.


Wrong memop assert

Assert in PrepareSegmentForMemop was incorrectly using length to verify that we were at the end of the array.

This change is

@LouisLaf @rajatd Please review

@dotnet-bot test Ubuntu ubuntu_linux_test please

:shipit:


Broken links in README.md

In the root README.md file all the links under the Templates and Development environment headings are broken. They are trying to link to a github pages site that does not exist.

Hi @timcoxopc Thanks for the pickup!
The links for the Templates will be fixed as part of #187. I couldn't seem to find broken links under the Development environment heading, please feel free to clarify this one further if something has been missed.

Thanks @KiriHoy. The links under the development heading are working fine for me now. Pretty sure they were down on Friday when I was looking, but I might of confused myself.

All good @timcoxopc, Thanks!


Highlight an error if type identifiers do not start with upper case

    public function gotoAndPlay(frame: string) { this.seek(frame); this.play(); }

This produces a warning unresolved type "string", but should produce an error because string is an invalid type name because it doesn't start with a case. It should be "String".

Types should start with case

I get your point here, but I don't agree.  It's not the IDE's job to enforce programming style.  On the other hand, I think you really mean that the type string isn't a known type, so should display as unresolved -- which it does (at least in the ClassHierarchy branch).  If you highlight the unresolved symbol and press Ctrl+space to get suggestions, the type String shows up in the list.  If what you want is auto-correction to known types, then I think that's just going to create a different set of bugs: How is the IDE supposed to know that you didn't really mean to include a missing library with a custom string type?
So, I don't think there's a bug here.  Re-open if you disagree.
class Issue85Test {
    public function gotoAndPlay(frame: string) {
        this.seek(frame);
        this.play();
    }
}

I was porting a code from typescript to haxe, and I noticed that it was not producing an error, but just a warning and the compiler doesn't treat it that way.
@EBatTiVo
I don't think it is a coding-style issue, but a feature/language design detail:
File:
test.hx
package;
class test {
        static public function main() {
        }
}

Compiler output:
haxe -main test
Error: Could not process argument test
Class name must start with uppercase character

Test2.hx
class Test2 {
        static public function main():Int {
        }
}

Compiler output:
haxe -main Test2.hx
Test2.hx:2: lines 2-3 : Missing return Int
or changing with :Int2
Test2.hx:2: lines 2-3 : Class not found : Int2
or chaning with :int
Test2.hx:2: characters 35-36 : Unexpected {

haxe -version
3.1.3

I guess we could quibble about which is the more appropriate message -- and possibly whether an unresolved type should be marked as an error, rather than a warning.  I still don't think that the editor should be automatically coercing the case, though.
Perhaps the BNF should restrict Class/Type identifiers to have leading case, and not use a single unified identifier definition that it does now?
At any rate, re-opening as an enhancement.

I wouldnt do that in the bnf. I think they do in the compiler just trying to match a type and that produces that awful error.
I don't know which phases the plugin has. But I would do that later after the bnf. You allow any valid identifier. Then validating the ast you can check type names and yield errors when the first letter is not uppercase. Not just when referencing types but also on type declarations:
class invalid {}
class Test extends invalid implements invalid {}
...
That would provide feedback early about this kind of errors and would save lot of time later executing the compiler.

I haven't seen a second pass validating the AST.  Almost all of the errors come out of the parsing phase.  (JFlex generates the parser and scanner, and there's a minimal lexer.)
I suppose we could check the identifier value as the AST/PSI elements are constructed.  I'm not sure how to signal the error on screen, but there's probably a way...
So, why not do it in the BNF?  I think that we can customize the error output into something reasonable.  (I saw something about that in the overly-dense Grammar-Kit docs.)

The casing actually influences type path parsing. I try to keep it simple:

If it starts with a lowercase character it must be a package name and the parser expects a . followed by the next part of the type path.
If it starts with an uppercase character it must be a type name. At this point the parser accepts one additional . followed by an uppercase identifier in order to parse module sub-type access (e.g. Expr.ExprDef).

parse_type_path1 ::= lower_ident "." parse_type_path1 | upper_ident ["." upper_ident]

Somewhere along the line, Carlos (soywiz) fixed this.  Thanks, Carlos.
And, for the record: I was wrong about the type having to be Capitialized.  I figured that out somewhere along the line, too.


feat: rename CHAIN_NAMESPACE.Ethereum -> CHAIN_NAMESPACE.Evm

Description
Renames the usages of the EVM CHAIN_NAMESPACE to be Evm following https://github.com/shapeshift/lib/pull/1007
⚠ Merge as a stack from Graphite since this requires CAIP version bump and will break unless all CHAIN_NAMESPACE changes are updated at once
Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[x] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
N/A - relates to mutli-account M2 https://github.com/shapeshift/web/milestone/31
Risk
None
Testing
Engineering

CI is happy

Operations

None, as long as this is PR has a green tick, we are good here

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #2635

PR #2636   👈

PR #2637

This comment was auto-generated by Graphite.

Merging this one into the parent so we can land the stack as a single PR


parse.js fixes to allow "custom" ColorSpace formats

Two very simple fixes that come out of this discussion: https://github.com/color-js/color.js/discussions/593

The code was finding a match for a custom parse() function, but only exiting the inner of two loops.  I added a new variable: found, that the inner loop sets to true so that the outer loop knows to exit.  This was not only causing unnecessary iterations of the loop, it was causing issues with custom user ColorSpaces that have formats with {type:"custom"}.
The addition of a single ? in this line: let color = format.parse?(env.str); so that "custom" ColorSpace formats don't require a parse property.  The discussion linked above creates a custom ColorSpace with a default format that has a custom serialize() property/function, but doesn't need a parse property.  The current code requires it to have a dummy parse() property/function that returns falsy.  This change removes that requirement and prevents the throwing of unnecessary errors.

It is worth noting that this outside loop on ColorSpace.all is inefficient relative to its contents, even after fix 1.  There is only one built-in space with custom formats: sRGB, and it's the near the end of ColorSpace.all.  I'm no expert, but based on what I've seen I can't imagine any other built-in spaces doing custom parsing.  As for user color spaces, I don't know if any other users have created any, and mine doesn't parse.  Are there pending proposals for new CSS color strings that parse in other spaces?  Is there a need for a user color space that parses a custom, non-CSS color string?
If you want to ensure that user spaces and new built-in spaces can do custom parsing, you can create a new ColorSpace.custom array containing sRGB all other registered spaces that have custom formats.  You could add spaces to that array in register().  Otherwise it's just sRGB, no need to iterate over any other color spaces.

It is worth noting that this outside loop on ColorSpace.all is highly inefficient relative to its contents.  There is only one built-in space with custom formats: srgb.  I'm no expert, but based on what I've seen I can't imagine any other built-in spaces doing custom parsing.  As for user color spaces, I don't know if any other users have created any, and mine doesn't parse.
If you want to ensure that user spaces can do custom parsing, you could create a new ColorSpace.custom array containing srgb and any registered user spaces that have custom formats.  You could add to the array in register().  Otherwise it's just srgb, no need to iterate over any other color spaces.

Oh wow, this completely fell through the cracks, so sorry @sidewayss! Do you want to rebase so we can review? I think the type info in this is out of date, which is why it's showing so many type issues.

Btw if the inner loop needs to break the outer loop, you can do that with labels: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/label


Secret management and deployment (current good enough :grin: practices)?

I know this is a broad topic and there is no one way to skin this cat. It would be nice though to hear from veteran nix user what the current widely-used ways are to get secrets to deployed machines. Basically, I'd like an entry point for people who feel lost or overwhelmed with secret management, so they understand the issues and options better and can navigate their way to what is a good option for them.
Loose points:

Why is it hard to do on NixOS?
Why do NixOS and deploy tools not have a built-in option for secret management and secret deployment?
Some NixOS modules don't play nice when secrets are not specified at build-time, any workarounds?
On single user systems it's probably okay if secrets end up in nix store (though not ideal), right?

This one goes a little too deep: Even if it is encrypted, if something (by accident) ends up on a binary cache / substitutor, we have a problem with forward security if the encryption method ever becomes breakable because the secret text might also live long enough there and retain it's value. Is there a solution for secret rotation?

How can you double-check (absolutely make sure) your secret doesn't end up in the store?
Some solutions, I've come across: systemd.LoadCredential (docs PR), sops-nix, agenix, vault-secrets
The last one is a bit "cloud solution-y". Cloud secret delivery is a whole different Pandora's Box, but if there's time, could you talk about that, too?

To anyone reading this, we got exactly to the systemd.LoadCredential(s) part in nix hour 24 and were able to resolve the issues seen there off-camera, resulting in this gem: https://github.com/tweag/nix-hour/tree/master/24
The rest of the topic might show up in future nix hours, though Silvan said he's not an expert.

This is a nice page! https://nixos.wiki/wiki/Comparison_of_secret_managing_schemes

Some information is also collected here open for improvement.

I think this is reasonably covered in a recent blog post: https://discourse.nixos.org/t/handling-secrets-in-nixos-an-overview-git-crypt-agenix-sops-nix-and-when-to-use-them/35462
Since I don't know too much about this myself, I'll consider this satisfactory for now


"Wrong nonce: undefined" during login with Password grant

Hello,
I have recently upgraded my project to Angular v14 and oidc package to 14.0.1. I am using a combination of Password and Code flows in my project. The configuration I use is as follows:
{
    issuer: '<Domain>',
    redirectUri: '<Redirect URL>',
    clientId: '<Client Id>',
    tokenEndpoint: '<Token URL>',
    loginUrl: '<Authorize URL>',
    useSilentRefresh: false,
    responseType: 'code',
    scope: 'openid profile offline_access <some more custom scopes>',
}

I started experiencing the following error after I upgraded my project to v14.0.1 when calling fetchTokenUsingPasswordFlow():
ERROR Error: Uncaught (in promise): Wrong nonce: undefined

In the Developer console, there is a warning right before the error:
Wrong nonce: undefined
    processIdToken
    (anonymous)
    ...

After looking at the source code, I found out that the error is coming from the following chain of method calls:
oauth-service.ts:824 > fetchTokenUsingPasswordFlow():833 > fetchTokenUsingGrant():903 > processIdToken():2240
It seems like the skipNonceCheck parameter of the processIdToken() method is not set. I'm not quite sure whether we need nonce for Password grant, but looking at line 971 where processIdToken() is used for refresh_token grant, the skipNonceCheck parameter is set to true.
Is this a bug or am I missing any configuration?

Hi @ali-kashanian,
We encounter the same problem this morning (nice timing with your ticket ^^).
We manage to fix that by disabling OIDC (temporary) in the AuthConfig. Therefore, the idToken nonce is not checked anymore.
Kr.

Hi @TiBz0u,
Thanks for the response. I think with OIDC disabled, the processIdToken is bypassed and the idToken won't be saved in the storage. Even though the initial login has this error, the refresh token is fine and it will pass the nonce check and save the idToken.
I'm not quite sure how the saved idToken is used throughout this project. Won't it cause more problem down the road?

Hi @ali-kashanian, sorry for late response.
I had a side effect at my side by disabling it. I'm not able anymore to resolve the claim via getIdentityClaims() function. I didn't find an alternative to get the claim from the accessToken. So I mock it for the moment.
So the fix will still be appreciate at my side.

@TiBz0u @ali-kashanian Have you found a solution to this issue? I am also getting this error.

Unfortunately, no. I was hoping that someone from the developer team would reach out.
For now, the only temporary solution is to disable OIDC.

+1

+1

Still an issue, so I am here just to bump this.

Provided a fix for this in https://github.com/manfredsteyer/angular-oauth2-oidc/pull/1455


ISSUE INJECTING

Cant call function through wow64 barrier failed to inject dll

Make sure you are using the correct version. 64 for x64 processes, normal for x86 processes.


Use flash player on unsupported browsers

If the browser doesn't support html5 or some type of streams like aac plus use flash player instead

Implement browser sniffing


document to which listener the oauth endpoints belong

existing doc:
https://github.com/Half-Shot/matrix-hookshot/blob/9030581de2739e721475e6d0bac8725f973ed04b/docs/setup.md#L93-L95
https://github.com/Half-Shot/matrix-hookshot/blob/9030581de2739e721475e6d0bac8725f973ed04b/docs/setup.md#L117
missing:
https://github.com/Half-Shot/matrix-hookshot/blob/9030581de2739e721475e6d0bac8725f973ed04b/docs/setup/jira.md#L31
https://github.com/Half-Shot/matrix-hookshot/blob/9030581de2739e721475e6d0bac8725f973ed04b/docs/setup/github.md#L74

Fixed by #132


Some Queries Regarding Hardware and Software Decoding

So, I indulge in a lot of 10bit x265 / HEVC media and previous experiences have determined that software decoding of these files results in a massive battery drain, whereas hardware decoding has a considerably lower impact.
Although the description for this player does mention that it supports H.265 HEVC, I would like to know that means specifically, is it saying that the app makes use of the hardware to decode the files?
Could there be a way to know when HW decoding is being used and when SW decoding is used?

For video, Just Player (because it uses ExoPlayer) basically always uses device decoders. (The only exception is AV1 on devices older than Android 10.) In most cases, device decoder should mean HW decoder, but not necessarily (but then there's no HW decoder at all).
You may also check:

#50
https://exoplayer.dev/battery-consumption.html
https://github.com/google/ExoPlayer/issues/3039#issuecomment-314042014

In your case, HEVC media should use your device decoder (most probably HW).

Ah, I understand. Thank you for clarifying.


Updated log level presets to better suit default needs (#91)

Related Issue: #91
Summary of Problem:
In our TechWG meeting where we reviewed Steamclog usage, we decided on some updates to how LogLevelPresets were named and what their LogLevel mappings were:

Tech WG Doc:
https://coda.io/d/Tech-Working-Group_dq8QHMnEi6A/Aug-16th-2021_suivT#_luAHl
Proposed Solution:

Updated LogLevelPreset destinations to match spec (ex. remote instead of sentry)
Updated LogLevelPreset LogLevels (ex. debugVerbose instead of firehose)
Updated preset mappings

@brendanlensink Please see addressed comments, ready for another review :)


Update docs to link to avwx types

Description
The docs show the avwx-specific types that are used as arguments or return values, but only as text. It would be easier to navigate the docs if the types were updated to be links instead. I've updated the airsigmet.md file to show what I have in mind, and have confirmed that the links work as expected when run through mkdocs. @flyinactor91 , what are your thoughts on a change like this? I'm happy to update the other md files and issue a full PR if this is a change you'd be open to.
Checklist

[ ] Tests covering the new functionality have been added
[ ] Documentation has been updated OR the change is too minor to be documented
[ ] Changes are listed in the CHANGELOG.md OR changes are insignificant

As presented, linking to each class does make the documentation much easier to use.
I've really been meaning to integrate an auto-doc library that can format the class docs better than my basic attempt to do the same.

I've really been meaning to integrate an auto-doc library that can format the class docs better than my basic attempt to do the same.

I agree, this is the way to go rather than manually updating the docs. In my experience, there's a 100% chance the docs won't match the code if it's done by hand. I'll take a stab at a PoC using something like pdoc and issue another draft PR.


C Content

[x] Hello World!
[ ] Compilation

[x] Headers files
[x] Source Files
[x] Compilation
[x] Linking
[ ] How GCC works (brief)
[ ] Using GCC

[ ] Types and Variables

[x] Types
[x] Variables
[x] Literals
[x] Operators
[x] Enums
[ ] Type casting

[x] Printing

[x] printf
[x] Formatting

[x] Array & Strings
[x] Control Flow

[x] if
[x] else
[x] else if
[x] switch

[x] Loops

[x] while
[x] do-while
[x] for

[x] Functions
[x] Pointers
[ ] Dynamic Memory
[ ] Structures
[ ] Macros
[ ] Preprocessor
[ ] The Standard Library

Thinking of moving the 'dynamic string functions' to the string section. I also am thinking about splitting the array and string into separate sections if I do move the 'dynamic string' stuff to that section. Any thoughts anyone? @MonashDeepNeuron/hpc-training.


Adjust chrono features to address security advisory.

Closes #1048 (the red part, at least).

This removes the time (red) advisory.
env_logger is updated from 0.9.0 to 0.10.0.

I also added some CONTRIBUTING.md notes, but only enough to get tests running.
Partially addressed in this PR:

atty, I've updated a few packages, but simple_logger and colored still depend on it, so we'd have to fix https://github.com/borntyping/rust-simple_logger/issues/74 first.
criterion can be bumped to 0.5.1, but I haven't had time to do that -- tests fail with an obscure message: "for `dioxus-desktop::check_rendering`, line 'html: <div .. </div>' did not end with the string ': test' or ': benchmark'".
kuchiki needs https://github.com/tauri-apps/wry/issues/898 fixed.

Thanks!


Converting trained Donut model to a single onnx file

I'm working on a production solution where I want to relay my Donut model to an Nivdia Triton Inference server. But I'm struggling to convert my Donut model and associated files( tokenizer, processor etc. ) to a single onnx file, which is preferred for Triton.
I've had some limited success where I ended up with an onnx file and some other meta data. Can anyone please help me in packaging it into a single file?
I have tried to create onnx file using optimum library, but it creates this file structure
|-- added_tokens.json
|-- config.json
|-- decoder_model.onnx
|-- decoder_model.onnx_data
|-- decoder_with_past_model.onnx
|-- decoder_with_past_model.onnx_data
|-- encoder_model.onnx
|-- generation_config.json
|-- preprocessor_config.json
|-- sentencepiece.bpe.model
|-- special_tokens_map.json
|-- tokenizer_config.json
`-- tokenizer.json
Where Ideally there should be a single donut_model.onnx file.
Thanks in Advance

You can use --monolith flag in optimum export onnx command to force it to export a single ONNX file, but this is not recommended for encoder-decoder models like Donut
  --monolith            Forces to export the model as a single ONNX file. By default, the ONNX exporter may break the
                        model in several ONNX files, for example for encoder-decoder models where the encoder should be
                        run only once while the decoder is looped over.

How do I run inference using the donut_model.onnx? Huggingface's solution wants the decoupled .onnx files.


Fix DNX Core testing on Windows

avoid cmd /C dnvm.cmd ... because cmd does not report .cmd script exit code correctly
@moozzyk reported problem in discussion of PR #299

/cc @pranavkm
FYI @moozzyk @pakrym

207e97d


added Rusthon to languages list for syntax highlighting in md.

fixes syntax highlighting for rusthon code in markdown on github.
a = [1,2,3]

should have same syntax colors as above.
a = [1,2,3]

rusthon project page:
https://github.com/rusthon/Rusthon

Hi @hartsantler! I'm not from GitHub but I can help you build your pull request ;)
First, to have Rusthon code highlighted in Markdown files you will need to find a grammar for it. It can be a Sublime Text package or a TextMate or Atom bundle. If you find one you can test it with Lightshow. Also, do you have a longer example of Rusthon code to test any grammar we could find?
Apart from that, is Rusthon associated to any file extension?

Hi @pchaigno test grammar and literate code page is here: https://github.com/rusthon/Rusthon/blob/master/examples/example-project.md
Can the normal Python grammar be used? The syntax is almost the same it looks fine, and uses .py as file extension.

If the syntax is the same as Python and you want to be able to highlight code snippets in Markdown documents, you could just add rusthom as an alias for Python. It would be easier to build a pull request for that. What do you think?

adding rusthon as an alias for Python will work much better.
Where do i add that?

You can update this pull request to revert your changes and just add the following for the Python entry in languages.yml:
aliases:
  - rusthon

Don't hesitate to tell me if you want more details.

/ cc @bkeepers

Here is another example page where the rusthon fenced code block is not syntax highlighted.
https://github.com/rusthon/Rusthon/blob/master/examples/hello_threejs.md

:+1: thanks @hartsantler. This should go live when we next cut a linguist gem (hopefully today).


Add missing arguments on handle_request_parsing_error

Add missing arguments on handle_request_parsing_error to properly handle validation errors on the API
Probably missing as a result of the upgrade of marshmallow

Codecov Report

Merging #309 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #309   +/-   ##
=======================================
  Coverage   64.34%   64.34%
=======================================
  Files          48       48
  Lines        3200     3200
=======================================
  Hits         2059     2059
  Misses       1141     1141

Impacted Files
Coverage Δ

relay/api/app.py
22.47% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


chore(main): release homestar 0.6.2

:robot: I have created a release beep boop
0.6.2 (2023-11-17)
Bug Fixes

add workflow files to npm (de00ae0)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/fission-codes/stack/releases/tag/homestar-v0.6.2 :sunflower:


pylint: Fix issues related to R0201 and remove C0115 and C0116 from disabled list

This PR fixes the following pylint issues:

R0201 no-self-use
C0115 & C0116 seem to already have been resolved

@mpeters Thanks but let's run the tests first. Why are they not running?

@stefanberger C0115 & C0116 are not really solved just not enabled in pylint. It seems like that another option is already disabling them. Manually enabling them returns a lot of warnings.


The Application Was Unable To Start Correctly (0xc0000007b)

Tried to start a hello world code got this.

What does your code look like?

PLATFORM: Windows
Code:
func main() {
print "Hello World!"
}

Haha so the interpreter is very strict on syntax. That means that your code:
func main() {
	print "Hello World!"
}

Should actually be:
func main()
{
	print "Hello World!"
}

That should work! The curly brackets need to start on a new line, which will be changed in the future to also start on the same line.

Oh! I'm don't usually using this kind of syntax... Thanks!


Update nbs/README.md

I did some marketing for you. Let me know if you think it is OK (and especially accurate).

Eh, on second thought we can always fix it asynchronously (still tell me what you think)

lgtm


[fb-survey] Describe and link contingency rollup files

Document contingency rollup files.

Is there any reason to provide access to the non-rollup files? The rollup files seem like they are strictly better.

RE usefulness: If someone already has all the historical files, they could want to download only new data, although the rollup files, especially in compressed form, aren't huge.

I'd advertise the rollup files first, and stick the non-rollup link somewhere obscure on the page.

I'll do this for now, but I can remove the individual files entirely if you think they definitely won't be useful.


Fixup

Requests for Serafin to host project on portfolio site until fork is formed.
Removes inappropriate messages
Adds contributors information to package json

Looks good dood, feel free to merge if you think it's ready.


Include file metadata in simple file picker

It would be useful if the simple picker included some metadata like file modified date and size. It could just be added to the "detail" of the row (gray text on the right). Also would be useful to sort by these fields.

Noble.err.global (backlog.time.co)

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


[Bitcoin & Indexer] Inscription compatibility and unify state for indexer and statedb

Summary

Add inscription number, sequence number and curse flag to ensure inscription compatibility
Remove state in indexer store, and get state from statedb to unify state for indexer and statedb.
Remove rooch_queryGlobalStates and rooch_queryTableStates API

Closes #issue

@pause125 you can continue https://github.com/rooch-network/rooch/pull/1670
@popcnt1 Inscription Sturct has changed


Create datasets

We now have enough data through 2020/12 till 2020/03 to divide it into separate datasets per league, to make handling easier. Most important are:

Heist Softcore
Heist Hardcore
Ritual Softcore
Ritual Hardcore

Goals
Gather the following metrics per dataset:

[x] min(created_at), max(created_at), count(1)
[ ] list of account_name, character_name tuples with min/max created_at

Can't do that, as Ritual league alone is 700GB as .csv 🤦🏻


Update ms-confluence-jira-plugin-adminguide.md

updated supported version to 7.19.0

Docs Build status updates of commit d0898dd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/active-directory/saas-apps/ms-confluence-jira-plugin-adminguide.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@jeevansd

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

#sign-off


marathon doesn't support overlay network

would you please provide compatibility with docker overlay network?
i can't access container running on machine if i am running on overlay network.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2598. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


particle effects bug

I split the atom(left,up,etc),particle effects only shows on one view,switch to the another view the particle effects stays on the former edit view.
atom:1.7.2
active-power-mode:0.4.1

already fixed, use the latest version

Thanks a bunch,it works!


added preview and github pages action

This PR Contains
Adds a custom workflow to deploy docs using npm
Adds an action to install, build and store the build as an artifact
Adds a workflow step to put up a GitHub comment on respective PRs after deploying

cc @nehagup

CC @nehagup
This CI  is track web performance
And this is directly connected to lighthouserc.json to define the Lighthouse configuration.

This is working like this
Cc @nehagup


Scenario of Multiple SLA KPI Items for SLA not covered

I have defined multiple SLA KPIs as described here under field service settings->Field Service SLA Configuration.
But in a scenario say I have 2 KPI valid for a work order and the Time From Promised and Time to Promised are being captured from the oldest created Field service SLA configuration .
This is no where mentioned, the general expectation in this kind of scenario (if allowed) it should take the longest SLA KPI and populate these values, unlike this ambiguous result.
Hope this will be documented/fixed.

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

ID: 78ed36cc-bf48-59b0-8c43-5214491b32c1
Version Independent ID: 17b7d56f-24f5-41f7-6dcd-55c37bf5b067
Content: Service Level Agreements (SLAs) for Work Orders
Content Source: ce/field-service/sla-work-orders.md
Service: dynamics-365-customerservice
Technology: field-service
GitHub Login: @FieldServiceDave
Microsoft Alias: daclar

Hello @pavansarma93  - thank you for sharing the feedback and apologies for the delay in getting back to you.
We're looking into this issue and will circle back with an update.
Thanks!
Michael

An updated version of the article gets released shortly. Please reopen the issue it still is a concern. Thanks!


No implementation for AddAssign(+=), SubAssign(-=), and MulAssign(*=) operators

It isn't requires much code, just for vectors
impl<T: SignedNum + BaseNum> AddAssign for $t<T> {
  fn add_assign(&mut self, rhs: Self) {
    self = self + rhs;
  }
}

I was just looking for DivAssign v /= v2.


How to Set include_image_language  in  GetMovieAsync

could anyone provide an example of how to set include_image_language = en,null in
Movie movie = client.GetMovieAsync(47964, MovieMethods.Images);

I don't believe it's possible to specify that kind of language.
You can submit a pull-request to implement an option though :).


Failure with bool arrays during Partition when Training Llama-2

I encountered an error with named_jit(self._init_model_and_opt_state, self.parameter_axis_mapping)(model_init) when training Levanter's Llama. The error message was ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all().
I spent some debugging with llama_nano of https://github.com/stanford-crfm/levanter/pull/298. I haven't found the exact root cause yet, but I had a few observations:

As @dlwh points out, the crash at bool(self.array) is likely not the root cause, but it should be part of the entire error. With a proper fix to bool() on 2D array properly, I was able to finish training.
The error happens immediately after the following line. jnp.equal(x1, x2) outputs a bool array of shape [2048, 8], which comes from cos_cached and sin_cached of this line.

  File "/home/ivan/levanter/src/levanter/trainer.py", line 203, in initial_state
    model, opt_state = named_jit(self._init_model_and_opt_state, self.parameter_axis_mapping)(model_init)
  File "/home/ivan/haliax/src/haliax/partitioning.py", line 333, in f
    out, out_static = cached_pjitted_fun(dynamic_donated, dynamic_reserved, static)
  File "<string>", line 4, in __eq__
  File "/home/ivan/haliax/src/haliax/core.py", line 478, in __eq__
    return haliax.equal(self, other)
  File "/home/ivan/haliax/src/haliax/wrap.py", line 100, in binop
    return NamedArray(op(a.array, b.array), axes)
  File "/home/ivan/haliax/src/haliax/__init__.py", line 632, in equal
    return jnp.equal(x1, x2)  # type: ignore

The error is more related to partition. Without partition, this error won't be triggered.

For reference, here's the full tracer of my original error:
Traceback (most recent call last):
  File "/home/ivan/levanter/src/levanter/main/train_lm.py", line 187, in <module>
    levanter.config.main(main)()
  File "/home/ivan/levanter/src/levanter/config.py", line 84, in wrapper_inner
    response = fn(cfg, *args, **kwargs)
  File "/home/ivan/levanter/src/levanter/main/train_lm.py", line 118, in main
    state = trainer.initial_state(training_key, model_init=lambda: config.model.build(Vocab, key=model_key))
  File "/home/ivan/levanter/src/levanter/trainer.py", line 203, in initial_state
    model, opt_state = named_jit(self._init_model_and_opt_state, self.parameter_axis_mapping)(model_init)
  File "/home/ivan/venv310/lib/python3.10/site-packages/haliax/partitioning.py", line 333, in f
    return cached_pjitted_fun(dynamic_donated, dynamic_reserved, static)
  File "<string>", line 4, in __eq__
Traceback (most recent call last):
  File "/home/ivan/levanter/src/levanter/main/train_lm.py", line 187, in <module>
    levanter.config.main(main)()
  File "/home/ivan/levanter/src/levanter/config.py", line 84, in wrapper_inner
    response = fn(cfg, *args, **kwargs)
  File "/home/ivan/levanter/src/levanter/main/train_lm.py", line 118, in main
    state = trainer.initial_state(training_key, model_init=lambda: config.model.build(Vocab, key=model_key))
  File "/home/ivan/levanter/src/levanter/trainer.py", line 203, in initial_state
    model, opt_state = named_jit(self._init_model_and_opt_state, self.parameter_axis_mapping)(model_init)
  File "/home/ivan/venv310/lib/python3.10/site-packages/haliax/partitioning.py", line 333, in f
    return cached_pjitted_fun(dynamic_donated, dynamic_reserved, static)
  File "/home/ivan/venv310/lib/python3.10/site-packages/jax/_src/traceback_util.py", line 166, in reraise_with_filtered_traceback
    return fun(*args, **kwargs)
  File "/home/ivan/venv310/lib/python3.10/site-packages/jax/_src/pjit.py", line 250, in cache_miss
    outs, out_flat, out_tree, args_flat, jaxpr = _python_pjit_helper(
  File "/home/ivan/venv310/lib/python3.10/site-packages/jax/_src/pjit.py", line 158, in _python_pjit_helper
    args_flat, _, params, in_tree, out_tree, _ = infer_params_fn(
  File "/home/ivan/venv310/lib/python3.10/site-packages/jax/_src/pjit.py", line 775, in infer_params
    return common_infer_params(pjit_info_args, *args, **kwargs)
  File "/home/ivan/venv310/lib/python3.10/site-packages/jax/_src/pjit.py", line 505, in common_infer_params
    jaxpr, consts, canonicalized_out_shardings_flat = _pjit_jaxpr(
  File "/home/ivan/venv310/lib/python3.10/site-packages/jax/_src/pjit.py", line 973, in _pjit_jaxpr
    canonicalized_out_shardings_flat = _check_and_canonicalize_out_shardings(
  File "/home/ivan/venv310/lib/python3.10/site-packages/jax/_src/pjit.py", line 951, in _check_and_canonicalize_out_shardings
    out_shardings_flat = flatten_axis_resources(
  File "/home/ivan/venv310/lib/python3.10/site-packages/jax/_src/pjit.py", line 878, in flatten_axis_resources
    errors = prefix_errors(axis_tree, dummy_tree)
  File "/home/ivan/venv310/lib/python3.10/site-packages/jax/_src/tree_util.py", line 433, in prefix_errors
    return list(_prefix_error((), prefix_tree, full_tree, is_leaf))
  File "/home/ivan/venv310/lib/python3.10/site-packages/jax/_src/tree_util.py", line 907, in _prefix_error
    yield from _prefix_error((*key_path, k), t1, t2)
  File "/home/ivan/venv310/lib/python3.10/site-packages/jax/_src/tree_util.py", line 907, in _prefix_error
    yield from _prefix_error((*key_path, k), t1, t2)
  File "/home/ivan/venv310/lib/python3.10/site-packages/jax/_src/tree_util.py", line 907, in _prefix_error
    yield from _prefix_error((*key_path, k), t1, t2)
  [Previous line repeated 3 more times]
  File "/home/ivan/venv310/lib/python3.10/site-packages/jax/_src/tree_util.py", line 880, in _prefix_error
    if prefix_tree_meta != full_tree_meta:
  File "<string>", line 4, in __eq__
  File "/home/ivan/venv310/lib/python3.10/site-packages/haliax/core.py", line 590, in __bool__
    return bool(self.array)
  File "/home/ivan/venv310/lib/python3.10/site-packages/jax/_src/array.py", line 257, in __bool__
    return bool(self._value)
jax._src.traceback_util.UnfilteredStackTrace: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

ugh, i can see the problem. it's sorta jax bug or an equinox bug. the short answer is that we can't actually make arrays be static...

This issue is solved with https://github.com/stanford-crfm/levanter/pull/300

i'm gonna reopen as a reminder to file a bug with JAX for better error handling


Update asides styling to the design recommendation

Summary
Removing all headers from partials asides and updating to the recommended design styling. All titles have been added to the body content and have been vetted for clarity.

I'm going to close this PR until we have a chance to review content!


AccessViolationException in BootStrapper constructor

Hi,
After last changes in BootStrapper class I'm getting AccessViolationException in contructor in this line of code:
SystemNavigationManager.GetForCurrentView().BackRequested += BackHandler;
The same problem occurs in Hamburger project template.

This the NuGet version or the GitHub version? This x86 or ARM? This Debug or Release?

I see this was the old GitHub version. Could you re-base and try again?

Hi @JerryNixon
Last changes in BootStrapper where events are wrapped in loaded method after window is created did the trick. I will check it later in my own project but it should be fixed now.

New bootsrapper is working good in my project.
Thanks @JerryNixon