Redirect all unused domains to a specific site

There is a useful plugin "fallback url" that will redirect something like http://sho.rt/nonexistant to http://fallbackurl.com however this does not work in all instances

if you put just http://sho.rt it does not redirect to fallback url, but gives a permissions error
if you put http://sho.rt/examplefile.html or anything with a file ending, it redirects back to http://sho.rt instead of back to the fallback url and gives a permissions error

Is there a way using .htaccess or otherwise to rectify this?
Thanks

Then at the root of your domain put a file that will redirect to the fallback URL.

That's not really a fix though...it's a workaround at best.
Thanks
On 19 May 2015 7:03 am, "྅༻ Ǭɀħ ༄༆ཉ"<EMAIL_ADDRESS>wrote:

Then at the root of your domain put a file that will redirect
https://www.google.com/search?q=php+redirect to the fallback URL.
—
Reply to this email directly or view it on GitHub
https://github.com/YOURLS/YOURLS/issues/1904#issuecomment-103349688.

YOURLS already redirects to the document root as a fallback. I am not sure what the fallback url plugin does differently, but a index.php or index.html in the document root should really be all you need. I am using this here.
Of course you shouldn't get a permissions error when accessing the document root. Maybe there is some misconfiguration on your web server? Or you simply need to create the index.php file first?
<?php
header('Location: http://www.fallback.url/');

So if the short URL doesn't exist it automatically redirects to root?
Even when not using the fallback URL plugin?
Thanks
On 19 May 2015 4:21 pm, "Christian Taube"<EMAIL_ADDRESS>wrote:

YOURLS already redirects to the document root as a fallback. I am not sure
what the fallback url plugin does differently, but a index.php or
index.html in the document root should really be all you need. I am using
this here http://chtau.be/invalid.
Of course you shouldn't get a permissions error when accessing the
document root. Maybe there is some misconfiguration on your web server? Or
you simply need to create the index.php file first?
.

Yes, indeed!
That is why I don't understand what that plugin should be good for…
There is no index.php shipped within the default installation of YOURLS. This should result in a 404 error (file not found) when using an invalid URL - which is a safe default, IMO.
If you want something else - like a redirection elsewhere or a simple page with usage instructions or whatever, this is supposed to be done by the admin.
My index page is actually just static html with some javascript in it. No plugin installed.

So why does that plugin exist then?
Does it maybe remove a step in the redirects?
Thanks
On 19 May 2015 7:07 pm, "Christian Taube"<EMAIL_ADDRESS>wrote:

Yes, indeed!
That is why I don't understand what that plugin should be good for…
There is no index.php shipped within the default installation of YOURLS.
This should result in a 404 error (file not found) when using an invalid
URL - which is a safe default, IMO.
If you want something else - like a redirection elsewhere or a simple page
with usage instructions or whatever, this is supposed to be done by the
admin.
My index page is actually just static html with some javascript in it. No
plugin installed.
—
Reply to this email directly or view it on GitHub
https://github.com/YOURLS/YOURLS/issues/1904#issuecomment-103617022.

The plugin exists because someone wanted their YOURLS to do things their way, and that's what the plugin API is for. Namely, the plugin can allow having an index page (public interface or whatever) and a fallback URL that's not the index page.

Yes, so it seems the point is that it removes a step in the redirects.
So instead of sho.rt/test -> sho.rt/ -> fallba.ck
It goes sho.rt/test -> fallba.ck
Which seems like it is much better.
What I wonder, is two things:

is it possible to include the root in this? At the moment I have done
with .htaccess for root
is it possible to include things with file extensions in fallback url
plugin - if you do something like sho.rt/test it works fine, but with
sho.rt/test.html it does not work?

Thanks
On Tue, May 19, 2015 at 10:44 PM, ྅༻ Ǭɀħ ༄༆ཉ<EMAIL_ADDRESS>wrote:

The plugin exists because someone wanted their YOURLS to do things their
way, and that's what the plugin API is for. Namely, the plugin can allow
having an index page (public interface or whatever) and a fallback URL
that's not the index page.
—
Reply to this email directly or view it on GitHub
https://github.com/YOURLS/YOURLS/issues/1904#issuecomment-103675898.

I'm sorry, but I completely lost track about what you want to do and I cannot reproduce your thoughts. What do you mean with „is it possible to include the root in this“? What is the problem with file extensions that you have?
This is the behaviour of YOURLS without any plugin magic:

chtau.be/invalid -> not a valid short URL => redirects to chtau.be/ – serves /index.html
chtau.be/invalid.html => not a valid short URL => redirects to chtau.be/ – serves /index.html
chtau.be/ => YOURLS is not involved, webserver handles this – serves /index.html
chtau.be/1 => valid short URL - redirects to long URL www.chtaube.eu/

Does it work differently on your end? Even if you disable the fallback URL plugin?

Hi again,
Yes but in your example there is an additional redirect, if you are using index.php or similar to redirect to another domain.
In your examples:

chtau.be/invalid -> not a valid short URL => redirects to chtau.be/ – redirects to fallback.url
chtau.be/invalid.html => not a valid short URL => redirects to chtau.be/ – redirects to fallback.url

However, with the fallback url plugin it removes a redirect step, which is surely better for SEO purposes:

chtau.be/invalid -> not a valid short URL => redirects to fallback.url

Only problem is it does not work for things with extension like .html, .php etc so defaults to standard YOURLS functionality as in your example:

chtau.be/invalid.html => not a valid short URL => redirects to chtau.be/ – redirects to fallback.url

What I want to do, is include that scenario in the fallback url plugin, to minimise the amount of unnecessary redirects.

Then contact the plugin author ?

Well yes, I have.
I just wondered if anyone knew of a quick fix to his code to make it happen.
On 22 May 2015 3:49 pm, "྅༻ Ǭɀħ ༄༆ཉ"<EMAIL_ADDRESS>wrote:

Then contact the plugin author ?
—
Reply to this email directly or view it on GitHub
https://github.com/YOURLS/YOURLS/issues/1904#issuecomment-104679627.

I was looking to do something like this. Redirect non-existing URLs to a specific URL.
This was a simple easy solution for me.
I just added an index.php file on the root of the folder and added that line and that was it. It works as intended.
Very nice! Thanks

YOURLS already redirects to the document root as a fallback. I am not sure what the fallback url plugin does differently, but a index.php or index.html in the document root should really be all you need. I am using this here.
Of course you shouldn't get a permissions error when accessing the document root. Maybe there is some misconfiguration on your web server? Or you simply need to create the index.php file first?
<?php
header('Location: http://www.fallback.url/');


C1218IOError('failed 3 times to correctly send a frame'

We are using RS232 (serial cable) optical probe for our connection - http://probeformeters.com/brochure/brochure_kmk131_en.pdf
We are testing the Atlas EDMI MK10D Three Phase Electronic Meter - http://www.edmi-meters.co.uk/wp-content/uploads/2017/06/Mk10D_2017.pdf
We have installed the termineter app on our Linux box but we are facing some difficulties.
We receive the error C1218IOError('failed 3 times to correctly send a frame')
We have also tried this in Windows (with Python 3.6.3 installed) using a USB to serial convertor (with FTDI chip) and we get the same error.
We have also tried a serial to USB converter but it outputs the same error.
We then emailed the optical probe supplier for help to which they replied:

It must be used with an ANSI meter.
You must make sure you give power to probe from pin4 or pin7 which means RTS enabled in windows application.

We meet the condition for number 1 but not sure about number 2. We imported the DTS(RTS) to python, perhaps not done correctly.
Can you point us in the right direction?
Thanks

The default is to have RTS enabled and DTR disabled. These are set here.
If you start termineter with logging set to debugging, you'll be able to see frames being sent (and hopefully received). Can you try that and post the logs here? You can start it in debugging module by doing ./termineter -L DEBUG.

Thanks for your help. This is what I get:
termineter > set SERIAL_CONNECTION /dev/ttyS0
SERIAL_CONNECTION => /dev/ttyS0
termineter > connect
INFO     opening serial device: /dev/ttyS0
DEBUG    successfully opened serial device: /dev/ttyS0
DEBUG    applying pySerial settings dictionary
DEBUG    set RTS to True
DEBUG    set DTR to False
INFO     selective table caching has been enabled
DEBUG    sending frame,  length: 9   data: ee0000000001201310
ERROR    received empty response after writing data
ERROR    received empty response after writing data
ERROR    received empty response after writing data
CRITICAL failed 3 times to correctly send a frame
ERROR    serial connection has been opened but the meter is unresponsive
ERROR    Caught C1218IOError: 'failed 3 times to correctly send a frame'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/termineter/interface.py", line 193, in do_connect
self.frmwk.test_serial_connection()
File "/usr/lib/python3/dist-packages/termineter/core.py", line 401, in test_serial_connection
self.serial_connect()
File "/usr/lib/python3/dist-packages/termineter/core.py", line 359, in serial_connect
raise error
File "/usr/lib/python3/dist-packages/termineter/core.py", line 356, in serial_connect
self.serial_connection.start()
File "/usr/lib/python3/dist-packages/c1218/connection.py", line 271, in start
self.send(C1218IdentRequest())
File "/usr/lib/python3/dist-packages/c1218/connection.py", line 144, in send
raise C1218IOError('failed 3 times to correctly send a frame')
c1218.errors.C1218IOError: 'failed 3 times to correctly send a frame'
[-] Caught C1218IOError: 'failed 3 times to correctly send a frame'

Well it's never receiving anything, not even the ACK that the frame was successfully sent. I would look at your serial settings and make sure the others like the baudrate etc are all configured correctly. Do you have any other software that's using this probe and meter combination?

I do not have any other probs or meters, termineter was installed on a fresh KALI box. When we send the connect command, the device actually blinks three times. I will do a video and upload it on here.

https://youtu.be/CyRDPOmNY-c
You can see it it blink three times.
If you change the speed of the video, you maybe able to see it better.

Have you been able to verify the serial settings for your particular probe? The light blinking doesn't necessarily mean that the settings are correct.

stty -F /dev/ttyS0 115200

For that you're going to want to set them from within termineter using the advanced options.
termineter > show advanced

Advanced Framework Options
==========================

  Name               Value    Description
  -----------------  -------  --------------------------------------------
  AUTO_CONNECT       True     automatically handle connections for modules
  C1218_MAX_PACKETS  2        c12.18 maximum packets for reassembly
  C1218_PACKET_SIZE  512      c12.18 maximum packet size
  CACHE_TABLES       True     cache certain read-only tables
  SERIAL_BAUD_RATE   9600     serial connection baud rate
  SERIAL_BYTE_SIZE   8        serial connection byte size
  SERIAL_STOP_BITS   1        serial connection stop bits
  TABLE_FORMAT       simple   the format to print tables in

termineter > set SERIAL_BAUD_RATE 115200
SERIAL_BAUD_RATE => 115200
termineter >

Notice that these are at the framework level, so you can't set them while a module is in use (those would be the module-specific options and advanced options.

good day, I have tried to connect with smart meter in Mexico of the
brand IUSA, but I get it, it fails. 'failed 3 times to correctly send
to frame. the probe I use is RS232 OPTICAL PROBE
KMK113 BROCHUREKMK133 BROCHURE
The probe has DB9 Male interface for RS232 connection and it also has
coiled cable so it can easily be used with handheld units with
suitable interface and / or data collector devices. to connect to
windows .The error is for the safety of the smart meter.. did yo have
to conect plase me contact.
2018-02-18 14:00 GMT-06:00 Nameth<EMAIL_ADDRESS>
stty -F /dev/ttyS0 115200
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/securestate/termineter/issues/6#issuecomment-366542878,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJlhgTcTqfKlCZEzXDGWoPKK-1RVlBOoks5tWIFDgaJpZM4SBTir
.

@Scoo10 if you're having trouble, can you please open a separate issue? Thanks!

I was unable to resolve this, i gave up in the end.


Meta: Rusoto is an SDK not client libraries

A few places describe Rusoto as AWS client libraries.  More accurately: Rusoto is a Rust AWS SDK.
Changes in README, crate description, etc...

How do you distinguish between a client library and an SDK?

All the other AWS SDKs are called SDKs.  Trying to follow that convention.
I think "client libraries" got slapped into the repo description as I was slap-dashing things together at the beginning of this project.


Interface provided by PartialOrd isn't practical/efficient

The interface for PartialOrd a has two methods:
  comparable :: a -> a -> Bool
  leq :: a -> a -> Bool

https://hackage.haskell.org/package/lattices-2.0.3/docs/Algebra-PartialOrd.html#t:PartialOrd
I think an interface as chosen in package partial-order allows for more efficient implementations:
  compare :: a -> a -> Maybe Ordering

https://hackage.haskell.org/package/partial-order-<IP_ADDRESS>/docs/Data-PartialOrd.html#v:compare
From the latter, we easily define:
   comparable a b = isJust (compare a b)
   leq a b = case compare a b of { Just LT -> True; Just EQ -> True; _ -> False }

However, defining compare involves two calls to the interface:
   compare a b =
     case (leq a b, leq b a) of
          (True, True) -> Just EQ
          (True, False) -> Just LT
          (False, True) -> Just GT
          (False, False) -> Nothing

This may be problematic if there is common work to be done for leq a b and leq b a.  The pure interface does not allow sharing of this joint work.
For example, consider sets implemented by sorted lists.  A call to leq a b = isPrefixOf a b would have worst-time complexity O(min(n,m)); but compare would just run in the same time. So, the interface with just leq gives a slow-down of factor 2 in the worst case.

compare is a bad name as it clashes with Ord definition. I agree, it would be good to add such method to PartialOrd.
Can we have efficient implementations for Set and Maps?

compare is a bad name as it clashes with Ord definition. I agree, it would be good to add such method to PartialOrd.

compareMaybe would be a canonical name.

Can we have efficient implementations for Set and Maps?

I suppose symmetric difference would be the canonical avenue for Set.  However, it hasn't materialized yet:

https://github.com/haskell/containers/issues/162
https://github.com/haskell/containers/issues/732

Maybe a stand-in via Set.toAscList wouldn't be too awful.
Also one can lift compareMaybe from v to k -> v for a finite k using minimum on the four point lattice (Hasse diagram):
              Just EQ
Just LT                     Just GT
              Nothing

This gives a general recipe for products of all kinds.


API updates

I had a look at this plugin and it seems it was still firing requests, but no hovers were created.

It is not reliable to check if the distance is -100 to know if something is an exact result. For this, you should check whether the name of the result matches. However, I now added a exact X kind of query (https://gitlab.science.ru.nl/cloogle/cloogle-org/commit/3012a64f806a2b2680746f67dd2aa6e1ae6e6559) which will only return exact results. (Some exact queries still return multiple results, like exact Text. The plugin now still picks an arbitrary result. You could choose to show all results. However, I think you're not using this yourself any more so that would be too much work?)
In /src, we now use slashes instead of periods to separate library and module names.

Should you choose to merge this, it would be nice if you could also update the version in the extension registry. I wouldn't know how to do that.

Great, thank you!
I'll add the possibility to have multiple results then.
For the extension registry, I have to check but that should be allright :)


Issue/2414 create decorator for stable api (#2886)

Pull request opened by the merge tool on behalf of #2886

Merged into branches iso4 in 87dffec5af169c596dceac90f11b9fe691bcfa99


Not able to select language and tags together for search

Describe the bug
We are able to select either the language only or the tag only from the search section. We must be able to select language and tags together and generate overlapping results.

I am willing to work on this issue.

@lakshay451 this is not a bug and I am already working on this see #46

#46


pynetbox 3.4.11 to 4.0.4 incompatibility

This code works fine with python 3.5.6 and pynetbox 3.4.11, but not with 4.0.4.
#!/usr/bin/env python
import pynetbox
import os
netboxtoken=os.environ["NETBOXTOKEN"]
netboxurl=os.environ["NETBOXURL"]
nb = pynetbox.api(netboxurl, token=netboxtoken)

devices = nb.dcim.devices.all()
for device in devices:
        try:
                ip=device.primary_ip4.address.ip
                print (ip,device)
        except:
                pass

device.primary_ip4.address.ip seems broken? Or has there been an API change? I looked at the readme and couldn't find anything.
Error from python: 'str' object has no attribute 'ip'

Yeah, this is part of what necessitated a major version bump. It's the result of dropping netaddr which we used use to turn any IP or prefix field in NetBox's response into netaddr.IPNetwork objects. We're leaving that to the end-user now if they need it.


配合QMUIKit实现APP内部控制暗黑模式

New Issue Checklist

[ ] I have read the Documentation
[ ] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name          iOS

Platform Version        15.0

TABAnimated Version      5.0.0

Xcode Version           XCode 13.0

Repro rate
e.g. all the time (100%) / sometimes x% / only once

Repro with our demo prj
e.g. does it happen with our demo project?

Demo project link
e.g. link to a demo project that highlights the issue

Issue Description and Steps
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.
APPDelegate设置TABAnimated的darkModeType 实际上还是跟随系统模式
[TABAnimated sharedAnimated].darkModeType = [QMUIThemeManagerCenter.defaultThemeManager.currentThemeIdentifier isEqual:QDThemeIdentifierDark] ? TABAnimatedDarkModeForceDark : TABAnimatedDarkModeForceNormal;
if (@available(iOS 13.0, *)) {
if (QMUIThemeManagerCenter.defaultThemeManager.respondsSystemStyleAutomatically) {
[TABAnimated sharedAnimated].darkModeType = TABAnimatedDarkModeBySystem;
}
}

根据你的使用场景，是不能在appDelegate中设置的，应该在QMUI的darkMode被用户修改时，同时修改TABAnimated的darkMode


About the validation and test

@FabianIsensee Hi, sir. I got into troubles again when I learned your code about validation and test. Especially, the function run_validation_mirroring in the validate_network.py was too hard to make it clear. Totally, I know it was designed to process predicted results but the detail was unclear. Could you help me describe the detailed functons of it  , thank you very much!

Hi,
I cannot describe all the details. I have an important review to do right now. The code should be self explanatory. The important bit is that I am doing test time data augmentation by mirroring along all axes. That may have looked confusing in the code.
Best,
Fabian

Thank you,sir！You could do your important things first. It is not urgent for me. It is that “”doing test time data augmentation by mirroring along all axes“” puzzled me. What is the principle？


Add Roadmap for Good Practices for Frontend Development

Hey @TusharRGupta!
Thank you for your interest in contributing to our project! I want to clarify that you are absolutely free to start contributing by forking the repository and creating a pull request without the need for issue assignments. Hacktoberfest is all about open collaboration, and I encourage you to dive right in. Feel free to explore the project, find something you'd like to work on, and submit your contributions through pull requests. Your contributions are highly appreciated, and I'm here to support you throughout the process. Happy hacking!


Review and adjust the default DistributionStatisticConfig

Currently, Armeria uses the default DistributionStatisticConfig of:
DistributionStatisticConfig
  .builder()
  .percentilesHistogram(false)
  .sla()
  .percentiles(new double[] { 0, 0.5, 0.75, 0.9, 0.95, 0.98, 0.99, 0.999, 1.0 })
  .percentilePrecision(2)
  .minimumExpectedValue(1L)
  .maximumExpectedValue(Long.MAX_VALUE)
  .expiry(Duration.ofMinutes(3))
  .bufferLength(3)
  .build();

When we define the above defaults, our intention was to rotate the buffer every minute, as explained in the comments:
    /**
     * Export the percentile values only by default. We specify all properties so that we get consistent values
     * even if Micrometer changes its defaults. Most notably, we changed {@code percentilePrecision},
     * {@code expiry} and {@code bufferLength} due to the following reasons:
     *

     *
The default {@code percentilePrecision} of 1 is way too inaccurate.

     *
Histogram buckets should be rotated every minute rather than every some-arbitrary-seconds
     *       because that fits better to human's mental model of time. Micrometer's 2 minutes / 3 buffers
     *       (i.e. rotate every 40 seconds) does not make much sense.

     *

     */

However, according to TimeWindowMax.rotate(): https://github.com/micrometer-metrics/micrometer/blob/v1.7.1/micrometer-core/src/main/java/io/micrometer/core/instrument/distribution/TimeWindowMax.java#L118-L145
it seems to me that the buffers are rotated every 3 minutes.
Action item: Double check if the buffers are rotated every minute with the current defaults. Change the defaults if we were mistaken.

Was I involved? I always thought this logic to be weird :D

By the way: I think the current trend is to define a MeterFilter to configure most of these properties, not to set them directly on DistributionConfig.
https://micrometer.io/docs/concepts#_configuring_distribution_statistics

ref: https://github.com/line/armeria/pull/1226 (let me revisit here next monday)


Thumbnail threading issues?

Earlier today I saw a Thumbnail created w/o a Delete button, and now I've had trouble clicking the Pencil icon to edit labels. What's going on?

Unable to reproduce, putting issue into 'monitor'

Solved...it was actually "working as designed" when appending to ongoing row-ordered CSV. Tweaked UI to make this behavior a little more discoverable.


laravel backup raising 404 to return a view

Bug report
What I did:
In short what is happening is, when I try to access a route, Laravel shows a 404 error, with a short description "Page not Found, No query results for model [App\Models\Product] teste ".
Inside of my model I have the method "teste" which invokes a route.
    public function teste($crud = false)
    {
        return ' Add Item';
    }

Inside of custom.php I have tried already:
CRUD::resource('product/teste', 'ProductCrudController@teste');
Route::get('product/teste', 'ProductCrudController@teste');

Inside of my Controller I have my method named teste
public function teste(){
    return view('vendor/backpack/crud/teste');
}

And finally inside of this path I have my view "which is pretty simple" and only returns a simple hello.
What I expected to happen:
I need to build a form which allows the user to add "a component" for the product once that the product is always customized. This means, a combination of components makes up a new product. What I need is: Add a new button in the product line which when clicked gonna redirect the user to add all components which makes up this product. Same idea of an order which contain items.
What happened:
404 - Page not found. No query results for model [App\Models\Product] teste
What I've already tried to fix it:
I have tried different ways to invoke the route, even trying to use a route which works "for example a working view used to display details regarding the line" still have the same error.
Backpack, Laravel, PHP, DB version:
PHP= 7.0.10
Laravel = 5.6
MySql = 5.7.14
Backpack = 3.4

Hi @pythondevman ,
My 2 cents on this: your resource route should NOT include the controller method. Just the controller. So I assume it should be CRUD::resource('product', 'ProductCrudController');; your second route (teste) should then work. Take a look here for a full example of a CRUD.
What you're trying to achieve is definitely possible with Backpack (and easy) - you must have misconfigured something. My guess is the above.
Cheers!

I think there is a hacky way to do this. But this will not show the default error page of Laravel. But we can hide the description of the Error and I think this looks cooler than the default one.
Open this file resources/views/errors/layout.blade.php
@if ($staff_designation == 'admin')  // <- add this line

        @yield('description')

@endif   // <- add this line

To check whether the user is Admin is not, I have used a custom service provider.
app/Providers/MyServiceProvider.php
    public function boot()
    {
        view()->composer('*', function($view) {
            $staff_designation = '';
            if (Auth::check()) {
                // write your admin logic here
                $id = auth()->user()->id;
                $staff_designation = auth()->user()->staff_designation;
            }
            return $view->with('staff_designation', $staff_designation);
        });
    }

Remember to edit the Admin Logic

And add the service provider in config/app.php
    'providers' => [
         // .....
        App\Providers\MyServiceProvider::class,
   ];

In this way, Error Description is viewed only to those who are admin. And all other users just get a 404 page without a Description.


iOS cookies: Regardless of 'sharedCookiesEnabled' value, NS/WK cookies (unreliably) synced

Bug description:
Syncing of cookies on iOS between 'React Native side' (NSHTTPCookieStorage) and WKWebView seems not to follow the documented sharedCookiesEnabled behavior on a real device. I'm observing some type of delayed 'auto-sync' between the two sides and sharedCookiesEnabled prop value doesn't really have any effect. I'm seeing the 'auto-updating' happening only on a real device, not on simulator, and there seems to be some unpredictability in the behavior.
I initially observed the behavior with an app having cookies set both by Fetch requests responses and by a website inside react-native-webview WKWebKit. To make a self-contained demo, I put together a simple demo using just react-native-cookies and local react-native-webview. When you set a cookie either for 'React Native side' (NSHTTPCookieStorage) or WKWebView side, the other side often (but not always) updates with delay. Whether sharedCookiesEnabled is true or false doesn't seem to have an effect on this.
Screenshots/Videos:

Screen recordings

Setting NS cookie with 'sharedCookiesEnabled' being either undefined or true: WK sometimes updating with a delay:

Setting WK cookie: The same happening with NS cookie

To Reproduce:
Repository: https://github.com/sampok/cookiesync

See App.js in the project:

import React, {useState, useCallback} from 'react';
import {StyleSheet, View, Text, Button} from 'react-native';
import WebView from 'react-native-webview';
import CookieManager from '@react-native-community/cookies';

const url = 'https://test.com';
const name = 'test';

const App = () => {
  const [nsCookieValues, setNsCookieValues] = useState([]);
  const [wkCookieValues, setWkCookieValues] = useState([]);

  const clearCookie = useCallback(async (useWebKit) => {
    setNsCookieValues([]);
    setWkCookieValues([]);
    CookieManager.clearByName(url, name, useWebKit);
  }, []);

  const setCookie = useCallback(async (useWebKit) => {
    CookieManager.set(
      url,
      {name, value: 'set', expires: '2030-01-01T12:00:00.00Z'},
      useWebKit,
    );
    let i = 0;
    while (i++ < 30) {
      CookieManager.get(url).then((cookies) =>
        setNsCookieValues((prev) => [...prev, cookies[name]?.value]),
      );
      CookieManager.get(url, true).then((cookies) =>
        setWkCookieValues((prev) => [...prev, cookies[name]?.value]),
      );
      await new Promise((resolve) => setTimeout(resolve, 300));
    }
  }, []);

  return (
    <View>
      <View style={styles.container}>
        <WebView
          originWhitelist={['*']}
          source={{html: '
Page
'}}
          // sharedCookiesEnabled={true} // 'syncs' cookies with or without this
        />
      </View>

      <View style={styles.horizontal}>
        <View style={styles.half}>
          <Button title="Clear NS Cookie" onPress={() => clearCookie(false)} />
        </View>
        <View style={styles.half}>
          <Button title="Clear WK Cookie" onPress={() => clearCookie(true)} />
        </View>
      </View>

      <View style={styles.horizontal}>
        <View style={styles.half}>
          <Button title="Set NS Cookie" onPress={() => setCookie(false)} />
        </View>
        <View style={styles.half}>
          <Button title="Set WK Cookie" onPress={() => setCookie(true)} />
        </View>
      </View>

      <View style={styles.horizontal}>
        <View style={styles.half}>
          {nsCookieValues.map((value, i) => (
            <Text key={i}>{value ?? '-'}</Text>
          ))}
        </View>

        <View style={styles.half}>
          {wkCookieValues.map((value, i) => (
            <Text key={i}>{value ?? '-'}</Text>
          ))}
        </View>
      </View>
    </View>
  );
};

const styles = StyleSheet.create({
  container: {height: 200, backgroundColor: '#eeeeee'},
  horizontal: {flexDirection: 'row'},
  half: {width: '50%', alignItems: 'center'},
});

export default App;

Expected behavior:
Cookie behavior should be reliable, and it should be possible to configure the cookie to be shared (or not shared) using the sharedCookiesEnabled prop.
Environment:

iOS SDKs 14.2 and 13.7 tested, on iOS 14.2 and 13.7 iPhones
react-native version: 0.63.4
react-native-webview version: 11.0.2
react-native-cookies version: 5.0.1

@sampok Have you learned anything more about this issue?

Not really. I remember trying to read react-native-webview and React Native source code to find out where the 'syncing' takes place, but couldn't figure it out. I ended up not needing a reliable cookie sync for now, so I moved on. But it'd be great to find out what's going on here.

Seeing this as well.  We use an RN/Expo login form with background fetch calls that return session cookies.  Works great, but webview won't have the cookies for some some small (but indeterminate :( ) amount of time.  Would love to for a sync or at least know when the sync has been made :)

Any news on this? Ios cookies are still not synced.

It seems that cookies are synced but only after a delay of around 30 seconds. This is undocumented and unexpected. Anybody found a way to reduce the delay or a method to flush/sync cookies on demand?

@Titozzz  (or an other maintener) can this issue be reopened  ,  IMHO is of good quality (with a reproducer etc. ) and the problem is still existing , so it's better to have this issue as reference rather than more recent . lower quality ones ?

Also is there a way to sponsor/bug bounty this so that it get more eyeballs ?

I've reopened the issue, keep in mind that I don't have time to deal with most of the issues, however this has a pull request maybe addressing it and I always end up reviewing/ merging PRs. I'm in the middle of fabric migration right now so my focus is a bit shifted toward that.
Regarding how you can sponsor/bounty, I've got github sponsors set up, can't promise it will change much the time I can allocate to work on this but support is always appreciated 👍.

@Titozzz it would be awesome if you merge to master a simple working version of the new arch working with Fabric.
I saw plenty of people getting errors as 'Unimplemented component' (as of myself)...

This is an ongoing issue at least for me.

Still an issue


removeOpenClass() is not defined in partials/network/graph.html

Under partials/network/graph.html as well as partials/network/graph_modal.html, the function removeOpenClass() is not defined, thus clicking on nodes in the graph does not do anything.

Hi @Andersang thanks for reporting this bug.
I think we can safely remove this function here.

Closing as we moved away from this jquery library.


fix: add compat flag to zen25

zen25 has a similar issue as described in https://github.com/zwave-js/node-zwave-js/pull/2126. Applied compatibility flag and tested. Feedback from zwave device now works properly.

This is no longer necessary after #2160 and in fact we're removing it from the zen16/zen17. We no longer map the reports this was designed to undo.

I don’t have that ability, but I can wait until the docker container with the updated zwave-js version comes out and report back.


Refactor of Build Process

Progress towards #345 as we need to unify the render functions between the server and build process. ATM they are two completely parallel processes.
Whilst this PR doesn't actually solve that problem, it sets the render functions up nicely to be called from the server.
I've also commented some extra areas which need some attention.
The jest tests for build all pass, and I tried with multiple languages. One thing that did fail was setting English disabled and enabling another language. That may be an existing issue however.

Can reproduce build error locally now, fixing it up.

Woo! Tests are all working.

I found a way to avoid having logic related to which document to link to in the HTML render function. It seems robust enough, but ultimately makes that area of the code far simpler. I think that's it for today though.

@neilsutcliffe Hi Neil! I think it is time we start looking at bringing some of this refactor in soon. If you are still interested, can you do a clean rebase - there shouldn't be 59 changed files as it shows now. It is showing identical changes that have been merged already. I am thinking the number of changed files should be on the order of 10 or so -- basically only the ones you changed/deleted/added.

The styles bit will also conflict with #422, however that PR doesn't merge the style file for the generate.js file as well.

Feel free to use whatever you like from this, but I'm out. I have my own projects I've been putting off.
The main concerns I have are that English is considered the default language. i18n is the main distinction between this product and something like Jekyll, and good open source projects may come from anywhere across the globe.
If there the English translation is default, how would you get an English translation project that has Japanese as the "en" language.
Anyway, good luck.

@neilsutcliffe will do. My plan was to use at least some of this as part of an overall v2.0 launch and a blog post.
I hope you weren’t putting off projects because of this particular PR. If so, my apologies. I appreciate the contributions you have provided to Docusaurus.
Good luck on your projects!
Sent with GitHawk


Graph model predicting accuracy

I found that graph model doesn't support the output of test_accuracy or train_accuracy like the sequential model. I was wondering if this feature could be added into the graph model that we can see the predicted accuracy for some specific output given any input.

Accuracy monitoring was added the the Sequential model as a convenience feature (accuracy is not part of the training), but the multi-output nature of the Graph model would make the same feature quite complicated, both technically and in terms of user-facing interface.
So for now, I would recommend you do it by yourself: use the graph.predict(data) method to generate predictions after each epoch (train epoch by epoch or batch by batch) then compute accuracy over these predictions.

Thank you! Yes, I did this by myself. But monitoring accuracy during each epoch is quiet useful when one epoch needs to take a long time.
Thanks for your reply! ;)

@violet-zct, do you have some code to share? Guess it would be pretty useful for the world to see code examples :)


How To Store Messages data?

I have a question about it is possible to store messages data into MongoDb or MySQl?

all the messages are already stored in Database at server side
if you want to copy each message in your own Database,  you can call you API and store a message to your DB along with sending messages via ConnectyCube API, there are no any restrictions here


Workflows cannot be updated via ci-mgmt

Since the move to having the upstream in a git submodule:
github.com/hashicorp/terraform-provider-aws/internal/provider:
<EMAIL_ADDRESS>(replaced by ../upstream):
  reading ../upstream/go.mod: open /home/runner/work/ci-mgmt/ci-mgmt/pulumi-aws/upstream/go.mod: no such file or directory

For many dependencies. Sample run.
This is a release blocker because there's an unrelated Java issue that was fixed in ci-mgmt, pulumi/ci-mgmt#352, that's blocking releases but we cannot update this repository from ci-mgmt due to this issue.
As an alternative, we could apply the fix from ci-mgmt manually.

We've decided to opt pulumi-aws out of ci-mgmt updates for the time being, so this issue is no longer needed.


[FLOC 3600] Add "Communicating with the API" section to API doc

Fixes 3600
@itamarst identified some key information missing from our API documentation. This PR adds it, in the same format as was originally documented in the issue (I thought this was the simplest way to present this information)
When reviewing please let me know if this could be expanded to help users understand this addition.
I also fixed the following header, which did not use title case.

Thanks @davidoliverSP2
The new bullet points are really useful.
I have some further suggestions:

I think all the REST API docs should be on one page. So move all the REST API information that currently exists at the top of  http://clusterhq-staging-docs.s3-website-us-east-1.amazonaws.com/reference-APIinfo-FLOC-3600/reference/index.html#flocker-rest-api into http://clusterhq-staging-docs.s3-website-us-east-1.amazonaws.com/reference-APIinfo-FLOC-3600/reference/api.html
I think the new "communicating-with-the-api" section should include some examples of using curl to access the API.  Personally I think all the content from http://clusterhq-staging-docs.s3-website-us-east-1.amazonaws.com/reference-APIinfo-FLOC-3600/kubernetes-integration/generate-api-certificates.html?highlight=curl#using-an-api-certificate-to-authenticate should be moved here.
I've said it before, but I'd like "REST API" to be a top level menu item.

Answer or address or create followup issues for the points above and then merge.

Thanks @wallrj
I agree with you with the API docs being all one page, and a top level menu item. I've created https://clusterhq.atlassian.net/browse/FLOC-4179


No Recipe for Silicon Bee

Working through all of the Magic bees in MC Revelation Modpack 2.0. There is no recipe for  the silicon bee. Nor can I find any information on this bee in any of t he forums.

Can confirm in a custom modpack made by a friend- None of Silicon, Certus, nor Fluix Bee have a breeding recipe- nor a produce excepting the default Honey Comb. Looking at the code, it appears all 3 are listed as having a produce of their namesake OreResource, yet JEI Bees says nothing. As for their breeding... I suspect it may have to do with this:
public void registerMutations() {
registerMutation(AE_SKYSTONE.isActive() ? AE_SKYSTONE : EARTHY, IRON, 17);
}
Excerpt from mutation for Silicon bee. Note how it doesn't match the format of calling the bee species seen on Skystone Bees, which ARE working:
public void registerMutations() {
registerMutation(EARTHY, WINDY, 20).requireResource(BeeIntegrationInterface.aeSkyStone);
}
I suspect it's that .isActive() ? stuff that's blocking these three bees from being bred, as their formatting is the same as the first example

I have the same issue.

Does anyone know if Magic bees are maintend ? Or if i am just inpattien ?

Does any have a CraftTweaker script for this issue?

i dont think this can be fixed with CraftTweaker scrip. Unless i missed part where you can change the output  of the bees products.

Indeed, I was not able to find a solution by script.

hmmm... a year and a half with not even a beep. was really hoping to use these three for my AE2 build. :( the More Bees mod produces certus powder, but that doesn't help make more fluix, since you can't grow fluix from pure certus.


mod_ssl package won't install for apache 2.4 on Amazon Linux 2014.09

Hi,
It appears that there is a conflict when you try to use apache::mod_ssl recipe with apache 2.4 on Amazon Linux 2014.09. Here is the error:

Error executing action install on resource 'package[mod_ssl]'

Chef::Exceptions::Exec
returned 1, expected 0

Resource Declaration:
In /var/lib/aws/opsworks/cache.stage2/cookbooks/apache2/recipes/mod_ssl.rb

26:   package 'mod_ssl' do
27:     notifies :run, 'execute[generate-module-list]', :immediately
28:   end
29:

Compiled Resource:
Declared in /var/lib/aws/opsworks/cache.stage2/cookbooks/apache2/recipes/mod_ssl.rb:26:in 'from_file'

package("mod_ssl") do
action :install
retries 0
retry_delay 2
package_name "mod_ssl"
version "2.2.29-1.4.amzn1"
cookbook_name "apache2"
recipe_name "mod_ssl"
end

Looks like for Apache 2.4 it requires mod24_ssl package for Amazon Linux.
Possibly it can be fixed by specifying package name in the attributes:
default['apache']['mod_ssl']['package'] = mod24_ssl
package "#{node['apache']['mod_ssl']['package']}" do
notifies :run, 'execute[generate-module-list]', :immediately
end
Thanks a lot

@zstate thanks for opening this issue. We do not currently have support for Amazon Linux, but we are trying to work towards this. If you would like to help us work on it, we would love to look at a pull request that implements different package names for different platforms.

I'll send a pull request today or tomorrow, I've already hacked this into a local copy. We need a new attribute for package prefix.

@jorhett, @zstate I've put some stuff into master that should resolve this. Please let me know if you have a chance to look at it and see if it fixed your problem.

This is working for me on several systems. I'm calling it good!


Support cron formats

In addition to the every key (which is a string or ms value), we should support a new cron value on the JobDefinition that can be any cron value. We'll parse it and schedule based on it.
This should help support a wider variety of scheduled jobbing outside of just scheduled intervals.

Closed by #5

Closed by #5


Would be great to have a dedicated keyword for a new task

Thanks for the workflow.
Would be great if it included a keyword for a quick adding a new todo.
EG: "newtodo Pick up laundry"
This would be a little more efficient and faster as one string () than the current method ()
I know that Things itself has its own shortcut but I do nearly everything with Alfred so I don't remember any shortcuts for anything else.
Thanks

stripped content

This would be a little more efficient and faster as one string () than the current method ()

Stripped content was:
This would be a little more efficient and faster as one string (keyword)(space)(todo) than the current method (keyword)(cmd)(enter)(todo)

This would be a little more efficient and faster as one string (keyword)(space)(todo) than the current method (keyword)(cmd)(enter)(todo)

Unlike the current implementation, your suggestion doesn't enable the user to select a list for the to-do.

I think that's what Inbox is for. For as yet unlisted tasks.

So do you suggest to create a keyword for creating to-dos in Inbox?

@Spark3000 I'm closing the issue until you want resume the discussion.


Wormhole: EZ metrics + Txns

Added Wormhole EZ Metrics table and daily txns count.
Latest successful test run:

Going to leave the ones that use BRIDGE_MD as they are - think they were set up to use a Medium for a reason, don't want to mess with that haha.


Kart Update.

Small QOL update for when you're riding your kart:
You can hold Z to reverse without holding A (forward).
You do a small bounce when landing on the ground.


Adding Uno support

This PR provides the basics of getting the Monaco editor to work for both UWP and WASM. There's still a bit of clean up work to be done:

Remove/Combine the original UWP project so that the solution only has a single UWP project
Tweak the nuget package creation so that the monaco files are appropriately included as content
Optimise the way data is passed between JS and C# - currently it uses a very crude replacement mechanism to eliminate problematic characters.

Before this PR is merged, it would be good to rebase the master/main branch from the primary repo (ie hawkerm/monaco-editor-uwp

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 5 committers have signed the CLA.:white_check_mark: nickrandolph:x: hansmbakker:x: hawkerm:x: Swiftpaws:x: hez2010You have signed the CLA already but the status is still pending? Let us recheck it.

@carldebilly / @jeromelaban I've fixed up the nuget package creation (at least for WASM. the UWP package still needs testing). If you get a chance, can you take a look at how I'm doing both the async call back (JS to C#), as well as the rather hacky way I'm having to encode data in order for it to be correctly passed between JS and C#


release_build error

make -C docker release_build
Building docker image: tensorrt_llm/release:latest
DOCKER_BUILDKIT=1 docker build --pull
--progress auto
--build-arg BASE_IMAGE=nvcr.io/nvidia/pytorch
--build-arg BASE_TAG=23.08-py3
--build-arg BUILD_WHEEL_ARGS="--clean --trt_root /usr/local/tensorrt"
--build-arg TORCH_INSTALL_TYPE="skip"
--target release
--file Dockerfile.multi
--tag tensorrt_llm/release:latest
..
[+] Building 208.8s (7/30)
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 35B                                                                                0.0s
=> [internal] load build definition from Dockerfile.multi                                                                                0.0s
=> => transferring dockerfile: 1.78kB                                                                                0.0s
=> [internal] load metadata for nvcr.io/nvidia/pytorch:23.08-py3                                                                                2.1s
=> [internal] load build context                                                                                203.3s
=> => transferring context: 279.27MB                                                                                203.2s
=> [base 1/1] FROM nvcr.io/nvidia/pytorch:23.08-py3@sha256:12a39f22d6e3a3cfcb285a238b6219475181672ff41a557a75bdeeef6d630740                                                                                0.0s
=> CACHED [devel 1/10] COPY docker/common/install_base.sh install_base.sh                                                                                0.0s
=> ERROR [devel 2/10] RUN bash ./install_base.sh && rm install_base.sh                                                                                3.3s

[devel 2/10] RUN bash ./install_base.sh && rm install_base.sh:
#7 0.458 ++ grep -oP '(?<=^ID=).+' /etc/os-release
#7 0.458 ++ tr -d '"'
#7 0.462 + ID=ubuntu
#7 0.462 + case "$ID" in
#7 0.462 + init_ubuntu
#7 0.462 + apt-get update
#7 1.259 Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
#7 1.430 Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
#7 2.294 Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
#7 2.294   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
#7 2.620 Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease
#7 2.620   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
#7 2.702 Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
#7 2.941 Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
#7 2.941   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
#7 3.037 Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
#7 3.265 Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
#7 3.265   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
#7 3.267 Reading package lists...
#7 3.279 W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
#7 3.279 W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
#7 3.279 W: GPG error: http://security.ubuntu.com/ubuntu jammy-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
#7 3.279 E: The repository 'http://security.ubuntu.com/ubuntu jammy-security InRelease' is not signed.
#7 3.279 W: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
#7 3.279 W: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
#7 3.279 W: GPG error: http://archive.ubuntu.com/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
#7 3.279 E: The repository 'http://archive.ubuntu.com/ubuntu jammy InRelease' is not signed.
#7 3.279 W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
#7 3.279 W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
#7 3.279 W: GPG error: http://archive.ubuntu.com/ubuntu jammy-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
#7 3.279 E: The repository 'http://archive.ubuntu.com/ubuntu jammy-updates InRelease' is not signed.
#7 3.279 W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
#7 3.279 W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
#7 3.279 W: GPG error: http://archive.ubuntu.com/ubuntu jammy-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
#7 3.279 E: The repository 'http://archive.ubuntu.com/ubuntu jammy-backports InRelease' is not signed.
#7 3.279 E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/.deb /var/cache/apt/archives/partial/.deb /var/cache/apt/*.bin || true'
#7 3.279 E: Sub-process returned an error code

executor failed running [/bin/bash -c bash ./install_base.sh && rm install_base.sh]: exit code: 100
make: *** [release_build] Error 1

Please refer to https://github.com/NVIDIA/TensorRT-LLM/issues/82 , thanks!

fix it by upgrade Docker version refer:https://stackoverflow.com/questions/71941032/why-i-cannot-run-apt-update-inside-a-fresh-ubuntu22-04


frontend: add node shell

Follow up PR:

Windows Support
Improved Error handling

fixes #996

@joaquimrocha What do you think of this?

I'm vacation at moment. I will come back in one half week.

I went through and closed convos that were done.  It should be a bit easier to read the PR now.

@illume  I have rebased my changes and now they pass.

I thought about moving it to plugins. As a Plugin it would be possible to ship only if wanted and develop further. Any thoughts?

@joaquimrocha Moved to plugins: https://github.com/headlamp-k8s/plugins/pull/133


Documentation for how to report dropdown positioning issues

I would like to submit a PR to document how to report dropdown positioning issues, based on @kevin-brown 's comment here: https://github.com/select2/select2/issues/3970#issuecomment-160496724
Which explains why the dropdown is lining up fine there. This will allow me to confirm that the issue is actually with the offset caused by margins on the body (or the dropdown parent).

Ok, I will add this to the documentation on https://select2.org/dropdown.


Hotfix: Revert auto-add/auto-delete on 0.47 hubs

This change puts an API Version guard around the call that performs the auto-add/auto-delete scan at startup, which is causing a crash on 0.47 TV's due to an issue with looking up non-existent UUID's.
We believe the root of the issue is that the non-existent UUID lookup is related to trying to look up the Hub UUID as the parent of the bridge. But because this is a pretty gnarly issue we're going to roll back completely while we're confirming our suspicion.

@dljsjr what about https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/blob/4ddaa3a4d65ba87b68691e3d368c7640afef90b8/drivers/SmartThings/philips-hue/src/disco.lua#L137, do we not have concerns with that usage?  I'm still trying to get my bearings on much of this

@dljsjr what about
https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/blob/4ddaa3a4d65ba87b68691e3d368c7640afef90b8/drivers/SmartThings/philips-hue/src/disco.lua#L137
, do we not have concerns with that usage? I'm still trying to get my bearings on much of this
edit: e.g. is an alternative version-gating this particular block?
https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/blob/4ddaa3a4d65ba87b68691e3d368c7640afef90b8/drivers/SmartThings/philips-hue/src/disco.lua#L254-L266
Even if 'no', looking to understand

That is an alternative, yes. Or rather I would qualify it as additional defensive coding. The call you linked:
    HueDiscovery.search_bridge_for_supported_devices(driver, bridge_id, HueDiscovery.disco_api_instances[bridge_id],
      function(hue_driver, svc_info, device_info)
        discovered_device_callback(hue_driver, bridge_id, svc_info, device_info, known_identifier_to_device_map)
      end,
      "[Discovery: " ..
      (known_bridge_device.label or bridge_id or known_bridge_device.id or "unknown bridge") .. " bridge scan]"
    )

Does not pass an argument in the do_delete position, and never will. But it doesn't mean we can't be extra defensive.
In the current version of the PR, the call we're gating is the only call where that results in a truthy value in the do_delete position

Does not pass an argument in the do_delete position, and never will. But it doesn't mean we can't be extra defensive.

In the current version of the PR, the call we're gating is the only call where that results in a truthy value in the do_delete position

Yeah I see it now, thanks.  I would keep things as you have them.


Add FAQ for "Can managed and unmanaged disks can change name?"

If this was in faq, it helps.
Thanks,

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

ID: 263abdef-3478-8261-6c4c-5d608698ba4e
Version Independent ID: 61ef3094-fda7-d7b9-e19c-4e8f6a5b2f2d
Content: Frequently asked questions (FAQ) about Azure IaaS Windows VM disks
Content Source: articles/virtual-machines/windows/faq-for-disks.md
Service: virtual-machines-windows
GitHub Login: @roygara
Microsoft Alias: rogarana

Thanks for the feedback. We are currently investigating and will update you shortly.

Hello @KeiroKamioka0000 , I'll add this question to the FAQ. Thanks for bringing this to our attention!

This change has been merged and will be live later today. Accordingly:
#please-close


throw actionable exception for gradle init under root directory

Signed-off-by: Dongxu Wang<EMAIL_ADDRESS>
Fixes #22620
Context

Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[x] Provide unit tests (under <subproject>/src/test) to verify logic
[x] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass sanity check: ./gradlew sanityCheck
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation

Closing as we went with a different solution in another PR

See #23624


QOL Configuration Options

Some options would be nice. Integrated in the in game "Mod options" or in a config file.

Minimum players alive to start arena.
Maximum fighting time before announcing a draw.
Maximum stage where arenas stop happening

(It's fun early game, gets kinda instakilly later game)

Disabling of specific items via a list separated by commas.

Default should include any one time use items and Symbiotic Scorpion.

Very good points, thanks for raising these!


Migration issue SQLSTATE[HY000]

Describe the bug
Hi ! When I trying to migrate activity log table but it returning error "SQLSTATE[HY000]: General error: -101".
To Reproduce
composer require spatie/laravel-activitylog
php artisan config:clear
php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="migrations"
php artisan migrate

Expected behavior
running the migrations
Versions (please complete the following information)

PHP: PHP 7.4.16
Database: DB2 / AS400
Laravel: Laravel Framework 8.28.1
Package: cooperl/laravel-db2 : 8.0, spatie/laravel-activitylog

Exception
Illuminate\Database\QueryException
Stack Trace
Migrating: 2015_04_16_073458_create_activity_log_table
Illuminate\Database\QueryException
SQLSTATE[HY000]: General error: -101 [IBM][Pilote ODBC System i Access][DB2 for i5/OS]SQL0101 - L'instruction SQL est trop longue ou trop complexe. (SQLExecute[4294967195] at /build/php7.4-kRpGR0/php7.4-7.4.16/ext/pdo_odbc/odbc_stmt.c:259) (SQL: create table activity_log (id bigint not null generated by default as identity constraint activity_log_id_primary primary key, log_name varchar(255), description varchar(16369) not null, subject_type varchar(255), subject_id bigint, causer_type varchar(255), causer_id bigint, properties varchar(16369), created_at timestamp, updated_at timestamp))
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:678
674▕         // If an exception occurs when attempting to run a query, we'll format the error
675▕         // message to include the bindings with SQL, which will make this exception a
676▕         // lot more helpful to the developer instead of just the database's errors.
677▕         catch (Exception $e) {
➜ 678▕             throw new QueryException(
679▕                 $query, $this->prepareBindings($bindings), $e
680▕             );
681▕         }
682▕
  +8 vendor frames

9   database/migrations/2015_04_16_073458_create_activity_log_table.php:23
Illuminate\Database\Schema\Builder::create()
  +21 vendor frames

31  artisan:37
Illuminate\Foundation\Console\Kernel::handle()

I think i found where is the issue for IBMi/AS400

VARCHAR(n) Varying-length character strings with a maximum length of n bytes. n must be greater than 0 and less than a number that depends on the page size of the table space. The maximum length is 32704.

Can anyone tell me the exact value required for the "properties" and "description" attributes?

I assume it's a problem in the DB2 driver by @cooperl22
The default migration uses text and json column definitions which are translated to the varchar(16369) by the database driver/grammar.
I can't tell you an exact length as this totally depends on your app. The properties column contains the JSON object of the logged changes and the description the text you use as the description for the activity.
As the DB2 driver isn't officially supported by Laravel nor this package I will close this issue as it's in no way something we can/will fix.


Add single text file for text embeddings

Hi there!
Previously, the code required individual text files for each text embedding, which could be quite cumbersome to manage. In my update, I've changed the code to use just one file with all texts inside, which will make it much faster since the program only needs to open one file instead of multiple files.
I believe this change will make the code more efficient, and I hope you find it helpful. Thank you for considering my contribution!
Best regards,
Lucas

Hello,
Thanks but I'd rather keep things simple
clip-retrieval supports 2 datasets format

raw files
tar files containing files

if you prefer to have fewer files, I advise you use tar files


Need to harmonise FB feature URIs between ontology and individuals [sf#59]

@dosumis
Reported by djs93 on 2015-06-03 13:06 UTC
For FlyBase feature, FBbt currently uses URIs like this:
http://purl.obolibrary.org/obo/FlyBase_FBgn0010433
Whereas the VFB owl individuals files use a resolvable URI from FLyBase:
http://flybase.org/reports/FBti0143532
These need to be harmonised.  It would be nice to use the resolvable FlyBase URI in all cases, but it is hard to see how this can work with OBO and the assumptions built into oort, used for release.
Changing the URIs used for individuals is likely to have additional problems for the VFB site, which uses them for rolling links to FlyBase.
One possible solution is to switch to using an import type system, storing the master for FlyBase features in OWL.  This could follow the pattern used for the GO editor's file.

Would be good to get this fixed, as it affects entity reconciliation in VFB neo4J.
@cmungall: (How) can we get around oort's baked in assumption of obolibrary purl base URI for entities referenced in OBO file master?

I have been generally replacing oort with individual robot/owltools
calls (and larger makefiles). Not progressed as far as I'd hoped, and
the mapping between operations is not always obvious
On 16 Feb 2016, at 3:23, David Osumi-Sutherland wrote:

Would be good to get this fixed, as it affects entity reconciliation
in VFB neo4J.
@cmungall: (How) can we get around oort's baked in assumption of
obolibrary purl base URI for entities referenced in OBO file master?

Reply to this email directly or view it on GitHub:
https://github.com/FlyBase/drosophila-anatomy-developmental-ontology/issues/59#issuecomment-184638638

Simplest solution is probably to move offending axioms to vfb_ext.owl, where they can be specified with the correct URIs.  This can be done most easily in Protege 5, loading both fbbt-ext.owl and  fbbt-edit.obo as imports.  Axioms can be moved using right-click and choosing 'Move axiom(s) to ontology' option.

What URIs have you decided on for genes?
we currently have a difference between monarch and go
https://github.com/prefixcommons/biocontext/blob/master/registry/go_context.jsonld#L116
identifiers.org
https://github.com/prefixcommons/biocontext/blob/master/registry/monarch_context.jsonld#L50
flybase.org/repports
Is the default OBO assumption still an issue for you? Me too. Perhaps this needs to be fixed at the level of the OWLAPI OBO Parser to make it respect the idspace tags

We're following Monarch IRI patterns for VFB and this needs to align.
This issue came up again because I'm working on switching FlyBase ontologies over to the ontology starter kit.   I'll need some separate scripting in order to cope with importing classes for FlyBase genes.  I could use some Python code from VFB that directly queries public CHADO.  I already have that in place for other purposes and need to hook up to dipper anyway.

Is the default OBO assumption still an issue for you?

Somewhat. To maintain non OBO-style IDs we need to use full iris for reference in OBO (which is still master format for FBbt). e.g.
intersection_of: expresses http://flybase.org/reports/FBgn0004652
I think we can put up with the full IRI in OBO stanzas in these cases.

Perhaps this needs to be fixed at the level of the OWLAPI OBO Parser to make it respect the idspace tags

Perhaps treating all OBO IDs as curies with OBO default but making it easy to declare an override. Is there a translation for RDF prefix to OBO?  With that we could have an OBO representation of FlyBase:FBgn0004652 with a prefix declaration that expands it.

https://github.com/owlcs/owlapi/issues/753


⚠ Bofrost.be has degraded performance

In 0ec1b08, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1624 ms

Resolved: Bofrost.be performance has improved in e5882dd after 9 minutes.


Converting evora.py return statements to natural types

Right now, most of evora.py's functions return a string that contains the data from andor. We want to convert the format of this data into a dictionary to simplify formatting issues.
Things to consider:

naming conventions of keys
data is in natural type (float is float, etc.)
would changing the format have side effects/introduce bugs within other .py files?
do we want everything to be a dictionary?

def __init__(self):
def getStatus(self):
def startup(self):
def getTEC(self):
def setTEC(self, setPoint=None):
def warmup(self):
def getTemp(self):
def getTempRange(self):
def shutdown(self):
def getTimings(self):
def verticalSpeedStats(self, index):
def horizontalSpeedStats(self, channel, type, index):
def abort(self):
def getHeader(self, attributes):
def getHeader_2(self, attributes, tcc):
def heimdallChooseLogFile(self, logFileList, obsTime):
def heimdallParseLogFile(self, logFile, obsTime):
def ChooseLogfile(self, LogfileList, ObsTime):
def ParseLogfile(self, LogfileName, ObsTime):
def expose(self,
def realTimeExposure(self, protocol, imType, itime, binning=1):
def kseriesExposure(self,


Motive -> Motif

I realise @Mojang calls them "Motives" but that's incorrect. The feature on a painting is a motif, correcting that is my motive for creating this PR.

Honestly I've never seen motif before so I'd get cofused when seeing this. Also I like prospectors proposal better.

This doesn't make sense. Both motif and motive are correct spellings for the same term. Matching the in-game ID is more important than matching the usual spelling.
It's confusing to have to remember that for commands, you need to use "motive" while for code you need to use "motif".

Yeah, I agree changing to motif makes no sense, though I do think adding a painting prefix to it could be a good thing. Unless we think the same motives could be expanded to other things?

This can be closed now since #1100 got merged.


Seems Like Nested Routes Are Not Working

Environment
See information in Stackblitz example
Reproduction
https://stackblitz.com/edit/nuxt-starter-e96dg7?file=pages%2Ffoo.vue
Describe the bug

with nested routes are not working. It appears that the parent route is being called multiple times causing it to pick up the params that are passed to the child route

Additional context
No response
Logs
No response

Hi @aaronksaunders, thanks for reporting this.

There's 2 things wrong here, the first one is about the useLoader composable and route parameters, and its being fixed in #45
The 2nd one is Nuxt behaviour. pages/foo.vue will always take precedence over pages/foo/[slug].vue, so if you want to match the foo route differently than the foo/a, you need to rename pages/foo.vue into pages/foo/index.vue and it will work as expected.

The 2nd one is Nuxt behaviour. pages/foo.vue will always take precedence over pages/foo/[slug].vue, so if you want to match the foo route differently than the foo/a, you need to rename pages/foo.vue into pages/foo/index.vue and it will work as expected.

this doesn't work or I am not understanding what you are saying... I am losing the nesting when I follow what your suggestion. I have renamed foo.vue and moved it into the foo directory.
Is there an example or documentation somewhere of this working?


Upgrade typescript yarn docker

Upgraded to typescript 2
Using yarn
Added docker-compose
Added initial DB Schema in testData folder
Added DB connection tests
Modified config files process
Change naming of test file to spec.ts

Closing PR since I'm leaving this branch as is


An option to let write-to-zero pass

As noted in this thread: http://www.intfiction.org/forum/viewtopic.php?f=18&t=4890&start=30
Some old Superglus games apparently write to address zero. It would be worth having an option that permits this (as a no-op) even in VERIFY_MEMORY_ACCESS mode.
However, investigate the situation first. If the games only do it for a single opcode, we should limit the exception to that opcode.

Game that demonstrates this problem: http://www.juegosaccesibles.es/pitufos.zip (unpack, run pitufos.blb).

Testing indicates (at least in pitufos.blb) that the only error case is the @glk opcode. Operand 2 is compiled as mode 15, width 4, address 0.
It should suffice to catch that case and change it to mode 0 (discard). But be sure to do it for both blocking (glk_select) and non-blocking. (Observed error on Glk calls glk_select, glk_request_line_event, glk_request_timer_events.)

Seems to work. I'm not turning this on by default, though.


Change help text on a couple of form fields, update README.

This change is

Coverage increased (+0.1%) to 66.75% when pulling eec19207b18d05d949d664e38dddef8ac7acb603 on ropable:master into a3577911afaf51b4c94cce701bada0825fa3cdd3 on parksandwildlife:master.


IRC channel is now #rust-dev-tools

Also specifically mention the IRC network (irc.mozilla.org) that the channel is on.

Thanks!


Retreat: Virtual NMFS Openscapes Mentors retreat

I love the NASA retreat agenda! Immediately strikes me it would be great to do a micro version (3 hrs on one day) of this with NMFS Mentors in early 2025 coming fresh off Champions Cohorts.

Thoughts from NASA Mentors retreat from my attendance Oct 16, 10-12:

use same ice breaker: Your script: “I’m ……. You know me, I’m ……, and for this retreat, I’m making it my job to …..
group photo
High/low/buffalo
Time to share - celebrations

3 Mentors share 1 slide each: one who's been around since "beginning" on impacts they see; one new mentor;

Time to share - frustrations and grievances

loved the way Liz designed this with 3 ppl speaking up then everyone hitting "return" on their chat item

closing as we decided to stick with the in person retreat July ESIP and use 2 Jan 2025 calls for goal-setting


Javanica fallback not found when contained in super class

We are using the Annotated methods on classes where a service extends another service
class WishlistService extends CartService { ... }

And then inside CartService there is a some methods like
 @HystrixCommand(commandProperties = [
            @HystrixProperty(name = "execution.isolation.thread.timeoutInMilliseconds", value = "5000")
    ], threadPoolProperties = [
            @HystrixProperty(name = "coreSize", value = "20"),
            @HystrixProperty(name = "maxQueueSize", value = "150"),
            @HystrixProperty(name = "queueSizeRejectionThreshold", value = "150")
    ], threadPoolKey = 'CartService', fallbackMethod = 'transferItemsFallback')
    CartResponseDTO transferItems(CartKey fromKey, CartKey toKey, List itemIds){
     ...
}

CartResponseDTO transferItemsFallback(CartKey fromKey, CartKey toKey, List items, Throwable e) { ... }

When using the service wishListService in a class the following exception is thrown
com.netflix.hystrix.contrib.javanica.exception.FallbackDefinitionException: fallback method wasn't found: transferItemsFallback([class com.bsb.cart.domain.CartKey, class com.bsb.cart.domain.CartKey, interface java.util.List])
	at com.netflix.hystrix.contrib.javanica.utils.MethodProvider.getFallbackMethod(MethodProvider.java:82) ~[hystrix-javanica-1.5.2.jar:1.5.2]
	at com.netflix.hystrix.contrib.javanica.utils.MethodProvider.getFallbackMethod(MethodProvider.java:55) ~[hystrix-javanica-1.5.2.jar:1.5.2]
	at com.netflix.hystrix.contrib.javanica.aop.aspectj.HystrixCommandAspect$MetaHolderFactory.metaHolderBuilder(HystrixCommandAspect.java:120) ~[hystrix-javanica-1.5.2.jar:1.5.2]
	at com.netflix.hystrix.contrib.javanica.aop.aspectj.HystrixCommandAspect$CommandMetaHolderFactory.create(HystrixCommandAspect.java:208) ~[hystrix-javanica-1.5.2.jar:1.5.2]
	at com.netflix.hystrix.contrib.javanica.aop.aspectj.HystrixCommandAspect$MetaHolderFactory.create(HystrixCommandAspect.java:106) ~[hystrix-javanica-1.5.2.jar:1.5.2]

It would appear that when calling reflection for the class in com.netflix.hystrix.contrib.javinca.utils.MethodProvider line 92
return Optional.of(type.getDeclaredMethod(name, parameterTypes)); it does not resolve the super classes fallback method.
We are using groovy and grails and this may be a factor in the evaluation of the type methods via reflection.  However calling the following DOES resolve the method.
type.getSuperclass().getDeclaredMethod(name, parameterTypes)

@dmgcodevil Any thoughts on this one?

Interesting, will take a look. Ok.
On 18 Apr 2016 7:04 p.m., "Matt Jacobs"<EMAIL_ADDRESS>wrote:

@dmgcodevil https://github.com/dmgcodevil Any thoughts on this one?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Netflix/Hystrix/issues/1177#issuecomment-211622030

We have the exact same scenario and problem as ctoestreich describes in this issue. However, we are not using Groovy or Grails, just plain Java.
I'm going to attempt a workaround for this by declaring the fallback methods as 'abstract' in the super class, thus forcing the subclasses to implement them. This workaround obviously won't work for everyone, so it would be good to make the fallback method search more robust so it can find inherited methods too!

ping @dmgcodevil
any thoughts?

Hi was busy with other activities, on the next weekend I will recall all
existing issues and try fix them at once. Sorry for inconvenience.
On 20 Jun 2016 11:26 p.m., "Matt Jacobs"<EMAIL_ADDRESS>wrote:

ping @dmgcodevil https://github.com/dmgcodevil
any thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Netflix/Hystrix/issues/1177#issuecomment-227331046,
or mute the thread
https://github.com/notifications/unsubscribe/ABWS8SyhP5kQvQpZltDqiQ9ddemEg3fGks5qN1nMgaJpZM4IGg2z
.

My workaround to implement in the subclasses is working for now. It would be great to resolve this though, thank you in advance!

@mattrjacobs can we close ?

Yes, thanks @dmgcodevil !


refactor(legacy adapter): add MIGRATION.md deeplinks

Coverage: 97.872%. Remained the same when pulling 7ed820bfa17ef653871cea38200b6034ac534c6b on legacy-deeplink into ba740e9aea65848da94481495e139bbcb35ec244 on master.


Added option to pass auth ID into __contructor function.

This lets users that are already logged in into web interface, to use auth id from cookies (zbx_sessionid) with the API, instead of logging in again.
e.g.:
$zbx_sessionid=$_COOKIE['zbx_sessionid'];
$api = new ZabbixApi('http://<IP_ADDRESS>/zabbix/api_jsonrpc.php','','','','',$zbx_sessionid);

Hi
Thanks for your contribution.
Great feature, indeed :)
But there's some design flaws. It works pretty well if you're using it without a HTTP basic auth. Though if you're using basic auth and a session ID, it doesn't work, because the basic auth credentials won't be set.
I'll create a new branch for your master, fix & rebase it, and finally merge it back to the my master branch. Thanks a lot for your work and idea!
Cheers
Domi

I've built the new libraries in the branches 2.2 and 2.4.
@riogezz can you test them for me and give me a feedback?

sorry, didn't see your message and did the same correction you already did in bugfix. Discard this pull request, please.
It's working really well.
Thank you for your work.

you're welcome.
thanks for your contribution @riogezz


Refactor homepage

@agaetep I think this looks great for non-mobile users, but I think we may want to improve the experience for mobile users:

The menu basically doesn't work
There's a lot of white space on the margins when using a mobile device.

My only other nit-pick is how the "ftp server rebuild" summary is shown on the index page. Not sure if you can do much, but the bullets look different than what they do on the blog page.

I tried clearing the CSS file before rebuilding so the cache wouldn't affect the changes. I did this because I'm seeing different CSS between my development-hosted site, the staging site above, and the staging site opened in an incognito window. However, clearing the file made no difference.  @ramereth do you have any idea why this might be happening?

@agaetep what specifically are you seeing that isn't correct?

@agaetep what specifically are you seeing that isn't correct?

For the blog summaries, I fixed the bullets but on this staging version they're not there (could be a url issue but I linked it to the website itself). Also, the image still shows up.


RFC: Integrate binding with platform

Overview
A Binding is a concept used to define support in the platform for data in some format. Data is either described using a formal schema or understood through conventions.
Internal to the platform we have the data model to describe the data structurally and instances of it to represent data values. Their external equivalents are the schema (for example a JSON Schema) and the serialized form of the data (for example a JSON document). Models can be generated from schemas and vice versa.
As a part of the development for this RFC, we plan to integrate/refactor bindings into the legend platform so that users can integrate use-cases depending on schemas/data defined in some format
Implementation plan
We plan to tackle the development of binding integration in the following phases.
The ideology behind the implementation plan is to take a depth approach and get simple use-cases working first and then add features to bring feature parity compared to existing support for Flatdata/ Json/ Xsd.
These tasks would be expanded into individual issues containing concrete details.
Phase I: Simple use-cases supported end-to-end with binding

[x] Finalize & document query semantics and the role of bindings within it (https://github.com/finos/legend-engine/blob/master/docs/queries/queries.md )
[x] Uplift Routing phase to work with both binding & store
[x] Add support for ->internalize function to work with static string, URL and byte-stream
[x] Add support for ->externalize function to work with simple use-cases (checked queries are out of scope for this phase)
[x] Consolidate execution plan / nodes for binding flow (includes serialization / deserialization)
[x] Uplift services to work with the binding flow (in absence of mapping/runtime & with byte-stream as a query parameter)
[x] Define testing strategy for services with bindings
[x] Services with binding queries can be executed via jars.
[x] Studio supports binding queries in text mode
[x] Define and document the External Format Contract and the steps needed to add new ExternalFormat support in legend

Phase II: Feature parity compared to existing support for FlatData / Json / Xsd

[x] Support checked result with externalize
[ ] Studio supports binding queries seamlessly (Support should be at par with queries backed by stores)
[ ] Uplift binding / externalize function to account for custom configurations

Phase III: Delete code for legacy FlatData / Json / Xsd

[x] Fix Binding metamodel and detach it from store hierarchy
[x] Remove External Format Connection
[ ] Deprecate legacy code & migrate existing use cases to strategic flow
[ ] Safely delete legacy code

Additional context

Binding: https://github.com/finos/legend-engine/blob/master/docs/bindings/bindings.md
Query Semantics: https://github.com/finos/legend-engine/blob/master/docs/queries/queries.md

This issue is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.

This issue was closed because it has been inactive for 35 days. Please re-open if this issue is still relevant.

This issue is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.

This issue was closed because it has been inactive for 35 days. Please re-open if this issue is still relevant.

This issue is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.

This issue was closed because it has been inactive for 35 days. Please re-open if this issue is still relevant.

This issue was closed because it has been inactive for 35 days. Please re-open if this issue is still relevant.


Maintenance Schedule Example

Are there any intentions to port the maintenance schedule example in Optaplanner over to OptaPy?
It would be very beneficial to see this at work in Python.

Yes there is, but it might be a while before I can get to it.

Fantastic! I was hoping to try and port it myself but it's beyond what I know of the OctaPy and without any examples I'm in the dark. What sort of timescale would you be looking at? Cheers!


feat: change VFO A/B using exit key - ported from fagci-mod

My change suggestion: the Exit key could be used to switch the active VFO between A and B, same as F+2, but more convenient

Fagci doesn't use long press functions so it makes sense there, it doesn't here. You can simply hold the A/B button. It is right next to EXIT, and short press EXIT is used to "exit" things, now it would sometimes exit sometimes switch VFOs. I would rather move channel copy from M to 1/BAND and maybe then make long press M switch VFOs to make it more easily accessible.

Yes, that explains a lot - I didn't know Fagci didn't use the long press function.
That closes the case :)


Create a new BE signal : TA_PERC_FE

Currently we have TA_PERC, which informs what percentage of the tract has tribal lands. This is used by the FE and the download files.
Some issues with this signal are:

Values >= 99.5% were being rounded to 99%
Sometimes there were floating point errors (FE and/or BE)

A way to resolve this was to create a TA_PERC_STR, which attempted to fix the two issues above. While this signal is a success, requiring two BE signals to communicate the "percent of tracts with tribal" is increasing complexity on the FE side panel copy.
Is it possible to leave TA_PERC as is (meets the need for downloads files) and create a new BE signal called TA_PERC_FE that has everything from TA_PERC but also rounds the values >=99.5% to 1?
If so, the FE will address the floating point issues. TY!

@mattbowen-usds - also it would be great to know if there any dependencies and/or relationships between TA_PERC and TA_COUNT. Are they calculated independently (meaning no correlation) or do they share a similar process. I'm asking this to gain an intuitive understanding of this table:


Cosmos DB (SQL) error opening file in VS Code

Document sample:
{
"id"<EMAIL_ADDRESS>"PageNumber": 2,
"displayName": "Joe Smith",
"mail"<EMAIL_ADDRESS>"userPrincipalName"<EMAIL_ADDRESS>"userType": "Guest",
"givenName": null,
"surname": null,
"companyName": null,
"country": null,
"creationType": null,
"externalUserState": null,
"createdDateTime": "2019-03-04T06:36:50Z",
"signInActivity": null,
"externalUserStateChangeDateTime": null,
"refreshTokensValidFromDateTime": "2019-03-04T06:36:50Z",
"signInSessionsValidFromDateTime": "2019-03-04T06:36:50Z",
"_rid": "J+ldAKsAmF4HAAAAAAAAAA==",
"_self": "dbs/J+ldAA==/colls/J+ldAKsAmF4=/docs/J+ldAKsAmF4HAAAAAAAAAA==/",
"_etag": ""6000f3cc-0000-0300-0000-6163c0030000"",
"_attachments": "attachments/",
"_ts":<PHONE_NUMBER>
}
Error when trying to read this record (and any other record) with VS Code from the Cosmos SQL DB:
cannot open azureDatabases:/joe.smith%40test.com-cosmos-document.json?id%3D%2Fsubscriptions%2F35a23fe9-64c8-4b70-87fb-27bd472b4d1d%2FresourceGroups%2FCompanyRG%2Fproviders%2FMicrosoft.DocumentDB%2FdatabaseAccounts%2Fcdbmydata%2Fmydrivereports%2Faadguestusers%2F%24Documents%2FJ%2BldAKsAmF4DAAAAAAAAAA%3D%3D. Detail: Unable to read file 'azureDatabases:/joe.smith@test.com-cosmos-document.json?id=/subscriptions/35a23fe9-64c8-4b70-87fb-27bd472b4d1d/resourceGroups/CompanyRG/providers/Microsoft.DocumentDB/databaseAccounts/cdbmydata/mydrivereports/aadguestusers/$Documents/J+ldAKsAmF4DAAAAAAAAAA==' (Error: Unable to resolve nonexistent file 'azureDatabases:/joe.smith@test.com-cosmos-document.json?id=/subscriptions/35a23fe9-64c8-4b70-87fb-27bd472b4d1d/resourceGroups/CompanyRG/providers/Microsoft.DocumentDB/databaseAccounts/cdbmydata/mydrivereports/aadguestusers/$Documents/J+ldAKsAmF4DAAAAAAAAAA==')

Related #1732
Closing as duplicate


Linux: No module named tensorflow_estimator.python.estimator.tpu

I successfully developed and run a model using Tensorflow Probability with Pruning in a Windows machine, but I get the following error in Linux (Ubuntu 16.04):
  File "<ipython-input-3-622d85983aea>", line 4, in <module>
    import tensorflow_probability as tfp

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow_probability/__init__.py", line 78, in <module>
    from tensorflow_probability.python import *  # pylint: disable=wildcard-import

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow_probability/python/__init__.py", line 21, in <module>
    from tensorflow_probability.python import bijectors

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow_probability/python/bijectors/__init__.py", line 23, in <module>
    from tensorflow_probability.python.bijectors.absolute_value import AbsoluteValue

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow_probability/python/bijectors/absolute_value.py", line 22, in <module>
    from tensorflow_probability.python.bijectors import bijector

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow_probability/python/bijectors/bijector.py", line 31, in <module>
    from tensorflow_probability.python.internal import distribution_util

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow_probability/python/internal/distribution_util.py", line 26, in <module>
    from tensorflow_probability.python.internal import dtype_util

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow_probability/python/internal/dtype_util.py", line 24, in <module>
    from tensorflow.contrib import framework as contrib_framework

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/__init__.py", line 41, in <module>
    from tensorflow.contrib import distributions

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/distributions/__init__.py", line 44, in <module>
    from tensorflow.contrib.distributions.python.ops.estimator import *

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/distributions/python/ops/estimator.py", line 21, in <module>
    from tensorflow.contrib.learn.python.learn.estimators.head import _compute_weighted_loss

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/__init__.py", line 93, in <module>
    from tensorflow.contrib.learn.python.learn import *

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/__init__.py", line 28, in <module>
    from tensorflow.contrib.learn.python.learn import *

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/__init__.py", line 40, in <module>
    from tensorflow.contrib.learn.python.learn.experiment import Experiment

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 39, in <module>
    from tensorflow.contrib.tpu.python.tpu import tpu_estimator

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/tpu/__init__.py", line 77, in <module>
    from tensorflow.contrib.tpu.python.tpu.tpu_config import *

  File "/home/rubens/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/tpu/python/tpu/tpu_config.py", line 22, in <module>
    from tensorflow_estimator.python.estimator.tpu.tpu_config import *

ModuleNotFoundError: No module named 'tensorflow_estimator.python.estimator.tpu'

All the packages involved are up-to-date, including pandas, matplotlib and numpy. Pip / conda reinstalling is not solving this issue. I'm running Python 3.6.8 64bits, Qt 5.11.2, PyQt5 5.11.3 on Linux, Spyder 3.3.1.

@RubensZimbres Please provide details about TensorFlow version. Also, did you compile from source or install a binary?
Thanks!

I have the same issue, tensorflow_probability seems to be incompatible with tf_nightly (installed via pip).

Just to check, you have installed both tf_nightly and tf_estimator_nightly at the same time?

@gadagashwini Tensorflow version 2.0.0a0 installed via pip
@mihaimaruseac I have installed both.

@RubensZimbres Tensorflow Probability 0.6.0 version is tested and stable against TensorFlow version 1.13.1. For more information please visit this link.
Thanks!

In this case, tensorflow_probability import works with Tensorflow 1.13.1, as well as tfp.distributions, but "TensorFlow Model Optimization requires TensorFlow version >= 1.14.0". No problem in Windows

Manually install the tensorflow_estimator 1.14.0  with bazel works for me. https://github.com/tensorflow/estimator

Oh, the tpu changes came in in 1.14.

Automatically closing this out since I understand it to be resolved, but please let me know if I'm mistaken.Thanks!


fix(cli): Handle tailwind.config.ts file properly in init

What has changed
I have removed the check that checks if the specified tailwind config file already exists and changed the replace regex that is used to delete the .cjs file.
Motivation for the change
I was trying out this and so I made a new sveltekit project and tried to init shadcn.
It gave me option to use tailwind.config.ts as a config file so I tried to use that. I faced an error that tailwind.config.ts doesn't exists.
So I renamed the file to tailwind.config.ts and ran the command again.
It seemed to work and made the file but quickly deleted the file afterwards.
Turns out "tailwind.config.ts".replace(".js",".cjs") returns tailwind.config.ts anyways. So the new config gets deleted instead of .cjs one
This PR addresses these 2 issues.

Please follow the Contribution Guidelines prior to submitting a pull request.

Hello, I belive that the PR was close because I didn't make an Issue prior to submitting the PR.
I was going to make an Issue but saw that the Issue was fixed by #543, but that PR is also not made against any Issue. Can you please point out what I did wrong so that I don't repeat the same mistake in future
Thanks


What kind of PC is needed to work with this program?

And another question, is this program already shooting videos and is it possible to share with them?

Hi, this repo is an implementation of zipnerf, which is used for 3D reconstruction. A machine with a GPU is needed.

Hi, this repo is an implementation of zipnerf, which is used for 3D reconstruction. A machine with a GPU is needed.

Hi, thanks for answering, but which card is suitable for use?
I have a palit 3060oc 12 gb

In zipnerf paper, they train it with 8 NVIDIA Tesla V100, and I use 8 NVIDIA RTX A6000. But a 3060 is enough if you can install the requirements.txt successfully, what you need to do is to decrease the batch size to make it work without OutOfMemory error.

In zipnerf paper, they train it with 8 NVIDIA Tesla V100, and I use 8 NVIDIA RTX A6000. But a 3060 is enough if you can install the requirements.txt successfully, what you need to do is to decrease the batch size to make it work without OutOfMemory error.

Great , Thank you very much for the answer !
I will try when I get home

@SuLvXiangXin  Hi I do have a question about batch_size, in config.py we have batch_size=2 ** 16, but that gets divided by world_size, so when you trained with 8xA6000, you would have 2*13 rays per GPU(which uses about 8GB VRAM per GPU)? Could you confirm that's the setup for 360v2 dataset? Thanks


Integrate Android "Share with topic" dialog

emptymatrix suggested this on Reddit:
"to replace pushbullet in my phone, it requires to be able to share items from any android app to a ntfy topic. I mean: while browsing a URL in my favorite browser (Firefox, opensource, of course ;)) and I want to send it to a ntfy topic, I just would need to click on Share button, select ntfy, then ntfy would show a list of target topics, so I could pick one.
"target topics" would be a list of topics (editable in the ntfy UI in the app) to which I'm not subscribed but I would like to share often. Each topic would represent a device."

This actually sounds like fun to work on, so I'll do this next.

That's the way to do it, Phil. Forget test driven development - fun driven development rules! :-P (SCNR)

This is done and will be released with the next app release; see https://github.com/binwiederhier/ntfy-android/pull/16


My browser's freezing when adding the "bs-datepicker"

Hi,
I want to add a datepicker but when i add it to my object and test it, all my browser is freezing, autoform and bs-datepicker are both up to date.
This happen only on this object, i use bs-datepicker for all my other objects and it works perfectly ...
"Descriptive.ProductionDate": {                   type: Date,                  optional: false,                    autoform: {                       label: "Production date",                        placeholder: "2002-09-24",                         type : "bootstrap-datepicker"                    }               },
if someone have any idea to solve this problem that would be great

i found another way to add the datepicker by using directly bootstrap there's no freeze at all.


docs: how it works

Added how it works section and the documentation structure:
see it lively here: https://ft-docs-how-it-works--jina-docs.netlify.app/docs-how-it-works/
please review:

index page
how it works section
documentation structure

I have some high-level feedback:

I really like the structure, the user can immediately see what actions they will have to take to successfully fine tune their model
Headings should follow sentence case, according to our guidelines, so e.g. "Choose backbone model" instead of "Choose Backbone Model"
Using backticks in heading loogs a bit weird in my opinion
The "how finetuner works" page makes sense to me. We should just make sure that we explain things at the adequate technical level for the target user. I am not 100% sure what that level is, just something that we should always think about :)

Really good backbone, this will become a nice piece of documentation!

I really like the docs good structure and content:
One comment :
the Cloud-based fine-tuning part could used a schema. They are a lot of entities.

Also add a line in CHANGELOG, have you merged the changes from main? I think this is why tests are failing

The structure of the documentation looks good to me.


Ignore blur while hovering over menu

The current _ignoreBlur logic does not account for clickable items rendered inside a given renderMenu function; it only accounts for items rendered by renderItem. This change would ensure that the blur is ignored when clicking anywhere inside the menu.

Just saw this PR by @fitz0019, which does the exact same thing https://github.com/reactjs/react-autocomplete/pull/211
To elaborate on the issue, the blur event occurs when you click anywhere inside the menu that was not rendered with the renderItem method.

I just found an edge case with the first commit: when clicking on the menu the input loses focus, so subsequent clicks outside the menu do not trigger a blur.
I tried to fix it with the subsequent commits, but realized that it led to some unexpected behavior.

Ran into this issue today too

@pikelnys Thanks for looking into this! I've pushed a fix for the problem, and I think I managed to handle the edge cases you mentioned.
Please give 1.5.3 a try and see if it solves the problem.

1.5.3 worked for me. Thanks!

Just a heads-up to anyone still subscribing to this issue: I just reworked the focus management (released in 1.5.9), so if you start seeing a regression to this fix, or anything else unexpected, please let me know!


switch to conversation api

https://api.slack.com/methods/conversations.history
no need to differentiate different types

as far as I know, slacker doesn't support it yet. Tho with the develop branch the conversation api behavior is mimicked allowed to access everything using .conversations