Upload of 2 new files borked previously uploaded ones

Recently I just submitted two files:
ipmc_nu_drug_exposure_datasprint_2.csv
ipmc_nu_measurement_datasprint_2.csv
All other ipmc_nu_* files had already been successfully submitted and had shown as "loaded". Now it looks like they reverted back to not showing as loaded even though no new submissions have been made to replace them.

Does this reflect new checks done during loading process?
How should we respond to the errors that are now showing when you hover? Should we wait for you to reach out or engage @cukarthik or someone else via email?

@firaswehbe I see that the files were submitted. We are working on automating the load and validation process which is why you are seeing some issues. Hopefully, we'll have it resolved today or tomorrow. I'll update you when it's resolved.

Thanks @cukarthik. We'll keep monitoring. Happy to re-send all 6 files in one batch if that helps.

I re-ran on our side, but there still seems to be an issue. For some reason we are not picking up the id column even though those columns are not blank in the files you sent. @mark-velez can you verify on your environment using ipmc_nu files?

@firaswehbe do you mind recreating and submitting your files. I think this is a file coding issue that is causing the submission to fail. I want see if recreating your files removes this issue. Thanks.

@firaswehbe the quotes in the file are in unicode. Can you export your file as plain ascii? This should solve the problem. Thanks.

Resubmitted all 6 files in ASCII encoding. Please let us know. We'll monitor the website.
Aside: I think this is suboptimal on the long run. Non-ASCII characters are unavoidable, may need to enable UTF-8 in our data transmission streams.

@cukarthik do you know if a byte order mark was causing the problem? If we get enough files with this evil character, we may want to look for and strip it. Then we can fully support UTF-8 like @firaswehbe suggested.

@mark-velez I was thinking that as well, but I think all the column names are in UTF-8. I'm testing more b/c it could have been confounded with issue #26. I'll have a better idea after 5pm when the next job runs.

@firaswehbe it seems like we are still having the issue. Just curious, what OS and IDE are you using to export the files?

@cukarthik , I generated these files using Windows 7 and Notepad++

@pcn913 looks like the three of the files were in ascii and the drug_exposure and measurement files were in UTF-8. Do you mind resubmitting drug_exposure and measurement in ascii format. The other files loaded properly. Thanks.

@mark-velez you were right. It was a BOM issue. I believe this issue is resolved with my latest commit.

This seems to have fixed all but one file (measurement). We manually fixed some column characters and I just re-uploaded. Will monitor and hopefully this will resolve the issue for that file. No need to re-open this ticket. Just FYI for now.


Pump read error checking

Today, our rig ended up with a zero size file for settings/basal_profile.json. The jq command doesn't return an error code if it doesn't find the value argument, so the get_settings didn't fail.
This PR checks to ensure there are valid values using grep on the output of jq.
It needs to be tested for mmol and carb ratio units other than grams.

LGTM.  We'll see if any mmol users want to test it (https://gitter.im/openaps/oref0?at=5b7afa2594f8164c1775fbbc) and then merge to dev for further testing there.

Did some testing. Initial results look good, but I'll retest later. See Gitterlink above for the discussion of the testing.

If I interpret https://github.com/ecc1/medtronic/search?p=2&q=grams&unscoped_q=grams correctly the medtronic Go libraries only seem to work with grams:

I wouldn't even now what medtronic.Exchanges are at:
https://github.com/ecc1/medtronic/blob/b39ccbd1825373fc96e9180fe02b432a35edbcbe/cmd/mdt/json.go#L68-L78

Ok, sounds like this is ready to merge to dev for further testing there.  If no objections I'll do so soon.


Refactor towards testability, step 4: add separate register field

This PR adds register so commands don't need to access the whole main_split field. Based on #297

Closed in favour of #350


Create sector sync metrics

Similar to dataset import metrics we want to create and store sync metrics for each sync attempt.
Todo:

[x] add SectorImport.attempt
[x] add SectorImport.textTree
[x] add SectorImport.names holding the list of all name index ids in this sector (or better a map by rank?)
[x] persist SectorImport, create new Mapper
[x] expose in SectorResource with list, get latest, get last success methods like with imports
[ ] expose diff method in SectorResource that takes 2 attempts and diffs their name ids, textTree using https://github.com/java-diff-utils/java-diff-utils and general counts

Adding an attempt property

State of the continuous assembly with a current running object and a queue of upcoming ones:
GET http://api-dev.col.plus/assembly/sync
List of running (includes queued) or completed syncs:
GET http://api-dev.col.plus/assembly/sync/sector?sectorKey=X&running=true&limit=10
Schedule new sector sync
POST http://api-dev.col.plus/assembly/sync/sector/{key}
Cancel a sector sync
DELETE http://api-dev.col.plus/assembly/sync/sector/{key}
Retrieve one sync attempt
GET http://api-dev.col.plus/assembly/sync/sector/{key}/{attempt}


Support for MVC Asp.net 6

Do you plan to support MVC Asp.net  6? At any estimated date?

Yes support for MVC 6 will be implemented, although I can't say when. Any specific features you are looking for?

Not anyone in concrete just to know it is was in your roadmap. Indeed it was related with this other one http://orchard.codeplex.com/discussions/574334

Is Log4Net actively maintained?  ;)

Well last log4net trunk buil was ... one year ago  :-1:  https://builds.apache.org/job/log4net-trunk-build/

fail.... don't get it why it's more popular. (according to nuget stats)

Is this actively in development?  I'd be very willing to helping the port to the ASPNETCORE50 profile if needed.  NLog <IP_ADDRESS> seems to work just fine in ASPNET50 (Desktop profile) today.

Well NLog is actively maintained but we don't haven't specific steps to support mvc 6 yet.
PR's will be appreciated and merged: )

FYI
CoreCLR is now in alpha stage, and there is a package for ASPNET5 (including MVC6 support)
See:

https://www.nuget.org/packages/NLog.Extensions.Logging  (see also GitHub)
https://www.nuget.org/packages/NLog.Web.ASPNET5 (see also GitHub)

As there is not really something to do here, I will close this on. MVC Core is supported in 4.4 (beta)


Used import elided from emit where source is JavaScript

Bug Report
🔎 Search Terms
import elided javascript used detect unused 6133
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about elided imports
I was unable to test this on prior versions because the Playground is only for TypeScript, not JavaScript that's supposed to just be copied through

⏯ Playground Link
Playground link with relevant code
💻 Code
Suppose the following JavaScript calls a function defined in TypeScript:
caller.js:
import * as fs from 'fs';
import TruffleContract from '@truffle/contract'; //Runtime err: this line dropped when JS is copied
import { initContract } from './functions.js';
initContract({}, fs, TruffleContract);
console.log('TruffleContract is ', typeof TruffleContract, TruffleContract); //still 'unused'

In functions.ts:
type fsType = typeof import('fs');
type TruffleContractConstructorType = typeof import('@truffle/contract');
import type TruffleContract from '@truffle/contract';
import type { ContractObject } from '@truffle/contract-schema/spec';
export const initContract = function(
    contractJSON: ContractObject | {}, //union type makes example smaller
    TruffleContractConstructor : TruffleContractConstructorType,
    fsDefinition: fsType //for demonstration in calling context
) : TruffleContract.Contract {
    if(typeof TruffleContractConstructor !== 'function') {
        throw('No valid TruffleContractConstructor passed to initContract.');
    }
    return TruffleContractConstructor(contractJSON);
}

A subset of tsConfig.js:
"compilerOptions": {
    "module": "ES2020",
    "moduleResolution": "node",
    "allowJs": true,
    "checkJs": false,
}

package.json has "type":"module" needed for other project requirements, so require is not available.  Changing the import syntax to
import { TruffleContract } from '@truffle/contract'; causes TypeScript to maintain the import line but there is an (expected) runtime

SyntaxError: Named export 'TruffleContract' not found. The requested module '@truffle/contract' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from '@truffle/contract';
const { TruffleContract } = pkg;

That again requires manually re-inserting the import statement because TypeScript drops the line falsely asserting that it's not used even when it's used in an expression in the very next line, and it's undefined at runtime because the original syntax is the correct one to use.
🙁 Actual behavior
The TruffleContract import is dropped from the JavaScript file as part of copying that into the target location, leading to a runtime error that TruffleContract is not defined in the expression where it is used.  Manually re-adding it to the copied JavaScript file after every transpilation avoids the runtime error.
🙂 Expected behavior
The documentation for allowJs does not give any indication that the TypeScript transpiler will break existing JavaScript, instead of just copying it through.  Instead, it says:

This flag can be used as a way to incrementally add TypeScript files into JS projects by allowing the .ts and .tsx files to live along-side existing JavaScript files.

The FAQ states that TypeScript "removes module imports that aren't used in any expression."  This one is, so by the reasoning in the FAQ, it isn't being elided, but in practice, it is, breaking what used to be running code.
The workaround discussed there and here is to include a general import line, such as import '@truffle/contract'; and while this does make it through to the target location, it doesn't overcome the runtime error. require is not available for use but the documentation indicates a single use of what's imported should suffice and there is one here.
Overall, the expected behavior is that the JavaScript file is copied directly with no alterations, and certainly no breaking changes.
More specifically, the expected behavior is that an import which is actually used (in this case, it is used for passing a module implementation as a parameter) is not removed.  In this case, TypeScript appears to be wrongly detecting that the import is unused (ts(6133)), as the 'unused import' formatting/warning shows up in the editor as well.  This incorrect 'unused' status detection even triggers when the imported module is used in e.g. a console.log statement on the very next line, by itself or with the typeof operator.
The implementation is not imported and used directly in functions.ts because different sources of implementations are used at runtime depending on factors which do not appear relevant to a minimal example.  This is not in Angular.

I don’t know why TS is eliding the import (that sounds like a bug), but you could try enabling preserveValueImports:
https://www.typescriptlang.org/tsconfig#preserveValueImports

"checkJs": false if you switch it to true you would see Cannot use namespace 'TruffleContract' as a value.
My assumption is that this may be related to incorrect type signature.
Source has module.exports = function () {...} but types only have namespace exported as export default TruffleContract;
I would expect to see export = TruffleContract and declare function TruffleContract(param: type): type in definitions.

@fatcerberus thanks for the intended-helpful suggestion to try enabling preserveValueImports.
Unfortunately, setting this to true and/or setting "importsNotUsedAsValues" to "preserve" does not lead to the import statement actually being kept in the "copied" JavaScript.

You seem to be under the impression that TS is supposed to be simply copying .js files into the output, but this is not true.  It transpiles them, just like it does with .ts files, because it has to in order to support options like target and module.  The only difference is that type checking doesn't happen (unless checkJs is enabled).

@fatcerberus The documentation does give the impression that's what it's doing.  Certainly there is no suggestion in there that the valid JS files would have to be rewritten or changed in any way to avoid having TypeScript break them.

From #44619 that implemented it (initial post wasn't updated with other updates from comments, however this logic still holds)

It does not prevent the elision of imports that resolve to types or type-only exports, because that would create runtime errors

While I agree that eliding imports in JS "without notice" is unexpected, on the other hand with info available to TS via built-in package declarations (only types in namespace) it's possible that this will lead to runtime error, but without checkJs it's impossible to warn about it.
Either way (whether this will or won't be changed in TS) type declarations in should be fixed, otherwise that will be elided again when .js changed to .ts.

I agree that TruffleContract types should be fixed and accept that a problem will exist when the .js is changed to .ts, but it's a low priority for them at present and the philosophy of allowing incremental conversion should allow leaving this one as .js (but under the same root as .ts files) without introducing new runtime errors.
This import is NOT a type-only import! The compiler should be able to recognize that (a) it's being used as a value, whether or not it thinks that's correct, and (b) type-only imports don't happen in non-TS JS files!
The compiler is already doing the check for (a) and incorrectly concludes that it's not being used; that could be fixed.  However, implementing (b) would be more robust and might be much simpler.

There's possibly a crazy design aspect here, but I would never have thought that we would drop a default export used as a value. It seems like an unmistakable bug that we would consult the .d.ts file on if an import is droppable when we've already seen the import used as a value.
import Yadda from "@truffle/contract";
const blah = Yadda;
initContract({}, fs, Yadda);

Thoughts @andrewbranch?

My recollection of stuff getting marked for preservation is that it’s based on usage, not the target symbol’s declaration space, but given the behavior you’re describing, you must be right that it’s going off the .d.ts and thinking it can’t be a value. I agree this should be changed; usage is a more reliable indicator. I will say that it’s a slightly unusual use case to rely on tsc’s JS-to-JS emit while simultaneously ignoring its check errors, which would be telling you that TruffleContract is a type and cannot be used in a value position, but generally we don’t want you to be totally blocked by bad library types, so it does seem bad that you can’t slap a // @ts-ignore on this and move on.
This does bring up kind of an interesting tangent about what we think it means for you to import types, in plain old ESM imports, in JS files. I guess there is nothing stopping you from doing this:
// @Filename: types.ts
export interface Foo {}

// @Filename: index.js
import { Foo } from "./types"

/** @param {Foo} foo */
function takeFoo(foo) {}

We will happily process this without errors, and there’s like, technically nothing wrong with it since we elide the import declaration, but now that I’m thinking about it, this feels really weird. Like it’s very TypeScripty to casually import types in import declarations. Because so much JS is checked with noEmit, it kind of feels like this import should be an error, because this code is super gonna crash if you try to run it as-is. The fact that we clean it up on emit doesn’t hold much weight for me, because by that token we could also let you put type annotations all over your JS and say “hey, it doesn’t matter, we’ll remove it when we emit.” 🤨

In principle I’m not opposed to saying let’s never do any import elision from JS files, but then we’ll find out how many people are relying on this behavior on purpose 😬

This does bring up kind of an interesting tangent about what we think it means for you to import types, in plain old ESM imports, in JS files.

Even more strange is that in a plain JS file we don't seem to elide the import.

Even more strange is that in a plain JS file we don't seem to elide the import.

huh? I thought this whole issue was about imports getting elided in plain JS files…

So I think the playground is overriding module settings for JS files, but it looks like we don’t do import elision if the module is es****, but we do if it’s commonjs

Well, even that is an oversimplification. With --module esnext, any usage in a value position seems to count, like Daniel and I both expected/recalled. If there’s no usage, it still gets elided. This is basically expected behavior, though I think it would be reasonable for it to do zero elision.
With --module commonjs, the import gets elided even with that usage in a value position, which is the initial bug report. I’m guessing this has something to do with the machinery that has to synthesize the const TruffleContract = require("@truffle/contract").default kind of stuff.

It's elided at least for "module": "ES2020" (as in OP) and "target": "es2020", "moduleResolution": "node" in TS 4.6.3 and next
No importsNotUsedAsValues - import removed completely
"importsNotUsedAsValues":"preserve" - import '@truffle/contract'; is left

Still curious what @DanielRosenwasser thinks about the general case of using ESM imports in JS files to import types. Worth opening another issue?

Looks like someone really awesome filed an issue about that back in 2018 https://github.com/microsoft/TypeScript/issues/22159

It might be OK to have some difference in handling based on whether checkJs is true (through tsconfig or comment in the file).  #22159 is about an absent but expected error when that is set.
When checkJs is false, I expect TypeScript to just be passing plain JS files, including imports, through as-is, no matter how many errors TS thinks the code has.  There are many false positive flags raised by TS and many cases where perfectly valid JS has to be rewritten/changed as part of a conversion to .ts (in addition to even more cases requiring rewriting JS that is valid in practice because of the structure of the HTML it's used with, but that's not theoretically guaranteed so null/undefined checks have to be added during TS conversion).  As a practical matter, enabling the incremental conversion TypeScript claims it seeks to support requires the ability to completely disable TypeScript's buggy checking and correction algorithms on the unconverted portion of he codebase, and add it in piece by piece as resources permit.
We should really not have to be seeing 4-digit commit counts or weeks-long efforts for a single PR to be able to get things back into a stable working state from attempting to convert one file without hacky overrides.

We don’t close stale bugs; not sure where you got that idea? We auto-close questions / external issues / working as intended, and occasionally we manually close suggestions that we don’t think we’ll take. This is a bug, and it has a milestone, and an assignee, and was discussed at a design meeting recently, and I already fixed the related #22159, so it’s quite active.


JSON mode outputs a stream of newline characters

+1 - The request hangs as a result.

Closing for https://github.com/ollama/ollama/issues/1910


Change all font-sizes, line-heights and dimensions to use rems and allow method to scale base font-size

I recently bought a Sony VAIO Ultrabook which has a High DPI screen (1920x1080 resolution in 11").
By default, Windows scales apps, but this makes the UI blurry. Upon disabling scaling on brackets.exe, the UI is too small to read, but is crisp. Thus, I created an extension called Legibility and manually changed font-sizes, line-heights, heights, widths etc to make them readable.
This took a lot of inspecting and trial and error to get right.
It would be much better if you changed all of these values to use rems (you could write a mixin to divide the target value by 16), that way, a user would simply need to change the font-size on html for the whole app to scale.
You could implement this natively - similar to Code Mirror zooming (Ctr+Shift+ -/+, perhaps?) or an extension developer could easily write something to allow an end user to change the UI size to match their needs.
I think this is really important - everyone is different and needs different sizes to be able to use Brackets comfortably. I can't be the only one with a High DPI device and/or poor eyesight

HiDPI support for windows is enabled in brackets 1.2. Fonts and icons should look clear in windows when scaling is applied. Closing the issue.

So, there isn't a simple way to change the UI font size  in linux? The font-size! in a editor written in and for code where the font size in so important !
(it's 2015, hundreds of   2560x1440 displays have been sold, among others)

@matrs I'm not sure what you mean. If you go to View->Themes you can change the font size.

Any news on this? I just set up Ubuntu on a high DPI display and Brackets is unusable :(


refactor(VersionsCatalog): move libraryEntriesMatchingDependency meth…

…od next to the method that uses it first

Good Idea 😀

Thanks!!!


Creating records with custom id

Is there a way to do this? If not, this is a request for that 😄

You should be able to either pass in id to createRecord() or override generateIdForRecord if you have a specific format you want to use:
// app/adapters/application.js

generateIdForRecord(store, type): string {
  const id = super.generateIdForRecord(store, type);
  return `${type.substring(0, 3)}_${id}`;
}

I tried passing id, and that didn't create the record. Maybe there was some other issue. Will try again later.

It does work, 🤷🏼  seems like I had something else going on before.


last: 1260 -> 1268

Motivation for this change
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Update license to gpl3Plus.

Thanks! Updated the homepage as well.

LGTM. Waiting OfBorg.

Squash the commits into one.

Urgh, sorry


Created Find Volume Of A Cuboid

Closes #91
What's being changed:
Added Golang program that returns volume of a cuboid for the given inputs

@MadhuS-1605 please go to #91 and type !assign for this PR and as well as other PRs you did. Thank you!

@MadhuS-1605 please go to #91 and type !assign for this PR and as well as other PRs you did. Thank you!

updated


streams: Restore stream name in 'Create streams' on changing tab

On filling out the name and description for new stream,
and changing the tab (e.g. by clicking on a stream on the left),
then come back to 'Create streams', it should restore stream name
similar to the stream description.
Fix #4311.

Automated message from Dropbox CLA bot
@jajodiaraghav, it looks like you've already signed the Dropbox CLA. Thanks!

@rishig Could you please take a look here: https://chat.zulip.org/#narrow/near/181566/stream/development.20help/topic/.234311
Thanks

The saving-the-stream-name change looks good, merged.
However, the other I think doesn't really make sense -- I think we just want to disable the up/down arrow keys, rather than having them jump between the different parts of the form (tab is good for jumping around, and we perhaps want to support multi-line stream descriptions).
Can you make a pass at revising that?

@timabbott Updated

Merged as 40018f29fc0b6c47f0c3cfad40f275df4e6ca32e, after changing this to not preventDefault in the relevant code path.
Thanks @jajodiaraghav!


timeout + Apache goes nuts

When I try to run getAccessToken() with the code that comes back as a param of the redirect URL...I get nothing.
localhost never loads, the browser status indicator just spins around and apache's CPU usage goes through the roof and my MBPs fans all go to full speed.
I'm supposing this has something to do with cURL?
Anyone else ever experience anything like this?

@jcorry does simpleTest.php work okay?

I am implementing it as a library in codeigniter and so have changed the way the class gets accessed a little bit.
I did try instantiating the class with clientId and secretId and running this:
$venue = $this->epifoursquare->get('/venues/search', array('ll' => '40.7,-74'));
$this->firephp->log($venue, 'unauth request');
In my codeigniter controller file...and nothing happens. It does the same thing as when I try to request getAccessToken.
Somehow it seems to not want to make the curl requests...

So I duplicated everything in another virtual host, one that doesn't use Codeigniter's MVC pattern...just dumped your files into a vhost.
When I try to get simpleTest.php it times out and gives me this message:
Test an unauthenticated call to search for a venue
Fatal error: Maximum execution time of 30 seconds exceeded in /Users/[...]/EpiCurl.php on line 73
On Nov 27, 2011, at 5:16 PM, Jaisen Mathai wrote:

@jcorry does simpleTest.php work okay?

Reply to this email directly or view it on GitHub:
https://github.com/jmathai/foursquare-async/issues/22#issuecomment-2891316

@jcorry Can you provide system details? It works for me using:

OSX Lion
PHP 5.3.6
curl 7.21.7

So...I'm running OS X Lion, PHP 5.3.5, curl 7.21.4
It doesn't work on that computer.
It DOES work on my workstation at the office
OS X 10.6.8
PHP 5.3.1
curl 7.19.7
Any chance we can try to figure out WHY it doesn't work on my local
machine? I'm using the same virtual host name for each of them.
On Sun, Nov 27, 2011 at 8:54 PM, Jaisen Mathai <
<EMAIL_ADDRESS>
wrote:

@jcorry Can you provide system details? It works for me using:

OSX Lion
PHP 5.3.6
curl 7.21.7

Reply to this email directly or view it on GitHub:
https://github.com/jmathai/foursquare-async/issues/22#issuecomment-2892481

--
John Corry
Skype: jpcorry
iPhone:<PHONE_NUMBER>
http://gplus.to/jcorry

Are your virtual hosts also running osx lion? Is there any networking
trickery that's happening on the virtualhost?
I haven't had a chance to ever merge this but can you have a look and see
if this is related to your problem? foursquare-async is based on
twitter-async...
https://github.com/jmathai/twitter-async/pull/109
On Mon, Nov 28, 2011 at 11:23 AM, jcorry <
<EMAIL_ADDRESS>
wrote:

So...I'm running OS X Lion, PHP 5.3.5, curl 7.21.4
It doesn't work on that computer.
It DOES work on my workstation at the office
OS X 10.6.8
PHP 5.3.1
curl 7.19.7
Any chance we can try to figure out WHY it doesn't work on my local
machine? I'm using the same virtual host name for each of them.
On Sun, Nov 27, 2011 at 8:54 PM, Jaisen Mathai <
<EMAIL_ADDRESS>
wrote:

@jcorry Can you provide system details? It works for me using:

OSX Lion
PHP 5.3.6
curl 7.21.7

Reply to this email directly or view it on GitHub:

https://github.com/jmathai/foursquare-async/issues/22#issuecomment-2892481

--
John Corry
Skype: jpcorry
iPhone:<PHONE_NUMBER>
http://gplus.to/jcorry

Reply to this email directly or view it on GitHub:
https://github.com/jmathai/foursquare-async/issues/22#issuecomment-2905711

I'll take a look at the twitter-async.
I smell a curl configuration issue...
The vhosts are all on localhost on my MBP. I set up vhosts for each project
I work on, in this case:
sfspot.localhost
So, sfspot.localhost/foursqlogin is my callback URL.
That part all works fine unless I try to make a request using the
foursquare-async library...in which case the request times out.
On Mon, Nov 28, 2011 at 12:28 PM, Jaisen Mathai <
<EMAIL_ADDRESS>
wrote:

Are your virtual hosts also running osx lion? Is there any networking
trickery that's happening on the virtualhost?
I haven't had a chance to ever merge this but can you have a look and see
if this is related to your problem? foursquare-async is based on
twitter-async...
https://github.com/jmathai/twitter-async/pull/109

From the VM can you just do curl -I http://sfspot.localhost/foursqloginand get a 200 response?
On Mon, Nov 28, 2011 at 11:34 AM, jcorry <
<EMAIL_ADDRESS>
wrote:

I'll take a look at the twitter-async.
I smell a curl configuration issue...
The vhosts are all on localhost on my MBP. I set up vhosts for each project
I work on, in this case:
sfspot.localhost
So, sfspot.localhost/foursqlogin is my callback URL.
That part all works fine unless I try to make a request using the
foursquare-async library...in which case the request times out.
On Mon, Nov 28, 2011 at 12:28 PM, Jaisen Mathai <
<EMAIL_ADDRESS>
wrote:

Are your virtual hosts also running osx lion? Is there any networking
trickery that's happening on the virtualhost?
I haven't had a chance to ever merge this but can you have a look and see
if this is related to your problem? foursquare-async is based on
twitter-async...
https://github.com/jmathai/twitter-async/pull/109

Reply to this email directly or view it on GitHub:
https://github.com/jmathai/foursquare-async/issues/22#issuecomment-2905901

I narrowed it down further.
Same code, same MBP...works fine when connected to the internet through my
office network.
Doesn't/didn't work at home though...weird thing is, I think it's the same
ISP.
wtf?

I wonder if there's some weird NAT at the office...


Rename all things PaintedRabbit to Blueprinter

Rename all files, constants, variables, and strings to reflect the
name change to Blueprinter.
Resolves #19

LGTM Pending legal signoff and repo renaming 👍


SyntaxError in normalize_needed_jobs_status.py

Hi
This is how I added your action to my workflow:
check:
    if: always()
    runs-on: [self-hosted]
    needs:
    - dev_build_int_tests

    steps:
    - name: Decide whether the needed jobs succeeded or failed
      uses<EMAIL_ADDRESS>      with:
        jobs: ${{ toJSON(needs) }}

And I got this error:
Traceback (most recent call last):
 File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
   mod_name, _Error)
 File "/usr/lib/python2.7/runpy.py", line 119, in _get_module_details
   code = loader.get_code(mod_name)
 File "/usr/lib/python2.7/pkgutil.py", line 281, in get_code
   self.code = compile(source, self.filename, 'exec')
 File "/opt/actions-runner/_work/_actions/re-actors/alls-green/v1.2.2/src/normalize_needed_jobs_status.py", line 29
   write_lines_to_streams((f'{name}={value}',), (outputs_file,))
                                           ^
SyntaxError: invalid syntax
Error: Process completed with exit code 1.

Could you help me to fix it, please.

This syntax requires Python 3.6+. You could inject an actions/setup-python@v4 action, switching your job's Python to v3, as a workaround. I think that all the shared runners on the public GitHub platform already default to Python 3.

@webknjaz  Thank you! It helped.


Mastodon support

Would love to see a social media client that supports both mastodon and receiving tweets from twitter even with limited interactivity.

This seems to be even more relevant due to the recent api changes that have broke fritter. Hope I see this happen in the near future 😀


Pulumi section should match on the currently selected stack

Description
The pulumi section currently uses sed to select the second line from the pulumi stack ls command and then performs some operations to trim that to yield the stack name. Unfortunately, the selected stack doesn't default to the 2nd line unless there's only 1 stack.
Instead, the selected stack will always have an asterisk at the end of it
NAME                    LAST UPDATE   RESOURCE COUNT  URL
organization/dev          2 hours ago   58              https://app.pulumi.com/organization/project/dev
organization/dev-bill     1 month ago   44              https://app.pulumi.com/organization/project/dev-bill
organization/dev-ted      1 week ago    58              https://app.pulumi.com/organization/project/dev-ted
organization/dev-chris    2 months ago  29              https://app.pulumi.com/organization/project/dev-chris
organization/dev-frank    3 days ago    58              https://app.pulumi.com/organization/project/dev-frank
organization/dev-pat*     2 days ago    58              https://app.pulumi.com/organization/project/dev-pat
organization/dev-jeff     1 month ago   44              https://app.pulumi.com/organization/project/dev-jeff
organization/prod         1 week ago    58              https://app.pulumi.com/organization/project/prod
organization/qa           18 hours ago  58              https://app.pulumi.com/organization/project/qa

We can see here that project/dev-pat is the currently selected stack, but with the current logic spaceship would return project/dev
Solution
Update the sed expression to find the line with the asterisk, then perform the trimming operations
Before:
➜ pulumi stack ls 2>/dev/null | sed -n -e '2p' | cut -f1 -d" " | sed s/\*//
project/dev

After:
➜ pulumi stack ls 2>/dev/null | sed -n -e '/\x2A/p' | cut -f1 -d" " | sed s/\*//
project/dev-pat

Thanks for contributing!


Okapi headers

INFO: api-lint: Using api-lint version: 1.0.6
INFO: api-lint: Assessing API description files: OAS
INFO: api-lint: Processing OAS 3.0 file: src/main/resources/openapi/eusage-reports-1.0.yaml
INFO: api-lint:     did not detect any errors
ERROR: api-lint: Could not determine OAS version for file: ./src/main/resources/openapi/headers/okapi-tenant.yaml
ERROR: api-lint: Could not determine OAS version for file: ./src/main/resources/openapi/headers/okapi-token.yaml
INFO: api-lint: Processing OAS 3.0 file: src/main/resources/openapi/tenant-2.0.yaml
INFO: api-lint:     did not detect any errors
ERROR: api-lint: There were processing errors. See list above.

Note: When those ERRORs are fixed, then any INFO and WARNING messages will be gone too. See Jenkins "Artifacts" tab for ApiLintReport.


Rename repository

We should rename this repository to remove dea from the name.
The obvious and lazy name would be datacube-dashboard.
But I don't think dashboard is the most helpful name. Something like datacube-explorer might be better.

Good idea, and explorer does sound more descriptive.
We probably want to do #12 around the same time.


WIP Coffeescript support

Now that we have JS support and execjs support, coffeescript is almost trivial.
Except it doesn't seem to quite work right...
#26

Leaving this til later don't want to hold up 1.5. It will work eventually though.


Setting custom width of labels

I googled a lot, and read docs, only what I found mention that very long text can be splitted for lines by putting it in array.
I need to display full label text or at last to extend current size that it's too small.
Example: https://jsfiddle.net/swLpynua/
I tried different approaches. Like:
labels: {
    style: {
       fontSize: '12px',
           },
       rotate: -5,
      minWidth: 430,
       minWidth: 610
     },

but it does not do any affect.
So it's seems that currently it's not possible.
If anybody know how to fix it -- i would be very thankful for solution!

yaxis: {
  labels: {
     maxWidth: 250
  }
}


Remove version: Jackett.Jackett version 0.21.1556

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.21.1556/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)


Lag and Loading Problems on Companion APP on Ipad and Ios

Hi guys,
thank you for that very nice Addon.
Since 2 months i have a strange Problem. When i Used go2RTC with custom card everything works perfect with nearly no lag or delay.
Now when i am on my PC browser everything works great again but when i am on Iphone or Ipad i got long loading times and sometimes it stucks on loading. and when the stream is loaded i have big delays.
I Use Tapo C320ws cams.
May someone could help me ?
Best Beni

There are many ways to watch videos in the app. You didn't describe which one you use


MissingPluginException(No implementation found for method validate on channel com.julienvignali/phone_number)

When use await PhoneNumberUtil().validate on windows platform:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method validate on channel com.julienvignali/phone_number)
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:294:7)

#1      MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:499:43)

#2      PhoneNumberUtil.validate (package:phone_number/src/phone_number_util.dart:109:20)

#3      _MyHomePageState.createClipboardListener.. (package:clip_to_call/main.dart:137:28)

Originally posted by @necrox87 in https://github.com/flutter-form-builder-ecosystem/phone_number/issues/89#issuecomment-1422848921

This package currently don't support Windows platform. Only Android and iOS. Your report is a expected error


Invalid Regularizer (l1, and l2) when loading a model

For the following script:
import numpy as np
np.random.seed(9)
from keras.models import Sequential, load_model
train_set = np.loadtxt("data_SS/60+/learning/train_ronmon601.csv", delimiter=",")
test_set = np.loadtxt("data_SS/60+/learning/test_ronmon601.csv", delimiter=",")
X_train = train_set[:, 0:9]
y_train = train_set[:, 10]
X_test = test_set[:, 0:9]
y_test = test_set[:, 10]
model = load_model("best_individual_MON_l1.h5")
model.fit(X_train, y_train, nb_epoch=2400, batch_size=300)  # , verbose=0)
predictions = model.predict(X_test).flatten()
I get the following error:
Using Theano backend.
Traceback (most recent call last):
File "/home/vince/code/KAUST/CCRC-NN/Abdul/SuperScripts/load_model_test.py", line 23, in
model = load_model("best_individual_MON_l1.h5", custom_objects={'l1': l1, 'l2': l2})
File "/home/vince/anaconda3/envs/NN/lib/python3.5/site-packages/keras/models.py", line 128, in load_model
model = model_from_config(model_config, custom_objects=custom_objects)
File "/home/vince/anaconda3/envs/NN/lib/python3.5/site-packages/keras/models.py", line 177, in model_from_config
return layer_from_config(config, custom_objects=custom_objects)
File "/home/vince/anaconda3/envs/NN/lib/python3.5/site-packages/keras/utils/layer_utils.py", line 36, in layer_from_config
return layer_class.from_config(config['config'])
File "/home/vince/anaconda3/envs/NN/lib/python3.5/site-packages/keras/models.py", line 1030, in from_config
layer = get_or_create_layer(first_layer)
File "/home/vince/anaconda3/envs/NN/lib/python3.5/site-packages/keras/models.py", line 1014, in get_or_create_layer
layer = layer_from_config(layer_data)
File "/home/vince/anaconda3/envs/NN/lib/python3.5/site-packages/keras/utils/layer_utils.py", line 36, in layer_from_config
return layer_class.from_config(config['config'])
File "/home/vince/anaconda3/envs/NN/lib/python3.5/site-packages/keras/engine/topology.py", line 929, in from_config
return cls(**config)
File "/home/vince/anaconda3/envs/NN/lib/python3.5/site-packages/keras/layers/core.py", line 673, in init
self.W_regularizer = regularizers.get(W_regularizer)
File "/home/vince/anaconda3/envs/NN/lib/python3.5/site-packages/keras/regularizers.py", line 162, in get
instantiate=True, kwargs=kwargs)
File "/home/vince/anaconda3/envs/NN/lib/python3.5/site-packages/keras/utils/generic_utils.py", line 30, in get_from_module
str(identifier))
Exception: Invalid regularizer: {'l1': 0.35913780331611633, 'l2': 0.0}
Exception ignored in: <function WeakValueDictionary.init..remove at 0x7f6ee95edf28>
Traceback (most recent call last):
File "/home/vince/anaconda3/envs/NN/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Process finished with exit code 1
I have tried a few different things:

Importing l1 and l2 in to the above script
Importing and passing as cutom_objects like so:  model = load_model("best_individual_MON_l1.h5", custom_objects={'l1': l1, 'l2': l2})

Note: when running the original script that created the model I had imported l1 as l1_reg (as l1 was conflicting with a already existent variable). I have also tried importing l1 as l1_reg and passing that as a custom function.
Regardless, the error remains. After looking through the only issues that come up with the exception's key words I have not found a solution. What is surprising to me is: l1 is not a custom function, so I don't see why there should be an issue (a similar model that uses dropout loaded fine), and l2 wasn't used at all in this model, so I don't understand why it is mentioned.
Retraining the model will be quite a pain. Any advice is appreciated. I am using Keras 1.1.1 (As that is what the model was trained on) Switching to the latest didn't change anything (it just worded the error a little differently).

Did you find any solution?


Added Sarthak Rajput

I have added my name Sarthak Rajput in readme file.

@qwe123coder and @schmelto  I have updated the readme.

Feel free to ask, if you need any help


olivewood-Palladium

Don't build palladium, it is not updated for long time

Don't build palladium, it is not updated for long time

ok but ur server has some problem with pe plzz fix it

Don't build palladium, it is not updated for long time

ok but ur server has some problem with pe plzz fix it

Without build log link how can we know what's the problem?


Remove unnecessary uses of Promise.resolve().

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/then#Return_value

Nice cleanup!


Error - Invalid Cookie

Bug Report
Describe the bug

I just updated to node-yahoo-finance-2 and have read the documentation on the update/migration, however I am still receiving the following error:
Error.name = "Error"
Error.message = "Invalid cookie"
Minimal Reproduction

const {ticker} = req.body;
try{
const queryOptions = { modules: ['price', 'summaryDetail'] };
const data = await yahooFinance.quoteSummary(ticker, queryOptions);
res.status(200).json(data)
}
catch(error){
res.status(500).json({"error": error.name, "message": error.message)
}
Environment
Browser or Node: Node.js (Chrome browser)
Additional Context
Thank you for your time and help!

Hey @JabulaniSifundza, thanks for the report.  Could you please confirm what version you're using (I assume its the latest if you've just switched), the symbol, and the full output from the request?  There should be some lines like "Fetching crumb and cookies....".  Also, the symbol, and, what country you're in (Yahoo behaves differently in different countries due to differing data regulations).  Thanks!

Yeah of course!
The version is = yahoo-finance2: "^2.3.10"
The symbol I was testing was: AAPL
The error object/message: {error: "Error", message: "Invalid Cookie"}. This is from the catch block in the code.
I am currently in eSwatini. Were there recent additions to restrictions? Because it worked before with the previous version.
Thank you so much for your time and response!

Ah ok, you're behind :)  Current release is 2.4.4.
The changes were all on Yahoo's side (tracking sessions, consent, etc).  We had to adapt the library to workaround that.
Upgrade to the latest version and you should be fine.  (But please report back and let us know).

Thank you so much! The update works perfectly. Thank you for all your help and also for creating this library!


Fix the incomplete docstring for "avro_schema_for_pydantic"

To solve this, we need to update pydoc for avro_schema_for_pydantic in this notebook


Where is Data Stored?

Hello,
I just switched from my old laptop to a new gaming pc.
I was using Gw2 Launchbuddy 3.2.5Hotfix on the old laptop, which is located on my D:\ drive but it only has a .exe to it. So moving it from the old PC to the New PC didn't transfer any of the login data along it.
Where does Gw2 Launchbuddy save the account info to?
I was trying to add all of my accounts back manually but on the new computer, the login page goes away too fast and I can't enter the email and password for each account.
If I could find the stored data file on my laptop, I could copy that over.
Thank you

Hi @Zodiaksl,
the data is stored in "%Appdata%\Gw2 Launchbuddy"
Regards
Skaldhor

Even after copying the old files to the new computer, I am still unable to login to alt accounts. It doesn't save passwords and clicking Edit Loginfile doesn't give enough time before it closes the login window.
I love gw2 launchbuddy but I don't know if it will ever work again :(

Hi there! Loginfiles in the past could be copied. So moving over the launchbuddy folder should ahve actually worked. However in the recent months many changes regarding loginfiledata and the login framework have been made. Might be that the logindata is now encrypted with your machines ID --> not transferable. Can you confirm this behavior?


feat: add aptly-dev/aptly

aptly-dev/aptly: Debian repository management tool
$ aqua g -i aptly-dev/aptly

How to confirm if this package works well
Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.
Command and output
$ aptly
aptly - Debian repository management tool

Commands:

    api         start API server/issue requests
    config      manage aptly configuration
    db          manage aptly's internal database and package pool
    graph       render graph of relationships
    mirror      manage mirrors of remote repositories
    package     operations on packages
    publish     manage published repositories
    repo        manage local package repositories
    serve       HTTP serve published repositories
    snapshot    manage snapshots of repositories
    task        manage aptly tasks
    version     display version

Use "aptly help <command>" for more information about a command.

Options:
  -architectures="": list of architectures to consider during (comma-separated), default to all available
  -config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf)
  -db-open-attempts=10: number of attempts to open DB if it's locked by other instance
  -dep-follow-all-variants: when processing dependencies, follow a & b if dependency is 'a|b'
  -dep-follow-recommends: when processing dependencies, follow Recommends
  -dep-follow-source: when processing dependencies, follow from binary to Source packages
  -dep-follow-suggests: when processing dependencies, follow Suggests
  -dep-verbose-resolve: when processing dependencies, print detailed logs
  -gpg-provider="": PGP implementation ("gpg", "gpg1", "gpg2" for external gpg or "internal" for Go internal implementation)
ERROR: unable to parse comman

If files such as configuration file are needed, please share them.
{
    "rootDir": "/home/takumi/.aptly",
    "downloadConcurrency": 4,
    "downloadSpeedLimit": 0,
    "downloadRetries": 0,
    "downloader": "default",
    "databaseOpenAttempts": -1,
    "architectures": [],
    "dependencyFollowSuggests": false,
    "dependencyFollowRecommends": false,
    "dependencyFollowAllVariants": false,
    "dependencyFollowSource": false,
    "dependencyVerboseResolve": false,
    "gpgDisableSign": false,
    "gpgDisableVerify": false,
    "gpgProvider": "gpg",
    "downloadSourcePackages": false,
    "skipLegacyPool": true,
    "ppaDistributorID": "ubuntu",
    "ppaCodename": "",
    "skipContentsPublishing": false,
    "skipBz2Publishing": false,
    "FileSystemPublishEndpoints": {},
    "S3PublishEndpoints": {},
    "SwiftPublishEndpoints": {},
    "AzurePublishEndpoints": {},
    "AsyncAPI": false,
    "enableMetricsEndpoint": false
}

Reference

https://www.aptly.info/doc/overview/
https://www.aptly.info/doc/configuration/

Thank you!

v4.87.0 is out 🎉
https://github.com/aquaproj/aqua-registry/releases/tag/v4.87.0


remove some redundant and unreachable code.

Hi @akoken, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Except the removal of the comment the changes look good to me.

+1 to keeping the comment, otherwise looks good to me too


Implement damage tracking

From my (limited) testing this seems to be working, but I'd appreciate any input from others on how it works for them. Any glances over the code are also appreciated!

@c-edw Can you try Firefox Nightly again? I can't reproduce your bug, at least not with the current commits in this PR.

Sure. FYI https://github.com/Hjdskes/cage/pull/31/commits/451c791d35070bcf35a6ec88ed4c5137f8cd7966 doesn't build. However, https://github.com/Hjdskes/cage/pull/31/commits/ae47591582cd96834e6e87fdde506bef73dc84aa does seem to have resolved some of the issues I was seeing. It still feels as though parts of the screen aren't updating properly, but it's much better than last time.

It still feels as though parts of the screen aren't updating properly, but it's much better than last time.

Can you give more detail for these please? What application(s) and what parts aren't redrawn completely? What are you doing in those applications?

FYI 451c791 doesn't build.

How doesn't it build? It works for me. Note that this commit is now old and the equivalent is 5371dde54efc129cd7517e46dd408a0674524734.

That commit doesn't exist anymore so no matter. Latest commit does build now. Everything seems to be working properly now with firefox-wayland. Only thing I can still notice is this kind of lag, as if the refresh rate is low or something. I'd record a video of it if I could.

I'd record a video of it if I could.

You could do this if the lag is also noticeable with the wayland or x11 backend, by running Cage within Sway, GNOME Shell or any X11 window manager.

I usually do run Cage as a client under Sway. Still, I don't know of any application that offers video recording at the moment, only screenshots.

Do you notice the same stuttering with rootston, by any chance? By the way, I appreciate the feedback! It's very helpful because I can only test so much.

Rootston doesn't have the stuttering, it's much smoother.

Oke, thanks, that's something I'll look in to. What application are you testing and what are you doing with it?

firefox-wayland again. Nothing in particular, I just mess around opening and closing tabs. You can see the animations are a bit choppy.

I cannot reproduce the lag, but I did find that copy and paste isn't working (within Firefox Nightly) and that we don't damage Firefox's hamburger menu. There was also an issue with a flickering popup on YouTube.
However, Firefox Nightly might not be the best application to test with, given that it itself is still transitioning to Wayland. That means that any bug we find could either be Cage's, or Firefox's. It's better to test with GTK3 applications such as Epiphany.

that we don't damage Firefox's hamburger menu

This is now fixed.

I did find that copy and paste isn't working (within Firefox Nightly)

I opened a separate issue for this (#42).

@c-edw Since I cannot reproduce the lag and Firefox Nightly isn't the most reliable application to test with right now, I'm going ahead with merging this PR. If the issues persist with other applications, please open a new issue.


Add base URL to ChatGPT

add base URL to chatgpt

Nice, this would be good to have and resolves #25


Close() doesn't seem to be thread safe / idempotent

I have multiple goroutines reading from a sarama-cluster.Consumer. On fatal errors during processing, I have the goroutines clean up. Part of this clean up is calling Close() on the Consumer from the goroutines. During a recent test, the calling of Close() by multiple goroutines in quick succession caused this panic:
panic: close of closed channel
goroutine 995 [running]:
panic(0x7a3d80, 0xc420840cf0)
    /usr/local/go/src/runtime/panic.go:500 +0x1a1
stash.keynetics.com/reap/collector.git/vendor/github.com/bsm/sarama-cluster.(*Consumer).Close(0xc42009a370, 0x0, 0x0)
    /home/gsp/projects/golang/src/stash.keynetics.com/reap/collector.git/vendor/github.com/bsm/sarama-cluster/consumer.go:177 +0x33
...

I think Close() should support being called multiple times without a panic. Does this seem reasonable? Or should I be making sure it only gets called once on my side and not by multiple goroutines at once?

+1
Facing the same issues. Getting the below even for first Close call
panic: close of closed channel

Fixed in https://github.com/bsm/sarama-cluster/commit/8c8649d2385454bdeb455c6a0765ff3ab2e2ea13, released as v2.1.3

I'm sorry, still no luck. Getting the same error for Close() even after updating to v2.1.3
"close of closed channel"
Am I missing anything? On SIGINT or SIGTERM I simply call consumer.Close() which causes the aforementioned panic.

Could you somehow try to break that test: https://github.com/bsm/sarama-cluster/blob/master/consumer_test.go#L193. I tried and it works for me

@dim It works sleek!
My bad. Had a wrong local patch. Sorry for the trouble.


Cast last_modified value to integer when comparing ifrange requests

https://github.com/mar10/wsgidav/blob/cec0d84222fc24bea01be1cea91729001963f172/wsgidav/request_server.py#L1551
We should cast to an int here, as the dav_provider never specified that last_modified has to be a whole number. I'm currently using datetime.timestamp() which is returning a float.
This fixed an error for me, where Chrome tries to download a 2.7GB file instead of making a range request.

Same thing applies to the evaluate_http_conditionals function. Also, I fixed an error when checking the "HTTP_IF_UNMODIFIED_SINCE" condition.
If-Unmodified-Since xy should NOT fail, when the value is EQUAL to xy.


thread 'main' panicked at library/alloc/src/raw_vec.rs:534:5

❯  RUST_BACKTRACE=1 bob list
┌───────────┬─────────────┐
│  Version  │  Status     │
├───────────┼─────────────┤
│  v0.9.0   │  Installed  │
│  nightly  │  Used       │
thread 'main' panicked at library/alloc/src/raw_vec.rs:534:5:
capacity overflow
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: alloc::raw_vec::capacity_overflow
   3: alloc::slice::<impl [T]>::repeat
   4: alloc::str::<impl str>::repeat
   5: bob::cli::start::{{closure}}
   6: tokio::runtime::park::CachedParkThread::block_on
   7: tokio::runtime::context::runtime::enter_runtime
   8: tokio::runtime::runtime::Runtime::block_on
   9: bob::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

i just ran bob update nightly while nightly was the active version. Then ran bob list, at which point above exception was thrown.

On macOS Ventura 13.6 (ARM m1).
❯  bob --version
bob-nvim 2.7.0

check #176

I'm facing this issue as well. Could we have a release with the fix?

Ye I'll see if the last PR can be tested today or tomorrow and then create a new release.

Thanks @MordechaiHadad 🙇


Fix WASM build

The config watcher breaks the WASM build currently, so people can't use bloblang from WASM any more (example here: https://github.com/mihaitodor/benthos-playground/tree/main/wasm/blobl-editor).

Fixed in #115.


Fuzzing

Using https://github.com/frewsxcv/afl.rs

I don't think radeco needs afl to find panics ATM ;-)
On Jul 13, 2016 9:59 AM, "Anton Kochkov"<EMAIL_ADDRESS>wrote:

Using https://github.com/frewsxcv/afl.rs
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/radare/radeco-lib/issues/36, or mute the thread
https://github.com/notifications/unsubscribe/AAlnYEeGXfVgS29GTvWCVF3Z0KQZzv3qks5qVO7zgaJpZM4JLchU
.

Closing?

On 13 Jul 2016, at 16:01, Jeffrey Crowell<EMAIL_ADDRESS>wrote:
I don't think radeco needs afl to find panics ATM ;-)
On Jul 13, 2016 9:59 AM, "Anton Kochkov"<EMAIL_ADDRESS>wrote:

Using https://github.com/frewsxcv/afl.rs
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/radare/radeco-lib/issues/36, or mute the thread
https://github.com/notifications/unsubscribe/AAlnYEeGXfVgS29GTvWCVF3Z0KQZzv3qks5qVO7zgaJpZM4JLchU
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Agree. Basic usage/functionality ismore important

On 13 Jul 2016, at 16:01, Jeffrey Crowell<EMAIL_ADDRESS>wrote:
I don't think radeco needs afl to find panics ATM ;-)
On Jul 13, 2016 9:59 AM, "Anton Kochkov"<EMAIL_ADDRESS>wrote:

Using https://github.com/frewsxcv/afl.rs
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/radare/radeco-lib/issues/36, or mute the thread
https://github.com/notifications/unsubscribe/AAlnYEeGXfVgS29GTvWCVF3Z0KQZzv3qks5qVO7zgaJpZM4JLchU
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Freebayes FalseNegative+FalsePositive mutations for SNVs

add functionality for detecting and reporting FN and FP mutations

Feature added


Accuracy

Is possible to get an estimate of the accuracy from the sync call? E.g. based on the network latency.

Sounds like a good idea, do you want to take a stab at it?

My solution was to calculate a delay in the "offset function" in NTPClient.swift in the same manner as the offset (but from bestResponses[i].delay instead) and return that together with the offset. That delay gives an indication of the uncertainty/accuracy of the call.


Check for things that gofmt doesn't catch

Convert all underscore vars to camelcase. Maybe add a script to check for this?
add goimports, and gofmt to CI pipeline - as checks, don't actually change anything
Need to add a "style" section to teh makefile - check for things like camel case, etc

I like to use gometalinter locally. I haven't tried using it in a CI pipeline.


Weird green highlight in the scripts

Hi!
When I was editing the script in bash or editing the neovim config. Some of the characters are highlighted to green like in screenshot:

Could you help me with that issue?
Thank you!
Marcin

Okey I resolved it!
I should change the TERM to TERM=screen-256color in the .zshrc due to I am using the zsh ;)


TypeError: init() got an unexpected keyword argument 'colWidths

I keep getting this error
  File "/usr/local/lib/python3.9/dist-packages/pyinvoice/templates.py", line 314, in finish     self.build(self._story, **kwargs)   File "/usr/local/lib/python3.9/dist-packages/reportlab/platypus/doctemplate.py", line 1315, in build     BaseDocTemplate.build(self,flowables, canvasmaker=canvasmaker)   File "/usr/local/lib/python3.9/dist-packages/reportlab/platypus/doctemplate.py", line 1080, in build     self.handle_flowable(flowables)   File "/usr/local/lib/python3.9/dist-packages/reportlab/platypus/doctemplate.py", line 937, in handle_flowable     S = frame.split(f,canv)   File "/usr/local/lib/python3.9/dist-packages/reportlab/platypus/frames.py", line 251, in split     r = flowable.split(self._aW, h)   File "/usr/local/lib/python3.9/dist-packages/reportlab/platypus/tables.py", line 1546, in split     return self._splitRows(availHeight)   File "/usr/local/lib/python3.9/dist-packages/reportlab/platypus/tables.py", line 1390, in _splitRows     R0 = self.__class__( data[:n], colWidths=self._colWidths, rowHeights=splitH[:n], TypeError: __init__() got an unexpected keyword argument 'colWidths'
Dont know where the issue is?

I think I may have found a work around so on you files there is such a file:
/usr/local/lib/python3.9/dist-packages/reportlab/platypus/doctemplate.py
On line 935 I added:
self.allowSplitting = 0
This however means the details are added on page 2 of the invoice. I think the issue was with the splitting

I'm having this issue also , your fix worked but i am wondering how did you make it through  multi pages of data?
as in when you reach your page limit in the transaction table , how to you page break to add more details in that table ?


Patch nil pointer in service name configuration and fix derived Fields

Description

change derived fields to list
generate k8s and crds
fix nil pointer errors in service name configuration logic on upgrades

Relevant issues/tickets

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[ ] This change requires a documentation update
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added a test case that will be used to verify my changes
[ ] Verified independently on a cluster by reviewer

Verification steps

deploy the operator as per documentation
deploy datasources with oc/kubectl apply -f deploy/examples/datasources/ -n <namespace>
the operator and grafana should not hang when trying to handle derived fields from simpleJsonWithDerivedFields.yaml

/help

/help

/override ci/prow/e2e ci/prow/images

/override ci/prow/e2e ci/prow/images

/override ci/prow/e2e
/override ci/prow/images

/override ci/prow/e2e
/override ci/prow/images

/refresh

/refresh

/meow

/meow


scaffld 20150422

Coverage decreased (-38.45%) to 60.0% when pulling 56f6bf92420398b1bd4e52e2e8f5e105a82f22e8 on scaffold-20150422 into 831dd74ae4d90445d3ceb0380d2783713c139ac5 on master.

Coverage decreased (-37.76%) to 60.69% when pulling beecca3db4bcdb1e8e0b4e4b61962f2ae0e6591e on scaffold-20150422 into 831dd74ae4d90445d3ceb0380d2783713c139ac5 on master.

Coverage decreased (-3.28%) to 95.17% when pulling 78afc5eca3eb3dc6e95e7c21043675b14d89c631 on scaffold-20150422 into 831dd74ae4d90445d3ceb0380d2783713c139ac5 on master.


[SPARK-32073][R] Drop R < 3.5 support

What changes were proposed in this pull request?
Spark 3.0 accidentally dropped R < 3.5. It is built by R 3.6.3 which not support R < 3.5:
Error in readRDS(pfile) : cannot read workspace version 3 written by R 3.6.3; need R 3.5.0 or newer version.

In fact, with SPARK-31918, we will have to drop R < 3.5 entirely to support R 4.0.0. This is inevitable to release on CRAN because they require to make the tests pass with the latest R.
Why are the changes needed?
To show the supported versions correctly, and support R 4.0.0 to unblock the releases.
Does this PR introduce any user-facing change?
In fact, no because Spark 3.0.0 already does not work with R < 3.5.
Compared to Spark 2.4, yes. R < 3.5 would not work.
How was this patch tested?
Jenkins should test it out.

Jenkins R's 3.4 IIRC. I will see the test results first, and let the appropriate person know and update the env.

Test build #124421 has started for PR 28908 at commit d48ecf9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29040/
Test PASSed.

Test build #124421 has finished for PR 28908 at commit d48ecf9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124421/
Test PASSed.

LGTM. Thanks @HyukjinKwon

Thanks, @HyukjinKwon . BTW, if we accidentally dropped it, how can we mention it in this case? This PR should target Apache Spark 3.0.1 with releasenotes label? (For now, it's just a normal JIRA issue.)
cc @gatorsmile and @srowen

As we accidentally dropped R < 3.5 in Spark 3.0.0, can we update the doc like https://spark.apache.org/docs/latest/index.html to make it less confusing?

@viirya, it will be ported back to branch-3.0 and 3.0.1 will contains the doc fixes there. It should be fine with 3.0.1.

Sure, I added releasenotes label in the JIRA.

Oh, just as a note to my self, Jenkins R version seems to be 3.5.2:
using R version 3.5.2 (2018-12-20)

Nice.

Merged to master, branch-3.0 and branch-2.4.

Oh, just as a note to my self, Jenkins R version seems to be 3.5.2:
using R version 3.5.2 (2018-12-20)

Nice.

Hah - we should file a JIRA to upgrade it to 4.0 or at least 3.6.3?

I think so .. I will at least target to test 4.0 in AppVeyor at https://github.com/apache/spark/pull/28909 for now


Be able to pass prefix URL in Elm

Currently URL is hardcoded during generation, it would be useful to also support passing prefix URL within Elm.

Could you try the dynamic-base-urls branch and let me know if it works for you in #20?

Thanks @mattjbray - I 'll give this one a go shortly.


tape.gradient is returning none

Click to expand!
Issue Type
Support
Source
source
Tensorflow Version
tf 2.7.0
Custom Code
Yes
OS Platform and Distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
I don't understand why the code below output grads to be None.
Could you please give me some explanations ?

Standalone code to reproduce the issue
import tensorflow as tf
ones = tf.ones([ 1, 128, 128, 1], tf.float32)
with tf.GradientTape() as tape:

    class_channel = tf.constant([4.4328732],  dtype=tf.float32)
    grads = tape.gradient(class_channel, ones)

    print("grads: ",grads)

Relevant log output
No response

Hi @nomadeCodeur, In this case gradient is None why because, you trying to find gradient for the non differential equation . If you finding gradient y w.r.t x, dy/dx should be differntiable.
For example, consider the function y = x * x. The gradient at x = 3.0 can be computed as:
x = tf.constant(3.0)
with tf.GradientTape() as g:
  g.watch(x)
  y = x * x
dy_dx = g.gradient(y, x)
print(dy_dx)

Make your class_channel as differentiable input. Thank you!

Hi @gadagashwini , thank you for your clear explanation. You solved my problem.


Update CSP for doubleclick errors

Context
We're getting ad.doubleclick.net errors from CSP
Changes proposed in this pull request
Allow ad.doubleclick.net as an image source

Code looks fine, unsafe-eval sets some alarm bells off though.

Yes completely agree - really don't want to add unsafe-eval, but alternatives are we don't add the analytics or we get spammed from them (and they probably don't work). If we drop the analytics in the future I think we should be starting with a clean slate for the CSP


AnnDataset doesn't provide access to underlying AnnData obs labels

I wanted to get some labels on the cells stored in a .h5ad file for subsequent work. Unfortunately, as implemented AnnDataset doesn't seem to provide a way to access them. I have a pretty ugly hack to do this. I'll file a PR with the hack, but I assume someone will want to make improvements before actually using it.

HI! I followed your basic tutorial with my .h5ad and I'm stacked on applying show_t_sne() when color_by='labels' is specified, because no label is shown. Looks like even if it's possible access to gene_dataset.obs, show_t_sne() is accept a gene_dataset.cell_types instead of gene_dataset.obs.cell_types. What probably causes the problem:
# Inside show_t_sne.
if hasattr(self.gene_dataset, 'cell_types') and color_by == 'labels':
                    plt_labels = self.gene_dataset.cell_types

I looked throught AnnDataset() and CortexDataset() source code and found that cell_types and labels aren't processing in AnnDataset():
AnnDataset :
        if type(filename_or_anndata) == str:
            self.download_name = filename_or_anndata
            self.save_path = save_path
            self.url = url

            data, gene_names = self.download_and_preprocess()

        elif isinstance(filename_or_anndata, anndata.AnnData):
            ad = filename_or_anndata
            data, gene_names = self.extract_data_from_anndata(ad)

CortexDataset  :
        self.additional_genes = additional_genes
        expression_data, labels, gene_names, cell_types = self.download_and_preprocess()

        super().__init__(
            *GeneExpressionDataset.get_attributes_from_matrix(
                expression_data,
                labels=labels),
            gene_names=np.char.upper(gene_names), cell_types=cell_types)

Is there any solution for this problem?


Mainframe OS and Trusted UI Styles and Design Feedback

Sorry @PaulLeCam and @adamclarke This is a huge PR, but most of it is styling...
I hope it's not gonna be a big pain to review...


[IOTDB-31] failed to set float precision when creating timeseries

If you want to avoid for, modify LogicalGenerator.analyzeMetadataCreate() to transfer all keywords of props as lowercase.
But I suggest that you modify this on my PR... because there are heavy conflicts...


Kernel startup error messages should contain more information about what went wrong and how to resolve it

Currently we either display a stack trace or just a message saying the kernel failed to start.
Suggestion:

If kernel failed to start due to a Python error, then display the python error message
If kernel failed to start due to some known (based on past github issues) reason, then display a meaningful message with a solution
Display a link for more information on how the user could resolve the issue

/verified


Facing problem in 1221-medrec

Hi Sir
I am facing problem while running command for sample/1221-medrec " $ docker run -d -p 7001:7001 1221-medrec" on ubuntu , I am getting below error.
WLST-WLS-1464625798480: <May 30, 2016 4:29:59 PM UTC>    <Version: WebLogic Server <IP_ADDRESS>.0 Tue Oct  6 10:05:47 PDT 2015 1721936>
[java] ..........................WLST-WLS-1464625798480: <May 30, 2016 4:31:29 PM UTC>
[java] WLST-WLS-1464625798480: <May 30, 2016 4:31:29 PM UTC>
[java] WLST-WLS-1464625798480: <May 30, 2016 4:31:29 PM UTC>    <CMM memory level becomes 0. Setting standby thread pool size to 256.>
[java] WLST-WLS-1464625798480: <May 30, 2016 4:31:30 PM UTC>    <The server log file weblogic.logging.FileStreamHandler instance=1445671714
[java] WLST-WLS-1464625798480: Current log file=/u01/oracle/user_projects/domains/medrec/servers/AdminServer/logs/AdminServer.log
[java] WLST-WLS-1464625798480: Rotation dir=/u01/oracle/user_projects/domains/medrec/servers/AdminServer/logs
[java] WLST-WLS-1464625798480:  is opened. All server side log events will be written to this file.>
[java] WLST-WLS-1464625798480: <May 30, 2016 4:31:30 PM UTC>
[java] java.io.IOException: Stream closed
[java] 	at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
[java] 	at java.io.BufferedInputStream.read1(BufferedInputStream.java:283)
[java] 	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
[java] 	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
[java] 	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
[java] 	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
[java] 	at java.io.InputStreamReader.read(InputStreamReader.java:184)
[java] 	at java.io.BufferedReader.fill(BufferedReader.java:161)
[java] 	at java.io.BufferedReader.readLine(BufferedReader.java:324)
[java] 	at java.io.BufferedReader.readLine(BufferedReader.java:389)
[java] 	at weblogic.management.scripting.utils.WLSTProcess.run(WLSTProcess.java:82)
[java] 	at java.lang.Thread.run(Thread.java:745)
[java] Problem invoking WLST - Traceback (innermost last):
[java]   File "/u01/oracle/wlserver/samples/server/medrec/install/common/startAdminServer.py", line 11, in ?
[java]   File "", line 366, in startServer
[java]   File "", line 553, in raiseWLSTException
[java] WLSTException: Error occurred while performing startServer : Could not start the server, the process might have timed out or there is an Error starting the server. Please refer to the log files for more details.
[java]
[java] .........Could not connect to the server to verify that it has started. The error returned is: javax.naming.CommunicationException: t3://localhost:7001: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 7001 unreachable.; nested exception is:
[java] 	java.net.ConnectException: Connection refused; [RJVM:000576]No available router to destination.; nested exception is:
[java] 	java.rmi.ConnectException: [RJVM:000576]No available router to destination. [Root exception is java.net.ConnectException: t3://localhost:7001: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 7001 unreachable.; nested exception is:
[java] 	java.net.ConnectException: Connection refused; [RJVM:000576]No available router to destination.; nested exception is:
[java] 	java.rmi.ConnectException: [RJVM:000576]No available router to destination.]
[java] WLST-WLS-1464625798480: IOException when running WLSTProcess
[java] WLST-WLS-1464625798480: Stopped draining WLST-WLS-1464625798480
[java] No stack trace available.
BUILD FAILED
/u01/oracle/wlserver/samples/server/medrec/build.xml:27: The following error occurred while executing this line:
/u01/oracle/wlserver/samples/server/medrec/install/build.xml:10: The following error occurred while executing this line:
/u01/oracle/wlserver/samples/server/medrec/install/non-mt-single-server/build.xml:21: The following error occurred while executing this line:
/u01/oracle/wlserver/samples/server/medrec/install/non-mt-single-server/build.xml:39: The following error occurred while executing this line:
/u01/oracle/wlserver/samples/server/medrec/install/common/build.xml:27: Java returned: 1
I ran the command for oracle/weblogic:12.2.1-developer but build command "$ docker build -t 1221-medrec ." ran successful.
But sample/1221-domain "$ docker run -d --name=wlsadmin -p 8001:8001 1221-domain" is running successfully, I didn't face any such exception "unreachable port" .
I tried 1221-medrec by changing port 7001 to 8001 but got same exception "javax.naming.CommunicationException: t3://localhost:8001: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8001 unreachable"
Here would like to know,

why 1221-medrec is not able to open port 7001/8001 while 1221-domain is able to open port 8001 ?
If I need to set any extra env/file variable to enable port 7001 please let me know.
is there any proxy setting? if yes please let me know where to set and what variable need to set.
where to set "XX:+UnlockCommercialFeatures -XX:+ResourceManagement" to enable "ResourceManagement" ?

Thanks Sir

1221-medrec  sample actually starts AdminServer on port 7001, as per its [README](https://github.com/oracle/docker-images/blob/master/OracleWebLogic/samples/1221-medrec/README.md), and it does not extend 1221-domain`.
You must access AdminServer through port 7001.
It is also up to you how to adjust the container to decide access type to the container port.
There shouldn't be any proxy settings.
Finally, to enable RM, read WebLogic documentation.


github_runner_matrix: discontinue non-ephemeral runners

Non-ephemeral machines need regular restarts and we'd like to tell MacStadium they can be decommissioned.
For portable Ruby, I will be working on a 11-arm64-cross soon that will support ephemeral by having it run on macOS 12 (or later) instead. Was hoping pre-AGM but I can't guarantee that yet.

Makes sense, thanks @Bo98!


Migrate to WebSockets

Fixes #1487
Changes:

Migrate to websockets (using busyjs).
Update busyjs to be compatible with lightrpc (https://github.com/busyorg/busyjs/tree/dev)

Heroku build is failing

It should be good for a review. I wonder what should we do with STEEMJS_URL environment variable. It currently points to HTTPS API. Should we use it still and change URL on the fly or use another one? Which node should we use by default?

@Sekhmet we should change STEEMJS_URL to API_URL with https://api.steemit.com by default for now.

We will not merge this PR yet. We will need to test it out with api.busy.org first.


error: ".FALSE" ?

hi,
The following screen outputted when I ran the command python pipeline.py --hic-path /public/home/jenny/data/hic/ --pb-path /public/home/jenny/data/ccs/ --sample nl --prefix dip_asm
./pipeline.sh /public/home/jenny/data/hic/ /public/home/jenny/data/ccs/ nl FALSE dip_asm

I'm not sure if this is an error message, I have checked HIC and HIFI data, both of which are FASTQ files and have been decompressed, but there are other files under this path, such as the files before decompression. I can't think of the cause of this mistake
Thanks for any advice,
Best regards,
Jenny

Please see #16

Please see #16

Hi,
Thank you very much, although I don't quite understand what does it means that dipasm is a proof-of-concept tool .

Does this mean that I can also adopt the above idea(hifiasm+pstools) instead of using diPasm?
Can the result of Hifiasm mentioned above be replaced by the result of Hicanu?

Thanks for any advice,
Best regards,
Jenny

Hi,
Thank you very much, although I don't quite understand what does it means that dipasm is a proof-of-concept tool .

Does this mean that I can also adopt the above idea(hifiasm+pstools) instead of using diPasm?
Can the result of Hifiasm mentioned above be replaced by the result of Hicanu?

Thanks for any advice,
Best regards,
Jenny

Hi,
Thank you very much, although I don't quite understand what does it means that dipasm is a proof-of-concept tool .
1.Does this mean that I can also adopt the above idea(hifiasm+pstools) instead of using diPasm?
2.For diploid fish (the haploid genome  <1G), can the result of Hifiasm mentioned above be replaced by the result of Hicanu?
Thanks for any advice,
Best regards,
Jenny

Hi,
Thank you very much, although I don't quite understand what does it means that dipasm is a proof-of-concept tool .
1.Does this mean that I can also adopt the above idea(hifiasm+pstools) instead of using diPasm?
2.For diploid fish (the haploid genome  <1G), can the result of Hifiasm mentioned above be replaced by the result of Hicanu?
Thanks for any advice,
Best regards,
Jenny

Yes, please use hifiasm+pstools, because it is fast, accurate, as well as user-friendly.
In theory, hifiasm and Hicanu graphs should be similar, but I have not yet tested hicanu graphs.
Let me know if you have any questions. Look forward!

Yes, please use hifiasm+pstools, because it is fast, accurate, as well as user-friendly.
In theory, hifiasm and Hicanu graphs should be similar, but I have not yet tested hicanu graphs.
Let me know if you have any questions. Look forward!

Thank you very much, I'll have a try at once.
Best regards,
Jenny

Thank you very much, I'll have a try at once.
Best regards,
Jenny

Dear author
hic_mapping_unitig How was this file generated

Dear author
hic_mapping_unitig How was this file generated

hic_mapping_unitig is a subcommand in pstools. Please read instructions carefully. Thanks.

hic_mapping_unitig is a subcommand in pstools. Please read instructions carefully. Thanks.

Thank you

Thank you

dear author
I applied your test data in dipasm, However, he made the mistake and what caused it.

dear author
I applied your test data in dipasm, However, he made the mistake and what caused it.

./hifiasm -o aaa -t 10  /home/Mpzhang/HpDu/dipasm/DipAsm/pacbioccs/hifi.fastq.gz
./hifiasm -o pgp1.asm -t60 /home/Mpzhang/HpDu/dipasm/DipAsm/pacbioccs/hifi.fastq.gz
awk '/^S/{print ">"$2;print $3}' pgp1.asm.r_utg.gfa > pgp1.asm.r_utg.fa
/home/Mpzhang/Mzhou/Biosoft/pstools hic_mapping_unitig -t 64 pgp1.asm.r_utg.fa <(zcat /home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_1.fastq.gz) <(zcat /home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_2.fastq.gz); /home/Mpzhang/Mzhou/Biosoft/pstools resolve_haplotypes -t 64 hic_name_connection.output pgp1.asm.r_utg.gfa ./; /home/Mpzhang/Mzhou/Biosoft/pstools hic_mapping_haplo -t 64 pred_haplotypes.fa <(zcat /home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_1.fastq.gz) <(zcat /home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_2.fastq.gz) -o scaff_connections.txt; /home/Mpzhang/Mzhou/Biosoft/pstools haplotype_scaffold -t 64 scaff_connections.txt pred_haplotypes.fa ./
This is the code I run, the data comes from githup test data, the result is the picture above,Why is this happening

./hifiasm -o aaa -t 10  /home/Mpzhang/HpDu/dipasm/DipAsm/pacbioccs/hifi.fastq.gz
./hifiasm -o pgp1.asm -t60 /home/Mpzhang/HpDu/dipasm/DipAsm/pacbioccs/hifi.fastq.gz
awk '/^S/{print ">"$2;print $3}' pgp1.asm.r_utg.gfa > pgp1.asm.r_utg.fa
/home/Mpzhang/Mzhou/Biosoft/pstools hic_mapping_unitig -t 64 pgp1.asm.r_utg.fa <(zcat /home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_1.fastq.gz) <(zcat /home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_2.fastq.gz); /home/Mpzhang/Mzhou/Biosoft/pstools resolve_haplotypes -t 64 hic_name_connection.output pgp1.asm.r_utg.gfa ./; /home/Mpzhang/Mzhou/Biosoft/pstools hic_mapping_haplo -t 64 pred_haplotypes.fa <(zcat /home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_1.fastq.gz) <(zcat /home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_2.fastq.gz) -o scaff_connections.txt; /home/Mpzhang/Mzhou/Biosoft/pstools haplotype_scaffold -t 64 scaff_connections.txt pred_haplotypes.fa ./
This is the code I run, the data comes from githup test data, the result is the picture above,Why is this happening

/home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_1.fastq.gz) <(zcat /home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_2.fastq.gz); /home/Mpzhang/Mzhou/Biosoft/pstools resolve_haplotypes -t 64 hic_name_connection.output pgp1.asm.r_utg.gfa ./; /home/Mpzhang/Mzhou/Biosoft/pstools hic_mapping_haplo -t 64 pred_haplotypes.fa <(zcat /home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_1.fastq.gz) <(zcat /home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_2.fastq.gz) -o scaff_connections.txt; /home/Mpzhang/Mzhou/Biosoft/pstools haplotype_scaffold -t 64 scaff_connections.txt pred_haplotypes.fa ./
This is the code I run, the data comes from githup test data, the result is the picture above,Why is this happening

/home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_1.fastq.gz) <(zcat /home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_2.fastq.gz); /home/Mpzhang/Mzhou/Biosoft/pstools resolve_haplotypes -t 64 hic_name_connection.output pgp1.asm.r_utg.gfa ./; /home/Mpzhang/Mzhou/Biosoft/pstools hic_mapping_haplo -t 64 pred_haplotypes.fa <(zcat /home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_1.fastq.gz) <(zcat /home/Mpzhang/HpDu/dipasm/DipAsm/hi-c/hic_2.fastq.gz) -o scaff_connections.txt; /home/Mpzhang/Mzhou/Biosoft/pstools haplotype_scaffold -t 64 scaff_connections.txt pred_haplotypes.fa ./
This is the code I run, the data comes from githup test data, the result is the picture above,Why is this happening

It may be efficient to schedule a meeting. If you could write me at<EMAIL_ADDRESS>that would be good.

It may be efficient to schedule a meeting. If you could write me at<EMAIL_ADDRESS>that would be good.

ok, I am writing now

ok, I am writing now


AppFolder is empty after reinstalling application

Is this a bug? If I reinstall the application and check the app folder using the same credentials and account the query for the AppFolder children returns 0 elements.

same issue here!
this is super weird because it was working perfectly fine yesterday but now if i uninstall and reinstall my app then the file is not found

Are you still having this issue?

@asrivas i am having this issue

Don't know... I gave up on Google drive api a long time ago due to this and many other problems

Sorry to hear that, please let us know if you have any other issues with the samples


Question: Why doesn't Carlo automatically install Chrome in the home directory?

Hey.
So this is a really great initiative and I'm following the progress closely. I was wondering if it would be a good idea for carlo apps to ship with a small installer which will check if Chrome is available, and if it's not, it's gonna download a version and install it in the home directory. The user doesn't have to be aware of this logic, just like he's not aware that Electron apps are shipping with a Chromium instance.
What do you think?

Chrome should only be installed with the user consent. We can print error message or point user to the installation, but user needs to be aware of what is happening and why.

It would be great to have chromium embedded by default in all the operating systems, as a platform standard, with an option to upgrade to chrome if the user wants to. Ha ha.

Unlike Chrome, Chromium is just an open source library that one can use, no end user agreement is necessary.

@pavelfeldman yeah the end goal is for Carlo to work when the user doesn't have Chrome/Chromium. So is an automatic download of Chromium supported now?

@kitze If one chooses a chromium channel in the launch options, then carlo calls puppeteer createBrowserFetcher which will download the chromium revision compatible with Puppeteer or even a specific revision.
That is cool, but chromium has a disk and bandwidth cost:  (~170MB Mac, ~282MB Linux, ~280MB Win) and apparently one can only update the whole chromium package because updates do not come by little patches on top of the existing installation.
It would be cool if the current installation was able to update just the least amount of bytes by fetching only the required diff instead of having to download the whole package each time.

@pavelfeldman  is chromium auto-update feature using "filesystem updates with file-level binary diffs" available in carlo / puppeteer-core ?

Chromium is bundled with the application and is only used by the applicatiion. It’s part of the application that makes it function. That is also way electron apps are very large.
Where as with Carlo, you don’t need to download 100MB+ apps every time, eve though they all use the same runtime. Carlo let’s you distribute much smaller apps that use one Chrome install.
I view Carlo as something very similar to ADOBE AIR or FLASH, to a point. Use a common, preinstalled runtime, to distribute much smaller applications.

@ab35 Just to verify, you're saying that the user need not have Chrome or Chromium installed, and that with the launch option you recommended it will automatically install Chromium behind the scenes, without the user knowing, and launch the Carlo app?
Will this automatically-installed Chromium instance be the accessible as an app on the User's desktop? I don't want that to be the case, just want the user to install "one app" not "two apps".
Do you have an example?

@trusktr If I correctly remember, when the user does not have Chrome or Chromium, one can programmatically download a specific version (see one's comment above), and that version is downloaded somewhere into the carlo application directory tree. It will not appear on the User's desktop or as an installed app, because it just downloaded into a local folder.


Resizing the "main window" makes text blurry inside the "second window"

Godot version
v4.2.stable.official [46dc27791]
System information
Windows 11
Issue description
When I open another Window inside the code (separate window) and scale the "Main window" the text in the other window becomes blurry like this:
Steps to reproduce

Make main scene.

make window-scene with some text

instantiate window-scene from main scenes code:
func _ready():
get_viewport().set_embedding_subwindows(false)
var d = mywin.instantiate()
add_child(d)

run project.

resize the "main window"

text becomes blurry in an instantiated scene.

testing.zip
Minimal reproduction project
testing.zip

Please use the "Edit" function (in the three dots menu on the post) to edit your original post instead of adding the screenshot in a separate comment


[CONTROLLER/CLOUD] fixes huawei dhcp multi ips bug

This PR is for:

Server

fixes huawei dhcp multi ips bug
Steps to reproduce the bug
Changes to fix the bug
Affected branches

main

Checklist

[ ] Added unit test to verify the fix.
[ ] Verified eBPF program runs successfully on linux 4.14.x.
[ ] Verified eBPF program runs successfully on linux 4.19.x.
[ ] Verified eBPF program runs successfully on linux 5.2.x.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zhengya seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Create staging and production environments

This is related to AWS account migration which is no longer relevant now.


python311Packages.types-awscrt: 0.19.13 -> 0.19.18

Changelog: https://github.com/youtype/types-awscrt/releases/tag/0.19.18
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 270874 run on x86_64-linux 1

22 packages built:

aws-sam-cli
aws-sam-cli.dist
python310Packages.boto3-stubs
python310Packages.boto3-stubs.dist
python310Packages.botocore-stubs
python310Packages.botocore-stubs.dist
python310Packages.dsnap
python310Packages.dsnap.dist
python310Packages.types-aiobotocore
python310Packages.types-aiobotocore.dist
python310Packages.types-awscrt
python310Packages.types-awscrt.dist
python311Packages.boto3-stubs
python311Packages.boto3-stubs.dist
python311Packages.botocore-stubs
python311Packages.botocore-stubs.dist
python311Packages.dsnap
python311Packages.dsnap.dist
python311Packages.types-aiobotocore
python311Packages.types-aiobotocore.dist
python311Packages.types-awscrt
python311Packages.types-awscrt.dist

Superseded by https://github.com/NixOS/nixpkgs/pull/270837


Data format with root typed (Key, Value) support

Recently I came across a task to write a ser/de library for the NBT format. The problem I met is that, if we regard all formatted files as trees, this format requires a name for every tree root, which we typically do not meet them in JSON, etc. To raise an example, here's a piece of JSON document:
{
  "DataVersion": 19133,
  "Dimension": -1,
  "abilities": {
    "walkSpeed": 0.1,
    "flySpeed": 0.05,
    "mayfly": false,
  }
}

Note that there is no something like rootName: { in the first line, means that the tree root is a JSON value, instead of a key-value pair. Now here's an equivalent NBT document (transcripted, it was originally a compact binary format):
Compound "Player"
  Int "DataVersion" 19133
  Byte "Dimension" -1
  Compound "abilities"
    Float "walkSpeed" 0.1
    Float "flySpeed" 0.05
    Boolean "mayfly" false
  EndCompound
EndCompound

The root is a key-value pair with key named Player. In fact, all NBT units (or tags as they love to call them) have firstly its type described, and secondly the key name, then finally the value: that means the root tag must have a name. This is different from JSON, where the root is nameless thus is only a value.
To describle NBT format, I can only think of one way: serialize with key added as a parameter in to_xxx functions, and when deserializing I may discard this name or return the name as well as the value. For example I have to write:
let v = MyStruct { ... }; // inner fields omitted
let s = to_string_transcript(&value, "RootName")?;
let (v, key): (MyStruct, _) = from_string_transcript(s)?;
assert_eq!(key, "RootName");

Instead of:
let v = MyStruct { ... }; // inner fields omitted
let s = to_string_transcript(&value)?;
let v: MyStruct = from_string_transcript(s)?;

... which are easier to understand and could be much simpler.
In my opinion, if we design functions like this, users have to remember this different convention of parameters (extra key needed), and the API convention is not as graceful as other serde libraries like serde-json and serde-yaml.
Is there a better solution if I use serde to support the NBT format?

You could use the name of the top level struct as the root name. For example RON does that. It can be controlled by a serde rename attribute on the struct as necessary.

@dtolnay Thank you! That would be a nice solution. I've done by using top-level struct name in my project.


Implentation of the GUI_Manager Class via DearPyGUI

Implemantated GUI Class using DearPyGUI.
Did not test it tho.
And I did not add details like color and thinks like this. It's pretty basic.

Hey, the code looks good, but it's no longer relevant to the base changes we discussed in the last meeting


[EventRequest] Report 7304 “Get Outbound Source Documents”,  Whse. Pick Request - OnAfterGetRecord

Please add a new publisher event  OnAfterGetRecordWhsePickRequest in report 7304 on trigger  Whse. Pick Request - OnAfterGetRecord and call it in the start of the trigger

Please add the corresponding Integration Event In the bottom of the report

We already have this event
trigger OnAfterGetRecord()
begin
OnBeforeWhsePickRequestOnAfterGetRecord("Whse. Pick Request", PickWkshTemplate, PickWkshName, LocationCode, LineCreated);
end;

Okay, then you can ignore this request. Thank you

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Doodstream issue

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.10.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
Sir i read your codes and see your ytdlp support old format link then i change link format to old but this issue comes. Solve this issue fast sir

Link of video :- old format https://dood.so/e/3ce8floblo03
New format:- https://dood.re/e/3ce8floblo03
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
Doodstream issue

Why are you spamming? Explain yourself, or I'll be forced to ban you https://github.com/yt-dlp/yt-dlp/issues/3298 https://github.com/yt-dlp/yt-dlp/pull/5400 https://github.com/yt-dlp/yt-dlp/issues/5399 https://github.com/yt-dlp/yt-dlp/issues/5398 https://github.com/yt-dlp/yt-dlp/issues/5391


Docker image creation

This change build a docker image containing the dishorde bot.
Includes github workflow, only requires you to create a Private github token and place it in the secrets named DEPLOY_TOKEN.
Github Container Registry will be free for this image so the cost to maintain is only time.

Looks great for folks that use Docker. I'll give this a test soon. A couple of general questions:

Any particular reason the gallium-bullseye-slim image is used here as opposed to an LTS variant? I try to stick to the LTS releases unless something specific is needed.
Would you know on-hand if many people run the game itself using Docker? If so, I'd love to look at making a (separate) image that sets up the game and bot in one package. Docker's networking could be ideal for setting up the telnet connection with no-hassle. (i.e. vinanrra/7dtd-server)

I'll have a look at switching to an lts image.
In my repos I maintain a portainer template json and stacks config for 7days for my own servers, your welcome to use anything you find there. https://github.com/chris3081/portainer-app-templates

Hey there! If you're still here, do you mind if I push some changes? I'd like to tweak this a bit and merge it in.
Here's what I'd like to do with it (no action required on your part)
[ ] Use a LTS Alpine image for Node.js if possible.
[ ] Test the GitHub workflow
[ ] Expand the environment variables so that the rest of the options can be configured - For this, I might just modify the bot to accept environment variables in lieu of a config file.
Great work on this again and I appreciate the PR!