Desktop entry not created

Describe the bug
I chose to create a desktop entry during the first run wizard and it did not create it. I did not choose to create one for all users, only my current user. I would like to also recommend adding the option to install the .desktop file again in the settings of Godot Manager, that way at any time the user can install it, not just during the first run.
To Reproduce
Steps to reproduce the behavior:

First run
Choose create desktop entry
It is not in my menu.

Expected behavior
I expected a desktop icon in my menu.
Screenshots
None.
Complete the Following:

OS: Linux
Version 0.2.0

Additional context
None.

Can you confirm that the Desktop file exists in ~/.local/share/applications folder?  When not using System Wide install, that should be where it is installed to.  Also could you verify that you have xdg-desktop-menu available on your system?  It should be a part of xdg-tools

Nope, the desktop file is not there and yes I do have xdg-desktop-menu.

I just just checked, and ~/.local/share/icons/hicolor/64x64/apps/godot-manager.png was not created either.

That should be changed.  It should be looking to the folder you have Godot Manager installed to, for godot-manager.svg

And it does need to be in a Directory that Godot Manager can write to, either by User or Group Permission.

That should be changed.  It should be looking to the folder you have Godot Manager installed to, for godot-manager.svg

My bad, was looking at commit ca8340f when you added desktop file support.
However, there is not a godot-manager.svg where my godot manager is installed either... And there isn't one in the 0.2.0 linux zip I downloaded.

And it does need to be in a Directory that Godot Manager can write to, either by User or Group Permission.

I have it installed in ~/bin which is user writable.

The SVG file is created when the Desktop Entry is written.  I have it stored as a resource in the pak that gets attached to the Godot template, so it wouldn't be there, till you actually created a Desktop entry, which only happens on Linux platforms.  If you could try for me, temporarily Rename your Godot-Manager folder in ~/.local/share/Godot-Manager to something like Godot-Manager.bak, and re-launch the Godot Manager app from console, to see what output is generated, and paste what is generated in the console.

Just gave that a try. It created both the icon and the desktop entry this time.
However there were 3 errors while running the first run:
ERROR: Attempted to convert an unmarshallable managed type to Variant. Name: 'Task`1' Encoding: 21.
   at: mono_object_to_variant_impl (modules/mono/mono_gd/gd_mono_marshal.cpp:1124)
ERROR: Index p_current = 5 is out of bounds (get_tab_count() = 5).
   at: set_current_tab (scene/gui/tab_container.cpp:593)
ERROR: Condition "status != STATUS_BODY" is true. Returned: PoolByteArray()

Not sure why it worked this time but not the previous time.

The First one, is going to be a given, as I'm using an async method, and System.Threading.Task is cannot be Marshalled to Godot.
Second One is a known issue, with the First Run Wizard, it's not a critical error, as it's attempting to switch beyond the number of pages there are in the wizard dialog, but is closed at that point anyways.
Third error, is a Condition status with Networking, something failed, but didn't completely crash out, so it's also not a critical error.
First one will be unchangeable, as using Async methods, with Signal Handlers will never fully work, but it will never crash the program, as I'm not looking for any returns, and Godot doesn't accept any return values, just the Glue between C# and Godot.  Hopefully, with the 0.3.0 Re-write to Godot 4.0, that will be better handled.
Second one, I just need to refactor the code that handles validating when to step to the next step, and validate that it doesn't go out of bounds, which is basically all it is.  But as I said, it isn't going to crash the program, as the wizard is closing anyway at that point.
Third one will definitely benefit from the 0.3.0 Re-write, as I will be moving away from Godot's Networking Stack, and moving to C#/Dotnet's Networking stack, and resolve the hoops that I have to jump through to get things to work.

So none of the errors are related to this problem. I wasn't able to replicate it, so no idea why it failed the first time.

Since I'm not able to reproduce this, I am setting up an alternative, that will create the Shortcut in Settings panel, making it easier to create it, if for some reason First Run Wizard fails to create the Shortcut.


Add Scrapegraph tool integration

Hi @logan-markewich the schema can be optional, thank you

THANK YOUUUUU


double tap zooming issue in iOS 8

seems like a easy fix.
please refer to this
https://github.com/mwaterfall/MWPhotoBrowser/issues/304
simply added:
+- (void)scrollViewDidZoom:(UIScrollView *)scrollView {

[self setNeedsLayout];
[self layoutIfNeeded];
+}

good


openplayground -e is not accepting path to env file

openplayground -e .env will not respect the existing .env file and instead overwrite it with a blank file.

Fixed before history squash, closing.


Seems to be incompatible with the latest versions of pip and tox

Getting this trying to use this with venv-update on python 3.7.0:
Traceback (most recent call last):
  File "/Users/gnhill/.virtualenvs/mwxapi/bin/tox", line 11, in <module>
    sys.exit(cmdline())
  File "/Users/gnhill/.virtualenvs/mwxapi/lib/python3.7/site-packages/tox/session.py", line 39, in cmdline
    main(args)
  File "/Users/gnhill/.virtualenvs/mwxapi/lib/python3.7/site-packages/tox/session.py", line 45, in main
    retcode = Session(config).runcommand()
  File "/Users/gnhill/.virtualenvs/mwxapi/lib/python3.7/site-packages/tox/session.py", line 422, in runcommand
    return self.subcommand_test()
  File "/Users/gnhill/.virtualenvs/mwxapi/lib/python3.7/site-packages/tox/session.py", line 543, in subcommand_test
    self.runtestenv(venv)
  File "/Users/gnhill/.virtualenvs/mwxapi/lib/python3.7/site-packages/tox/session.py", line 562, in runtestenv
    self.hook.tox_runtest_pre(venv=venv)
  File "/Users/gnhill/.virtualenvs/mwxapi/lib/python3.7/site-packages/pluggy/hooks.py", line 258, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/Users/gnhill/.virtualenvs/mwxapi/lib/python3.7/site-packages/pluggy/manager.py", line 67, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/Users/gnhill/.virtualenvs/mwxapi/lib/python3.7/site-packages/pluggy/manager.py", line 61, in <lambda>
    firstresult=hook.spec_opts.get('firstresult'),
  File "/Users/gnhill/.virtualenvs/mwxapi/lib/python3.7/site-packages/pluggy/callers.py", line 201, in _multicall
    return outcome.get_result()
  File "/Users/gnhill/.virtualenvs/mwxapi/lib/python3.7/site-packages/pluggy/callers.py", line 76, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/Users/gnhill/.virtualenvs/mwxapi/lib/python3.7/site-packages/pluggy/callers.py", line 180, in _multicall
    res = hook_impl.function(*args)
  File "/Users/gnhill/.virtualenvs/mwxapi/lib/python3.7/site-packages/tox_pip_extensions.py", line 143, in tox_runtest_pre
    install_command.append(_extras(venv.session.get_installpkg_path()))
AttributeError: 'Session' object has no attribute 'get_installpkg_path'

Relevant dependency versions:
pip==18.0
tox==3.3.0
tox-pip-extensions==1.3.0
venv-update==3.1.0
virtualenv==16.0.0
virtualenv-clone==0.3.0
virtualenvwrapper==4.8.2
Seems like the venv session interface changed under you maybe?

Indeed, I'll look into getting a fix for this - - thanks for the issue!
CC @gaborbernat for the breaking change from tox's side

@asottile indeed; the change was required because now the package is bound to the venv instead of the session :thinking: with the PEP-517/8 (venv.package) is what you want.

v1.4.0 contains a fix for this -- thanks again for the report!


REPL: unexpected exception is thrown

Describe the bug?
Enter the REPL, and type assert 1 == 2
>>> assert 1 == 2
Traceback (most recent call last):
  File "<string>", line 32, in <module>
  File "<string>", line 1, in <module>
  File "<stdin>", line -1, in <module>
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 36, in <module>
NameError: name 'e' is not defined

A NameError: name 'e' is not defined is thrown, this is not expected. And REPL is not worked after this exception. E.g. type print!("hello"), no text is displayed.
Reproducible code
assert 1 == 2

Expected result
No NameError here.
Actual result

Additional context
No response
Erg version
main branch, commit hash is fb294fa991beebdb2a4445173ac4d77470e2c677
Python version
Python3.10
OS
Linux (other distro)

I had the same problem


Progress goes over 100%

Using the latest release at this time (v3.6) for Linux. I was running the tool to enumerate virtual hosts for a lab and the tool is going way over the 100% mark:

Can you please try the dev branch and see if the problem exists there too?
go install github.com/OJ/gobuster/v3@dev

Hello, I tried to install it and got an issue with the library: /usr/libexec/gcc/x86_64-linux-gnu/13/cc1: error while loading shared libraries: /lib/x86_64-linux-gnu/libisl.so.23: invalid ELF header. I would usually explore more about the issue, but time constraints!

Hello, I tried to install it and got an issue with the library: /usr/libexec/gcc/x86_64-linux-gnu/13/cc1: error while loading shared libraries: /lib/x86_64-linux-gnu/libisl.so.23: invalid ELF header. I would usually explore more about the issue, but time constraints!

this error occurs while the library file /lib/x86_64-linux-gnu/libisl.so.23 is corrupted or invalid i guess... To solve this error try checking if this file exists : ls -l /lib/x86_64-linux-gnu/libisl.so.23
if it does then , try insatlling : sudo apt update sudo apt install --reinstall libisl23
if anything happenes ask !!!


Update AssemblyBuilder.md with persistable AssemblyBuilder info

Summary
Update the reflection emit conceptual doc with the new persistable AssemblyBuilder usage
Related to https://github.com/dotnet/runtime/issues/15704

Internal previews

📄 File
🔗 Preview link

docs/core/porting/net-framework-tech-unavailable.md
.NET Framework technologies unavailable on .NET

docs/fundamentals/runtime-libraries/system-reflection-emit-assemblybuilder.md
System.Reflection.Emit.AssemblyBuilder class

Thank you for the review @gewarren


Hello World Issues

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/create
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

dotnet new console -o MyApp
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download

I've got installed the sdk 6.0.200 two times and it still doesn't find it.
Operating system: Windows 11 Home 21H2

It might be an issue with PATH.
Check the output of the where.exe dotnet command and if your system is x64 and the x86 path returns first, please follow the steps at https://github.com/dotnet/core/issues/5962#issuecomment-780084535 to fix the issue
Let us know if this helps.


bundle.js not found

After running npm install -g shipboard and shipboard -p 9000 I get taken to a blank page which logs out a 404 on bundle.js

same issue.

Sorry about that. All better in 1.0.2:
$ curl -s https://registry.npmjs.org/shipboard/-/shipboard-1.0.2.tgz | tar tz | grep bundle.js
package/public/bundle.js.gz


runtime/pprof: block/mutex profile stacks can sometimes miss leaf frames

Go version
go version go1.23.1 darwin/arm64
Output of go env in your module/workspace:
n/a

What did you do?
Built this program with PGO and ran it:
package main

import (
	"os"
	"runtime"
	"runtime/pprof"
)

func main() {
	runtime.SetBlockProfileRate(1)
	ch := make(chan struct{})
	go func() {
		close(ch)
	}()
	<-ch
	pprof.Lookup("block").WriteTo(os.Stdout, 1)
}

What did you see happen?
If I build with PGO using a profile where runtime.blockevent is hot, then I see this output:
--- contention:
cycles/second=999458200
97416 1 @ 0x4cd357 0x438c4b 0x4709a1
#	0x4cd356	main.main+0x76		/home/junk/simple.go:17
#	0x438c4a	runtime.main+0x28a	/usr/local/go/src/runtime/proc.go:272

Example program which generates such a CPU profile:
package main

import (
	"os"
	"runtime"
	"runtime/pprof"
	"time"
	_ "unsafe"
)

//go:linkname blockevent runtime.blockevent
func blockevent(cycles int64, skip int)

func main() {
	runtime.SetBlockProfileRate(1)
	pprof.StartCPUProfile(os.Stdout)
	defer pprof.StopCPUProfile()
	now := time.Now()
	for time.Since(now) < 5*time.Second {
		for i := 0; i < 100000; i++ {
			blockevent(1, 1)
		}
	}
}

What did you expect to see?
I expected to see chanrecv1 in the root frame:
--- contention:
cycles/second=999008970
54083 1 @ 0x406312 0x4cd357 0x438c4b 0x4709a1
#	0x406311	runtime.chanrecv1+0x11	/usr/local/go/src/runtime/chan.go:489
#	0x4cd356	main.main+0x76		/home/junk/simple.go:17
#	0x438c4a	runtime.main+0x28a	/usr/local/go/src/runtime/proc.go:272

I see that if I run the program with frame pointer unwinding disabled (GODEBUG=tracefpunwindoff=1) or if I run it with Go 1.22.
The problem is that if runtime.saveblockevent is inlined into runtime.blockevent, then getfp() will return one of runtime.saveblockevent's callers frame pointers here, and runtime.fpTracebackPartialExpand will start frame pointer unwinding from the wrong frame, making the skip values incorrect. Depending on how much inlining there is, we might see even more missing frames.

Related Issues and Documentation

runtime/pprof: block and mutex profile stacks sometimes have "gowrap" root frames #69294
runtime: MutexProfile missing root frames in go1.23 #69335 (closed)
runtime/pprof: inline frames may not use combined location #37446 (closed)
runtime/pprof: collecting a CPU profile takes ~200ms of wall time #63043
runtime/pprof: under-samples all work when runtime creates threads #40963 (closed)
runtime/pprof: collecting mutex or block profiles add ~100ms of wall time #63078 (closed)
runtime/pprof: under-samples work on short-lived threads #40435 (closed)
runtime: framepointer-based stack unwinding omits memmove's callee #58835
runtime: frame pointer unwinding can fail on system goroutines #63630
runtime/pprof: Missing labels from goroutines stacks containing systemstack #48577 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

Related Issues and Documentation

runtime/pprof: block and mutex profile stacks sometimes have "gowrap" root frames #69294
runtime: MutexProfile missing root frames in go1.23 #69335 (closed)
runtime/pprof: inline frames may not use combined location #37446 (closed)
runtime/pprof: collecting a CPU profile takes ~200ms of wall time #63043
runtime/pprof: under-samples all work when runtime creates threads #40963 (closed)
runtime/pprof: collecting mutex or block profiles add ~100ms of wall time #63078 (closed)
runtime/pprof: under-samples work on short-lived threads #40435 (closed)
runtime: framepointer-based stack unwinding omits memmove's callee #58835
runtime: frame pointer unwinding can fail on system goroutines #63630
runtime/pprof: Missing labels from goroutines stacks containing systemstack #48577 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

In triage, we don't think it's super important to show chanrecv1 here (the line in the user code should already point to the channel operation), but we understand the general concern about maintaining parity with older versions.


Inconsistent output from prettier causing extra changes in PR

Describe the Bug with repro steps
Seeing inconsistencies in prettier output between commits/PRs. https://github.com/Azure/LogicAppsUX/pull/4229/files see comment here. Not a huge issue but can create some confusion for PR reviews.
What type of Logic App Is this happening in?
Standard (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
NA

Screenshots or Videos
NA
Browser
NA
Additional context
No response

There's nothing we can personally do about this so I"m going to close it but if you're seeing a case where prettier is being inconsistent please report the bug to them. Their # 2 highest core tenant is consistency (# 1 is don't make functional changes).


MACOS multiple desktops issue

Issue Type: Bug
Steps to reproduce:
On a MacOS device, enable multiple desktops:
.
Open VSCODE
Expected: VSCode should be visible only in the current desktop (Desktop 1)
Actual result: VSCode is showing in all of the desktops (Desktop1 , 2 and 3) (but is the same instance)

a single instance of VSCODE is visible on all desktops of macos
if I close one , all of them will close, tried it on a single monitor and multiple monitors.
same bugs exists. (but the same instance won't be visible in the 2nd monitor) only the monitor it was original opened
VS Code version: Code 1.26.1 (493869ee8e8a846b0855873886fc79d480d342de, 2018-08-16T18:31:26.156Z)
OS version: Darwin x64 17.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz (8 x 3100)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 2

Memory (System)
16.00GB (2.58GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron -psn_0_61455

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

vscode-npm-script
eg2
0.3.5

prettier-vscode
esb
1.6.1

python
ms-
2018.7.1

debugger-for-chrome
msj
4.8.2

sass-indented
rob
1.4.9

gitblame
wad
2.4.4

@bpasero description updated

@fabiospampinato , you were ,sorry about that closing the bug


strict-type-predicates reports 'Expression is always true.' which is not true

Bug Report

TSLint version: 5.2.0
TypeScript version: 2.3.2
Running TSLint via: ng lint --type-check from Angular CLI

TypeScript code being linted
['a', 'b', 'c'].map((s: string) => {
  if (s === 'b') {
    return undefined;
  }
  return 1;
}).filter((n: number) => n !== undefined);

['a', 'b', 'c'].map((s: string) => {
  if (s === 'b') {
    return undefined;
  }
  return 1;
}).filter((n: any) => n !== undefined);

['a', 'b', 'c'].map((s: string) => {
  if (s === 'b') {
    return undefined;
  }
  return 1;
}).filter((n: number | undefined) => n !== undefined);

['a', 'b', 'c'].map((s: string) => {
  if (s === 'b') {
    return undefined;
  }
  return 1;
}).filter(n => n !== undefined);

with tslint.json configuration:
{
  "rules": {
    "strict-type-predicates": true
  }
}

Actual behavior

ERROR: ...: Expression is always true.

Expected behavior
No error.

Remove the type annotation :number which is wrong anyway. That should
make it work
Am 18.05.2017 17:19 schrieb "Martin-Wegner"<EMAIL_ADDRESS>
Bug Report

TSLint version: 5.2.0
TypeScript version: 2.3.2
Running TSLint via: ng lint --type-check from Angular CLI

TypeScript code being linted
['a', 'b', 'c'].map((s: string) => {
if (s === 'b') {
return undefined;
}
return 1;
}).filter((n: number) => n !== undefined);
with tslint.json configuration:
{
"rules": {
"strict-type-predicates": true
}
}
Actual behavior
ERROR: ...: Expression is always true.
Expected behavior
No error.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/palantir/tslint/issues/2783, or mute the thread
https://github.com/notifications/unsubscribe-auth/ALaeKC67o3zB_pdCKG_RBNA0WTkRB4Tqks5r7GGSgaJpZM4NfZiq
.

Why is number wrong? The mapping function maps string to number... When I use any the same error occurs.

Your function maps to number | undefined . Either use that as type annotation of the parameter or just omit it and let typescript infer the type.
The bug with any is fixed by a recent PR

I omitted it and the same error occurs...

Using number | undefined also not work :(

That indeed looks like a bug. Do you have strictNullChecks enabled in your tsconfig.json?

No strictNullChecks is not enabled.

This rule does not work as expected without strictNullChecks, because the current implementation assumes that it's enabled.
I doubt it would be useful to add special handling for strictNullChecks = false, because the purpose of this rule is to check if you are comparing to null or undefined on non-nullable values. Everything else is already checked by the compiler.
The only check that could be performed without strictNullChecks would be somethink like this:
declare var num: number;
typeof num === "function"; // this will never be true
typeof num === "symbol"; // this will never be true
typeof num === "string"; // this will never be true
...
typeof num === "object"; // could be true when num === null
typeof num === "undefined"; // could be true when num === undefined

Of course we could do a better job documenting that behavior. Maybe even warn at runtime if this rule is used without strictNullChecks (and not apply this rule?).


collection returns only 1 record after adding a new record

Version info

Angular: 6.0.3
Firebase: 5.0.4
AngularFire: 5.0.0-rc.10
Other (e.g. Ionic/Cordova, Node, browser, operating system):
Ionic: 3.9.2

I am trying to create a posts service with AngularFire2, Everything works well and the results are as expected.
The problem occurs when I add a new post and query the collection again, I get only the recently added post instead of a list of latest posts.
In the post's service, I subscribe and take only ONE value from firebase store collection.
How to reproduce these conditions
Service
export class PostsService {
  // A reference to add posts in Fire Store
  private readonly _posts: AngularFirestoreCollection<Post>;

  readonly state = new BehaviorSubject<Collection<Post>>({
    docs: [],
    lastDoc: null,
    noMore: false
  });

  constructor(private _fireStore: AngularFirestore) {
  }

  /** Update Service State */
  private setState(state: Collection<Post>) {
    const newState = {...this.state.value, ...state};
    this.state.next(newState);
  }

  private getCollection(ref, queryFn?: QueryFn): Observable<any> {
    return this._fireStore.collection(ref, queryFn).snapshotChanges()
      .pipe(
        map((actions: DocumentChangeAction<Post>[]) => {
          return actions.map((a: DocumentChangeAction<Post>) => {
            const data = a.payload.doc.data();
            const doc = a.payload.doc;
            return {...data, doc};
          });
        }),
        take(1)
      );
  }

  /** Get the first collection of posts ordered by most recent */
  init(postCount: number): Observable<any> {

    return this.getCollection('posts', (ref: Query) => ref
      .orderBy('created', 'desc')
      .limit(postCount)
    ).pipe(
      tap((posts: Post[]) => {
        this.setState({
          docs: posts,
          lastDoc: posts.length ? posts[posts.length - 1].doc : null,
          noMore: !posts.length
        });
      })
    );
  }

  /** Add new post */
  add(postData: Post) {
    return from(this._posts.add(postData)).pipe(
      switchMap((post: DocumentReference) => {
        // Adds the id and the creation date to post data
        const timestamp = firebase.firestore.FieldValue.serverTimestamp();
        return post.set({...postData, ...{id: post.id, created: timestamp}});
      })
    );
  }

}

Component
@Component({
  selector: 'page-admin-posts',
  templateUrl: 'admin-posts.html',
  changeDetection: ChangeDetectionStrategy.OnPush
})
export class AdminPostsPage {

  constructor(public postService: PostsService) {
    // Fetch latest 15 posts
    postService.init(15).subscribe();
  }

  /**
   * Add post
   */
  addPost() {

    postData: Post = {...};

    this.postService.add(postData).pipe(
      // Manually refresh posts list when a post is successfully added
      switchMap(() => this.postService.init(15))
    ).subscribe();
  }
}

<ng-container *ngIf="postService.state$ | async; let state">

  <ion-list>
    <button *ngFor="let post of state.docs" ion-item (click)="open(post)">
      <h2>{{post.title}}</h2>
    </button>
  </ion-list>

</ng-container>

Debug output
** Errors in the JavaScript console **
No errors
** Screenshots **

Expected behavior
After adding a post, the service should fetch the latest 15 posts again using postsService.init(15)
Actual behavior
After adding a post, the service fetches only the last post I just added.

Hi @MurhafSousli. Your code for this example is a bit complex. I'm not certain if the problem is with AngularFire or your service. Can you create a stackblitz of this problem so it's easier for me to debug?

It was fixed when I implemented it in the stackblitz. Looks like I had something wrong in my project

@MurhafSousli  I'm also facing same problem so can you please tell me that how you get rid of this problem it'll save my day if you help me in this problem.

@rinkukumar-kiwi I don't really know what was the cause and cannot remember how I solved it, but you can check the stackblitz above, it is working


DataLossError (see above for traceback): inflate() failed with error -3: incorrect header check

Caused by op 'IteratorGetNext_3', defined at:
File "bin/iterate/table_adjacency_parsing.py", line 31, in
trainer.train()
File "/media/nagarro/b83d492f-3491-4265-b0d8-f6300e4586e0/home/nagarro/work/TIES-2.0-master/python/iterators/table_adjacency_parsing_iterator.py", line 48, in train
model.initialize(training=True)
File "/media/nagarro/b83d492f-3491-4265-b0d8-f6300e4586e0/home/nagarro/work/TIES-2.0-master/python/models/basic_model.py", line 73, in initialize
self.validation_feeds = self.validation_reader.get_feeds()
File "/media/nagarro/b83d492f-3491-4265-b0d8-f6300e4586e0/home/nagarro/work/TIES-2.0-master/python/readers/image_words_reader.py", line 68, in get_feeds
vertex_features, vertex_text, image, global_features, adj_cells, adj_rows, adj_cols = iterator.get_next()
File "/media/nagarro/b83d492f-3491-4265-b0d8-f6300e4586e0/home/nagarro/work/TIES-2.0-master/env/table-gn/lib/python3.6/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 414, in get_next
output_shapes=self._structure._flat_shapes, name=name)
File "/media/nagarro/b83d492f-3491-4265-b0d8-f6300e4586e0/home/nagarro/work/TIES-2.0-master/env/table-gn/lib/python3.6/site-packages/tensorflow/python/ops/gen_dataset_ops.py", line 1685, in iterator_get_next
output_shapes=output_shapes, name=name)
File "/media/nagarro/b83d492f-3491-4265-b0d8-f6300e4586e0/home/nagarro/work/TIES-2.0-master/env/table-gn/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "/media/nagarro/b83d492f-3491-4265-b0d8-f6300e4586e0/home/nagarro/work/TIES-2.0-master/env/table-gn/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/media/nagarro/b83d492f-3491-4265-b0d8-f6300e4586e0/home/nagarro/work/TIES-2.0-master/env/table-gn/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3300, in create_op
op_def=op_def)
File "/media/nagarro/b83d492f-3491-4265-b0d8-f6300e4586e0/home/nagarro/work/TIES-2.0-master/env/table-gn/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1801, in init
self._traceback = tf_stack.extract_stack()
DataLossError (see above for traceback): inflate() failed with error -3: incorrect header check
[[node IteratorGetNext_3 (defined at /media/nagarro/b83d492f-3491-4265-b0d8-f6300e4586e0/home/nagarro/work/TIES-2.0-master/python/readers/image_words_reader.py:68) ]]
[[node IteratorGetNext_3 (defined at /media/nagarro/b83d492f-3491-4265-b0d8-f6300e4586e0/home/nagarro/work/TIES-2.0-master/python/readers/image_words_reader.py:68) ]]

did you solve it? i met the same problem, so bad

You can use the following code to find the corrupted tfrecords:
import tensorflow as tf
import glob
total_images = 0
train_files = sorted(glob.glob('/mnt/data/ddig-us-south-2/TIES/data/tfrecords/val/*.tfrecord'))
compression = tf.python_io.TFRecordCompressionType.GZIP
print("validation started!")
for idx, file in enumerate(train_files):
try:
total_images += sum([1 for _ in tf.io.tf_record_iterator(file, tf.python_io.TFRecordOptions(compression))]) # Check corrupted tf records
print("{}: {} is ok".format(idx, file))
except Exception as e:
print("{}: {} is corrupted".format(idx, file))
print(e)

You can use the following code to find the corrupted tfrecords:
import tensorflow as tf
import glob
total_images = 0
train_files = sorted(glob.glob('~/*.tfrecord'))
compression = tf.python_io.TFRecordCompressionType.GZIP
print("validation started!")
for idx, file in enumerate(train_files):
try:
total_images += sum([1 for _ in tf.io.tf_record_iterator(file, tf.python_io.TFRecordOptions(compression))]) # Check corrupted tf records
print("{}: {} is ok".format(idx, file))
except Exception as e:
print("{}: {} is corrupted".format(idx, file))
print(e)

download files separately, without archive.

did you solve it? i met the same problem, so bad

To solve this problem, you can modify the image_word_readers.py file:
Define the dataset with:
dataset = tf.data.TFRecordDataset(file_paths, compression_type=None)
instead of
dataset = tf.data.TFRecordDataset(file_paths, compression_type='GZIP')
With the original version of the code, I believe the program thinks the tfrecords are GZIP compressed, when in reality you should already have uncompressed them.


Align label with underline.

I want to align underline, text and float label like in the picture. Is it possible?

I found that its duplicate with issue #74

is this already fixed?


Sample in Chapter 1. Introduction

Learning PReactjs with this book, still trying some samples in the book, not reach the final project, encounter some issues:

Syntax error: SyntaxError: Adjacent JSX elements must be wrapped in an enclosing tag, need to wrap the jsx inside a

class App extends Component
{
	render (props, state) {
		return (

This is my app

			<Paragraph name='Dan' />
		)
	}
}

Wrong component name, and not working:

const Counter = props => <button onClick={this.onClick}>{props.text}</button>
 <Button text='Press me!' onClick={this.handleClick} />

Button should have been 'Counter', and the code did not work, have to change to:
const Counter = props => <button onClick={props.onClick}>{props.text}</button>

Hi @angelochen960 ,
You need to wrap your elements (h1, and Paragraph) into a class. This means wrapping it in a div or another element.
Example
return (

This is my app

    <Paragraph name='Dan' />

)

@vutran thanks for the response,  sample code in the book does not wrap it, so for newbie like me, it took a while to figure out, the way I learn is by trying those small samples in the code, very seldom I'll reach the final project in a book, learning from small codes usually enough.

Thanks for the feedback! We'll take this into account on future revisions of the book. Please feel free to share more feedback if something stands out.


Want to add our Contributor page in the website

Details
Is your feature request related to a problem? Please describe.
Our Contributors page in the website
Describe the solution you'd like
We can add a Contributors page in the website. which is shows the name and the profile image of the contributor.and the number of commits is done by the contributor
Screenshots

Go ahead ! If there Any Problem Feel free to raise the query !
Thank You


No matching GoogleCloud domain found for domain xyz

Describe the bug:
Using cert-manager v1.1.0 and my domain "tremmel.xyz", I get the following error when issuing a new certificate:
Warning   PresentError        challenge/tls-mytest9876-tremmel-xyz-9w7g6-3173284640-619540661    Error presenting challenge: No matching GoogleCloud domain found for domain xyz.

The domain exists in Cloud DNS. I'm using the DNS01 challenge option. I used the official guide (https://cert-manager.io/docs/configuration/acme/dns01/google/) to configure the issuer.
Expected behaviour:
A certificate is issued.
Steps to reproduce the bug:
Issue the following example certificate:
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: tls-mytest9876-tremmel-xyz
spec:
  secretName: tls-mytest9876-tremmel-xyz
  dnsNames:
  - mytest9876.tremmel.xyz
  issuerRef:
    name: gcp-issuer-letsencrypt

Anything else we need to know?:
Environment details::

Kubernetes version: v1.19.3+k3s3
Cloud-provider/provisioner: bare metal (Alpine VM running on Proxmox hypervisor)
cert-manager version: 1.1.0
Install method: helm

/kind bug

It seems SOA records get filtered by your DNS resolver, could you check that?
/triage support

It seems SOA records get filtered by your DNS resolver, could you check that?
/triage support

That's it! I wasn't aware that cert-manager relies on the SOA records - which were wrong because of my split DNS setup. Simply changing the DNS resolvers to <IP_ADDRESS> solved the issue.
Thanks @meyskens !

That's it! I wasn't aware that cert-manager relies on the SOA records - which were wrong because of my split DNS setup. Simply changing the DNS resolvers to <IP_ADDRESS> solved the issue.
Thanks @meyskens !

@net47 the DNS resolvers you're talking about here, are those part of Kubernetes? Or is this part of the machine you're running Kubernetes on?

@net47 the DNS resolvers you're talking about here, are those part of Kubernetes? Or is this part of the machine you're running Kubernetes on?

They are outside of the Kubernetes cluster, part of my lab environment. As I said, I had split-DNS running and the Kubernetes nodes itself used them instead of going directly to <IP_ADDRESS> - that was the problem.

Ah thanks for the clarification. We're experiencing the same issue, but then inside a GKE cluster. We're still waiting for DNS changes to propagate, so maybe that's the issue for us. Anyways, thanks!

For us, the issue was caused by the fact that we have multiple authoritative nameservers which were not yet properly propagated. By configuring the Cert Manager controller to use <IP_ADDRESS> as recursive nameserver, the issue was solved for us.  See this page in the documentation for more details.

We had the DNS challenger set for the CNAME pattern. But forgot to enable cnameStrategy: Follow on the Issuer / ClusterIssuer. This fixed it for us.


setColor without triggering change events?

Hi, thanks for this great colour picker! :)
I may be missing something obvious, but is it possible to set the colour (and update the UI elements) without firing any of the event handlers?

At the moment, unfortunately, there is not.
Out of curiosity, what is it exactly that you are trying to do? Maybe I can help you find a better solution :)

No worries, thanks for the quick reply, I worked around it with a flag in my handlers and it's all working nicely :)
I was trying to set the background of different divs with a single picker, here is a crude example.. maybe I am doing something silly : https://jsfiddle.net/0tso9q43/2/

Glad you got it figured out!
Please let me know if there is anything else that I can do to help you :)

@NateSeymour i think that this feature is good.
When i setColor() in  mi angular app when a ng-change event ocurrs (the user can set the color on a input field, and i wont represent this change on picker) the event is trigered again with undesired efects.


[FEATURE] Trace Summarization models to TorchScript and Onnx format

We are planning to add more model supports in ML-Commons. Reference issue
The target of this issue is to trace 3 popular pre-trained summarization models to TorchScript and Onnx format. In this repo we traced pre-trained sentence embedding models into torchscript and onnx
We need to build the similar method to trace summarization models. Primarily we can target these models:

facebook/bart-large-cnn
sshleifer/distilbart-cnn-12-6
philschmid/bart-large-cnn-samsum

I created a feature branch : feature/summarization_model_conversation/. All the development of this issue should be done in that branch.

I'd like to work on this one

Sure, assigning it to you.

Hi @vicradon any update on this issue?

Hi @dhrubo-os
Can you reassign this issue to someone else?


Table ending in empty cell

Currently, if the last cell of a table is empty, it will be dropped from the HTML:
| Header 1 | Header 2 |
|----------|----------|
| Cell 1   | Cell 2   |
| Cell 3   |          |

This pull request does the following:

Add test for situation described above
Fix bug causing the the last cell to not be added during conversion to HTML.

:+1:

Is there any reason why this pull request has not been merged?

+1, there is another PR for the same bug in #697

Ping @chjj

#980

Thanks for the PR but this is already fixed.
See the demo to see it working in the latest version of marked.


Support Sentry's performance monitoring feature

This PR adds support for Sentry's performance monitoring feature.
Support was added for all interception kinds, and docs were updated as well.

oh sorry, i forgot... handling right now

done - release in<EMAIL_ADDRESS>

Awesome, thanks!!


Correct a task description

On the STEP 2 Analyze with Apache Spark of the quick start guide
In the paragraph "Load the NYC Taxi data into the Spark nyctaxi database" change the description from:

Add a new to the notebook, and then enter the following code:

to

Add a new code cell to the notebook, and then enter the following code:

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

ID: 65331fde-51d0-365e-e182-2c3b01de8f99
Version Independent ID: 79b4f02b-27a5-019a-1b36-4e80a04f539f
Content: Quickstart: Get started analyzing with Spark - Azure Synapse Analytics
Content Source: articles/synapse-analytics/get-started-analyze-spark.md
Service: synapse-analytics
Sub-service: spark
GitHub Login: @saveenr
Microsoft Alias: saveenr

@lorenzosoncini Thanks for your contribution, I've addressed this issue in PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/153681
The changes should be live EOD or tomorrow. In future, if you see any minor bug fixes in the doc, feel free to click on the edit button and submit a PR to update. we love to take community contributions.


rustfmt 1.4.8 with rust 1.38.0: error[E0554]: #![feature] may not be used on the stable release channel

rustfmt 1.4.8 fails to compile with rust 1.38.0:
[...]
   Compiling smallvec v0.6.10
     Running `CARGO_PKG_REPOSITORY='https://github.com/servo/rust-smallvec' CARGO=/usr/bin/cargo-1.38.0 CARGO_PKG_NAME=smallvec LD_LIBRARY_PATH='/tmp/portage/dev-util/rustfmt-1.4.8/work/rustfmt-1.4.8/target/release/deps:/usr/lib' CARGO_PKG_DESCRIPTION=''\''Small vector'\'' optimization: store up to a small number of items on the stack' CARGO_PKG_HOMEPAGE= CARGO_
PKG_AUTHORS='Simon Sapin<EMAIL_ADDRESS>CARGO_PKG_VERSION=0.6.10 CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION_PATCH=10 CARGO_MANIFEST_DIR=/tmp/portage/dev-util/rustfmt-1.4.8/work/cargo_home/gentoo/smallvec-0.6.10 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_MAJOR=0 rustc --crate-name smallvec /tmp/portage/dev-util/rustfmt-1.4.8/work/cargo_home/gentoo/smallve
c-0.6.10/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="may_dangle"' --cfg 'feature="std"' --cfg 'feature="union"' -C metadata=04cebf6205f91406 -C extra-filename=-04cebf6205f91406 --out-dir /tmp/portage/dev-util/rustfmt-1.4.8/work/rustfmt
-1.4.8/target/release/deps -L dependency=/tmp/portage/dev-util/rustfmt-1.4.8/work/rustfmt-1.4.8/target/release/deps --cap-lints warn`
error[E0554]: `#![feature]` may not be used on the stable release channel
  --> /tmp/portage/dev-util/rustfmt-1.4.8/work/cargo_home/gentoo/smallvec-0.6.10/lib.rs:33:32
   |
33 | #![cfg_attr(feature = "union", feature(untagged_unions))]
   |                                ^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
  --> /tmp/portage/dev-util/rustfmt-1.4.8/work/cargo_home/gentoo/smallvec-0.6.10/lib.rs:35:37
   |
35 | #![cfg_attr(feature = "may_dangle", feature(dropck_eyepatch))]
   |                                     ^^^^^^^^^^^^^^^^^^^^^^^^

build.log
emerge --info dev-lang/rust dev-util/rustfmt

P.S. In the readme, support for rust 1.24.0 is advertised.

That means pre-built rustfmt for Rust 1.24.0 is available via rustup component. You need nightly Rust to build rustfmt from source, as stated in Installing from source section.

To install from source (nightly required), first checkout to the tag or branch you want to install, then issue

Unforunately, rustup doesn't coexist with the distribution (ubuntu 20.04) installed stable Rust.  Therefore, I can't install rustup.  And it seems I can't compile from source either.  Lose/lose :(

@gjcarneiro

Therefore, I can't install rustup.

It's not entirely clear to me from your comment why you wouldn't or couldn't use rustup instead, especially since it's the recommended/official way. FWIW I'm on ubuntu 20.04 as well and have had no issues using rustup for both stable (1.44.1) and various nightly toolchains.

And it seems I can't compile from source either.

The instructions and requirements for compiling the rustfmt source are described here, and yes like many rust tools, a recent nightly toolchain is needed for compilation.
If you won't use rustup then I'd imagine you're going to have similar issues with other common tools like clippy, ide components like rls/rust-analyzer, etc., and if you can't/won't get a nightly toolchain then you won't be able to compile the rustfmt source.
However, we are planning to start including pre-built binaries with rustfmt releases starting with the next one, though we do still strongly encourage folks to get rustfmt via rustup.

I am still learning Rust and don't want to use rustup because rustup installs a version of rust with unstable features turned on.  I don't want to accidentally rely on aspects of Rust that are not stable, as they may disappear or change in the future.
I would like to use stable Rust, but I would also very much like to have a formatting tool (thanks for writing it!).
I might bite the bullet and switch to rustup, or wait for rustfmt binary release, I haven't decided yet.

It's not entirely clear to me from your comment why you wouldn't or couldn't use rustup instead, especially since it's the recommended/official way.

rustup won't work for architectures for which Rust upstream does not provide binaries such as sparc64.


bkr to ipynb converter

needs to check its arguments:
$ python beaker/bkr2ipynb.py
Traceback (most recent call last):
  File "beaker/bkr2ipynb.py", line 26, in <module>
    with open(sys.argv[1]) as data_file:
IndexError: list index out of range

should work on each of its parameters, so you can say
python bkr2ipynb.py *.bkr

use https://docs.python.org/2/howto/argparse.html


Create wrapper for tone analyzer [3075]

By Mathias Lykke Pedersen (mat0pad -<EMAIL_ADDRESS>on 2017-02-10 16:36:58.895
Create wrapper for tone analyzer. Use http-async android (github clone/fork)

Migrated from https://hub.jazz.net/ccm41/resource/itemName/com.ibm.team.workitem.WorkItem/3075


Fix a bunch of nits

Image link in the README.md for Python is busted
Global README needs a refresh to point at pip, new build instructions, etc

Also broken/missing:

[ ] OSX builds work fine
[ ] Remove the part about builder.py
[ ] Reference to the old Python API
[ ] Invalid badge link (should be opening the Actions on click - I suppose)


Escape % to avoid "invalid capture index problem" when % in the input

Hey,
If you select a line with a "%" for example
" while (fscanf(src, "%30s ", str) == 1) "
And try to run a ChatGPTRun command such as code_readbility_analysis you will have an error invalid capture index lua/chatgpt/flows/actions/chat/init.lua:52
The reason it happens is that when there is a % it is interpreted as a capture index by gsub but of course it is not intended. We need to escape those.
The resulting code is value = value:gsub("%%", "%%%%") because inside a string the % themselve need to be escaped too.
It it tested and fix the problem on my side.
PS : I had to close previous PR because I made commit from other PRs mistakenly

@jackMort any feedback ?
I also havee two other pendings PR so feel free to review those when you can too

I am facing this issue as well, in Go it deletes % from formatted strings and gives me completely nonsense answers. Do you have a workaround?

I just pulled your branch and used it and it's fixed :) Thanks so much, I hope this PR gets merged soon.


how to free mem?

i found that hashmap_free do not work, the mem can not free and with the time going on, the mem will reach very high, so what can i do?

TLDR
If you are allocating memory to your struct item (using malloc or related functions), and you call hashmap_set(hashmap, item), you can free the memory allocated to item after calling hashmap_set().
At the end of this comment, I've included a source code with its output, for reference.
Long Version
I looked at the hashmap implementation, I'll try to explain what I've understood.
Hashmap Memory Structure

Memory allocated to the hashmap is: sizeof(struct hashmap) + (2 * map->bucketsz))
map->bucketsz = sizeof(struct bucket) + sizeof(struct item), where item is the struct you want to insert into the hashmap.

The reason why an additional 2 * map->bucketsz space is allocated to the hashmap is because it is used internally by the hashmap their functions get called. One is for temporary storage hash->spare (like how a temp variable is used when you want to swap 2 variables), and another hash->entry, for initially storing the item when hashmap_set() is called.

The bucket_item struct (refer to diagram, this is something I named - it is not in the source code), holds a struct bucket (containing the hash) and struct item (your item struct).

The memory allocated to hashmap->buckets is equal to n bucket_items, where n = hashmap->nbuckets.

Inserting an item into the hashmap

When hashmap_set() or hashmap_set_with_hash() is called, the bucket hash is calculated. The bucket structure and your item struct get copied (using memcpy) into hashmap->edata. (This is the point where you can free memory allocated to item, because it was copied).

The bucket index is calculated by taking the some LSB bits of the hash (the number of bits depends on map->mask, which is map->nbuckets - 1). This the bucket_item where the item will be stored, i.e., copied into the bucket_item from the entry bucket.
PS: I won't be explaining what happens when a collision occurs, I just wanted to explain that item gets copied into one of the bucket_items.

What happens when hashmap_free() or hashmap_clear() is called?

For every bucket, hashmap->elfree() is called, which is the free function passed to hashmap_create().
NOTE: If you have allocated memory to your item before inserting to the hashmap (hashmap_set() or hashmap_set_with_hash()), this memory will not get freed when hashmap_free() or hashmap_clear() is called. It only frees the item struct present in the bucket_item.

Memory to hashmap->buckets and hashmap get freed.

Example code and output which does not result in memory leak
Source code: https://p.ip.fi/9jq6
Valgrind output:
$ valgrind --leak-check=full build/main
==6395== Memcheck, a memory error detector
==6395== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==6395== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==6395== Command: build/main
==6395==
string: 123456789
==6395==
==6395== HEAP SUMMARY:
==6395==     in use at exit: 0 bytes in 0 blocks
==6395==   total heap usage: 5 allocs, 5 frees, 1,650 bytes allocated
==6395==
==6395== All heap blocks were freed -- no leaks are possible
==6395==
==6395== For counts of detected and suppressed errors, rerun with: -v
==6395== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Sorry for the long explanation, I probably explained a lot of stuff unrelated to the issue.


Make it clear the ignoreCertificateErrors is not appropriate for production

In the README you include this paragraph:

ignoreCertificateErrors: If your server does not have a valid certificate the MetasysClient will not behave as expected and will likely block the connection. Setting the ignoreCertificateErrors = true will ignore this error and make an insecure connection with the server. To avoid this problem ensure the Metasys server has a valid certificate.

I'd just add something like the following to impress upon devs that this should never be done on a production site.

WARNING: You should not ignore certificate errors on a production site. Doing so puts your communication with the server at risk of a man-in-the-middle attack.

Maybe link to the appropriate related security topic: man in the middle. Just trying to help our customers but also make it clear this setting shouldn't be used or needed on a properly configured server.

Added warning for both COM and Basic Services.

Added warning for both COM and Basic Services.


factory: replace Array parameters with ReadonlyArray

I noticed that some Node factory functions take arrays as arguments. They actually don't need to be mutable so I changed them to ReadonlyArray for better ergonomics when using existing NodeArrays.

CI failure on Travis testing with Node 6 looks unrelated to this change


Performing HTTP Requests w/ Authorization

Overview
I wanted to create a repo that would use the flat action to store some data from the Twitter API. The problem is the Twitter API requires authorization in order to get any data. With the current version of the flat action (v2.0.2) there's no way to do this.
I created a fork of this repo that can do just that and published it to the marketplace. I wanted to submit a PR but wasn't sure if y'all would actually want to add it the way I did it so I figured I'd share what I did and leave it up to y'all.
Below is an explanation of my solution, and here is a link to my repo where I use the action I created:
4lch4/flat-bot
My Solution
What I did to enable authorization was add a field to the actions with field called Authorization. The value of this field is then passed in as an Authorization header.
The following code snippets are the changes I made to the existing code, there's only three files I changed (aside from the README):
const response = await axios.get(config.http_url, {
  method: 'get',
  responseType: 'stream',
  headers: {
    Authorization: config.Authorization,
  },
})

const HTTPConfigSchema = z
  .object({
    http_url: z.string(),
    Authorization: z.string().optional(),
  })
  .merge(CommonConfigSchema)
// ...
const keys = [
  'downloaded_filename',
  'http_url',
  'Authorization',
  'sql_connstring',
  'sql_queryfile',
  'postprocess',
]

Authorization:
  description: 'A string to send as a header for authorizing API requests.'
  required: false

Links
Current Flat Action Release
My Fork
My Published Action
My Example Usage

Hi there, thank you for suggesting this and going ahead and trying it out. We love this suggestion. Would you mind starting a PR  for this?
My one tiny comment would be to use lower cap for the authorization key to keep it consistent with the rest.

Gladly! I'll put a PR together here shortly and submit it :)


Tabular Neural Network hanging non-deterministically

Defect introduced recently sometime around Open Source. I have disabled NN by default in Tabular until we find the cause and fix it.

Thanks for opening the issue tracker! You mentioned it was a recent change causing this issue, right? Do you know which version was working okay? I can compare the diff to debug that.

Defect introduced on PR 94 due to adding pynvml dependency. For some reason pynvml causes tabular NN to permanently hang. Removing pynvml.

Opened #153 to fix

Merged

Hi, I'm also experiencing this NN hanging, in SageMaker using the MXNet DLAMI's as base images. Doesn't look like they have pynvml installed. This happens with both CPU and GPU images:
197237853439.dkr.ecr.us-east-2.amazonaws.com/autogluon-tabular-data-cpu-py36:latest and
197237853439.dkr.ecr.us-east-2.amazonaws.com/autogluon-tabular-data-gpu-py36-cu101:latest
To test, I've been trying different hyperparameter options. Any time I use NN only, the predict calls hang.
My local environment doesn't experience this issue, so I'm currently trying to tease out the difference(s). I'll update if I find anything. In case anyone gets a chance to look into the issue more, I'll attach the pip freeze of the cpu/gpu environments where it's failing.
cpu_freeze.txt
gpu_freeze.txt

@austinmw This may be related to #345. Uncertain at this time though, as your issue is only on SageMaker. If it persists after #345 is merged, please make a new issue for this and we will look into it.
In your cpu_freeze.txt, you have LightGBM 2.3.0, but it should be 2.3.1 if you are using latest AutoGluon in mainline. Did you pip install (not fixed) or build from latest source (fixed)?

Oops, good catch, had LightGBM 2.3.0 in my requirements file. Same issue with latest versions though. Will wait for that merge and check again, thanks.

I'd recommend considering removing your requirements file altogether to ensure AutoGluon is installed with its preferred dependencies.
As for GPU, we have #263 . Currently Tabular does not support GPU but it could likely achieve significant speedups in areas you mentioned if the functionality was added. Feature pruning is an interesting use-case, but would require some more thought on how it could leverage GPUs.

Tested with latest master and still hanging with NN. May be out of scope here since it's only happening in sagemaker, but will continue trying to figure out what's causing it.

Assuming this is resolved at this point. If not, please re-open.


[Distribution] not all artifacts released to Maven Central

pom artifacts were not released by mistake. fixing in new version 1.1.1

fixed with release 1.1.1


[BUG]

can no parse this:
Error: Transaction has been reverted by the EVM:
{
"transactionHash": "0xce0f4a5f9e31a7fecac27452376cb27dc4fe5a0b1f2c02e83bf475c5d8ee7d8d",
"transactionIndex": 0,
"blockHash": "0xa384bb0a3a57972b3482ff372a4437905050612a3a3baadbc80ac1149803cf88",
"blockNumber": 27552133,
"cumulativeGasUsed": 37047,
"gasUsed": 37047,
"effectiveGasPrice":<PHONE_NUMBER>,
"from": "0x57c1b087a970d13e307fab65345439dea4ccba91",
"to": "0x2dd39f44758f66fa125f83b0e89136b49a64e18a",
"contractAddress": null,
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"status": false,
"error": "Reverted 0x41697264726f707065723a207465726d206c696d6974",
"type": "0x2",
"events": {}
}

Hey @hehaozhen11, I'm closing because of inactivity. Please feel free to reopen answering my questions above 👍🏻