text:
Watchtower is labelled misbehaving after first appointment

I've setup a watchtower on one PC and have another with my lightning node running with the watchtower plugin. I'm able to connect but end up with my watchtower being labelled misbehaving very quickly. Logs attached.
[API] Received register request  (from_addr=192.168.0.6)
Jun 09 17:30:55 kknd-sl teosd[124589]: 09/06/2022 17:30:55 [UsersDBM] Adding user to Gatekeeper's db  (user_id=033a71c55cf027b3053c114c6b8a2375a280a384676a24860922>Jun 09 17:30:55 kknd-sl teosd[124589]: 09/06/2022 17:30:55 [API] Sending response and disconnecting  (from_addr=192.168.0.6, response={'user_id': '033a71c55cf027b3>Jun 09 17:30:55 kknd-sl teosd[124589]: 09/06/2022 17:30:55 [API] 192.168.0.6 - - [09/Jun/2022:17:30:55 +0000] "POST /register HTTP/1.1" 200 346 "-" "python-request>Jun 09 17:32:08 kknd-sl teosd[124589]: 09/06/2022 17:32:08 [API] Received add_appointment request  (from_addr=192.168.0.6)
Jun 09 17:32:08 kknd-sl teosd[124589]: 09/06/2022 17:32:08 [UsersDBM] Adding user to Gatekeeper's db  (user_id=033a71c55cf027b3053c114c6b8a2375a280a384676a24860922>Jun 09 17:32:08 kknd-sl teosd[124589]: 09/06/2022 17:32:08 [AppointmentsDBM] Adding appointment to Watchers's db  (uuid=2d45c34a12d2940b9dca1bba8525f407da6b908e)
Jun 09 17:32:08 kknd-sl teosd[124589]: 09/06/2022 17:32:08 [Watcher] New appointment accepted  (locator=42f7399cf25a700fe1ea6bac3d8ed53d)
Jun 09 17:32:08 kknd-sl teosd[124589]: 09/06/2022 17:32:08 [API] Sending response and disconnecting  (from_addr=192.168.0.6, response={'locator': '42f7399cf25a700f>Jun 09 17:32:08 kknd-sl teosd[124589]: 09/06/2022 17:32:08 [API] 192.168.0.6 - - [09/Jun/2022:17:32:08 +0000] "POST /add_appointment HTTP/1.1" 200 238 "-" "python
{
"id": "02f0958003c994e5c67db88d607668577b092e184dac09c072f918edf37d54e2e1",
"netaddr": "http://192.168.0.1:9914",
"available_slots": 298,
"status": "misbehaving",
"appointments": {},
"pending_appointments": [],
"invalid_appointments": [],
"misbehaving_proof": {
"appointment": {
"locator": "42f7399cf25a700fe1ea6bac3d8ed53d",
"encrypted_blob": "9c95f75cbc3e080661f31feae1d30f4f5761bade327217ad767430fbf77280d63973e285f2cf1ea8a31c3273300e66575135a706eb42fcdb9606d9cfbd9df3d472c712d8b01648cd022c9a391356b29d41527a95cccbf5223f0ed33271493c4212558e716ae57c3341eae1ff418d5078f3fdbfde51829ffc4646ead573f475ed2574a82f3959096bd4a53d11104460b5ee38b0cde1022d00e8b52d92067d7b8a83e492d07a5c03c67241a2b807ce86e552c611f8af7aa7fc08eea7ddda9b38ec69a85dc998c30d80763ffa8752f282e12450ee1428174f17ce00559fb3cfea7696955395738dae71f3c764de309f617a41bec928a2ea842ee7f0c24993",
"to_self_delay": 20
},
"signature": "d9nswockotanj4ir6rf4aqrj1x4pxwpe7hjxgqtkzhet5pupqsq7w1g4btp14jc1u5fw1b3g5iq471zhzdneoe99um1xtoxukh11k3t7",
"recovered_id": "02c4976bae4806d91be7e4fbd74927fd2be16ca599f902f9dacd8766f247e81df9",
"receipt": "1fab112cf2badbaa8da615c020a7193b4b441c00be2f3759af9e2ff262fe43ffb735267568fda8a4d8e335af713b3f3784d9fd022597cb4fdeb5f4516f90d216ee000b4af1"
}
}
Any idea why this is happening? Both PCs are running full BTC nodes.
Also another question, how can I make my watchtower reachable through tor? I tried messing with ports and addresses in the config file but couldn't make tor work.

Hi @CMDRZOD, python-teos is unofficially discontinued in favor of rust-teos.
In the next days I'll be releasing the rust watchtower-plugin for cln, so you'll be able to use the rust codebase for this.
Notice that currently you may have issues if you try to use the the rust tower with the python client, given they are not fully compatible. I'd say just wait few a few days, or be reckless and help us test it out pre-merge 😄

Hi @sr-gi. I've got the rust version up and running complete with the plugin for core lightning. I've now got 2 towers setup, one remote and one local. They seem to be running well so far, CPU use is negligible. If there is any info you would like to be forwarded to you to help development please let me know. My main lightning node: https://1ml.com/node/02a20247f515d978cbf9e9ce6a4287b5931d724068b7b88bbaead6380db3dd8e9a
Thank you for the great work. Where can I send you some lightning sats to help?

@CMDRZOD feel free to join slack and we can give a look at what's going on with that tor connection.

Regarding feedback, I'd say just use it for a while and let us know if anything weird happens, either related to UX or errors with the tower or the client.
You giving us feedback is more than enough, but if you really want to send us some sats you can do so at either https://ln.bitcoinbeach.com/sr_gi or sr_gi@ln.bitcoinbeach.com

100k sats sent to you, sir. Will keep monitoring this github for new releases and using the watchtower on my node.
My node: https://1ml.com/node/02a20247f515d978cbf9e9ce6a4287b5931d724068b7b88bbaead6380db3dd8e9a

Much appreciated. Do watch the rust-teos repo instead of this one though, since this will be discontinued.

Hi @sr-gi
I have been using the plugin since we last spoke here. I have run into one issue where my watchtowers run out of appointments. When this happens I restarted the watchtower nodes and all has been well.
I also have found on my main lightning node when calling lightning-cli listtowers that this command can hang for a long time, sometimes up to 24 hours. I believe this is due to a watchtower appointments running out and the command hangs due to the amount of pending appoinments. Just my theory.
I have also experienced a few c-lightning crashes but have not found any information that it is connected to the watchtower plugin.
I'll be here refreshing this github daily waiting for the first release. Thank you.

Hi @sr-gi
I have been using the plugin since we last spoke here. I have run into one issue where my watchtowers run out of appointments. When this happens I restarted the watchtower nodes and all has been well.

This should be normal behavior, but if the UX is not good we may want to change it, especially for altruistic towers. Once the user runs out of appointments it is supposed to re-register with the tower (lightning-cli registertower ...)

I also have found on my main lightning node when calling lightning-cli listtowers that this command can hang for a long time, sometimes up to 24 hours. I believe this is due to a watchtower appointments running out and the command hangs due to the amount of pending appoinments. Just my theory.

Umm, interesting. We should limit the amount of appointment summaries kept in memory then, I'll look into this.

I have also experienced a few c-lightning crashes but have not found any information that it is connected to the watchtower plugin.
I'll be here refreshing this github daily waiting for the first release. Thank you.

authors: CMDRZOD sr-gi

repo: talaia-labs/python-teos


text:
embedding multiple fields, not just content/document

We force generating the embed for the content field; this likely covers many use cases.
To improve support for other use cases, we could consider adding support for concatenating other fields from the knowledge base in the load_csv function.
./load_csv.py --columns=question,content

@avelino it would be good to udpate the README about this new feature.

source: gharchive/issue

authors: avelino lgabs

repo: talkdai/dialog

license: MIT

license_type: permissive

license_source: github-api


text:
Sheet Handle doesn't drag if scrolled at all

Current Behavior
Given a Sheet with a Sheet.ScrollView inside it, if the inner ScrollView is dragged at all, then it Handle won't drag
Expected Behavior
Ideally the Handle will continue to drag no matter what
I isolated this behaviour to these lines: https://github.com/tamagui/tamagui/blob/master/packages/sheet/src/SheetImplementationCustom.tsx#L277-L280
Removing those lines creates the desired behaviour for me. But I of course believe those lines exist for a reason. Maybe this should be configurable?
Tamagui Version
1.88.13

Platform (Web, iOS, Android)
Web - Chrome

Reproduction
Using the code from the Sheet docs, this should reproduce it (I just added a Sheet.ScrollView):

      <Sheet
        forceRemoveScrollEnabled={open}
        modal={modal}
        open={open}
        onOpenChange={setOpen}
        snapPoints={snapPoints}
        snapPointsMode={snapPointsMode}
        dismissOnSnapToBottom
        position={position}
        onPositionChange={setPosition}
        zIndex={100_000}
        animation="medium"
      >
        <Sheet.Overlay
          animation="lazy"
          enterStyle={{ opacity: 0 }}
          exitStyle={{ opacity: 0 }}
        />
        <Sheet.Handle />
        <Sheet.Frame padding="$4" justifyContent="center" alignItems="center" space="$5">
          <Sheet.ScrollView>
            <Button size="$6" circular icon={ChevronDown} onPress={() => setOpen(false)} />
            <Input width={200} />
            {modal && isPercent && (
              <>
                <InnerSheet open={innerOpen} onOpenChange={setInnerOpen} />
                <Button
                  size="$6"
                  circular
                  icon={ChevronUp}
                  onPress={() => setInnerOpen(true)}
                />
              </>
            )}
          </Sheet.ScrollView>
        </Sheet.Frame>
      </Sheet>

Note I've manually patched out the lines I mentioned above, and you can see that behaviour live on our site:
https://guild.host/guild and then click the "Donate" button in a small viewport

System Info
No response

Fix will go out in f6714594f1477f14406ea6d7e28165ae0cf13d24

authors: natew tazsingh

repo: tamagui/tamagui


text:
Button doesn't apply the font given to it with fontFamily prop or style prop.

Current Behavior
The Button component from TamagUI, doesn't apply the font given with the style prop or fontFamily prop directly:

This doesn't work:

<Button
    color="white"
    backgroundColor="black"
    fontFamily={{
    name: "InterMedium",
    key: "$1",
    val: "InterMedium"
   }}>
   Click
 </Button>

This also doesn't work:

<Button
    color="white"
    backgroundColor="black"
    style={{fontFamily: "InterMedium"}}>
    Click
 </Button>

Screenshot

Expected Behavior
The given fontFamily InterMedium should have been applied to the Button and hence the Button text would be slightly Bold.
Tamagui Version
v1.89.20

Platform (Web, iOS, Android)
iOS, Android

Reproduction
//tamagui.config.ts

import { createTamagui } from "tamagui";
import { config } from "@tamagui/config/v2";

const tamaguiConfig = createTamagui(config);

type Conf = typeof tamaguiConfig;
declare module "tamagui" {
  interface TamaguiCustomConfig extends Conf {}
}

export default tamaguiConfig;

// App.tsx

import { TamaguiProvider, View } from "@tamagui/core";
import { StyleSheet, Text } from "react-native";
import config from "./tamagui.config";
import { useFonts } from "expo-font";
import { Button } from "tamagui";

export default function App() {
  const [fontsLoaded] = useFonts({
    InterMedium: require("@tamagui/font-inter/otf/Inter-Medium.otf"),
    InterRegular: require("@tamagui/font-inter/otf/Inter-Regular.otf"),
    InterSemibold: require("@tamagui/font-inter/otf/Inter-SemiBold.otf"),
  });

  if (!fontsLoaded) {
    return null;
  }

  return (
    <TamaguiProvider config={config}>
      <View style={styles.container}>
        <Button
          color="white"
          backgroundColor="black"
          fontFamily={{
            name: "InterMedium",
            key: "$1",
            val: "InterMedium",
          }}
        >
          Click
        </Button>
      </View>
    </TamaguiProvider>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: "#fff",
    alignItems: "center",
    justifyContent: "center",
  },
});

System Info
System:
    OS: macOS 14.3
    CPU: (8) arm64 Apple M2
    Memory: 133.14 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 19.9.0 - ~/.nvm/versions/node/v19.9.0/bin/node
    Yarn: 4.0.2 - ~/.nvm/versions/node/v19.9.0/bin/yarn
    npm: 9.6.3 - ~/.nvm/versions/node/v19.9.0/bin/npm
    pnpm: 8.15.1 - ~/.nvm/versions/node/v19.9.0/bin/pnpm
    bun: 1.0.25 - ~/.bun/bin/bun
    Watchman: 2024.01.22.00 - /opt/homebrew/bin/watchman
  Browsers:
    Brave Browser: 121.1.62.162
    Safari: 17.3
  npmPackages:
    @babel/core: ^7.20.0 => 7.23.9
    @tamagui/babel-plugin: 1.89.20 => 1.89.20
    @tamagui/config: 1.89.20 => 1.89.20
    @types/react: ~18.2.45 => 18.2.55
    expo: ~50.0.6 => 50.0.6
    expo-font: 11.10.2 => 11.10.2
    expo-status-bar: ~1.11.1 => 1.11.1
    react: 18.2.0 => 18.2.0
    react-native: 0.73.4 => 0.73.4
    tamagui: 1.89.20 => 1.89.20

You need to createFont and pass it into createTamagui in order for fonts to work with Tamagui.

You need to createFont and pass it into createTamagui in order for fonts to work with Tamagui.

Can we have an example for this working with local font using Expo ?

You need to createFont and pass it into createTamagui in order for fonts to work with Tamagui.

Can we have an example for this working with local font using Expo ?

This would be really helpful @natew

check this doc
in this portion
const config = createTamagui({
  fonts: {
    // for tamagui, heading and body are assumed
    heading: interFont,
    body: interFont,
  },

heading and body are your font families

authors: HaythemLazaar TheEhsanSarshar natew zxcodes


text:
Updated JSON schemas

Updated the JSON schemas to the latest version available at schemastore.org.

Are those files even used? Taplo should download schemas from SchemaStore directly.

Closing since taplo uses schemas from schemastore

source: gharchive/pull-request

authors: alfawal ia0 panekj

repo: tamasfe/taplo


text:
Question: is it optimized for within range search?

Can I make queries like Where(x=>x.a>=9 && x.a<=10 && x.b>=5 && x.b<=6 && x.c>=3 && x.c<=12)? Will it use ordered indexes? Binary search?

Hi @AqlaSolutions - The primary goal of this library is to serve as the underlying engine of the Effort testing library. These kind of optimizations are not included in the query optimizer.

authors: AqlaSolutions tamasflamich

repo: tamasflamich/nmemory

license: mit

license_source: bigquery


text:
Wrong Layer Choosen for SSD from MobilenetV2 backbone

The line here corresponds to the 12th block output.
The correct replacement for it is
 FeatureExtractor = Model(inputs=mobilenetv2.input, outputs=mobilenetv2.get_layer('block_12_add').output)

@prateethvnayak Thanks, your modification works. By the way, didn't you face this problem when you train your model?
InvalidArgumentError: 2 root error(s) found.
  (0) Invalid argument: Incompatible shapes: [16,7308,4] vs. [16,1692,4]
	 [[{{node loss/predictions_loss/sub}}]]
	 [[loss/mul/_3917]]
  (1) Invalid argument: Incompatible shapes: [16,7308,4] vs. [16,1692,4]
	 [[{{node loss/predictions_loss/sub}}]]
0 successful operations.
0 derived errors ignored.

authors: prateethvnayak wyjeong


text:
Bot creation

In one of your live sessions, you have talked about the bot you have created for checking tickets available for a movie...can you please share more about the same like how to create a small bot to check for something..

I'll create a video on this. Keeping it open to serve as a reminder.

repo: tanaypratap/ama


text:
enable jpeg support

Thanks for making this available.  Can you change the gd support so that it includes jpeg?
php -r "echo sprintf(\"JPEG SUPPORT? %s\n\", gd_info()['JPEG Support'] ? 'yes': 'no')  ;"

right now returns 'no', but jpeg is soooo common that I think it'd be great to include.
Also, adding the 'exif' extension would be nice, since that's so commonly used with jpeg files.

OK, I will try in next version

This feature is suppoted since php8.2.8_node20.5.0

authors: tacman tangramor


text:
Add additional landuse colors at later zooms

[x] Basic
[ ] Polish

Right now we only color green "park" like things, but there are many other landuse types (hospitals, university, golf course etc). Add those in at zoom 14, adjust to taste.

Look for # GO GREEN & # GO GREY and etc comments in src code for which to work on.
(We removed the bogus ones, don't worry about them anymore.)

[ ] commons See Rincon Park by the SF office: 18/37.79111/-122.38962

Moving commons and playground to next milestone in https://github.com/tangrams/outdoor-style/issues/50, others looking good.

authors: nvkelso sensescape

repo: tangrams/outdoor-style


text:
proparitor small bisnes

anyway help me my bisnes Los viruse   bisnes end  & I'm stay home  6 mounth othe r helping work of not a my bisnes incom all work end anyone help me PRESent time not a 1 take give me please help me

anyone help wordwide green area green food healthy life organige & poor child help anyone man worldwide not a help. man. please tell me

repo: taniarascia/takenote


text:
Add ability to disable bidirectional routing

Sometimes routes are only valid in 1 direction, so we don’t want the code to automatically add the inverse node relationship.

You're right. One way paths should be considered.
Thank you for PR.
But, I think Graph should not have $bidirectional .  I think that it is better to realize by addArrow($from , $to , $cost).
By doing like this, it is easy to create a graph that has  one-way and normal paths.

I agree, it does feel like a bit of a hack. Perhaps it could be an optional parameter on add(), with class constant for readability?
As an example: $graph->add('s', 'a', 1, Graph::ONE_WAY)

Looks  good

I've made the changes in a different branch, so I'll make a new pull request.

authors: dshepherd taniko

repo: taniko/dijkstra


text:
发现个问题，页面元数据的updated无效果

想要改变更新时间要更新date，这样的话updated岂不是无效字段了？

date 字段表示页面初始时间，updated 字段表示页面最后更新时间

哦，可以了，之前填写过这个字段，没有效果，还以为bug，可能当时时间格式不太对

authors: callect tankywoo

repo: tankywoo/simiki


text:
add storybook

add storybook

Nice Work!

repo: tannerlinsley/react-form


text:
fix untokenized option of new command

tantivy new doesn't output untokenized correctly for following answers:
New field name  ? a
Text or unsigned 32-bit integer (T/I) ? T
Should the field be stored (Y/N) ? Y
Should the field be indexed (Y/N) ? Y
Should the field be tokenized (Y/N) ? N
Add another field (Y/N) ? N

[
  {
    "name": "a",
    "type": "text",
    "options": {
      "indexing": "unindexed",
      "stored": true
    }
  }
]

thx

authors: MiSawa fulmicoton

repo: tantivy-search/tantivy-cli


text:
Solved maximum subarray sum

I solved the Add maximum subarray sum problem.

can u merge my pull request


text:
Fairy wallet does not send Confirm Transaction request to Ledger Nano S

I have tried several times to undelegate so I can send my EOS out of Fairy Wallet. I also tried Refund, I have disconnected my Ledger and reconnected it several times, and restarted Fairy Wallet. The EOS app on Ledger Nano S does not receive the "Confirm Transaction?" request so I cannot undelegate my EOS to send it out.

Use the website https://bloks.io with your Ledger Nano S to undelegate your EOS.

Might be a USB communication problem. Unfortunately, the only way I can get my transaction to go through with any EOS wallet using my nano s is to temporarily turn off my vpn, anti-virus and firewall on my laptop. Reboot laptop. Then try transaction again. So far, it works! Rediculous!

authors: Errol1886 alanao mind-zipper

repo: tarassh/fairy-wallet


text:
New NR tracking*

Update to change the way natural repair works. A single number ('NRd') representing days to natural repair is assigned to each leak when it begins leaking.
Interim solution For now, operator_agent.py is defunct and 'consider_operator' should be False for all programs. Future work is actively ongoing to continue improving on NR.

@KeeganShaw-GIS can you please provide a review?


text:
Publish unit test results

In GitLab by @arisilon on Oct 21, 2019, 17:00
The unit test results aren't published in an easily consumable format.

In GitLab by @arisilon on Oct 22, 2019, 10:08
mentioned in commit ec7c2136fbdf669ff3035f9db258cec567b55c3b


text:
Missing "closed_on" attribute in Issue Entity.

https://www.redmine.org/issues/824
When I use redmine API for showing an issue, the XML file display the "closed_on"  element represent when the issue has been closed.
<created_on>2015-12-02T03:02:50Z</created_on>
<updated_on>2015-12-28T06:46:25Z</updated_on>
<closed_on>2015-12-10T08:51:16Z</closed_on>

But the Issue Entity missing the "closed_on" attribute.

this is solved in https://github.com/taskadapter/redmine-java-api/commit/6ce0ab9414911930f3835729133faea897ebfc99

authors: alexeyOnGitHub jenghung

repo: taskadapter/redmine-java-api


text:
Navigation Sidebar: top 3 projects

PR includes

[x] Feature

Related issues

Resolve #2463
Related issues #2349
QA Instructions, Screenshots, Recordings
https://github.com/taskany-inc/issues/assets/9020793/fd2649e9-f8c8-49ae-bdc9-0f39edca0e5c

My projects in sidebar:
https://github.com/taskany-inc/issues/assets/9020793/f696ec0e-8354-4e84-90f8-d1049ec47f83

Add overflow scroll to navigation sidebar
https://github.com/taskany-inc/issues/assets/9020793/5cf7afb5-3b8e-49fa-8e5d-1c2d1064b9fd

repo: taskany-inc/issues


text:
Enhancement: Custom Request Headers

I'm interested in submitting a PR to allow passing custom headers. this.baseRequest already adds a custom user agent header for the elasticsearch transport, but I need to add other custom headers to get through a proxy which sits in front of an ES instance.
lib/transports/elasticsearch.js:14
  this.baseRequest = request.defaults({headers: { 'User-Agent': 'elasticdump' }})

Would you accept a PR if I made adding custom headers an option?

of course! be sure to add a test for it.

So it looks like I could either add the headers similarly to the way it's adding maxSockets
if (options.maxSockets) {
    self.log('globally setting maxSockets=' + options.maxSockets)
    http.globalAgent.maxSockets = options.maxSockets
    https.globalAgent.maxSockets = options.maxSockets
  }

Or I could pass the options through to the input and output protos and have the elasticsearch transport add the header like it adds the user agent header. However, doing this is a little tricky since the file transport has no concept of headers. And the means of instantiating the transport protos is always the same -- no differentiation between file, elasticsearch or anything else. They're all passed the same args. If I change the args being passed (or change it to just an object so the proto function signature is consistent for all transports), that would break any external input or output transport. Unless, I only change the internal input/output proto instantiation and leave the external one alone with the same args. Hopefully that makes sense. Do you have a preference on how I tackle this?

Closed by https://github.com/taskrabbit/elasticsearch-dump/pull/315

authors: evantahler glenselle

repo: taskrabbit/elasticsearch-dump


text:
How to enable notification

How push the token to zendesk so that I can receive the chat notification?
https://support.zendesk.com/hc/en-us/articles/360022365313-Enabling-push-notifications-for-the-Chat-SDK-for-mobile

Hiya @wadeyw -- if you read the documentation at the URL you shared

https://developer.zendesk.com/embeddables/docs/ios-chat-sdk/push_notifications
https://developer.zendesk.com/embeddables/docs/android-chat-sdk/push_notifications

You can set the push token from iOS Native using:

[ZDCChat setPushToken:tokenData]; (Objective-C - iOS)
ZopimChat.setPushToken(token); (Java - Android)

This library isn't maintained by Zendesk, so if you want to do this from JS, we need to add that feature, and we need to add documentation explaining it all.

authors: fbartho wadeyw

repo: taskrabbit/react-native-zendesk-chat


text:
🛑 Lavalink Backup is down

In b0280a8, Lavalink Backup (https://lava2.chirailava.tk/metrics) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Lavalink Backup is back up in 563b72d.

repo: tathaha/bruhuptime


text:
tauri_plugin_global_shortcut@2.0.0-beta.4  Demo can't run.

first
closure is expected to take 3 arguments, but it takes 2 arguments
expected closure that takes 3 arguments

second
add the third param "_",then  the shortcut emit twice one time

❯ cargo tauri info
[✔] Environment
- OS: Mac OS 14.2.1 X64
✔ Xcode Command Line Tools: installed
✔ rustc: 1.75.0 (82e1608df 2023-12-21)
✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20)
✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
✔ Rust toolchain: stable-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)
- node: 20.12.2
- pnpm: 9.0.5
- yarn: 1.22.19
- npm: 10.5.0
[-] Packages
- tauri [RUST]: 2.0.0-beta.17
- tauri-build [RUST]: 2.0.0-beta.13
- wry [RUST]: 0.39.3
- tao [RUST]: 0.27.1
- tauri-cli [RUST]: 2.0.0-beta.0
- @tauri-apps/api [NPM]: 2.0.0-beta.0
- @tauri-apps/cli [NPM]: 2.0.0-beta.0
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../dist
- devUrl: http://localhost:1420/
- framework: Vue.js
- bundler: Vite

misspell
Pressed

repo: tauri-apps/plugins-workspace


text:
[feat] Download file able on mobile.

Describe the problem
Android cannot download/create a file. (To be precise, there is an API to create it, but there is no way to know the path, so it is impossible to know the path that can be saved.)
If you download from a link, the file will be stored in the download directory, so the app doesn't need to know the path, and I thought it would be easy for users to understand as it would be a familiar behavior.
So, I try create blob link and click this link on Android. but it cannot download.
Blob link creation.
      let data = JSON.stringify(logs);
      const blob = new Blob([data], { type: 'text/plain' });
      const blobUrl = URL.createObjectURL(blob);
      setDataBlobUrl(blobUrl);

and link creation.
              <a
                href={dataBlobUrl}
                download={"worklog." + exportType}
                onClick={() => {
                  setTimeout(() => {
                    URL.revokeObjectURL(dataBlobUrl);
                    setDataBlobUrl(null);
                  }, 0);
                }}>ダウンロード</a>

additional try.

delete download attribute from 'a' tag : can view data on WebView
add download attribute for 'a' tag : can not download

Describe the solution you'd like
Not limited to Blob links, I would like to download files to the mobile device's file system from a Tauri application by some method.
Alternatives considered
fs plugin's save dialog.
but it is not implement on mobile.
Additional context
No response

Related issues (but no mention of mobile):

https://github.com/tauri-apps/tauri/issues/4633
https://github.com/tauri-apps/wry/issues/349
https://github.com/tauri-apps/wry/pull/530

repo: tauri-apps/tauri


text:
[feat] add window.isAlwaysOnTop method

Describe the problem
Since window.setAlwaysOnTop func,it is naturally to found the isAlwaysOnTop but I couldn't.
Is it a mistake?
Describe the solution you'd like
Impl the window.isAlwaysOnTop,which returns Promise<boolean> as other similar func.
Alternatives considered
No response
Additional context
No response

When filing issues in the future, it's best to use correct expressions. Even if you use tools like ChatGPT or Claude to improve the grammar, at the very least, the title should be clear and understandable at first glance, rather than being confusing as it is now.

The title should be clear and understandable at first glance, rather than being confusing as it is now.

Sorry,title is corrected now.Since what I want is the window.isAlwaysOnTop func to check if the window is on the top and search nothing while use isAlwaysOnTop so do I create this issue.I don't think it is confused at that time.
But it seems really confused someone,so I correct it.Thanks for your contribution on tauri.♪(´▽｀)


text:
[bug] process is not always a global variable

Describe the bug
NodeJS process global is discouraged Deno 1.46.3
Not having an import for process throws an error.
- failed to load config from C:\Users\nanopink\Desktop\nanopink\vite.config.ts
error when starting dev server:
ReferenceError: process is not defined

Reproduction
deno upgrade 1.46.3
After that impossible to run tauri due to error thrown
Expected behavior
Tauri booting without manual work required
Full tauri info output
Not applicable, straight forward issue

Stack trace
No response
Additional context
Replacing  // @ts-expect-error process is a nodejs global  by import process from "node:process"; in vite.config.ts or any file using process variable would ensure nothing is assumed

I will move this issue over to vite instead, technically their issue.


text:
Update README.md

https://github.com/taw00/riot-rpm/raw/master/toddpkgs-riot-repo-fedora.rpm -> https://github.com/taw00/riot-rpm/raw/master/toddpkgs-riot-repo.fedora.rpm

duplicate of #24


text:
Try correcting the name to the name of an existing getter, or defining a getter or field named 'SliverStaggeredGrid'.  : SliverStaggeredGrid.countBuilder(

Try correcting the name to the name of an existing getter, or defining a getter or field named 'SliverStaggeredGrid'.
: SliverStaggeredGrid.countBuilder(
quick fix messages are ( Undefined name 'SliverStaggeredGrid'.
Try correcting the name to one that is defined, or defining the name )

I hope you're doing well!
I wanted to share that I’m currently building an updated and functional
version of the BringApp food vendor clone app, and I’m documenting each
step in a guide on Medium. This series walks through the entire development
process, from initial setup to advanced features, so anyone interested can
follow along.
The first post, titled "Building an Updated BringApp Food Vendor Clone App
with Flutter – Part 1: Seller App Setup,"
@.***/building-an-updated-bringapp-food-vendor-clone-app-with-flutter-1-seller-app-setup-796607d0f0d1>
is already live, and I’ll be publishing additional parts soon to complete
the series.
Feel free to check it out, and let me know if you have any questions or
feedback!
Arafat @.***>, 5 Ağu 2022 Cum, 16:21 tarihinde şunu
yazdı:

Try correcting the name to the name of an existing getter, or defining a
getter or field named 'SliverStaggeredGrid'.
: SliverStaggeredGrid.countBuilder(
quick fix messages are ( Undefined name 'SliverStaggeredGrid'.
Try correcting the name to one that is defined, or defining the name )
—
Reply to this email directly, view it on GitHub
https://github.com/taydinadnan/BringApp-Delivery-service-app/issues/3,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOVZYXSDXJ6VT4WZ4DXOAW3VXUPP3ANCNFSM55WICBXA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

license: Unlicense


text:
Dissable_button_box does not emit valueChanged signal

Hi @tblanke
I noticed another bug w.r.t. the dissable_button_box function.
When a button is dissabled, this does not emit a valueChanged signal and hence the show_option_under_multiple_conditions is not called.
I will create an example where this error is visible.
Best,
@wouterpeere

[ ] Note: we also need to check what the truth value is if all the buttons are disabled ...

Hi @tblanke
I added an example:
The password is visible iff button_box_short (i.e. 'b or c') is 'b'.
To reproduce the error:

Set button_box_short to 'c' --> the password is invisible
Set float_b to 49 --> option 'c' is disabled and the button_box switches to 'b'
password is still invisible since the button_box didn't trigger the ValueChanged signal

Hi @tblanke
I think I solved this issue.
I also changed the way the is_hidden() is handled for the button_box. If all the options are hidden (but the frame is not), is_hidden() is now True and also the visibilityChanged signal is emitted.
Can you please take a look?
Best,
@wouterpeere

repo: tblanke/ScenarioGUI


text:
boilerplate for wb view

Wb view now working with custom icon and view name.

test 2...looks good!

repo: tblong/NiagaraAX-pong


text:
Drop constructor

Remove new ModuleBlock() constructor from spec (not sure I am handling that right) (fixes #25)
Remove ObjectURL support (fixes #29)
Add more details to the “HTML Integration” section

I remain opposed to this. This would make ModuleBlock the only form of reusable code, aside from class (which produces a function anyways), that doesn't have a code-string-taking constructor. Dropping this constructor would be consistent with not having AsyncFunction, GeneratorFunction, and AsyncGeneratorFunction, but since we have those, I think we should have this too.

@ljharb Let’s continue that discussion in #25

@surma it doesn't send a good signal imo to make a change before a discussion is resolved. We can continue discussing in #25, but my position is unlikely to change.

I assumed a proposal repository should reflect the current opinion of the proposal champions. If that’s not the case, my apologies.
As my own opinion on whether or not we have a constructor is fairly weak, I am currently going with what seems to be the majority (incl. the opinions voiced during the last TC39 meeting), and that was to not have a constructor. As such I adjusted the current draft spec accordingly.
I actively re-opened the issue #25 so we can continue to have discussion on this. I hope that this negates any potential “bad signal” interpretations of this PR.

Let's discuss this technical issue further in a future TC39 meeting. We can always reconsider this design point prior to Stage 3.
@ljharb My understanding of the TC39 process is that champions are encouraged to continue development and experimentation during Stage 2, and then committee consensus is required to advance to Stage 3. If you want to propose a process change that champions can't land patches in these cases, I encourage you to add that to the agenda, rather than telling champions what is and isn't a good signal in individual threads like this.

I am not implying anything that contradicts your understanding of the process, I’m saying it makes me feel bad, and it behooves a person not to make people whom they need to persuade feel bad.

authors: littledan ljharb surma


text:
fix deprecated scope delim in arg cmd

fix the warning:
The '%' scope delimiter in 'Arguments' commands is deprecated, use '%_'
instead (available since 8.19). The '%' syntax will be reused in a future
version with the same semantics as in terms, that is adding scope to the
stack for all subterms. Code can be adapted with a script like: for f in
$(find . -name '*.v'); do sed '/Arguments/ s/%/%_/g' -i $f ; done
[argument-scope-delimiter,deprecated-since-8.19,deprecated,default]

Thanks for pointing this out! This would break compatibility with Coq < 8.19. I'd prefer to simply remove the entire Arguments command. The P argument is already being parsed in bi_scope based on the type.

authors: sanjit-bhat tchajed

repo: tchajed/iris-named-props


text:
Edge Case with formatted links

Hi, I reported the Open Graph command not working in the Foam discord the other day with an error message saying there was an illegal character causing the error.
I found the link causing it, it was scraped from a web page with Notion (I exported all my Notion data into my own workspace)
This worked on the previous version of Foam but no the latest (0.3.0)
Here's the link, the angle brackets were causing it but it was weirdly nested:
[create a free Cloudinary account](<[https://cloudinary.com/users/register/free](https://cloudinary.com/users/register/free%5C)>).

Like the title says it's an edge case, just an FYI
Thanks for the awesome Extension :pray:

Sorry for taking so long to get back to you 😞 .
That link is very, very helpful in finding the cause. Sounds like a matter of escaping those chars.

I think this is probably connected to issue #45
As
[create a free Cloudinary account](<[https://cloudinary.com/users/register/free](https://cloudinary.com/users/register/free%5C)>)
contains the same [](( : )) char sequence that's causing an error in that issue.

authors: RyanPersson spences10 tchayen

repo: tchayen/markdown-links


text:
Building conda package from source code on pypi

Hi :)
I am currently trying to build an anaconda package from the source code you uploaded on pypi.org. Since it is on pypi it is supposedly quite easy to do so ^^.
For reference, i followed this official guide: conda-build skeleton.
During testing the build scripts expects the following path in the folder og.fmodpy: /about/version.txt
What is the purpose of og.fmodpy? You mentioned somewhere that this folder contains old code. Is it necessary to make your module work?

No it is not necessary and I should remove it. og_fmodpy is the original version of this code from years ago. It's ugly code, but it allows for a special case of passing subroutines as arguments  and that's the only reason I kept it around.
I'll remove it from the repository and publish a new version in a minute.

New version 1.3.0 is out, og_fmodpy is removed. Hope that helps!

Thanks :) I'll try again this week.

authors: koshMer tchlux

repo: tchlux/fmodpy


text:
Enable server and client logging to the database.

This allows arbitrary edit-replay of any issue discovered in production. However, it bloats the database; there should be some features to cull the database over time.

bors r+

repo: tcr/edit-text


text:
Could not pass event CreatureSpawnEvent to VanillaTweaks v1.3.2-beta

Error shown in the console, seems like LargerPhantoms pack is causing this. In terms of the functionality of the plugin, I don't know yet, will update.

Hey, can you paste the entire error? (Should be in /logs) I can't seen to replicate this, thanks!

https://pastebin.com/2jCt5pbX
This is the latest error I've gotten. Happens at night when phantoms are trying to spawn. They do spawn though.
Weirdly enough, I've not receive this error anymore after a while.

This will be fixed in the next version, thanks!

authors: RisPNG teakivy

repo: teakivy/vanilla-tweaks


text:
Add Theme

Add a theme to our project as other groups have done.

Duplicate issue

authors: dubersj nathanthefriendlybabydev


text:
BottomNavBar에 아이콘 추가하기

📌 요약

BottomNavBar 컴포넌트에 아이콘을 추가했습니다.

close #9

📝 작업 내용

BottomNavBar 컴포넌트에 아이콘 추가

🖥 스크린샷

확인했습니다! 🫠

authors: SuaJeong-winter wontory

repo: team-swith/swith-client


text:
change yoyo servo mount to torque servo mount

Torque servos are supposed to be mounted in a mount specific to torque servos. This should be changed to preserve the integrity of our wonderful servo friend

This has already been done for both Claw servos.


text:
Update faq.yml

delete part of faq

Description

As already mentioned in #ISSUE_NUMBER, this PR tackles:

...
...
...

In particular, the ...
Checklist

[ ] I followed the indications in the CONTRIBUTING
[ ] The documentation related to the proposed change has been updated accordingly (also comments in code).
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?
[ ] Ready for review! :rocket:

Fixes

Fixes #

@denismarini @bfabio please


text:
🛑 Appointments API is down

In 01b5354, Appointments API (https://app.greyfinch.com/rest/v1/public/divisions/981581/locations) was down:

HTTP code: 503
Response time: 6 ms

Resolved: Appointments API is back up in 9706ae4.

repo: teamgreyfinch/public-status


text:
🛑 PMS Application - https://app.staging.greyfinch.com/ is down

In 20cf34b, PMS Application - https://app.staging.greyfinch.com/ (https://app.staging.greyfinch.com/) was down:

HTTP code: 502
Response time: 183 ms

Resolved: PMS Application - https://app.staging.greyfinch.com/ is back up in 9bfacbe.

repo: teamgreyfinch/staging-status


text:
deis-nsqd pod is leaking FS usage

From @felipejfc on March 19, 2017 2:22
posted in
https://github.com/deis/logger/issues/138
Copied from original issue: deis/nsq#15

From @felipejfc on March 29, 2017 17:55
Think this happens when kubernetes has too many logs/s, due to nsq's architecture, I believe it will keep writing to disk if the logger does not consume from it fast enough. This leads to the leak.
Maybe we should scale the nsq and logger?

@Cryptophobia Any update on it? I came across on this issue last night. My deis-nsqd pod used 500GB of storage. Should I scale it up?

@pdomagala , can you give more details on the issue? I suspect your applications are spewing lots of logs and nsqd cannot keep up. You can either limit their log level or scale up. Have you seen how much memory and CPU nsqd needs, it may also need more CPU to handle the load.

@Cryptophobia To be honest, we migrated our k8s nodes to faster storage (NVME) and scaled up nsqd replicas and problem has gone.

Great to hear! Must have been a problem with scale or the storage IO speed.

authors: Cryptophobia pdomagala

repo: teamhephy/nsq


text:
Sleeping the computer causes an implicit logout

The title may not be accurate, but it can be treated as that behaviour.
Currently, if trying to sleep the computer and wait a few hours (or just let the display go to sleep) there is often a requirement to log out and log back in. Closing the app and reopening it also sometimes works.
We have a refresh token and authentication information. We should be able to handle this if it's only a small amount of time before needing to refresh the auth token.
Even asking the user to reauthenticate is fine, but it shouldn't be as cryptic as it is.

It happens after long usage even if not sleeping the computer. I dogfood the software so this has annoyed me a fair bit.
This issue persisted in old versions of the software too. I don't know why I only reported this now. Prioritising for the next release.

Fixed in v0.10.1.

repo: teaminkling/mac-spotify-np


text:
Fix measurement readings and refactor API

This PR addresses several improvements and fixes:

Corrects an issue with reading measurements from the sensor, which previously provided incorrect readings due to endianness bugs in the original code.

Replaces f32 based temperature and humidity settings with scaled u16. This change is aimed at improving convenience and efficiency on small microcontrollers.

I have carefully tested these changes to ensure accurate sensor readings.

Thanks for your pull request. Your changes look very nice. Thanks for detecting the calculation bugs. Tested the calculations not very well.
In addition, could you add a idle() function to switch to idle mode to access all modes.

Added function to go to idle state.


text:
Reference solution fails for scale_samples models greater equal 64

Running the Reference solution on scale_samples 1, 2, 4, 8, 16, 32 works just fine, the greater examples fail with:
Program exited with errorCalledProcessError(1, 'dotnet bin/netcoreapp3.1/NMFSolution.dll reference')
Running benchmark: tool = Reference, scenario = scale_samples, model = 256
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\zuend\IdeaProjects\TTC2021LabWorkflow\ttc21incrementalLabWorkflows\models\scale_samples\256\results\initialResult-Reference.xmi'.
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.IO.File.Create(String path)
at TTC2021.LabWorkflows.Commandline.SolveVerbBase.Initial() in C:\Projects\ttc2021\solutions\Reference\Commandline\SolveVerbBase.cs:line 74
at TTC2021.LabWorkflows.Commandline.SolveVerbBase.ExecuteCore() in C:\Projects\ttc2021\solutions\Reference\Commandline\SolveVerbBase.cs:line 36
at TTC2021.LabWorkflows.Commandline.VerbBase.Execute() in C:\Projects\ttc2021\solutions\Reference\Commandline\VerbBase.cs:line 15

I will take a look into that.

authors: azuendorf georghinkel


text:
Rehydrating unique index claims duplicate key

I had a weird issue with a database I was building. The database can be found at this gist. When I load it using the below code, I get a duplicate key error Error: Duplicate key for property threadId: 1109852
self.db = new loki(dbpath, {
        autoload: true,
        autosave: true, ,
        autosaveInterval: 10000
      })
    })

The stack at this error is:
debug> bt
#0 UniqueIndex.set lokijs.js:3927
#1 lokijs.js:3035:15
#2 Collection.ensureUniqueIndex lokijs.js:3034:17
#3 Loki.loadJSON lokijs.js:693:22
#4 lokijs.js:897:18
#5 lokijs.js:826:11

I'm not really sure what I did wrong but I started to use dynamic views and then kind of realized I wasn't really aware if they persisted to file properly or if they were even meant to in the first place. So I removed all of the code that used the dynamic view but not the code that built the dynamic view; I'm still early in prototyping the process of building and loading a database - thus I'm constantly rebuilding it from scratch and then loading from file. The initial load would work but a subsequent load would throw the duplicate key error. I tried diff'ing the json after the initial build and the json after the first load and found the differences here:

The only differences were in the dynamic view I wasn't using so I removed it and everything seems to work fine now. Hope this bug report helps.

Thanks for posting that gist, made this pretty easy to reproduce.  I tried loading your database using our sandbox and I get the 'duplicate key' for property 'threadId' error.
The data in that collection ('threads') does appear to have duplicate documents.  Of the four documents in that collection, two are duplicates... so there is a clash not only with the 'threadId' property but with the $loki id as well.   I would be interested in knowing how that happened.
Only 'find' filters added to DynamicView will persist.  Your 'where' filter (since it points to a javascript function) can't be persisted, so it is cleared out when inflating.  If you wish to use 'where' filters with dynamic views, you need to reapply them manually after loading the database.
Using a text editor I was able to clear out the 'uniqueNames' property of the 'threads' collection, setting it to empty array [] and the database was able to load the dirty data and I could inspect the database using our sandbox.
Could the data have been dirty before the unique index was first applied?  Might need some new tests for this, let me know if you know how to reproduce this.

It happens because on Collection.prototype.update = function (doc) ....
        obj = arr[0];
        Object.keys(this.constraints.unique).forEach(function (key) {
          self.constraints.unique[key].update(obj);
        });

but obj is the old item
solved by:
        obj = arr[0];
        Object.keys(this.constraints.unique).forEach(function (key) {
          self.constraints.unique[key].update(doc);
        });

where doc is the updated item

I think i may take some time to look over this since i am unfamiliar with techfort's unique index implementation here.
I'll see if i can devise a test case to reproduce this sometime this weekend.  If you already have a test case, feel free to post it.

Ok, so I think I know what is going on here but a few other issues came up while researching this.
First, I think I found out that the current implementation of unique indexes does not act reliably if you update the property you defined the unique index on.
Here is a loki sandbox gist which demonstrates this problem.
So, for now, if you define a unique index then that property should never change or else you would need to remove and (re)insert.
I might be able to hack a quick fix, but instead I think we need to look over our object referencing implementations/strategies.  Once techfort gets back I will see how he wants to handle object instancing in light of the fact that we support 'clone' objects which does not seem to work as I would expect we would want it to.

something new in this ?

First off I believe this issue is either resolved or needs more complete repro error from users.  My gist did not seem to indicate an error afterall but showed other issues.
First off, if it was me, I would never update a document property marked as a unique index after it had been inserted the first time.  I would treat it like the built in $loki property and never change it.
If you wish to update this property, you can do so.  When you call update it will update the collection.constraints.unique.  If you have an object with a unique index on ... say 'username'.  After updating that property in a document and calling update(),  I can once again insert a new document using the old username and it will return successfully.  Successfully means I get an object instance rather than (empty array?).
Where this led me is to notice how fragile this would be if you started updating uniquely indexed columns without calling update().   This led me to expand our object cloning option which I described in issue #256 and already implemented in main branch.  So either adhere to restrained 'updating' of existing unique keys or pay the performance cost associated with turning on full collection cloning to ensure that your objects and loki objects are separate object instances (forcing you to use api to update).
Again, I never really received follow up from anyone with a detailed plunk to repro this issue, if you are encountering issue other than described, feel free to provide example.

@obeliskos I completely agree based on your initial reply. I don't think the problem is properly stated and I don't think I provided enough information to point to the true issue. Unfortunately, I haven't had an opportunity to follow up or continue work on the project I was working on in order to provide a better issue log. I think at this point, this particular issue can be closed and once I have better information, I can open a new one.

Not sure if this is bad form (tagging onto a close item) but I am also seeing this issue and thought the context was important. Attached is my database. I am loading it using this command:
_articles = _db.getCollection('articles').ensureUniqueIndex('href');
With that ensureUniqueIndex on there I get the below error when reloading.
The data is inserted once and never updated. The record with href 'https://cors3.stratfor.com/analysis/ukraines-conflict-rumors-compromise-grow' is unique and the $loki ids are also unique still.
I'm a newbie with loki so might be just doing something incorrect but my data seems ok. Maybe using a URL as a unique key is bad form or something in the URL format is causing the key check to exit early?
Tracing the code it looks like ensureUniqueIndex is looping back over the database file
     this.data.forEach(function (obj) {
        index.set(obj);
      });

I watched this function
UniqueIndex.prototype.set = function (obj) {
Loop through the entire dataset and then get called again for the first item in the dataset.
I tested this in sandbox and got the same error using the attached db and this code:
logDatabase();
inspectObject(db);
_articles = db.getCollection('articles').ensureUniqueIndex('href');

Uncaught Error: Duplicate key for property href:
https://cors3.stratfor.com/analysis/ukraines-conflict-rumors-compromise-grow
(line 4356 col 11)

data.json.zip
Uncaught Error: Duplicate key for property href: https://cors3.stratfor.com/analysis/ukraines-conflict-rumors-compromise-grow
UniqueIndex.set @ lokijs.js:4252
(anonymous function) @ lokijs.js:3336
Collection.ensureUniqueIndex @ lokijs.js:3335
(anonymous function) @ article-list.js:56
loadDatabaseCallback @ lokijs.js:975
loadDatabase @ lokijs.js:931
Loki.loadDatabase @ lokijs.js:972
initDB @ article-list.js:55
(anonymous function) @ app.js:49(
anonymous function) @ ionic.bundle.js:44991
onPlatformReady @ ionic.bundle.js:2447
onWindowLoad @ ionic.bundle.js:2428

I also just went up a level of debug and saw that
Collection.prototype.ensureUniqueIndex = function (field) {
Is called twice in my load scenario. I confirmed that I was not calling it twice in my code and the sandbox test validates that. This is happening farther up the chain but I'm running out of late evening debug skills and someone more qualified can probably pinpoint it faster.
Tx!
John-

authors: KodeAndGame jpablom obeliskos siberian1967

repo: techfort/LokiJS


text:
Conference Details

techlahoma.org indicates that we have created 4 conferences, but we only put on two. Also, the dates on https://www.techlahoma.org/conferences are for 2017.

It's misleading to claim that SQL Saturday is a national event we sponsor. It's a national event, and we may have sponsored SQL Saturday OKC in the past, but I don't think we are sponsoring SQL Saturday.

@JeffLowe it doesn't seem appropriate to say that we sponsor these events if we don't. Could the page say that these are national events we have sponsored?

I was planning on tasking this to Marketing committee in the website repo.  But we can just leave here and tag for carlos

@JeffLowe @kacollins if you can give me edit/admin access to this repo, i'm happy to host both marketing and website (/social media) requests to this issue list.  I can tag stuff one, or the other, or both, etc.

This sounds like a task for the infrastructure committee. I'll create an issue for it.

authors: JeffLowe chimchim237 kacollins

repo: techlahoma/techlahoma


text:
feat: align section title and link to adopted trees

align section title and link to adopted trees

@aeschi  yes makes sense. I added text-end to it (which works for all screens as far as I can tell). Let me know what you think :)

repo: technologiestiftung/giessdenkiez-de


text:
release: v2.3.0

Description: 概要

Changes: 変更内容

Changes

feat: set params for each (closes #21) (#23) @technote-space
chore: change const variable name (c841bbe69aff7c3c42a68286ab1a4ca09396f764)
chore: tweaks (3e286e0337044fdaf7fde52507e7e74455051f16)

Expected Impact: 影響範囲

Operating Requirements: 動作要件

Additional context: 補足

Codecov Report

Merging #24 (73f7c41) into master (78b0a44) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #24   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         7    +1
  Lines          177       211   +34
  Branches        31        34    +3
=========================================
+ Hits           177       211   +34

Impacted Files
Coverage Δ

src/constant.ts
100.00% <100.00%> (ø)

src/index.ts
100.00% <100.00%> (ø)

src/lib/params.ts
100.00% <100.00%> (ø)

src/lib/transform.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

authors: codecov-io technote-space

repo: technote-space/doctoc


text:
feat: added install fest docs

Added new docs for install fest. If there's anything else we need to include let me know

This is really great!
Only thing to add would be a WSL install guide, or choco commands for native Windows.
Might be worth having a section on how to use the terminal for brand new members as well, it can just be -
Search for Terminal with Spotlight and open it, then copy the command exactly and press enter to confirm it
MacOS example since Linux users should know about the terminal lol

This is really great! Only thing to add would be a WSL install guide, or choco commands for native Windows. Might be worth having a section on how to use the terminal for brand new members as well, it can just be - Search for Terminal with Spotlight and open it, then copy the command exactly and press enter to confirm it MacOS example since Linux users should know about the terminal lol

✅ Added WSL2 installation guide and some basic Linux commands/ learning resources.
I don't think Windows terminal commands are necessary, we should encourage them to use Linux as much as possible.

I updated the current Django guide with my changes. Some of the commands were outdated since homebrew installs Python 3 by default. Also added a section on how to connect Postgres with Django instead of using SQLite.

authors: Anidion wongsitu

repo: techstartucalgary/Docs


text:
[WIP] Irreps Ops

Functions:

[X]  Irreps* irreps_tensor_product(Irreps* i1, Irreps* i2): creates irreps of the tensor product between two irreps
[ ] Irreps* irreps_concatenate(Irreps* i1, Irreps* i2): creates irreps of the concatenation of two irreps
[ ] Irreps* irreps_linear(Irreps* input, Irreps* output, bool force_irreps_out): creates irreps of the linear operation removing unmatching irreps if force_irreps_out==false, but just copies output otherwise
[ ] int linear_weight_size(Irreps* input, Irreps* output): computes the weight matrix size given input and output irreps

@mitkotak
Benchmarking irreps from string vs computed tensor product:
// tmp.c

#include <stdio.h>
#include <time.h>

#include "e3nn.h"

int main(void){
    Irreps* irreps1 = irreps_create("1x0e+1x1o+1x2e+1x3o+1x4e+1x5o+1x6e+1x7o");
    Irreps* irreps2 = irreps_create("128x0e+128x1o+128x2e+128x3o+128x4e+128x5o+128x6e+128x7o");

    const int trials = 1000;

    clock_t start = clock();
    for (int trial = 0; trial < trials; trial++) {
        Irreps* irrepso_gen = irreps_create("1024x0e+1792x1o+896x1e+2432x2e+1536x2o+2816x3o+2048x3e+3072x4e+2304x4o+3072x5o+2432x5e+2944x6e+2304x6o+2560x7o+2048x7e+2048x8e+1536x8o+1536x9o+1152x9e+1152x10e+768x10o+768x11o+512x11e+512x12e+256x12o+256x13o+128x13e+128x14e");
    }
    float elapsed = ((float) clock() - start) / CLOCKS_PER_SEC;
    printf("from string, %f us\n", elapsed / trials * 1e6);

    start = clock();
    for (int trial = 0; trial < trials; trial++) {
        Irreps* irrepso_computed = irreps_tensor_product(irreps1, irreps2);
    }
    elapsed = ((float) clock() - start) / CLOCKS_PER_SEC;
    printf("computed, %f us\n", elapsed / trials * 1e6);

    Irreps* irrepso_gen = irreps_create("1024x0e+1792x1o+896x1e+2432x2e+1536x2o+2816x3o+2048x3e+3072x4e+2304x4o+3072x5o+2432x5e+2944x6e+2304x6o+2560x7o+2048x7e+2048x8e+1536x8o+1536x9o+1152x9e+1152x10e+768x10o+768x11o+512x11e+512x12e+256x12o+256x13o+128x13e+128x14e");
    Irreps* irrepso_computed = irreps_tensor_product(irreps1, irreps2);
    irreps_print(irrepso_gen);
    irreps_print(irrepso_computed);

    irreps_free(irreps1);
    irreps_free(irreps2);
    irreps_free(irrepso_gen);
    irreps_free(irrepso_computed);
    return 0;
}

On my machine I am getting roughly:

from string, 4.241000 us
computed, 0.518000 us

So computing irreps speed is significantly faster than even reading from string.

Wow. Those vectorization super powers sure seem to be doing wonders. Can you stretch the string a bit more to see if there's a point at which it breaks even ?

With a tensor product of two lmax 50 tensors its still faster to compute than parsing the string. I'm sure trend reverses at some point since computation is $O(L^3)$ and parsing is $O(L)$, but I don't think its matters for any reasonable cases.
// tmp.c

#include <stdio.h>
#include <time.h>

#include "e3nn.h"

int main(void){
    Irreps* irreps1 = irreps_create("1x0e+1x1o+1x2e+1x3o+1x4e+1x5o+1x6e+1x7o+1x8e+1x9o+1x10e+1x11o+1x12e+1x13o+1x14e+1x15o+1x16e+1x17o+1x18e+1x19o+1x20e+1x21o+1x22e+1x23o+1x24e+1x25o+1x26e+1x27o+1x28e+1x29o+1x30e+1x31o+1x32e+1x33o+1x34e+1x35o+1x36e+1x37o+1x38e+1x39o+1x40e+1x41o+1x42e+1x43o+1x44e+1x45o+1x46e+1x47o+1x48e+1x49o+1x50e");
    Irreps* irreps2 = irreps_create("128x0e+128x1o+128x2e+128x3o+128x4e+128x5o+128x6e+128x7o+128x8e+128x9o+128x10e+128x11o+128x12e+128x13o+128x14e+128x15o+128x16e+128x17o+128x18e+128x19o+128x20e+128x21o+128x22e+128x23o+128x24e+128x25o+128x26e+128x27o+128x28e+128x29o+128x30e+128x31o+128x32e+128x33o+128x34e+128x35o+128x36e+128x37o+128x38e+128x39o+128x40e+128x41o+128x42e+128x43o+128x44e+128x45o+128x46e+128x47o+128x48e+128x49o+128x50e");

    const int trials = 1000;

    clock_t start = clock();
    for (int trial = 0; trial < trials; trial++) {
        Irreps* irrepso_gen = irreps_create("6528x0e + 12800x1o + 6400x1e + 18944x2e + 12544x2o + 24832x3o + 18560x3e + 30592x4e + 24320x4o + 36096x5o + 29952x5e + 41472x6e + 35328x6o + 46592x7o + 40576x7e + 51584x8e + 45568x8o + 56320x9o + 50432x9e + 60928x10e + 55040x10o + 65280x11o + 59520x11e + 69504x12e + 63744x12o + 73472x13o + 67840x13e + 77312x14e + 71680x14o + 80896x15o + 75392x15e + 84352x16e + 78848x16o + 87552x17o + 82176x17e + 90624x18e + 85248x18o + 93440x19o + 88192x19e + 96128x20e + 90880x20o + 98560x21o + 93440x21e + 100864x22e + 95744x22o + 102912x23o + 97920x23e + 104832x24e + 99840x24o + 106496x25o + 101632x25e + 108032x26e + 103168x26o + 109312x27o + 104576x27e + 110464x28e + 105728x28o + 111360x29o + 106752x29e + 112128x30e + 107520x30o + 112640x31o + 108160x31e + 113024x32e + 108544x32o + 113152x33o + 108800x33e + 113152x34e + 108800x34o + 112896x35o + 108672x35e + 112512x36e + 108288x36o + 111872x37o + 107776x37e + 111104x38e + 107008x38o + 110080x39o + 106112x39e + 108928x40e + 104960x40o + 107520x41o + 103680x41e + 105984x42e + 102144x42o + 104192x43o + 100480x43e + 102272x44e + 98560x44o + 100096x45o + 96512x45e + 97792x46e + 94208x46o + 95232x47o + 91776x47e + 92544x48e + 89088x48o + 89600x49o + 86272x49e + 86528x50e + 83200x50o + 83200x51o + 80000x51e + 80000x52e + 76800x52o + 76800x53o + 73728x53e + 73728x54e + 70656x54o + 70656x55o + 67712x55e + 67712x56e + 64768x56o + 64768x57o + 61952x57e + 61952x58e + 59136x58o + 59136x59o + 56448x59e + 56448x60e + 53760x60o + 53760x61o + 51200x61e + 51200x62e + 48640x62o + 48640x63o + 46208x63e + 46208x64e + 43776x64o + 43776x65o + 41472x65e + 41472x66e + 39168x66o + 39168x67o + 36992x67e + 36992x68e + 34816x68o + 34816x69o + 32768x69e + 32768x70e + 30720x70o + 30720x71o + 28800x71e + 28800x72e + 26880x72o + 26880x73o + 25088x73e + 25088x74e + 23296x74o + 23296x75o + 21632x75e + 21632x76e + 19968x76o + 19968x77o + 18432x77e + 18432x78e + 16896x78o + 16896x79o + 15488x79e + 15488x80e + 14080x80o + 14080x81o + 12800x81e + 12800x82e + 11520x82o + 11520x83o + 10368x83e + 10368x84e + 9216x84o + 9216x85o + 8192x85e + 8192x86e + 7168x86o + 7168x87o + 6272x87e + 6272x88e + 5376x88o + 5376x89o + 4608x89e + 4608x90e + 3840x90o + 3840x91o + 3200x91e + 3200x92e + 2560x92o + 2560x93o + 2048x93e + 2048x94e + 1536x94o + 1536x95o + 1152x95e + 1152x96e + 768x96o + 768x97o + 512x97e + 512x98e + 256x98o + 256x99o + 128x99e + 128x100e");
    }
    float elapsed = ((float) clock() - start) / CLOCKS_PER_SEC;
    printf("from string, %f us\n", elapsed / trials * 1e6);

    start = clock();
    for (int trial = 0; trial < trials; trial++) {
        Irreps* irrepso_computed = irreps_tensor_product(irreps1, irreps2);
    }
    elapsed = ((float) clock() - start) / CLOCKS_PER_SEC;
    printf("computed, %f us\n", elapsed / trials * 1e6);
    irreps_free(irreps1);
    irreps_free(irreps2);
    return 0;
}

from string, 33.429998 us
computed, 18.279999 us

Also added a few helper functions irreps_print, irreps_copy and updated the tetris example to use these ops instead of hardcoding all the irreps manually.

authors: mitkotak teddykoker


text:
🛑 Front-end is down

In f717409, Front-end (https://feddit.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Front-end is back up in e5e9c9f after 32 minutes.

repo: tedvdb/feddit-status


text:
Cover tmt.libraries with pyright checks

Pull Request Checklist

[x] implement the feature

/packit test --identifier full

authors: happz psss

repo: teemtee/tmt


text:
fixing hardcodes and exposing tile_size

Hi. It is sometimes usefull to change the default googles tilesize of 256. I played with that in your code and have it tested and working. Cheers.

Thanks

authors: kudrynski machakux


text:
tag question

Hello
The values in the tags are 0, 1, or 2 in the file "cuda.mono.train.aer.jsonl". Are they AST Entity Recognition Tags in appendix D.2 ?
It is not clear there are only three tag types in jsonl but the tag IDs are odd values from 1 to 15.

Thank you for bringing this to our attention.
The files you mentioned were an older version of the data that had been uploaded.
We have now uploaded the updated files.

I am not sure about the tag ID for "bottom_data".  For example,
{"tokens":["global","void","MaxPool2d","(","float","*","bottom_data",",","const","int","height"," ... }
The tag IDs for the above tokes are 0,7,3,0,7,13,13,0,15,7,1
So the tag ID of 'bottom_data' is 13 while it is 1 for 'height'.

repo: tehranixyz/CodeRosetta


text:
MS Sculpt Erognomic Desktop Mouse does not allow rebinding of right_opt

NB: This is the mouse from this bundle: https://www.microsoft.com/accessories/en-us/products/keyboards/sculpt-ergonomic-desktop/l5v-00001 and not the same as the Sculpt Comfort mouse from https://github.com/tekezo/Karabiner-Elements/issues/565
The mouse has a button that identifies in EventViewer as right_option:

However it does not seem to be able to be modified by Karabiner. For example, the following simple modification appears to do nothing:
"simple_modifications": {
                "right_option": "vk_launchpad"
             },

+1

I think this is related to the changes made to fix #39

authors: funkju ivan-m zxaos

repo: tekezo/Karabiner-Elements

license: unlicense


text:
NGMIDES and OLENGIDES

NGMIDES and OLENGIDES created by palau371@gmail.com on 2021-12-04 15:41:05

palau371@gmail.com replied, NGMIDES, not NGMIDE...

palau371@gmail.com replied, we already have that one: olengides, v.caus.olengides a orrebet; ngmides; olengides a iedel; ongdesel.what do mean NGMIDE and OLENGIDES? any examples?

mngiruchelbad@gmail.com replied, To cut something as in thin slices or sliver.
Ngmides: Akmla ngmides aikel iedel. I have sliced the mangoes.
Olengides: A Ulang olengides a iedel. Ulang is slicing the mangoes.

repo: tekinged/missing


text:
Version one ahk?

When i run the ahk script is ask's me to install version one because it "needs it",

could we adapt it for other versions?

I write code for AHK v1.1. I do not like v2.

Is there a way to convert it

i asked chatgpt it gave me this, I'm trying it
#NoTrayIcon
if WinExist("ahk_class Progman", "FolderView") {
SendMessage(0x052C)
}
hWorkerW := WinExist("ahk_class WorkerW", "FolderView")
hWallpaper := DllCall("User32\FindWindowEx", "Ptr", 0, "Ptr", hWorkerW, "Str", "WorkerW", "Ptr", 0, "Ptr")
Run(TextReplace("%1%", "/p", hWallpaper))
ExitApp()

it didnt work

authors: CoderGuyTedd teknixstuff

repo: teknixstuff/screenpaper


text:
CLI does not build when importing Chains module

Expected Behavior
Being able to include the chains module in the CLI and build it.
Actual Behavior
As reported in PR #245 (https://github.com/tektoncd/chains/pull/245#issuecomment-940585881), the CLI does not build due to a dependency issue when the chains module is added.
╭ cli on  chains-cli via 🐹 v1.17.2 ⌛ 4s
╰❯ go build ./cmd/tkn
# github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1
vendor/github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1/openapi_generated.go:117:3: cannot use "github.com/go-openapi/spec".Schema{...} (type "github.com/go-openapi/spec".Schema) as type "k8s.io/kube-openapi/pkg/validation/spec".Schema in field value
vendor/github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1/openapi_generated.go:146:11: cannot use ref("k8s.io/api/core/v1.Toleration") (type "k8s.io/kube-openapi/pkg/validation/spec".Ref) as type "github.com/go-openapi/spec".Ref in field value
vendor/github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1/openapi_generated.go:155:8: cannot use ref("k8s.io/api/core/v1.Affinity") (type "k8s.io/kube-openapi/pkg/validation/spec".Ref) as type "github.com/go-openapi/spec".Ref in field value
vendor/github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1/openapi_generated.go:161:8: cannot use ref("k8s.io/api/core/v1.PodSecurityContext") (type "k8s.io/kube-openapi/pkg/validation/spec".Ref) as type "github.com/go-openapi/spec".Ref in field value
vendor/github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1/openapi_generated.go:178:11: cannot use ref("k8s.io/api/core/v1.Volume") (type "k8s.io/kube-openapi/pkg/validation/spec".Ref) as type "github.com/go-openapi/spec".Ref in field value
vendor/github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1/openapi_generated.go:208:8: cannot use ref("k8s.io/api/core/v1.PodDNSConfig") (type "k8s.io/kube-openapi/pkg/validation/spec".Ref) as type "github.com/go-openapi/spec".Ref in field value
vendor/github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1/openapi_generated.go:240:11: cannot use ref("k8s.io/api/core/v1.LocalObjectReference") (type "k8s.io/kube-openapi/pkg/validation/spec".Ref) as type "github.com/go-openapi/spec".Ref in field value
vendor/github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1/openapi_generated.go:254:11: cannot use ref("k8s.io/api/core/v1.HostAlias") (type "k8s.io/kube-openapi/pkg/validation/spec".Ref) as type "github.com/go-openapi/spec".Ref in field value
vendor/github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1/openapi_generated.go:277:3: cannot use "github.com/go-openapi/spec".Schema{...} (type "github.com/go-openapi/spec".Schema) as type "k8s.io/kube-openapi/pkg/validation/spec".Schema in field value
vendor/github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1/openapi_generated.go:320:3: cannot use "github.com/go-openapi/spec".Schema{...} (type "github.com/go-openapi/spec".Schema) as type "k8s.io/kube-openapi/pkg/validation/spec".Schema in field value
vendor/github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1/openapi_generated.go:320:3: too many errors

Steps to Reproduce the Problem

cd cli
git pr 1440 upstream # Or use your favorite one-liner to pull PR tektoncd/cli#1440
go build ./cmd/tkn

Additional Info
@priyawadhwa suggested updating the github.com/tektoncd/pipeline dependency to v0.28.0 (https://github.com/tektoncd/chains/pull/245#issuecomment-943536873).

Updating the pipeline dependency as mentioned above produce the same error 😢.

repo: tektoncd/chains


text:
Refine the comment for git init base image

Changes
After the PR is merged: https://github.com/tektoncd/pipeline/pull/3727
The git-init init image can be executed by as non-root user.
The original comment These base images run as root, xxx is not valid and will make user confuse.
Provide a PR to refine the comment for the git-init image
/kind misc
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[ ] Commit messages follow commit message best practices
[ ] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes

Good catch, thanks for fixing that!

/ok-to-test

authors: pritidesai sbwsg zhangtbj

repo: tektoncd/pipeline


text:
🛑 Site web de Tela Botanica is down

In 5431e54, Site web de Tela Botanica (https://www.tela-botanica.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Site web de Tela Botanica is back up in 72b5b1c.

repo: telabotanica/status


text:
An error occurs during the project build via mk in the plan 9 system

error - input.c:141 name not declared: Knack
mk: 8c -FTVw input.c  : exit status=rc 277: 8c 279: error
after deleting the else if(k == Knack){ len=0 } block from the input.c file, the project is successfully built

I looked at the keyboard.h file and didn't find anything similar to Knack or Kback. I still haven't figured out which key is meant by this name.

Oh, I found Knack in keyboard.h in the 9front system. But in the description of this project it says that nc is a file manager for plan9, so I do not know if it is a mistake or not


text:
🛑 Secret Site2 is down

In 92d0695, Secret Site2 ($SECRET_SITE_2) was down:

HTTP code: 404
Response time: 159 ms

Resolved: Secret Site2 is back up in a0550ae.

repo: templain/mywatcher


text:
[Bug] Broken download for ephemeral_server due to wrong CA

What are you really trying to do?
Trying to run tests in CICD using auto downloaded ephemeral_server.
Describe the bug
The pipeline where we try to run the test can access outside internet only via proxy. So downloading anything via SSL requires adding our own CA either to CA root ot by appending it via some env variable. We automatically do both and it works everywhere except in pipeline that is downloading ephemeral_server to execute unit tests.
The problem is this: https://github.com/temporalio/sdk-core/blob/c27b739e1a4c3f42c694b203ae3a269f5a8ec63f/core/Cargo.toml#L56
rustls-tls feature == rustls-tls-webpki-roots (https://github.com/rustls/webpki-roots)
That means that downloading ephemeral_server  will be validated only via Hardcoded Mozilla's trusted root certificates and nothing else. System root CA is not included and it is not possible to append any other CA via ENV variable.
I suggest switching to rustls-tls-native-roots. This feature also allows to append custom CA for validation.
Minimal Reproduction
running test via
from temporalio.testing import WorkflowEnvironment

env = await WorkflowEnvironment.start_local()

in an environment where access to outside is provided via self sign proxy
Environment/Versions

OS and processor: Linux x86_64/CICD/Jenkins
Temporal Version: latest
Are you using Docker or Kubernetes or building Temporal from source? Using provided temporal pkgs

There are many reasons why a user may not be able to use the default downloading approach (a TLS-terminating proxy is only one). In these cases, we would recommend downloading/extracting the CLI yourself and setting the executable path as dev_server_existing_path= which will prevent this default download that assumes traditional HTTP/TLS is used.

Yes, we should use system roots and we should fix (I think we incorrectly assumed this was the default).
In the meantime, you can download/extract the CLI yourself and set the executable path as dev_server_existing_path= which will prevent this default download approach.

authors: cretz reyder

repo: temporalio/sdk-core


text:
Incorrect usage of @cvrg-report/jacoco-json

When trying to get koverage extension to work with my java project, for which we use JaCoCo for coverage reports, I kept getting the following error [1681454235335][coverageparser][jacoco-parse]: Error: filename: [path-to-coverage-report]/jacoco.xml E.parseContent.parseContent is not a function
After some investigation, it seems that the usage of @cvrg-report/jacoco-json is incorrect.
The signature of parseContent from @cvrg-report/jacoco-json is parseContent(xml) and it returns a promise. However it is being used with the following signature parseContent(xml, callback) and does not handle the returned promise.
The following piece of code (link)
  import { parseContent as jacocoJson } from "@cvrg-report/jacoco-json"
  // ...
  try {
    jacocoJson.parseContent(xmlFile, (err: any, data: any[]) => {
      checkError(err)
      const sections = this.convertSectionsToMap(workspaceFolder, filename, data)
      resolve(sections)
    })
  } catch (error) {
    checkError(error)
  }

should probably look something like this
  import jacocoJson from "@cvrg-report/jacoco-json"

  // ...

  jacocoJson.parseContent(xmlFile)
  .then((data: any[]) => {
    const sections = this.convertSectionsToMap(workspaceFolder, filename, data)
    resolve(sections)
  })
 .catch((err: any) => {
      checkError(err)
  })

it also seems to me that xmlExtractCobertura is broken in the same way as xmlExtractJacoco.

I face the same issue. The extension log output is
{
  "label": "Koverage",
  "level": "error",
  "message": "[1691492681965][coverageparser][jacoco-parse]: Error: filename: /home/ubuntu/Downloads/someproject/target/site/jacoco-ut/jacoco.xml E.parseContent.parseContent is not a function\nTypeError: filename: /home/ubuntu/Downloads/someproject/target/site/jacoco-ut/jacoco.xml E.parseContent.parseContent is not a function\n\tat /home/ubuntu/.vscode-server/extensions/tenninebt.vscode-koverage-0.0.14/dist/extension.js:2:626276\n\tat new Promise (<anonymous>)\n\tat /home/ubuntu/.vscode-server/extensions/tenninebt.vscode-koverage-0.0.14/dist/extension.js:2:626135\n\tat Generator.next (<anonymous>)\n\tat j (/home/ubuntu/.vscode-server/extensions/tenninebt.vscode-koverage-0.0.14/dist/extension.js:2:623364)\n\tat s (/home/ubuntu/.vscode-server/extensions/tenninebt.vscode-koverage-0.0.14/dist/extension.js:2:623567)\n\tat /home/ubuntu/.vscode-server/extensions/tenninebt.vscode-koverage-0.0.14/dist/extension.js:2:623626\n\tat new Promise (<anonymous>)\n\tat /home/ubuntu/.vscode-server/extensions/tenninebt.vscode-koverage-0.0.14/dist/extension.js:2:623507\n\tat A.xmlExtractJacoco (/home/ubuntu/.vscode-server/extensions/tenninebt.vscode-koverage-0.0.14/dist/extension.js:2:626371)\n\tat /home/ubuntu/.vscode-server/extensions/tenninebt.vscode-koverage-0.0.14/dist/extension.js:2:624051\n\tat Generator.next (<anonymous>)\n\tat j (/home/ubuntu/.vscode-server/extensions/tenninebt.vscode-koverage-0.0.14/dist/extension.js:2:623364)\n\tat s (/home/ubuntu/.vscode-server/extensions/tenninebt.vscode-koverage-0.0.14/dist/extension.js:2:623567)",
  "time": "2023-08-08T11:04:41.965Z"
}

Hi, sorry the very late reply. I have seen the issue and I thought I already fixed it.
And according to the close PR #34 it seems it is. @GV94, could you confirm and close the issue if so?
Thank you

@FieteO do you have an example file for me to test and fix?
I'll try to get it done by this week-end
Thanks

@tenninebt Thanks for looking into it. I will try to find something tomorrow 👍

@tenninebt Any news on this? The extension is still unusable due to this

@FieteO Had a look, I can't replicate the issue, your coverage file loads fine. Are you using the latest version of Koverage? (Can you package/zip a workspace with the coverage and some example sources that replicates it? Would help a lot. 🙏 )
@GV94 The package I'm using for Jacoco is the following : https://www.npmjs.com/package/jacoco-parse, the signature takes a callback. The issue you faced was maybe related to few missing await.

@FieteO Thanks but #35 is different, it is related to the content of the file. I think the parser library that I'm using fails in particular cases, but it is not maintained anymore. I will have to do the fix myself when I have time, of any "charitable soul" prepare a PR 😄

authors: FieteO GV94 tenninebt

repo: tenninebt/vscode-koverage


text:
Be more clear when attacks need logits or softmax probs

Some attacks operate with the model's logits and others with the softmax probs. We should improve the documentation to make sure it is clear when the model argument of an attack class needs to be logits and when it needs to be softmax probs (see #157). In addition, we could use #154 to have some more automated checks in the __init__ method of attacks that test whether the model argument is appropriate. There could also be some more generic checks looking for the TensorFlow softmax op.

Now that the model abstraction is merged, we should allow a model object to be passed to the attacks to make these things more clear.
Besides that, a pass to the docstrings to check for consistency in the description of what layer is expected to be fed should be sufficient to close this issue.

#199 takes care of the first point

Is this done?

Not yet, I started working on it locally and will make a PR this week

authors: carlini npapernot

repo: tensorflow/cleverhans


text:
TF-DF Compatibility with Keras 3?

According to the known issues, "TF-DF is not compatible with Keras 3 at this time." Are efforts underway to update TF-DF to be compatible with Keras 3?

Yes, we are planning to make TF-DF compatible with Keras 3, but there is no timeline yet, since it might be a non-trivial change.

Ive been trying and failing to tune hyperameters for tfdf.CartModels in line with the google developer course practice https://developers.google.com/machine-learning/decision-forests/practice
but i get a FatalTypeError after the keras_tuner builds the hypermodel as its not a keras.model.Model instance.
My guess is that now keras_tuner uses keras 3 (Release v1.4.6), it doesnt recognise these as keras modes?
Heres a notebook replicating the issue
https://colab.research.google.com/drive/183uPNtxGXn7TI8c9CDbrJ3sD0KWr-3ms#scrollTo=uO8SKW48MVPS

Hi, looks like we have to update this class - thank you for notifying us. Very likely, you only need to add
import os
# Keep using Keras 2
os.environ['TF_USE_LEGACY_KERAS'] = '1'

at the top of the colab (note that I cannot access yours, since it's not shared with the world).

Fixed with versioning keras_tuner AND setting legacy env variable. Il share this feedback this the course.
Im not really familiar with keras, but maybe the backward compatibility introduced here doesn't get the right backend? im not quite sure where to open a bug report, is a keras_tuner or tfdf issue?
keras_tuner 1.4.5 -> 1.4.6 [https://github.com/keras-team/keras-tuner/compare/v1.4.5...v1.4.6]
`
import os
Keep using Keras 2
os.environ['TF_USE_LEGACY_KERAS'] = '1'
use
!pip install keras_tuner==1.4.5
`

authors: rlcauvin rstz woodwj

repo: tensorflow/decision-forests


text:
How to train my own model

I followed the procedule in
here
to train my own model. After training, when using
new musicvae.MusicVAE(melodiesModelCheckPoint)
the MusicVAE.js just said

manifest.json not found in 'XXXXXX'

I just want to know how to generate manifest.json file from model.ckpt.xxxx folder?
Thanks!

Hi Mafi,
Sorry that the procedure isn't fully explained. We are currently working on
updating everything to work with the new tensorflow.js, so stay tuned for
that.
For now, you can use this legacy deeplearnjs script to dump the weights
from your trained checkpoint to a format that MusicVAE.js can read:
https://github.com/PAIR-code/deeplearnjs-legacy-loader
-Adam
On Thu, Apr 19, 2018 at 11:01 PM Mafii notifications@github.com wrote:

I followed the procedule in
here
https://github.com/tensorflow/magenta/tree/master/magenta/models/music_vae
to train my own model. After training, when using
new musicvae.MusicVAE(melodiesModelCheckPoint)
the MusicVAE.js just said
manifest.json not found in 'XXXXXX'
I just want to know how to generate manifest.json file from
model.ckpt.xxxx folder?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/magenta-js/issues/35, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABCa6PiG9mvAvXPbUWVOydKceNAmleoCks5tqXnCgaJpZM4Tc6Vj
.

You can either include the converter.json file in the checkpoint directory, or you can pass in a DataConverter to the MusicVAE constructor. Either way, you have to specify the correct parameters based on the model you trained. Which config did you use to train the model?

FYI, we've also just updated the package to use the new tfjs checkpoints. Please see the new (still incomplete) readme at https://github.com/tensorflow/magenta-js/tree/master/music.
There are still a few parts of this newer package that are incomplete, but we will have everything in a good state by the end of the week.

authors: adarob merfii

repo: tensorflow/magenta-js


text:
GANSynth Magenta Demo -- Attribute Import Error

Hello,
When running the Jupyter notebook for GANSynth's demo, I'm seeing the following error during environment setup:
> AttributeErrorTraceback (most recent call last)
> <ipython-input-1-2ae09bfaa1b5> in <module>()
>      29 from magenta.models.gansynth.lib import flags as lib_flags
>      30 from magenta.models.gansynth.lib import generate_util as gu
> ---> 31 from magenta.models.gansynth.lib import model as lib_model
>      32 from magenta.models.gansynth.lib import util
>      33 import matplotlib.pyplot as plt
>
> 3 frames
> /usr/local/lib/python2.7/dist-packages/tensorflow_core/python/util/lazy_loader.pyc in __getattr__(self, item)
>      61   def __getattr__(self, item):
>      62     module = self._load()
> ---> 63     return getattr(module, item)
>      64
>      65   def __dir__(self):
>
> AttributeError: 'module' object has no attribute 'gan'

I tried environment setup using a GPU and both Python 2 and 3. I figure there's something going on with respect to the version of tensorflow being used/package deprecation.
I am able to run other demo notebooks without issue (i.e. Transformer, Onsets and Frames).

@jesseengel I think this should probably be in tensorflow/magenta, but cc-ing you here just in case

Yup, this was fixed a couple weeks ago.

authors: jesseengel notwaldorf strugglebugs