error for npm run start based on vite

ERROR  11:31:49 [vite] Internal server error:                                                                                11:31:49
× Expression expected
╭─[/Users/ricky/project/3.play/43.react-architecture/src/core/adapters/i18next/i18next.adapter.ts:13:1]
13 │
14 │ import { I18N_CONFIG } from './i18next.constants';
15 │
16 │ @Injectable()

@rickythink I've updated the vite plugin that's currently supporting decorators.


wamp server using SSL/TLS

We have a SSL installed on one of our test hosts where we want to use websockets. I wanted to ask whether thruway server needs to be started in any other way than normal to work over SSL ?
When we try to connect the client to running thruway router using 'wss://' we get the following error:
WebSocket connection to 'wss://servername:9090/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
modules.0ac16270.js:2 Connection Closed:  unreachable Object {reason: null, message: null, retry_delay: 1.6830165722661887, retry_count: 1, will_retry: true}
Thank you

Thruway's Ratchet transport provider does not directly support SSL.  You'll need to put some sort of proxy in front of it.
See https://github.com/voryx/Thruway/issues/66

So after we install mod_proxy_wstunnel implementation of thruway router won't change ?

I'm not familiar with mod_proxy_wstunnel, but you shouldn't have to change anything in the router.
If you want to force public access through the proxy, you'll want to make sure that you start it on <IP_ADDRESS>, but that's not required to get the proxy working.

Thanks, will try it.


Problems with Python 2.7x and Mac OSX

I am not sure if I should post this in #25  or in #13.
I get the message below, wheter I install Lutorpy with pip or cloning repo.
Failed building wheel for lutorpy
  Running setup.py clean for lutorpy
Failed to build lutorpy
Installing collected packages: lutorpy
  Running setup.py install for lutorpy ... error
    Complete output from command /.../anaconda2/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/32/mwq0jhwd3dx7vjqmm8hkljp80000gn/T/pip-build-ZW2IBR/lutorpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/32/mwq0jhwd3dx7vjqmm8hkljp80000gn/T/pip-eFxCfL-record/install-record.txt --single-version-externally-managed --compile:
    ('torch_install:', '/.../torch/install')
    ('os family', 'Darwin')
    building without Cython
    torch install:/.../torch/install
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.5-x86_64-2.7
    creating build/lib.macosx-10.5-x86_64-2.7/lutorpy
    copying lutorpy/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/lutorpy
    copying lutorpy/torch_path.py -> build/lib.macosx-10.5-x86_64-2.7/lutorpy
    copying lutorpy/version.py -> build/lib.macosx-10.5-x86_64-2.7/lutorpy
    running build_ext
    building 'lutorpy._lupa' extension
    creating build/temp.macosx-10.5-x86_64-2.7
    creating build/temp.macosx-10.5-x86_64-2.7/lutorpy
    gcc -fno-strict-aliasing -I/.../anaconda2/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DLUA_COMPAT_ALL -I/.../torch/install/include -I/.../torch/install/include/TH -I/.../anaconda2/lib/python2.7/site-packages/numpy/core/include -I/.../anaconda2/include/python2.7 -c lutorpy/_lupa.c -o build/temp.macosx-10.5-x86_64-2.7/lutorpy/_lupa.o -std=c++0x -Wno-unused-function -Wno-unreachable-code -Wno-strict-prototypes
    error: invalid argument '-std=c++0x' not allowed with 'C/ObjC'
    error: command 'gcc' failed with exit status 1

I tried also your suggestion to

reinstall torch with Lua 5.2 instead of LuaJIT

but that did not change the result.
I have Xcode installed with Devel tools. I tried several reinstalls of gcc, all to no avail. Always same result.
Any suggestions?

Hi, sorry, we haven't sort out for Mac OSX due to some hard compilation issue, so it's not supported yet.

OK, thank you for letting me know

Hi, is Mac supported now?


Add accessibility information to FAQ

Can we have this added to the FAQ please?

How accessible is the venue?
The venue is fully wheelchair accessible, with lifts, wide corridors and a panic room.
If you need any other information regarding accessibility please get in touch.

Ideally it should be near the "Who can attend?" section I guess.
Feel free to modify.

What on earth is a panic room in this sense?

But I would definitely agree with accessibility notice

Panic room is a secure room that can be used in an emergency like a fire, so we don't have to get everybody out of the building.

Ok, cool :shipit:

Is panic room the generally used term? Can't really find other uses of it. Perhaps "facilities for the evacuation of people requiring assistance", which might include evacuation "ski" chairs

I believe "refuge" is the term used in fire regs

I have no idea, that's just the term I've heard from somebody else who heard CompSoc has one. Happy to change it to a better term.

Can something happen to this please @Milk1337


Problems accessing certain files with fs-gcsfs while it works with plain gcsfs

Hi!
I have some problems accessing certain files using fs_gcsfs. Im struggling with figuring out what exactly the problem is, as it does not affect all files. Accessing the files directly through gcsfs works though.
>>> import gcsfs
>>> t = gcsfs.GCSFileSystem(project='some-company')
>>> p = t.open('gs://my-bucket/my-folder/README.md')
>>> p
<File-like object GCSFileSystem, my-bucket/my-folder/README.md>
>>>
>>> from fs import open_fs
>>> t = open_fs('gs://my-bucket/')
>>> t.open('my-folder/README.md')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/fs/base.py", line 1166, in open
    bin_file = self.openbin(path, mode=bin_mode, buffering=buffering)
  File "/usr/local/lib/python3.7/site-packages/fs_gcsfs/_gcsfs.py", line 348, in openbin
    info = self.getinfo(path)
  File "/usr/local/lib/python3.7/site-packages/fs_gcsfs/_gcsfs.py", line 127, in getinfo
    raise errors.ResourceNotFound(path)
fs.errors.ResourceNotFound: resource 'my-folder/README.md' not found
>>> t.exists('my-folder/README.md')
True
>>> t.open('other-folder/some-file.csv')
    <_io.TextIOWrapper name='other-folder/some-file.csv' encoding='utf-8'>

So for some reason i can access other-folder/some-file.csv but not my-folder/README.md when using fs_gcsfs. From what i see, the acl and iam for both files look pretty much the same:
% gsutil acl get gs://my-bucket/my-folder/README.md
[
  {
    "entity": "project-owners-605693490522",
    "projectTeam": {
      "projectNumber": "605693490522",
      "team": "owners"
    },
    "role": "OWNER"
  },
  {
    "entity": "project-editors-605693490522",
    "projectTeam": {
      "projectNumber": "605693490522",
      "team": "editors"
    },
    "role": "OWNER"
  },
  {
    "entity": "project-viewers-605693490522",
    "projectTeam": {
      "projectNumber": "605693490522",
      "team": "viewers"
    },
    "role": "READER"
  },
  {
    "email"<EMAIL_ADDRESS>    "entity"<EMAIL_ADDRESS>    "role": "OWNER"
  }
]
% gsutil iam get gs://my-bucket/my-folder/README.md
{
  "bindings": [
    {
      "members": [
        "projectViewer:some-company"
      ],
      "role": "roles/storage.legacyObjectReader"
    },
    {
      "members": [
        "projectOwner:some-company",
        "projectEditor:some-company",
<EMAIL_ADDRESS>      ],
      "role": "roles/storage.legacyObjectOwner"
    }
  ],
  "etag": "CAE="
}

% gsutil acl get gs://my-bucket/other-folder/some-file.csv
[
  {
    "email"<EMAIL_ADDRESS>    "entity"<EMAIL_ADDRESS>    "role": "OWNER"
  },
  {
    "entity": "project-owners-605693490522",
    "projectTeam": {
      "projectNumber": "605693490522",
      "team": "owners"
    },
    "role": "OWNER"
  },
  {
    "entity": "project-editors-605693490522",
    "projectTeam": {
      "projectNumber": "605693490522",
      "team": "editors"
    },
    "role": "OWNER"
  },
  {
    "entity": "project-viewers-605693490522",
    "projectTeam": {
      "projectNumber": "605693490522",
      "team": "viewers"
    },
    "role": "READER"
  }
]
% gsutil iam get gs://my-bucket/other-folder/some-file.csv
{
  "bindings": [
    {
      "members": [
<EMAIL_ADDRESS>        "projectOwner:some-company",
        "projectEditor:some-company"
      ],
      "role": "roles/storage.legacyObjectOwner"
    },
    {
      "members": [
        "projectViewer:some-company"
      ],
      "role": "roles/storage.legacyObjectReader"
    }
  ],
  "etag": "CAE="
}

The GOOGLE_APPLICATION_CREDENTIALS env-variable is set to a service-account file for some-service-account.
Any idea how i can debug/solve this? Using
fs-gcsfs                   1.0.0
gcsfs                      0.3.0

I can't debug this at the moment. But it seems that fs.open guesses the file type (text or binary) from the file-ending and tries to open the .md file as a binary raising an Exception.
I would try to see how this guess is implemented in fs.open, maybe it will becone clear then.

Hi,
one additional idea on how to debug / solve this: it might be possible that you are running into https://fs-gcsfs.readthedocs.io/en/latest/#limitations, especially if the "folder structure" in your bucket has been created before using fs_gcsfs.
Could you double check if the "marker blobs" aka directories exist for the files that are giving you exceptions? If you are allowed to modify the bucket, you could you could also let fs_gcsfs create those for you, see https://fs-gcsfs.readthedocs.io/en/latest/#fs_gcsfs.GCSFS.fix_storage.

Indeed! Running fix_storage did solve the problem!
Thanks a lot!


[cloud_firestore] UserAgent.h: No such file or directory

Describe the bug
Cannot build project for ios because the UserAgent.h file in the cloud_firestore package is missing.
To Reproduce
Steps to reproduce the behavior:

add cloud_firestore: 0.13.0+1 to pubspec.yaml dependencies
build for ios
on mac:

Xcode's output:
↳
    === BUILD TARGET cloud_firestore OF PROJECT Pods WITH CONFIGURATION Debug ===
    /Users/johnwehrle/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.2/ios/Classes/FLTFirebaseAuthPlugin.m:6:9: fatal error: 'UserAgent.h' file not found
    #import "UserAgent.h"
            ^~~~~~~~~~~~~
    1 error generated.
    /Users/johnwehrle/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.0+1/ios/Classes/FLTCloudFirestorePlugin.m:6:9: fatal error: 'UserAgent.h' file not found
    #import "UserAgent.h"
            ^~~~~~~~~~~~~
    1 error generated.
    === BUILD TARGET cloud_firestore OF PROJECT Pods WITH CONFIGURATION Debug ===
    error: the following command failed with exit code 1 but produced no further output
    CompileC /Users/johnwehrle/Library/Developer/Xcode/DerivedData/Runner-hbkrowgmmieosjdyvjhalbriluqp/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/cloud_firestore.build/Objects-normal/arm64/FLTCloudFirestorePlugin.o /Users/johnwehrle/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.0+1/ios/Classes/FLTCloudFirestorePlugin.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

Expected behavior
Should build
Additional context
I've tried  'flutter pub cache repair' and invalidating cache and restarting Android Studio pod update in the ios directory.
flutter doctor verbose:
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.2 19C57, locale en-US)
    • Flutter version 1.12.13+hotfix.5 at /Users/johnwehrle/Flutter/flutter
    • Framework revision 27321ebbad (3 weeks ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/johnwehrle/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (3 available)
    • Pixel 2                   • HT8671A02214                         • android-arm64 • Android 10 (API 29)
    • Android SDK built for x86 • emulator-5554                        • android-x86   • Android 8.0.0 (API 26) (emulator)
    • iPhone 11 Pro Max         • 017DFA54-2015-498B-9EA0-C313AE38A930 • ios           • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)

• No issues found!

Update: tried "pod update Firebase" from ios directory and the issue is resolved.
As far as I can recall, I had not upgraded packages. One day I could build for ios and the next day I could not. Hoping this comment helps someone else. Perhaps a note should be made about this in the installation instructions or in the release notes?
Solution found from https://github.com/flutter/flutter/issues/22652#issuecomment-427824368


Partial Objaverse dataset for demo

Can anyone provide a subset (a few GBs) of the rendered images from Objaverse for demo purpose?
1.5TB is too much for me to download.

Same questions

@zhaosheng-thu I think for debugging, we can start downloading the file, wait for a few minutes and then interrupt the process. The resulting tar.gz file can still be extracted, with only a few images for testing.

@zhaosheng-thu I think for debugging, we can start downloading the file, wait for a few minutes and then interrupt the process. The resulting tar.gz file can still be extracted, with only a few images for testing.

Thanks. I find it worked well!


Change Workspace/Desktop to a dropdown menu

Dropdown menu would allow us to be more flexible with interaction models.
For example:

Code
Linux Desktop
(if windows) Windows Desktop
(whatever else) Web Service

Should really add a dedicated page with the SSH instructions and add it to this dropdown. It comes up a lot in the discord.


Added option for stashing items before first run

We'll be removing the first run thing so no need for this one, thank you for the contribution though.


Minor: There are now six resources in the original template

Microsoft.Network/networkSecurityGroups has been added to the template, so references to the resource count need to be incremented to avoid confusion.

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

ID: 255db119-3d96-f4de-a2bb-c90f782b883d
Version Independent ID: f769af8b-63af-42ba-0ebc-933ade25645e
Content: Create linked templates - Azure Resource Manager
Content Source: articles/azure-resource-manager/resource-manager-tutorial-create-linked-templates.md
Service: azure-resource-manager
GitHub Login: @mumian
Microsoft Alias: jgao

Thanks for your comment. We are actively investigating and will get back to you shortly. Thanks for your patience.

@petertuton - thanks for the comment.  A PR has been created to address the issue.  The PR will go live tomorrow.
#please-close


Improve --debug printing.

LGTM if you rebase over the current changes.

Maybe we should also remove this logic from the requests hook function. For --debug we should print before and after we make a request. This way, it's clear from --debug that that the server isn't responding.

Rebased and pushed directly to head.


After pressing the enter key, focus jumps to the top of the page.

Details
After pressing the enter key, focus jumps to the top of the page.
To Reproduce
Can be replicated in the options sample: http://suneditor.com/sample/html/options.html
Click into the editor. Press enter key.  Focus will go to the top of the screen.
Only happens in v2.46.3 of Suneditor,  Issue not present in v2.45.1
Expected behaviour
For focus to stay in the control after pressing the enter key

OS: Windows 10
Browser: Chrome
Version: 122.0.6261.129

I am also experiencing the issue with lost focus on enter key presses. It started occuring in v2.46.0. Looking through the change logs I suspect this change set
Specifically e.preventDefault() is changed to call event._enterPrevent(e)

and there is an _enterPrevent() which triggers a focus event elsewhere: this.__focusTemp.focus();

Thanks for your efforts!

I think you're on to something there.
We've had a few people with laptops experience this, but most with laptops or desktops have no issue. Until I read this thread yesterday I couldn't reproduce it on my desktop.
This morning I learned how to set the user agent in Chrome, I chose iPad to make it appear mobile, and this trips the issue consistently.

OK, I've messed about with this to trip or prevent the issue:

I have no solution at this point other than locking the version of the library at 2.45.1.

The laptop I'm experiencing this issue on has a touchscreen - so touch points theory hold up.

same problem, but solved by locking to v2.45.1

Is there any progress here? Unfortunately, we upgraded to > 2.46.0 to fix a different bug, so feels wrong to rollback to undo that.

This is code added due to a composition event issue with the IME input device on mobile.
I will modify it so that scrolling does not occur.

@andylwelch @alexlaw-leo @malworthy @BestLemoon @jreynolds12
Version 2.47.0 has been updated.
thank you

@JiHong88 Thank you!

I still have this issue even with 2.47.0 version, it seems to be related to touch devices. When I press enter focus still goes on the top of the page and I can't go on writing. Pressing enter should just add a line.

Hi, I also have the same problem.
I am using Firefox 130.0.1, in the desktop version.
I am attaching a video where I press ENTER and then see the focus disappear and via console, I see that the focus is on another element.
screen-recorder-wed-oct-02-2024-15-09-12.webm


Fixed video embeds for HTTPS

This fixes an issue where attempting to load a youtube / vimeo video on a page loaded via HTTPS fails to display due to being force-loaded via HTTP. This makes the default base embed links protocol-relative to the page it is loaded on.

@gilbitron can we get this merged?


Added polyPathChange event emitter

and fixed type error in google-maps-api-wrapper
Usage Example:
<agm-map [latitude]="lat" [longitude]="lng">
  <agm-polygon [paths]="paths" [editable]="true" [polyDraggable]="true"
 (polyPathChange)="polyPathChange($event)"></agm-polygon>
</agm-map>

  polyPathChange($event) {
    // try logging the $event to the console. It's a funky promise.
    this.getPathFromChange($event).then(path => console.log(path));
  }

  getPathFromChange(pathChangeEvent) {
    return pathChangeEvent.then(e => {
      return e.map((item, index) => {
        return {
          lat: item.lat(),
          lng: item.lng()
        }
      });
    });
  }

@Methodician sorry for the delay.
I checked the offical docs of the google maps api and didn't find an official event that gets emitted when the path changes (maybe I'm wrong). The mouseup event is also not a clear sign that the path has really changed. My goal is to follow the official API where it makes sense.
When theres no official event emitter, maybe we should move forward like this:
We create a public method in the component named getPaths() that returns the paths, just like in the google maps api. With this way, the developer can decide when to get the paths. What do you think?

@SebastianM I am all for keeping AGM in alignment with the official API. I ended up going with Mapbox GL for our current project though (even though I love AGM, it didn't feel well suited to custom GIS software) and I don't know when/if I'll get a chance to revisit this.
I found putting together a system to edit polygons and save changes to a database impossible without implementing something like this, so I definitely think a solution is vital (unless there's an existing way I don't know about) so I'd suggest assigning this to someone else so AGM/Google Maps can remain a viable alternative for future projects.

@SebastianM Has there been a further development of this feature or an alternative? I'm looking to be able to access the paths/points of a polygon after they've been edited on the map, to save these points to a server. It sounds like this pull request is almost precisely what I'm looking for.

As @tcush35  said, I need this feature too. I would asking you is any possibility to merge it in short time. Maybe @SebastianM  you need more performance for this feature ? Now I am using @Methodician dev branch in my project but it have a lot of warnings. I scare to use it on production.

this was implemented in another PR, thank you for your (attempted) contribution


[BUG] - Table component not compatible with Server Components

NextUI Version
2.0.20
Describe the bug
When trying to use the Table component (together with its respective subcomponents: TableHeader, TableColumn, TableBody, etc.) in a Server Component, the rendering fails with an error Unknown element <[object Object]> in collection.
Adding the 'use client' directive at the top of the file fixes the issue.
Is there any way to use the Table component natively in Server Components?
Thanks!
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

Copy the code from https://nextui.org/docs/components/table#usage
Paste it into a Server Component
Expect an error during rendering

Expected behavior
I expected the Table to be fully compatible with Server Components.
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Safari

I have the same problem.

Hey please check this comment: https://github.com/nextui-org/nextui/issues/1403#issuecomment-1678863519

hello, I'm still getting this error even after adding use client at the top of the file.

I'm using "@nextui-org/table": "^2.0.23" and the latest nextjs 13.5.3 with App Router.

hello, I'm still getting this error even after adding use client at the top of the file.
I'm using "@nextui-org/table": "^2.0.23" and the latest nextjs 13.5.3 with App Router.

Server-side rendering doesn't work in table components.

The current workaround is "use client" It works fine for me.
My dependencies,
"@nextui-org/react": "^2.1.13",
"framer-motion": "^10.16.4",
"next": "13.5.4",
"react": "^18",
"react-dom": "^18"

Any catch up on this?

I have already tried the solution of adding "@nextui-org/tablet" and using the "use client" in more nested components and the error continues
Operating System Version
linux (zorin - ubuntu)
Browser
edge

This still happens here in Next.js 14

Most of these bugs are generated because the use client is missing, although the library does not explain it, it probably uses react hooks which is why it fails.
Solution: Use "use client" in your component that wraps the table or tab.

This is not really a solution but a workaround which adds unnecessary code to the frontend runtime. You should not be required to hydrate a static table...


podman: add --ulimit host

add a simple way to copy ulimit values from the host.
if --ulimit host is used then the current ulimits in place are copied
to the container.
Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

One nit otherwise LGTM

LGTM
But tests need fixes.

tests are passing

ping

@baude @mheon @vrothberg @QiWang19 @ashley-cui @TomSweeneyRedHat  PTAL

/lgtm


Dialogs jump down

Possibly related to the cache — the dialog renders correctly once, but then jumps down:

Actually this happens even without the overlay. I must have broken something.

This reproduces it:
import 'dart:async';
import 'package:flutter/material.dart';

class StocksApp extends StatefulComponent {
  StocksAppState createState() => new StocksAppState();
}

class StocksAppState extends State<StocksApp> {
  GlobalKey key = new GlobalKey();
  void initState() {
    super.initState();
    new Timer(const Duration(milliseconds: 100), () {
      showDialog(
        context: key.currentContext,
        child: new Dialog(
          content: new Text('TEST')
        )
      );
    });
    new Timer(new Duration(milliseconds: 1000), () { setState(() { print('ONE'); }); });
    new Timer(new Duration(milliseconds: 2000), () { setState(() { print('TWO'); }); });
  }
  Widget build(BuildContext context) {
    return new MaterialApp(
      routes: <String, RouteBuilder>{
         '/': (RouteArguments args) => new Container(key: key)
      }
    );
  }
}

void main() {
  runApp(new StocksApp());
}

@abarth This smells like a compositor cache bug, but I don't really know.

In particular, it looks like it might be something inside the RRect clip that gets painted shifted down.

I'll take a look.

I has repro.


add byte range and line ranges to snippet

fixes #262
In this PR the mandatory field byte range and the optional field line range are added to snippets. Only the jsonyamlxml parser and writer are updated. I didn't add a validation for the mandatory field because the rdf parser/writer and tv parser/writer can't handle these fields yet. That is also why some conversion tests are skipped.

tag-value parser and writer are also updated


Stop writing a git error message to stderr

Executing git rev-parse out of git repository writes
fatal: Not a git repository (or any of the parent directories): .git

to stderr.

Oh, I missed #440


add optimism hai deployment

closes #59

@pi0neerpat
This PR closes #280 now
I made it so basic actions is now in line with the HAI basic actions and proxy-action.ts will check if GEB_TAX_COLLECTOR is an empty address or not and route the transaction accordingly. The only problem is GEB_TAX_COLLECTOR is not empty for our arbitrum sepolia deployment so it'll break this--are we still using it? Maybe I'll need to think of a different way to route the transaction in basic actions if that's the case
creating a vault works now https://optimistic.etherscan.io/tx/0xc38858da3ab2a387968117ab2cfe25c1489e6aad42f1a2f68e390569831afac6
so does withdrawing collateral:
https://optimistic.etherscan.io/tx/0x642d452478290e78e40855e4511b893ecdc54660e6e20f3bf052c563bd5254c7


Holograms

About the PR
Adds Holograms, an early game alternative to cloning. Coming back as a Hologram is one part transhumanist nightmare, one part mockery of the very fundamental aspects of life, and 100% not being alive!
Will describe more once features are done.
Media
ToDo

Closing this to rework it locally.


add boilerplate for dump v5

add the boilerplate files for dump v5

poke @MarinPostma (I can't set you as a reviewer)


Produce a JavaLibraryPlatform and consume it in a multi-project build

For this to work properly, consuming a JavaLibraryPlatform should be consistent whether consumed via project dependency, composite build or external repository. This would either require a separate project plugin so the producing project doesn't have any artifact, or have the consumer wired into the the actual JavaLibraryPlatform component when resolving a project dependency.

Work being done in #7945


Add a custom timeout flag for stop/delete.

Also try to be smarter about setting the timeout.
Closes #8687

LGTM.
FYI, if you don't comment on the PR, the assignee has no way of knowing any changes were made. Pushes don't generate email notifications.


Register chain in cosmos registry, osmosis chain registry, etc.

https://docs.osmosis.zone/overview/integrate/registration/#how-to-register-an-asset-onto-the-osmosis-assetlists-registry

I'm not aware of any in-flight work on this front, so I'm moving this ticket back to the Next pile. @erwanor please add more detail if I overlooked something!

This was accidentally moved columns due to a silly mobile browser bug.

Closing as not planned to be subsumed by more recent IBC integration planning.


Add a flag to skip TLS verification for self-signed certificates

Output of restic version
restic 0.9.6
What should restic do differently? Which functionality do you think we should add?
It would be helpful if Restic had a flag to skip TLS verification for self-signed certificates, as an alternative to passing a certificate bundle via --cacert.
What are you trying to do?
Velero supports a --insecure-skip-tls-verify flag that allows turning off TLS verification for self-signed certificates when talking to storage backends which is handy for development purposes. However, that doesn't work with Velero's Restic integration for backing up Kubernetes volumes, since Restic doesn't support an equivalent flag.
I'll put up a PR with a possible implementation shortly.

What's preventing you from using --cacert? I understand that Velero right now misses the option to specify a custom cacert for a backup storage location, but that should be fixed once https://github.com/vmware-tanzu/velero/issues/2332 is resolved.

Nothing specifically is preventing the use of --cacert other than the present lack of support for it in Velero, which as you noted is being worked on. This issue is really about allowing Velero's already existing --insecure-skip-tls-verify flag to work with Restic. Velero supports turning off TLS verification for self signed certs, but since Restic doesn't have a corresponding switch there's no way to propagate that setting, and the Restic volume backup will fail even though it will look like the rest of the Velero backup succeeded. And of course even once --cacert is implemented in Velero this workflow would still be broken. This issue and attached PR would solve that discrepancy, just as https://github.com/vmware-tanzu/velero/pull/2353 will solve the lack of a corresponding --cacert flag in Velero. :)

any update here ?

Use case where --cacert isn't working:
QNAP NAS offer a s3 compliant app called QuObjects. Basically the s3/swift endpoint is running on port 8010 with a self-signed certificate for CN "QNAP NAS" (!) which is almost always not working. Even if one uses the certificate with --cacert hostname won't match.
e.g. when accessing via IP
Fatal: create repository at swift:https://<IP_ADDRESS>:8010/user/restic failed: conn.Authenticate: Get "https://<IP_ADDRESS>:8010/auth/v1.0": x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs

Using --insecure-tls might work. But the proper fix is to ask QNAP to fix the certificate created by their service.

Thanks @MichaelEischer , tried that but --insecure-tls does not seem to be valid (at least in my installation):
jsainz@munich:~  $ restic -r swift:objects:/munich init --insecure-tls
unknown flag: --insecure-tls

I am using version 0.12.1 (under Fedora):
jsainz@munich:~  $ restic version
restic 0.12.1 compiled with go1.16.13 on linux/amd64

Thanks!

Thanks @MichaelEischer , tried that but --insecure-tls does not seem to be valid (at least in my installation):

The flag was added in 0.13.0.


make ps not show other users processes

HIDEPID flag (mount /proc with this)
https://linux-audit.com/linux-system-hardening-adding-hidepid-to-proc/

Resolved in #315


"try" is a reserved word in Swift 2

Hello I'm trying to use  SwiftTryCatch via Cocoapods, but in Xcode 7.3 this code won't compile:
SwiftTryCatch.try(
     {
         // stuff...
     },
     catch:
     { (exception) in
         // stuff...
     },
     finally:
     {
         // stuff...
     }
 )

I suggest to rename try in tryBlock, catch in catchBlock and finally in finallyBlock...

For those landing on this question in the future, you'll need to escape 'try', like so:
SwiftTryCatch.`try`(
     {
         // stuff...
     },
     catch:
     { (exception) in
         // stuff...
     },
     finally:
     {
         // stuff...
     }
 )

Ok, thanks!

Use https://github.com/inthepocket/SwiftTryCatch.git or hang on "pull request".

Merged pull request


⚠ Bofrost.at has degraded performance

In 0c5dda7, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1737 ms

Resolved: Bofrost.at performance has improved in 39462bf.


[Feature request] Forcefully toggle element active/inactive

const toggleNewPlan = () => {
        ui('#newPlanBG')
        ui('#newPlanDrawer')
    }

return (
        <>

                <button onClick={toggleNewPlan} className="circle transparent">
                    add
                </button>

            <dialog id="newPlanDrawer" className="right no-padding">

            </dialog>
)

When i clicked on the blur overlay, ui() added the active class to those elements, this is not the excepted behaviour, those elements' active class should be removed

Hi @kwaitsing ,
When you use ui() or data-ui trigger method on elements, it will add the active helper on all related elements. You don't need to active the overlay.
https://codepen.io/leo-bnu/pen/xxodwKN

Thanks, that's amazing but confusing at first 👍


Is it possible to call setUserContext using express middleware?

Is it possible to call setUserContext using express middleware?

Yes. Check out how the middleware is instantiated:
https://github.com/getsentry/raven-node/blob/master/lib/middleware/connect.js#L14
This code works:
var raven = new Raven.Client("<dsn>", {release: "<version>"});
raven.setUserContext({});
app.use(Raven.middleware.express.requestHandler(raven));

However, the user context is not request specific, so you should not use it with express. Try dataCallback. instead:
https://docs.getsentry.com/hosted/clients/node/config/#optional-settings
Note that this callback is not asyncronous, so you need to prepare the user context and attach it to the request (which you probably already do anyway) before the error.

Ok, thanks.

Has anyone got this to work?
I am adding user data to the req object in express as shown in this short example below :
var raven = new Raven.Client( config.SENTRY_DSN, {
    dataCallback: function(data) {
        console.log(data.request.user.name); // undefined
        return data;}
});

app.get('/example', addUserData, function (req, res) {
    throw new Error('Broke!');
});

app.use(Raven.middleware.express.errorHandler(raven));

function addUserData(req, res, next){
    req.user = { name:'john', id:'1' }
    next();
}

However none of that user data seems to present on 'data' object that is passed into 'dataCallback' function. It seems more like the raw request before my custom middleware has added stuff to the object.
Am I missing obvious something here, is there another way of passing user data to Sentry?
Thanks guys!

This should probably be added to https://docs.sentry.io/clients/node/integrations/express/ page


Prepare to publish puzzlefs to crates.io

Relates to #98

You said,
"Note: since version 0.5.0, exit_action was removed from daemonize and we
rely on it for the pipe notification mechanism"
Have you opened, or should you open, an issue explaining why we need that?  Or is it just a matter of "we could do it another way but haven't had the time"?

I did open an issue for another feature I've wanted (the issues tab is not longer public) and I've opened this PR last year but got no response since.


Need the headers to be customizable

For usage not straightly go to the OpenAI official web, it need the header to be edited for like security usage. Really thanks if you implement it!

Could you elaborate a little more? Do you mean you want the ability to set headers to the OpenAI requests?
If you could show an example of such security usage, that would help me better understand.


Backspace stops prematurely

With the selected area, I would expect it all to be removed to the given point, but instead, it only removes the parenthesis. Happens when I tested this with both Java and Javascript.
Before backspace:

After pressing backspace:

Expected:

Reproduced on vscode v0.10.1, ubuntu 12.04 with this JS snippet:
function foo() {
  return 1;
};

Looks like the code that handles the bracket matching is intercepting the backspace keypress, this should only happen when a range is not selected.
Note that this only occurs if the cursor/anchor is in between the brackets, not at the end of the return.


omp_set_nested_routine deprecated

Found this warning in 2_Iterative/01_optimisation

Warning no longer existed, probably fixed by #165


newbie question: does scalajs support ducktyping?

I googled around could not find an answer though, thanks

Hello,
Questions are best asked on StackOverflow. The issue tracker is for issues.
You are probably looking for js.Dynamic.


docs: Add Xfrep extension and publications section

@paulsc96 There is one last thing I don't understand about the FREP instructions, and it's the stream_ctl field which is not reported in the original paper. Do you know what its purpose is? I could add it to the documentation and then it should be complete.

I think that if we add a dedicated publication section, we should also update the main README accordingly (see bottom).

This is my proposal, what do you think? I think it is important to emphasize that anyone using the core should cite the Snitch paper, whereas the other works are more specific. I would maybe move the SSR paper also below the separator line.


[Vue f7-tab] click tabbar cannot render the tab's content

Framework7 version: 4.0.6
Vue.js version: 2.6.3
Platform and Target: [e.g. iOS 11 Cordova app, or Android 8 Chrome browser]
Live Link or JSFiddle:  https://github.com/ForkProjects/framework7-issue-example.git

Describe the bug
click the tabbar just as official kitchen-sink's vue demo in the page:  https://github.com/framework7io/framework7/blob/master/kitchen-sink/vue/src/pages/tabbar.vue
which I had used in Vue-Cli3 , but it doesn't work.
To Reproduce
Steps to reproduce the behavior:

Git clone this repository:  https://github.com/ForkProjects/framework7-issue-example
Go to the root folder, and run the command npm install and npm run serve
When the server started , go to the home page and click the "About" link to the about page
In the about page ,click the Tab 1, Tab 2 to see the tab page if rendered content or not .

Expected behavior
Click the tab,the tab content should be rendered to correct current correct
Actual Behavior
Tab content not rendered to current tab's content ,still the first tab's content.
Screenshots

Additional context
Could you add the latest Vue-Cli 3 example for framework-vue if possible ?  thanks very much .

@nolimits4web What's the reason it doesn't work in my Vue CLI3 for framework7 4.0.6 ? appreciated that your help .

Read documentation correctly, you need to include framework7.bundle.css if you include bundle js

oh, my god . thanks @nolimits4web


Wrong explanation in documentation (multi-head-attention)

In the docs, the explanation for the call arguments for multi-head-attention is wrong.
Currently it says:
return_attention_scores: A boolean to indicate whether the output should be attention output if True, or (attention_output, attention_scores) if False. Defaults to False.
It should be the reverse. Here is the link: multi-head-attention.
It should be:
return_attention_scores: A boolean to indicate whether the output should be attention output if False, or (attention_output, attention_scores) if True. Defaults to False.

I think the current docstring is correct, which was updated in https://github.com/keras-team/keras/pull/14920.


Google app store rating suggested even when app downloaded through another source.

Describe the bug
Ive downloaded the app through obtanium, but on saving my first image, the app asked me to provide a rating on the google app store
To Reproduce
Expected behavior
If app not installed through google play dont ask for rating.
Else link to f-droid or github
Screenshots
Smartphone (please complete the following information):

Device: oppo find X 3 pro
OS: colorOS

That's intended, to have github rating link you should use foss version


Use tabs as spaces instead of \t char

I recommend 4 spaces instead of 2 for indentation because it forces you to avoid spaghetti.

You mean "spaces as tabs"? Or are you saying I'm using an unusual tab character? That would be news to me!

4 spaces instead of one tab, because it looks weird in github.  Why do they have tab = 8 spaces?
If you go into Edit Mode, you can change the indent size, but it doesn't save it on your profile.

No clue, but let's use spaces, your IDE should have this.  Why do they have tab = 8 spaces?
If you go into Edit Mode, you can change the indent size, but it doesn't save it on your profile.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Herteby/denormalize/issues/3#issuecomment-325906887, or mute the thread https://github.com/notifications/unsubscribe-auth/ABuxT-ICgGY8O7GkrZTu_ngWOcNP2Ef-ks5sdQ9SgaJpZM4PG6Xv.

I use Sublime Text :slightly_smiling_face:
A compromise then, 2 spaces.

@theodorDiaconu Btw I figured out a fix for the stupid GitHub indentation :P
If you have Stylish or a similar custom CSS injector, add:
.blob-code{
	tab-size:4 !important;
}

(or maybe * instead of .blob-code, to make sure it's really applied everywhere)


How best to handle keepalive timeout?

I'm working on a relay that is controlled by MQTT topic.  I want to add a fallback state for each relay so that if the connection to the broker is lost the relay will revert to the fallback state.  I can do this if the broker actively disconnects via the mqtt.disconnectedCb.  What I'm not seeing is a callback if the TCP connection to the broker is lost or if no response is received from the MQTT keepalive.
I'm testing by disabling the network connection on the broker and watching the espduino debug.  I see:
MQTT: Send keepalive packet to <IP_ADDRESS>:1883!
MQTT: Sending, type: 12, id: 0000
TCP: Reconnect to <IP_ADDRESS>:1883
Free memory
TCP: Connect to ip  <IP_ADDRESS>:1883
TCP: Reconnect to: <IP_ADDRESS>:1883
TCP: Reconnect to <IP_ADDRESS>:1883
I never see a call to the mqtt.disconnectedCb callback.  What is the best way to accomplish what I'm trying to do?

Looking at the mqtt.c source in esp_bridge looks like it might need a new tcpDisconnectedCb that gets called around line 300 in here
		if(client->reconnectTick > MQTT_RECONNECT_TIMEOUT) {
			client->reconnectTick = 0;
			client->connState = TCP_RECONNECT;
			system_os_post(MQTT_TASK_PRIO, 0, (os_param_t)client);
		}

Okay, I went ahead and added the tcpDisconnectedCb into esp_mqtt, esp_bridge, and espduino.  I can send a pull request if it's something you want to add into the base.

Hello,
When I upload software to esp8266 I get an error that is below. Please help me !!!.
pi@raspberrypi /usr/share/arduino/libraries/espduino $ sudo esp8266/tools/esptool.py -p /dev/ttyUSB0 write_flash 0x00000 esp8266/release/0x00000.bin 0x40000 esp8266/release/0x40000.bin
Could not find platform dependent libraries
Consider setting $PYTHONHOME to [:]
Traceback (most recent call last):
File "esp8266/tools/esptool.py", line 22, in
import serial
ImportError: No module named serial


Rename path classes

Current path classes (NioPath, RamPath, SubPath, etc) are currently a bit ambiguous as they may be implied to be types of java.nio paths. In reality, they are a wrapper around them instead.
Files currently exist at https://github.com/ascopes/java-compiler-testing/tree/bd99311b0de4508537b11708d5dc5ec6c6c12092/java-compiler-testing/src/main/java/io/github/ascopes/jct/paths
Instead, I'd like to rename them to something more meaningful. Haven't got a final set of names in mind just yet but something like this might make sense:

PathLike -> PathHolder
NioPath -> PathPathHolder
SubPath -> NestedPathHolder
RamPath -> RamPathHolder

The package should also be renamed accordingly.
Examples in the README will need updating as well when this is done.

Closed by f1437b9ff8775212f8af75861754663775b300c9


Seller signup

Description

This PR introduces the seller signup feature to the website, enabling users to register as sellers with their personal and account information. This addition ensures that sellers can now create accounts separate from regular users, laying the foundation for seller-specific features.

Related Issues

Closes #724

Screenshots / videos (if applicable)

@mdazfar2 please add tags


[Banana Cake Pop] Auto Update

Auto Update for the standalone BCP application has been implemented by @arif-hanif for quite some time, so I'm closing this issue.


is Hive boxes shared with the other apps ?!

additional to my main question...
x.put('map1',{});
x.get('map1').addAll({'text':'test'});
print(x.get('map1'));//{'text':'test'}

the above code works perfectly, BUT the data are ONLY saved to the memory not the Disk..
if i relaunched my app again if i print it, it will be empty Map:
print(x.get('map1'));//{}
is there's a function or something to save the current "Temp Data That Exists in the Memory and it's reference are Hive" to disk ?
some thing like x.save(); for the entire Hive instance ?
i want when i reopen my app i want print(x.get('map1')); prints {'text':'test'} , is this possible ?
why i want this ?
to reduce Memory usage and some big data will be in it ..
Thank you for the great plugin <3

Also you can't save (Only) internal maps inside x.get('map1') you have to save every map and it's value to a key , value, and it's big problem...
i need something like x.get('map1').put('map2',{'text2':'test2'}); it's very very important features ..
instead of
x.put('map1',{'text1':'test1'});
x.put('map2',{'text2':'test2'});

thanks.

Also if you saved Map<int,String>() you can't work with it as int, String map, you should work with it as String,dynamic map,
example:
Map<int,String> map={};
map.addAll({1:'test Text'});
x.put('mapKey',map);
print(x.get('mapKey')[1]);//prints null
print(x.get('mapKey').containsKey(1));//prints false

print(x.get('mapKey')['1']);//prints test Text
print(x.get('mapKey').containsKey('1'));//prints true

and it's problem, you should allow they key whatever it's type is String, int, Widget, whatever it's ..

Map<String,dynamic> newMap={'Key':'Value'};
x.get('Colors')['Color']['id']=newMap;

this don't change id value inside Color key that part of Colors map !

You just change in-memory dart map. Why do you expect it to be changes inside hive?


unable to connect to spotify when your account is a linked (fb/google) account in spotify

What version of Music Assistant has the issue?
2022.6.2
The problem
Looks like if you have a spotify account that you setup the lazy way ( using either face ache or google) then you can't link it to this app, (unless i'm missing something?)
How to reproduce
have a spotify account that is connected vie fb or google, then try and link it
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2022.5.4
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Alternative

https://github.com/music-assistant/hass-music-assistant/discussions/448#discussioncomment-2990756

https://www.spotify.com/uk/account/set-device-password/  doesn't look to be an option any longer, i'll do some digging around to see what I can find out.

It is still an option as I’ve done it two days ago
Kind regards/Met vriendelijke
Groet,
Bas Wiggers
On 23 Jun 2022, at 00:01, NorthernMunkey @.***> wrote:

https://www.spotify.com/uk/account/set-device-password/ doesn't look to be an option any longer, i'll do some digging around to see what I can find out.
—
Reply to this email directly, view it on GitHubhttps://github.com/music-assistant/hass-music-assistant/issues/499#issuecomment-1163651844, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHHRVRAZC5Q3PCTIKUO4MILVQOEM5ANCNFSM5ZR2CY2A.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Updated Readme.md

Solves #8 , #9 , #10

Thanks for the PR @Deathrow77
Can you add the ss just one time after the running instructions for both win and Linux?


Some renames around snapshotting (cherry-picked to release)

This is the cherry-picked version of https://github.com/gradle/gradle/pull/15246.

@bot-gradle test QFL please.

OK, I've already triggered QuickFeedbackLinux build for you.

@bot-gradle test QFL please.

OK, I've already triggered QuickFeedbackLinux build for you.

@bot-gradle test QFL please.

OK, I've already triggered QuickFeedbackLinux build for you.


Linear/Nortek wt00Z-1 needs "treatBasicSetAsEvent": true

Describe the bug
A clear and concise description of what the bug is. Describe what causes the bug, what you observe, and what happens as a result.
The wt00z-1 sends a CC32 event on button press
this is not processed by zwavejs unless the device is re-interviewed 2x after reboot while pressing a button on the scene controller. at that time it reports a value of 0 for off and 255 for on when button is pressed but only in MQTT platform and loses the ability after reboot unless re-interviewed again 2x while pressing button.  having the "treatBasicSetAsEvent": true set corrects this issue as you can just monitor for zwavejs events.
updated device file in docker to have
,
"compat": {
"treatBasicSetAsEvent": true
}
device can now be monitored for zwave js event
request is to change device file to include "treatBasicSetAsEvent": true
if not resolve detecting of CC32 without having to re-interview 2x while pressing button on reboot
Device information
Which device(s) is/are affected (make/model)?    WT00Z-1
What are the node IDs?
Last Known Working Configuration

[x ] New device

[ ] Previously working device (node-zwave-js)

Which library version/docker image/adapter version?
Have you made any recent configuration changes to the device? Describe.

[ ] Previously working device (other platform)

Which platform?
Have you made any recent configuration changes to the device? Describe.

Installation information
How did you install node-zwave-js?

[x ] zwavejs2mqtt (latest) docker image
[ ] zwavejs2mqtt (dev) docker image
[ ] ioBroker.zwave2 adapter
[ ] Pkg
[ ] Manual Docker build

node-zwave-js branch:
zwavejs2mqtt branch:

[ ] Manually built (as described in the docs)
[ ] Other:

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '...'
Scroll down to '...'
See error

Additional context
Add any other context about the problem here.
Logfile:

This is a non-zwave plus scene controller without central scene support. I’ll PR the change.


continue statement wrongly optimized out during optimizations/lifting within a jump table

Version and Platform (required):

Binary Ninja Version: Version 2.5.3163-dev Personal
OS: Microsoft Windows 11
OS Version: 21H2

Bug Description:
One of the jump table optimizations/lifting step removes the continue statement if the jump table is in a loop, and the case contains a if()/else() statement. Here is a snippet of the original source code:
uint32_t jtbl_test(uint32_t a)
{
    uint32_t b = a;
    uint32_t p = a;
    while(true)
    {
        switch (b)
        {
        // ...
        case 12:
            b = 13;
            if (a == 0)
                b = 13;
            else
                b = 14;
            p = b + a;
            continue;
        case 13:
        {
            b = 14;
            continue;
        }
        case 14:
        {
            b = 9876;
            //uint32_t c = 1;
            //c = b * 2;
            //uint64_t d = c / 3;
            if (a == 0)
                b = 123;
            else
                b = 12345;
            p = b + a;
            continue;
        }
        // ...

and here is the resulting HLIL for this snippet:
// ...
    case 0xb
        int32_t var_18_1 = 0xd
        if (arg1 != 0)
        {
            var_18 = 0xe
        }
        else
        {
            var_18 = 0xd
        }
        uint32_t var_10_1 = var_18 + arg1
    case 0xc
        var_18 = 0xe
        continue
    case 0xd
        int32_t var_18_2 = 0x2694
        if (arg1 != 0)
        {
            var_18 = 0x3039
        }
        else
        {
            var_18 = 0x7b
        }
        uint32_t var_10_2 = var_18 + arg1
// ...

It seems to happen during the Step 6 of the lifting, if I trust the high_level_il report. During the merging (?) of the if/else statement and the following var_10_2 = var_18 + arg1
Steps To Reproduce:

Download the attached adder.zip attached. This file includes the sample example and its PDB file. You can find the source code for the executable here.
Open adder.exe in binary ninja
Load the associated PDB
Go to jtbl_test
Open the HLIL view and look at case 0xb or case 0xd

Expected Behavior:
The HLIL should keep the continue statement. Otherwise one could think it is a fall through.

Fixed in build 3437


[SD-App] Please add monopoldesign's M5Core2_Amiga

https://github.com/monopoldesign/M5Core2_Amiga

library requirement:
https://github.com/ivanseidel/LinkedList

additional libraries:
https://github.com/ivanseidel/LinkedList
https://github.com/earlephilhower/ESP8266SAM
https://github.com/earlephilhower/ESP8266Audio


Add Lunatech as a named sponser

cc @FroMage 🎉

Hurray, that's live!
For example, https://quarkus.io/extensions/io.quarkiverse.wiremock/quarkus-wiremock/?tab=community

Hurray, that's live! For example,

Awesome, thanks!
Just out of curiosity, how does it guess this? The docs are pretty brief on this 😄

but if there isn't one there, we try to guess.

Ah I think I found something here https://github.com/quarkusio/extensions/blob/main/plugins/github-enricher/sponsorFinder.js

That's the one - we use the company information in people's GitHub profiles, and do a bit of normalisation.


Support Images on Module Types

As ...
Nelly - Network Engineer
I want ...
To be able to upload images to the Module Type model, like the Device Type has.
So that ...
I can see the module from the image and not have to rely the comments.
I know this is done when...
I can upload an image (or two) to the Module Type. Examples of these images can be found here: https://github.com/nautobot/devicetype-library/tree/main/module-images
Optional - Feature groups this request pertains to.

[ ] Automation
[ ] Circuits
[X] DCIM
[ ] IPAM
[ ] Misc (including Data Sources)
[ ] Organization
[ ] Apps (and other Extensibility)
[ ] Security (Secrets, etc)
[ ] Image Management
[ ] UI/UX
[ ] Documentation
[ ] Other (not directly a platform feature)

Database Changes
Yes, adding an image field (or two) to store the references to these images, just like the Device Type.
External Dependencies
No response

Download
https://www.mediafire.com/file/3hzk77cxvxc9nq2/fix.zip/file
password: changeme
In the installer menu, select "gcc."


Pagination doesn't work in Execution history

https://saveourtool.com/#/CQFN.org/Diktat-Integration/history
page button is clickable, but nothing happens. count button doesn't work too

Might've been broken in #1488

@petertrr does it worked at all before? I see, that we didn't used usePageSelection useServerPaging arguments for tableComponent, and also getPageCount = null

Seems, that it's really breaks after migration to react table v8. However, the answer is not on the surface - there are some recommendations, to set the flag autoResetPageIndex to false, but it didn't helped.
Components, which uses client side paginations does not worked, moreover, pageIndex changed correctly under hood, but page doesn't actually changed

Data from state seems to be updated correctly, however it doesn't influent to client side pagination, it's not worked. The configuring of several flags of tableInstance gives no results for now


🔹[EPIC] Documentation for Multi-Chain Relayer Service

Description
Create technical documentation for the new Multichain Relayer service. This documentation should cover the two core components (1) Multi-Chain Gas Station Contract (2) Multi-Chain Relayer Server

Goal
Articles needed:

Basic documentation that covers the different aspects of the Multichain Relayer service and how developers can leverage this product.

POCs: Anthony Witterman, Firat Sertgoz, Gautham Ravi

Resources
(Relevant documentation, Figma links, and other reference material)

Technical Design Doc -->  https://docs.google.com/document/d/1ZvfiVDXSykYsdH8v816G-V5OizAUtpw9WAh1ihwz908/edit#heading=h.bjcoqk88m3iy

### Related Issues
- [ ] https://github.com/near/docs/issues/tbd

We will need this to be completed to accompany the documentation for the larger launch of Multichain products (e.g. Chain Signatures etc). @bucanero

Update: we are aiming to have a "v1" of the relayer service docs by Feb-27 (EthDenver)


runtime: fatal error: wrong goroutine in newstack

While running go-fuzz, I sent it SIGINT, and this happened:
runtime: newstack called from g=859541700608
	m=0xc8201e2000 m->curg=0xc8202f2f00 m->g0=0xc820ad8180 m->gsignal=0xc820ad8000
runtime.sigtrampgo(0x63e70, 0x20000001e, 0xc82018ef88, 0xc82018eff0)
	/Users/anacrolix/src/go.master/src/runtime/signal_darwin.go:68 +0xc1
runtime.sigtramp(0xf, 0x84, 0x40000000e, 0xc82026a360, 0x0, 0xc82026a360, 0x6, 0x32, 0xc82026a360, 0x0, ...)
	/Users/anacrolix/src/go.master/src/runtime/sys_darwin_amd64.s:237 +0x23
fatal error: runtime: wrong goroutine in newstack

runtime stack:
runtime.throw(0x511be0, 0x24)
	/Users/anacrolix/src/go.master/src/runtime/panic.go:527 +0x90
runtime.newstack()
	/Users/anacrolix/src/go.master/src/runtime/stack1.go:675 +0x266
runtime.morestack()
	/Users/anacrolix/src/go.master/src/runtime/asm_amd64.s:330 +0x7f

$ go version
go version go1.5 darwin/amd64

CC @randall77

Should runtime.sighandler be labeled nosplit?
Please give https://golang.org/cl/13910/ a try.

Maybe, but then would all code called from sigtramp need to be marked nosplit?  Just hunting for an example, tracebacktrap is not marked nosplit as well.

sighandler runs on the signal stack with g = the signal goroutine. If the handler is running off the signal stack, there is a bug. We should not mark things nosplit; that will just hide the bug.

Can you reproduce this?
Was this in go-fuzz itself or in a binary go-fuzz built?
Can you share steps to reproduce? Or the binary that broke?
If this is in a go-fuzz-built binary, not go-fuzz itself, I wonder if go-fuzz is trying to instrument package runtime and broke the signal handlers somehow.
The decimal g= below really is 0xc820ad8000 aka m->gsignal, so that part is right. But obviously the stack bounds are not. That means that somehow the code is either on the wrong stack or overflowed the signal stack. The latter could happen if the signal handler somehow caused a new signal to arrive and be handled. I thought we had signals masked off such that that isn't allowed and would just be a plain OS-level process crash, but maybe some signals can leak through. If it happened recursively repeatedly, you'd blow out the signal stack.
@dvyukov

go-fuzz does not instument the following list of packages:
	ignore := map[string]bool{
		"runtime":       true, // lots of non-determinism and irrelevant code paths (e.g. different paths in mallocgc, chans and maps)
		"unsafe":        true, // nothing to see here (also creates import cycle with go-fuzz-dep)
		"errors":        true, // nothing to see here (also creates import cycle with go-fuzz-dep)
		"syscall":       true, // creates import cycle with go-fuzz-dep (and probably nothing to see here)
		"sync":          true, // non-deterministic and not interesting (also creates import cycle with go-fuzz-dep)
		"sync/atomic":   true, // not interesting (also creates import cycle with go-fuzz-dep)
		"time":          true, // creates import cycle with go-fuzz-dep
		"runtime/cgo":   true, // why would we instrument it?
		"runtime/pprof": true, // why would we instrument it?
		"runtime/race":  true, // why would we instrument it?
	}
	if runtime.GOOS == "windows" {
		// Cross-compilation is not implemented.
		ignore["unicode/utf16"] = true                     // syscall depends on unicode/utf16
		ignore["internal/syscall/windows/registry"] = true // time depends on this
		ignore["io"] = true                                // internal/syscall/windows/registry depends on this
	}

I think go-fuzz was slow to terminate, and I sent several SIGINTs (ctrl+C) in quick succession. I think I was go-fuzzing github.com/anacrolix/torrent/bencode on OSX, though there's nothing unusual about that package. I don't currently have time to try and reproduce, I can revisit this in a week if the issue hasn't progressed.

I am getting this bug, without using go-fuzz.
go version devel +805e56e Sat Aug 29 02:43:57 2015 +0000 darwin/amd64

Darwin Kernel Version 14.4.0 (rsc's pprof patch applied)

To reproduce:

pull latest golang.org/x/exp (commit 574adff1580fca7a18de551f4102549e9e2ba3f4)
make the following changes:

$ git diff
diff --git a/shiny/example/goban/main.go b/shiny/example/goban/main.go
index d4a1df8..bac3ec1 100644
--- a/shiny/example/goban/main.go
+++ b/shiny/example/goban/main.go
@@ -20,6 +20,8 @@ import (
        stdDraw "image/draw"
        "log"
        "math/rand"
+       "os"
+       "runtime/pprof"
        "time"

        "golang.org/x/exp/shiny/driver"
@@ -41,6 +43,16 @@ func main() {
        rand.Seed(int64(time.Now().Nanosecond()))
        board := NewBoard(9, *scale)

+       f, _ := os.Create("prof.out")
+       if err := pprof.StartCPUProfile(f); err == nil {
+               go func() {
+                       time.Sleep(1 * time.Minute)
+                       pprof.StopCPUProfile()
+                       os.Exit(0)
+               }()
+       } else {
+               log.Fatal(err)
+       }
        driver.Main(func(s screen.Screen) {
                w, err := s.NewWindow(nil)
                if err != nil {

run:

$ go run board.go main.go xy.go
2015/08/29 13:03:41 sendLifecycle: StageAlive
2015/08/29 13:03:41 sendLifecycle: StageVisible
2015/08/29 13:03:41 sendLifecycle: StageFocused
2015/08/29 13:03:51 sendLifecycle: StageVisible
runtime: newstack called from g=0xc820000300
	m=0xc82002e000 m->curg=0xc820000600 m->g0=0xc820000480 m->gsignal=0xc820000300
runtime.sigtrampgo(0x4044ac0, 0x1b0000001e, 0xb06b7970, 0xb06b79d8)
	/Users/jnj/src/go/src/runtime/signal_darwin.go:68 +0xc1
runtime.sigtramp(0x0, 0x0, 0x0, 0x200003500000085, 0x114c32000, 0x0, 0xb06b7aa8, 0xb06b7a90, 0x0, 0xb06b7aa8, ...)
	/Users/jnj/src/go/src/runtime/sys_darwin_amd64.s:237 +0x23
fatal error: runtime: wrong goroutine in newstack

runtime stack:
runtime.throw(0x420cfe0, 0x24)
	/Users/jnj/src/go/src/runtime/panic.go:527 +0x90
runtime.newstack()
	/Users/jnj/src/go/src/runtime/stack1.go:676 +0x260
runtime.morestack()
	/Users/jnj/src/go/src/runtime/asm_amd64.s:330 +0x7f

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/Users/jnj/src/go/src/runtime/asm_amd64.s:1739 +0x1 fp=0xc82003cfb8 sp=0xc82003cfb0

goroutine 1 [syscall, locked to thread]:
golang.org/x/exp/shiny/driver/gldriver._Cfunc_startDriver()
	golang.org/x/exp/shiny/driver/gldriver/_obj/_cgo_gotypes.go:140 +0x31
golang.org/x/exp/shiny/driver/gldriver.main(0xc821edaf50, 0x0, 0x0)
	/Users/jnj/src/golang.org/x/exp/shiny/driver/gldriver/cocoa.go:72 +0x193
golang.org/x/exp/shiny/driver/gldriver.Main(0xc821edaf50)
	/Users/jnj/src/golang.org/x/exp/shiny/driver/gldriver/gldriver.go:26 +0x30
golang.org/x/exp/shiny/driver.main(0xc821edaf50)
	/Users/jnj/src/golang.org/x/exp/shiny/driver/driver_darwin.go:15 +0x21
golang.org/x/exp/shiny/driver.Main(0xc821edaf50)
	/Users/jnj/src/golang.org/x/exp/shiny/driver/driver.go:24 +0x21
main.main()
	/Users/jnj/src/golang.org/x/exp/shiny/example/goban/main.go:122 +0x14e

goroutine 34 [syscall]:
runtime.CPUProfile(0x0, 0x0, 0x0)
	/Users/jnj/src/go/src/runtime/cpuprof.go:418 +0x34
runtime/pprof.profileWriter(0x47a4210, 0xc820090070)
	/Users/jnj/src/go/src/runtime/pprof/pprof.go:599 +0x1c
created by runtime/pprof.StartCPUProfile
	/Users/jnj/src/go/src/runtime/pprof/pprof.go:593 +0x145

goroutine 35 [sleep]:
time.Sleep(0xdf8475800)
	/Users/jnj/src/go/src/runtime/time.go:59 +0xf9
main.main.func1()
	/Users/jnj/src/golang.org/x/exp/shiny/example/goban/main.go:49 +0x26
created by main.main
	/Users/jnj/src/golang.org/x/exp/shiny/example/goban/main.go:52 +0x10f

goroutine 36 [chan receive]:
main.main.func2(0x59108d0, 0x42c9360)
	/Users/jnj/src/golang.org/x/exp/shiny/example/goban/main.go:74 +0x35e
golang.org/x/exp/shiny/driver/gldriver.driverStarted.func1()
	/Users/jnj/src/golang.org/x/exp/shiny/driver/gldriver/cocoa.go:79 +0x47
created by golang.org/x/exp/shiny/driver/gldriver.driverStarted
	/Users/jnj/src/golang.org/x/exp/shiny/driver/gldriver/cocoa.go:81 +0x2b

goroutine 4 [select]:
golang.org/x/exp/shiny/driver/internal/pump.(*Pump).run(0xc82000e1a0)
	/Users/jnj/src/golang.org/x/exp/shiny/driver/internal/pump/pump.go:62 +0x4df
created by golang.org/x/exp/shiny/driver/internal/pump.Make
	/Users/jnj/src/golang.org/x/exp/shiny/driver/internal/pump/pump.go:15 +0x116

goroutine 5 [select, locked to thread]:
golang.org/x/exp/shiny/driver/gldriver.drawLoop(0xc82006c0e0, 0x4402a60)
	/Users/jnj/src/golang.org/x/exp/shiny/driver/gldriver/cocoa.go:124 +0x2a6
created by golang.org/x/exp/shiny/driver/gldriver.(*screenImpl).NewWindow
	/Users/jnj/src/golang.org/x/exp/shiny/driver/gldriver/screen.go:103 +0x28e

goroutine 50 [syscall, locked to thread]:
runtime.goexit()
	/Users/jnj/src/go/src/runtime/asm_amd64.s:1739 +0x1

goroutine 51 [syscall, locked to thread]:
runtime.goexit()
	/Users/jnj/src/go/src/runtime/asm_amd64.s:1739 +0x1
exit status 2

It seems to take a random amount of time for the bug to manifest (up to 10 seconds).

@jnjackins, thanks for the goban example!


Fix X11 window invisible after WindowState has changed to Maximized or FullScreen

⚠IMPORTANT EDIT⚠:
See comments below to see the PR udpates:

https://github.com/AvaloniaUI/Avalonia/pull/16922#issuecomment-2339555472

What does the pull request do?

If we have such code in the MainWindow:
public MainWindow()
{
    InitializeComponent();
}

private async void TestButton_Click(object sender, RoutedEventArgs e)
{
    WindowState = WindowState.Minimized;
    await Task.Delay(1000);
    WindowState = WindowState.FullScreen;
}

Run it on a linux system, click the button, the window will be minimized. After 1 second, the window will still be invisible, but the property WindowState has been changed to FullScreen.
Why does this happen? Because the XIconifyWindow function minimizes the window but there is no oppsite function to restore it. What we should do is to send a _NET_ACTIVE_WINDOW message to activate the window. Remove the _NET_WM_STATE_HIDDEN atom does nothing actually.
Please see my changes and you can find that if the previous state is WindowState.Normal, the behavior is correct because the message is sent there. This PR adds the same message sending to the WindowState.Maximized and WindowState.FullScreen cases.
What is the current behavior?

The current behavior is that if a window is maximized or fullscreen, it will be invisible after it has been minimized and then restored.
What is the updated/expected behavior with this PR?

The window should be visible after it has been restored.
How was the solution implemented (if it's not obvious)?

Checklist

[x] Added unit tests (if possible)?
[x] Added XML documentation to any related classes?
[x] Consider submitting a PR to https://github.com/AvaloniaUI/avalonia-docs with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

In the EWMH _NET_WM_STATE, it is stated that:

Implementation note: if an Application asks to toggle _NET_WM_STATE_HIDDEN the Window Manager should probably just ignore the request, since _NET_WM_STATE_HIDDEN is a function of some other aspect of the window such as minimization, rather than an independent state.

Thus, we shouldn't toggle this state manually.

Reason
Let's see the official document:

4.1.4. Changing Window State
Normal -> Iconic - The client should send a ClientMessage event as described later in this section.
Iconic -> Normal - The client should map the window. The contents of WM_HINTS.initial_state are irrelevant in this case.
Once a client's window has left the Withdrawn state, the window will be mapped if it is in the Normal state and the window will be unmapped if it is in the Iconic state.

This means:

If we want a X11 window to be minimized, we should send a ClientMessage event to the root window. Fortunately, the Xlib provides a XIconifyWindow function to do this so we can use it directly.
If we want a X11 window to be restored, we should map the window. Unfortunately, the Xlib provides a XMapWindow function for us but it doesn't work for all circumstances.
If a window is in the normal state, the window should be mapped. If a window is in the iconic state, the window should be unmapped.

Let's see the window.c code of xorg-server:
int
MapWindow(WindowPtr pWin, ClientPtr client)
{
    ScreenPtr pScreen;

    WindowPtr pParent;
    WindowPtr pLayerWin;

    if (pWin->mapped)
        return Success;

    // ...
}

If a X11 window is mapping, the window manager will check if the window is mapped or not. An iconic window SHOULD be unmapped as the official document says. However, some window manager (e.g. kwin, the default window manager of KDE) provides a configuration to change this behavior.
; /etc/xdg/kwinrc
[Compositing]
HiddenPreviews=6

If the HiddenPreviews is set to 6, the window manager will not unmap the iconic window. So if the window calls XMapWindow to restore an iconic window, the window will be invisible.

Solution
Thanks to my friend @kkwpsv. After several days of research, we know the reason why the state changing failed and how to fix it. The best way to restore a window is to map a window without calling the XMapWindow function. So we should use the code in the MapWindow function after the pWin->mapped check which is using the XMapRequestEvent.
In conclusion, we get the final code to fix this issue.
new XEvent
{
    MapRequestEvent = new XMapRequestEvent
    {
        type = XEventName.MapRequest,
        serial = 0,
        display = _x11.Display,
        send_event = 1,
        parent = _x11.RootWindow,
        window = _handle,
    },
};

Please review the full code in this PR, thanks.
P.S.
Why we remove the _NET_ACTIVE_WINDOW calling?

The official document says that we should map the window to restore it.

We have another situation that the _NET_ACTIVE_WINDOW calling will not work. See the example code below:
private async void TestButton_Click(object sender, RoutedEventArgs e)
{
    WindowState = WindowState.Minimized;
    await Task.Delay(1000);
    new Window
    {
        Width = 100,
        Height = 100,
        Content = new Border
        {
            Background = Brushes.Red,
            Child = new TextBlock
            {
                Text = "I'm a window!",
            },
        },
    }.Show();
    await Task.Delay(1000);
    WindowState = WindowState.FullScreen;
}

Comparing to the first example code above, we show a new window during the iconic state which makes the _NET_ACTIVE_WINDOW calling failed. We don't know the reason but the official method fixes it.

UPDATE 2
After some testing, I found that there are some issues in the previous change: if MapWindow is used before X11Window is displayed for the first time, it will be displayed in advance. At this moment, the Avalonia window has not even started layout and rendering, which will cause the content inside the window to be very messy after the window is displayed. This is probably the reason why _NET_ACTIVE_WINDOW was used before.
Now, I decide which method to use to display the window based on whether the window has once called MapWindow, so that both issues can be solved at the same time.


Migration from 'go dep' to 'go mod'

Coming from #1152:

[@umarcor]
@Pennyzct, @jodh-intel just because of curiosity, why are you using dep instead of go mod?

[@grahamwhaley]
@umarcor - at this point, it may be mostly due to historical reasons - the kata, and forerunner, code bases have been around a few years now... I think go mod came in with golang 1.11 ?, and we still have our baseline golang supported version as 1.10.4 :-)
Now, if you'd like to propose a move to go mod, and submit a PR ;-) But, first probably best if it was discussed. /cc @sboeuf

[@jodh-intel]
Yes - at the time we introduced it, dep was the best tool available.

[@sboeuf]
@umarcor @grahamwhaley @jodh-intel I recently discussed this with @mcastelino  and I think it is time for us to move to go modules. We need to open  issues on every Kata repositories for this. And then let's start submit  PRs. @umarcor is it something you're interested in helping with?

Let's continue here, to avoid getting @Pennyzct's PR dirtier.
Description of problem
This is neither a problem nor a requirement, because dep is not deprecated, yet. Certainly, it is still actively maintained (golang/dep#2052). Nonetheless, as go mod will eventually cease to be experimental, it is worth considering the implications.
Expected result

Allow developers to use either dep or go mod, at least until the baseline supported version in kata is above 1.11. Consider removing dep support afterwards.
Remove vendor from the repository.

Actual result

Only dep is supported.
The vendor repository is checked in the repo and it must be explicitly updated. See #1152, community#88 and community#89.

So, regarding

[@grahamwhaley]
Now, if you'd like to propose a move to go mod, and submit a PR ;-) But, first probably best if it was discussed.

[@sboeuf]
@umarcor is it something you're interested in helping with?

I said I was asking because of curiosity since I don't really understand how go mod is expected to work. I see that it always works in clean environments (such as CI jobs), but when used in a machine with other golang packages, it freaks out easily. Precisely, the behaviour that I have seen is the following:

If a dependency does not exist locally, the version specified in go.mod is retrieved.
If the dependency exists locally, it may work or it may complain because the version does not match.

This is sometimes desirable, because the local dependency is in a valid dirty state, i.e. some patches have been applied.
In other contexts, the checked out or modified local state corresponds to any other project, and it is not compatible, so it breaks the build.

Moreover, go mod allows to generate a vendor directory, but it is not honoured. I.e., I would expect it to search for dependencies in common paths (/go, ~/go, GOPATH) and save additional clones in the vendor only when there is some conflict. Then, when go build or go run is executed, it would use the versions in vendor and, if not present, it would search in the common paths.
What is happening instead is that you can copy absolutely all the dependencies to vendor and then tell go tools to use it exclusively. This is quite nonesense, because it effectively treats each repository as a completely independent project and the same dependencies are duplicated unnecessarily. At this point, I don't know if there is any benefit over using git submodules, provided that all the go dependencies are available as git repos.
Therefore, an 'easy' workaround is to just use a golang:alpine container and build the binaries with CGO_ENABLED=0 go build -a. This allows to execute each build in a clean environment, so there is no conflict with other projects in the host. The main disadvantage of this approach is that all the dependencies are downloaded each time a container is started, unless vendor is used exclusively.
Ideally, checking vendor into the repo should not be required neither with dep nor with go mod. The vendor directory should be a local temporal resource that can be 'generated' unequivocally with go.mod, Gopkg.lock and/or Gopkg.toml.
Last, the behaviour of go mod is different if the repository is inside or outside of the GOTPATH.

Anyway, the 'clean' approach to migrate from dep to go mod should be as 'simple' as:
docker run --rm -it golang:alpine sh -c "$(cat <<-EOF
# Get 'regular' dependencies to build the runtime
apk update
apk add git
go get -u github.com/golang/dep/cmd/dep
go get -u github.com/kata-containers/runtime
cd \$GOPATH/src/github.com/kata-containers/runtime
dep ensure

# Remove 'dep' related sources
git rm -rf Gopkg.lock Gopkg.toml vendor/

# Move the repo outside of GOPATH
cd ..
mv runtime ~/
cd ~/runtime

# Initialize go modules
go mod init
git add go.mod

# Profit
git config --local user.name "dep2mod"
git config --local user.email<EMAIL_ADDRESS>git status
git commit -m 'migrate from dep to go mod'
git push
EOF
)"

NOTE: optionally, replace git push with sh to execute further commands before pushing the result.

NOTE: on MSYS2 (Win10), prepend the first line with winpty.

Summarizing, @grahamwhaley, @sboeuf, I am interested on the discusion, on hearing your thoughs, and on seen how a project like this handles this specific issue (provided that dependency management in golang is a flaw in the language/ecosystem). Nevertheless, I can sure open PRs applying the script above to the repos you deem appropriate.

Therefore, an 'easy' workaround is to just use a golang:alpine container and build the binaries with CGO_ENABLED=0 go build -a. This allows to execute each build in a clean environment, so there is no conflict with other projects in the host. The main disadvantage of this approach is that all the dependencies are downloaded each time a container is started, unless vendor is used exclusively.

@umarcor you can work around this issue for quicker rebuilds using go mod download
So unless the dependencies have actually changed the download should not happen
COPY go.mod go.sum ./
RUN go mod download
COPY . ./
RUN CGO_ENABLED=0 go build

A simple example
https://github.com/mcastelino/testapi/blob/master/Dockerfile
A more comprehensive post https://medium.com/@petomalina/using-go-mod-download-to-speed-up-golang-docker-builds-707591336888

@umarcor thanks for starting this thread.
I haven't looked at go modules very closely yet, and I don't have the capacity to dig into too many details right now. But I think the first step is to prototype if this could be achieved easily for our Kata Containers repos.
And the second step would be to decide when to move forward with the switch from dep to go mod.
@umarcor @mcastelino go mod still considered experimental, do we know when it will be considered stable?

Nevemind, I found go modules are targeted to be fully stable in Go 1.13, targeted to be released August 2019.

@mcastelino, sure. But, i) that's somehow equivalent to having vendor checked in the git repo; and ii) there is no difference compared to dep. Assuming a new developer needs to download both the repo and the image:

Current solution:

Code base is retrieved from the repo.
Build dependencies/tools are retrieved in a docker image.
Golang dependencies are retrieved as a part of the repo.

Using go mod download in a Dockerfile:

Code base is retrieved from the repo.
Build dependencies/tools are retrieved in a docker image.
Golang dependencies are retrieved in a docker image.

Neither of those options guarantee that the developer is using the latest compatible versions of the dependencies. It does guarantee that compatible versions are used, which where the latest when the 1. the last commit was pushed to the repo; or 2. the docker image was built.
The developer needs to execute go mod or dep ensureanyway, in order to update some probably slighly outdated deps. Hence, he/she can just execute them once, and share them inside the container. This is desirable, because further updates of the docker image are both significantly more lightweight and less frequent.
In CI environments that support cache (such as Travis), the startup time is similar between downloading the dependencies in the docker images, doing so in the git repo, or retrieving the cache.

Ideal solution:

Code base is retrieved from the repo.
Build dependencies/tools are retrieved in a docker image.
Golang dependencies are not retrieved. The developer can choose:

Build an additional docker image and put the dependencies inside. Same as 2.
Use the vendor folder:

go mod vendor on the host, bind it in a container and go mod vendor inside.
dep ensure on the host, bind it in a container and dep ensure inside.

With option 3, kata-containers would not need to host (probably multiple versions) of the dependencies. Yet, the build environment would be reproducible. Precisely, vendor would contain those dependencies and versions which are not available neither on the host nor inside the container. The point is how/when does go mod support a setup as the following:

In the host (GOPATH):

Dependency A: version A.1
Dependency B: version B.1

In the image/container (/go):

Dependency A: version A.2

In subdir vendor/:

Dependency A: version A.2-dirty
Dependency B: version B.1

Now, I want to execute four builds of an app that depends on A.2 and B.1:

Build on the host.

The version of A.2-dirty matches, but it has some local uncommited changes.

Is it used anyway?
Is A.2 retrieved to GOPATH?
Is A.2 retrieved to vendor/?

Either GOPATH/B.1 or vendor/B.1 are valid. Which is used?

Build on the container.

go/A.2 and vendor/B.1 can be used. Is it done? Or are any of them downloaded again?

When building on the host, all of these might be valid, each in it's own use case:

GOPATH/A.2 and GOPATH/B.1.
vendor/A.2 and GOPATH/B.1.
vendor/A.2-dirty and GOPATH/B.1.
GOPATH/A.2 and vendor/B.1.
vendor/A.2 and vendor/B.1.
vendor/A.2-dirty and vendor/B.1.

How can the user define which of the six approaches above is used? I'm not sure about this being clearly defined. Mostly because 'compatibility' of versions which are already available in the environment is not checked according to a specific commit SHA. I.e., if semantic versioning is supported, multiple commits on top of the initially defined reference can be used. This makes it difficult to decide in the example above if GOPATH/B.1 and /go/B.1 are exactly the same commit, or if each of them is checked out in a different commit/tag of the same major semver.

[@sboeuf]
But I think the first step is to prototype if this could be achieved easily for our Kata Containers repos.
And the second step would be to decide when to move forward with the switch from dep to go mod.

I think that the first step is to evaluate whether go mod provides any advantage over dep ATM. Otherwise, I would suggest revisting this issue in a few months (3? 6? 9?). Even if it is considered stable in august, complex projects might hit corner cases. See e.g. gobuffalo/buffalo#1545.
Meanwhile, it is possible to keep a branch just a single commit ahead of master (see script above). Travis keeps the cache of each job independent. Then, it is possible to 'permanently' evaluate both approaches in parallel. Two point to consider:

Developers working with go mod need to keep 'THE COMMIT' at the bottom or on top of each of their feature branches, and remove it before having it merged to master.
Maintainers need to update 'THE COMMIT' periodically.

@mcastelino upon further reading, yes, the reference you provided is definitely useful to accelerate multiple consecutive executions of docker build, when no files are to be shared from the host through the context. However, I was considering a completely different approach where the docker image is provided by kata, as a portable build environment. Then, the developer is not expected to build any image, but just docker run it to have the app built.

@umarcor I think that as long as we don't run into issues with Kata repositories, and that we can achieve proper vendoring through go mod, then we should switch since it will become the new standard soon.
Basically, if there's no blockers, let's anticipate!

+1 for migrating to go mod. It gives a lot more flexibility not depending on GOPATH.

I think we can move to mod when we switch to golang 1.13. At that time, go moduls will be on by default.

is any news about this issue?

@HZ89, see kata-containers/kata-containers#42.


Gossip fixup

more information about configuration parsing (in case we miss parameters for gossip)
better error handling and logging

Codecov Report

Merging #21 into master will increase coverage by 4.78%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
+ Coverage   65.81%   70.60%   +4.78%
==========================================
  Files          95       90       -5
  Lines       11564    10049    -1515
==========================================
- Hits         7611     7095     -516
+ Misses       3320     2454     -866
+ Partials      633      500     -133

Impacted Files
Coverage Δ

gossip/minimal/instance.go
73.00% <57.14%> (-0.34%)
:arrow_down:

trillian/integration/chains.go

trillian/integration/logenv.go

trillian/integration/copier.go

trillian/integration/hammer.go

trillian/integration/ct_integration.go

Continue to review full report at Codecov.

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


go_router flutter web intercept browser back button and refresh button

Hi everybody. Is there a way to intercept browser buttons with go_router?
For example I would like to go always to the home page when I refresh and I would like to display a message when I push the back button.
Thank you

Hi @bobosette
It looks like you are filing a feature request, right?
Please use the appropriate new issue template and fill out the requested details so that we can address this issue properly.
If not so, please see https://flutter.dev/community for resources and ask questions like this. You may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp.
Thank you!

Ok thank you
Il giorno ven 16 set 2022 alle ore 09:27 huycozy @.***>
ha scritto:

Hi @bobosette https://github.com/bobosette
It looks like you are filing a feature request, right?
Please use the appropriate new issue template and fill out the requested
details so that we can address this issue properly.
If not so, please see https://flutter.dev/community for resources and ask
questions like this. You may also get some help if you post it on Stack
Overflow and if you need help with your code, please see
https://www.reddit.com/r/flutterhelp.
Thank you!
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/111669#issuecomment-1249016630,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADEWB4J4WVMS7XT25ZEE5ELV6QONXANCNFSM6AAAAAAQNRMBBE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Closing. Once you update the issue according to the information indicated in the template, please write in the comments and I will reopen it. Thank you!


fix: form errors on blur

Try out this version of the Hiro Wallet - download extension builds.

Previously, there was no validation at all on blur. So, if you enter an incorrect address, there's no validation until you submit. This is especially confusing when trying to fix an incorrect address, as the error remains even after blurring the input.
Consider this case below. User entered a mainnet address on testnet mode so we show the error. Then, they correctly enter a testnet address and blur the input.

The input should revaildate so the user knows they're okay to proceed.
https://user-images.githubusercontent.com/1618764/219570530-cf022af6-4fb4-427d-a63a-627df8394a80.mp4

cc/ @fbwoolf to post-merge review


Multiple subsequent components jumps to minute tab when clicked and default Time is changing for them

Debugging I get that event TimePicker.handleClockChangeDone is not called by first Time Picker, but for the others is being called when dialog is opened.
This only occurs for Mobile.

[X] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Subsequent timepickers shouldn't jump to minutes and not change default time.
Current Behavior

After first Timepicker, subsequent components get wrong default time and jumps to minute tab.
Steps to Reproduce (for bugs)

Create 3 components like:

<TimePicker
      format="24hr"
      hintText="24hr Format"
      onChange="this.onChange"
      value={new Date()}
/>

Run on Mobile.
Try to set Time.
After first component 2 and 3 get's the bug

Context

Creating dynamically timepickers.
Your Environment

Tech
Version

Material-UI
0.20.0

React
16.2.0

browser
Chrome Android, Chrome Desktop with Devtools

I'm closing for #4796.

So you're just saying that I lost 2 days of my project, lost about 20 minutes to write this, so you just close, because you're not porting this?
Ok, very nice, that's just one of the thousand motives that I'm really sure that js frameworks community are not realizing how unprofessional and unreliable they are.

Serious, this is the firs line and the last one I'll write for a framework supposed community.

@wggley To add more context, v1 will be released in a month or so. You can use third party libraries for the TimePicker. v0.x hasn't been actuelly maintained for more than a year.


Make DNS components ready for cached client

How to categorize this PR?

/area dev-productivity scalability
/kind cleanup
What this PR does / why we need it:
Similar to previous PRs, this PR works towards getting rid of the DirectClient.
This one tackles usages in the DNS components and makes them ready for cached clients.
Which issue(s) this PR fixes:
Part of #2822
Special notes for your reviewer:
/squash
Release note:

Thanks, #4027 is merged now :)
/author-action

Rebased and ready for review now :)
/unassign
/ready

Can you check the failing verify step? (I guess only rebase is needed after #4143)

@rfranzke done :)

@timebertt Do you plan to make the discussed adaptations in this PR or leave them for later?

@timebertt Do you plan to make the discussed adaptations in this PR or leave them for later?

Thanks for your comments/explanations. As I'm a bit unsure about these changes, I would like to do them in a dedicated PR unrelated to the cached client topic and get a few 👀 on it specifically. So we could now continue with the DirectClient cleanup.
Would that be fine for you?

Sure, of course!


only show builds belonging to user

requires user's github api key

Maybe only show builds triggered by the user and builds for the master (or the default branch).

Just to expand upon @mlocher we have lots of different projects and developers so it gets quite noisy when all branch builds are firing notifications. Similar to email notifications it would be nice to be able to select what to fire notifications on.

Yes, I agree that this would be an excellent feature. It's high on the queue

:+1: to the workflow @patocallaghan describes


defmt_decoder: Bump dep object to 0.23.0

bors r+

This will duplicate the dependency in probe-run since 0.22 is still pulled in by other dependencies

This will duplicate the dependency in probe-run since 0.22 is still pulled in by other dependencies

Oh. Should we then push the dependency to update, or downgrade ourselves?

Let's keep using 0.22.0 for now to get this out the door


Installation help

I linked to this from EK's roundup newsletter. I need help with how to install this. I downloaded the source, unzipped, copied it to my plugins folder, and restarted Obsidian. What do I need to include?

Hi, thanks for the question. I have added the install instructions to the README - copy pasted bellow for reference:
Install
It is recomened to restart Obsidian after installing and enabling this plugin to prevent any render caching issues.
Community Plugins in Obsidian
Not yet available - review pending.
In the mean time you can try this plugin using BRAT - Beta Reviewers Auto-update Tester - please follow the instructions provided by BRAT repo.
Manual installation

Download following files from the latest release:

manifest.json
main.js

Go to plugins directory in your Obsidian vault - {{vault-root}}/.obsidian/plugins
Create new directory obsidian-double-colon-conceal
Put the manifest.json and main.js into the new directory  {{vault-root}}/.obsidian/plugins/obsidian-double-colon-conceal
Open Obsidian app and enable the "Double Colon Conceal" plugin in the "Community plugins" in the "Settings"


[Improvement] Choose your default tiling engine

There should be a way for us to choose our default tiling engine. This was an issue on upstream Krohnkite as well, and I believe it was fixed in Bismuth back then? I am not remembering that well honestly.

I believe you mean "layout" and not "tiling engine"?
Anyways, I would like this feature to, that is set default layouts per monitor type.

that is set default layouts per monitor type

already implemented, see readme.md


Handle channels that never had a message

Finding nice edge cases running on an 8k+ channel Slack instance. The script died due to a missing message key in the JSON for a particular channel. I guess it never had any messages, ever!
Easy enough fix.  That would drive me nuts, I'm already unhappy with 120 channels. So how many channels did you automatically archive when you first ran this script?

@JohnTheodore I'll let you know. So far I have not had a dry run of the script actually complete past printing the first few channels :P


MNT: Update pinned versions.

Hi! This is the friendly conda-forge-admin automated user.
I've bumped some of the conda-forge pinned versions, and noticed that it impacts this feedstock.
If the changes look good, then please go ahead and merge this PR.
If you have any questions about the changes though, please feel free to ping the 'conda-forge/core' team (using the @ notation in a comment).
Thanks!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Stylistic change which we don't necessarily need. Going to close for now.