text:
Release 8.15.1 not published

Context 🕵♀
I am looking to add support for XCLocalSwiftPackageReference in my tool
What 🌱
This release is mentioned in the changelog, but it is not published on GitHub in the form of a tag or release.
Proposal 🎉
Please publish this release, so I would not have to pin my tool to a branch or commit.

+1 to this!

Resolved with 8.16.0

authors: jsorge mikeger

repo: tuist/XcodeProj


text:
Document the possible values for the state of a consumer group

It took me quite a while to understand that non-existing consumer groups aren't reported as non-existing (no value), but rather come as a group with the literal value 'Dead'. The Kafka protocol documentation doesn't say that clearly either, but luckily I found a unit test inside KafkaJS that explicitly described the case.
This PR then adds the actual possible values for the consumer group state as a type, so that anyone else trying to work with them gets a headstart :)
Note that I suspect Kafka could introduce new states, and these new states would appear then as values as well. From a typing view that "sucks", as the compiler wouldn't be able to notice the problem.
But, any code written would need to learn about any new state as well, and could temporarily cast the state property back to string until KafkaJS would follow such a hypothetical change.

I agree that having to update the type definition when kafka adds new states sucks, but I definitely see the value in having this as a string literal type just for the purposes of documentation. I had to do the same digging when writing some healthchecks that used the consumer group state, so it'd be good for people to not have to do that anymore.

source: gharchive/pull-request

authors: Nevon ankon

repo: tulios/kafkajs

license: MIT

license_type: permissive

license_source: github-api


text:
The client no longer receives the message after a period of listening

I'm facing a problem that my bot keep listen 24/24, when i start the script, it worked perfectly but after a period of time (few hours, may be), it still running, however when someone send a message, it do not received any thing.
Can someone please tell me what i am wrong?

Same did happen for me. I ended up scheduling process restart to avoid it.

original fbchat working now! so I decided to transfer back my project to it!

source: gharchive/issue

repo: tulir/fbchat-asyncio


text:
Questions regarding ifctoCitygml3.0

hello.
I successfully converted ifc to citygml3.0 using this github material.
However, the converted citygml is not displayed in 3D format.
I'm trying to view it with fme data inspector.
Is there anything I need to configure?

@TatjanaKutzner
Please help me.
I have a task to convert ifc to citygml.
I need your help.
Is there a way to keep in touch for a long time?


text:
How to calibrate camera?

I use example from OpenCV for camera calibration. After calibrate matrix check it on learned images. All looks fine. Also get 5 values for distortion, but not use anywhere.
After this try to adapt to yours format and check on playDataset example.
double fx = cameraMatrix.at<double>(0, 0) / (double)imageSize.width;
double fy = cameraMatrix.at<double>(1, 1) / (double)imageSize.height;
double cx = (cameraMatrix.at<double>(0, 2) + 0.5) / (double)imageSize.width;
double cy = (cameraMatrix.at<double>(1, 2) + 0.5) / (double)imageSize.height;

Camera matrix looks like:
0.820361393435219	0.461474391295798	0.495088499159556	0.529959721497076	0
1280 720
crop
1280 720

After undistortion nothing changed. If I set omega to some value, undistortion apply but with strong skew of image. So how you calculate values for camera.txt file?

Seams guys use calibration from PTAM  algorithm. After several days of resurrection of PTAM we run the calibration. But it works really bad on TUM dataset. We don't reach any success with this direction. Now we use OpenCV calibration, with RadTan model.

Hello, I try to undistort my camera with FOV model(seems the vignette calibrate code only support this model), could you tell me how to get calibration with FOV model?

Please don't double post...  https://github.com/tum-vision/mono_dataset_code/issues/8#issuecomment-446054836


text:
binding the same handler to the same event with once() can have unexpected results

I haven't investigated to precisely determine the mechanism of the bug, but the behavior i saw was that binding the same handler to the same event with once multiple times would remove the wrong handler after firing.
so for example, you have an object which provides a token:  myObject.getToken(), but my object is instantiated by an asynchronous process, you might write code like:
let tokenPromise = ()=>{
  if(myObject) {
    return new Promise((resolve) => {
        resolve(myObject.getToken())
    })
  }
  return new Promise((resolve)=>{
      emitter.once('MY_OBJECT_CREATED', ()=>{
        resolve(myObject.getToken())
      })
  })
}

multiple calls to tokenPromise results in the wrong handlers being unbound by once, i believe to confusion around the value of 'fn' within the once() method.
this seems to resolve the issue:
    once: function once (name, handler) {
      function fn (a, b, c) {
        app.off(name, this);
        handler(a, b, c);
      }

      return app.on(name, fn.bind(fn))
    }

Heya! Thanks for the report. I think problems mainly come from .off. Can you try the same example with .on method and report back, I believe it will have the same problem.

this seems to resolve the issue:

Mainly, I don't want to rely on this, bind, apply and etc. The only thing where i found a need for .apply is in the .emit, because is the smallest solution to not call handlers with undefined - example:
emitter.on('foo', (a, b, c) => {
  console.log(a, b, c) // => 1, undefined, undefined
})
emitter.emit('foo', 1)

Actually, @nihlton, I can't get what's your problem exactly. That example is not full.

It's a tricky problem to be sure.
Re: 'this' just my humble opinion, but I think it's ok within once() because it's within a function dush entirely owns/creates/destroys.  Doesn't impact including application space.

When I have time, I'll add a fiddle to demonstrate the issue

Okey, thanks.
Is this test proving something?
test('temp', function (done) {
  var emitter = dush()
  var myObject = null
  let tokenPromise = () => {
    if(myObject) {
      return new Promise((resolve) => {
        resolve(myObject.getToken() + ' ok!')
      })
    }
    return new Promise((resolve) => {
      emitter.once('MY_OBJECT_CREATED', () => {
        myObject = {
          getToken: () => Math.random() * 100
        }
        resolve(123)
      })
    })
  }

  var promise = tokenPromise()
  emitter.emit('MY_OBJECT_CREATED')

  promise.then(function (res) {
    test.strictEqual(res, 123)
    emitter.emit('MY_OBJECT_CREATED')

    return tokenPromise().then(function (val) {
      console.log('val1', val)
      emitter.emit('MY_OBJECT_CREATED')

      return tokenPromise().then(function (value2) {
        console.log('val2', value2)
        emitter.emit('MY_OBJECT_CREATED')
        done()
      })
    })
  }, done).catch(done)
})

I don't see any problems.

so it looks like you fixed it!  i tried to write up an example with the current version and couldn't reproduce.  good work.
...but just to demonstrate, I took the version from a week ago and put together this:
function dush () {
  var all = Object.create(null);
  var app = {
    all: all,
    on: function on (name, handler) {
      var e = all[name] || (all[name] = []);
      e.push(handler);

      return app
    },
    once: function once (name, handler) {
      function fn (a, b, c) {
        app.off(name, fn);
        handler(a, b, c);
      }
      return app.on(name, fn)
    },
    off: function off (name, handler) {
      if (handler && all[name]) {
        all[name].splice(all[name].indexOf(handler) >>> 0, 1);
      } else {
        all[name] = [];
      }
      return app
    },
    emit: function emit (name, a, b, c) {
      (all[name] || []).map(function (handler) { handler(a, b, c); });
      (all['*'] || []).map(function (handler) { handler(name, a, b, c); });

      return app
    }
  };
  return app
}

var emitter = dush()
var myObject = false
var tokenPromise = ()=>{
	return new Promise((resolve) => {
		if(myObject){
			resolve(myObject.getToken())
		}else{
			emitter.once('MY_OBJECT_CREATED', ()=>{
				resolve(myObject.getToken())
			})
		}
	})
}

tokenPromise().then((token)=>{
	console.log(token)
})

tokenPromise().then((token)=>{
	console.log(token)
})

tokenPromise().then((token)=>{
	console.log(token)
})

myObject = {
	getToken: ()=>{
		return 'token'
	}
}
emitter.emit('MY_OBJECT_CREATED')

You would expect to see "token" in the console three times, but it only appears twice.

also, just my two cents, but this isn't ideal:
fn.sourceString = handler.toString();
what if i'm using 'sourceString'?  or what if i'm not expecting any additional properties on the handler?  just my opinion, but you shouldn't modify the handlers passed to you...
but its your show :)
thanks for looking into the issue.

tokenPromise().then((token)=>{
	console.log(token)
})

tokenPromise().then((token)=>{
	console.log(token)
})

tokenPromise().then((token)=>{
	console.log(token)
})

myObject = {
	getToken: ()=>{
		return 'token'
	}
}

thsi is totally wrong, and is absolutely expected to not work. Maybe go learn more for the promises, don't know.
As about

what if i'm using 'sourceString'?

yea, i'm not agree with that but that's easiest and smallest solution. If any problems appear anyone can come and report.

lol ok dude.  best of luck!

@nihlton i'm thinking to change to some more private like __sourceString, so it won't conflict.

this is just my opinion - the problem isn't the name, the problem is that you're still modifying the call back.
A) its unexpected.  if it broke something, it could take a while to figure out what is adding the extra property to the function object.
B) its dirty.  you might need to amend this - "Clean: Does not mess with DOM or anything."
C) there are better ways.
I am happily using the suggested fix from my first comment and have stopped pulling updates from this repo.

there are better ways.

For example? Don't want to use this. It is most stable solution for me, because it compares strings. IndexOf isn't good enough, imo.

if it broke something, it could take a while to figure out what is adding the extra property

Probably, but it is a lot harder and props with _ are considered "private" with double underscore is even more rare.

Don't want to use this.
Why?  Because you've heard 'using this is bad'?  or do you have an actual reason?

props with _ are considered "private"
That is fine for methods and properties that you own and control, but you're modifying a function which is passed to you by the user.  it doesn't matter what you name the property, you're modifying someone else's function.

"Does not mess with DOM or anything."
I would say modifying a function owned by the user would violate this.  I think most people would.

Because you've heard 'using this is bad'?

No. I'm not here from yesterday :) Actually, it's not bad, just most people don't know how to work with it and can't understand it clearly. I'm strong user of this in last years and prototype inheritance is just awesome and super easy. But recently just started dropping it, because there's no need for it and is a lot more clean and easy to not rely on it.
I just don't need prototypes anymore, since everything can use robust plugin architecture and everything is just a plugin or "smart plugin" - maybe we should call this "plugin inheritance", haha. Anyway.
If anyone has a problem with that specific property, it's okey to come and report. Another thing can be to rename it to some shitty hash. Also user should pass function, not object or etc. Adding properties to function is also not so common thing, imo?

authors: nihlton tunnckoCore

repo: tunnckoCore/dush

license: mit

license_source: bigquery


text:
Consider how to handle if some is not finished

It even not calls finish hook when in serial mode.
Say you have 5 functions in array. Say the 3rd one is using cb to be considered done and others returns promises, so when this cb isn't called next functions in the stack is not called too
var arr = [
  () => delay(900).then(() => 1),
  () => delay(620).then(() => 2),
  function sasa (cb) {
    // cb()
  },
  () => delay(400).then(() => 4),
  () => delay(700).then(() => 5),
]

maybe it can be fixed in https://github.com/hybridables/try-catch-callback

Meh, yea.. Kinda tricky but pretty easier approach. Dropping try-catch-core as dependency and just wrapping with a promise that passes a callback if there is defined argument.
utils.handleFn = function handleFn (fn, opts) {
  return new opts.Promise(function (resolve, reject) {
    var called = false

    function done (e, res) {
      called = true
      if (e) return reject(e)
      if (res instanceof Error) {
        return reject(res)
      }
      return resolve(res)
    }

    var args = utils.arrayify(opts.args)
    args = fn.length ? args.concat(done) : args

    var ret = fn.apply(opts.context, args)

    if (!called) {
      ret instanceof Error
        ? reject(ret)
        : resolve(ret)
    }
  })
}

If the function returns a promise - okey. If call the callback - okey.

repo: tunnckoCore/each-promise


text:
[BUG]  QVQ 72B Preview multimodality crash

OS
Linux
GPU Library
CUDA 12.x
Python version
3.13
Pytorch version
2.5.1
Model
Qwen/QVQ-72B-Preview
Describe the bug
QVQ 72B Preview multimodality crashes
Config:
model:
  model_dir: exl
  inline_model_loading: false
  use_dummy_models: false
  model_name: QVQ-72B-Preview-4.0bpw
  use_as_default: ['max_seq_len', 'cache_mode', 'chunk_size']
  max_seq_len: 32768
  tensor_parallel: false
  gpu_split_auto: false
  autosplit_reserve: [0]
  gpu_split: [17,25]
  rope_scale: 1.0
  rope_alpha: 1.0
  cache_mode: Q6
  cache_size:
  chunk_size: 2048
  max_batch_size:
  prompt_template:
  vision: true
  num_experts_per_token:

draft_model:
  draft_model_name: Qwen2.5-Coder-1.5B-Instruct-6.0bpw
  draft_rope_scale: 1.0
  draft_rope_alpha: 1.0
  draft_cache_mode: Q6

Reproduction steps
Send image
Expected behavior
Read image
Logs
INFO:     127.0.0.1:59044 - "POST /v1/chat/completions HTTP/1.1" 200
INFO:     Received chat completion streaming request 9fa9aab66f344274a8f8375b1392ab63
WARNING:  Temperature is set to 0. Overriding temp, top_k, top_p, and typical to 1.0, 1, 0, and 0.
ERROR:    FATAL ERROR with generation. Attempting to recreate the generator. If this fails, please restart the server.

WARNING:  Immediately terminating all jobs. Clients will have their requests cancelled.

ERROR:    Traceback (most recent call last):
ERROR:      File "/home/user/files/ai/tabby/endpoints/OAI/utils/chat_completion.py", line 357, in stream_generate_chat_completion
ERROR:        raise generation
ERROR:      File "/home/user/files/ai/tabby/endpoints/OAI/utils/completion.py", line 100, in _stream_collector
ERROR:        async for generation in new_generation:
ERROR:        ...\<5 lines>...
ERROR:                break
ERROR:      File "/home/user/files/ai/tabby/backends/exllamav2/model.py", line 1453, in generate_gen
ERROR:        raise ex
ERROR:      File "/home/user/files/ai/tabby/backends/exllamav2/model.py", line 1361, in generate_gen
ERROR:        async for result in job:
ERROR:        ...\<76 lines>...
ERROR:                    break
ERROR:      File "/home/user/files/ai/tabby/.venv/lib/python3.13/site-packages/exllamav2/generator/dynamic_async.py", line 97, in __aiter__
ERROR:        raise result
ERROR:      File "/home/user/files/ai/tabby/.venv/lib/python3.13/site-packages/exllamav2/generator/dynamic_async.py", line 28, in _run_iteration
ERROR:        results = self.generator.iterate()
ERROR:      File "/home/user/files/ai/tabby/.venv/lib/python3.13/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
ERROR:        return func(*args, **kwargs)
ERROR:      File "/home/user/files/ai/tabby/.venv/lib/python3.13/site-packages/exllamav2/generator/dynamic.py", line 971, in iterate
ERROR:        job.prefill(results)
ERROR:        ~~~~~~~~~~~^^^^^^^^^
ERROR:      File "/home/user/files/ai/tabby/.venv/lib/python3.13/site-packages/exllamav2/generator/dynamic.py", line 2412, in prefill
ERROR:        self.generator.draft_model.forward_chunk(
ERROR:        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
ERROR:            input_ids = prefill_ids,
ERROR:            ^^^^^^^^^^^^^^^^^^^^^^^^
ERROR:        ...\<2 lines>...
ERROR:            cache = self.generator.draft_cache,
ERROR:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR:        )
ERROR:        ^
ERROR:      File "/home/user/files/ai/tabby/.venv/lib/python3.13/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
ERROR:        return func(*args, **kwargs)
ERROR:      File "/home/user/files/ai/tabby/.venv/lib/python3.13/site-packages/exllamav2/model.py", line 1010, in forward_chunk
ERROR:        x = module.forward(x, cache = cache, attn_params = attn_params, past_len = past_len, loras = loras, **kwargs)
ERROR:      File "/home/user/files/ai/tabby/.venv/lib/python3.13/site-packages/exllamav2/embedding.py", line 182, in forward
ERROR:        hidden_states = self.embedding(hidden_states)
ERROR:      File "/home/user/files/ai/tabby/.venv/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
ERROR:        return self._call_impl(*args, **kwargs)
ERROR:               ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
ERROR:      File "/home/user/files/ai/tabby/.venv/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
ERROR:        return forward_call(*args, **kwargs)
ERROR:      File "/home/user/files/ai/tabby/.venv/lib/python3.13/site-packages/torch/nn/modules/sparse.py", line 190, in forward
ERROR:        return F.embedding(
ERROR:               ~~~~~~~~~~~^
ERROR:            input,
ERROR:            ^^^^^^
ERROR:        ...\<5 lines>...
ERROR:            self.sparse,
ERROR:            ^^^^^^^^^^^^
ERROR:        )
ERROR:        ^
ERROR:      File "/home/user/files/ai/tabby/.venv/lib/python3.13/site-packages/torch/nn/functional.py", line 2551, in embedding
ERROR:        return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
ERROR:               ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR:    IndexError: index out of range in self
ERROR:    Sent to request: Chat completion aborted. Please check the server console.

Acknowledgements

[X] I have looked for similar issues before submitting this one.
[X] I understand that the developers have lives and my issue will be answered when possible.
[X] I understand the developers of this program are human, and I will ask my questions politely.

You won't be able to use a draft model with a vision model. There are no facilities at the moment for dealing with the vision tokens in the draft model, even if the draft model had a vision adapter (which 2.5-coder doesn't).

Removing the draft model fixed the issue. Thanks

authors: ThomasBaruzier turboderp


text:
added package.json and simple webpack instructions

I have published to 0.0.2 at https://www.npmjs.com/package/turbolinks.
I can republish the beta3 tag, or we can do a beta4 tag.
provided a link to a sample rails project that uses webpack.

Thank you!

Hi @sstephenson Please take a look at:
https://github.com/shakacode/jquery-ujs/blob/master/PUBLISHING-TO-NPM.md
I could make a PR to add some instructions to this repo. I prefer not to have to try to remember every time.

No need. I’ll take care of publishing to npm with each release.

repo: turbolinks/turbolinks


text:
TypeScript type definition file

There is any plan to support TypeScript type definition file for typescript in the future or if any one already created support file.

We personally do not use TypeScript but there are definition files available in the DefinitelyTyped
repository: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tus-js-client

Thank you

You're welcome :)

Thanks for letting us know, I opened a pull request to add the missing definitions: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/30384

@nbonavia The definitions in DefinitelyTyped have been updated.

@Acconut hello, are you planning to update the typings for v2, or should I resort to 1.8 for now?

@freiondrej I added the definitions directly to tus-js-client in https://github.com/tus/tus-js-client/commit/3774a74b187ac1764ad83ec2bedc1f0fd23d68aa. Please install the latest version of tus-js-client directly from github and see if they work before I do a real release.

@Acconut thank you. Unfortunately when trying this, I'm getting Can't resolve 'tus-js-client' (I'm using webpack). It surely can be something on my end. But for now I'll stick to the 1.8.0 version which ran just fine for me.

Version 2.1.0 has been released with the definition file included. Maybe you want to give it another try. I would recommend using the latest version since the 1.x branch won't receive updates in the future.

@Acconut I just installed 2.1.1 and it seems to be working perfectly. Thank you very much!

Can anyone post minimalistic example of using tus-js-client with TypeScript? I am trying to use "tus-js-client": "^2.2.0"
I am getting file from event
const file = e.currentTarget.files && e.currentTarget.files[0]
First I got this error Argument of type 'File | null' is not assignable to parameter of type 'File | Blob | Pick<ReadableStreamDefaultReader, "read">'. In the line below
var upload = new tus.Upload(file, {
to fix it I used
var upload = new tus.Upload(file as File, {
and now I am having Object is possibly 'null'.ts(2531)  in
          metadata: {               filename: file.name,               filetype: file.type           },
I am new to TypeScript, but looks like something is missing in variable definitions. So if somebody can show me the way of implementing example from https://www.npmjs.com/package/tus-js-client that would be super awesome!

@brootle You are on the right way. The file variable has the type File | null but tus-js-client does not accept null values in the constructor. So that's not a missing definition on our end.
I would recommend you to add a check before calling tus-js-client to make sure that file is not null and you only pass File instances to tus-js-client.

@Acconut you are absolutely right, adding file !== null check before calling new tus.Upload(...) fixes all TypeScript errors and example from npm now runs as it is without any modifications

authors: Acconut KhaledSMQ brootle freiondrej

repo: tus/tus-js-client


text:
GPU and graphics memory issues

Thank you for your wonderful work. I would like to know if I can train and test the performance of your algorithm on the argoverse2 dataset on a 3090Ti GPU  with 24GB of graphics memory?

Sorry for the late reply.  Yes, you can use 3090. All my experiments are conducted with 3090 GPU.

Sorry to bother you, are you training on a single 3090 GPU or multiple 3090 GPUs?

authors: Abyssaledge ameizi3 yinheyanxian

repo: tusen-ai/SST


text:
Feature Request: NMarkdown

This function solves the problem (这个功能解决的问题)
Provide a markdown component
<n-markdown>{{ md }}</n-markdown>
See also https://github.com/tusen-ai/naive-ui/blob/main/build/loaders/md-renderer.js
Expected API (期望的 API)
<n-markdown>{{ md }}</n-markdown>

I build a very simple demo using marked.
GitHub: https://github.com/rwv/naive-ui-n-markdown
Demo Site: https://naive-ui-n-markdown-demo.rwv.dev
Note: just a poc and extremely simple and has typescript errors.

This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem

authors: jahnli rwv

repo: tusen-ai/naive-ui


text:
When there is only a slider in the model, there is a problem with the tooltip positioning of the slider

TuSimple/naive-ui version (版本)
2.34.3
Vue version (Vue 版本)
3.2.45
Browser and its version (浏览器及其版本)
Chrome(105.0.5195.127)
System and its version (系统及其版本)
Windows 10
Node version (Node 版本)
Reappearance link (重现链接)
https://codesandbox.io/s/relaxed-chandrasekhar-zjmel6?file=/src/App.vue
Reappearance steps (重现步骤)
点击按钮打开Modal，拖动Slider，Tooltip才会归位，再次打开依旧会有这个问题
Expected results (期望的结果)
打开Modal不应该显示Slider的Tooltip
Actual results (实际的结果)
打开Modal在卡片外部显示了Slider的Tooltip
Remarks (补充说明)

这个问题是由于组件库对 a11y 的处理造成的，modal 打开后默认会聚焦到里面的元素，而 slider 被聚焦时，会显示 tooltip。当 modal 内只有 slider 一个组件时，默认就会造成 tooltip 的定位出现问题。有两个解决方案：

设置 modal 的 auto-focus  属性为 false。
将 slider 的 tooltip 默认设置为 false，等到 modal 打开后或在合适的时机下再将其设置为 true。
第一种解决方案的参考：https://codesandbox.io/s/sharp-bassi-d2z8bh?file=/src/App.vue

This issue is caused by the processing of a11y by the component library. When the modal is opened, it will default to focusing on the elements inside, while when the slider is focused, it will display tooltip. When there is only one component in the modal, the default will cause problems with the positioning of the tooltip. There are two solutions:

Set the modal's auto-focus prop to false.
Set the slider's tooltip prop to false by default, and wait until modal is opened or at an appropriate time to set tooltip prop to true again.
Reference for the first solution: https://codesandbox.io/s/sharp-bassi-d2z8bh?file=/src/App.vue

This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem

authors: amadeus711 jahnli oyal


text:
Add a Mouse followers

Kindly assign me the task to add a Mouse follower to this website under hactoberfest

explain in brief

When you move the cursor it will have a mouse folllower like this

When you move cursor , the mouse follower will follow the movement


text:
Using the library

I just wanted to let you know that I just added support for Branca in https://github.com/pascalgn/yaml-crypt
Fernet seems a bit unmaintained currently, so thanks for Branca! 👍

Awesome! Let me know if you have any problems. I am mostly using the Python and PHP implementations myself.

Sure, will raise an issue if I see any problems. So far everything is fine, the API is even a bit nicer than Fernet :)

authors: pascalgn tuupola

repo: tuupola/branca-js


text:
🛑 Hasteserver is down

In 4a25f66, Hasteserver (https://paste.eighty-three.me) was down:

HTTP code: 523
Response time: 2857 ms

Resolved: Hasteserver is back up in 3c0204a.

repo: tuxpeople/monitoring


text:
🛑 Alertmanager is down

In 44e1cc9, Alertmanager (https://alertmanager.eighty-three.me) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Alertmanager is back up in 3fea810.


text:
🛑 Alertmanager is down

In 9a0c6e7, Alertmanager (https://alertmanager.eighty-three.me) was down:

HTTP code: 404
Response time: 319 ms

Resolved: Alertmanager is back up in 6cfd3c3.


text:
Add support for Holman WiFi Tap Timer WX1

Summary
Add support for Holman Wi-Fi Tap Timer Control
Current State
In Home Assistant, 3 devices are recongised by the smartlife integration.

Wilbur the Wi-Fi Waterer (Model: Wi-Fi Hub (unsupported)) - Hub for socket  and tap timer
Wi-Fi Socket (Model (Wi-Fi Socket)
WX1 Tap Timer (WX1 Tap Timer (unsupported))

I can control each of the devices using Smart Life app.
The Holman WiFi Tap Timers Integration? has a working integration using localtuya.
Next Steps
What are the steps to add support?
Diagnostics
Wi-Fi Hub
  "data": {
    "endpoint": "https://apigw.tuyaeu.com",
    "terminal_id": "1705975129519EzenqW",
    "mqtt_connected": true,
    "disabled_by": null,
    "disabled_polling": false,
    "id": "bfd2fd54d723d17c3eusux",
    "name": "Wi-Fi Socket",
    "category": "cz",
    "product_id": "hzsl8cxxtpd0x56b",
    "product_name": "Wi-Fi Socket",
    "online": true,
    "sub": true,
    "time_zone": "+00:00",
    "active_time": "2024-01-23T01:41:16+00:00",
    "create_time": "2024-01-23T01:41:16+00:00",
    "update_time": "2024-01-23T01:41:16+00:00",
    "function": {
      "switch_1": {
        "type": "Boolean",
        "value": {}
      }
    },
    "status_range": {
      "switch_1": {
        "type": "Boolean",
        "value": {}
      }
    },
    "status": {
      "switch_1": false
    },
    "home_assistant": {
      "name": "Wi-Fi Socket",
      "name_by_user": null,
      "disabled": false,
      "disabled_by": null,
      "entities": [
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": null,
          "device_class": null,
          "original_device_class": "outlet",
          "icon": null,
          "original_icon": null,
          "unit_of_measurement": null,
          "state": {
            "entity_id": "switch.wi_fi_socket_socket_1",
            "state": "off",
            "attributes": {
              "device_class": "outlet",
              "friendly_name": "Wi-Fi Socket Socket 1"
            },
            "last_changed": "2024-01-23T15:35:59.827894+00:00",
            "last_updated": "2024-01-23T15:35:59.827894+00:00"
          }
        }
      ]
    },
    "set_up": true,
    "support_local": true
  }

Wi-Fi Socket
  "data": {
    "endpoint": "https://apigw.tuyaeu.com",
    "terminal_id": "1705975129519EzenqW",
    "mqtt_connected": true,
    "disabled_by": null,
    "disabled_polling": false,
    "id": "bfd2fd54d723d17c3eusux",
    "name": "Wi-Fi Socket",
    "category": "cz",
    "product_id": "hzsl8cxxtpd0x56b",
    "product_name": "Wi-Fi Socket",
    "online": true,
    "sub": true,
    "time_zone": "+00:00",
    "active_time": "2024-01-23T01:41:16+00:00",
    "create_time": "2024-01-23T01:41:16+00:00",
    "update_time": "2024-01-23T01:41:16+00:00",
    "function": {
      "switch_1": {
        "type": "Boolean",
        "value": {}
      }
    },
    "status_range": {
      "switch_1": {
        "type": "Boolean",
        "value": {}
      }
    },
    "status": {
      "switch_1": false
    },
    "home_assistant": {
      "name": "Wi-Fi Socket",
      "name_by_user": null,
      "disabled": false,
      "disabled_by": null,
      "entities": [
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": null,
          "device_class": null,
          "original_device_class": "outlet",
          "icon": null,
          "original_icon": null,
          "unit_of_measurement": null,
          "state": {
            "entity_id": "switch.wi_fi_socket_socket_1",
            "state": "off",
            "attributes": {
              "device_class": "outlet",
              "friendly_name": "Wi-Fi Socket Socket 1"
            },
            "last_changed": "2024-01-23T15:35:59.827894+00:00",
            "last_updated": "2024-01-23T15:35:59.827894+00:00"
          }
        }
      ]
    },
    "set_up": true,
    "support_local": true
  }

WX1 Tap Timer
  "data": {
    "endpoint": "https://apigw.tuyaeu.com",
    "terminal_id": "1705975129519EzenqW",
    "mqtt_connected": true,
    "disabled_by": null,
    "disabled_polling": false,
    "id": "bf048145aa93b53160omzg",
    "name": "WX1 Tap Timer",
    "category": "kg",
    "product_id": "zrsgzc8jktsricjj",
    "product_name": "WX1 Tap Timer",
    "online": true,
    "sub": true,
    "time_zone": "+00:00",
    "active_time": "2024-01-23T01:41:19+00:00",
    "create_time": "2024-01-23T01:41:19+00:00",
    "update_time": "2024-01-23T01:41:19+00:00",
    "function": {},
    "status_range": {},
    "status": {},
    "home_assistant": {
      "name": "WX1 Tap Timer",
      "name_by_user": null,
      "disabled": false,
      "disabled_by": null,
      "entities": []
    },
    "set_up": false,
    "support_local": true
  }

README about Category/Standard Instruction Set Expansion Development

@shihuimiao Are you referring to Tuya IoT Development Platform > Cloud Development > Standard Instruction Set?
I found the specification API  command:
curl --request GET "https://openapi.tuyacn.com/v1.0/iot-03/devices/vdevo16**********035/specifications" \
  --header "sign_method: HMAC-SHA256" --header "client_id: x37******************mmu0" \
  --header "t: 1630599812793" --header "mode: cors" --header "Content-Type: application/json" \
  --header "sign: 4979EC676FB3B7******************A0835B1CF46265B" \
  --header "access_token: 5eb*********1371"

I'm not sure what values to substitute in.
I found these pages that might be relevant:

Tuya IoT Development Platform > Product Solutions > Electrical Product > Water Valve Controller
Tuya IoT Development Platform > Cloud Development > Standard Instruction Set > Electrical Products > Switch (kg), Socket (cz) and Power Strip (pc)Instruction Set: kg, cz, & pc
Tuya IoT Development Platform > Product Solutions > Electrical Product> Water Valve Controller - picture doesn't match Holeman WX1 device
Tuya IoT Platform > Product > Create - under Electrical category -> Valve Pump -> Water Valve Controller

Download the diagnostic file and review the category and supported standard instruction set data of the device.
data["category"]: Device category
data["function"] and data["status_range"]: Standard instruction set's Data type and Value description
data["status"]: Value of the standard instruction set

repo: tuya/tuya-smart-life


text:
🛑 Recruit Connect - ES Status is down

In 9ea61d9, Recruit Connect - ES Status (https://api.recruitconnect.vn/elasticsearch/check-status) was down:

HTTP code: 500
Response time: 277 ms

Resolved: Recruit Connect - ES Status is back up in 48b1968 after 22 minutes.

repo: tuyencaovn/recruituptime


text:
fix filling of pointers

My problem was a pointer field in a struct. Instead of filling the value under the pointer, a nil pointer was created.
This code creates a new object of the type of the pointer and then fills it recursively. This object is then used as value.

LGTM

authors: chrisport tvi

repo: tvi/datafiller


text:
Remove border radius settings from .btn-group-vertical > .btn

Remove border radius settings from .btn-group-vertical they are affecting border radius when using .btn-lg class.
.btn-group-vertical > .btn {
&:not(:first-child):not(:last-child) {
border-radius: 0;
}
&:first-child:not(:last-child) {
//border-top-right-radius: @border-radius-base;
.border-bottom-radius(0);
}
&:last-child:not(:first-child) {
//border-bottom-left-radius: @border-radius-base;
.border-top-radius(0);
}
}

Please post an example that demonstrates the problem.

Closing until we have a test case.

authors: cvrebert fizex mdo

repo: twbs/bootstrap


text:
tooltip doesn't change based on javascript if condition

I have a simple html script, and I use bs v3.3.5, and jquery 1.11.3. In short, I make a simple form validation, and firstly the title of an input textbox is "Required", and when some conditions are met, the title will update according to that condition (fe, if the name contains less than 3 letters, and the user presses the submit button, then the new title should be "Please insert at least 3 letters", and the form should not be submitted).
The problem is that the tooltip isn't changing according to my conditions. Can you, please, offer some tips or solutions, because in the last few days I'm feeling like it's easy to reach the limit of the Universe, than to resolve this problem :(.
codepen with the example: http://codepen.io/anon/pen/gpJgQV
Thank you.

Hi @dancostinel!
You appear to have posted a live example (http://codepen.io/anon/pen/gpJgQV.html), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:

line 8, column 1 thru column 6: Stray start tag head.
line 10, column 1 thru column 100: Element link is missing required attribute property.
line 12, column 1 thru column 7: Stray end tag head.
line 13, column 1 thru column 6: Start tag body seen but an element of the same type was already open.
line 15, column 23 thru column 32: Stray end tag content.
line 49, column 1 thru column 7: End tag for  body seen, but there were unclosed elements.
line 14, column 3 thru column 31: Unclosed element div.
line 50, column 1 thru column 7: Saw an end tag after body had been closed.
line 50, column 1 thru column 7: End tag for  body seen, but there were unclosed elements.

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

Per CONTRIBUTING.md please do not use the issue tracker for personal support requests. Stack Overflow (twitter-bootstrap-3 tag) or Slack, or IRC are better places to get help with these types of requests.

authors: dancostinel kkirsche twbs-lmvtfy


text:
Positioning of card-header-tabs with other floats

Tabs in card headers are really cool in v4 and while testing them extensively I've found that if another float is placed inside the card header (for example a pulled-right button), the tab list no longer lies onto the header bottom margin.

    <button class="btn btn-primary pull-xs-right" type="button">Do something cool</button>

@heruan Apparently you didn't test this one extensively enough :grinning:
It has nothing to do with floats, the issue is that the button is bigger than header. Adding .btn-sm fixes this. See a live example: https://jsfiddle.net/0xdwv2wk/.

@heruan Does @RyanZim's comment adequately address this for you?

It doesn't, since in my opinion card header tabs should be aligned with the bottom border regardless of the header height. They could be very useful also in rich card headers!

@heruan I agree that would be nice, but I'm not sure how you would do it.

It may be naïve, but I'd make the header relatively positioned and then adjust the tabs margin/position relative to it, in a way that it would stay on the header bottom edge regardless of the header's content.

@cvrebert What do you think? (Also remove awaiting reply label)

I'll leave this for mdo to look at.

@mdo

It may be naïve, but I'd make the header relatively positioned and then adjust the tabs margin/position relative to it, in a way that it would stay on the header bottom edge regardless of the header's content.

That'd present other problems for us, namely that the relative/absolute combo you're referring to takes those tabs out of the normal flow of the document. They'd overlay other content, collapse the parent, etc. Best option I can safely give without fudging things on our end is to use negative margin on the button there, or potentially use a smaller button.

@heruan thoughts?

I'll use a smaller button, as @mdo suggested. Feel free to close this, unless you think there may be other means to achieve this and keep this issue as reference.

@cvrebert Ping?

authors: RyanZim cvrebert heruan mdo


text:
Problem with CDN, expire ssl certificate

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
It's trouble load CSS file from https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css because expire SSL certificate frome Sectigo Limited
Certificate expire Tue, 12 Oct 2021 23:59:59 GMT
Reduced test cases
https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Firefox
What version of Bootstrap are you using?
4.4.1

We do not recommend to use StackPath anymore. Please use JSDelivr instead, as we now mention in the docs.

authors: Terxeno ffoodd


text:
Carousel: No slide transition, no autoplay

WIth the stock standard bootstrap (downloaded from home page), carousel transitions don't seem to slide nicely (the just jump instantly from one image to the next), and the carousel doesn't advance until an arrow is clicked.
I've pored over the docs (what little there are) and I don't think my setup is wrong. Forgive me if this is a setup problem.
Here's my code:

    ‹
    ›

And here's the call to the carousel function:
$(function() {
    $('.carousel').carousel();
});

Note that I'm not specifically including bootstrap-transition.js as it's included in the bootstrap.min.js I've downloaded. If that's not the case, then either the docs need updating, or the package is wrong.
The problem occurs in Firefox and Chrome, but does not occur on the demo page at http://twitter.github.com/bootstrap/javascript.html#carousel - so there must be something different about the js or html that I can't identify.
Apologise if this is my fault, but I've isolated it as best I can.

Helped alot!

authors: evanmsanders tanaymishra


text:
Document classes for vertical alignment of flexbox items

… items
see https://github.com/twbs/bootstrap/issues/17119 and https://github.com/twbs/bootstrap/issues/17122.
Notice that the examples only work when flexbox support has been enabled for the compiled Bootstrap CSS, see also: https://github.com/twbs/bootstrap/issues/18688

Handling in #19099.

authors: bassjobsen mdo


text:
Create just a try

nothing ,please ignore

Hi @hsyscut!
Thanks for wanting to contribute to Bootstrap by sending this pull request!
Unfortunately, your pull request seems to have some problems:

The title of this pull request strongly suggests that you were using Bootstrap to test out Git or GitHub, rather than proposing a legitimate change. If that's accurate, please DON'T do that again! Instead, use your own personal repositories to experiment with how to use Git or GitHub. Using the repos of public projects (such as Bootstrap) for such experiments wastes the time of those projects' maintainers and is thus considered rude.

You'll need to fix these mistakes and revise your pull request before we can proceed further.
Once you've fixed these problems, you can either ask the maintainers to re-open this pull request, or you can create a new pull request.
Thanks!
(Please note that this is a fully automated comment.)

do NOT use a live repository to learn how to use github

authors: hsyscut patrickhlauke twbs-rorschach


text:
Updates to package.js for Meteor

Add the minified versions of Bootstrap's CSS and JS bundle files, which includes Popper.js.
Add source maps for CSS and JS files, as this is giving a warning in the browser console.
Add jQuery as a required dependency from the Meteor core package.
Resolves issue #30843

Please format the file back like it was. These changes are not needed.

`sarahmattar@Sarahs-MacBook-Pro Desktop % cd bootstrap-test
sarahmattar@Sarahs-MacBook-Pro bootstrap-test % meteor add twbs:bootstrap
=> Errors while adding packages:
While selecting package versions:
error: Potentially incompatible change required to top-level dependency: jquery 1.11.11, was 3.0.0.
Constraints on package "jquery":

jquery@1.11.9 || 3.0.0 <- blaze 2.3.4 <- blaze-html-templates 1.1.2
jquery@1.0.1 <- twbs:bootstrap 3.3.6

To allow potentially incompatible changes to top-level dependencies, you must pass --allow-incompatible-update on the command line.
sarahmattar@Sarahs-MacBook-Pro bootstrap-test %
`
This is what happens when I try to create a Meteor project and add Bootstrap to it. This is the crux of the issue, and what the file changes are to fix. Reverting the package.js file is not solving the problem, so I am confused as to why you deem the changes to be not needed?

The formatting changes are not needed.

Alright, I see the problem. master does not need jQuery. The v4-dev package.js has jQuery.
https://github.com/twbs/bootstrap/blob/v4-dev/package.js
Any changes should be made against the v4-dev branch.

...unless, there's a way to handle both cases? I mean, does meteor only use the main branch package.js? Because if it does, we need to find a way to handle both cases. The upcoming v5.0 doesn't need jQuery, but all 4.x versions do.

Ahhh, Bootstrap 5 Alpha does not require jQuery.
Meteor only uses the package.js file to assess what it needs, and as far as I know it can make conditional use of resources based on whether previous versions of Meteor require them, but not previous versions of Bootstrap. As long as there is a package.js file in v4-dev branch, and the v4-dev branch gets published to Atmosphere, then it should take without issue.
It sounds like publishing the master branch would skip Bootstrap 4 altogether and put it up to 5 alpha, so I could go and do a PR against v4-dev instead of master and you could push that one up to Atmosphere. Does that sound like an optimal solution?
I also see what you mean about the formatting now in your newer commits - single quotes, no trailing commas. Sorry about that. Prettier must've pulled one over on me on the first save.

I've updated thepackage.js file on the master branch to remove the line api.use('jquery');, as v-5.0.0-alpha1 does not need jQuery as a dependency. I'll start a second PR with the v4-dev branch to update it for Atmosphere.

Thanks but please try not to change the file's style :)

Sorry, I tried to keep it the same: I put an unstaged .prettierrc file in place to keep the trailing commas out, single quotes in place, and 2 spaces instead of tabs. Before I put in a second PR for the v4-dev branch, is there something you can recommend so it doesn't happen again?

Nope, that should be all :)
That being said, does changing the v4-dev branch package.js even make sense? If Meteor is using the default branch's package.js then it sounds moot. But I'm not sure how else we should do it.
Do note that none of the core team is using Meteor.

It would make sense to do the v4-dev branch as well because it would add those updated filepaths to the package.js file. The Meteor package would then have the bundled, minified JS file, the minified CSS file, and the source maps for Bootstrap 4.
After that, to effect any change on Meteor's end, the updates we made would need to be published to Atmosphere. I'm not sure who may have done the original publishing and maintaining - @mdo perhaps? If this is something you'd want me to do and maintain, I'd be up for it, but I think I may have to be added as a collaborator on the Atmosphere package. :)

authors: XhmikosR sarahmattar