text:
Error: Cannot find module 'stylus_plugin'

Apologies if I'm missing something super obvious but it's my first day with webpack (2).
I'm trying to generate css in a single bundle from stylus source. I have an index.styl with @requires and I'm not referencing styles inside any of my JS (yet anyway).
Here is my webpack config, the error I'm getting is Error: Cannot find module 'stylus_plugin'
const webpack = require('webpack');
const path = require('path');
const ManifestPlugin = require('webpack-manifest-plugin');
const ChunkManifestPlugin = require('chunk-manifest-webpack-plugin');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const merge = require('webpack-merge');
const validate = require('webpack-validator');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const postStylus = require('poststylus');
const stylus_plugin = require('stylus_plugin');

const PATHS = {
  build: path.join(__dirname, 'public'),
  js: path.join(__dirname, 'js'),
  css: path.join(__dirname, 'css')
}

const common = {
  entry: {
    login: path.resolve(PATHS.js, './pages/login'),
    home: path.resolve(PATHS.js, './pages/home'),
    vendor: ['dropzone', 'lodash.foreach', 'zepto-modules'] // Switch to auto commons chunks later
  },
  output: {
    path: PATHS.build,
    filename: '[name].[chunkhash].js',
    chunkFilename: '[name].[chunkhash].js'
  },
  plugins: [
    new webpack.optimize.CommonsChunkPlugin({
      name: ['vendor'],
    }),
    new ManifestPlugin(),
    new ChunkManifestPlugin({
      filename: "chunk-manifest.json",
      manifestVariable: "webpackManifest"
    }),
    new ExtractTextPlugin('public/bundle.css')

  ],
  resolve: {
    root: [PATHS.js, PATHS.css],
    extensions: ['', '.js', '.styl']
  },
  module: {
    loaders: [
      { test: /\.js$/, loader: 'babel-loader?presets[]=es2015', exclude: /(node_modules)/ }
    ],
    rules: [{
      test: /\.styl$/,
      use: [
        'style-loader', {
          loader: 'stylus-loader',
          options: {
            use: [stylus_plugin(), postStylus(['autoprefixer'])],
          },
        },
      ],
    }]
  },
  stats: {
    colors: true
  },
  context: __dirname,
  devtool: 'cheap-module-source-map'
};

var config;

// Detect how npm is run and branch based on that
switch (process.env.npm_lifecycle_event) {
  case 'build':
    config = merge(common, {
      plugins: [
        new webpack.DefinePlugin({
          'process.env': {
            'NODE_ENV': JSON.stringify('production')
          }
        }),
        new webpack.optimize.UglifyJsPlugin({
          compress: {
            warnings: true
          }
        })
      ]
    });
    break;

  default:
    config = merge(common, {
      plugins: [
        new CleanWebpackPlugin([PATHS.build])
      ]
    });
}

module.exports = validate(config);

I'm not sure what library is supposed to be exposing 'stylus_plugin' and where I'm going wrong!
My package.json showing the modules I have installed
{
    "poststylus": "^0.2.3",
    "stylus": "^0.54.5",
    "stylus-loader": "^2.4.0",
}

Hey @alexcroox, no worries. stylus_plugin doesn't exist. Its a placeholder example. In use you would replace it with something like poststylus. So you should be able to just drop stylus_plugin and be good to go.

authors: alexcroox mzgoddard

repo: shama/stylus-loader


text:
Replacing Obsolete WWW with UnityWebRequest

Unity is going to replace WWW with UnityWebRequest, they are advising users to use UnityWebRequest in the docs
Obsolete: WWW has been replaced with UnityWebRequest.

Www is supported until unity 2017 starting from 2018 and up you need to use UnityWebRequest.
-this merge will break this asset in unity 2017 and older.
You can say in docs that this asset requires Unity 2018 and up or i can add a condition in the code to check the version of Unity and use the proper API depending on that

We could create an option to use WWW instead on UnityWebRequest, something like .legacyWww(true)

i can update the code like this
#if UNITY_2018_3_OR_NEWER
    private UnityWebRequest www;
#else
    private WWW www;
#endif

That's a better option, great

Great! There's nothing left, right?

yep, that's all

@shamsdev I only changed the lines that needed to be changed, the other changes for some reason are automatically detected by git despite I didn't touch them, maybe its file encoding thing since I use windows vs code.

Same for #13

@Techie-Pi i must pull the new changes in the main repo and push again ?

The simpler option is to fetch upstream when #23 is merged and use something like eclint to fix your local file, that could end with one of the following possibilities:

the unnecesary changes are canceled by upstream and only the relevant ones are left
in this PR everything stays similar to right now with the unnecesary changes, in that case, maybe an exception could be made, and the pull request is merged

An alternative could be to close this PR and add the changes again when #23 is merged, without the unnecesary changes already commited

@khmaies5 I'm going to create soon a PR on your fork fixing the problems, stay tuned

I will close this pull request and wait for your changes and then re submit my changes

Great, I'll ask you to remove the Update-to-UnityWebRequest branch on khmaies5/davinci and create it again.
I'll create a PR with the code changes once the new branch is created on your side

I saw you deleted the branch, now you could fetch upstream and I'll take care of everything else. Thank you so much and sorry for all the inconveniences 😅

@Techie-Pi Not problem dude there is not inconvenience, this is a great asset and its great that is not abandoned.
I created a new pull request #25

Thank you so much!! Really, thank you 😉

source: gharchive/pull-request

repo: shamsdev/davinci

license: MIT

license_type: permissive

license_source: github-api


text:
运行不起来啊...

(env) [root@iZm5edp55jwpn9ovl6hp6aZ radius-1xtest]# ./env/bin/python run.py
Traceback (most recent call last):
File "run.py", line 3, in
from app import app
File "/srun3/www/eduroam/radius-1xtest/app/init.py", line 9, in
from app import views
File "/srun3/www/eduroam/radius-1xtest/app/views.py", line 28
data = request.get_json()
^
TabError: inconsistent use of tabs and spaces in indentation
(env) [root@iZm5edp55jwpn9ovl6hp6aZ radius-1xtest]#

(env) [root@iZm5edp55jwpn9ovl6hp6aZ radius-1xtest]# ./control start
radius-1xtest started..., pid=13906
(env) [root@iZm5edp55jwpn9ovl6hp6aZ radius-1xtest]# ./control status
radius-1xtest is stoped
(env) [root@iZm5edp55jwpn9ovl6hp6aZ radius-1xtest]# ./control stop
./control: line 44: kill: (13906) - No such process
radius-1xtest quit...
(env) [root@iZm5edp55jwpn9ovl6hp6aZ radius-1xtest]#

source: gharchive/issue

license_source: bigquery


text:
zuul, travis, and sauce not playing nice

Current CI builds report as failed, even though they pass locally. Seems to be an integration issue.

zuul no longer has an active maintainer. Consider puppeteer instead?

repo: shannonmoeller/handlebars-layouts


text:
Question about upper bound

Hi sir,
I am an undergraduate at BJUT. I am writing to ask could you please explain what is the "upper bound" of your branch and price model and how do you establish it?
Best wishes,
Liuxin

"Upper bound" means a value that is no less than the optimal value. Generally speaking, any feasible solution value is an upper bound (for minimization problem). Before the solving process, any feasible solution (e.g., obtained by a heuristic) can be regarded as an upper bound. Durting the execution of the branch and price, any identified feasible solution can be used to possibly update upper bound.

Many thanks for your detailed explanation. Could you please explain:

"Before the solving process, any feasible solution (e.g., obtained by a heuristic) can be regarded as an upper bound."

Which way do you use to generate the upper bound before the solving process? Or specifically could you please show which line of codes you set up the initial upper bound?

"During the execution of the branch and price, any identified feasible solution can be used to possibly update upper bound."

Could you please show where you update the upper bound? Sorry for my confusion I cannot find the "upper_bound" tag in the repository.

Many thanks for your time!!!

for a minimization optimization problem, any feasible solution is no less than the optimal value. Also, the procedure to obtain a feasible solution is not necessary before the solving process.
I do not choose to generate an upper bound. In line 125, searchTree,py, I initialize "incumbent", and you can view it as an upper bound. Besides, you can also generate a feasible solution in this line instead of initializing "None" as its intial value.
3-4. In line 157-158 of searchTree.py, any found feasible solution may be the material of the upper bound ("incumbent" in the code)

Thank you!!!
I am searching for the "pattern" of your model. Could you please show which attributes represent the "pattern" for the bin packing problem and how do you establish and update it?

“Pattern” means some items are placed in a bin, e.g., there are 5 items 1-5, and their sizes are 2, 3, 4, 5, 6, the bin size is 8. [item 1, item 2] is a pattern, and [item 1, item 3] is a different pattern. You can also think that its a set of items whose sizes are not greater than the bin's. In the model,  each column of its coefficient matrix is also a pattern. So it may not be apparent in model.
In line 121-122 masterModel.py, we initialize the model with some columns, each representing a pattern in which exact one item is included.

Thank you!!!
I understand that the pattern for a bin is composed of 0 and 1. 1 means pack that item into the bin and 0 means do not pack the item into the bin. Hope my understanding is consistent with your illustration. But I am wondering what is the meaning of "self.x[i] == 1 for i in x_index" in lines 121-122 of masterModel.py; as you said, this is where the pattern is initialized.

Yes, I will give you another example. For an instance with three items, we initialize three patterns (columns) with exact one item: [1, 0, 0], [0, 1, 0] and [0, 0, 1]. Obviously, it's a identity matrix. Therefore, the corresponding constrants are x[1] = 1, x[2] = 1, x[3] =1., which is coded as my programme: x[i] = 1 for i in ....

Thank you!!! You are so nice and the example is very vivid. Could you please show where the coefficient of the combination of different patterns is established and updated?

As I just stated, line 121-122 masterModel.py is the initialization process. When  column generatetion procedure is performed, column (pattern) is iteratively added into the model (line 44 columnGeneration.py, which calls the function add_col in masterModel.py).

Many thanks for your time! That is very helpful!

Hello sir. Sorry for my bother again. If I print the "coe" of the line 44 columnGeneration.py using the provided data.txt, it prints the following:

[[1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0], [1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0]]

[[0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1], [0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0]]

[[0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0]]

Why does it print out nine coe in total, but the optimal and feasible solution finally given is six? Could you please explain what each item in each coe list means?
There are 10 items in the provided data.txt. Why the pattern/column is composed of 13 elements?
Another question is that given the order of the items in the data.txt, since the first item in the first coe list is [1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1], can I add the weight of each item in the data.txt in which its value is 1 and get the sum less than the capacity of the bin?

emmm... how about wechart?

Thank you! My WeChat id is Happyxinxin822

authors: shaoxiang-zheng yangliuxin-nn

license: Unlicense


text:
InlineMarkdownConfiguration does not process new lines

General Information
Render new lines in paragraphs for a specific?(not sure) edge.

Project version:
commit hash: c5f5e3e7d2de5dbccd7756d6b4b3739fdf427c33

Platform/OS version:
MacOS 12.6

IDE version:
Xcode 14.2

Devices:
2017 Macbook Pro

Any related GitHub issues:

Describe the bug
Rendering Paragraph text with  \ new line markers
Steps to reproduce
text\
text2\
text3

Expected behavior
text
text2
text3

Simple Fix, but not sure if holistic enough
InlineStyle.swift
within struct InlineMarkdownConfiguration
starting if condition
if component.content.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
    return result = result + Text("\n")
}

entire var body: some View
elements.reduce(into: Text("")) { result, component in
    if component.content.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
        return result = result + Text("\n")
    } else if component.attributes.contains(.code) {
        return result = result + code.makeBody(
            configuration: .init(code: component.content, font: font)
        )
    } else {
        return result = result + Text(component.content).apply(
            strong: strong,
            emphasis: emphasis,
            strikethrough: strikethrough,
            link: link,
            attributes: component.attributes
        )
    }
}

Hi thanks for this! I’m not sure I fully understand what this is about I’m afraid.
Can you elaborate? Also I’d be happy for you to post a PR and I can take a look at it running, see if I can understand your issue. Thanks.

Hi thanks for this! I’m not sure I fully understand what this is about I’m afraid. Can you elaborate? Also I’d be happy for you to post a PR and I can take a look at it running, see if I can understand your issue. Thanks.

No problem!
I can make a PR too. But essentially, I was receiving text from a server that was adding new lines with this \ notation I believe. The output from the MarkdownView was presenting the response in 1 line instead of multiple lines for instance.
The Document class from swift-markdown was detecting the line range to be > 1 too (used . So I felt this InlineMarkdownStyle was not detecting it.
Confirmed that by doing this:
let doc = Document(parsing: markdown, source: source)
let elements = MarkdownTextBuilder(
    document: doc
).blockElements

content = .init(elements: elements, paragraphSpacing: paragraphSpacing, isLazy: true)

let lineCount = Int(doc.range?.upperBound.line ?? 0)

over here:
https://github.com/shaps80/MarkdownText/blob/c5f5e3e7d2de5dbccd7756d6b4b3739fdf427c33/Sources/MarkdownText/MarkdownText.swift#L19-L23

Posted a PR here https://github.com/shaps80/MarkdownText/pull/7

Right I think I understand now. The underlying library that passes the markdown is provided by Apple so this could be an issue there. My styling library should not be handling these types of details.
I may also be behind in terms of the latest version for the library, so I’ll try updating that and put it on a branch. You can you retest with 👍

Right I think I understand now. The underlying library that passes the markdown is provided by Apple so this could be an issue there. My styling library should not be handling these types of details.
I may also be behind in terms of the latest version for the library, so I’ll try updating that and put it on a branch. You can you retest with 👍

Oh great, thank you! Will look forward to testing it.


text:
Pod not integrating...

Xcode 7.3.1.  Using other pods in the project just fine - added Peek, went through the pod deintegrate, pod install cycle, clean, build.  Everything else works but Peek - window?.peek.enabled = true in AppDelegate fails with Value of type UIWindow has no member peek.
I can see the extension code in pods just fine.  Alamofire and a couple of other pods are working just fine.  Anyone come across this??

Have you possibly forgotten
import Peek

license: mit


text:
Unhandled Exception: PlatformException(Failed to run model, Interpreter busy, java.lang.RuntimeException: Interpreter busy

i am getting this issue while using face mask detection model

I've encountered this exception too but I ignored it since it doesn't stop the runtime. You can view this repo to get some refs. https://github.com/dequilla3/object_detector_tflite.git

I'm also having this same issue

i am getting this issue while using face mask detection model

I'm also having this issue. Have you been able to solve it

I've encountered this exception too but I ignored it since it doesn't stop the runtime. You can view this repo to get some refs. https://github.com/dequilla3/object_detector_tflite.git

Yeah true. Just noticed that too. Ran the model using a button and noticed i was still getting my recognitions


text:
sharding-proxy 连接数太大了 怎么调

官网文档 有这些参数：
ds_2:
    url: jdbc:mysql://192.168.2.186:3306/****?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull
    username: ****
    password: ****
    autoCommit: true
   connectionTimeout: 30000
   idleTimeout: 60000
   maxLifetime: 1800000
   maximumPoolSize: 10

当是源码里我看了 没有这些参数  了：
package io.shardingsphere.core.yaml.sharding;

public final class DataSourceParameter
{
  private String url;
  private String username;
  private String password;

  .....................
}

请问具体的怎么调小点连接数，我看了有100多个连接 ，太多了

just have a look at http://shardingsphere.io/document/current/en/manual/sharding-proxy/configuration/, search proxy.mode

@wanghaoyuissun if you close the issue by yourself, please explain your reason, thank you.

@terrymanu  props:     # MEMORY_STRICTLY: Proxy holds as many connections as the count of actual tables routed in a database.     #                  The benefit of this approach is saving memory for Proxy by Stream ResultSet.     # CONNECTION_STRICTLY: Proxy will release connections after get the overall rows from the ResultSet.     #                      Meanwhile, the cost of the memory will be increased.     proxy.mode:
I want to control the number of initial connections ,Now the initial is the maximum number of connections ,proxy.mode  What do you do

What I downloaded is  https://github.com/sharding-sphere/sharding-sphere-doc/raw/master/dist/sharding-proxy-3.0.0.M1.tar.gz , github is 3.0.0.M2-SNAPSHOT version ,
Do you have a package？

not release yet, will release soon.

authors: terrymanu wanghaoyuissun

repo: sharding-sphere/sharding-sphere


text:
Better type check error messages for expressions involving polymorphic functions

We try to avoid showing constraint-solver error messages wherever we can, because they will probably always be worse than direct type-checker errors. Unfortunately, there are still some cases where they show up. A simplified example looks like this:
>>> fn id(x) = x

  fn id<A>(x: A) -> A = x

>>> 1 meter + id(1 second)
error: Could not solve the following constraints:
  Length / Time = Scalar
.. while trying to infer types in the (elaborated) statement:
  1 metre + id(1 second)

 = Consider adding type annotations to get more precise error messages.

Here, we instantiate id :: T0 -> T0 with a fresh type variable T0, add a Time ~ T0 constraint for the argument, and a Length ~ T0 constraint for the return type. But we fail to stop immediately and instead go into the constraint solver stage where those two constraints are turned into a single Length ~ Time and subsequently into a Length / Time = Scalar dtype constraint, which can not be solved.

This is a highly non-trivial problem, so I'm collecting a few resources:

Getting into the Flow: Towards Better Type Error Messages for Constraint-Based Type Inference, https://arxiv.org/abs/2402.12637
https://ics-websites.science.uu.nl/docs/vakken/mapa/downloads/type-error-diagnosis.pdf
https://www.reddit.com/r/ProgrammingLanguages/comments/i2hfti/comment/g06inhf/

So in the provided example, the goal is to be able to go back and attach the constraint solver error to the + (which must have two arguments of the same type)? Or more concretely, to develop heuristics about which generic parameter unifications should have highest precedence? i.e., that f<A>(x: A) -> A should be solved earlier in the constraint solving process than add<A>(x: A, y: A) -> A because it is “more deterministic” — although I'm having trouble articulating exactly how (bottom up vs. top down?). It seems like one simple heuristic (that needs verification) is that unifying an input generic parameter with an output generic parameter should take higher precedence than unifying two input generic parameters. Perhaps also that constraints should be solved in the order that the expressions would be evaluated (the latest expression to be evaluated should have its constraints’ failures be the ones reported).

repo: sharkdp/numbat


text:
Problem with images convert to video.

I run the following script and it does generate correct number of frames and txt file with list of frames.
BUT during converting to video tries to use wrong path
root@youstreamer:~/recorder# node yo.js
/root/recorder/node_modules/puppeteer-video-recorder/index.js:45
            if (error) throw new Error(error);
                       ^

Error: Error: Command failed: ffmpeg -f concat -safe 0 -i kek/images.txt -framerate 60 kek/1622394592543.webm
ffmpeg version 2.8.17-0ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[concat @ 0x1fcc440] Impossible to open 'kek/kek/images/1622387952383.jpg'
kek/images.txt: No such file or directory

    at /root/recorder/node_modules/puppeteer-video-recorder/index.js:45:30
    at ChildProcess.exithandler (child_process.js:310:5)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)

const puppeteer = require('puppeteer');
const PuppeteerVideoRecorder = require('puppeteer-video-recorder');

const recorder = new PuppeteerVideoRecorder();

function delay(time) {
   return new Promise(function(resolve) {
       setTimeout(resolve, time)
   });
}
(async () => {

  const browser = await puppeteer.launch({args: ['--disable-infobars','--autoplay-policy=no-user-gesture-required', '--start-maximized', '--no-sandbox', '--disable-gpu', '--use-fake-device-for-media-stream', '--use-fake-ui-for-media-stream', '--start-fullscreen', '--window-size=1280,720', '--window-position=0,0', '--user-data-dir=/test', '--autoplay-policy=no-user-gesture-required', '--kiosk', '--hide-scrollbars']});
  const page = await browser.newPage();
  await recorder.init(page, './kek');

  await page.goto('https://meeting.youstreamer.com/webinar/?roomId=serv28b3f5c18c97b0259c53a7eb2132638e6&already=true&displayName=streamer');
  await recorder.start();

  const searchButtonNodeSelector = ".join-button";
  await page.click(searchButtonNodeSelector);
  await delay(10000);

  await page.screenshot({path: 'buddy-screenshot.png'});
  await recorder.stop();

  await delay(3000);

  await browser.close();
})();

Hi Alexander,
It is great to see you are using my package.
It looks like there is an issue with your default / relative output video path.
By default the output folder for the created video is set by this line:
await recorder.init(page, videosPath);
So by default what you send as videosPath
Is where the output video will be created.
If for some reason, the ffmpeg decides to write you videos somewhere else, you can see my file:
https://github.com/shaynet10/puppeteer-video-recorder/blob/main/index.js
And see there,
createVideo
You can override it and change there the default ffmpeg command, to whatever works for you.
Hopefully that it was helpful to you.

same problem, can be fixed with   await recorder.init(page, __dirname + '/kek');

@pashkasan
Thanks for noticing it.
In that case, this issue can be closed.

authors: AlexanderKozhevin pashkasan shaynet10


text:
:custard:

:custard:

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/19175286-custard?utm_campaign=plugin&utm_content=tracker%2F192525&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F192525&utm_medium=issues&utm_source=github).

:sparkles: :cake: :sparkles:

authors: Lukasa shazow


text:
allows user paths for ca_cert verify path

currently you get the following error:
SSLError("bad ca_certs: '~/example.crt'", Error([('system library', 'fopen', 'No such file or directory'), ('BIO routines', 'BIO_new_file', 'no such file'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')],))

Thanks for this!
Can we apply this change to ca_cert_dir as well?

Thank you! :custard:

Now that I think about it, we really don't expand any path settings anywhere else, not sure how to feel about that. :x

authors: Lukasa a-tal shazow


text:
feat: embeddings

Added functionality to get embeddings from Yandex GPT API.  Also added simple example how use it.
Source documentation: https://yandex.cloud/ru/docs/foundation-models/concepts/embeddings
https://yandex.cloud/ru/docs/foundation-models/embeddings/api-ref/Embeddings/textEmbedding

В целом круто, только незначительные правки. Также нужно будет решить конфликты - я сторонник git rebase -i

В целом круто, только незначительные правки. Также нужно будет решить конфликты - я сторонник git rebase -i

Не уверена, что правильно сделала обновление ветки после rebase, прошу проверить повнимательнее. Первый раз такое(

Вроде rebase сделала, но не уверена. Но коммитов тех нет и конфликтов тоже

Вроде rebase сделала, но не уверена. Но коммитов тех нет и конфликтов тоже

Ну они есть ))
Там один добавляет пробелы, а другой убирает, но не критично

authors: himasyuri sheeiavellie

repo: sheeiavellie/go-yandexgpt


text:
DB構成レビュー

確認をお願いしたい資料

ソース 1ファイル

models.py

補足で Google Drive に2ファイル

models.pyメモ → models.pyの整理と忘れそうなことの書き置き
graph-model_v2.0.png → models.pyを元に書き出されたER図

確認してもらいたい箇所

Django内のmodels.pyで独自に定義しているテーブルは4つ

Air Nanitozo Broadcaster Program

その他のdjango.contrib関連のテーブルはDjangoの機能をそのまま利用しているので確認不要

User 及び .authパッケージ → Djangoの認証機能関連

主に使うテーブルはAirとNanitozoの2つ
Air → 放送の記録
Nanitozo → ユーザー毎の放送を聴いた記録
残りのBroadcasterとProgramは追加機能で利用
現時点では取り返しがつかない構成になっていなければOK
Broadcaster → 放送局情報
Program → 番組情報

想定している追加機能

放送局、番組ごとの放送履歴の表示
よく聴かれている放送局、番組を月間・年間で集計

Field Types補足
参考： https://docs.djangoproject.com/en/4.0/ref/models/fields/#field-types

文字列系

CharField：改行しない
TextField：改行したい

めも１
User

last_name（表示名）

django.contrib.auth をそのまま利用している 📝
last_name があると first_name があることを期待しちゃうかも
screen_name とかになっていると自然かなーという気がしました

Broadcaster

share_id（シェア ID）

カラム名 *_id の形式だと、一般的に外部キーを連想しそう

shares みたいなテーブルがあって、それと関連づけるためのカラムかな？って思いそう

radiko 内で使われている識別子なら radiko_identifier みたいな感じでもよさそう
share だけだとこちらのシステム側がシェアする何か、に見える気がする

abbreviation（略称）

半角英数字記号以外も入る？
だとすると文字数の制限をもう少し大きめに取っておくとよいかも

search_index（検索インデックス）

RDBMS でインデックスというと、検索用の機能に感じるので別の名前がよいかも
整形した放送局と番組名、もしくは表記揺れ対応した名前、みたいな感じの方が直感的かも

area（放送対象地域）

20文字超える心配はないです？

keyword（キーワード）

ひとつのカラムに複数のキーワードが入りますか？
ここに入れた値は何に使われますか？

めも2
Program

search_index（検索インデックス）

そもそも整形後のテーブルみたいなものを作ってもいいかもしれない？

broadcaster_id, program_id, 整形された値を持つだけのテーブル
broadcasters と programs にはそれぞれこのテーブルの ID を持つ、みたいな
番組名の変更があったときにもこのテーブルの値を変えればよい

検索インデックスの使い方にもよるので考えてもよさそう

hashtag（ハッシュタグ）

hastags テーブル、program_hashtags みたいな中間テーブルがあってもよさそう
カンマ区切りだと検索や表示、ハッシュタグ名変更するときに大変そう

twitter_id（Twitter ID）

ここはどんな値が入る想定ですか？

Key_station（キー局）

Broadcaster の外部キーになっているが、カラム名が違うので混乱しそう
ネット配信？している場合は何が入るんでしょうか（Null？）

per_week（週何回放送か）

めも3
Air

program, broadcaster

外部キーは一番上に定義するとよさそう、なんとなく（Django だとどうなんだろう）
カラム順も一定のルールに沿って定義すると見通しがよくなるので

share_text（シェアラジオ全文）

ここは文字数制限入れたほうがいい？
どういう内容が入るのかちょっとよくわからなかったので
場合によっては TextField でもいいのかなーとか思ったりしました！

started / ended

ここのカラム名は何かを参考にしましたか？
Django の命名規則がちょっとわからなかったのですが、チュートリアルを見ると _date になっていました
でも日時なのでカラム名が date だけだとなんか物足りないような

air_unique

ある放送局で、同じ時刻に開始している番組は複数ないってことですよね 👀

Nanitozo

comment_open（コメント公開）

comment ってプレフィックス付けているのはどういう意図でしょうか？
たとえばここが False でもいいねは公開される？

文字列系

CharField：改行しない
TextField：改行したい

データベースにどう保存するかと、画面上にどう表示したいかは分けて考えた方がいいかも？と思いました！
文字数を制限した方がよさそうであれば CharField がよいと思いますし、
長文を保存したいときは TextField を使うようにするといいかなーと。
データベースに含まれる改行コードを無視する、
 にするかどうかは View 側で制御できるとよさそう〜。

Broadcaster

[改善] 検索インデックスはカンマ区切りで入ってくると思うので、あとで検索の効率が悪くなるので、別テーブルにするかJSON形式とかにしてデータベースのindexを効かせたほうが良さそうです
[改善] areaは別マスタテーブルで作ってそれを参照するという形が柔軟性があると思いました
[質問] 名前,シェアID,略称でユニーク制約貼っていますが、シェアIDだけではだめでしょうか？放送局を識別するIDが同じで名前が異なるデータがありえますか？

Program

[改善] 検索インデックス,ハッシュタグは上記の通り
[改善] per_weekは別マスタで5,4とかを管理したほうが柔軟に対応できそう。例えば月〜水だけやる番組とかが増えたときに対応が難しくなりそう
[質問] キー局で「ネット放送していない場合は局名を入力」とありますが、ネット放送の場合には Broadcaster が作成されないという認識でしょうか？個人的にはネット放送ありなしで Broadcaster を作る・作らないとするよりもネットもBroadcasterがあるもしくは、それに相当するテーブルがあるという方が自然じゃないかな？と思いました。

Air

[改善] シェアラジオ全文はtext型のほうが良さそう
[質問] 開始日時 が決まってないこと（NULLが入るケース）はありますか？

ユニーク制約を満たせない気がする

[質問] 番組, 放送局はNOT NULL制約入れなくてよい？

Nanitozo

[改善] publishedカラムがあると問題あったときに管理者がすぐ非公開にするという手が使えそう

@shg25 現場からは以上です。何卒

ありがとうございます！
もっとちゃんと補足書いておけばよかった。
追って、その辺も充実させていきます。
以下、回答を一通り記載して、追って問題点をピックアップしようと思います。

めも１
User

last_name（表示名）

django.contrib.auth をそのまま利用している 📝
last_name があると first_name があることを期待しちゃうかも
screen_name とかになっていると自然かなーという気がしました

django.contrib.authのUserテーブルにfirst_nameとlast_nameのカラムが表示用に用意されているので片方だけ使っている状況です。
将来的にユーザー毎に独自にテーブルを用意する必要があればscreen_nameを用意すると良さそうですが、そこは重視しない想定なので、今の形でも良いかなと。
登録時に間違えないようにしないとですが。
一応、管理画面で一覧に表示して気付けるようにはしています。

Broadcaster

share_id（シェア ID）

カラム名 *_id の形式だと、一般的に外部キーを連想しそう

shares みたいなテーブルがあって、それと関連づけるためのカラムかな？って思いそう

radiko 内で使われている識別子なら radiko_identifier みたいな感じでもよさそう

share という単語を見るとこちらのシステム側がシェアする何か、に見える気がする

この項目は、radikoに遷移するURLに含まれる、放送局を指定するための識別子です。
で、完全にご指摘どおりでshare_idは適切ではなく、radiko_identifierが良いと思うので変更します！

abbreviation（略称）

半角英数字記号以外も入る？

マルチバイト文字が入るときのデータベース側の扱いってどうなるんでしたっけ……

マルチバイトが入ったときの文字数のカウントを確認しておくとよさそう

日本語3文字がデータベース側で3文字として扱われるか、とか

もし文字数のカウントが変わるようなら、文字数の制限をもう少し大きめに取っておくとよいかも

半角英数字記号以外も入ります。
特にFMは県名が入るケースが多い。
name→KBS京都ラジオ
abbreviation → KBS
name→K-MIX SHIZUOKA
abbreviation → K-MIX
name→Date fm FM仙台
abbreviation → FM仙台
文字数は、全角の日本語でも20文字登録できたので問題ないのかなとは思います。
放送局の増減自体がレアですが、短縮しようがない異常に長いアルファベットを使った放送局が新設されると怖いところではありつつ。

search_index（検索インデックス）

RDBMS でインデックスというと、検索用の機能に感じるので別の名前がよいかも
整形した放送局と番組名、もしくは表記揺れ対応した名前、みたいな感じの方が直感的かも

プログラムが検索するために使うのであって、ユーザー側の検索機能ではないですもんね。
Programと合わせてformatted_nameにしようと思います。変だったら教えてください。

area（放送対象地域）

20文字超える心配はないです？

ないと思います。
基本的に県名が入り、2県を跨ぐものもあります。
それ以上のものは「関東広域圏」など放送法で規定された表現があるので、このルールを破るケースが出ない限りは大丈夫なはず。
https://dic.pixiv.net/a/関東広域圏

keyword（キーワード）

ひとつのカラムに複数のキーワードが入りますか？
ここに入れた値は何に使われますか？

用途は放送局毎の詳細画面に表示して、放送局のイメージがわくような補足として使うことができればといったイメージです。
複数のキーワードが入ることもありますが、「、」で区切る程度で良いかなと思っています。
と書きつつ、色々回答してる中で、あまり有効じゃない気がしてきた。
もう少し検討してから今後のバージョンで実装しようかと思います。

めも2
Program

search_index（検索インデックス）

そもそも整形後のテーブルみたいなものを作ってもいいかもしれない？

broadcaster_id, program_id, 整形された値を持つだけのテーブル
broadcasters と programs にはそれぞれこのテーブルの ID を持つ、みたいな
番組名の変更があったときにもこのテーブルの値を変えればよい

検索インデックスの使い方にもよるので考えてもよさそう

その方が良さそうですね。検討してみます。

hashtag（ハッシュタグ）

hastags テーブル、program_hashtags みたいな中間テーブルがあってもよさそう
カンマ区切りだと検索や表示、ハッシュタグ名変更するときに大変そう

実況用のハッシュタグなので、1つで良いかなと思ってたのですが、複数使う番組もあるなと。
今後のバージョンに回そうかなと思います。

twitter_id（Twitter ID）

ここはどんな値が入る想定ですか？

番組アカウントのスクリーンネームです。
ということでtwitter_screen_nameが正しいですね。変更します！
share_idに続き、安易に_idを使いすぎてますね。

Key_station（キー局）

Broadcaster の外部キーになっているが、カラム名が違うので混乱しそう
ネット配信？している場合は何が入るんでしょうか（Null？）

ネット局が複数ある場合でも、基本は制作している放送局があるのでそこがキーステーションとなります。
番組内でどこがキーステーションかアナウンスされるケースも多々あり。
稀にキーステーションを特定できない番組があるので、その場合のみnullにします。
nullにする例：地方局が共同制作している『デドコロ』という番組。
https://ja.wikipedia.org/wiki/芸人お試しラジオ「デドコロ」#ネット局
名称は外部キーというのを踏まえて、key_station_idやkey_station_broadcaster_idが適切ですかね？

per_week（週何回放送か）

FloatField になっているのがちょっと気になった

そういうマスタっぽいものを作ってもよさそう？

週1回、週2回、..、月1回、隔月、不定期……みたいな
マスタはテーブルにしなくてもよくて、モデルか設定ファイルに定義してもよさそう

改めて見るとふわっとしてますね。
ここは統計周りで使う考えがあるのですが、本当に適切か微妙なところもあるので、後のバージョンの宿題にしようと思います。

めも3
Air

program, broadcaster

外部キーは一番上に定義するとよさそう、なんとなく（Django だとどうなんだろう）
カラム順も一定のルールに沿って定義すると見通しがよくなるので

了解です！

share_text（シェアラジオ全文）

ここは文字数制限入れたほうがいい？
どういう内容が入るのかちょっとよくわからなかったので
場合によっては TextField でもいいのかなーとか思ったりしました！

radikoのシェアラジオの文言で、以下のようなものです。
オードリーのオールナイトニッポン | ニッポン放送 | 2022/02/05/土  25:00-27:00 https://radiko.jp/share/?sid=LFR&t=20220206010000

TextFieldは改行を許容するのが微妙だったんだけど、そもそも今後改行がありえないわけでもないのでTextFieldにしてしまおうかと思います。

started / ended

ここのカラム名は何かを参考にしましたか？
Django の命名規則がちょっとわからなかったのですが、チュートリアルを見ると _date になっていました
でも日時なのでカラム名が date だけだとなんか物足りないような

これとNanitozoのcreatedとupdatedのカラム名は悩んだところで、
_dateはすっきりしないのと、いくつか技術書を見てもバラバラで。
いっそ馴染みのある、Djangoと関係ない会社のプロジェクトのDBルールと、CakePHPのcreated modifiedと同じこのパターンで揃えてしまおうかなと。
booleanと被って見えるかもなので、_atぐらいはつけたほうが良いかもというのも迷ったところですが。

air_unique

ある放送局で、同じ時刻に開始している番組は複数ないってことですよね 👀

そうです。
現行のfirestoreでは放送局の識別子と開始日時をドキュメントIDにしてたぐらいキーになる組み合わせですね。

Nanitozo

comment_open（コメント公開）

comment ってプレフィックス付けているのはどういう意図でしょうか？
たとえばここが False でもいいねは公開される？

Flase でもいいねは公開され、3種類のコメントにのみ適用されます。
放送中のメモと感想が長文になるケースに利用するイメージです。

文字列系

CharField：改行しない
TextField：改行したい

データベースにどう保存するかと、画面上にどう表示したいかは分けて考えた方がいいかも？と思いました！ 文字数を制限した方がよさそうであれば CharField がよいと思いますし、 長文を保存したいときは TextField を使うようにするといいかなーと。 データベースに含まれる改行コードを無視する、
 にするかどうかは View 側で制御できるとよさそう〜。

了解です。
現状、ユーザーの長文入力を許容したい箇所のみTextFieldにはしているので、今回の指摘で変える箇所はありますが、概ね問題ないかとは思います。

Broadcaster

[改善] 検索インデックスはカンマ区切りで入ってくると思うので、あとで検索の効率が悪くなるので、別テーブルにするかJSON形式とかにしてデータベースのindexを効かせたほうが良さそうです

了解です。
別テーブルにしてみようと思います。

[改善] areaは別マスタテーブルで作ってそれを参照するという形が柔軟性があると思いました

確かに、どうせならしっかりやった方が良いですね。
急ぐ機能ではないので、一旦外して今後のバージョンで対応を考えようかと思います。

[質問] 名前,シェアID,略称でユニーク制約貼っていますが、シェアIDだけではだめでしょうか？放送局を識別するIDが同じで名前が異なるデータがありえますか？

ないです。
自分の知識不足というか、そもそも知識が誤ってる気がしてきたのですが、
ユニークになる箇所はユニークにしておいた方が（なんとなく）良くて、検索を実装する際にも有効という、ふわっとしたイメージを持ってるのですが、絞れるなら1つに絞った方が良いですかね？

Program

[改善] 検索インデックス,ハッシュタグは上記の通り

了解です。

[改善] per_weekは別マスタで5,4とかを管理したほうが柔軟に対応できそう。例えば月〜水だけやる番組とかが増えたときに対応が難しくなりそう

上記で回答した通り、後のバージョンで有効な機能を考えてから入れてみます。

[質問] キー局で「ネット放送していない場合は局名を入力」とありますが、ネット放送の場合には Broadcaster が作成されないという認識でしょうか？個人的にはネット放送ありなしで Broadcaster を作る・作らないとするよりもネットもBroadcasterがあるもしくは、それに相当するテーブルがあるという方が自然じゃないかな？と思いました。

前提としてBroadcasterはProgramに関係なく、radikoで聴ける放送局を全て登録してしまいます。
上記で回答した通り、ネット放送の場合にどこがキーステーションが不明な可能性や存在しないケースがあるので、その場合はNullになります。
Nullの代わりに「その他」「不明」などを用意するという手もありますが、Broadcasterのデータとしては微妙そうな気がします。

Air

[改善] シェアラジオ全文はtext型のほうが良さそう

了解です！
TextFieldに変更します。

[質問] 開始日時 が決まってないこと（NULLが入るケース）はありますか？

ユニーク制約を満たせない気がする

Nullになるケースはないです。
radikoの仕様変更で終了時間が取れないということが起きる可能性はありえると思っていますが、開始日時だけはないと成立しないサービスだと思います。

[質問] 番組, 放送局はNOT NULL制約入れなくてよい？

良いと考えています。
search_indexにヒットしたら自動で登録されるという仕様にしていて、これを必須項目にすると、ヒットしない場合に手動登録をユーザーに強いることになります。
手間も正確性も損なうので、ヒット率が上がるようにできるだけsearch_indexの精度を上げていくという方針で考えています。

Nanitozo

[改善] publishedカラムがあると問題あったときに管理者がすぐ非公開にするという手が使えそう

入れた方がよいですね。
これも後のバージョンで追加を検討します。

ここまでの変更点
カラム名変更

Broadcaster

share_id→radiko_identifier
search_index→formatted_name

Program

search_index→formatted_name

別テーブルにする方針も検討してみる

twitter_id→twitter_screen_name
key_station→key_station_id

もしくはkey_station_broadcaster_id？

その他の変更

Air

programとbroadcasterを上部に移動
share_textをTextFieldにする

別テーブルの方がいいかも？

後のバージョンで検討するもの

Broadcaster

area

別マスタテーブルを含めて機能を検討

keyword

扱いを明確にして実装

Program

hashtag

複数のハッシュタグを想定した中間テーブルの検討

per_week

利用ケースをもっとはっきりさせる
必要に応じて別テーブルを用意する

Nanitozo

publishedカラムで公開非公開の管理

@torinoko @hachi-eiji
以上です！
後のバージョンに回したものはメインの機能ではないところで、改めて見ると「こんな機能あったらいいな」ぐらいの雰囲気で入れてしまっていたもので、もうちょっと具体性を出してから追加したいと思います。

#122 で上記の調整箇所は対応完了

ローカルでDBリセットしてFIXTURE投入 & ログイン & 放送登録 & 何卒 & 放送局詳細表示 & 番組詳細表示問題なし

そういえば #121 も忘れていたので対応

@torinoko @hachi-eiji
対応できていない作業は別のIssueにしました。
移行は進めてしまいたいので、search_index改めformatted_nameは現状のまま進め、追って対応しようかと思います。
判断できていない箇所が1点あるので相談したいのですが、

[質問] 名前,シェアID,略称でユニーク制約貼っていますが、シェアIDだけではだめでしょうか？放送局を識別するIDが同じで名前が異なるデータがありえますか？
ないです。

IDが同じで名前が異なるデータがない場合、ユニーク制約はIDのみにした方が良いでしょうか？

@shg25 @torinoko そうですね。ユニーク制約をつけるときは一意になるものだけ（この場合はシェアID）ではるとよいです。理由としては

indexで使うディスクのサイズが小さくなる→データのinsert, updateの速度に影響してきます。
不正なデータが入るのを防ぐ効果がある

特に2は大事です。もう少し詳細に説明をすると、例えば以下のテーブルがあるとします。
元データ

シェアID
名前
略称

shareId1
名前A
略称A

ここで同じユニーク制約がシェアID,名前,略称とすると

シェアID
名前
略称

shareId1
名前A
略称A

shareId1
名前B
略称B

というデータが作られてしまいます。今回は「放送局を識別するIDが同じで名前が異なるデータは現実世界にはありえない」ということと矛盾してしまいます。なのでユニーク制約はシェアIDのみがよいと思ったのです

@hachi-eiji @torinoko 分かりやすい説明ありがとうございます！
1についてはなんとなくの理解と一致はしていたのですが、2は完全に真逆だと思いこんでました。
カラム毎にユニーク制約をつけることで、以下のように個別にユニークかどうかのチェックが入るみたいな。

シェアIDはシェアIDで被りNG
名前は名前で被りNG
略称は略称で被りNG

ご指摘の通り、シェアID（別の指摘でradiko IDに変更）のみユニークに変更して、1番上に移動します！

残りの疑問点は https://github.com/shg25/rnsite/issues/110#issuecomment-1035176240 で相談してまとめたのでこちらは終了

authors: hachi-eiji shg25 torinoko


text:
Are the sources available?

Are the sources published?  I have two problems with the binaries published.
Mi rc2014 (fpga based) has the AY and the keyboard PPI on the MSX ports. (A0-A1 for AY and A9-AB for PPI)
What assembler yo you use?

Yes, in that a lot of this comes from J B Langston's repository for TMS9918A. The reason that I provided the built examples for the classic and CPM configurations is that I had a lot of trouble building those examples for various reasons and having solved some of the problems I wanted to save others the same pain.
For Mazogs and 3DMM I used Paul Farrow's disassembly. For anything like that where you want keyboard input then it's a bit more than a port change because you'll have to add PPI keyboard scanning rather than reading the serial module.
If there's anything specific that is just a port change, just let me know and I'll provide a build. I use zasm which isn't the most popular assembler. I also have had problems with open-source and tend not to do that.
Your RC2014 sounds more like MSX. Are you using the MSX bios / memory slot switching? ie can you run software built for MSX?

SC2VIEW.COM gives me TMS9918A not found, aborting!, I assume because it's not on the expected port(s). My RC2014 is configured like a ColecoVision, so the TMS is on B0-BF and the AY is on 50-52 (in normal/MSX/CV addressing mode). Any chance of making your binaries support that, and/or providing sources?

Hello Aaron
You're right, it's not finding the TMS on any of the ports it's probing. The trouble is that it's not probing Bx.
When I had my first TMS module it took me months to get it working and one of the problems was in the software - J B Langston's library includes BE in the ports list, in fact that's first. On a cpm machine (which is my preference) that port is used for rom/ram paging and so the probe crashes the machine. So my built binaries don't include that one in the ports list and I encourage the use of MSX ports $98/99 - then my .com binaries will run on both cpm and romwbw machines.
I've attached my source file for sc2view (for you only, it's not intended for publication or distribution, I'd tidy it up a bit if I was going to make it available.)
The part to display the image is very simple. Most of it is parsing the passed filename and loading the image.
You'll see that it includes tms.asm and utility.asm. If you use those files from J B Langston's repository, the resulting program should probe port $be first and find your tms.
If you have trouble building that, let me know and I'll build a version that includes that port in the ports list.
Shiela

On 29 May 2024, at 23:34, Aaron Mavrinac @.***> wrote:
SC2VIEW.COM gives me TMS9918A not found, aborting!, I assume because it's not on the expected port(s). My RC2014 is configured like a ColecoVision, so the TMS is on B0-BF and the AY is on 50-52 (in normal/MSX/CV addressing mode). Any chance of making your binaries support that, and/or providing sources?
—
Reply to this email directly, view it on GitHub https://github.com/shieladixon/RC2014-TMS9918A/issues/1#issuecomment-2138365974, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYNM73Q2OIYWWIBOLUNEKDZEZJVVAVCNFSM6AAAAABDBXPZSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZYGM3DKOJXGQ.
You are receiving this because you commented.

￼

Thanks for the quick reply @shieladixon - unfortunately, it looks like the attachment didn't come through in the GitHub comment or via email. You could send it directly via email (my last name at gmail dot com), for which I'd be grateful!
Regarding the port conflict issue, I'm also using stock CP/M with the standard Pageable ROM module, but I am interested in running unmodified ColecoVision binaries, so here's my hacky workaround in case you're interested:
https://github.com/jblang/TMS9918A/issues/12

@shieladixon I have a "YM2149F/AY-3-8190 Sound card for the RC2014 computer - Revision 6.1" with AY-3-8190, and jumpers set to MSX, does nyan.com should have give me some tunes?
Or any of your other .com files, I'm only getting tunes when using: https://github.com/feilipu/RC2014-YM2149/tree/master with REV5 set to 0.

The nyan demo (and the other demos built for RC2014) will give sound if you're using a sound card on 'RC2014' ports, D8 and D0.  For this you'll need a R5 card and see the documentation for the jumper settings.
It's unfortunate that the R5 card can be jumpered to RC2014 ports, but not MSX, and the R6 card vice versa.
For this reason I've been meaning to add sound card port detection to those programs and rebuild them. Or build alternative versions which are configured to use the sound card on MSX ports.
If you're feeling brave you could reconfigure and rebuild the nyan demo from the source (JBL's repository) but that's no easy task, which is why I have a repository of binaries already built for RC2014  cpm and classic.
Shiela

On 27 Jun 2024, at 21:08, Pax-NL @.***> wrote:
@shieladixon https://github.com/shieladixon I have a "YM2149F/AY-3-8190 Sound card for the RC2014 computer - Revision 6.1" with AY-3-8190, and jumpers set to MSX, does nyan.com should have give me some tunes?
Or any of your other .com files, I'm only getting tunes when using: https://github.com/feilipu/RC2014-YM2149/tree/master with REV5 set to 0.
—
Reply to this email directly, view it on GitHub https://github.com/shieladixon/RC2014-TMS9918A/issues/1#issuecomment-2195586185, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYNM7YK52LUUVA53CZJ33DZJRWNDAVCNFSM6AAAAABDBXPZSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJVGU4DMMJYGU.
You are receiving this because you were mentioned.

Excellent!
The ports are defined in pt3.asm
There's a definition at the top for system, and I notice that the 'WBW' option defines ports as $68 and $60.
However, rather than change those port definitions, I notice that there's an MSX option. I didn't try that but that might be the best option.
I seem to remember that the demo uses (in nyan.asm) a timer which is present in ROMWBW but not cpm/Pro. I had to do a bit of rewriting there so it polled the TMS status register instead.
Good luck.

On 27 Jun 2024, at 22:44, Pax-NL @.***> wrote:
Ah that explains my issues. Thank you for your reply..
I go for the brave option :-)
—
Reply to this email directly, view it on GitHub https://github.com/shieladixon/RC2014-TMS9918A/issues/1#issuecomment-2195710998, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYNM74AAGYMJL2A7IYYCBTZJSBVPAVCNFSM6AAAAABDBXPZSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJVG4YTAOJZHA.
You are receiving this because you were mentioned.

I’m new to RC2014 and Z80 programming and need some help starting.
I read you do not like to publish your sources, and for good reasons.
Therefore I created an email adress: fora.virtueel0p @ icloud.com (remove the spaces) and I’m hoping you could send me the code where you changed the Timer to read TMS status register, which a very elegant solution I may add.
If not that is ok too. I’m reading some threads on Google Groups, hopefully the is something useful there.

authors: Pax-nl ezod rampa069 shieladixon


text:
Elastic search integration test.

Add elastic search simple query test to create index. Update travis settings to install elastic search for integration test.

Coverage remained the same at 100.0% when pulling df1214ebf566d564e3996b344eb16c4ff5b50afa on candasm:integration_tests into 45890883e587e2f458acadc84f03a56668bc2fe3 on shift31:master.

authors: candasm coveralls


text:
Improve experience of make verify

Fixes #453
Changes

Submitter Checklist

[ ] Includes tests if functionality changed/was added
[ ] Includes docs if changes are user-facing
[ ] Set a kind label on this PR
[ ] Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.
Release Notes

/approve

@MayukhSobo Since we get counterfeiter: No such file or directory in the CI. Can you have a look to update the CI config to install counterfeiter so that we can get the verify tests green?

/close
We appreciate the work - it looks like #870 includes this and other fixes to our verify script. Closing this as this PR now conflicts with the main branch.

authors: HeavyWombat MayukhSobo adambkaplan gabemontero

repo: shipwright-io/build


text:
fix: cms search #250

#250 の課題をいくつか修正

Coverage decreased (-0.03%) to 73.54% when pulling e6922a42db5cb7395038d5c4780a7b02d9594cd3 on itowtips:cms-search into f2d3c35d319234085b208050506b3cb791571430 on shirasagi:master.

authors: coveralls itowtips

repo: shirasagi/shirasagi


text:
[fix][gws] #3576 discussion_forum: index order

Coverage increased (+0.01%) to 84.947% when pulling 44cad604b526341505ed5eb65457541daae7d771 on fix-gws_discussion_forum_index_oredr into 2ebefd506e3204327527b2415aa85f880e14dedc on master.


text:
Source code

Hi
How can I deploy this source code ?

Please see
https://developer.ibm.com/in/2017/04/11/building-complex-dialogs-using-watson-conversation/
Note: Watson Conversation is now called Watson Assistant. Also it has a new feature called "Slots" which simplifies building of complex dialog flows. The above article does not have those updates.

authors: medrockstar shivahr

repo: shivahr/flight-booking-chatbot


text:
Update php@8.4

Build php@8.4

:beers: @BrewTestBot has triggered a merge.

repo: shivammathur/homebrew-php


text:
ci: change renovate commit type to "ci"

Please fill in the template below before submitting your pull request. This helps keep a consistent structure for project history.
Metadata

[ ] Feature: a new feature.
[ ] Bug: a bug fix.
[ ] Refactor: a code change that neither fixes a bug nor adds a feature.
[ ] Style: changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.).
[ ] Test: adding missing tests or correcting existing tests.
[ ] Performance: a code change that improves performance.
[ ] Documentation: changes to documentation.
[ ] Build: changes that affect the build system or external dependencies.
[x] CI: changes to our CI configuration files and scripts.

Changes
The Renovate commit type needs to be changed in the "extends" config, not by key.
Checklist

[x] This PR contains only a single concern and is small enough to be reviewed easily.
[x] Documentation for this issue has been added or updated with this PR.
[x] Unit tests have been added, if applicable.

Screenshots
Please include any relevant screenshots if this PR pertains to a visible UI change.
Additional Information
Please include any additional notes you feel are necessary here.

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

repo: shockits/doc-ui


text:
H file missing when compiling shogun

I follow the install manual to compile shogun manually. I'd like to install it in anaconda env, so the following steps were taken.
git clone https://github.com/shogun-toolbox/shogun.git
cd shogun
git submodule update --init
mkdir build
cd build

cmake -DCMAKE_INSTALL_PREFIX=/export/home/zhouxiaocheng/miniconda3/envs/shogun -DPYTHON_EXECUTABLE=/export/home/zhouxiaocheng/miniconda3/envs/shogun/bin/python -DPYTHON_INCLUDE_DIR=/export/home/zhouxiaocheng/miniconda3/envs/shogun/include/python3.6m -DPYTHON_LIBRARY=/export/home/zhouxiaocheng/miniconda3/envs/shogun/lib/libpython3.6m.so -DINTERFACE_PYTHON=ON ..

make

Then, the h file missing error info showed up.
/export/home/zhouxiaocheng/software/shogun/src/shogun/io/fmt/fmt.h:5:10: fatal error: spdlog/fmt/fmt.h: No such file or directory
 #include <spdlog/fmt/fmt.h>
          ^~~~~~~~~~~~~~~~~~

I have no idea how to fix it. Could you do me a favor?

This is probably because the detected compiler is gcc provided by anaconda, which then doesn't lookup for the files in you root directory (it uses /anaconda as it's root), where I assume you have spdlog installed already. Easiest fix is to clean build directory, conda deactivate, rerun cmake and build. If that doesn't work then you should disable the detection of spdlog and let shogun fetch it (to do this you can either remove your local spdlog installation or remove the relevant line in CMakeLists.txt, I would do the former if possible)

Actually, even better, set the CC and CXX compiler variables. In the bash shell you are compiling (before running cmake):
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++

@gf712
The root's gcc and g++ seem very old. Their versions are both v4.8.5, which were reported as broken and disable to compile a simple test program by checking process. You can find the completed log info here.
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ - broken
CMake Error at /export/home/zhouxiaocheng/miniconda3/envs/shogun/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake:53 (message):
  The C++ compiler

    "/usr/bin/g++"

  is not able to compile a simple test program.

As a normal user, it seems to be hard to modify the root gcc and g++. In fact, I have updated the gcc and g++ in my virtual env to v7.* during the more previous try, and there is a conda installing version shogun (No SVMLight() function) in that env. Do these impinge with the correct compiling process?
I don't know which lines are relevant or which files are the local spdlog installation. Could you please provide more details if I have to do so?

Do you know if you have spdlog installed?

@gf712 Yes, if you mean in the anaconda env, but perhaps no, if in the root directory, at least I cannot find it.

That is odd. I just  tried on my machine to compile with the anaconda spdlog and it worked fine...Did you conda install -c conda-forge spdlog in the active conda env?

@gf712
I tried conda install spdlog, and it returned `# All requested packages already installed and the same compiling error occurred. Consequently, I determined to create a new environment because of that the previous multiple tries have inevitably brought some latent barriers against compiling correctly. These are the installation steps.
conda create -n sg numpy cmake spdlog ply ctags swig -c conda-forge
conda activate sg
conda install -c anaconda gxx_linux-64 gcc_linux-64
conda install ply ctags swig -c conda-forge

# Mandatory step, it should be called, or an error requiring root privilege to install eigen3 shows up
conda install -c omnia eigen3
# Both two steps as follows might be needed, if the error reemerges.
conda deactivate
conda activate sg

cmake \
-DCMAKE_INSTALL_PREFIX=/export/home/zhouxiaocheng/miniconda3/envs/sg \
-DPYTHON_EXECUTABLE=/export/home/zhouxiaocheng/miniconda3/envs/sg/bin/python \
-DPYTHON_INCLUDE_DIR=/export/home/zhouxiaocheng/miniconda3/envs/sg/include/python3.8 \
-DPYTHON_LIBRARY=/export/home/zhouxiaocheng/miniconda3/envs/sg/lib/libpython3.8.so \
-DINTERFACE_PYTHON=ON ..

make

Now, the compiling moves on successfully but somewhat slowly (up to 18% for about an hour). Thank you so much for your patience to offer assistance. Please do not close the issue right now, since it may be costing overnight to complete and be safe to use.

you should do parallel compilation btw, make -j NUM_CORES, where NUM_CORES is the number of cores you can use to compile, with make -j4 it should take an hour in total on modern laptop. Also if you are just going to train models, rather than develop the tool, make sure you are compiling in release mode with cmake (you can lookup online how to do that)

Glad it is working now though!

@gf712 Still, the compiling finally failed... My heart broke...
...
/export/home/zhouxiaocheng/software/shogun/build/src/interfaces/python/shogunPYTHON_wrap.cxx:79222:12: warning: 'int BoolVector_setslice(PyObject*, Py_ssize_t, Py_ssize_t, PyObject*)' defined but not used [-Wunused-function]
 static int BoolVector_setslice(PyObject *self, Py_ssize_t ilow, Py_ssize_t ihigh, PyObject* v)
            ^~~~~~~~~~~~~~~~~~~
/export/home/zhouxiaocheng/software/shogun/build/src/interfaces/python/shogunPYTHON_wrap.cxx:6657:20: warning: 'const char* typecode_string(PyObject*)' defined but not used [-Wunused-function]
 static const char* typecode_string(PyObject* py_obj) {
                    ^~~~~~~~~~~~~~~
make[2]: *** [src/interfaces/python/CMakeFiles/_interface_python.dir/shogunPYTHON_wrap.cxx.o] Error 1
make[1]: *** [src/interfaces/python/CMakeFiles/_interface_python.dir/all] Error 2
make: *** [all] Error 2

I have modified the options of cmake and make as you mentioned.
cmake \
-DCMAKE_INSTALL_PREFIX=/export/home/zhouxiaocheng/miniconda3/envs/sg \
-DPYTHON_EXECUTABLE=/export/home/zhouxiaocheng/miniconda3/envs/sg/bin/python \
-DPYTHON_INCLUDE_DIR=/export/home/zhouxiaocheng/miniconda3/envs/sg/include/python3.8 \
-DPYTHON_LIBRARY=/export/home/zhouxiaocheng/miniconda3/envs/sg/lib/libpython3.8.so \
-DINTERFACE_PYTHON=ON \
-DCMAKE_BUILD_TYPE=Release ..

make -j 8

You’re going to have to show the actual error. Can you paste the whole output on pastebin please?

This is the whole output log I can find in the terminal history buffer.

You need to provide the whole output. Just run make -j8 > output.txt and share output.txt. The swig generated file is huge so it will emit lots of warnings.

I just rerun make, and updated the link above. You can see the very whole output here.

Note that if you try to compile shogun in 8 threads, your computer will likely crash ;)

/export/home/zhouxiaocheng/miniconda3/envs/sg/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: /export/home/zhouxiaocheng/miniconda3/envs/shogun/lib/libstdc++.so: undefined reference to aligned_alloc@GLIBC_2.16'Seems like your c++ setup is broken. BTW the error seems to happen when the cpp meta examples are compiled, which happens *after* libshogun itself. Try disabling them-DDISABLE_META_CPP=ON`

It seems like glibc provided by conda is missing some symbols.. Usually you would use the system library on a linux distro(and have an update that, but @Dawntown says he isn't root on the machine)
Anaconda libstdc++.so symbols:
strings libstdc++.so.6.0.26 | grep ^GLIBC_
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.6
GLIBC_2.4
GLIBC_2.3.2

I think you have two options: compile glibc and then add that to your LD_LIBRARY_PATH or use shogun's dev docker image to compile the latest shogun.

In fact, I do have these symbols.
$ strings ~/miniconda3/envs/sg/lib/libstdc++.so.6.0.27 | grep ^GLIBC_
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.6
GLIBC_2.4
GLIBC_2.3.2

I am compiling it again with -DDISABLE_META_CPP=ON. Thanks for your friendly reminding @karlnapf Please don't worry about that, I am working on a computing cluster.

But you will still need the symbols to link libshogun to the python library _shogun.so, no? If not you are probably going to have a runtime error

Compiling was completed, and it can make install smoothly. However, in python, the SVRLight() is still missing...
(sg) [zhouxiaocheng@GPU-P100-2 build]$ python
Python 3.6.10 | packaged by conda-forge | (default, Apr 24 2020, 16:44:11)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import shogun as sg
>>> solver = sg.SVRLight()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'shogun' has no attribute 'SVRLight'

Does that mean the only solution is to install docker? Or how can I link libshogun to the python library _shogun.so?

that is because we use a factory pattern now. sg.create_machine("SVRLight"). Hope it works!

Yes! That works! Thank you very much! @karlnapf @gf712  Do you offer the newest tutorial? I realized that the example I referred to very differs with this version. Thank you again!

you should be able to build the docs locally. You can also look at the examples generated in your build directory build/tests/meta/generated_results/python/

I found it. The examples are located in build/examples/meta/python/. They work very well. Thank you :D

authors: Dawntown gf712 karlnapf

repo: shogun-toolbox/shogun


text:
Invoice mail doesn't add footer

Description: When an invoice is sent directly via the order, the footer that is used for the sales channel is not added to the mail.
Steps to reproduce:

add a sales channel to the settings of a header and footer template
create order in that sales channel
go to the order in the admin and send a document

Expected result:

the mail is sent to the customer with the footer

Actual result:

the mail only uses the text from the template

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-34780.
[created from NEXT-34780, comment 486487]

[public] Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know. Thank you again for your valuable feedback.
[created from NEXT-34780, comment 501183]

repo: shopware/shopware


text:
SW-19299: Fix persisting of existing article entity if only attribute…

…s of articleDetails etc. are changed, but nothing from the article entity itselft.

Description

Questions
Answers

Why?
Saving of ArticleDetails in the backend fails

BC breaks?
no

Tests exists & pass?
no

Related tickets?
n/a

How to test?
Save dimensions of an article only

Requirements met?
yes

Doctrine will only check the owning side of an association for changes:
http://docs.doctrine-project.org/en/latest/reference/working-with-associations.html
So either persist the articleDetails or flush the article entity!

Thanks @ck-1. This will affect the current behaviour of saving articles because only the article will be saved and no other entities will get persisted. Therefore, we'll close this PR.
For more information about our contribution guidelines, see https://developers.shopware.com/contributing/contribution-guideline/.

But this is the current error of the shopware backend. If I change articleDetails only, these changes are not saved. Handing over the article object to the flush method let's Doctrine save the article entity including all related entities, in this case the articleDetails.
This is because Doctrine will only check the owning side of an association for changes:
http://docs.doctrine-project.org/en/latest/reference/working-with-associations.html
So this fix would solve the problem. Or what is your solution so our backoffice could use the backend again?


text:
Add smarty blocks to delivery_information.tpl to make it extensible

1. Why is this change necessary?
You can't really replace/add logic for displaying the delivery time.
2. What does this change do, exactly?
Add several smarty blocks so you can extend those in a plugin or child theme
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
#2199 (was closed cause I was on vacation and couldn't answer in time...)
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-24677
Please use this issue to track the state of your pull request.

Thanks for your Contribution! :blue_heart:

authors: pascalheidmann-bedarf shopwareBot shyim


text:
prevent errors on empty baskets

The payment wall will throw an exception when the basket is empty. You will get some log entries like this one:
PayPal: Could not create payment for plus payment wall due to a communication failure

{
  "message": "Client error response [url] https://api.sandbox.paypal.com/v1/payments/payment [status code] 400 [reason phrase] Bad Request",
  "payload": "{\"name\":\"VALIDATION_ERROR\",\"details\":[{\"field\":\"transactions[0].amount\",\"issue\":\"Amount cannot be zero\"}],\"message\":\"Invalid request - see details\",\"information_link\":\"https://developer.paypal.com/docs/api/payments/#errors\",\"debug_id\":\"63f3caf410ec2\"}"
}

There are many possibilities where this could happen:

session timeout on cart page
user registration without products in cart (fixed in 5.5.9)
payment errors on PayPal

Since there is already a ticket for the PayPal case, it would be nice to fix the error-message for all other occurrences by checking if there is something in the cart.

hey @mnaczenski
thanks for your contribution. I will fix this issue with https://issues.shopware.com/issues/PT-10330 :+1:

authors: mitelg mnaczenski

repo: shopwareLabs/SwagPaymentPayPalUnified


text:
set tcp nodelay for outgoing connections?

I was reading a blog post during my holiday and realized that we set tcp nodelay for client<->shotover connections but we dont set it for shotover <-> DB connections.
Should we?

Yes we should!!
On Thu, Jan 5, 2023 at 11:37 PM Lucas Kent @.***> wrote:

I was reading a blog post during my holiday and realized that we set tcp
nodelay for client<->shotover connections but we dont set it for shotover
<-> DB connections.
Should we?
—
Reply to this email directly, view it on GitHub
https://github.com/shotover/shotover-proxy/issues/985, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACG2BNZR5RPMTZJUJNC6MP3WQ2P5PANCNFSM6AAAAAATRZOARI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I wrote a benchmark that puts shotover as the bottleneck between the client and database.
I observed that:
Removing the client<->shotover nodelay halves our throughput.
Adding a shotover<->DB nodelay drops our throughput by about ~10%
So seems we should just leave it as is.
I am quite puzzled by these results though.

What does it do to latency though?
On Wed, Jan 25, 2023 at 8:06 PM Lucas Kent @.***> wrote:

I wrote a benchmark that puts shotover as the bottleneck between the
client and database.
I observed that:
Removing the client<->shotover nodelay halves our throughput.
Adding a shotover<->DB nodelay drops our throughput by about ~10%
So seems we should just leave it as is.
I am quite puzzled by these results though.
—
Reply to this email directly, view it on GitHub
https://github.com/shotover/shotover-proxy/issues/985#issuecomment-1403181251,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACG2BN5JP5RHUO5VYYRESADWUDGH3ANCNFSM6AAAAAATRZOARI
.
You are receiving this because you commented.Message ID:
@.***>

Tried enabling outgoing tcpnodelay again today, it seems to improve cassandra latency and regress redis latency.
I set a cap to operations per second to avoid the noise I have not yet eliminated from windsock.
redis (left nodelay=false, right nodelay=true)

cassandra (left nodealy=false, right nodelay=true)

We should retry this since the recent performance improvements

I got nagle'd on a hobby project just now and it gave me the insight I needed to know how to proceed here.
We wont see performance improvement on our current integration benchmarks because they are all stress tests.
We are stuffing as much data through 1 or 100 connections as possible.
This wont hit issues with tcp_nodelay enabled since constantly pushing more data in will force the packet out into the network and no delay will occur.
However if we set up a benchmark where we send 1 request every second on a single connection, the latency results of that benchmark should demonstrate tcp_nodelay causing us issues!

This morning I spent some time looking into this.
I set up a benchmark as I described above with 1 small request per second.
However this did not reproduce the issues of nagle's algorithm at all.
Whether i had tcp_nodelay enabled did not affect this benchmark.
And on closer analysis:

Each redis operation has a latency of ~0.6ms.
Each network hop between the 3 EC2 instances takes ~0.15ms.
There are 4 network hops that must be taken: client -> shotover -> redis -> shotover -> client
4 * 0.15 = 0.6 so we can reasonably conclude that all of our time is being taken up by the network hops.

Nagle's algorithm states that small packets should be delayed until we get an ACK back from the server.
So if nagle's was causing issues here we should be seeing 2 extra network hops of latency, giving us a latency of 0.9 ms
So all in all I'm really quite confused why we arent seeing any issues from nagle's algorithm being enabled. :confused:

authors: benbromhead rukai

repo: shotover/shotover-proxy


text:
White screen of death after release mode android

iOS is perfect. But in android after building the app and trying it on android cell phones with the debug mode armv7 it is working perfectly. But the released on after splash screen get a white screen then nothing happens. I tried to search a lot about this issue. But found nothing useful. Because the app is working already on the phone but the release armv7 isnt working. Even after uploading it on the play store and being published the app hangs with a white screen after splash screen. Any tips or hints.
Thanks

Have you uploaded both arm and x86 apks?
On Apr 18, 2016 3:32 AM, "Kegham Karsian" notifications@github.com wrote:

iOS is perfect. But in android after building the app and trying it on
android cell phones with the debug mode armv7 it is working perfectly. But
the released on after splash screen get a white screen then nothing
happens. I tried to search a lot about this issue. But found nothing
useful. Because the app is working already on the phone but the release
armv7 isnt working. Even after uploading it on the play store and being
published the app hangs with a white screen after splash screen. Any tips
or hints.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/shprink/wordpress-hybrid-client/issues/207

I tried to run on the simulator the x86 release apk it did the same white screen after splash. But the x86 debug is working fine on simulator. Exactly the same with armv7. Armv7 debug works great on phone but the release version gets the splash screen then white screen.

You can test the JS in prod mode by running npm run dumpprod then by running it on device. If you have a white screen then you will have some hints on the console for sure.

Thanks yes i had an error and i resolved it. Thanks julien. I can see you are in toulouse. I will be there in aout. Maybe we can meet if we had the chance. (Y) have a great day.

Yes let me know when you are here :)
On Apr 18, 2016 2:31 PM, "Kegham Karsian" notifications@github.com wrote:

Thanks yes i had an error and i resolved it. Thanks julien. I can see you
are in toulouse. I will be there in aout. Maybe we can meet if we had the
chance. (Y) have a great day.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/shprink/wordpress-hybrid-client/issues/207#issuecomment-211358817

authors: keegho shprink

repo: shprink/wordpress-hybrid-client


text:
Non implementable issue checklist

Have a checklist (checkboxes) for things which can't be implemented in
https://docs.google.com/document/d/1vkwy6QE3uWzuDcxC7NfdqbLGKXSgYljT1z9RO91Zrrg/edit
(eg. good method names, good structure)

Maybe similar to https://github.com/shreyassood/CS312_style/issues/23


text:
Using tailwindcss in theme.config.js

Just started to do some basic stuff like logo in the theme.config.js
Having trouble to use tailwind classes that are not used in the default distro.. Some are working with the nx- prefix.
I tried to add tailwind separately, and importing styles.css into theme.config.js, also including theme.config.tsx into tailwind.config.js.
However, is there a guide of how to add additional tailwind, also a hint were very nice. Thanks

Importing into _app.mdx works.

repo: shuding/nextra


text:
Improve formatting (huge empty line)

The formatting is partially broken and needs love.

An introductory sentence + list — the list is too far out after the sentence, i.e. separated by a huge empty line.

Sublists — a sublist is too separated by a huge line that is higher than a normal one.

Paragraphs in callouts — separated by huge line.

@shuding

@shuding

May I suggest a solution vector for the nested lists problem?
ul.mt-6,
ol.mt-6 {
margin-top: 0.6em;
margin-bottom: 0.5em;
}

Ran into this today. In my use case, only the nested lists where the parent has an extra element were affected:
By default, Nextra uses :first-child. And in the case above, the first child is the a element.

Handled by using :first-of-type instead. I added this to my stylesheet:
ul.first\:nx-mt-0:first-of-type,
ol.first\:nx-mt-0:first-of-type {
  margin-top: 0;
}

Before:

After:

authors: ben-z raproid


text:
execution doesn't stop for breakpoints

Hi Shuky,
I'm sorry to bother you again. When I set breakpoints and then tell the debugger to "continue," it finishes the program without stopping. Is this a bug, or am I not using this feature properly? I've also tried "run until cursor,"  but that doesn't seem to do it either.
Thanks,
Jay Davis

same problem, i use chruby
Ruby 2.2.1
Rails 4.2.3
Thx

authors: melihomay planarian


text:
python host 추가 + 영문 readme

python host 마지막 버전부분을 바이너리로 추가해 게임 내에서 python 코드 파일을 로딩하여 사용할 수 있도록 추가했습니다.
추가로 영문 README.md 를 추가했습니다. 위치는 ./resources/README.en.md 입니다.
직접 확인할 수도 있고 기존 README.md 에 링크로 따라갈 수 있도록 정리했습니다.
python 바이너리 양이 많아서 github 이 좀 버벅거리는데 전부 다 볼 필요는 없고
(Runners/Windows 로 시작하는 폴더는 안 보셔도 됩니다.)
구성만 한 번 확인해주세요.
이 PR까지 들어가면 github release 올릴게요.

고럼 요것은 들어갑니다.

repo: shwlee/coin-challenger


text:
Build issue

There's an issue with the Netlify build from Master. It seems to be trying to build a path called /test/ which doesn't exist.
11:49:34 AM: error Building static HTML failed for path "/test/"
11:49:34 AM: See our docs page on debugging HTML builds for help https://gatsby.dev/debug-html
11:49:34 AM:   24 |             type="hidden"
11:49:34 AM:   25 |             id="hidden-input"
11:49:34 AM: > 26 |             value={document.location.href}
11:49:34 AM:      |                    ^
11:49:34 AM:   27 |           />
11:49:34 AM:   28 |
11:49:34 AM:   29 |
11:49:34 AM:
11:49:34 AM:   WebpackError: ReferenceError: document is not defined
11:49:34 AM:
11:49:34 AM:   - TwitterButton.js:26 TwitterButton
11:49:34 AM:     lib/src/components/SocialButtons/TwitterButton.js:26:20
11:49:34 AM:
11:49:34 AM:   - bootstrap:22 c
11:49:34 AM:     lib/webpack/bootstrap:22:1
11:49:34 AM:
11:49:34 AM:   - bootstrap:25 Sa
11:49:34 AM:     lib/webpack/bootstrap:25:1
11:49:34 AM:
11:49:34 AM:   - bootstrap:30 a.render
11:49:34 AM:     lib/webpack/bootstrap:30:1
11:49:34 AM:
11:49:34 AM:   - bootstrap:30 a.read
11:49:35 AM: failed during stage 'building site': Build script returned non-zero exit code: 1

@ThePaulMcBride Yo man, I am completely stumped by this one, do you have any ideas what could be causing it?

The document is not defined part looks like it is probably responsible. I'll take a look at lunch time!

Yep, I just had a quick look there, it's definitely that we are trying to reference document.location in several places. That works for client rendered pages, but at build time, on the server, document doesn't exist. We need a more robust way of getting the url for the current page.
Gatsby uses Reach Router under the hood and I think it will be able to give us the url. I'll have a play later!

Awesome thanks!
On 9 May 2019, 12:00 +0200, Paul McBride notifications@github.com, wrote:

Yep, I just had a quick look there, it's definitely that we are trying to reference document.location in several places. That works for client rendered pages, but at build time, on the server, document doesn't exist. We need a more robust way of getting the url for the current page.
Gatsby uses Reach Router under the hood and I think it will be able to give us the url. I'll have a play later!
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

This seems to be working now. I'd be keen for @rachelfranklin1 to take a look at the sharing buttons to make sure I didn't do anything stupid!

Awesome tested all of the social media and seem to be working fine for me!
Best,
Steven
On 9 May 2019, 20:24 +0200, Paul McBride notifications@github.com, wrote:

This seems to be working now. I'd be keen for @rachelfranklin1 to take a look at the sharing buttons to make sure I didn't do anything stupid!
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

authors: ThePaulMcBride shylands

repo: shylands/climatechoice


text:
Add support for Apple Remote Desktop (ARD)

This adds support for Apple Remote Desktop (ARD) in order to support Apple's screen sharing / remote management feature. This is done by adding support for a username parameter, and RFB protocol version 3.889 and auth type 30.

lgtm, thanks!  You may want to add some tests to help ensure this doesn't get accidentally broken in future.

You forgot to add PyCryptodome also as a new dependency to setup.py as pip install -e . will not install it:

E   ModuleNotFoundError: No module named 'Crypto'

authors: andywgrant pmhahn sibson

repo: sibson/vncdotool


text:
Where should I put the center of image in camera view to align to the mesh ?

I can't understand the part in code and I find it difficult to do mannually.These are blender screen shots.

whenever I try to allign eye,nose and jaw.In camera view face mesh is always wider than the photo.Is the face mesh in the render cropped to fit the photo, or am I missing something ?

The description is not clear. From the output which is rendered by our code, the boundary of the reconstructed face is quite aligned with the input.  If you adjust the output mesh manually, please make sure the pose is right. Also, you can check the FOV you used.

whenever I try to allign eye,nose and jaw.In camera view face mesh is always wider than the photo.Is the face mesh in the render cropped to fit the photo, or am I missing something ?

The description is not clear. From the output which is rendered by our code, the left boundary of the reconstructed face is quite aligned with the input. If you adjust the output mesh manually, please make sure the pose is right. Also, you can check the FOV you used.

whenever I try to allign eye,nose and jaw.In camera view face mesh is always wider than the photo.Is the face mesh in the render cropped to fit the photo, or am I missing something ?

I just use the output obj with camera 10m and focal length 1015mm..I can't allign similar result to the render.Is the face render the same same size as cropped face so they just overlay each other ?In that case how can I output the cropped face image ?

First of all, I am not familiar with the blender. But I want to point that, we used a common simplified camera model setting. The focal in our projection matrix is not equal to the actual focal lens length (mm), you may set the FOV directly if possible. The camera distance is set to 10dm (1 m) not 10 m.

How to convert the focal here to fov degree value ?  Which value should I use for fov ?


text:
⚠ Multimedia BRN has degraded performance

In 56aa0cb, Multimedia BRN (https://mbrn.in/ping.html) experienced degraded performance:

HTTP code: 200
Response time: 16050 ms

Resolved: Multimedia BRN performance has improved in 18df967.

repo: sid-r-singh/status


text:
fix: contrib doc example

Specify that omnictl must be invoked in the infra directory

/m

/m

authors: TimJones cassamajor

repo: siderolabs/omni-docs


text:
Sidkri node status gathering optimization

Changelog

Optimized status refresh speed using promises and async calls (verified with ~65 nodes and measured avg. refresh time of 2.7 sec)
Changed from periodically scheduled refreshes to having a fixed interval between refreshes.  Interval between refreshes is not the sum total of time to refresh and configured interval.  It will vary slightly each iteration and will be relatively longer for a large number of nodes.

Made all requested changes and validated.  Discovered the TX specific boot node URL issue and confirmed that exists in RC as well so its safe to pull this when you give a ship it.

repo: sidkri/azure-quickstart-templates


text:
Reduction op decode issue

The vd_0_res set to vd directly.[1], but according to spike head file[3], should have a process with v_ext_macros.h[2].
[1]https://github.com/sifive/riscv-vector-intrinsic-fuzzing/blob/30a75c61b4678b3f3b029f77b104ca39ddbe7f8c/include/Decode.hpp#L332
[2]https://github.com/riscv-software-src/riscv-isa-sim/blob/eb0a3e2b0a7c57522928be39de95cd9f8c6dc636/riscv/v_ext_macros.h#L612
[3]https://github.com/riscv-software-src/riscv-isa-sim/blob/master/riscv/insns/vredmin_vs.h

According to the rvv intrinsic spec, reduction operator calculate vd[0] = vs1[0] op vs2[*]. So vd[0] = vs1[0] op vs2[0]...vs2[n], the the spike file decoded as vd[i] = vd[i] + vs2[i]. Before the loop, setting vd[0] = vs1[0] will make the loop start with vd[0] = vs1[0] + vs2[0] to get the right value.

repo: sifive/riscv-vector-intrinsic-fuzzing


text:
fix for :value

We really need to figure out a better fix than exhaustively listing the keywords allowed here, but this unblocks a customer.

Pull Request Test Coverage Report for Build 8471218683
Details

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.003%) to 87.81%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/parser/mod.rs
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

tests/sqlparser_bigquery.rs
1
89.29%

Totals

Change from base Build 8331359781:
0.003%

Covered Lines:
20552

Relevant Lines:
23405

💛  - Coveralls

authors: coveralls jmhain

repo: sigmacomputing/sqlparser-rs


text:
drop ES 0.9x support and some more improvements

Most people should already be on the 1.x release and 0.9x metrics aren't
property working. This simplifies the script since 1.x stats are all
backward compatible.
This commit also makes version detection automatic and fixes an issue
with cluster statistics.
Updated the README file while in there.

Seems reasonable.

repo: signalfuse/collectd-elasticsearch


text:
The CLI version of OpenAI's GPTs

The CLI version of OpenAI's GPTs (Agents)
Isn't combining roles and function calls the essence of GPTs?
Why GPTs/Agents
Related functions are grouped together, making them suitable for specific tasks and easy to share.
File Structure
<aichat-config-dir>
└── agents/
    └── agent1/
        ├── functions.json            # Function declarations
        ├── index.yaml                # Agent definition
        └── knowledge/                # RAG Files

Agent definition
name: ''
description:  ''
instructions: ''
variables:
    - name: ''
      description: ''
conversation_starters:
    - ''

CLI
--agent <name>          Select a Agent
--list-agent            List all installed Agents

Chat-REPL
.agent <name>           Enter Agent Mode
.info agent             View the Agent Info
.exit agent             Exit Agent Mode

All .session related command should works with Agent.
Final Thoughts
Everyone is welcome to discuss what's missing and its value.

I think it would be great to have some sort of  memory implementation for RAG on top of the knowledge ingestion.
I would imlement memory as a simple key,value with tag system.
knowledge.yaml
documents: (RAG ingestion)
 - path (dir or file)
 - ...

memory:
  location:
      value: (description of some location)
      tags: birthplace,origin
  character:
      value: Foo is  (detailed character description ...)
      tags: main_character
  backstory:
      file: (path to file for ingestion)
      tags: ...

#579 implment this feature.

AIChat v0.19.0 supports the feature.

repo: sigoden/aichat


text:
Add backlink to Clients SIG roadmap from ROADMAP.md

As discussed in TSC meeting 2023-07-06.

CC @sigstore/core-team just a little quick doc change

repo: sigstore/community


text:
Storing signature in Sonatype Nexus fails

Description
When attempting to use cosign sign, we get the following error:

cosign sign --key cosign.key onprem.nexus.local/crunchydata/crunchy-postgres:ubi8-14.3-0
Enter password for private key:
Pushing signature to: onprem.nexus.local/crunchydata/crunchy-postgres
Error: signing [onprem.nexus.local/crunchydata/crunchy-postgres:ubi8-14.3-0]: recursively signing: signing digest: POST http://onprem.nexus.local/v2/crunchydata/crunchy-postgres/blobs/uploads/: DENIED: Deploying to groups is a PRO-licensed feature. See https://links.sonatype.com/product-nexus-repository

Using cosign v1.11.0
We are using an on-prem OSS instance of Nexus - 3.28.0-01
@Cajga mentioned that he signed off on this integration. May be we are missing something in this use case?

Update: we identified that the docker tag as pointing to a Nexus group docker registry which is read-only by default.
Switching the docker tag to our hosted registry + ensuring that the docker client (using docker login) is logged to that registry solved the problem for us.
So for a Nexus hosted docker registry, the integration IS working as stated.
Though, we are currently investigating if we can add signatures to a Nexus docker proxy registry - that's a rather special use case.

repo: sigstore/cosign


text:
AI: Trigger pre-prod sync after any changes to snapshot/timestamp

Description
This would avoid someone having to manually trigger this workflow, in case snapshot/timestamp was manually triggered
Version

This is already done; I just noticed:
https://github.com/sigstore/root-signing/blob/6f54c16f2cd0ea14e6a71a4dc2856f3f5b73dcf3/.github/workflows/sync.yml#L25
and confirmed it triggered here after a change to snapshot.yml
https://github.com/sigstore/root-signing/actions/runs/3176036178
@jku

repo: sigstore/root-signing


text:
Update cosigned admission controller documentation

Description
Update cosigned admission controller documentation to include ClusterImagePolicy. This should include discrete key and keyless examples.

Picked up by @elfotografo007

@sigstore/codeowners-sigstore-website We could close this issue. We have recently updated the documentation.

repo: sigstore/sigstore-website


text:
藏詞條頁面 ajax url 指錯了

先丟個 issue 怕忘記修 XD

倒爿的ip無閘起來 XDD

改掉了 XD 還好你發現的夠快 XD


text:
Get 从连接池中获取的连接失效

假如连接池初始化后，连接的服务方关闭了，连接池中的所有连接就失效了。
因此，每次调用 Get 方法获取连接池中的一个连接时，需要类似 ping 的检查，失效的时候重新创建连接。
建议：
初始化的时候提供一个 Ping 方法，类似 factory close 的。

取到链接后，是否失效是使用者来判断，而且即便是全部失效，pool中的链接肯定不会主动去生成。
可以优化的一个点就是就是在Get中，判断连接是否失效，这个失效的判断，由使用者实现(将ping暴露出来)

就是这个意思，如果初始化的时候暴露这个口子，就更加通用了。希望您采纳，把 ping 的口子暴露出来，多谢！

也欢迎 pr啊   🤣

也欢迎 pr啊 🤣

我刚改了我本地的代码，如果测试没有问题，就提 pr。

pr 已经提了，后续我会继续关注，如果有任何问题，我再反馈。

@hopehook  nice  👍 👍  晚点我看下

fixed #6

将ping方法放在Get这里，为了高效，可能并不太合适，也并没有解决 #7  这个问题，这个待商榷

1 关于 Ping
这个 ping 本身不是强制的, 如果有这个机制支持, 是可以解决这个问题的.
(当然, 会影响连接池的高效, 连接池的目的就是避免 tcp 3 次握手, 4 次挥手的代价. 而 ping 在这里实际上也是一个报文, 会有 2 次数据传输交互的开销)
2 关于 Connect
为了高效, 和在 thrift 中使用连接池, 我多加了这个 Connect 方法, 解决了我碰到的连接失效的问题, 也解决了高效的问题.
我也看过您关于 thrift 连接池的博文, 好像最后没有解决这个问题. 我把自己处理的方式, 写在博文里面了,
您看看, 交流交流. (http://hopehook.com/2018/09/17/golang_thrift_client_pool/)

1、ping这个方法没有问题，在使用时检测连接是否有效 有时候也是需要的，只是我觉得，这个判断的操作应该放在用户端，像你封装的这个Call
2、看了下你这个处理，通过maxBadConnRetries，alwaysNewConn 控制 这个学习了

1、ping这个方法没有问题，在使用时检测连接是否有效 有时候也是需要的，只是我觉得，这个判断的操作应该放在用户端，像你封装的这个Call
2、看了下你这个处理，通过maxBadConnRetries，alwaysNewConn 控制 这个学习了

所以 Ping 这个方法我没有暴露出来, 不是强制的. (如果您觉得多余, 移除也是没问题的)
maxBadConnRetries，alwaysNewConn 控制这个实际上是借鉴的 golang 标准库的做法,
目前处理这种连接失效的最好做法可能就是调用失败的时候, 重试, 重试失败的时候重新建立连接.

个问题. 我把自己处理的方式, 写在博文里面了,
您看看, 交流交流. (http://hopehook.com/2018/09/17/golang_thrift_client_pool/)

http://hopehook.com/blog/golang_thrift_client_pool 最新链接,原链接失效了

authors: achst hopehook ltinyho silenceper

repo: silenceper/pool


text:
User Group Policies for Authorization Services

This PR adds new functions to Create, Update and Delete User and Group Policies in the authorization services

Indeed, they are not in the official API reference doc.
I found them here: https://www.puppeteers.net/blog/keycloak-authorization-services-rest-api-paths-and-payload/
As said by the authro of the article:

This article shows how to manipulate authorization data for a Keycloak client using the Keycloak Admin REST API. This use-case is particularly "lightly documented", meaning that there used to be zero documentation about this topic. Unless, of course, you count use of tcpdump and browser developer tools as documentation.

Thanks, I'll merge this change now.
I usually try not to release to NuGet after every merged PR, and instead try to bundle a few changes together. Are you intending to open any additional PRs after this one, or should I prepare a release?

@sps-campbellwray can you please release package with thouse changes?

@Fildrance yes, I will do so now.


text:
cuda out of memory when producing various sizes of imges

Describe the bug
A clear and concise description of what the bug is.
If I use onediff to create a bunch of images with different sizes, it's very easy to get cuda out of memory. The original diffusers implementation doesn't have this problem.
Your environment
OS
ubuntu
pytorch-lightning                 1.4.2
torch                             2.1.0
torch-fidelity                    0.3.0
torchaudio                        2.1.0
torchmetrics                      1.0.2
torchvision                       0.16.0
diffusers                         0.26.2
Python 3.10.9
OneDiff git commit id
version: 0.9.1.dev20240413+cu118
git_commit: 67341c9
cmake_build_type: Release
rdma: True
mlir: True
enterprise: False
OneFlow version info
Run python -m oneflow --doctor and paste it here.
How To Reproduce
Steps to reproduce the behavior(code or script):
import time
import torch
from diffusers import AutoPipelineForText2Image, AutoencoderKL, StableDiffusionXLPipeline, DPMSolverMultistepScheduler
from onediff.infer_compiler import oneflow_compile
model_path = '../models/Stable-diffusion/sd_xl_base_1.0'
vae_path = '../models/VAE/sdxl-vae-fp16-fix'
vae = AutoencoderKL.from_pretrained(vae_path, torch_dtype=torch.float16)
pipeline = StableDiffusionXLPipeline.from_pretrained(model_path,
torch_dtype=torch.float16,
vae=vae,
variant="fp16",
add_watermarker=False).to('cuda')
pipeline.scheduler = DPMSolverMultistepScheduler.from_config(pipeline.scheduler.config, use_karras_sigmas=True)
pipeline = compile_pipe(pipeline)
print("unet is compiled to oneflow.")
pipeline.unet = oneflow_compile(pipeline.unet)
print("vae is compiled to oneflow.")
pipeline.vae.decoder = oneflow_compile(pipeline.vae.decoder)
prompt_lst = [
"Self-portrait oil painting, a beautiful cyborg with golden hair, 8k",
"picture of elf,an extremely delicate and beautiful face,in the forest",
"(((cute anime rabbit))),bunny,chinese new year,year of the rabbit,sharp focus,perfect composition,volumetric lighting,dynamic",
"A cyberpunk city,by Qibaishi,ink wash painting,perfect composition",
"The streets of a beautiful Mediterranean town with many tourists,masterfully composed",
"Water color, Switzerland, skiing, glass house, morning, cableway",
"Blue sea, beach with few coconut trees, less people and water houses on the beach",
"Cyberpunk Oriental Myth future world Miracle forest Sunshine Colorful Clouds Wizard of Oz Flying Birds Green Light",
"Girl, stunning face, cartoon style, dynamic lighting, intricate details",
"A group of adult women are walking, petals fall from the sky, 1080p, dense forest, sun through the shade of the tree, a child is running, big vision, photography"
]
sizes = [1024, 1152, 1360, 1536]
for i, prompt in enumerate(prompt_lst):
for h in sizes:
for w in sizes:
s = time.time()
images = pipeline(prompt=prompt,
guidance_scale=8.0,
num_inference_steps=30,
num_images_per_prompt=1,
width=w,
height=h).images
print('text2img', time.time() - s)
print(images)
torch.cuda.empty_cache()
        total = torch.cuda.get_device_properties(0).total_memory / 1_000_000_000
        r = torch.cuda.memory_reserved(0) / 1_000_000_000
        print(f'available cuda memory ={total - r} GB')

The complete error message
terminate called after throwing an instance of 'oneflow::RuntimeException'
what():  Error: CUDA out of memory. Tried to allocate 3.1 GB
You can set ONEFLOW_DEBUG or ONEFLOW_PYTHON_STACK_GETTER to 1 to get the Python stack of the error.
Stack trace (most recent call last) in thread 26504:
Object "/home/ubuntu/aidazuo/dazuovenv/lib/python3.10/site-packages/oneflow/../oneflow.libs/libonefl
ow-f7b6ba13.so", at 0x7faba720dce7, in
Object "/home/ubuntu/aidazuo/dazuovenv/lib/python3.10/site-packages/oneflow/../oneflow.libs/libonefl
ow-f7b6ba13.so", at 0x7faba720d55c, in
Object "/home/ubuntu/aidazuo/dazuovenv/lib/python3.10/site-packages/oneflow/../oneflow.libs/libonefl
ow-f7b6ba13.so", at 0x7faba7208dd8, in vm::ThreadCtx::TryReceiveAndRun()
Object "/home/ubuntu/aidazuo/dazuovenv/lib/python3.10/site-packages/oneflow/../oneflow.libs/libonefl
ow-f7b6ba13.so", at 0x7faba71ab574, in vm::EpStreamPolicyBase::Run(vm::Instruction*) const
Object "/home/ubuntu/aidazuo/dazuovenv/lib/python3.10/site-packages/oneflow/../oneflow.libs/libonefl
ow-f7b6ba13.so", at 0x7faba71ae877, in vm::Instruction::Compute()
Object "/home/ubuntu/aidazuo/dazuovenv/lib/python3.10/site-packages/oneflow/../oneflow.libs/libonefl
ow-f7b6ba13.so", at 0x7faba7235bcf, in vm::FuseInstructionPolicy::Compute(vm::Instruction*)
Object "/home/ubuntu/aidazuo/dazuovenv/lib/python3.10/site-packages/oneflow/../oneflow.libs/libonefl
ow-f7b6ba13.so", at 0x7faba71ae877, in vm::Instruction::Compute()
Object "/home/ubuntu/aidazuo/dazuovenv/lib/python3.10/site-packages/oneflow/../oneflow.libs/libonefl
ow-f7b6ba13.so", at 0x7faba71b5c58, in vm::OpCallInstructionPolicy::Compute(vm::Instruction*)
Object "/home/ubuntu/aidazuo/dazuovenv/lib/python3.10/site-packages/oneflow/../oneflow.libs/libonefl
ow-f7b6ba13.so", at 0x7faba71b5929, in
Object "/home/ubuntu/aidazuo/dazuovenv/lib/python3.10/site-packages/oneflow/../oneflow.libs/libonefl
ow-f7b6ba13.so", at 0x7faba71b0a7a, in
Object "/home/ubuntu/aidazuo/dazuovenv/lib/python3.10/site-packages/oneflow/../oneflow.libs/libonefl
ow-f7b6ba13.so", at 0x7fab9e994d3c, in
Additional context
Add any other context about the problem here.

VAE compile takes a lot of mem for the moment. Please avoid this at current versioin.
# pipeline.vae.decoder = oneflow_compile(pipeline.vae.decoder)

when using with compile_pipe
pipe = compile_pipe(pipe, ignores=("vae")

I met this problem in the stable diffusion webui extension too. How should I avoid this?

I met this problem in the stable diffusion webui extension too. How should I avoid this?

Please update oneflow to have a try. We have made some fix on this.

authors: Cherwayway MikeHanKK strint

repo: siliconflow/onediff


text:
Add an option to customize the "know more" link text

Hi, I have added a new option to the plugin so it is possible to customize the message of the "En savoir plus" link. It always showed up un french, and the only way to change it was to override the buildAlert method through the prototype. No need for that with this new option.

Hello @ablanco
We have forget that, taht you for your PR :)

authors: ablanco flexbox

repo: siliconsalad/jquery-cookie-alerter


text:
fix integration tests

should close #709

While we're in here, I suggest changing the job name on line 47 from ... on ${{ vars.TEST_SERVER_HOSTNAME }} to ... on ${{ inputs.environment }}, because vars.TEST_SERVER_HOSTNAME is apparently inaccessible at the time the job name is being calculated and is returning an empty string.

Tests are now running, and all problems from https://github.com/sillsdev/languageforge-lexbox/issues/709 are now solved. Marking as ready for review.

@myieye - Looks like I should ask you for a review in addition to my earlier one, since both Kevin and I have worked on this.

@hahn-kev - Want to throw an approval on this before you go to bed, so I can get it merged in today? I'll make sure Tim's okay with it too, of course.

authors: hahn-kev rmunn

repo: sillsdev/languageforge-lexbox


text:
Enabler to make scripts loaded from CDN more secure

This adds the possibility to set an integrity hash for the script tag that is e.g. used by the mermaid plug. If properly used, this will prevent manipulated CDN sources from being loaded into silverbullet.

Nice!

authors: gorootde zefhemel

repo: silverbulletmd/silverbullet


text:
Find and Replace Highlight colors

First, hi, awesome theme you make.
I updated today to version 1.2.0, and notice that the white border that before highlight the words was replace with a teal tone.
It's so subtle that is difficult to know where the words are.
I suggest a color picker to the border color on highlight words with "Find and Replace" ctrl+f
Regards,

Hi @cumanacr,
The highlight color is determined by the base color you picked in the theme's settings. Could you share a screenshot so I can take a better look?

Hi @silvestreh,
Here is the screenshot, looking for the word "pea" as you can see at line 3 there is a border white result, which is the one I am currently selecting, the others have teal borders, before the update, all results have white borders and teal color inside and it was easier to identify.
Sorry for the late response, I hope you can check this out anyway.
Regards

I fixed this in 1ed42fe7471bab9570ad43bcf5ce53139b1372f8. I still haven't published the update to APM though.

Way better, I changed it manually, thank you very much

authors: cumanacr silvestreh

repo: silvestreh/atom-material-ui


text:
Support ellipsis to reach scalar from spech5 datasets

This PR allow to use [...] or [()] to reach a scalar value, while .value is deprecated.
I am using [...] for scalar in h5py.Dataset, and the h5py documentation contains:

To retrieve the contents of a scalar dataset, you can use the same syntax as in NumPy: result = dset[()]. In other words, index into the dataset using an empty tuple.`

Here is the result:
In [1]: import silx.io

In [2]: a = silx.io.open("../data/SpecFile/nofhdr.dat")

In [3]: a["1.1/title"][()]
Out[3]: '1  ascan  ss1vo -4.55687 -0.556875  40 0.2'

In [4]: a["1.1/title"][...]
Out[4]: '1  ascan  ss1vo -4.55687 -0.556875  40 0.2'

HI. Do you try it using h5py or spech5?
Cause we have to mimick the h5py API. Then i do some tests and on my side it is a little different than what i expect (maybe the version of h5py? mine is 2.6.0):
In [3]: import h5py
In [4]: import numpy

In [5]: a = h5py.File("aaa", "w")
In [7]: a["data"] = numpy.string_("abcdef")

In [8]: a["data"][1]

ValueError: Illegal slicing argument for scalar dataspace

In [9]: a["data"][0]

ValueError: Illegal slicing argument for scalar dataspace

In [10]: a["data"][:]

ValueError: Illegal slicing argument for scalar dataspace

In [13]: r = a["data"][()]
In [14]: r, type(r)
Out[14]: ('abcdef', numpy.string_)

In [15]: r = a["data"][...]
In [16]: r, type(r)
Out[16]:
(array('abcdef',
       dtype='|S6'), numpy.ndarray)

Then only ... and () are allowed, but ... returns an array while () returns the numpy data. The result with a float is the same.

I apply your patch.
If i take take to refactor a common dataset from spech5 and fabioh5, i will add some tests to check the H5py dataset API for this cases, in order to check that the h5py API is stable.

There is already a cube icon which is almost the same as the view-3d icon. I think we should avoid duplicated icons. You can update replace the cube icon (and its derivatives) with the view-3d icon.

I reuse your cube and your orange style, but optimized for a 16px rendering. Will the aim of the icon is not the same, i think it is better to have 2 different icon name.

We've discussed that, but do we want to move widgets displaying data in a different package from widgets? (Not sure)

We can talk about it at a meeting. I create the issue https://github.com/silx-kit/silx/issues/475. It is not needed to aswer now, but it would be nice to decide it before 0.4 release.

Also to discuss, do we want to 'enforce' prefixing all getters with get for widgets for any new API?

We said that it is better if you want to provide a Qt-property, but we do not enforce anything as i remember.

repo: silx-kit/silx


text:
fix new pylint errors

The latest pylint version introduced new checks (notably possibly-used-before-assignment) which some parts of our code did not satisfy. This PR fixes the corresponding code segments to pass all pylint checks again.

Aside from Jonas notes this LGTM.

repo: simbricks/simbricks