text:
Added AI Anime Avatar Generation Feature Using OpenCV and Matplotlib

Related Issues or bug

Added support for generating anime-style avatars with smooth edges and vibrant colors using OpenCV and Matplotlib. fixed the issue #495

Fixes: #495
Proposed Changes

Implemented an AI Anime Avatar Generation feature that transforms input images into anime-style avatars using OpenCV and Matplotlib.
Developed functions to load images, apply Gaussian blurring, adaptive thresholding, and bilateral filtering for achieving smooth edges and vibrant colors.
Enhanced the output images' vibrancy and smooth shading transitions to closely mimic traditional anime art styles.
Included functionality to display the original and transformed images side by side for easy

Screenshots

Original
Updated

** **

Screenshot of model implementation :

@UppuluriKalyani
Please review and approve this pull request. I have also added the necessary labels: gssoc-ext, hacktoberfest, and hacktoberfest-accepted. Thank you!

@UppuluriKalyani Okay will update the PR by tonight.

repo: UppuluriKalyani/ML-Nexus


text:
Research Database options

Research task involving documenting possible Database options.

What can we use as a database that can easily intergrade into the RoR app?
Firebase
Google Sheets API?
MySQL Lite and localized history?
Can we get a demo DB spun up with seed data to manually test the pros and cons?

I suggest going with PostgreSQL for your Ruby on Rails app, and here’s why:
Seamless Rails integration: PostgreSQL works beautifully with Rails, so setup is straightforward, and you won’t hit any compatibility issues.
Scalability: Whether you're starting small or planning for growth, PostgreSQL can handle it. It’s great for both small projects and larger apps down the road.
Powerful features: It supports advanced features like complex queries and JSON, giving you flexibility if your data needs become more complex in the future.
Data reliability: It’s designed to ensure your data stays consistent and safe, which is key when dealing with critical information.
Great support: Since it’s popular and open-source, there’s a huge community, so finding help or resources when needed is easy.

source: gharchive/issue

authors: Arhaan-Siddiquee kodebae

license: MIT

license_type: permissive

license_source: github-api


text:
External issues that need community support

[ ] Adding tag on BODY tag - https://github.com/meteor/meteor/issues/2561
[ ] Language attributes to templates - https://github.com/meteor/meteor/issues/3400
[ ] Make Meteor's build process handle few plugins on one file extension, so we can run ng-annotate on .js files - https://github.com/MeteorCommunity/discussions/issues/51
[ ] Official Meteor support for bower with handling conflicts - https://github.com/mquandalle/meteor-bower/issues/30
[ ] Ability to change Blaze's default-delimiters - https://github.com/meteor/meteor/issues/2765
[ ] Ability to extend Meteor's command line to do something like Yeoman's angular with meteor: "meteor create --angular socially" - https://github.com/MeteorCommunity/discussions/issues/9

Closing as I've discussed it all with the Meteor team and @netanelgilad wrote a great pull request for solving the most relevant issue.

repo: Urigo/angular-meteor

license: mit

license_source: bigquery


text:
Way to pass JWT to underlying services

Hello!
I am using that project to make a dynamic mesh where services can register themselves. That idea worked until I faced the need to pass JWT provided by client to underlying services. Is there any context or other way to tell services who exactly makes the request?
Currently, I have to rebuild schema, and it is definetely counter-optimal solution:
Main file:
app.use(
        graphqlUploadExpress({ maxFileSize: 10000000, maxFiles: 10 }),
        graphqlHTTP(async (req) => {
            const token = `${req.headers['authorization']}`;
            let resultSchema = ttl.get(token);

            if (!resultSchema) {
                const services = await getServicesWithEndpoints();
                const { schema } = await rebuildSchema(services, {
                    token
                });

                ttl.push(token, schema, null, TTL);

                resultSchema = schema;
            } else {
                console.log("Schema found in cache for token:", token);
            }

            return {
                schema: resultSchema,
                graphiql: false
            };
        })
    );

Rebuild schema method:
const rebuildSchema = async (endpoints, options) => {
    const config = {
        merger: 'federation',
        sources: endpoints.map((endpoint) => ({
            name: endpoint.key,
            handler: {
                graphql: {
                    endpoint: endpoint.endpoint,
                    enableSubscriptions: false,
                    operationHeaders: {
                        Authorization: options.token
                    }
                }
            }
        })),
        additionalTypeDefs: getMeshTypes(endpoints.length > 0),
        additionalResolvers: ['./src/mesh/additional_resolvers.js']
    };
    const subConfig = {
        sources: endpoints
            .filter((endpoint) => !!endpoint.subEndpoint)
            .map((endpoint) => ({
                name: endpoint.key,
                handler: {
                    graphql: {
                        endpoint: endpoint.subEndpoint,
                        enableSubscriptions: true,
                        operationHeaders: {
                            Authorization: options.token
                        }
                    }
                }
            })),
        // additionalTypeDefs: getMeshTypes(endpoints.length > 0),
        additionalTypeDefs: getMeshTypes(false),
        additionalResolvers: ['./src/mesh/additional_resolvers.js']
    };

    if (endpoints.length === 0) {
        delete config.merger;
    }

    const meshConfig = await processConfig(config);
    const meshSubConfig = await processConfig(subConfig);

    try {
        const { schema, contextBuilder } = await getMesh(meshConfig);
        currentSchema = schema;
        currentContextBuilder = contextBuilder;
    } catch (e) {
        console.log('Schema error:', e, JSON.stringify(e));
    }

    try {
        const {
            schema: subSchema,
            contextBuilder: subContextBuilder
        } = await getMesh(meshSubConfig);
        currentSubSchema = subSchema;
        currentSubContextBuilder = subContextBuilder;
    } catch (e) {
        console.log('SUB ERR:', e, JSON.stringify(e));
    }

    return {
        schema: currentSchema,
        contextBuilder: currentContextBuilder
    };
};

Any ideas how to make it better?

You can pass values from context as headers like below;
operationHeaders:
  Authorization: Bearer {context.jwtToken}

@ardatan I have a mix of Runtime package functions and copypasted/edited CLI functions, and my Mesh allows services to register themselves, so I don't have any config there. I would try your approach but I don't completely understand where do I pass context in my case

GraphQL Mesh generates a GraphQLSchema object that can be passed to any kind of GraphQL Server.
const { schema } = getMesh(...);
app.use(graphQLHTTP(req => {
  return {
    context: {
      jwtToken: req.headers.authorization.replace('Bearer ', '') // <<< HERE
    }
  }
})

or you can directly use GraphQL Mesh CLI to serve your GraphQL API so in this case context will be upcoming HTTP request.

Thanks! I have successfully used context builder to pass JWT and Jaeger token to my underlying services.

authors: ardatan skayred

repo: Urigo/graphql-mesh


text:
Generated SDK of graphql handler doesn't work

It just returns null, it guess it's related to the way info is being parsed in graphql-tools-fork.

Not sure about the architecture here, but if you are able to share some code of what you are expecting vs what you got, I can take a look.

@yaacovCR We are taking all root operations from Query and Mutation, and wrap it with a function to make it available to run from the context. It's very similar to delegateToSchema, but as a function.
The current behaviour requires to pass context and info, but maybe we can bypass that later by wrapping all resolvers.
In this example: https://github.com/Urigo/graphql-mesh/blob/master/examples/postgres-geodb/src/mesh/additional-resolvers.ts#L8
I can only assume that it breaks because of the dependency in info variable, but maybe that's something we can solve somehow?
Because let's say the you have something like the in the example above:
// Schema A
type Node {
  id: ID!
}

type User implements Node {
  id: ID!
  username: String!
  name: String!
}

type Query {
   search(term: String): [Node!]!
}

// Schema B
type Location {
  id: ID!
  city: String!
  country: String!
}

type Query {
   locations(search: String!): [Location!]!
}

And then we would like to apply a schema extension, to connect the two together:
extend type Location {
  users: [User!]!
}

And to query it:
query locationsAndUsers {
  locations(search: "...") {
     id
     city
     country
     users {
        id
        name
     }
  }
}

We would like to have a function in context, to allow you to easily run search from schema A. The reason to have a function is the fact that we can later easily create type-safe typings for it.
The resolver will look like that:
export const resolvers = {
  Location: {
     users: (location, arg, context, info) => {
        return context.Users.search({ term: `location:${location.city}` }, context, info);
     }
  }
}

And I would expect the operation Query.search to be executed with the fragment of users, maybe with a spread to make the type explicit? something like:
query {
  search(terms: "...") {
     ... on User {
        id
        name
     }
  }
}

I can only assume that right now it fails and returns null because it unable to parse info correctly. @yaacovCR maybe it's something we can implement in graphql-tools-fork?  what do you think?

Sounds like a new graphql-binding...
Looks like you are passing the info object, are you sending that within the function in context to delegateToSchema? Where is that code?

@yaacovCR yeah exactly, it seems like the delegateToSchema behind the scenes is using the selection set as-is, while it needs to "transform" it, so it might needed to be done before running the actual resolver. Or maybe just create delegateToSchema manually with the extracted selection set.
I will push an example for that soon, and let you know.
Thanks!

@yaacovCR Ok so I managed to get this working, it's not perfect, but I guess it's fine for now.
The example is here: https://github.com/Urigo/graphql-mesh/tree/master/examples/postgres-geodb (see README)
So what I did is: the method I'm putting in the context is not the resolver of the root operation itself, but a method that executes delegateToSchema with the correct argument, but with the right selection set.
It's done here: https://github.com/Urigo/graphql-mesh/blob/master/packages/handlers/graphql/src/index.ts#L28-L37
This way, it makes sure that the selection set is being treated correctly, without the need to pass anything else but args, context, info.
It would like to improve that in the future, so right not the extension and the linking is defined as:
      extend type Geo_City {
        developers(limit: Int = 10): Github_SearchResultItemConnection!
      }

So behind the scenes, the implementation of developers field uses Github_search query field, so it must return the same value as the root operation (Github_SearchResultItemConnection).
It means that a query like that works:
query {
  allCities(orderBy: ID_ASC, condition: { name: "London" }) {
    nodes {
      name
      countrycode
      district
      developers {
        nodes {
          ... on Github_User {
            login
            avatarUrl
          }
        }
      }
    }
  }
}

And the custom resolvers that uses this binding is located here: https://github.com/Urigo/graphql-mesh/blob/master/examples/postgres-geodb/src/mesh/additional-resolvers.ts#L5-L13
This works, but what id I would like to eliminate the need for nodes and the fragment spread under developers? changing the definition of the field to developers: [Github_User!]! would be ideal.
But, at the moment it's not possible, because the delegation executions fails and returns just null - because when running Github_search it expect this structure because of the delegated operation.
The binding implementation can be controlled by us, and we do have strict resolvers signature, so right not it's failed on build time, which is great.
I think at some point, we'll allow developers to specify either info or fragment to fetch data with this kind of delegation, in order to make it simple to customize the fetched data (this way, it's simpler to create a fragment that will work with delegateToSchem, and then the user can manipulate the data before returning it).
What do you think: @yaacovCR

I think you can use HoistField transform to hoist nodes. Or you can just take nodes out of root fields, I guess...
I may be misunderstanding...

authors: dotansimha yaacovCR


text:
update failure mode

Suggest updating the out-of-range failure mode to reset both drive AND steering values if either one is out of range. This way the car will always stop if ether value is out of range.

Yep, sounds sensible

source: gharchive/pull-request

authors: UvinduW oliverwilkins

repo: UvinduW/Miniature-Autonomous-Car


text:
Out of Memory.

I have 4gb Vram and it gives me out of memory error. How to switch to cpu only?

To switch to CPU, please run with run.py --device cpu

File "E:\TripSo\TripoSR\env\lib\site-packages\transformers\models\vit\modeling_vit.py", line 219, in forward
attention_scores = torch.matmul(query_layer, key_layer.transpose(-1, -2))
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 50.00 MiB. GPU 0 has a total capacity of 4.00 GiB of which 0 bytes is free. Of the allocated memory 6.05 GiB is allocated by PyTorch, and 158.95 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\TripSo\TripoSR\env\lib\site-packages\gradio\queueing.py", line 501, in process_events
response = await self.call_prediction(awake_events, batch)
File "E:\TripSo\TripoSR\env\lib\site-packages\gradio\queueing.py", line 465, in call_prediction
raise Exception(str(error) if show_error else None) from error
Exception: None

what is the minimum gpu vram required. i have 4gb vram. i tried lowering the model.renderer.set_chunk_size(8192) to model.renderer.set_chunk_size(8) but still getting out of memory
ran fine on CPU though but took almost 6mins

I have the same problem here, does anyone have any suggestions?
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 896.00 MiB. GPU 0 has a total capacity of 23.68 GiB of which 417.81 MiB is free. Process 715370 has 23.27 GiB memory in use. Of the allocated memory 22.96 GiB is allocated by PyTorch, and 19.59 MiB is reserved by PyTorch but unallocated.

could this actually be the kv cache and thus be linked to https://github.com/vllm-project/vllm/discussions/241 ?

authors: Bikimaharjan Dileepvk98 GrimalDev pookiefoof

repo: VAST-AI-Research/TripoSR


text:
Run-time Error when adding body parameter

I'm getting the following error:
Run-time error '5': Invalid procedure call or argument
When calling AddBodyParameter on a WebRequest
The error occurs on the line: dict_pDictionary.Item(Key) = Value
In:
Public Property Let Item(Key As Variant, Value As Variant)
#If Mac Or Not UseScriptingDictionaryIfAvailable Then
    If Me.Exists(Key) Then
        dict_ReplaceKeyValue dict_GetKeyValue(Key), Key, Value
    Else
        dict_AddKeyValue Key, Value
    End If
#Else
    dict_pDictionary.Item(Key) = Value
#End If
End Property

The key is "propertyName" and the value is "asdasdasd". This error occurs after its already looped through and added some Body Parameters.
The exact same code and input runs fine on 32bit Excel 2010, 2013 and 2016.
The error is occurring for me in x64 Excel 2016

Hmm, not sure why that particular code would be affected by 32- vs 64-bit, The only thing that I can think of is the Variant type (from AddBodyParameter to Let Item) may be causing some weird issue. What is the type of the key/value being passed to AddBodyParameter? I would try the following:
Dim Key, Value ' <- What type are these?

' Explicitly convert key and value to string
Request.AddBodyParameter(CStr(Key), CStr(Value))

I haven't found explicit coercion to string to be necessary, but maybe it'll help. Otherwise, I'll keep looking into it, but I may need a more complete sample.

I've just done some more testing and I believe its due to passing the Request into a function ByRef. Have you encountered something like this before? Seems to also be related to x64 Excel
Here is my function:
Sub AddBodyParamIfNotEmpty(ByRef Request As WebRequest, ParamName As String, CellName As String)
    If Not IsEmpty(Sheets(SE1.Name).Range(CellName)) And Not IsError(Sheets(SE1.Name).Range(CellName)) Then
                Request.AddBodyParameter ParamName, Sheets(SE1.Name).Range(CellName).Value
        End If
    End If
End Sub

Quick replication:
Sub Something()
    Dim Request As New WebRequest
    Request.AddBodyParameter "Test", "Testing"
    QuickTest Request, "Test2", "Testing2"
End Sub

Sub QuickTest(ByRef Request, ParamName As String, ParamValue As String)
    Request.AddBodyParameter ParamName, ParamValue
End Sub

Has error in x64 Excel when attempting to add body parameter to a request passed ByRef but not when adding to request normally

Great sleuthing @levitatejay! I'll look into it and see what I can find.

Hi Tim,
I've done some more searching. It looks like the problem is related to an automation issue with the key.
You can see that the key's value is still intact when calling "AddBodyParameter"

But once it goes a level deeper into the Dictionary implementation it loses its value:

Any idea why this is happening/ what I can do to fix it?

The problem doesn't appear to be related to passing ByRef as I initially thought.
I can get my code to work by changing my subs declaration:
AddBodyParamIfNotEmpty(ByRef Request As WebRequest, ParamName As String, CellName As String)
from ParamName As String to ParamName As Variant
or by changing the the following sub's (from WebRequest class) declaration:
Public Sub AddBodyParameter(Key As Variant, Value As Variant)
from Key As Variant to ByVal Key As Variant
So it appears the reference to the initial Key Variant/String object is being lost somewhere between jumping from the WebRequest Class to the Dictionary Class...
But to make matters more confusing:

It only occurs in x64 Excel
The "automation error" only occurs to the Key and not the Value even though they are the same type and go through the exact same process ???

@levitatejay Thanks again for digging so deep into this weird issue. I'll add ByVal shortly to resolve this.

authors: levitatejay timhall

repo: VBA-tools/VBA-Web


text:
Complete example GMail

I am trying to implement VBA-Web in one of my projects but I struggle to connect to GMail.
Can you please publish an example step by step that shows how to connect to GMail ?
I cannot even understand what the format credentials.txt should have
Many thanks
Alberto

Found the code in the examples.


text:
Visualizations: update handling of dependency order of strata variables in the viz tab

depends on veupathdb/edadataservice#190
came up during a conversation w DSR where he was trying to approximately replicate a plot from a data provider and wasnt able to.
currently we can support a dependency order of visual elements defined something like:
'yaxis' -> 'xaxis' -> 'overlay' -> 'facet'
and wed like to be able to do something like:
'yaxis' -> 'xaxis' -> ['overlay','facet']
essentially stating that both the overlay and facet strata vars need to simply be the same or a parent entity of the xaxis, rather than the facet var being required as the same or parent of the overlay.

i think someone made a duplicate in #1410  and was resolved with #1415 .. but yes its been handled.

repo: VEuPathDB/web-eda


text:
issue with inference module running on tiles with crs 3857

Hi, I'm currently handling aerial images in CRS 3857. While defining rasters with the generate function and specifying CRS parameters for the module, I'm encountering errors halfway through the inference process on my tiles. What could be triggering these errors? Are there potential oversights on my end? Interestingly, when I omit the CRS parameter and leave it as default, the inference proceeds smoothly, albeit with slightly misaligned results.
here is an image of the results i got on a small image in sydney, australia

Hello, could you please copy and paste the exact error output?

sure here it is:
ERROR      Command ['python', '-m', 'tile2net', 'inference', '--city_info', '/content/output/test_tile/tiles/test_tile_256_info.json', '--interactive', '--dump_percent', '0'] returned non-zero exit status 1.
Stdout:
Stderr: INFO       NumExpr defaulting to 2 threads.
INFO       Inferencing. Segmentation results will not be saved.
INFO       Downloading weights for segmentation, this may take a while...
INFO       Weights downloaded.
INFO       Using a single GPU.
INFO       Using Per Image based weighted loss
INFO       Using Cross Entropy Loss
INFO       Loading weights from: checkpoint=/content/tile2net/src/tile2net/raster/resources/assets/weights/satellite_2021.pth
INFO       init weights from normal distribution
INFO       loading pretrained model /content/tile2net/src/tile2net/raster/resources/assets/weights/hrnetv2_w48_imagenet_pretrained.pth
INFO       Trunk: hrnetv2
INFO       Model params = 72.1M
/usr/lib/python3.10/multiprocessing/popen_fork.py:66: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
self.pid = os.fork()
INFO       Polygons are generated and saved!
INFO       Starting network creation...
0%|          | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 2828.26it/s]
0%|          | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 2686.93it/s]
INFO       ..... creating the processed sidewalk network
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/content/tile2net/src/tile2net/main.py", line 6, in
argh.dispatch_commands([
File "/usr/local/lib/python3.10/dist-packages/argh/dispatching.py", line 358, in dispatch_commands
dispatch(parser, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/argh/dispatching.py", line 183, in dispatch
for line in lines:
File "/usr/local/lib/python3.10/dist-packages/argh/dispatching.py", line 294, in _execute_command
for line in result:
File "/usr/local/lib/python3.10/dist-packages/argh/dispatching.py", line 247, in _call
result = function(namespace_obj)
File "/content/tile2net/src/tile2net/namespace.py", line 671, in wrapper
return func(namespace, **kwargs)
File "/content/tile2net/src/tile2net/tileseg/inference/inference.py", line 510, in inference
return inference.inference()
File "/content/tile2net/src/tile2net/tileseg/inference/inference.py", line 198, in inference
self.validate(
File "/content/tile2net/src/tile2net/tileseg/inference/inference.py", line 313, in validate
net.convert_whole_poly2line()
File "/content/tile2net/src/tile2net/raster/pednet.py", line 375, in convert_whole_poly2line
self.create_sidewalks()
File "/content/tile2net/src/tile2net/raster/pednet.py", line 344, in create_sidewalks
swntw.geometry = swntw.simplify(0.6)
AttributeError: 'NoneType' object has no attribute 'simplify'

CalledProcessError                        Traceback (most recent call last)
 in <cell line: 1>()
----> 1 raster1.inference()
2 frames
/usr/lib/python3.10/subprocess.py in run(input, capture_output, timeout, check, *popenargs, **kwargs)
524         retcode = process.poll()
525         if check and retcode:
--> 526             raise CalledProcessError(retcode, process.args,
527                                      output=stdout, stderr=stderr)
528     return CompletedProcess(process.args, retcode, stdout, stderr)
CalledProcessError: Command '['python', '-m', 'tile2net', 'inference', '--city_info', '/content/output/test_tile/tiles/test_tile_256_info.json', '--interactive', '--dump_percent', '0']' returned non-zero exit status 1.

Could you please also pass the command that you ran?

raster1 = Raster(
location=[-33.72176969693144, 150.72435381126422,-33.71948521547603, 150.7271003932958],
name='test_tile',
input_dir='/content/test_tile/x_y.png',
output_dir='/content/output',
zoom=21,
crs=3857
)
raster1.generate(2)
raster1.inference()

Thank you for using Tile2net. The CRS parameter is intended to be paired with the location parameter, not the geometry which encapsulates its CRS in its metadata. Please leave the CRS to be the default 4326 coordinate system (WGS84). As for the misaligned results, could you please overlay it onto the source imagery, and see if it still seems to be erroneous?

@ahmademami97
A side note here: Tile2Net works with Slippy Tiles Map system (XYZ system) (read our data preparation guide here. This requires tiles to be in EPSG: 4326, you can  use QGIS re-project your large raster to 4326 and the tile it according to XYZ again to arrive at the most accurate results.

Thank you so much, @Mary-h86 and @dhodcz2, for your notes and help. I fixed the misalignment in my network. There was a small issue with the conversion to the slippy tile system in my code. It's all working fine now.

Perfect! Happy to hear that. I am closing this issue now. Feel free to re-open if you have any other questions.


text:
Не отправляется событие VKWebAppGetPersonalCard при выходе из кеша

Проблема отправки события VKWebAppGetPersonalCard после очистки кеша. У промиса bridge.send("VKWebAppGetPersonalCard", {...}) не срабатывает ни then, ни catch, ни finally.
Шаги для воспроизведения:

Очистить кеш, закрыть mini app и само VK приложение
Открыть VK приложение, открыть mini app - VKWebAppGetPersonalCard отправляется
Очистить кеш и, не закрывая VK приложение, заново открыть mini app - VKWebAppGetPersonalCard не отправляется

Какая платформа?

Платформу подскажешь?

Заметил на iOS.

Заметил тоже самое поведение у события VKWebAppGetUserInfo. Пробовал его использовать как bridge.send('VKWebAppGetUserInfo.').then(...)
и событийным способом
bridge.subscribe(e => {
  if (e.detail.type === 'VKWebAppGetUserInfoResult') {
    ...
  }
});

bridge.send('VKWebAppGetUserInfo', {});

Тогда дубликат, увы, спасибо за ишью
#122

authors: ilyapishchulin maksimdegtyarev

repo: VKCOM/vk-bridge


text:
Fram 11

updated video in ticket - https://vacso.atlassian.net/browse/FRAM-11?focusedCommentId=10026

Let me know where you want to keep viewer's component on the page.

@BhuvaneshPatil  overall, looks good. some tweaks:

Move the component to the same row as the record header. Justify it right.
Move all the data pulling logic for the activeviewers component into that component.
Switch from callbackend to useBackend, which uses tanstack query under the hood. To force it to refresh every 5 seconds, use a reload usestate, and pass it to reload of the usebackend. This will force it to update when the usestate increments via an interval in a useeffect.
Inside view.js on the backend, feel free to use knex directly. it is available to every class via this.knex. This way you can request just the relevant rows, and use more advanced queries then rowsget provides.

Let me know if you have any questions. If you have an issues let me know and we can either discuss more, or I can refactor the code my self.
Thanks!

also please merge the latest main into this branch.

changed the position of Viewers component, moved to header
moved logic inside the component

@BhuvaneshPatil
This all looks good. I pushed a commit into your branch just to tweak some spacing so the page doesn't move when the active viewers data comes in.
can we combine the two usebackend calls into one that updates that this user is active and gets a list of all the active users?

Yeah sounds like good idea.
I will update the code

authors: Bhuvanesh-Fictiv BhuvaneshPatil trippd6

repo: VacsoLLC/frameworkFrontend


text:
Add another module of transportation

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

please assign me this issue

Please explain the issue or feature in brief.

So it is a feature where all the modes of transportation will be shown and a description of each mode of transport

I can also add login and signup page and integrate it with firebase

so I should add both login and sign up page and transportation module??

No just add the transportation module as well keep it light weight as possible use SVGs for that

ok done. Thank you

Hey, Khushi Soni this side, I'm a GSSoC contributor and would love to handle this issue

Hey @sapatevaibhav  can you please asssign me this issue . I can work on this

@Rashii1218,  update??

So I have completed half of the work and then my exams started and they will get over on 30th may. So I'll try to complete as soon as possible after my exams

Do your best in exams....

I would like to work on this issue. Can you please assign it to me.

repo: VaibhavCodeClub/learn


text:
Add support for OpenWrt

Describe your feature / Опишите ваше предложение
Adding support for Openwrt can go a long way to bypass censorship over various devices connected to a single router

RTFM README!

GoodbyeDPI is Windows-only.
OpenWRT is based on Linux, not Windows.
You can check https://github.com/ValdikSS/GoodbyeDPI#similar-projects for Linux.

You can Just run a windows vm running Goodbyedpi and install a proxy server such as Privoxy then send your clients to the proxy and all the traffic will be filtered by Goodbyedpi.

If you share with us what the program does as open source or share a documentation of what it does from the beginning to the end so that it can be done as an OpenWRT plugin, a new plugin can be written about this topic. With Zapret, you can simulate exactly what this program does and write a more automated GoodbyDPI plugin.

repo: ValdikSS/GoodbyeDPI


text:
🛑 b2b MarketingServices is down

In 8f05e61, b2b MarketingServices (https://b2b-marketingservices.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: b2b MarketingServices is back up in 3f17b8e after 8 minutes.


text:
🛑 b2b MarketingServices is down

In 2f9b2f5, b2b MarketingServices (https://b2b-marketingservices.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: b2b MarketingServices is back up in 235983f after 11 minutes.


text:
🛑 b2b MarketingServices is down

In 88b0415, b2b MarketingServices (https://b2b-marketingservices.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: b2b MarketingServices is back up in 0f5c892 after 8 minutes.


text:
🛑 b2b MarketingServices is down

In 3e621da, b2b MarketingServices (https://b2b-marketingservices.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: b2b MarketingServices is back up in c9ee500 after 27 minutes.


text:
Tutorial Template

Comments on this issue will contain potential templates to be used in the eventual tutorial rewrite.

Preface
A discussion on the topic of the tutorial section with relevant notes, links, images, and diagrams.
Goals

Unordered
List
Of
Goals
For
This
Section

Code

Name
Diff
Current Version
Previous Version

Main
Link
Link
Link

Test
Link
Link
Link

Results
Videos and images showing the result of this section.
A link to the release for this section, so the user can download the Jar and run the game.

For the previous template, some code may need to be explained, so there could be additional sub-sections highlighting particular files or pieces of code along with explanations.


text:
This issue occurs when only Valkyrien Skies and addons are installed and no other mods

[X] I have tested this issue and it occurs when no other mods are installed

Minecraft Version
1.19
Mod Loader
Forge
Issue description
I Get quite far in the game then after a bit the server doent crash just shuts off and everytime i turn it back on you can play for like 2 min and it just shuts down agene
Issue reproduction
use aternos server hosting then just servive and make a airship then after a while thit will eventualy happen
Logs
No response

thats not a bug, aeternos is not powerful enough to handle vs2, only solution to my knowledge is to just not use free hosting such as aternos

thats not a bug, aeternos is not powerful enough to handle vs2, only solution to my knowledge is to just not use free hosting such as aternos

So, the mod will probably never be able to run on aternos servers?

for free hosting I would have to reccommend minehut or ... whats that one with the blue cube logo

authors: Miszelka NullHarp SpyingGnome775 walksanatora

repo: ValkyrienSkies/Eureka


text:
Steam Audio does not respond to position change in Scene Tab in Unity.

Reported via Steam Audio Community Forum -
http://steamcommunity.com/app/596420/discussions/0/1290691937711370700/
Game Tab needs to be visible for EndOfFrameUpdate function to be called to update source and listener position.

This issue has been fixed in our 2.0-beta.15 release.

repo: ValveSoftware/steam-audio


text:
Apply project structure to develop branch

Please review and merge the structure to the develop branch.

That structure doesn't make much sense for me. Why we have 03 api folder (android-api-client, ios-api-client, rest-api)?
My structure would be some thing like:
api
mobile
-- android
-- ios
web

@samuelcastro, there aren't 3 api folders. It's 1 api (REST services) folder and 2 client folders one for android (pure java code) and one for ios (can be in c++ or objective-c).
My proposal intent is to maintain separation of responsibilities in the code itself.
The clients apis will have the responsibility to handle the communication with the server and provide a higher level of abstraction to the mobiles applications per se. As an example the android team (and android code) can focus on implementing the interface and call methods without bothering how to handle the connection and so on.
For sure the code could be merged into de mobile application itself. But I think the separation is handy to others to help with the code if the separation of projects is evident. If someone have java skills, it can modify the android-api-client code, test it and not bother installing any kind of IDE, framework or whatever dependency related to android.
Other interesting point is that we suppose to use http://swagger.io to describe and document the REST API. If we're going to use it why not use it's tools to generate the clients ([whatever]-api-client), it do have tools to do that.
It's important to have some comments of the iOS and Android teams, as they're the most impacted ones. So @matheusruschel, @jhowcs and @felipefcm can you tell what you prefer? In really, it's not a good this we segregate the code in libs if all of you don't feel comfortable with this approach.
Just a last comment: api-client is not an api, it's an implementation to access the api (basic a library to access the server).

Either way is fine by me!
—
Sent from Mailbox
On Fri, Jan 8, 2016 at 9:58 AM, Leonardo Cabral notifications@github.com
wrote:

@samuelcastro, there aren't 3 api folders. It's 1 api (REST services) folder and 2 client folders one for android (pure java code) and one for ios (can be in c++ or objective-c).
My proposal intent is to maintain separation of responsibilities in the code itself.
The clients apis will have the responsibility to handle the communication with the server and provide a higher level of abstraction to the mobiles applications per se. As an example the android team (and android code) can focus on implementing the interface and call methods without bothering how to handle the connection and so on.
For sure the code could be merged into de mobile application itself. But I think the separation is handy to others to help with the code if the separation of projects is evident. If someone have java skills, it can modify the android-api-client code, test it and not bother installing any kind of IDE, framework or whatever dependency related to android.
Other interesting point is that we suppose to use http://swagger.io to describe and document the REST API. If we're going to use it why not use it's tools to generate the clients ([whatever]-api-client), it do have tools to do that.
It's important to have some comments of the iOS and Android teams, as they're the most impacted ones. So @matheusruschel, @jhowcs and @felipefcm can you tell what you prefer? In really, it's not a good this we segregate the code in libs if all of you don't feel comfortable with this approach.
Just a last comment: api-client is not an api, it's an implementation to access the api (basic a library to access the server).
Reply to this email directly or view it on GitHub:
https://github.com/VanHack/binners-project/pull/7#issuecomment-169980064

Initially I don't see any problems with the api/app separate folders, but personally prefer less sibling folders in the root. Maybe we can merge @leomcabral and @samuelcastro ideas:
api
--android
--ios
mobile
--android
--ios
web
Does that make sense?

I'm scheduling a meeting with @leomcabral to discuss about that and maybe you guys should joying us.
To be honest, for the nature of that project, I prefer to use a simple approach instead of use "client api", for me this approach will create messy structure and if if understood, we'll create a new request layer, like so:
mobile app > [request] > client-api > [request] > api
And, talking about mobile platform itself, we have big limitation with memory/network/process and so on, so I'm not sure if the @leomcabral's approach is the best one. But I'm open to discuss it, maybe there is misunderstanding in my side and we are a team, so whatever the team decide I'm gonna use for sure.

Alright, When should we meet?
On Fri, Jan 8, 2016 at 1:55 PM, Samuel Castro notifications@github.com
wrote:

I'm scheduling a meeting with @leomcabral https://github.com/leomcabral
to discuss about that and maybe you guys should joying us.
To be honest, for the nature of that project, I prefer to use a simple
approach instead of use "client api", for me this approach will create
messy structure and if if understood, we'll create a new request layer,
like so:
mobile app > [request] > client-api > [request] > api
And, talking about mobile platform itself, we have big limitation with
memory/network/process and so on, so I'm not sure if the @leomcabral
https://github.com/leomcabral's approach is the best one. But I'm open
to discuss it, maybe there is misunderstanding in my side and we are a
team, so whatever the team decide I'm gonna use for sure.
—
Reply to this email directly or view it on GitHub
https://github.com/VanHack/binners-project/pull/7#issuecomment-170038485
.

Just let me know your best time guys, lets see a good one.

Everyday from 12 pm to 00 am works for me
On Fri, Jan 8, 2016 at 2:26 PM, Samuel Castro notifications@github.com
wrote:

Just let me know your best time guys, lets see a good one.
—
Reply to this email directly or view it on GitHub
https://github.com/VanHack/binners-project/pull/7#issuecomment-170047183
.

@samuelcastro I think you get it complete wrong. There is no request between the mobile app to the client-api. The project of a client api is not a service that have to be managed. A client api project will result in a jar file (I don't know if you are aware of Java terms, but it a jar is like a DLL).
The mobile apps will only use objects that are implemented in a DLL (jar in java case).
mobile_app + client-api-lib -> [request] -> api

I've already worked with Java (JEE/SE) and you're correct I just got some misunderstanding, is more clear now.
You suggestion make total sense when working in a big project with a big team, I still don't think it will make much sense in our project, because we're small team and so on.
And, we are not just talking about Java and jars, there is the IOS side, that will be created using swift, but anyway, this is up to you guys, I'll probably have time just to help in the API side, so, feel free to choose whatever you think is better.

So we can end this thread now. I'll close it and we'll keep it simple for the start. Let's start with @samuelcastro structure:
api
mobile
-- android
-- ios
web
We can expand it later as needed.

authors: felipefcm leomcabral matheusruschel samuelcastro

repo: VanHack/binners-project


text:
hot reload cogs if owner

add owner only command to reload cogs, saves stopping bot and restarting it when event is happening

https://discordpy.readthedocs.io/en/latest/ext/commands/extensions.html

repo: VandyHacks/the-squirrel-from-VandyHacks


text:
updating readme

I would love to update readme with more precise steps for contributing to the repo

sure


text:
Improve Button CSS for Better Visual Appeal

Enhance the button design to be more visually appealing and interactive. The current design is too complex and needs to be simplified for better user experience and maintainability.
Ask for feedback from friends


text:
proxy issues, getting captcha challenge

Hi, open this new ticket.
When i putting proxies on cloudscraper, i always get captcha challenge.
Ps: Can i  ini session on local ip and then navigate in the sites with proxies ?

Ps: Can i ini session on local ip and then navigate in the sites with proxies ?

yes, just {} the proxies in your scrapper session.

The only "major" thing is see is that requests uses urllib3 which inturn uses httplib to proxiy https requests... and this changes the request methodology from a GET to a CONNECT...
I still need to investigate more

I tried this : `def IniSession(proxies,k):
while 1 :

    print('Monitor {} - Try to ini session '.format(k))
    L = []
    s = cfscrape.create_scraper()
    proxie=None
    try:

        a = s.get('https://www.nakedcph.com/adidas-originals-yeezy-boost-350-v2-eg5293/p/7677', proxies=proxie)

        if a.status_code == 200 :

            print('Monitor {} - Ini success !'.format(k))
            proxie = random.choice(proxies)
            a = s.get('https://www.nakedcph.com/adidas-originals-yeezy-boost-350-v2-eg5293/p/7677', proxies=proxie)
            L.append(s)
            L.append(proxie)
            return L

    except Exception as e:

        print('Monitor {} - ERROR TO INI !{}'.format(k,e))
        pass`

output :
Monitor 0 - Try to ini session
Monitor 0 - Ini success !
Monitor -0 : Error in Monitorlinks ... Captcha

So... after much debugging... i just decided to install my own socks5 proxy locally to test with,... i don't get any reCaptcha's ... @JeanRon have you tested this out with a local proxy instead of a random public one?

That said... I am in the process of implementing some 3rd party reCaptcha solvers... so if you do want to use public proxies... you can solve the reCaptcha that way... but of course you will need to get an account with said 3rd party... but tbh they cheap as...

That not free public proxies, but they could be flag. Where did you make your proxies ?
sounds good

I used danted

@JeanRon re those proxies?

Hi, proxies are form different servers, Linode, vultr etc ..

@JeanRon tbh, i think its because the exit nodes are known to CF... anyway i have started to introduce 3rd party reCaptcha resolvers into the code, currently anti-captcha.com is in there, and im working on deathbycaptcha atm, but there service seems to keep going down and giving me 500 errors... so it makes it hard to test / write for...
I'm going to close this off as i do not believe this is a code based issue, as when i push it through private proxies i dont get captcha's but i do when i push it out open or well known proxy providers, including tor exit nodes... which leads me to believe CF is aware of the end points

authors: JeanRon VeNoMouS

repo: VeNoMouS/cloudscraper


text:
Saving and reloading a bndb corrupts segment mappings when a user segment precedes an auto segment

Binary Ninja Version: 2.1.2322-dev Personal, 38f36d9a
Platform: Arch Linux
At some point between 1.1.1338-dev and 2.1.2263, Binary Ninja started corrupting databases with a specific segment layout on save, causing them to produce an incorrect map when reloaded. I know the issue happens on save because I can open a database saved with 1.1.1338-dev in 2.1.2263 and not see any corruption until I resave it with 2.1.2263. I have confirmed that this bug is still present in the latest development build 2.1.2322-dev.
Please see my repository here, which contains a minimal repro of the bug as well as a README with a full description of when/how it manifests.

Thanks for reporting. This issue is fixed in 2.1.2394-dev.
Note that rebasing is performed in relation to the lowest addressed auto segment.

authors: bpotchik tchebb


text:
Races between multiple worker threads - random API failures

Binary Ninja Version: 2.4.2875-dev, adb7c635
Platform: macOS 10.15
When running a standalone script (commercial license) using binaryninja API and multiple worker threads, the API calls start to behave non-deterministically. Sometimes, certain objects like func.low_level_il lose reference to its medium_level_il or vice versa. Other times, the func.medium_level_il.ssa_form[x] failes for index x, while it should not.
The problematic situation is transient and does not occur every time, but the script fails when it does.
Initially I though there is a race condition between multiple worker threads, where one thread performs analysis update and the other starts using the objects. So, I added bv.set_analysis_hold(True) to stop that. It did not help.
Then, I set the number of worker threads to 1. The issue is not reproducible since then.

Are you holding a reference to the initial IL function object once you start working with it, or are you grabbing it from the top level Function object every time?
Essentially, the IL function objects are handled as a snapshot. Once you grab and hold onto a reference to any of them, the related IL functions will persist and you can interact with them/query them safely. So going from say, low_level_il_func.ssa_form[x] or low_level_il_func[x].ssa_form should be safe, it relies on you having a persistent reference to one of these IL function objects. Similarly, jumping between levels from IL function objects should be safe: low_level_il_func.medium_level_il for example.
Native function objects are different, and when you query for the IL function object from one of them you'll be given the IL function object that was generated most recently. So if you have some long-running analysis and you are accessing native_func.low_level_il[x] repeatedly, all of those are opportunities for you to be getting results from a newer collection of IL function objects. Something that might result in you seeing results from multiple analysis results at once might be low_level_il_func.source_function.medium_level_il, because the original low_level_il might be much older than the new MLIL function object you get.
If you were to restructure your code slightly to hold onto one of the IL function objects and only get access to the other IL forms from that first IL function object I think your issues would go away.
In summary: try to only grab one of the IL functions from the native Function object once. Then get to the other IL forms by jumping directly between the IL functions, not by hopping through the native Function object (which will always give you the latest IL function). Multiple hops between IL functions are also safe: low_level_il.medium_level_il.high_level_il.

I am actually working with the IL function object. I am not repeatedly grabbing it via native function.
But, I do use func_mlil.source_parameters reference for the following situations:

I need to find cross references (call sites) for the func_mlil
I need to inspect list of input parameters to func_mlil
I need to get destination MLIL function object for a call inside func_mlil

It seems, this is where things become flaky?
Is there a way to do 1., 2. and 3. without going back to the native function reference?

Those sound like they should be safe. Going back to the native function object is fine, so long as you don’t use that native function object to go back to the IL functions (since they may not be the ones you came from) in a way that could result in mixing results from IL functions from different analysis updates of the same function.
The rest of this is written assuming that func_mlil.source_parameters there should be func_mlil.source_function.
By 3. do you mean get the MLIL function object for the call target of a call in some function? If so, that should be fine because the concern about mixing results between IL function objects is only relevant within a single function. Also another way to do that via the mlil call instruction directly might be bv.get_function_at(mlil_call_inst.dest.constant) (provided the call target is in fact constant).
So to go back to your original post, this bit stands out: func.medium_level_il.ssa_form[x] resulting in spurious failures. Because the IL function objects don’t change once they’re generated, I’m curious where x is coming from. Normally I’d expect that failing to be a result of getting an instruction index from one IL function object and using it in another accidentally (the most common form of this is accidentally mixing an index from an older IL function object, the underlying function being reanalyzed, then using the index with the most recent version). An index is only valid for the specific IL function object it came from since they’re not intended to be stable across function updates or forms. So if that’s not the problem we might be giving you an invalid instruction index from somewhere else and that’s what we need to chase down.

I tracked the issue down to disappearing MLIL objects:

The corresponding disassembly is there, the low level IL is there, but all of a sudden the MLIL is gone.

That's generally the result of the UI noticing that analysis is in progress and the object isn't ready yet, not that it's gone missing. We generate the ILs lazily on demand because they can be memory-intensive, so generally speaking when navigating to a function in the UI there's simply no IL to display at first.
Once you've got a IL function object that you're using nothing should happen to change it out from under you.
Do you by any chance have a script that can reproduce the behavior you're seeing when run on a sufficiently large binary?

We've been unable to reproduce this and it doesn't sound like there are any other examples that can repro it at this point.
For now we're going to close as "can't reproduce" but definitely feel free to re-open if you see it pop up again or get a good repro.

authors: psifertex rssor wipawel


text:
Value set analysis loses track of stack offset value

Version and Platform (required):

Binary Ninja Version: latest dev (will update this with exact number when I get home)
OS: Linux Ubuntu
OS Version: 22.04 LTS
CPU Architecture: x64

Bug Description:
I have a snippet of code like this:
0x1446f95f1: mov qword [rsp], rbp
0x1446f95f5: sub rsp, 0x40

When the first instruction is executing, rbp contains a certain offset in the current frame:
(f is the function containing this)
>>> f.get_reg_value_at(0x1446f95f1, 'rbp')
<stack frame offset -0x210> # <- this value is important
>>> f.get_reg_value_at(0x1446f95f1, 'rsp')
<stack frame offset -0x250> # <- current stack offset
>>> f.get_stack_contents_at(0x1446f95f1, -0x250, 8)
<undetermined> # <- makes sense, we haven't assigned the value yet

So far, so good, however immediately after the instruction has executed, Binja does not know what is on top of the stack:
>>> f.get_stack_contents_at(0x1446f95f5, -0x250, 8)
<undetermined> # <- this should be "<stack frame offset -0x210>", not "<undetermined>"

This is an issue because later in the function the code restores the rbp and uses it as a base, something like:
mov rbp, [rsp + xxx] # pointing to the same location as above
mov rax, [rbp + 0x30] # Can not resolve where on the stack this points to
jmp rax # destination of this jump unknown even though it's a constant value in reality

Expected Behavior:
I expect the value set analysis to keep track of the register value when pushed on the stack.

Any chance you can share the binary or what the MLILSSA looks like?

MLILSSA looks like this:

I can not share the binary publicly but @fuzyll already have it and I can send it to you on Slack as well.

Apparently I forgot to put it in this issue, but the magic words for finding the binary are "playful brisk dairy sauna".

So I tried this but I can't reproduce the issue. Though I'm getting different values for the stack at location:
>>> f.get_reg_value_at(0x1446f95f1, 'rbp')
<entry rbp>
>>> f.get_reg_value_at(0x1446f95f1, 'rsp')
<stack frame offset -0x10>
>>> f.get_stack_contents_at(0x1446f95f1, -0x10, 8)
<undetermined>
>>> f.get_stack_contents_after(0x1446f95f1, -0x10, 8)
<entry rbp>

I will take a look with the latest binja version and see what results I get. I will get back on this.

Closing this issue as it seems to be resolved

authors: ZetaTwo fuzyll plafosse


text:
Scroll performance on OSX

After installing the current version 1.4.2 on OSX 10.10.2 the scroll performance, even on small files with a few 100 lines of code, slows down significantly. Scrolling is no longer smooth, instead it skips every other line.
PHPStorm 8.0.2 on a Macbook Pro Retina Mid 2014 with GT 750M

Update: this is still present on the lastest PHPStorm 10.x version

I have a bad feeling that this is probably going to be related to natural scrolling or retina, both are really difficult to debug without running OSX.
I am going to be doing a general performance pass in the next release so it might go away, but if its every other line then maybe not :-/

might be related to https://github.com/Vektah/CodeGlance/issues/93

Huge overhaul to give pixel perfect scrolling in 1.5.0. Should be fixed

authors: Vektah ingokasch

repo: Vektah/CodeGlance


text:
chore(dev-deps): update commitlint monorepo to v17.8.0

This PR contains the following updates:

Package
Type
Update
Change

@commitlint/cli (source)
devDependencies
minor
17.7.2 -> 17.8.0

@commitlint/config-conventional (source)
devDependencies
minor
17.7.0 -> 17.8.0

@commitlint/prompt (source)
devDependencies
minor
17.7.2 -> 17.8.0

Release Notes

conventional-changelog/commitlint (@commitlint/cli)
v17.8.0
Compare Source
Note: Version bump only for package @commitlint/cli
17.7.2 (2023-09-28)
Note: Version bump only for package @commitlint/cli
17.7.1 (2023-08-10)
Note: Version bump only for package @commitlint/cli

conventional-changelog/commitlint (@commitlint/config-conventional)
v17.8.0
Compare Source
Note: Version bump only for package @commitlint/config-conventional

conventional-changelog/commitlint (@commitlint/prompt)
v17.8.0
Compare Source
Note: Version bump only for package @commitlint/prompt
17.7.2 (2023-09-28)
Note: Version bump only for package @commitlint/prompt
17.7.1 (2023-08-10)
Note: Version bump only for package @commitlint/prompt

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.2.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

repo: Venatum/bull-board-docker


text:
More support for labyrinth_goal

Currently, the keywords are exactly those KoLmafia understands in the "shadowLabyrinthGoal" property.
KoLmafia has no default for that.  This script has to set that property with a default, since otherwise KoLmafia will stop automation and tell the user to continue in the browser.
Available options:

"muscle", "mysticality", "moxie" - gain 90-100 substats.
"maxHP - 30 turns of Maximum HP +300%
"maxMP - 30 turns of Maximum MP +300%
"resistance" - Superhuman spooky, hot, and sleaze resistance
"effects" - +3 turns to 3 random effects.

We could add a pseudo-option - "mainstat" - which we transform at runtime into "muscle", "mysticality", or "moxie".
We arbitrarily chose "maxHP" as the default for VSR.LabyrinthGoal - the value that will be used if not overriden on the command line.

Perhaps "mainstat" would be better?
Perhaps "effects" would be better? It might even extend Shadow Affinity.

I just made "effects" the default.
I still want a "mainstat" keyword.

Revision https://github.com/Veracity0/shadow-rift/pull/18 adds the "mainstat" keyword.


text:
feat: being able to provide custom main() method for initialization on startup

Description
At the moment Dart Frog provides an own main() method. This causes problems since as a developer I can't run my own initialization on startup. Examples are:

Database migration
One-time-initialization of other packages, such as Reflectable

Requirements

[ ] Being able to provide own main() method
[ ] Or alternative getting some other initialization call on startup

Additional Context
If there are already other solutions for the above two cases, then please let me know

Could this be a function in an _initialize.dart file, kinda like _middleware.dart? That way you dart_frog doesn't have to support a completely custom main(), but you could still inject those types of functions on startup.

Hi @mtwichel,
thanks for your prompt response.
TLDR: _initialize() would definitely help! Having no main.dart file might still cause problems with other packages though.
Having _initialize.dart would definitely already help. There is one drawback though. It seems that some packages, such as Reflectable, only look in main.dart for certain things. At least this is the situation I currently have. I added a fake main.dart file just so that the Reflectable code generator "finds" the file and generates the reflection code for the dart files included from main. When renaming main.dart to e.g. main2.dart, Reflectable will not generate code for it.
This is not really a Frog issue. However, the approach of hiding the main() method might break compatibility with other packages which depend on main being available.
Especially Reflectable is useful in combination with Frog, since it allows setting up a simple ORM system.

I also agree that having an entry point is important -- especially for initializing processes/components that are vital for the server to run properly.  It also makes it easier to handle errors at startup.
Currently, the only workaround is to create a top level variable as suggested in #142. The main issue with such approach is that it makes handling errors difficult/impossible since the error won't appear until that variable is called.

Hi everyone! This is on our roadmap to support very soon. An initial proposal I have is to allow developers to optionally create a main.dart file which contains a run method with the following signature:
import 'dart:async';
import 'dart:io';

import 'package:dart_frog/dart_frog.dart';

FutureOr<HttpServer> run(
  Handler handler,
  InternetAddress ip,
  int port,
) {
  // This will be called on startup and the HttpServer can be configured here.
  return serve(handler, ip, port);
}

Let us know what you think, thanks! 🙏

After being asked on Twitter about this proposal, I would like to add some further insight.
Another use case for a place for initialization code is error monitoring. This is often done by wrapping the entry point with runZonedGuarded and using its error callback to send error reports. This approach is used by Sentry, Datadog, et al.
Also the initialization of those error tracking SDKs needs to be done once at the startup of the server.
As far as I can tell, the approach, as outlined above, works for this use case.

authors: felangel mtwichel osaxma ueman zottel4242


text:
feat: add publishable flag

Status
READY
Description
Adds a publisable flag to the brick which will be used to decide if we will add the pana workflow and the publish_to field to the pubspec.
Fixes #22
Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

Thoughts on also removing CHANGELOG and LICENSE when it is not publishable?

authors: erickzanardo wolfenrain


text:
fix Circle CI build

The ember-try config is actually broken currently which breaks the CircleCLI build…
This also updates the node version used on Circle to 4 from 0.10.

The build is running now but failing. It seems that these failures should be fixed by #341 though. Not sure how you want to handle that (merge this first although the build is failing and then rebase #341?)

@marcoow thanks! I'll merge this now and look at rebasing #341 as you suggest. Thanks for taking the time to update this.

authors: bantic marcoow

repo: Vestorly/torii


text:
record layout test suite

Adds a test suite for record layout.

Runs permutations of targets and tests
Has expected failures for some tests due to various zig/arocc issues, including parser failures.
will error if a test passes when it currently expects to fail
Can run a specific platform/test for local debugging
readme for more info

@TwoClocks I made some adjustments, could you double check that everything looks OK?
Also could we encode the expected compile errors in the test cases somehow or are they expected to change?

@TwoClocks I made some adjustments, could you double check that everything looks OK?

Looks fine. But I'm not sure why you want to ignore warnings? The output isn't/shouldn't be displayed unless the results are unexpected. Are you seeing warnings spitting out?
Also, both pack(32) and pack(0) are valid, but compiler support may differ. pack(0) should behave the same as pack(). The spec just says "small powers of two", but never defines what "small" is.

Also could we encode the expected compile errors in the test cases somehow or are they expected to change?

I've researched most of the errors in the test cases. I believe are all because of issues in arocc / zig #387. As fixes are merged, I'd expect more tests to pass. I'd expect all tests to pass for all platforms error free at some point.
As issues are addressed, it seemed easier to alter the runner than to alter the individual tests, as a single fix might change many tests. But I can put the expected failures in the tests if you feel that's better.

Looks fine. But I'm not sure why you want to ignore warnings? The output isn't/shouldn't be displayed unless the results are unexpected. Are you seeing warnings spitting out?

Are you talking about setting some diagnostics off? Those were there before but weren't specific to the test cases causing them.

Also, both pack(32) and pack(0) are valid, but compiler support may differ. pack(0) should behave the same as pack(). The spec just says "small powers of two", but never defines what "small" is.

What compiler supports pack(32)? Neither clang, GCC or MSVC seem to accept it. Also what about pack(5), pack(3), etc. in test 64?

I've researched most of the errors in the test cases. I believe are all because of issues in arocc / zig #387. As fixes are merged, I'd expect more tests to pass. All tests for all targets should be error-free at some point. As issues are addressed, it seemed easier to alter the runner than to alter the individual tests, as a single fix might change many tests. For example, #381 is causing all targets to fail on 4 tests. But I can put the expected failures in the tests if you feel that's better.

All 980? Must be a lot of duplicates then.

Are you talking about setting some diagnostics off? Those were there before but weren't specific to the test cases causing them.

I was referring to the changes to the test files. I was concerned you were seeing warnings.

What compiler supports pack(32)? Neither clang, GCC or MSVC seem to accept it. Also what about pack(5), pack(3), etc. in test 64?

Clang accepts it.
Clang compiles 0064 w/o error (lots of warnings). Clang is doing record layout w/ those pack values. So while the values might be "invalid" record layout is happening. 0064 is testing that arocc's layout matches Clang's.
The tests do not opine on what correct is. They are just testing that the layout matches the target:compiler.
While working on this I've run many tests through clang/gcc/msvc because I thought the test was invalid. While I have not done this will all the tests/targets, I have done it with many. I have not found a test that clang/gcc/msvc fail.

All 980? Must be a lot of duplicates then.

Yeah. lots of duplicates. I test every combination of test file and target that's valid for a given test. Some tests are specific to MSVC, or SysV-like targets.
You can see from groups of asserts that a large number of targets are expected to be the same for any individual test.
I did not reduce the tests to "indicative" targets for each test because the grouping of results differs greatly across tests. There are targets that are always together across all tests, but not enough to speed up the running time much.
So I  test every perrmutation. I can try to reduce the number of targets if you like.
#381 causes all targets to fail when running test 0064. When it's fixed, I'd expect some subset of targets to pass. Then we'll need to explore the rermaining failures to see if they are a new issue, or an existing one.
This is what I have been doing for months now. Opening bugs, and when you fix them, altering the test results then going to see if the "unmasked" failures are new bugs or dupes. Rinse and repeat.
I'm open to any other process you think would be better.

I was referring to the changes to the test files. I was concerned you were seeing warnings.

There should not be any changes to the test files, I originally modified few but later reverted them.

Clang accepts it. Clang compiles 0064 w/o error (lots of warnings). Clang is doing record layout w/ those pack values. So while the values might be "invalid" record layout is happening. 0064 is testing that arocc's layout matches Clang's.
The tests do not opine on what correct is. They are just testing that the layout matches the target:compiler. While working on this I've run many tests through clang/gcc/msvc because I thought the test was invalid. While I have not done this will all the tests/targets, I have done it with many. I have not found a test that clang/gcc/msvc fail.

What do you mean by accept? For me clang gives a warning about invalid pack parameter and then does not modify the pack value. Either the file should be generated with #pragma GCC diagnostic ignored "-Wignored-pragmas" or those invalid #pragma packs should not be added.

What do you mean by accept? For me clang gives a warning about invalid pack parameter and then does not modify the pack value. Either the file should be generated with #pragma GCC diagnostic ignored "-Wignored-pragmas" or those invalid #pragma packs should not be added.

clang-14 -DONE ./test/records/0064_test.c
This compiles, creates an object file, and no _Static_assert fire.  It does not error. I'd call this acceptance. The test checks arocc produces whatever clang produces.
If you want to make arocc error, while clang just warns, then we can remove that part of the test.

authors: TwoClocks Vexu

repo: Vexu/arocc


text:
1.5.x introduces API breaking changes

Describe the bug
Version 1.5.x is mislabeled. Its version number suggests that there are new features with no breaking API changes. But in fact old code is not compatible anymore.
To Reproduce

Have a flutter project that relies on version 1.3.x or 1.4.x of this plugin.
Run flutter clean, remove the pubspec.lock
Run flutter pub upgrade
See error messages

Expected behavior
The plugin should continue to work with the old code, as it's a minor series upgrade. What is now called 1.5.x should have been a 2.x
Screenshots
None, but changes like https://github.com/VictorKachalov/health_kit_reporter/commit/f08e62901555af0d859ec829bbc682a73ee9d38c#diff-bb8f6fdce8b91b43f4156f21e5fed48f710f08ebaad88347e4b3cc896fdccd6dR167 are likely to have caused the problem.
Desktop (please complete the following information):
All of them
Smartphone (please complete the following information):
All of them
Additional context
Please see https://dart.dev/tools/pub/versioning

Hi @maltemedocs
thank you, makes sense, I will soon publish version 2.0.0 with some other breaking changes.

authors: VictorKachalov maltemedocs


text:
Pathfinding problems with multiple lane roads

I'm finding a problem when using any multiple lane road, almost all cars are refusing to change lanes once they enter the multiple lane section of road. A very small minority are able to change lanes and generally act normally but the majority of vehicles remain stuck on their lanes unable to change lanes to go in a different direction that would get to their destination quicker. This means that I'm ending up with traffic taking extremely circuitous routes or going onto roads not equipped to deal with that level of traffic. I've got a few examples of whats going on in some screenshots below with traffic entering the highways at the highlighted sections (I'm using left hand traffic in my city);

All of these occur when lane connections have been used at one or both of the junctions. As can be seen traffic entering the highways is forced to follow the lane they have entered on and are unable to change lanes and take a faster route to their destination. This is also happening on many of the multi lane city streets as well (I haven't screenshot those as it's harder to see what's going on). Maximising advanced lane selection does not solve the issue, instead cars will spread out and use all of the lanes before all attempting to get back into the same lane as previously. This has all meant that my traffic flow has dropped to about 65-70% rather than the usual 80-85%.

Could you please provide your savegame?

Probably related to #191

So O.k. I had a look at my game and some of the path finds are really weird. Like going from one district to to a neighboring one, but the trucks take a route which is going through another district far away from the ideal route. I would provide my savegame but you would need about 40 GB disk space for assets and at least 90+ GB ram to load it in its current state.

I fixed an error in the cost calculation of the Vehicle AI (see issue #191). If this issue is caused by the same problem then this should also be fixed now.

If this is in the 1.10.10 version its still present on my game I'm using this version actually. Or did I miss an update?

As far I can see in my savegame, the pathfinding works as it should.

Yup the error was fixed alongside #191, it all works as it should, thank you very much.

authors: LordSmeghead SquareBeard VictorPhilipp Videonauth


text:
Entrega de tarea lab 1 y 3 A01748692 Diego Sánchez Valle

Programa de Python

La entrega final de la tarea se encuentra en la carpeta 03 de labs

No fue posible incorporar la entrada de texto por .txt, todo es por la entrada standard de la línea de comandos.

el commit "pass or fail messages" es la entrega final

repo: VictorRodriguez/Computational-Methods


text:
how many bytes overhead for storing one data item?

how many bytes overhead for storing one data item?
for small byte size and for large 64kb byte sizes.
how many additional bytes are needed per entry? Can you please put this as FAQ on front page?
thx

A bit of info https://github.com/VictoriaMetrics/fastcache/issues/13#issuecomment-498747925

fastcache.New accepts maxBytes arg. This is the maximum cache size in bytes. The number of elements is limited by the same maxBytes arg - each element occupies at least len(key)+len(value)+len(header) bytes, where header is per-entry header with non-zero size.
non-zero size is how big? i would like to allocate sufficient space / know how many elements is possible inside the cache.

fastcache.New accepts maxBytes arg. This is the maximum cache size in bytes. The number of elements is limited by the same maxBytes arg - each element occupies at least len(key)+len(value)+len(header) bytes, where header is per-entry header with non-zero size.
non-zero size is how big? i would like to allocate sufficient space / know how many elements is possible inside the cache.

Does bytes below is the header?
var kvLenBuf [4]byte

authors: Cylkal cristaloleg gitmko0

repo: VictoriaMetrics/fastcache


text:
求增加画中画旋转功能

求增加画中画旋转功能 油管有些视频画中画的时候是横向的 如果画中画有可以旋转的按钮就好了

求增加画中画旋转功能 油管有些视频画中画的时候是横向的 如果画中画有可以旋转的按钮就好了

方便加个微信反馈群吗？后续插件会新增部分功能并进行买断制，但反馈的用户都会获得免费使用。微信群

repo: VideoRoll/VideoRoll


text:
Topic/build system

Update to the latest version of Autorevision and clean up the project file.

What is the benefit to moving the stuff out of the project file in to xcconfig files? I like being able to see the current build settings in the xcode UI...

All the setting are still visible in the xcode UI, mostly it is a cleaner way to keep track of changes; among other things changes are not written out in triplicate.

repo: ViennaRSS/vienna-rss


text:
🛑 Rue de la coloc is down

In ee9ea69, Rue de la coloc ($COLOC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Rue de la coloc is back up in 7988ab0.

repo: Vikingfr/upptime


text:
🛑 Rue de la coloc is down

In 2aef448, Rue de la coloc ($COLOC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Rue de la coloc is back up in 9d815ff.


text:
🛑 SCOP276 is down

In f0a1a34, SCOP276 ($SCOP276) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SCOP276 is back up in f0f637e.


text:
Shape from particle.js

Hello,
it's more like a qestion than an issue.
Is there possibility to form a shape from particles using particle.js

Well it will be great if particles could form a shape - like for example - this brain here: http://tomb.pl/projects/thread/images/brain.jpg

You can use CSS with the clip-path property.

authors: SoulDesignerTom bego-mx


text:
Add Project to the List of OS Projects

I have always had a list of random resources that I kept on GitHub as a sort of non-browser specific bookmark list.
Thought it would make a great OS project that anyone could contribute to with their own resources.
https://github.com/saramccombs/dev-resources
While I don't have the time at the moment to add it, I thought I'd create an issue to get it added in case someone has time before I do.
Please tag me as the reviewer should you take on this issue.
Cheers!

This is a great idea! I have a few things in my bookmarks that I could add to this.

Hi @saramccombs I'm happy to take this, it will be my very first issue

authors: saramccombs tkshill vanessacor

repo: Virtual-Coffee/open-source


text:
Add scalafix, remove unused imports

The final solution should be to run ./mill all __. fix.  There is a problem that several modules are compiling to scala 3 and in this version there is no flag -Ywarn-unused yet.
If we run ./mill all __. fix,it tries to run scalafix on all modules in the defined scala version, but there are modules that compile to every scala version, so it throws an error that -Ywarn-unused flag not exists in scala 3.
I haven't found a solution that can easily exclude scalafix from running for modules compiling to scala 3, therefore I created a scalafix () method in which I explicitly run fix() on each module.

I opened https://github.com/VirtusLab/scala-cli/pull/158 with just https://github.com/VirtusLab/scala-cli/pull/148/commits/8cc457c0f688fe7ebf3153c14eeeae0432a285c0. Once it's merged, we can just squash-and-merge the PR here.

authors: alexarchambault lwronski

repo: VirtusLab/scala-cli


text:
Update scalafmt-cli_2.13, scalafmt-core to 3.8.1

About this PR
📦 Updates

org.scalameta:scalafmt-cli_2.13
org.scalameta:scalafmt-core

from 3.7.17 to 3.8.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (3.7.17).
You might want to review and update them manually.
website/docs/reference/cli-options.md
website/docs/reference/scala-command/cli-options.md
website/docs/reference/scala-command/runner-specification.md
website/docs/release_notes.md

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

Blocked by https://github.com/scalameta/scalafmt/issues/3891

authors: Gedochao scala-steward


text:
[Bug] icon name is missing while using customRender

Version
0.18.3
Link to Minimal Reproduction
Link
Steps to Reproduce

open console in the reproduction page
click the third column and they click the forth one.
there first console shows name as undefined and the second one shows and expected.

Current Behavior
icon name is missing in the icon_click event while icon attribute works just fine.
Expected Behavior
icon name is provided just like using icon attribute.
Environment
- OS: Windows 10
- Browser: Microsoft Edge 121
- Framework: React@18

Any additional comments?
No response

codesanbox打不开你的demo 是不是有什么权限

codesanbox 打不开你的 demo 是不是有什么权限

似乎是有点问题，我刚刚修改了一下，麻烦再看看

authors: fangsmile martesi

repo: VisActor/VTable


text:
[Bug] 明细表配置radio column 报错

Version
1.11.1
Link to Minimal Reproduction
https://codesandbox.io/p/sandbox/vtable-export-umd-forked-55p5y4?workspaceId=ca8fcece-a151-491b-9e81-01f767ea3eab
Steps to Reproduce
按照文档配置
Current Behavior
编译报错

Expected Behavior

Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

复现链接没有开通权限

复现链接没有开通权限

已更新

headerType 不支持radio @youhan26


text:
add the LICENSE

no message

submit

repo: VizXu/GobangGame


text:
added next auth secret env variable

NextAuth.js is a library in the front end we use to manage the user session.
According to the docs, a new env variable NEXTAUTH_SECRET is required.

@alexeh I was not sure if we also have to edit the file kubernetes/modules/client/main.tf

@alexeh I was not sure if we also have to edit the file kubernetes/modules/client/main.tf

Whatever you need during image build, needs to be injected via GH. I understand what are you pointing out, actually we think those Kubernetes env vars are not required so once we have time to test it, we are gonna delete them and see if anything explodes

authors: alexeh davidsingal

repo: Vizzuality/landgriffon


text:
Sync fork with upstream

This PR rebases off of strangelove-ventures/lens, and merges changes from main.
This gives us the cosmos-sdk upgrades that we need for https://github.com/VolumeFi/paloma/issues/115

This is ready for review.  There is one remaining bug in that goreleaser fails for darwin_arm64.  This bug is actually present in upstream strangelove-ventures/lens as well.  It can be addressed in a follow-up PR.

Got it. Looks like it wasn't that bad and didn't require extensive refactoring of Matijia's updates. Good news

@ToasterTheBrave do we want to remove the offending goreleaser for darwin here too?

authors: ToasterTheBrave taariq


text:
chore(components): implement new note design

Closes #581

there is an initiative to conduct a convention for how rectangles are designed across the components system (badge, button, nav-item, text field, etc').
I call it appearance model and it features the following predefined categories -

filled
subtle
outlined
duotone
ghost

each of them may require additional subset of states like - idle, disabled, hover, active, selected etc’.
This was never thoroughly progressed by design but is implemented properly in development.
Aligning to that convention by setting the note to a subtle appearance value produces the following

with its current design, the note doesn't fall under any of the available categories in the set. It isn’t really close to any of the above which should raise a flag or at least a discussion.
an natural action should either be creating a new value for a rectangle model (for this new design to fit in), or we align the note to an existing value and change it's new appearance to comply with what is already part of the convention.
Big question is - does its new appearance have any common ground with the rest? was it design arbitrarily? was it designed with the above described convention in mind?
@AyalaBu @rachelbt


text:
Adding reprojection step in calculate_stats if geotiffs' and stats borders' crs don't match; COUNTRY=mozambique

Description
This fixes #1298 by reprojecting MODIS rasters to match the coordinates used by our stats borders.
How to test the feature:

[ ] Open Mozambique and navigate to analysis tab
[ ] Select a MODIS derived hazard layer
[ ] Run analysis
[ ] Verify the stats match what you'd expected based on the raster

Checklist - did you ...
Test your changes with

[ ] REACT_APP_COUNTRY=rbd yarn start
[ ] REACT_APP_COUNTRY=cambodia yarn start
[x] REACT_APP_COUNTRY=mozambique yarn start
[ ] Add / update necessary tests?
[ ] Add / update outdated documentation?

Screenshot/video of feature:

Nice work @gislawill. I think it's probably worth adding a few comments throughout the code to explain what's happening.
I would say though that I am tempted to do the reprojection in the STAC processing functions of our backend. It feels a bit more homogeneous that the .tif users download from PRISM are always using the same projection, i.e. ESPG 4326

And let's add one or two tests around this if possible :)

I would say though that I am also tempted to do the reprojection in the STAC processing functions of our backend. It feels a bit more homogeneous that the .tif users download from PRISM are always using the same projection, i.e. ESPG 4326

Good call, I shifted this functionality over to the generate_geotiff_from_stac_api method and simplified the functionality. Now, if the raster get from STAC isn't in EPSG:4326, we project it to EPSG:4326 using rioxarray as recommended by @lowriech. rioxarray readily handles the sinusoidal projection with the custom transformation needed for rasterio's reprojection.

And let's add one or two tests around this if possible :)

Sure thing, I'll add a couple before raising for review

This is ready for full review @ericboucher and @lowriech

Looks great so far!  Let's talk more about mocking the data, so that we have something static to test on

Looks great so far! Let's talk more about mocking the data, so that we have something static to test on

Thanks @lowriech. I'm curious to hear more of your thoughts on this. I think that we have a pretty static set up currently by using a stored image and mocking all of our s3 calls (here). Curious if you've seen it done differently/better?

authors: ericboucher gislawill lowriech

repo: WFP-VAM/prism-app


text:
Adapt to #41

Remove references to settable HttpOnly as this (no longer?) works in modern browsers https://github.com/WICG/async-cookies-api/issues/41

@craigfrancis does this resolve #41 ?

I can't check on my computer for a couple of days, but that looks about right... thanks for the quick update :-)

Just had a quick look over the repo, and that looks good to me... thanks @bsittler

authors: bsittler craigfrancis

repo: WICG/async-cookies-api


text:
EOPNOTSUPP using raspberry pi I2C interface

I am playing around with an PN532 NFC HAT on a RaspberryPi 3B using I2C. I got everything to compile, but always received EOPNOTSUPP when trying to do anything with the device. The linux example code worked fine.
After some debugging I narrowed the problem down to this line: https://github.com/WMT-GmbH/pn532/blob/25a0e4dc7f21dd59786a96436b5becdc95568223/src/i2c.rs#L64
For some reason, the raspberry i2c (or the implementation from linux-embedded-hal?) does not like the two Read Commands. I changed the code to this:
    fn read(&mut self, buf: &mut [u8]) -> Result<(), Self::Error> {
        let mut kbuf = vec![0; buf.len() + 1];
        let res = self.i2c.exec(
            I2C_ADDRESS,
            &mut [Operation::Read(&mut kbuf)],
        );
        buf.copy_from_slice(&kbuf[1..]);
        res
    }

And with this, everything works wonderfully. The implementation is somewhat ugly because of the temporary buffer and the copying over, but I did not find another way. That said, I am not very experienced with I2C, so maybe I am doing it wrong?
I am happy to provide a merge request if the above solution is acceptable to you.

Hi, thanks for writing and taking the time to analyze this.
From looking at the linux embedded hal crate this could be caused by https://github.com/rust-embedded/linux-embedded-hal/issues/82
Unfortunately we can't use your fix, since vec! won't be available on no_std targets.
Maybe we could look into resolving the linux driver issue instead

While I in principal agree with you that the fix in the linked repo would be right place to fix this. However, this is above my technical abilities and I still need a working solution for my project. So my suggestion is to do a workaround for a moment in this repo. I see two paths:

Extend the static buffer by one byte and read into this, then drop the first byte when doing anything with the data. This is a bit cumbersome in the code right now, but I think could be made to work.
Use conditional compilation (i.e. if no-std is on, use the current code, otherwise use my suggested implementation). I think this is the easiest workaround for now and should not cause further issues, because linux-embedded kinda implies that std is available.

What is your preferred solution? I can try to provide a patch.

Looking further into it there seems to be a fix ready: https://github.com/rust-embedded/rust-i2cdev/pull/85
Maybe you could ask the devs of rust-i2cdev and linux-embedded-hal to publish a new release.
That being said, if you'd like I would accept a PR with your fix gated behind a linux-i2c-compat feature. (that feature would also enable the std feature)
Note that we'd probably remove that fix in a future release, when the upstream crates published new releases

Using linux-embedded-hal = "0.4.0" will pull in i2cdev = "0.6.1" which contains the fix you need.
I'll close this issue but if you encounter further problems, please reach out

authors: SirVer dimpolo


text:
Spelling mistake memeory

memeory should be memory.
https://github.com/codersantosh/ns-theme-check/blob/master/inc/checks.php#L99

@codersantosh This can be closed, we've made some changes to the way we're sniffing stuff so this has been taken care of :)

authors: codersantosh dingo-d

repo: WPTRT/ns-theme-check


text:
Non-Functional Tests ALL

https://github.com/WSUCptSCapstone-Fall2022Spring2023/msft-imagedataprocessing/issues/129
https://github.com/WSUCptSCapstone-Fall2022Spring2023/msft-imagedataprocessing/issues/128
https://github.com/WSUCptSCapstone-Fall2022Spring2023/msft-imagedataprocessing/issues/127
https://github.com/WSUCptSCapstone-Fall2022Spring2023/msft-imagedataprocessing/issues/126
https://gyazo.com/bfc62cd40069fb9f3eedc8bc66f325dd
https://gyazo.com/986672cd91ab955ec1b5a678f99ce109
@zach6215 View links and close this issue. Then I will close the child issues.

Good job


text:
Merge manual prod deployment maptiler update

Problem
Maptiler in the Prod environment has been using Sagging.
Solution
We added Maptiler variable in the manual-deploy-prod.yml file that points to the Prod Maptiler  URL

@Rhipeus, we're unsure how you want to handle your last merge into Master and how to keep it away from Prod.
Let's chat when you have the time.

repo: WSWCWaterDataExchange/WestDAAT


text:
fix(npm-script): npm run build で でsassのコンパイルもする

READMEの通りにすると、sassが生成されなかったので、rootのpackage.jsonの npm run build でsassまで生成するようにしました。
本当はts-nodeでTypeScriptをJavaScriptにする作業を（見た目上）省略できるのが理想だと思いますが、それは私の方で進めようと思います。

@matsuyuki-a
別に compile コマンドは、開発時に sass のコンパイルといった、アセットの生成だけを行う処理が必要で設けていました。
compile を削除して build にまとめた場合、build だとビルドの実行ファイルの生成もあるので時間が掛かる傾向だと思うのですが、 sass のコンパイルだけを行いたい場合はどのように実行しようと考えていますか？

確かに説明不足でした、
コマンドラインで下位パッケージのディレクトリに入り、そこでnpm run compile を想定しています

@matsuyuki-a
なるほど。
npm run start 実行中に sass の変更を反映したい場合は少し手間になりますね。 🤔

cd packages/styles
npm run compile
cd ../engine
npm run deploy

そう考えると、リポジトリの切り方を考えた方がよさそうですね
sassもengineの中に入れちゃうのがいいと思います
理想論で言うと、engineからビューを切り離して、そこにスタイル突っ込むのが理想ですが、そこまでは今は厳しそう

@matsuyuki-a
なるほど。
リポジトリの切り方になってくると別に時間を設けたほうが良さそうなので、ひとまず今の状態で進みましょう。

了解ですー

authors: aokashi matsuyuki-a

repo: WWAWing/WWAWing


text:
Fix Eslint github action

Describe the bug
The Github actions are failing... maybe the plugin is old?
To Reproduce
Steps to reproduce the behavior:

Go to the PRs
Click on a PR
Scroll down to the checks and see the failed check
See an error on hallee/eslint https://github.com/WWCodeTokyo/speak-her-db/actions/runs/3214168172/jobs/5254367000

Expected behavior
Eslint check should run
Screenshots

hallee/eslint is deprecated in favor of https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md

I removed hallee/eslint but still see a failed eslint check. Is this some netlify thing? I can't figure out how to turn it off

@ann-kilzer should we close this issue or do you still want to use eslint at some point?

authors: RageZBla ann-kilzer

repo: WWCodeTokyo/speak-her-db


text:
いいところ診断の結果に優しさを追加したい

以下の結果を追加したい
'{userName}のいいところは優しさです。あなたの優しい雰囲気や立ち振る舞いに多くの人が癒されています。'

こちらから対応します。

repo: Wallacedudu/assessment


text:
Pass chainId to registerRequestHandler

Is your feature request related to a problem? Please describe.
When having multiple EVM chains connected, it is hard to determine which chain to interact with
Describe the solution you'd like
Pass chainId parameter to registerRequestHandler handler function. Since we already have it in _onSessionRequest, it won't be hard to implement.

The following method passes the session topic and request parameters to the handler. It would be nice to also get the chainId
 @override
  void registerRequestHandler({
    required String chainId,
    required String method,
    dynamic Function(String, dynamic)? handler,
  }) {
    try {
      return signEngine.registerRequestHandler(
        chainId: chainId,
        method: method,
        handler: handler,
      );
    } catch (e) {
      rethrow;
    }
  }

Ok but what do you mean by "having multiple EVM connected"? You can not have "multiple EVM chains connected". Your paired session between dapp/wallet always works on the current active chain.

Yes, you can only have one active chain at a time, but you can pass multiple chains as optional namespaces.

Created a pull request that solves this issue

Hello @Rimantovas! Here you can see the PR that would fix your issue! TL;DR: After this PR is merged you will have to handle your methods with onSessionRequest subscription (as it was supposed to be originally but was broken). method handlers registration will still work perfectly but if you want to access the current chainId then  onSessionRequest subscription is your way to go https://github.com/WalletConnect/WalletConnectFlutterV2/pull/269

authors: Rimantovas quetool


text:
Connection is broken after ~1 min of inactivity

The connection is broken after ~1 min of inactivity, and I get some TaskCanceledExceptions in console.
After this, the request is sent to my phone, but the response is not received back.
I am using nuget package version 2.1.0

Can you provide an example that reproduces the issue? Can you provide the full log you get in the console relating to the TaskCanceledExceptions

After this, the request is sent to my phone, but the response is not received back.

Do you mean after you get the TaskCanceledExceptions in the console, you get the request sent to your phone?

Can you provide an example that reproduces the issue? Can you provide the full log you get in the console relating to the TaskCanceledExceptions

I get something like this in the console.

Steps to reproduce the issue:

Scan QR and approve the connection
Wait >1 min (don't make any requests)
Make a request after 1-2 mins
Request is received on my phone
Response is not received back

Do you mean after you get the TaskCanceledExceptions in the console, you get the request sent to your phone?

Yes. I suppose that there are some background tasks canceled or something because of the exceptions and that's why the response is not received.

Same issue here, only see the thread has exited logs. Nothing more.

Closing this as it is a duplicate of #79, let's continue our discussion on that thread.

repo: WalletConnect/WalletConnectSharp


text:
:feat exclude wallet RDNS

Changes
feat: Added a new excludeWalletRDNS param. This array contains RDNS entries for wallet domain names. Previously, developers could not exclude wallets injected from EIP6963. Now, they can add the RDNS names of wallets they wish to filter out.
fixes https://linear.app/walletconnect/issue/APKT-473/customers-cannot-override-6963-to-exclude-non-compatible-wallets

Closing as this is not the ideal solution


text:
🛑 Administrative Portal is down

In f31c860, Administrative Portal ($PROD_ADMIN_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Administrative Portal is back up in 247e2ba.

repo: WalletInc/status


text:
Where can I find the /biobert-pytorch/embedding/getbiovec.sh file?

In the get_embedding_sh function within the pre-processing.py file, the getbiovec.sh file cannot be found. The file is also not located within the biobert-pytorch GitHub repository.

I have the same problem.

Hi,
getbiovec.sh file is the file with disclosed code written in the biobert-pytorch GitHub repository and has been linked in the readme: https://github.com/dmis-lab/biobert-pytorch/tree/master/embedding.
The details are as follows:

If you are willing to cooperate, please feel free to contact me
Warm regards,
Yuchen

repo: WangyuchenCS/scGREAT