xmonad-with-packages broken by enableSeparateDocOutput

Issue description
Separating the doc output in Haskell packages has broken xmonad-with-packages. wrapper.nix is looking for the man pages of all the installed packages in the out output of ghcWithPackages but ghcWithPackages does not have a share/man subdirectory.
Steps to reproduce
Install xmonad-with-packages and observe that $out/share/man is a dangling symlink into ghcWithPackages:
$ readlink share/man
/nix/store/2mhnagikzaild0i9fr6zyf2q1qqcjh49-ghc-8.0.2-with-packages/share/man
$ ls -L share/man
ls: cannot access 'share/man': No such file or directory

You might need to install it in a separate profile to avoid an error like:
collision between directory ‘/nix/store/c09d8sch4kxnh1sim7p5mzf3nq65xkg9-emacs-with-packages-25.2/share/man’ and non-directory ‘/nix/store/0a3ap1j8rlj4ipkcbfngxqywa7834wd0-xmonad-with-packages/share/man’ at /nix/store/64jc9gd2rkbgdb4yjx3nrgc91bpjj5ky-buildenv.pl line 57.

Potential fixes

The generic haskell builder could set outputMan to bin. This would ensure that man pages are always installed alongside their binaries.

wrapper.nix could disable the separate doc output for xmonad. This would ensure the man page for xmonad gets installed, but not man pages for other packages. See https://github.com/NixOS/cabal2nix/pull/290 for discussions on making sure that disabling the doc output does not break the postInstall script.

Technical details

System: Up-to-date Arch
Nix version: 1.11.10
Nixpkgs version: master

Ping: @cleverca22

Fix 2. is off the table: disabling multiple outputs is not allowed for Haskell packages.

Another option is to put the haskellPackages man pages in their own output. Doing so will ensure that the output of the man pages does not change if haddock is turned on or off; the default value for enableSeparateDocOutput is doHaddock. If I am not mistaken, this would entail adding an enableSeparateManOutput flag for packages with a man page, and replicate some of the logic for enableSeparateDocOutput.
Once this is done, we can create the doc and man output for ghcWithPackages if at least one of the packages (including ghc itself) has a doc or man` output.
From there, wrapper.nix could use the default output to find xmonad, ghc, and xmessages, and the man output to find the xmonad man page.

Is there a work around for this? I just did a nix-channel --update && nix-env -u and my xmonad-with-packages install is running into a similar collision the OP mentioned.
Use of uninitialized value $stat2 in numeric ne (!=) at /nix/store/yc66k23wjs8lb3b1pr0vlray3p9vh45n-builder.pl line 74.
Use of uninitialized value $stat1 in numeric ne (!=) at /nix/store/yc66k23wjs8lb3b1pr0vlray3p9vh45n-builder.pl line 74.
collision between `/nix/store/h0p1in9zy3byvbvw3xl96p504dlmk5zy-xmonad-with-packages/share/man' and `'

Happens to me to on NixOS too. I follow the nixos-unstable channel.

Seems like it's going to take quite a long time to be fixed. We really need a workaround here. I tried building a patched version of xmonad using @dudebout 's proposed patch upstream (https://github.com/dudebout/xmonad/tree/patch-1) but it is not enough since cabal2nix will also need patching. Any idea for the short term?

I literally just built a NixOS generation from the master git repo and get no issues with XMonad:
λ nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
"17.09pre113137.1eb48d3b08"
λ cd $(dirname $(readlink -e $(type -p xmonad)))
λ pwd -P
/nix/store/jkclkf008gjdpb39lvxjl94dpcilibx9-xmonad-with-packages/bin
λ readlink ../share/man
/nix/store/b5c4blvs832jyjx383vf45xmgyn7shlp-ghc-8.0.2-with-packages/share/man
λ ls -la ../share/man
lrwxrwxrwx 77 root 31 Dec  1969 ../share/man -> /nix/store/b5c4blvs832jyjx383vf45xmgyn7shlp-ghc-8.0.2-with-packages/share/man
λ ls -la ../share/man/
dr-xr-xr-x - root 31 Dec  1969 man1

XMonad is part of my configuration.nix:
  services.xserver.windowManager.xmonad = {
    enable = true;
    enableContribAndExtras = true;
    extraPackages = with pkgs.haskellPackages; haskellPackages: [ xmobar ];
  };

Funny it works from configuration.nix with nixpkgsVersion "17.09pre113138.96457d26dd" with your configuration. So why does it break in home-manager… I'm gonna check the home-manager sources.

I do not experience the issue anymore on master. I tried to figure out what changed but was not able to do so.

This bug stopped being reproducible for me as well.


Is ON CONFLICT DO UPDATE; possible?

Was reading up on how ON CONFLICT DO NOTHING; works in the PostgreSQL docs (which is a great addition), and saw that ON CONFLICT DO UPDATE; is also an option, which is effectively an "upsert."
I wonder if that's also useful in a bulk loading context?

Has Django tackled this yet?

Not sure if at the database level, but it's effectively what update_or_create() does.

I don't think ON CONFLICT DO UPDATE; by itself is a thing. ON CONFLICT DO UPDATE SET YOUR_UPDATE_LOGIC; is, though. (As far as I know, at least)
Which I find a bit conflicting since the amount of possible logic combinations becomes very large; now the user can choose any combination of expressions, default values and sub-queries per every column to be updated, plus a where condition to all that logic.
I definitely think it's a great addition. I just wonder if we'd be better off simply leaving an empty slot to which the user can add its own update logic, which is and idea I also kind of dislike.

I would love to see this feature. We import about 11 million records a day and COPY is by far the fastest.
Dango Postgres Extras currently handles upserts.
https://django-postgres-extra.readthedocs.io/manager/#upserting

@rdmurphy - Thanks a ton of the snippet. We forked the project and got everything going.
We also added temp_table_name_suffix because this will be used in Airflow with Celery, and also added static_mapping_on_conflict to meet our needs.

Here's a look at how django-postgres-extra handles their INSERT and UPDATE statements. They subclass from Django's SQLCompiler and its derivatives. I have given the SQLCompiler a few reads and I can't quite comprehend how it works. I understand its purpose, I just seem to get lost in the code.
It seems that extending Django's functionality is the best practice, however django-postgres-copy went a different route from the beginning and it would require a major rewrite of the library to subclass from the SQLCompiler.
I'm definitely not an expert in the matter. The above is simply my impression after trying to figure this out.

Any chance this is on the roadmap? Looks like it would be a great addition to the lib.

I'm putting together a PR that addresses this as well as #122; I believe my approach is sufficient to avoid concerns with raw SQL being passed as args/kwargs. I've got the core of the code working well although I need to add tests (admittedly, not my strongest suit).
@palewire Since 2.7.2 requires Django 4, does that mean you're okay with Python 3.8 coding, e.g. walrus operator, or would you prefer those left out?
Hoping to submit the PR by Sunday or Monday.

This feature would be great for my use case too : keeping imported data up-to-date with the source (daily synchronization).
I would not use a on_conflict argument but just a update_key argument taking the column (or tuple/list of columns) that are part of the unique constraint to use as the update arbiter. We could also just accept True as an argument, in this case the unique constraint would be inferred from Django model (an exception would be raised if there are several unique constraints).
An optional update_columns parameter could take the list of columns to be updated, the default being all columns except static ones.

Or maybe a simple update argument that could accept True (because update_key=True does not make much sense to me).
update_key and update_columns (both taking columns) would then be optional arguments when update=True is specified.
What do you think?

@ipamo What about a simple on_conflict param that defaults to None, but accepts either 'update' or 'ignore' (None would proceed without any ON CONFLICT logic, and 'ignore' would replace the current ignore_conflicts param)?
I designed my original PR to mirror the actual logic of the ON CONFLICT as close as possible (hence passing a dictionary as on_conflict with keys for target and action), but I can see the benefit of simplifying things a bit and detecting any constraints instead of forcing the developer to name them specifically.
@palewire Any thoughts?

Using on_conflict as you suggest has the benefit of having a single argument for both cases (ignore and update), which is great, but :

This will make the existing ignore_conflicts obsolete.
I'm not sure all users would make a relation between the idea of a conflict and the update. I see the idea of the conflict as Postgres INSERT query "internals" (probably also because of my MSSQL backgrounds where upserts are done with a MERGE command without any idea of a conflict). To me, just using update=True is much better semantically and also easier to remember.

The second point is obviously a quite personal reason but I prefer to state it as others might have the same impression.
Also, I think we need an easy way to specify the key (if there are several unique constraints) and the updated columns. Hence update_key and update_columns (which we could specify as implying update=True).
I also like the idea of static_mapping_on_conflict which I saw above. I would name it static_mapping_on_update (because of the above reasons + it is not used at all in the "ON CONFLICT DO NOTHING" case).

Regarding static_mapping we could also find a way to avoid specifying a second parameter ? That could be good because for many static columns we may want to do the same thing, and we would not easily know/forget whether we have to put the same values in both parameters.

Regarding static_mapping we could also find a way to avoid specifying a second parameter ? That could be good because for many static columns we may want to do the same thing, and we would not easily know/forget whether we have to put the same values in both parameters.

Idea: using suffix in dict key:+ for inserts only, ~ for updates only.
Use case 1:
{
     "created+": datetime.now(),
     "updated~": datetime.now(),
}

created would be set only at insertion
updated would be None at insertion

Use case 2:
{
    "mycolumn": "X",
}

Compatible with existing specification: column is always set to the same value. Static columns would not be included in the updated columns by default (so no change on updates).

Use case 3:
{
    "mycolumn": "X",
    "mycolumn~": "Y",
}

Column set to X at insertion and Y at update.

Idea: using suffix in dict key:+ for inserts only, ~ for updates only.

Well I realize it's probably too complex. static_mapping_on_update is probably better?
We would have to document clearly that:

Columns in static_mapping are not updated if they are not in static_mapping_on_update
Columns in static_mapping_on_update are inserted with null/default value if they are not in static_mapping.

Let me know what you think.

Personally I think your concepts dealing with static_mapping might be a bit too complicated. Also, I feel like using an on_conflict argument might be best this is, after all, a postgres-specific package so it seems appropriate to utilize postgres-specific language even though other databases might use e.g.,"merge" or "update/upsert".
Furthermore, while I understand your hesitation of using labels ('update' or 'ignore'), if we used e.g. booleans, then it would be possible to have update=True, ignore=True, which would be unclear, as opposed to just raising a ValueError if on_conflict is not one of None, ignore, or update.

I understand your points too, even if I stay with my personal preference ;)
How would you deal with specifying the update key / columns ?

Well, my PR #156 uses a dictionary such as
on_conflict = {
  'action': 'update',
  'target': <column name or constraint name>,
  'columns': ['update_col_1', 'update_col_2'],
}

This follows the convention for the ON CONFLICT cause outlined here: https://www.postgresql.org/docs/current/sql-insert.html


[A11y] Address A11y issues in Model Serving

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior

Model Serving -> Deploy Model -> Document should not have more than one banner landmark
Model Serving -> Deploy Model: The screen reader doesn't read the form labels and only reads "edit text" for the input field without specifying what the edit fields are for.

Model Serving -> Delete Model -> Document should not have more than one banner landmark
Model serving -> Delete model -> Screen readers can read content outside the modal dialog.
Model serving -> Delete model -> The screen reader doesn't read the form labels and only reads "edit text" for the input field without specifying what the edit fields are for.
Model Serving -> Delete Model: Form elements must have labels

Model Serving -> List: Table header text should not be empty
Model Serving -> List: Help icons not VO accessible and need aria-labels
Model Serving -> List: The screen reader doesn't read the form labels and only reads "edit text" for the input field without specifying what the edit fields are for.

Closing as everything listed here has already been resolved (see related JIRA issues: RHODS-6419, RHODS-6976 or has a PR up for the related change. Table header text and help icons will be resolved in #1125


Add pre-commit configuration with black and run in GHA as listing

@jcfr I added pre-commit and black here. You mentioned blacked-docs. I have not used that before from the description it seems for just code inside python comments, so I'm not sure it needed here.

For new project I also suggest integrating ruff instead. I can provide an example of config or due a follow up PR.


[D2] 4.1 Principle 1

TODO: Principle 1 of SOLID principle.
To be completed on

Identified Single Responsibility Principle violated for my QuarterlyReport Class.
Currently QuarterlyReport Controller is responsible for mainly:

Pulling project progress data via iProgress interface from M2.
Compiling data for project progress.
Perform data analysis on compiled data.
Generation of report.

Therefore there are 4 reasons to change if modifications is required in the class:

Ways to interface or format of data from M2
Ways or timeframe to compile progress data (Quarterly to Annual)
Metrics/algorithm change on how analysis is performed
Different format or output is required to be changed

As a result, the responsibilities should be split into 4 different classes namely:
DataProvider

Interface via iProgress from M2 and pull required project progress data.

DataCompiler

Takes data from DataProvider and compiles it in required timeframe and format.

DataAnalysis

Takes data from DataCompiler and perform data analysis on data.

ReportGenerator

Takes data from DataCompiler and DataAnalysis to put together a report and prepare it for export.


remove Windows (C#) support

updated:
Windows is no longer supported for reasons discussed in #23 & #43
Moving the existing Windows C# template into unsupported-platforms, will continue to be validated by the test suite for now (at least).
Moving "unsupported-platforms" tests very carefully to preserve the test coverage while avoiding excess test snapshot churn in the git history.
Removing the uuid package dependency which is no longer needed (unless it is used for a supported platform again, someday).
Further discussion would be welcome in a new issue on GitHub.
✅ npm test ok
✅ able to generate library module with an example, tested on Android & iOS
✅ able to generate view module with an example, tested on Android & iOS
closes #23
closes #43

Merged with the additional update notes from 8194252 edited & combined with the general change notes from ddd6c21, along with some other minor updates to the combined commit message.


[Question/Help]- Bull board with nginx + express server

Hi, I am actively using bull board with expressJS app but I am unable to view bull board of production server running behind nginx reverse proxy. I am able to view bull board locally only. Am I missing any configuration for bull board to work with nginx?
Nginx config:
upstream myserver {
  server localhost:5000;
  server localhost:5001;
}
server {
        server_name service.mydomain.com www.service.mydomain.com;
        index index.html index.htm;

        location / {
                try_files $uri /index.html;
        }

        location /api {
                proxy_set_header Host $http_host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                proxy_pass http://myserver/api;
        }
}

server.js:
const { createBullBoard } = require('@bull-board/api');
const { BullAdapter } = require('@bull-board/api/bullAdapter');
const { ExpressAdapter } = require('@bull-board/express');

const serverAdapter = new ExpressAdapter();
serverAdapter.setBasePath('/api/admin/queues');

createBullBoard({
    queues: [new BullAdapter(webQueue)],
    serverAdapter: serverAdapter,
});

const app = express();

app.use(compression());
app.use(express.json());
if (process.env.NODE_ENV === 'production') {
    app.use(cors(corsOptions));
} else {
    app.use(cors());
}

app.use('/api/admin/queues', serverAdapter.getRouter());

Hi,
Do you get the rendered html? can you navigate a static file?

Hi, Do you get the rendered html? can you navigate a static file?
I think that the /api part is doubles the /api, therefore, it is not going to the correct path...
Try this
location /api/ { //<-- make sure that it is the correct path, otherwise /api-anything will match as well
    proxy_set_header Host $http_host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

    proxy_pass http://myserver/api/; //<-- added last slash, this means that you ignore the /api/ from the original request path
}

I don't think any changes are required on nginx side. Because I am using /api for every route on express server and it is working fine. eg:

app.use('/api/admin/queues', serverAdapter.getRouter());

app.post('/api/job', async (req, res, next) => { }))

app.post('/api/schedule-job', async (req, res, next) => { }))

I am not getting rendered html when I navigate to service.mydomain.com/api/admin/queues

What do you get?

Hi, would u like to chat in Discord?
felixmosh#0178

Hi, would u like to chat in Discord? felixmosh#0178

Ok I will send message on discord. Thanks a lot

HI did you find any solution to this?
If yes can post it here, please?
I think I am facing the same issue with nginx + express server

It solved for him, it was an issue with nginx config.
Can you open a new issue that describes your issue?

ok


Notation with Liquid

Hey !
Is it normal I have to write for example : prismic.layout.en-us.0.data.main_navigation instead of prismic.layout["en-us"].data.main_navigation as mentioned in the documentation ?

Maybe! I'm not familiar with liquid the documentation is written in nunjuck ☺


"No service or pod" text is not centered for Kubernetes

Version - master 3/4
Steps to Reproduce:

Create a new namespace in kubernetes environment
Go to Services or PODs page

Results: The "You do not have any Services (or Pods) yet." Text is not centered
Expected: Should be centered

resolved in https://github.com/rancher/ui/pull/541

Version - master 3/16
Verified fixed

The "You do not have any Services" text is still not centered.  I deleted the kubernetes service, but it recreates to fast for me to get a picture.

now in https://github.com/rancher/ui/pull/542

Version - master UI 3/18
Verified Fixed


traning new data

hello, in ur SPOTER paper, "pose data could be substituted by any other pose estimation framework", but how to change the pose formats produced by another pose estimators like OpenPose, MMPose, and MediaPipe into the correct format that could directly input to the SPOTER?
Looking forward to your soonest reply.

Sorry, this is currently not supported. Hope to add this in the near future!


Resolve: Migrate to Vite

Main changes

[x] Introduce Vite - to build stuff faaaast
[x] Introduce Vitest - to run tests faaaaaaast

Other changes

[x] Get rid of CRA/craco
[x] Use npm only to get rid of yarn
[x] Update gh/workflows
[x] Dev build npm run dev
[x] Production build npm run build
[ ] Package build
[ ] Test CI to create binaries
[ ] Remove dependency of @devexperts/rx-utils (build failed - no cjs module - )
[x] Update eslint settings / rules
[ ] Update dependencies
[x] Update README

Close #1993
Close #1991

npm run dev + npm run test are wokring well so far, but npm run package ends still in an error in Electron renderer thread.
Current error:
Uncaught TypeError: Super expression must either be null or a function
    at _inherits3 (vendor.40c3d0d6.js:119799)
    at vendor.40c3d0d6.js:120116
    at vendor.40c3d0d6.js:120174

It seems @binance-chain/javascript-sdk is the reason for it ^ after bundling with Vite (Rollup). Or if this blog post is true, then it might be a circular dependency anywhere.


Error logs when exporting: ENOENT No such file or directory

Describe the bug
When running npm run build there are error messages "No such or directory, unlink." The build still completes but indicates on completion that: Cache assets: 0, NonCache assets: 2471, Error assets: 89
To Reproduce
Steps to reproduce the behavior:

npm run build
Error logs display the following messages:

[Error: ENOENT: no such file or directory, unlink '/opt/render/project/src/out/_next/static/chunks/images/images/team/rob_2048.webp'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'unlink',
  path: '/opt/render/project/src/out/_next/static/chunks/images/images/team/rob_2048.webp'
}

Expected behavior
I would just like to understand how to approach resolving this error. The error message is not entirely clear to me. This directory does exist within the codebase. And there are also image files within that directory.
Screenshots

Desktop (please complete the following information):

OS: MacOS Sonoma 14.5
Browser: Arc
Version: Version 1.49.0 (51346)
Chromium Engine Version 126.0.6478.127

Additional context
My next.config.mjs is set up as follows:
All of the images within the codebase are stored in /public/images
/* eslint-disable @typescript-eslint/no-unsafe-call */

import createMDX from "@next/mdx";
import withExportImages from "next-export-optimize-images";
import remarkGfm from "remark-gfm";

/** @type {import('next').NextConfig} */
const nextConfig = await withExportImages({
  // Configure `pageExtensions` to include MDX files
  pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"],
  // Optionally, add any other Next.js config below
  output: "export",
});

const withMDX = createMDX({
  // Add markdown plugins here, as desired
  options: {
    remarkPlugins: [remarkGfm],
    rehypePlugins: [],
  },
});

export default withMDX(nextConfig);

Many thanks in advance for any advice!

I'm getting the same issue
Versions

'next': 14.1.4
'next-export-optimize-images': 4.5.0
node: 21

I published a fix for this in #1037 which works well for me.


[sample_vpp] Remove unused code

This part of MCTF code didnt work, because bAttachMctfBuffer didnt set in code below.

Looks ok. But I have several questions. It was added here for some purpose. What tools do we use to test MCTF (smt / transcoder)? And how hard would be to fully enable support of MCTF to this sample if we decide to do that?

It was added here for some purpose. And how hard would be to fully enable support of MCTF to this sample if we decide to do that?
Yes. But the problem is the efforts apparently were not completed. Even command line parsing doesn't have per frame MCTF setting support. Now we can't finish it without understand what original idea was ... IMHO, better to remove this code.

SMT, by the way, has handling of per frame MCTF parameters.

@mgonchar btw, sample_vpp support MCTF
https://github.com/Intel-Media-SDK/MediaSDK/blob/60211e10218d56e8f2e134ad5202f1da925d263e/samples/sample_vpp/src/sample_vpp_config.cpp#L96

@AntonGrishin but only with default parameters?

@mgonchar in block, which I provide we set params which we spicified.


Remove concept of liveCourseAccess from Course Introduction COmponent

Overview
We used to have a concept of a "Live course".  This was a course that was being delivered live rather than being available online for everyone at any time. This concept has been retired and we want to remove it from the code to simply. This ticket is to remove the concept of liveCourse from the CourseIntroduction component.
Action Items

[ ] Remove liveCourseAccess concept from the CourseIntroduction component. This includes courseLiveNow or courseLiveSoon booleans.
[ ] Check everything looks right on course page where the component is rendered
[ ] Run cypress tests to ensure that everything is working.

/assign it to me :)

While creating partner accouts for the local bloom users env variables on the admin/dashboard route I can't select any partner nor I'm able to create partner account.

@druxvh thank you for all your efforts so far. Have you seen the contributor wiki? https://www.notion.so/chayn/Chayn-Tech-Contributor-Wiki-5356c7118c134863a2e092e9df6cbc34?pvs=4#eb2e24de94bd451f8683abe496656013. There are instructions on how to seed the database.
let me know if you have any more questions!


Do not change page on logout

Complements the fix to #3089 (for the logout action)

It is not guaranteed you still have access to same page after logout.

On August 12, 2016 6:48:27 PM CEST, "无闻"<EMAIL_ADDRESS>wrote:

It is not guaranteed you still have access to same page after logout.

Yes, and it may be confusing. But so it is when the url to an unaccessible repo is given. I think the confusion should be reduced enhancing the response page, as it currently is a 404 not found wheread it should be so mm ething like "forbidden" instead. It is good to stay on the same psge because then a further login would make such page accessible again
--strk;
Sent from device with lame keyboard. Please excuse my brevity.

It is designed to show 404.

For the record, it looks like GitHub behaves exactly as Gogs on signout, that is, it always redirects to the homepage. If Gogs wants to behave exactly the same, this PR can be closed (I don't have a major problem with that)

For the record, so does GitLab and BitBucket as well :)


Add WebAssembly to CI

Add WebAssembly to CI. This uses a set of machines that have been set up with the right tooling.

I'm not sure how to test this other than to merge it... I was hoping creating the PR would have triggered it.

@dotnet-bot test ci please

@dotnet-bot test ci please

@morganbr - #5846 with some optimizations and fixes to the CI definition just got merged, causing the conflict.
Once the conflict is fixed the CI test should stop failing.

@dotnet-bot test ci please

@dotnet-bot test ci please

@MattGal, any idea what I should do to use the WASM machines here? Setting the OS to Windows.10.Wasm.Open fails with Could not find os Windows.10.Wasm.Open. Setting the version to that fails with Could not find version Windows.10.Wasm.Open of Windows_NT.

@morganbr taking a look.

@dotnet-bot test ci please

@dotnet-bot test this please

@dotnet-bot test this please

@dotnet-bot test ci please

@dotnet-bot test ci please

@dotnet-bot test this please

@dotnet-bot test this please

@dotnet-bot test ci please

@dotnet-bot build and test Windows_NT Debug WebAssembly  please

@dotnet-bot build and test Windows_NT Release WebAssembly  please

@dotnet-bot test ci please

@dotnet-bot build and test Windows_NT Debug WebAssembly please

@dotnet-bot build and test Windows_NT Debug WebAssembly please

@dotnet-bot build and test Windows_NT Debug WebAssembly please

@dotnet-bot test ci please

@dotnet-bot build and test Windows_NT Debug WebAssembly please

@dotnet-bot build and test Windows_NT Debug WebAssembly please

@dotnet-bot test ci please

@dotnet-bot test ci please

@dotnet-bot test Windows_NT_Wasm Debug and CoreCLR tests WebAssembly

It works! I'll just prune out the unnecessary corefx runs and this should be ready to go.

Everything is looking good. Since this is just a couple of tweaks to @crummel's PR now, I'll consider it reviewed and merge.


Problem with formula creation

I am using importexcel to build an analysis workbook for our scan data.  At one point, I add a column to a sheet and set the columns cells to include a formula using this code:
$sheet.InsertColumn(3,1)
 Set-Excelrange -Address $sheet.Cells["C2:C$($sheet.Dimension.Rows)"] -Formula '=IFERROR(VLOOKUP(B2,Inventory!A:A,1,0),"Not In")'

This all works well.  When I open the workbook, the column is there and the formula is calculated correctly.  However, when I close the WB, it prompts me to save (even if I don't make a change) and if I say yes, I get this error:
"One or more formulas in this workbook are longer than the allowed 8192 chars. Cell 'sheet1!c2' contains one of these formulas"
If I look a the formula, it looks fine.  Bus if I edit and save, the error goes away for that cell.  On save I get same error, but for next cell.
\\Greg

So I went into the workbook, "edited" the formula in C2 then copied it all the way down.  When I click close on the workbook, Excel closes without prompting to save!
That aside, I reset the formulas by "editing" and copying on the four tabs like this and the workbook is fine.

Possibly post a repro PS script?

Here you go
TestBook.xlsx
$excel = Open-ExcelPackage "TestBook.xlsx"
    $sheet = $excel.Workbook.Worksheets["sheet1"]
    if ($sheet.cells["A1"].value -ne "No Data"){
        $sheet.InsertColumn(3,1)
        Set-Excelrange -Address $sheet.Cells["C2:C$($sheet.Dimension.Rows)"] -Formula '=IFERROR(VLOOKUP(B2,Inventory!A:A,1,0),"Not In")'
        #Set-Excelrange -Address $sheet.Cells["C:C"] -Formula '=IFERROR(LOOKUP(B1,Inventory!A:A),"Not In")'
        Set-excelrange -address $sheet.cells["C1"] -value "In Inventory" -autosize
    }

    Close-ExcelPackage $excel

Any thoughts on this one?

No idea.

That is weird
If  I just have the Vlookup part of the formula, I get error on save ...
(I don't get prompted for save, but I expect the first time the formula is processed Excel should may see it as change).
If I change the Vlookup to point the same sheet ... no error.
If I define part of the the inventory page as a named range , and use the range name, no error.
I've looked working and broken versions and they look identical, which suggests what ever bug there is in EPPplus is quite subtle.

I can try the named range if I can do it in powershell.
\Greg

From: jhoneill<EMAIL_ADDRESS>Sent: Monday, August 12, 2019 4:48:51 PM
To: dfinke/ImportExcel<EMAIL_ADDRESS>Cc: uSlackr<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dfinke/ImportExcel] Problem with formula creation (#651)
That is weird
If I just have the Vlookup part of the formula, I get error on save ...
(I don't get prompted for save, but I expect the first time the formula is processed Excel should may see it as change).
If I change the Vlookup to point the same sheet ... no error.
If I define part of the the inventory page as a named range , and use the range name, no error.
I've looked working and broken versions and they look identical, which suggests what ever bug there is in EPPplus is quite subtle.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/dfinke/ImportExcel/issues/651?email_source=notifications&email_token=AGEO6ZYXQJZBPH2KG3LFUA3QEHEDHA5CNFSM4IKUZ2RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DZBPA#issuecomment-520589500, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGEO6Z4VV2IUYK6UTJVGT7LQEHEDHANCNFSM4IKUZ2RA.

There is an -AutoNameRange on Export-Excel.
Here is how you can add it. If you do a -PassThru, should be able to get to that collection and add names.
https://github.com/dfinke/ImportExcel/blob/master/Export-Excel.ps1#L1280

I’ll give it a shot.  Thanks!
\Greg

From: Doug Finke<EMAIL_ADDRESS>Sent: Monday, August 12, 2019 8:45:53 PM
To: dfinke/ImportExcel<EMAIL_ADDRESS>Cc: uSlackr<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dfinke/ImportExcel] Problem with formula creation (#651)
There is an -AutoNameRange on Export-Excel.
Here is how you can add it. If you do a -PassThru, should be able to get to that collection and add names.
https://github.com/dfinke/ImportExcel/blob/master/Export-Excel.ps1#L1280
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/dfinke/ImportExcel/issues/651?email_source=notifications&email_token=AGEO6ZYKTPESTNHA663RTLDQEH74DA5CNFSM4IKUZ2RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4EG6II#issuecomment-520646433, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGEO6Z4LGXY3SGJMZCGL2EDQEH74DANCNFSM4IKUZ2RA.

I switched the code over to create and use named ranges and no longer have an issue.
Thanks for the help.
Anything we should report to the EPPlus folks?

I ran into this same issue, still a bug in EPPlus. The link for AutoNameRange above is broken. I ended up using Open-ExcelPackage and calling into the Names.Add function to add named ranges. You can do this on a Workbook or Worksheet.
$excelPackage = Open-ExcelPackage -Path $filePath
$ws_bench = $excelPackage.Workbook.Worksheets['Benchmark']
$ws_ports = $ws_bench = $excelPackage.Workbook.Worksheets['Portfolio']

$excelPackage.Workbook.Names.Add("BenchmarkVLook", $ws_bench.Cells["`$A`$10`:`$G`$18"])
$excelPackage.Workbook.Names.Add("VlookBB25", $ws_bench.Cells["B`$25"])

#Then just use the name in a formula like you would in Excel for a named range.
$ws_ports.Cells["r12:r$rows"].Formula = "(VLOOKUP($H12,BenchmarkVLook,2,FALSE)-VlookBB25)/100"

Just leaving this here in case it helps someone else.

Thanks for the update!
Just a note, less syntax:
$excelPackage = Open-ExcelPackage -Path $filePath

$excelPackage.Workbook.Names.Add("BenchmarkVLook", $excelPackage.Benchmark.Cells['$A$10:$G$18'])
$excelPackage.Workbook.Names.Add("VlookBB25", $excelPackage.Portfolio.Cells['B$25'])


The workflow import user's other project or other user's project, the database table t_ds_process_definition stores data incorrectly

*For better global communication, please give priority to using English description, thx! *
Describe the bug

After the user successfully imported the workflow of user’s  project B  in project A, t_ds_process_definition.project_id is still project B, and project_id should be the project ID of project A
The workflow of importing other users prompts success, but the data is not stored in the database table t_ds_process_definition

1.用户在A项目导入该用户B项目的工作流成功后，t_ds_process_definition.project_id仍为B项目的id，project_id应该为A项目的id
2.导入其他用户的工作流提示成功，但是数据未存入数据库
version
[1.2.0]

Current workflow import:
1 Implementing workflow import under the same project, currently more like a workflow metadata backup mechanism
2 If multi-environment publishing is required, the metadata of users, tenants, etc. in the two environments is completely consistent
Idea:
1 First implement a cross-project workflow import in a DS environment(want to do)
2 Priority recommendations for multi-environment releases come after the dolphinscheduler resource directory and platform permissions design
当前工作流导入的特点：
1 实现同一项目下的工作流导入，目前更像是一种工作流元数据备份机制
2 如果要实现多环境发布，目前需要两个环境的用户，租户等等元数据名称一致
个人想法：
1 先实现一套DS环境中的，跨项目的工作流导入(可以做)
2 多环境发布的优先级建议排在dolphinscheduler资源目录和平台权限设计之后

good,
I agree with your idea.  first implement a cross-project workflow import in a DS environment.

+1


Function's signature with return type void not throw an error when return any values

TypeScript Version:  3.8.3

Search Terms:

Function signature with return type void

Code
let greet: (a: string, b: string) => void;

greet = (name: string, greeting: string) => {
console.log(greeting)
return 1;
}

Expected behavior:
Error:
Type '(name: string, greeting: string) => number' is not assignable to type
'(a: string, b: string) => void'
Actual behavior:
No Errors

A return type of void does not mean the function returns nothing. It means the functions return type should not be used for anything meaningful.
Why are functions returning non-void assignable to function returning void?

So why in case below we have an error?
let greet: (a: string, b: string) => void;

greet = (name: string, greeting: string): **void** => {
console.log(greeting)
return 1;
}

So why in case below we have an error?

Because you're attempting to return something from a function whose result you've declared is always ignored.

Maybe an use case which I described above just called TS "substitutability"?
The TS ability to substitute one thing for another, wherever it make sense.
@ahejlsberg @MartinJohns

@MartinJohns are you sure about that? Perhaps it's up to debate, but it's not how it works in Swift, for example:

I'd expect TypeScript to interpret it as an error too.

@powelski Yes, I'm sure. Doesn't matter how it works in other languages, this is how it works in TypeScript. Not every language behaves the same.


Initial Providers

Spotify
Google Music
Local (native)
Remote
Dropbox
Owncloud

Player built on YouTube: https://streamus.com/

https://developer.spotify.com/technologies/libspotify/
Important! LibSpotify and CocoaLibSpotify are no longer under active development on any platform and are considered deprecated. If you are building applications for iOS or Android, please use the iOS SDK or Android SDK. We hope to be able to provide you with a new library for other platforms during 2016.


Add Switch Statements and Enums to Wiki

I've been coding in E2 for the better part of seven years (E2 was my first programming language and it's the only one I'm fluent in), and I consider myself to be halfway decent at it. I'm always finding new things I didn't know about. Like, for example, when I discovered Switch statements by accident when I forgot to capitalize a variable. Thankfully I was able to figure out the syntax by trial and error!
Switch statements aren't covered on the Expression 2 Wiki page, and I feel like they really should be, because they're a really handy base-level feature like loops and if statements. And the wiki, even as out-of-date as it is in some regards, is still the number 1 resource I use when trying to figure something out in E2, and it's where I point people to when they come to me with questions that I can turn into learning opportunities.
Of course, it's one thing to identify a problem and another to actually propose a solution, so here's my idea for what the section should look like.
[start wiki section suggestion]
Switch Statements
Switch Statements  are a multi-part, expandable code structure that examines an argument and executes code depending on specific cases of that argument's value. They can be a powerful alternative to if-elseif-elseif-[…]-else statements in certain applications.
Syntax:
switch(arg){
    case case_1,

        break
    case case_2,

        break
    default,

        break
}

A Switch Statement works by examining the value of a single argument (arg). Arg can be any datatype. The cases (case_1 and case_2) represent specific, expected possible values of the argument. If the value of the argument matches one of the cases, E2 will execute any code between the appropriate "case" line and the "break" line. The "default" line and its associated "break" line are optional, and will execute when the value of the argument doesn't match any of the specified cases.
Example:
Suppose you have a string variable called "Vegetable". You can only think of three possibilities for Vegetable to be: "carrot", "potato", or "tomato".
For example, Vegetable = "potato"
Suppose you then want Expression 2 to tell the user what kind of vegetable the variable represents.
switch(Vegetable){
    case "carrot",
        print("You have a Carrot.")
        break
    case "potato",
        print("You have a Potato.")
        break
    case "tomato",
        print("A tomato is not a vegetable.")
        break
    default,
        print("I don't know what that is.")
        break
}

What this example will do is examine the value of the string variable "Vegetable". If the Vegetable is "carrot", Expression 2 will print "You have a Carrot." to the chat. If the Vegetable is "potato", Expression 2 will print "You have a Potato." to the chat, and so on. If Vegetable doesn't match any of the predefined cases (as in, it's something other than "carrot" or "potato" or "tomato"), Expression 2 will print "I don't know what that is." to the chat.
You can also do the above example using chained if-elseif-else statements, and the following code will behave identically to the switch statement above:
if(Vegetable=="carrot"){
    print("You have a Carrot.")
}elseif(Vegetable=="potato"){
    print("You have a Potato.")
}elseif(Vegetable=="tomato"){
    print("A tomato is not a vegetable.")
}else{
    print("I don't know what that is.")
}

Ultimately, it is up to the coder to decide whether to use a Switch Statement or a chain of if statements to accomplish the task.
[end wiki section suggestion]
Please let me know if I'm missing any important syntax features here... I figured it out mostly by experimentation so I might not have all the facts. I'll also be more than happy to take suggestions on the wiki section, since, you know, it's not my wiki in the first place.
On the topic of Enums, I didn't even know they existed until I saw them starting to appear in the E2 Helper, and even now they are so infrequently used that I have absolutely no idea how they work and think they are stupid and pointless and my understanding of them is very limited and I feel they might be potentially very useful if I could figure them out. I am aware many languages make use of enumerations but remember, E2 is my first (and for all intents and purposes, ONLY) programming language. So unfortunately, no suggested section for Enums from me. I'll leave that to the people who actually know what they are and how to use them.

Switch statement is already briefly described in the Syntax section of the Expression 2 Wiki page and has been there for a long time as I remember.

Well I'll be a son of a gun, it is. I don't remember seeing it there for a long time though... maybe it's a recent addition?
I still think the description is a little minimal (and confusing) considering how complicated switch statements can be though. Something that complex really deserves its own section in my own humble opinion.
And of course there's still the issue of Enums.

Added constants here to close this https://github.com/wiremod/wire/wiki/Expression-2-Features#Example-2

Thanks


Release azure-cli-storage 2.0.3

Reviewers, please verify the following for this PR:

[ ] The PR title has format Release <component-name> <version>.
[ ] setup.py has been modified with the same version as in the PR title.
[ ] HISTORY.rst has been modified with appropriate release notes.
[ ] If releasing azure-cli or azure-cli-core, __version__ defined in __init__.py should also be modified to match.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2875   +/-   ##
=======================================
  Coverage   63.17%   63.17%
=======================================
  Files         466      466
  Lines       26139    26139
  Branches     3997     3997
=======================================
  Hits        16514    16514
  Misses       8544     8544
  Partials     1081     1081

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 923dfa6...07d903d. Read the comment docs.

Started releasing azure-cli-storage 2.0.3...

Release of 'azure-cli-storage' with version '2.0.3' successful. View at https://pypi.python.org/pypi/azure-cli-storage/2.0.3.

GitHub release created. https://github.com/Azure/azure-cli/releases.


Expose GetType() Method in Aws::DynamoDB::Model::AttributeValue

It would be very helpful to be able to query the data type ahead of time for an Aws::DynamoDB::Model::AttributeValue so that the proper getter function can be invoked to retrieve the value. It appears the underlying Aws::DynamoDB::Model::AttributeValueValue already has a method for this (see here) so it would just be a matter of adding this method to the Aws::DynamoDB::Model::AttributeValue class.

Thanks, we'll consider adding that.

It will be released soon.


[Impeller] OpenGLES MSAA Follow-up: Support < OpenGL 3.0

In https://github.com/flutter/engine/pull/47030, we support off-screen MSAA by using glBlitFramebuffer, which is only available in 3.0+.
Most devices that use native Open GL (not ANGLE, etc) are 2.0, so we need another way of accomplishing this. As a hack, we can modify the HAL:
  // Do not use the resolve_texture, and instead use the MSAA texture only.
  // To preview what this would look like (but should not be implemented this
  // way - would impact the HAL):
  //
  //    @@ render_target.cc @@ CreateOffscreenMSAA
  //    - color0.resolve_texture = color0_resolve_tex;
  //    + color0.resolve_texture = color0_msaa_tex;

... but obviously we don't want to check this in, so we should better understand why this works, and what a backend-specific way we could represent it.

We should be able to do this with a draw insead of glBlitFramebuffer. I don't think we'll need the hack :)


fix(#2417): changing construct name to be dynamic depending on userpool

fix for #2417 on sst2 branch as discussed in https://github.com/serverless-stack/sst/pull/2418#issuecomment-1419258647

Thanks @MoeQuadrat!
I took the change u made in the previous PR and merged it here — https://github.com/serverless-stack/sst/pull/2436
Sorry about the confusion.. will release soon.

Released in v2.0.2


Fix unthrown for View() in main.swift:5

/app/Sources/main.swift:5:10: error: call can throw but is not marked with 'try'
                return View(path: "welcome.html")
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
<unknown>:0: error: build had 1 command failures

Ping @tannernelson getting many exception because people are trying to click on the link to deploy on swifton.me but the app won't compile.

@kimar Thanks for the fix!

I'm looking into getting CI testing setup here so this doesn't happen again.

Hey @kimar it looks like the Vapor Example is no longer building for Swifton. Any ideas what could be causing this?

@tannernelson there's lots of errors being thrown, see: https://serve.swifton.me/1d6765b5aa0947018a1f52178654af700644e8292b65692b7e98fe62173a7f14/logs

Seems to be coming from Mustache... it's a bit messy right now as most frameworks already target Swift 3.0 but it's super flakey

What Swift version is it trying to build with?

Swift version 3.0-dev (LLVM b361b0fc05, Clang 11493b0f62, Swift 24a0c3de75)

Which snapshot date is that?

Supposedly first of march 2016

Ah okay. Vapor only supports the latest snapshot ( impossible to support more than one ) 3-24. If you install swiftenv it will auto detect based on the .swift-version file.

@tannernelson serve.swifton.me now features swiftenv and will download and use the swift version defined in .swift-version if available. What I've noticed now is that builds take significantly longer, also when trying to deploy the Vapor example, the built process was stuck when compiling the JSON package without any useful log output. Seems the build process was either still compiling (for more than 20 minutes) or it was deadlocked for some reason...


Build with Obfuscation crashes due to Filament

Hi all,
I am getting crash if I enable obfuscation in the project.
Using version 1.20.5
E/Filament: Panic     in filament::MaterialParser *filament::createParser(filament::backend::Backend, const void *, size_t):69     reason: Material version mismatch. Expected 17 but received 0.
E/Filament:
A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 8292 (.thk.dev), pid 8292 (.thk.dev)
Has anyone faced similar issue?

Hi,
You can have a look in here for excluded rules: https://github.com/SceneView/sceneform-android/blob/master/core/lib-proguard-rules.pro
Actually they should already been excluded from your project but I don't know why they are not forwarded form the lib.

Does this work?
-keep class com.google.ar.sceneform.** { *; }
-keep class com.google.android.filament.** { *; }
-keep class com.google.ar.core.** { *; }
-keepclassmembers class com.google.ar.sceneform.** { *; }
-keepclassmembers class com.google.android.filament.** { *; }
-keepclassmembers class com.google.ar.core.** { *; }

Got the same error @RGregat.

Can you checkout 1.20.4 and test?
Is the error thrown without obfuscation?

It can be total unrelated but E/Filament: Panic in filament::MaterialParser *filament::createParser(filament::backend::Backend, const void *, size_t):69 reason: Material version mismatch. Expected 17 but received 0. looks like that the prebuilt materials are generated with a wrong version of Filamat.

Can you checkout 1.20.4 and test?

Error changed to:

A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 29459 (.thk.dev), pid 29459 (.thk.dev)

E/native: E0228 18:04:33.965109   29898 bundle_adjustment_initializer.cc:704] Measurements not available in all keyframes. At least one keyframe has no features in any of the cameras.

E/native: E0228 18:04:33.967180   29898 vio_initializer.cc:668] generic::internal: [SSBA Initialization] Failed to initialize the network.; Initializer's SSBA failed to produce a valid output.

E/native: E0228 18:04:34.055849   29898 bundle_adjustment_initializer.cc:704] Measurements not available in all keyframes. At least one keyframe has no features in any of the cameras.

Is the error thrown without obfuscation?
Withoug obfuscation, works as expected on both 1.20.4 and 1.20.5 versions.

@ThomasGorisse I am not sure but wanted to learn;
if it is a wrong filamat complied version, shouldn't it be crashing on builds without obfuscation too?

Can you provide some code and your obfuscation rules?

-keep class com.google.ar.sceneform.** { *; } -keep class com.google.android.filament.** { *; } -keep class com.google.ar.core.** { *; } -keepclassmembers class com.google.ar.sceneform.** { *; } -keepclassmembers class com.google.android.filament.** { *; } -keepclassmembers class com.google.ar.core.** { *; }

Check your build folder to see the obfuscation result.

@tribetomi You must recompile your .filamat files with the corresponding Filament version

Hey Thomas, yes I realise that but as I said I don't have any additional .mat or .filamat files. I am using library itself without any additional materials and I don't have .filamat in build folder for some reason

Do you override the Filament version in your build.gradle?

No, but I use it as api so I share dependancy in several modules. (in none of them .filament is generated tho)

Yep. But Sceneform has its own internal .filamat files that must be used with the same Filament version.

Hm, I'm aware of that but how can I update them?
As I said I'm only using com.gorisse.thomas.sceneform:sceneform:1.20.5 -> trying 1.21.0
Don't have any other filament dependancy where I set version to 17 or any material that I put manually

Can you try running the sample project corresponding to your use case?

I get the same message :/
The only reason why I'm trying to update it to 1.21.0 is because after reopening ArFragment numerous times I get crash

Skipped image because max images have been acquired from ImageReader.
A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8
A/DEBUG: Cause: null pointer dereference

and I hope maybe latest version has ImageReader buffer fixed because of https://github.com/google-ar/arcore-android-sdk/issues/1262
It's the bug that you had last year but as I understand after reading sceneform classes is that fix should be also implemented in 1.20.5?

But is SceneView working with AugmentedFace?
I am asking because https://github.com/SceneView/sceneview-android/issues/74 ?
*(sorry for slight off-topic)


Added dotnet watch run to ui-class.md

Replaced "dotnet run" with "dotnet watch run" so that changes requested in later steps will show.
Fixes #9488

@scottaddie, sorry to piecemeal this across two PR's today.

@wadepickett  I don't think we want to start changing to dotnet watch run, we should update tutorials to 3.0 and remove any mention of automatic view compiles.
Don't forget to add [Internal review URL](get url from details link) to your PR's.

@Rick-Anderson, thanks.
So close #9488 where it already is?  Open a new one for removing mention of automatic view compiles?  That work?

#9488 has nothing to do with dotnet watch run,  @scottaddie  should own that. We want to make sure we're doing the right work flow for VSC.

I did check with the pm on workflow as the issue asked on the issue assigned to me.  There wasn't much to go on except the other issue referenced.  The pm suggested dotnet watch run instead of dotnet run for those steps so I was following that.  There must be some miscommunication somewhere. Perhaps I didn't explain the issue well enough to the PM.  Thanks again for the info.  I will back out of the PR.


Fixes Compatibility with Scala 2.10

This PR fixes/adds:

Adds scala 2.10 to the travis file to run the tests for this scala version.
Fixes compatibility with Scala 2.10 adding the paradise compiler plugin (needed when using with the kind-projector and Scala 2.10).
Fixes docs (divergence implicits issue) for Scala 2.10 with -Xdivergence211 compiler flag.
Upgrades sbt-catalysts-extras, squeezing all the plugin dependencies into a single one.
Cats, kind-projector, monix and scalatest dependencies are using the same versions as before, but in this case, through the sbt-catalysts-extras plugin.

Please, @dialelo  @raulraja  could you review? Thanks!

LGTM! /cc @adelbertchang

Hurrah!


cann't pass compile  /xdag/client

to compile client  in  Ubuntu 4.13    gcc 4.8.5
Error INFO As Below:
pool.c:929:21: error: dereferencing pointer to incomplete type ‘struct hostent’
if (!host || !host->h_addr_list[0]) {
^
pool.c:933:10: error: ‘h_errno’ undeclared (first use in this function)
res = h_errno;
^
pool.c:933:10: note: each undeclared identifier is reported only once for each function it appears in
sha256.c: In function ‘sha256_final’:
sha256.c:140:3: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
memset(cdata, 0, 56);
^
sha256.c:140:3: warning: incompatible implicit declaration of built-in function ‘memset’
sha256.c:140:3: note: include ‘<string.h>’ or provide a declaration of ‘memset’
../dnet/dnet_threads.c: In function ‘dnet_thread_work’:
../dnet/dnet_threads.c:77:10: warning: implicit declaration of function ‘gethostbyname’ [-Wimplicit-function-declaration]
host = gethostbyname(str);
^
../dnet/dnet_threads.c:77:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
host = gethostbyname(str);
^
../dnet/dnet_threads.c:78:21: error: dereferencing pointer to incomplete type ‘struct hostent’
if (!host || !host->h_addr_list[0]) {
^
../dnet/dnet_threads.c:79:54: error: ‘h_errno’ undeclared (first use in this function)
mess = "cannot resolve host ", mess1 = str; res = h_errno;
^
../dnet/dnet_threads.c:79:54: note: each undeclared identifier is reported only once for each function it appears in
Makefile:97: recipe for target 'xdag' failed
make: *** [xdag] Error 1

@kaocs
Could you specify which branch used?

master develop Pre_release  are all these Errors.

@ljxu  @kaocs Did you use make or automake?

@kaocs did you manage to compile the project?


Create new dev2 pre-releases for both tansforms and library with latest from docling 2.0

Why are these changes needed?
Build and deploy a pre-release dev2 version for both transforms and library. While most recent requirements are only for a new release of the transforms, the library has undone several improvements that may be required.
Related issue number (if any).
https://github.com/IBM/data-prep-kit/issues/761

@daw3rd @santoshborse if you get a chance, please do a review and approve as appropriate. Lots of files have been changed but only because set-versions needs to update the pyprojects.toml and requirements.txt for all transforms. There were a lot of changes to the library as well so rebuilding and publishing both library and transforms.


segmenter optimisations

hi :D
Key Changes
1. SIMD-like Batch Processing for ASCII
while (utf8Cursor + 8 <= endUtf8 && curs + 8 <= utf16Length) {
    const char1 = text.charCodeAt(curs);
    const char2 = text.charCodeAt(curs + 1);
    // ... up to char8

    if ((char1 | char2 | char3 | char4 | char5 | char6 | char7 | char8) < 0x80) {
        curs += 8;
        utf8Cursor += 8;
        continue;
    }
    break;
}

Processes 8 ASCII characters simultaneously
Uses bitwise OR for ASCII range checking
Reduces function calls for ASCII text
Improves cache utilization through sequential access
Takes advantage of CPU branch prediction

2. Fast Path for ASCII Characters
// Original
const code = text.codePointAt(curs)!;
curs += code > 0xffff ? 2 : 1;
utf8Cursor += code <= 0x7f ? 1
            : code <= 0x7ff ? 2
            : code <= 0xffff ? 3
            : 4;

// Optimised
const code = text.charCodeAt(curs);
if (code < 0x80) {  // Fast ASCII path
    curs++;
    utf8Cursor++;
    continue;
}

Uses cheaper charCodeAt for initial check
Avoids expensive codePointAt for ASCII
Reduces branching in common case
Simplifies UTF-8 length calculation for ASCII

3. Optimised UTF-8 Calculation
// Get full code point for non-ASCII
const cp = text.codePointAt(curs)!;

// Optimised UTF-16 advance
curs += cp >= 0xD800 && cp <= 0xDBFF ? 2 : 1;

// Optimised UTF-8 calculation
if (cp < 0x800) utf8Cursor += 2;
else if (cp < 0x10000) utf8Cursor += 3;
else utf8Cursor += 4;

More efficient branching structure
Eliminates cascading ternary operators
Better branch prediction

4. Facet Pre-filtering
const validFacets = facets.filter((facet) => {
    const byteStart = facet.index.byteStart;
    const byteEnd = facet.index.byteEnd;
    return byteEnd > byteStart && facet.features.length > 0;
});

Removes invalid facets before processing
Avoids checks in main processing loop
Improves cache locality
Reduces branch mispredictions

5. Segment Creation Optimization
// Original
segment(subtext, subtext.trim() ? features : undefined)

// Optimised
segment(text, text.length > 0 ? features : undefined)

Eliminates string trimming
Moves empty check to segment creation
Reduces string operations

Memory Impact
Advantages

Better cache locality from pre-filtering
Reduced temporary string allocations
More efficient handling of empty segments

Trade-offs

Slightly higher initial memory usage
Additional array for filtered facets
Potential cache pressure in batch processing

updated based on our conversation~

added early multi-byte detection to skip batch processing for non-ASCII text
simplified UTF-8/UTF-16 handling with unified multi-byte path

going to merge this in for now, wanted to find some time to evaluate it personally but I got caught up in other things.
as before, thanks again~


Release/1.1

Description
This PR includes the following proposed change(s):

Fixing vulnerabilities JADE-1358

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] New and existing unit tests pass locally with my changes

I've confirmed the changes contained in this PR were deployed to prod some time ago.


[Envoy Mobile]Implement QUICHE_LOG with ABSL_LOG

Commit Message: Use ABSL_LOG for quiche logging on Envoy Mobile
Additional Description: There are 2 benefits:

ABSL_LOG will log to logcat to help with debug on Android.
ABSL_DLOG will be compiled out in opt build and thus reduces EM's binary size.

Risk Level: low
Testing: n/a
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

/retest

/assign @RyanTheOptimist

Thanks for doing this!

/retest


Improper output shape of DenseFeatures layer with numeric_column

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac OS 10.13.6
TensorFlow installed from (source or binary): from pip I think, I don't remember and I don't know the difference
TensorFlow version: v1.12.0-10066-g5cbe8af8ed 2.0.0-dev20190313
Python version: 3.6.7

Describe the problem
I am using the DenseFeatures layer feeded with a feature numeric_column with a shape argument of shape=(3,1). According to the documentation of numeric_column, the output tensor has shape [batch_size] + shape. My batch size is 2 and instead of having shape (2,3,1) as indicated by the documentation, my output tensor only has output shape of (2,3).
Provide the exact sequence of commands / steps that you executed before running into the problem
Here is a minimal working example reproduccing the issue:
from tensorflow.data import Dataset
from tensorflow.feature_column import numeric_column
from tensorflow.keras.layers import DenseFeatures

raw_dataset = {'feature1': [[3., 4., 6.], [2., 12., 7.]]}
dataset = Dataset.from_tensor_slices(raw_dataset)
batch_size = 2
batched = dataset.batch(batch_size)
feature_column = numeric_column('feature1', shape=(3,1))
layer = DenseFeatures(feature_column)
for y in batched:
    pass
layer(y)

the output of which is
<tf.Tensor: id=19, shape=(2, 3), dtype=float32, numpy=
array([[ 3.,  4.,  6.],
       [ 2., 12.,  7.]], dtype=float32)>

@durandg12 : I was able to reproduce the output with TensorFlow version 2.0.0-dev20190313 and 2.0.0-alpha0.

The issue is still here in v1.12.1-3259-gf59745a381 2.0.0-beta0

The issue is still here in tf2.0.0.

The output is correct, and this is not an issue. The doc on  shape arg in numeric_column means the shape of input tensor to the column (indexed by the key arg), not the output one. You may check the docstring of the args shape and default_value for more details.


Optimize icon paths

Sorry for so many PRs but I just keep finding ways to optimize SVGs.
For easy viewing, before and after:

This autogenerated diff may help. Don't get too freaked out over the fact that icons changed in an "optimize" pr, go to the specific icon in the diff and see how different it is yourself.

-14.6 kilobytes from the apk

@KTibow The picture speeds things up, though you have to search for the title additionally.
Icons where elements are missing

bandido.svg

bitrix24.svg

google_play_games.svg

I focused on the comparison from the description, since requests >350 icons take a long time to load, and you have to load too many icons manually. As a result, I missed moshidon.svg, which is not in the comparison, but is in the PR. And, for example, meduza.svg is in the comparison, but it is not in the PR.
@KTibow If you make comparisons in the future, please make sure that they contain all the icons of a PR.

I honestly have no idea why it didn't include that icon.


Bugfix: archivebox.io "Demo" link broken (Error 1016)

Describe the bug
archivebox.io "Demo" link broken (Error 1016)
Steps to reproduce

go to archivebox.io
Click "Demo" in top navigation

Screenshots or log output

Error 1016 Ray ID: 524b3e4c09edc867 • 2019-10-12 18:47:37 UTC
Origin DNS error
What happened?
You've requested a page on a website (archive.sweeting.me) that is on the Cloudflare network. Cloudflare is currently unable to resolve your requested domain (archive.sweeting.me).
What can I do?
If you are a visitor of this website:
Please try again in a few minutes.
If you are the owner of this website:
Check your DNS settings. If you are using a CNAME origin record, make sure it is valid and resolvable. Additional troubleshooting information here.
Cloudflare Ray ID: 524b3e4c09edc867 • Your IP: <IP_ADDRESS> • Performance & security by Cloudflare

Maybe it'll resolve spontaneously but I won't remember to check again so thought I'd report it while it's in my mind.

Still not working. Its sad for new users who want to test it before installing. May better delete the link and just use screenshots.

Duplicate: https://github.com/pirate/ArchiveBox/issues/231

this error also shown on archiving many  sites ... Unfortunately it blocks many archived content and decreases the efficiency and promised capabilities of Archivebox ://

@UmutAlihan this error has nothing to do with Archivebox the software, it's just a generic cloudflare warning shown when any cloudflare-hosted site points to a broken domain.
The original ticket is about the demo server being down, which it often is, and is not related to content you're trying to archive failing.

@UmutAlihan this error has nothing to do with Archivebox the software, it's just a generic cloudflare warning shown when any cloudflare-hosted site points to a broken domain.
The original ticket is about the demo server being down, which it often is, and is not related to content you're trying to archive failing.

My only question would be; are you sure that such cloudflare warning points to a broken domain? Because when I try to reach URL manually, the site shows up and online. However once archivebox tries to archive the site the error on the pic only archived.
I think the issue about the archiving error msg from cloudflare instead of site itself might be anything to do with the failing to avoid bot detection services (such as browser fingerprinting) from cloudflare, which provides DNS service to the sites we try to archive..
However it would be very much appreciated to avoid cognitive dissonance and acknowledge the feedback provided with positive impact intents and hopefully further develop a fully functional great personal archiver of all times.
Cheers,


automated singularity recipe + builds seems to skip LTS version of fMRIPrep

I noticed that the latest fmriprep LTS release https://github.com/nipreps/fmriprep/releases/tag/20.2.8 has not been added here yet.
Maybe some of the logic here is not meant to get new older versions:
https://github.com/ReproNim/containers/blob/720fd49ea6b81729465593e0809c6018a445628d/scripts/create_singularities#L81

https://github.com/nipreps/fmriprep/issues/3345 is now fixed, so tag exists on dockerhub, but I don't think the code above will pick it up.

thanks! adding functionality to track a specific "version" of a docker image.
any other BIDS apps with LTS series to add?

now there is images/bids/bids-fmriprep--20.2.8.sing and bids-fmriprep-20-2 container within datalad-containers "registry".  So let's consider this particular issue fixed by

e75e1fafe20fca3dd4c8971e9b6ea5c5fa6482be
4ef2a24390dfa4546a8e996ec2494e618ca64c8e
d1b86f291f1a082c3509a5a8b8d468b7e289d752

Thanks @yarikoptic !
I have no knowledge of other LTS series for now.


ANR in GooglePlayReceiver with version 0.8.4

In Android Vitals I see the following ANR happening with version 0.8.4
"main" tid=1 Blocked
"main" prio=5 tid=1 Blocked
  | group="main" sCount=1 dsCount=0 obj=0x75127730 self=0xee805400
  | sysTid=4750 nice=-4 cgrp=default sched=0/0 handle=0xf1dcd534
  | state=S schedstat=( 626303126 138569108 748 ) utm=50 stm=12 core=0 HZ=100
  | stack=0xff0f1000-0xff0f3000 stackSize=8MB
  | held mutexes=
  at com.firebase.jobdispatcher.GooglePlayReceiver.ˏ (:288)
- waiting to lock <0x0e5e576b> (a android.support.v4.util.SimpleArrayMap) held by thread 47
  at o.ᖫ.ˊ (:88)
  at com.firebase.jobdispatcher.FirebaseJobDispatcher.ˋ (:1085)

I am calling the following method when onStartJobJob(JobParameters) is called from the JobService
	public static void scheduleJob(Context context) {

		FirebaseJobDispatcher dispatcher = new FirebaseJobDispatcher(new GooglePlayDriver(context));

		Job watchDogJob = dispatcher.newJobBuilder()
				.setService(WatchDogAlarmJobService.class)
				.setTag(WATCH_DOG_TAG)
				.setReplaceCurrent(true)
				.setTrigger(Trigger.executionWindow(ALARM_INTERVAL_S, ALARM_INTERVAL_S))
				.build();

		Logger.d(WATCH_DOG_TAG, "scheduleJob: JobDispatcher::mustSchedule");
		dispatcher.mustSchedule(watchDogJob);
	}

I know there is already version 0.8.5 out there, but I am not sure if this will fix it. Any ideas, thoughts on that one?
Thanks

I am still facing this issue on 0.8.5 in oreo devices.

Are you calling some Job Dispatcher methods from your JobService main thread? If yes then
the root cause is the same as in https://github.com/firebase/firebase-jobdispatcher-android/issues/190.
Please take a look. I pasted a solution for it.

@LouisCAD sry for the late answer, but yes this is fixed with version 0.8.5 of the library


Request for Help with "Make Data Count"

Hi
I have setup dataverse 5.5 using this docker-compose file https://github.com/IQSS/dataverse-docker/blob/master/docker-compose.yml
However, I can't get the Dataset Metrics to work. It shows 0 today even though I have viewed & downloaded the dataset a few times yesterday before and after I ran the steps below to enable the dataset metrics.

I have followed these steps to enable the dataset metrics on yesterday 2-nov-2021:
curl -X PUT -d '/usr/local/payara5/glassfish/domains/domain1/logs/mdc' http://localhost:8080/api/admin/settings/:MDCLogPath
curl -X PUT -d 'true' http://localhost:8080/api/admin/settings/:DisplayMDCMetrics
cd /usr/local
wget https://github.com/CDLUC3/counter-processor/archive/v0.0.1.tar.gz
tar xvfz v0.0.1.tar.gz
download GeoLite2-Country_20211026.tar.gz from maxmind.com
tar xvfz GeoLite2-Country_20211026.tar.gz
cp GeoLite2-Country_*/GeoLite2-Country.mmdb maxmind_geoip
wget https://guides.dataverse.org/en/latest/_downloads/f99910a3cc45e4f68cc047f7c033c7f0/counter-processor-config.yaml
set year_month to 2021-11 in  counter-processor-config.yaml
touch /usr/local/payara5/glassfish/domains/domain1/logs/mdc/counter_2021-11-01.log
CONFIG_FILE=counter-processor-config.yaml python3 main.py
curl -X POST "http://localhost:8080/api/admin/makeDataCount/addUsageMetricsFromSushiReport?reportOnDisk=/tmp/make-data-count-report.json"
setup cron to run counter_daily.sh
crontab -e
01 00 * * * sh /usr/local/counter-processor-0.0.1/counter_daily.sh
Can anyone advise if I have done any step wrong or miss out anything?
Thank you very much.

Has this resolved itself? With the MDC metrics/counter processor, running the cron job will only process activity through the prior day, which would be consistent with you not seeing any updates to the MDC metrics display on the same day you were accessing the dataset. If you're still not seeing metrics results, we can start walking through the sequence of events and output files to see where things have gone wrong.

no, it's not resolved yet, the data metrics are still showing 0.
in addition, there's also no log files in /usr/local/payara5/glassfish/domains/domain1/logs/mdc/ produced by the cron job. the only file is counter_2021-11-01.log which was manually created by me.
for the sequence of events, I just ran the steps mentioned in my previous post. I didn't encountered any error message when running these steps.
for the output files, which ones are you referring to?

If the :MDCLogPath is set, Dataverse should write into that directory any time views/downloads occur. That's independent of whether you have counter installed/have set up the cron job, etc. If you don't see log files there, check the main server.log file for errors. A typo in the :MDCLogPath, permission issues on the directory you've specified, etc. might all prevent Dataverse from writing those logs. In normal operation, there will only be log files on days when there is activity on the server though, so dev servers in particular may not have a new file for each day.
With the logs in place, the cron job will run counter processor which, if it is configured correctly, will read those logs, create it's own output files, and update it's local db. In a second step, the daily cron job then sends that output file back to Dataverse via an API call, which is what results in the internal metrics table being populated and, from that, the metrics being displayed.
If needed, I can provide more details about these later steps, but it sounds like you're first issue is just in getting the original logs written by Dataverse and, hopefully, if you resolve that, the rest will already be working.

I found the server.log in /opt/payara/appserver/glassfish/domains/domain1/logs ( i didn't find any other server.log in the dataverse container). But there's no additional log when i view the page for the dataset or download the dataset.
I tried increasing the logging with ./asadmin set-log-levels edu.harvard.iq.dataverse.api.Datasets=FINE . Again, there's no new logs added  when i view the page for the dataset or download the dataset.
Here a snapshot of the last few lines of the server.log. am i looking at the correct log file?

The permission for server.log is :
-rw-r--r-- 1 payara payara 4093 Oct 16 03:14 server.log
even after i change server.log with chmod 777, I still don't see any new log when i view/downloaded the dataset.
I also executed this command again:
curl -X PUT -d '/usr/local/payara5/glassfish/domains/domain1/logs/mdc' http://localhost:8080/api/admin/settings/:MDCLogPath
and change the mdc folder with chmod 777 -R
But i still don't see any log in mdc folder or additional log in the server.log.
not sure what else to check from here. would appreciate further advice. thank you very much!

I can't think of much either except carefully checking for typos. Once you set :MDCLogPath , you should be able to retrieve it's value: curl http://localhost:8080/api/admin/settings/:MDCLogPath
You should be able, as the user running Dataverse, cd to the returned directory name and be able to create a file there.
Internally, methods that represent a view/download of a dataset all call https://github.com/IQSS/dataverse/blob/b117a31076d5a69cb8d447821c3222c39923851c/src/main/java/edu/harvard/iq/dataverse/makedatacount/MakeDataCountLoggingServiceBean.java#L40 which, if the MDCLogPath is set, calls the logging utility to write to a file named according to "counter_"+new SimpleDateFormat("yyyy-MM-dd").format(new Timestamp(new Date().getTime()))+".log", e.g. counter_2021-11-09.log. If you follow the code, you'll see that the LoggingUtil class (at https://github.com/IQSS/dataverse/blob/b117a31076d5a69cb8d447821c3222c39923851c/src/main/java/edu/harvard/iq/dataverse/batch/util/LoggingUtil.java#L88) is writing messages to server.log if/when there are exceptions in finding/creating the MDC directory and/or if there's a problem writing the file.
Using tail -f server.log while you're trying to view/download a dataset may make it easier to find the relevant portion of the log file but if the MDCLogPath is set and the dir is OK and there are no errors in the log, I'm not sure what to suggest.

Using the user running dataverse, i'm able to create a file in the returned directory. But no log file is produced or errors appended in server.log when i view/download dataset.   I have tried running the docker-compose file on another server and also faced same issue.
nevertheless, thanks for your help thus far. if anyone has faced this issue and found the cause, please let me know. thank you very much!

Hmm - I don't know enough about docker/the Dataverse docker setup to help but I could imagine a possibility that the mdc logs are being written (no error) and just no showing up in the same volume as server.log. I'm not sure how visible an MDC issue will be to those who do know, so I might suggest trying an issue in the repo for the docker setup you used focusing on the logs not appearing as/where expected.


Xpath axes in WinappDriver

I am facing an issue for how to make xpath axes in Desktop apllication.Can you help me with the sample code

check this

@anunay1 this is for xpath only but i want to make a xpath axes

so far as I know its not supported yet. @DHowett Correct it if I am wrong.

Please help me on this @DHowett  if you know that xpath axes is supported in Desktop Application

I developed custom methods for child, next item previous item etc

is it working ?

Of course it's working

I developed custom methods for child, next item previous item etc

are you saying this about web application or Desktop application

Or i am understanding something worng..Where you use the xpath axes??

I developed custom methods for the functionality provided by xpath axes.

I developed custom methods for child, next item previous item etc

are you saying this about web application or Desktop application

Desktop application

can you share the code?

To get the children  the code is:
public static IEnumerable GetChildrens(this WindowsElement windowsElement)
{
return windowsElement.FindElementsByXPath("/").ToList();
}
To get the first element:
var editorLineNumberElement = session.FindElementByAccessibilityId("specialAutomationIdYouGave");
var textBoxElements = editorLineNumberElement.FindElementsByClassName("TextBox");
var firstElement = textBoxElements.FirstOrDefault();
To get the last element:
var editorLineNumberElement = session.FindElementByAccessibilityId("specialAutomationIdYouGave");
var textBoxElements = editorLineNumberElement.FindElementsByClassName("TextBox");
var lastElement = textBoxElements.LastOrDefault();

Also check #1441


Some indices are defined with (tasmin, tasmax) while others use (tasmax, tasmin)

xclim version: master

Description

I think we should stick to one ordering. It creates problems when writing cf compliance checks and will potentially trip users.

tasmax, tasmin:

daily_temperature_range
daily_temperature_range_variability
extreme_temperature_range
daily_freezethaw_cycles

tasmin, tasmax:

tx_tn_days_above
heat_wave_*


Support for human readable timestamp in dump filename

Current code is assuming the dump filename is in epoch
but there are cases the timestamp is human readable
format. Add support for such timestamps to convert to
epoch and as the dump time.
Test:
The time is correct now
DICT_ENTRY "sa{sv}" {
STRING "xyz.openbmc_project.Time.EpochTime";
ARRAY "{sv}" {
DICT_ENTRY "sv" {
STRING "Elapsed";
VARIANT "t" {
UINT64<PHONE_NUMBER>000000;
};
};
};
Signed-off-by: Dhruvaraj Subhashchandran<EMAIL_ADDRESS>Change-Id: Iedbc794f71c09d0a3d515412aa93ed3062302090

fixes SW548601


Fixed RsWithType duplicating headers.

For #217
RsWithType will now also use RsWithoutHeader to make sure it replaces
any previous types before adding the new one.
I also added tests for RsWithType.
As it is my first change for the team, feel free to point out anything so I can improve present and future work. Thanks.

For #217

@davvd The PR is ready for review. :)

@bertram25 Thanks, someone will review your pull request soon

@carlosmiranda review this one, please

@davvd The PR is ready for review. :)

@bertram25 will take a look, thanks

@Bertram25 Very good, just a few comments above.

@carlosmiranda Thanks for the review! I'll do the Content-Type related change (only because of my other comments). Do you prefer squashed commits and a new one, to keep the inlined conversation?
Best regards,

@Bertram25 I'm not sure I understand what you mean by "squashed commits and a new one". Just push the changes to the same branch, let me know and we'll review again.
One more thing besides the code, please add a link to the original ticket in the pull request description (see QA policy.

@carlosmiranda

Hmmm. Strange error. Have you tried inlining the params in line 59 with this one and indenting the paren?

I tried you piece of advice but it doesn't seem to pass static analysis that way. I still left the params inlined with the rparen though, as it seems better looking.

I'm not sure I understand what you mean by "squashed commits and a new one". Just push the changes to the same branch, let me know and we'll review again.

Sorry, I meant "squash commits or add a new one" but you answer my question anyway.

One more thing besides the code, please add a link to the original ticket in the pull request description (see QA policy).

This is done. Thanks for the link.
The PR should now be ready for 2nd review.

@rultor This should be good to merge, @Bertram25 Thanks!

@rultor This should be good to merge, @Bertram25 Thanks!

@carlosmiranda Thanks for your request. @yegor256 Please confirm this.

@rultor merge pls

@rultor merge pls

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge pls

@yegor256 Done! FYI, the full log is here (took me 29min)

@elenavolokhova please, let us know what do you think about this ticket, according to our QA rules

@rultor deploy

@rultor deploy

@davvd OK, I'll try to deploy now. You can check the progress here

@rultor deploy

@davvd Done! FYI, the full log is here (took me 9min)

@davvd Quality is good.

@davvd Quality is good.

@elenavolokhova thanks, got it, great to see high-quality tickets here

@carlosmiranda just added 10 mins to @elenavolokhova (for QA), payment ID is 57344714. since quality is good, 10 mins paid to @yegor256 (our architect), transaction 000-18d20ec6. Thanks a lot, I just topped your account for 18 mins, transaction ID 57344724, total time was 7 hours and 48 mins. you're getting extra minutes here (c=3). +18 added to your rating, current score is: +4226


This currently does not work with the Steam version.

In the game it has a new menu called mods, and it tells me if I see that I installed everything correctly.
But in the game, nor while the game is going, there is no menu to turn on or off any of the menus shown in the readme.

1.2.2 (Steam) and BRML 2.0.3, worked flawlessly for me, RTFM

nah I tried. Does not work for me.

Tried to fix it in v1.4.1.
Download it from releases page.
Let me know if it helped

it worked, I forgot to reply. Thank you :)


Preventing antagonists from spawning on the CC

About the PR

Fixes the spawning of spiders, slimes and rats on the CC, as well as the prevention of endowing the mind with automata in the same place.
Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: VigersRay

fix: Prevent antag spawn on the CC

Try to not use uncommon acronyms in changelogs, it makes it hard to understand.

Try to not use uncommon acronyms in changelogs, it makes it hard to understand.

I'm bad at English, can you write the best way to write it?

Try to not use uncommon acronyms in changelogs, it makes it hard to understand.

I'm bad at English, can you write the best way to write it?

Provided I understood what this PR is doing:
"Fix: Ghost role antagonists no longer spawn on the CentCom station."
Or
"Fix: Ghost role antags no longer spawn at CentCom."

https://github.com/space-wizards/space-station-14/pull/17833
The spawning issue has been resolved in the already merged pull request, so I'm closing this.


Using of deprecated api evp_dss1() in openssl 1.1.0g

EVP_dss1() function was deprecated in Openssl 1.1.X release but it is present in 1.0.X release.
We want to include deprecated "EVP_dss1()" function in OpenSSL 1.1.x. Could you please provide procedure to include deprecated functons in Openssl 1.1.X?
We found below on wiki .
Access to deprecated functions/macros has been removed by default. To enable access you must do two things.

Build OpenSSL with deprecation support (pass "enable-deprecated" as an argument to config)
Applications must define "OPENSSL_USE_DEPRECATED" before including OpenSSL header files

For the 1) we have added it in Config options. However how to use OPENSSL_USE_DEPRECATED is not available in any forum. Could you please share sample code snippet to use OPENSSL_USE_DEPRECATED

Just #define OPENSSL_USE_DEPRECATED 1 before #include <openssl/evp.h> gets evaluated (which probably translates to before any OpenSSL headers gets included, for simplicity).


I tried importing data from a read-only GH repo

and nothing happened. So either this is not handled (by creating a fork) or I've found a problem. I'd be happy to pursue it's something that ought to work.

Ah, yeah. Right now it requires that you have write access. Creating a fork & then pull requests is functionality that should definitely be added. This is somewhat related to #36.


Changes to Twitter API has broken Tweet with video embeds in Discord

When linking a Tweet containing a video the tweet and text embeds but the video is not present.  This is likely due to recent changes in the Twitter API as I know some video download sites also broke recently after these changes.

I'm not able to replicate this, example tweets I tested:
https://vxtwitter.com/NintendoAmerica/status/1657846000135077893

https://vxtwitter.com/Twitter/status/1263145271946551300

Yeah now I've looked deeper than the couple of tweets I was working with initially it seems hit or miss.  I'm wondering if it's only tweets flagged as sensitive as it was an uhm... naughty Discord that I first noticed the issue.

That's not it either.  I've found a couple videos that embed properly that are marked as potentially sensitive content.
Unless there's a difference between content that is flagged sensitive later and that flagged sensitive by the uploader.

Yeah, I've just tried some flagged tweets which worked fine on my end as well

My next level of inquiry was account specific maybe something flagged on the back end but there are also videos from the same account that both work and don't work.   Seems impossible to accurately replicate. as it's just random.
It seems all the tweets that don't work are flagged sensitive, but not all sensitive tweets don't work.

I think I've found what's the difference between those that work and those that don't.
Any video that has the From [Account name here] does not embed, but it seems ONLY when the original tweet is marked as sensitive?  Weird.  Any tweet that uploaded the video directly is working.  Tweets not marked sensitive with the From [Account Name] work.

Some example tweets that work and don't work would be great to have if you can find any, so far everything I've tested seems to go through fine. I wonder if this specific user is shadowbanned, but I don't see how it would affect individual tweets..

  Though my reply above seems to be what's going on.
I even found an example of an account where they retweeted their own videos with the method above and the original tweet embeds and the new tweet with the From [Account name] doesn't.

It might also be Discord itself having issues with embeds, it's rare but it happens. Don't know of anything else that could be causing issues tbh unless it's some as of yet unknown API limitation

Yeah, as a temporary workaround any Tweet I've encountered that doesn't work if you click on the name in the From [Account Name] below the video and link the ORIGINAL tweet it will embed properly every time.
Sorry to bother you.

This one doesnt work. its a QRT of a video.
https://twitter.com/Mlickles/status/1658191524818223104

Tracked down the issue with this video, thanks! I'll fix it shortly

Issue has been fixed and the update is rolling out now. Some services like Discord might take a while for

might be related, https://twitter.com/NoContextHumans/status/1663539613611466755 does not embed correctly
my best guess is that it's the "from account" that is breaking it


X509_STORE_CTX_init manual page missing function name

https://www.openssl.org/docs/man3.1/man3/X509_STORE_CTX_init.html
The text in the section covering {presumably} X509_STORE_CTX_init() does not properly name the function.
Currently:

It must be called before each call to X509_verify_cert(3) or X509_STORE_CTX_verify(3), i.e., a context is only good for one verification. [...]

Should be:

X509_STORE_CTX_init() initializes the internal state and resources of the X509_STORE_CTX, and must be called before each call [...]

@ereisch I have been working on this and it is my first attempt for a contribution. Let me know if the below meets the expectation,
.....
       X509_STORE_CTX_free() completely frees up ctx. After this call ctx is no longer valid.  If
       ctx is NULL nothing is done.

       X509_STORE_CTX_init() initializes the internal state and resources of the X509_STORE_CTX,
       and must be called before each call to X509_verify_cert(3) or X509_STORE_CTX_verify(3),
       i.e., a context is only good for one verification.  If you want ...
....

Please raise this as a pull request so that it can be properly reviewed.

@mattcaswell can I work on this issue?
Also the above mentioned change by the @ereisch is what needs to be exactly implemented.

I've rolled out the PR - https://github.com/openssl/openssl/pull/23435
@ereisch @t8m - Could you please review it?


upgrade to ldk 0.0.124

See the changelog in here: https://github.com/lightningdevkit/rust-lightning/blob/main/CHANGELOG.md#00124---sep-3-2024---papercutting-feature-requests

I can take this up

Upgrading it to 0.0.125


⚠ SceneTime has degraded performance

In 65147c3, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1929 ms

Resolved: SceneTime performance has improved in ede8b8a after 23 minutes.


Only have cursor: pointer when actions are applicable

Doesn't work yet in my testing, I'll work on debugging it - fixes #591

Does not work as intended, the inner part is still a pointer and the outer part of the card doesn't work.


CASMINST-6840 Include aarch64 versions of docker images if they exist.

Summary and Scope
We now include images built for all available platforms in CSM tarball, and upload them into Nexus at target environment. For this purpose, all skopeo invocations in CSM build and install are changed to refer to wrappers in vendored https://github.hpe.com/hpe/hpc-shastarelm-release repo. In turn, in these wrapper functions skopeo copy and 1skopeo syncare invoked with--all` CLI option, which ensures that images for all provided platforms are copied to destination.
Issues and Related PRs

Resolves CASMINST-6840

Testing
Tested on:

Virtual Shasta

Test description:

Created temporary build from a tag
Installed this build on vShasta environment
Ensured that images for all platforms are present in k8s Nexus.

Before:

After:

/backport release/1.6


performance test enhancements

enhancements for the performance tests:

redis is a required gem, so add it to Gemfile and alphabetize the
list
Make the baseline output file location configurable via an environment
variable while still defaulting to the user's home directory
Add a --markdown / -M flag to generate the comparison table in
Markdown format. Usage: script/runner -C --markdown

I had a fourth enhancement I wanted to add, which is to have the runner output some progress info during the (rather lengthy) test run to give some hint as to its progress. Unfortunately given how the outer script/runner (non-inline) backticks other script/runner processes (inline) and relies on STDOUT, the progress info I was testing with was being misinterpreted as test suite output. I then tried using STDERR but had issues there as well.

I had a fourth enhancement I wanted to add, which is to have the runner output some progress info during the (rather lengthy) test run to give some hint as to its progress. Unfortunately given how the outer script/runner (non-inline) backticks other script/runner processes (inline) and relies on STDOUT, the progress info I was testing with was being misinterpreted as test suite output. I then tried using STDERR but had issues there as well.

Perhaps this could be made into an issue for a future technical debt milestone?


docs(setup): add type checker commands on setup guide

What kind of change does this PR introduce?
Docs/Readme's

Did you add tests for your changes?
N/A

If relevant, link to documentation update:
N/A

Summary
This adds how to run the typechecker in the setup.md guide.

Does this PR introduce a breaking change?
Nope, just happy typecheckers

Other information
I love lamp.

Thanks


fixed navbar

What this PR do
This PR fixes the navbar. The overflown width of the navbar has been fixed
Fixes : #155

I hope you review it and if any issue feel free to text. Below is the link of the fixed one. Try check it
https://sai-kumar0.github.io/matrix-movies-website-hacktoberfest/

@all-contributors please add @sai-kumar0  for bug and code


Firefly and raspberry pi 4

Hi,
Firefly app does not work on raspberry 4 pi armv7l.
How t make it work?

It's not officially supported.
Here are the docs for building from source, if you can install the dependencies on the raspberry pi and try to compile it - https://github.com/iotaledger/firefly/tree/develop/packages/desktop


Prepare KMM production sample for Xcode 16

Fixing builds with Xcode 16:

Swift complaints about implicit self capture here
It seems with Xcode 16 App must be a struct because it otherwise explodes at runtime with:

Moving to struct also resolves the first issue

@pahill thank you


Replace k/2-th Frobenius powers by conjugations

This PR replaces k/2-th Frobenius powers by conjugations in the final exponentiation of the pairing implementation for the curves BN, BLS12, BW6, MNT6, MNT4.
Type: Feature
Label: Ready to review
Priority: Medium
Motivation
In Tate-based pairings, the target group GT is the r-th root of unity in Fq^k where q is the finite field prime, r the curve subgroup order and k the embedding degree. The pairing requires also a final exponentiation to (q^k-1)/r to reduce the output to a unique value. Using k-th cyclotomic polynomial, the exponent can be simplified into an easy part (q^k-1)/phi_k(q) and a hard part phi_k(q)/r. The easy part can be computed cheaply using Frobenius powers. However, if there is a power to k/2 is should be replaced by a simple conjugation. An element f in Fq^k satisfies f^(q^k-1)=1 which means f^(q^(k/2)+1)=1 (otherwise the order isn't q^k-1). So an inverse is a power to q^(k/2) but since there is a q^(k/2)-1 component in that exponent, the element f becomes unitary (i.e. norm 1) and the inversion becomes a simple conjugation.
Description
This PR replaces frobenius_map(6) by conjugate() in BN and BLS12 pairing implementation frobenius_map(3) by conjugate() in MNT6 and BW6 and frobenius_map(2) by conjugate() in MNT4.

This looks great, I'll merge once CI passes.


CD computation for Tree LSTMs

I am trying to get words and phrase level attribution values for TreeLSTMs (dependency) trained on SST dataset.
But not sure what the correct CD computation equations/code would be.
Would really appreciate any help!

Hi ,
Great work  Guys !!! Paper was describing more on the sentiment analysis which is a binary classification. I was trying to use the same for multi class classification for a nlp use case as one vs rest of other classes to get the CD scores. But I am not sure if there is any other way to do for the multi class. Would really appreciate any help!


Webpack Config seems incompatible with dependency update

Description
Hi,
just played around with your project a little. I noticed that the updates regarding the npm dependencies seem to have introduced several issues with the webpack configuration.
It seems webpack-dev-server reworked their configuration API and the webpack.config.js in your project doesn't support webpack-dev-server 4.0.0 and above
Steps to reproduce

run npm install
run npm run hot

Additional info

Craft version:
PHP version:
Database driver & version:
Plugins & versions:

Thanks @scrobert! Just updated that configuration and things are working again.


App just Freeze for few seconds after updating a novel

Steps to reproduce

Update any novel
Navigate back to library

Expected behavior
App should work normally and should allow to scroll or slide and go to different tabs
Actual behavior
App just Freezes for few seconds or until it update the noval unread status
LNReader version
1.1.13
Android version
11
Device
Realme 3 pro
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with a source, I should be opening an issue in the sources repository.
[X] I have updated the app to version 1.1.13.
[X] I will fill out all of the requested information in this form.

Not able to reproduce this issue, the app works normally for me in this case.
Reopen if the issue still persists.


The doc doesn't provide sufficient information on how to consume existing stored procedures and map the results to a model

[Enter feedback here]

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

ID: e2c8d490-ce49-c4e6-8acb-13794d3f4c42
Version Independent ID: 70120e6f-10b5-8154-f998-bf047e4b96a0
Content: Code First Insert, Update, and Delete Stored Procedures - EF6
Content Source: entity-framework/ef6/modeling/code-first/fluent/cud-stored-procedures.md
Product: entity-framework
Technology: entity-framework-6
GitHub Login: @ajcvickers
Microsoft Alias: avickers

Thank you for requesting a change to the EF6 documentation. We are prioritizing improvements to the EF Core documentation and at this time we are not making changes to the EF6 documentation.
However, we will consider well-written community pull requests to improve the EF6 documentation. The documentation source is located in the EntityFramework.Docs repository on GitHub. To submit a pull request:

Find the file to update and click on it to open

Click on the edit button (✏) to edit in your web browser

When done, add a title and description, then use the "Create a new branch and start a pull request." option.

(Note that you can also clone the docs repo and do a GitHub PR in the normal way.)


chore: fix clippy

Fixes #
Checklist

[ ] My branch is up-to-date with development branch.
[ ] Everything works and tested on latest stable Rust.
[ ] Coverage and Linting have been applied

Current behaviour

New expected behaviour

Change logs

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 46.43%. Comparing base (6f22bbd) to head (3e39859).
Report is 3 commits behind head on development.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff               @@
##           development     #276      +/-   ##
===============================================
+ Coverage        45.04%   46.43%   +1.38%
===============================================
  Files               85       85
  Lines             7206     7247      +41
===============================================
+ Hits              3246     3365     +119
+ Misses            3960     3882      -78

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.