Spartan 3/6 support with ISE backend?

What is required to be able to use Yosys with ISE for Spartan-6 and Spartan-3 devices?
I assume the following things are needed;

[ ] Description of the black boxes like SERDES and such,
[ ] Description of the technology for mapping
[ ] Output format that Xilinx ISE can read?

Would I just follow the example in https://github.com/cliffordwolf/yosys/tree/master/techlibs/xilinx ? I think there where some recent pull requests for Altera stuff that I should be informative too?
If I understand correctly (3) might already be done?
I think there was also someone else interested in this?

Hi @mithro ,
Much of the primitives from Xilinx' 7-series  shares the cell name an port numbers/functions that 6-series (both Spartan/Virtex). If you even miss some primitive such as IBUFGDS (differential buffer), you could instantiate it as a black box and both Yosys/XST will generate you a bitfile, you can take this as an example, both tested on HW:
https://github.com/dh73/Sandbox/tree/master/blink_demo
https://github.com/dh73/Sandbox/tree/master/uart_demo
About Spartan-3, for sure there will be some work to be done in the technology map flow. You can start by extracting the Spartan-3 simulation models from any ISE version and create a similar instantiation for Yosys techmap. Spartan-3 uses 4 input LUT, so you'll need to create a 4 input LUT instantiation module such as the ones you'll find in ice40 or intel cells_map.v
I added options to switch from different families in https://github.com/dh73/yosys/blob/master/techlibs/intel/synth_intel.cc, you could use something similar.
Let me know if you start working to accomplish this, and/or if you need any help.

Did anything ever come out of this? I'd like to start using Yosys to replace the front-end part of the Xilinx ISE pipeline, since it is giving me grief.

@gergoerdi Nobody has worked on this that I know of. Would love for someone to work on it :-)

I've updated the old mojo example to work with yosys 0.8 and my S6 breakout board, you can find it here. It synthesizes and runs on hardware.
I'm not sure if there's anything in recent yosys versions that would break 6-series devices, but I suppose a few tweaks to the synthesis script should be all we need to fix it. In particular, does the LUT setup need to be changed considering 6-series only have 6-input LUTs?
I know @cliffordwolf's stance is not to support 6-series devices because ISE is deprecated, but Xilinx themselves appear to be confused about Spartan 6's status: even though it's not supported in Vivado, I can't find any official statement from them saying that it's not recommended for new designs, and it's the only non-7-series family that's still being advertised all over their website, and they don't have any parts to fill the lowest cost roles.
I'm already looking into moving to ECP5 myself, since it's cheaper and larger than an LX9, but I would also love to contribute to the reversing effort to get support for Spartan 6 in nextpnr eventually, as I have a board and it would be a shame to let it rot away. :)

Some updates:

Spartan 6 should now be supported out of the box (synth_xilinx -family xc6s -ise), with the same support level as Series 7. If anything is not working as expected, it's a reportable bug.
ISE output should also be working as expected (use write_edif -pvector bra <file>.edif), and should be usable for all families supported by both ISE and yosys (ie. Virtex 6, Spartan 6, Series 7, and some limitted WIP support for Virtex 5)
Spartan 3* (and Virtex 2/4) support will happen at some point (it'd be very useful for me personally), and some initial work has been done (the blackbox cells are all there, and multiplier/DSP mapping is supported), but the whole mapping process needs to be changed to support LUT4 Xilinx devices — don't expect that to happen soon

Tracking list for Spartan 3 support:

#1547
#1548
#1549
#1550

Great news! Thanks a lot for the work, this is very valuable.

Hi @mwkmwkmwk awesome work. I am new with Yosys. I know its existence for time ago, but this update inspired me to try :-D
I will report an issue where I want to help, to learn about how to improve the Xilinx support (to start with something :P). You help and further reading (part of the whole documentation that I must to read) will be welcome.
And maybe this issue is ready to be closed? Now is time to try and report issues :-D

Update: initial support for LUT4 devices (including Spartan 3*) has just landed in master. This includes general logic, wide LUTs, carry chains, LUT RAM, block RAM.  Things still missing (in comparison to Spartan 6 / Series 7):

[ ] shift register inference (#1548 )
[ ] wide mux mapping (which needs to be redone in a more generic way anyhow)
[ ] ABC9 support (needs timing models)

I've discovered that the -pvector bra option to write_edif seems to be absolutely essential for creating an EDIF that Xilinx ISE can understand correctly. If I leave it out like the example I was working from does, ISE still thinks it has read the EDIF correctly, and I get a final bitstream that I can load and that sort of works.
But without -pvector bra it can't do math! Using "+" in my VHDL input (via the GHDL Yosys plugin) ends up getting the wrong answers (my design seems to think that 3 + 5 = 6, for example), but combinatorial logic still seems to work and I can still get switches on my dev board to control LEDs. Maybe something is going wrong with the ALU cells or something.
Is there any hope of getting some kind of warning message out of write_edif if the design it is going to write came from synth_xilinx, but the "wrong" output settings are going to be used?


HOLD: SWARM-443 make TopologyProxyService use HttpHandler interface.

I've out this on HOLD until I've had a chance to verify it.


Suggestion: for Japanese localization

To help everyone play this mod better, I have created a Japanese translation of ja_jp.json and Chronicle of Shadows.
I was able to send it from “Create new file” as ja_jp.json, but Chronicle of Shadows is a folder, not a file, so I couldn't figure out how to send it.
Does anyone know how to send it?

You can submit the change as a pull request to the repository.  If you want to package the localization externally, you can bundle it as a resource pack:
apoth_jp.zip
--pack.mcmeta
--assets
----apotheosis
------patchouli_books
--------apoth_chronicle
----------ja_jp (your translated files live in this folder)
------------categories
------------entries


Issue with reshape_sols()

reshape_sols() appears to give wrong matrices on some occasions, which in turn breaks diagram_correction().

The problem was incorrect calculation of the number of solutions. Should be working now.


Update K Nightly version used for integration testing

PR generated by './scripts/update-k-nightly-pr.sh'

This seems to be failing still, so evidently I just can't replicate the failure locally.


add support for es6 super()

Hoping to fix: gotwarlost/istanbul#414

Thanks.

Thanks for merging! I noticed that the last release was about 7 months ago. Would you mind publishing to npm so we can fix istanbul as well?

I'd prefer if @Constellation made a release, but if we can't get in touch with him in a reasonable amount of time, I will do it. Ping me again if this becomes urgent.

Any update on publishing?

Published 1.7.0: https://www.npmjs.com/package/escodegen

Thanks!


Application Gateway Log Analytics schema - document timeStamp property

It is currently not clear exactly what time timeStamp specifies, specifically for AzureDiagnostics request events.
From my observations, it refers to the time when the request ended (not started as it is in application insight's request events).
This is a key observation, as long running requests (per timeTaken) can easily mislead potential troubleshooters.
so for example, a timestamp of 19:30 with timetaken of 1 minute, actually means the request was fired at 19:29.

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

ID: e5f080ad-843f-d7be-eba6-2837993d052b
Version Independent ID: b6f75acf-e3ed-f6c3-a29e-8f440eb0a9dd
Content: Backend health and diagnostic logs - Azure Application Gateway
Content Source: articles/application-gateway/application-gateway-diagnostics.md
Service: application-gateway
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

@ohads-MSFT
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

We currently have a large backlog of issues, so I am working through them slowly. Thaks for the contribution here! I will address this issue shortly.

This is being tracked as internal content issue: 91196
#please-close


custom routes not working

I add routes.json like this.
{
  "/stock?key=:key": "/:key"
}

then I open /stock?key=title, but not get data from /title, what should I do?

To add rewrite rules, use jsonServer.rewriter():
// Add this before server.use(router)
server.use(jsonServer.rewriter({
  "/stock?key=:key": "/:key"
}))

instead of adding routes.json, json-server just read data from json, rewrite rules should be written in config

I need this as well.  Are you saying using a custom routes file is not supported?  If so, that should be removed from the docs as it clearly indicates it should work but it doesn't seem to.  I do get a log output that says my custom route is available but then I just get a 404 when trying to use it.  If this should work, then I need help in figuring out where I went wrong.  Otherwise, the docs should be amended.

the custom route is for stock. Anything after the ? is put into the query.
How about  "/stock/key/:key": "/:key" ?

Yes, that would be great if it worked that way.  However, from my testing and from other issues on here, right now the query string is lost when redirecting.  If it wasn't, then this would be less of an issue.  I also never got the routes.json file to work as it never redirected.  However, I did have more success with the rewriter (albeit still with no query string)

what do you mean the query string is lost?

Hmm, OK so I may be getting my wires crossed now with these two tickets.  I just tried a brand new example with a very basic setup and it does work correctly as I would expect it to.  Let me stop replying here as my issue is the actual problem I am running into.

thx


[HSF@LIVE]! Milton vs American Heritage live HS Football game on 23 August 2024

[HSF?LIVE]! Milton vs American Heritage live HS Football game on 23 August 2024
The American Heritage (Plantation, FL) varsity football team has a home non-conference game vs. Milton (GA) today @ 7:30p.
Milton vs American Heritage | Football | 8/23
No. 6 Milton (Georgia) faces off with American Heritage (Florida) in a nationally televised high school football matchup on Friday.
View pregame, live and post-game details from the Milton vs American Heritage Florida game on Aug 23, 2024.
credits
released August 23, 2024  sdfewrerw fsdfsdf

gfht


Fix the memory issue for selection query with large limit

Fix the memory issue for selection query with large limit

Codecov Report

Merging #7112 (16f4c38) into master (47a75e5) will decrease coverage by 31.98%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             master    #7112       +/-   ##
=============================================
- Coverage     73.51%   41.52%   -31.99%
+ Complexity       91        7       -84
=============================================
  Files          1495     1495
  Lines         73586    73586
  Branches      10595    10595
=============================================
- Hits          54098    30560    -23538
- Misses        15960    40438    +24478
+ Partials       3528     2588      -940

Flag
Coverage Δ

integration
41.52% <100.00%> (-0.14%)
:arrow_down:

unittests
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...t/core/query/selection/SelectionOperatorUtils.java
70.03% <100.00%> (-22.15%)
:arrow_down:

...c/main/java/org/apache/pinot/common/tier/Tier.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ava/org/apache/pinot/spi/data/MetricFieldSpec.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...va/org/apache/pinot/spi/utils/BigDecimalUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...java/org/apache/pinot/common/tier/TierFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...a/org/apache/pinot/spi/config/table/TableType.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...a/org/apache/pinot/spi/data/DateTimeFieldSpec.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../org/apache/pinot/spi/data/DimensionFieldSpec.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../org/apache/pinot/spi/data/readers/FileFormat.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...va/org/apache/pinot/common/minion/Granularity.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 949 more

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 47a75e5...16f4c38. Read the comment docs.


Calendar module - Hidden private events

Hello,
With the default calendar module, when you hide private events, they are still counted in a maximum number of events to display.
personally i think they shouldn’t be displayed to have a more complete view of the calendar, right?
Sorry for my English, Google translation, I only speak French.

hi @borishalleux I agree, it would be more logial to not count the private events.
Would you like to probide a PR for this topic or is this just a feature request :-) ?
Cheers

Hello,
For me this is not a feature but a correction.
But I don't know enough about GitHub to know what to do with my post next.

Maybe @MichMich can add the "PR welcome" label to this issue (if he agrees with the content) so that other might add it?

Done!

Based on the current code (https://github.com/MichMich/MagicMirror/blob/master/modules/default/calendar/calendar.js#L491 and https://github.com/MichMich/MagicMirror/blob/master/modules/default/calendar/calendar.js#L573) its not counting private events when calculating maximumEntries.
@borishalleux can you post your Calendar config and some more details about your events? I'm struggling to reproduce your edge case

I've done some testing and I also think this is fixed in the current code
				if (this.config.hidePrivate && event.class === "PRIVATE") {
					// do not add the current event, skip it
					continue;
				}

So closing ...


XMLRPC Timeout

I have O3M151 camera connected via Ethernet. I can ping the camera. tcpdump shows traffic between the camera and my computer:
12:45:26.121201 IP <IP_ADDRESS>.57345 > <IP_ADDRESS>.42000: UDP, length 1460

However, ifm3d --ip=<IP_ADDRESS>  ls command returns:
ifm3d error: -100001
Lib: XMLRPC Timeout - can you 'ping' the sensor?

Any help would be appreciated.

@danielm1405  unfortunatly the O3Mxxx is currently not supported by the ifm3d library. Please get in touch with the ifm's support team to receive the O3M SDK.

That's unfortunate. Anyway, thanks for the quick response.

By the way, is there any information about supported models of ifm camera? I couldn't find one in this repository.

@danielm1405 yes, it is. We have this compatibility matrix Which states O3D and O3X with the tested firmware versions.

@danielm1405 I have made a python library for channel 8 of O3M Lidar if you need it.


Why does this project use react-icons?

Wanted to use this package, but seeing react-icons being added as an extra dependency to my project is a bummer. Would love if there is an option to only use the mui icons that are already available in every mui project.

Shifting react-icons to the project dependencies is indeed a step in the right direction. However, I'd like to highlight that even after installation and unpacking, the package still appears to be quite substantial, at 77.7mb. Given that only a handful of icons are being utilized, it might be more efficient to incorporate those specific icons directly into the bundle.

@bryanjtc Thanks for chiming in! Including the SVG icons directly in the project makes mui-tiptap development a bit less convenient (e.g. if we need to include another icon, it won't be as simple as an import), but I think that may be a cost worth paying to reduce the dependencies and installation/download size. I'll explore this and follow up.

Alright, the latest release v1.3.0 removes the react-icons peer dependency and defines these additional icons internally within mui-tiptap instead. Thanks again @the-serious-programmer and @bryanjtc for bringing this up and discussing!


RuntimeError: Argument #4: Padding size should be less than the corresponding input dimension, but got: padding (1024, 1024) at dimension 2 of input [1, 400401, 2]

Hi, thank you for this amazing contribution and works. I encounter a problem when I want to train with my own datasets. I didn't change the original dataset but only adding another file to the Data. The difference is my audio is in Chinese, I am not sure if this is the reason why it appears this error. And also my audio size is larger than those you provided. I have changed the num_domain in config_yml from 20 to 21 too. Please help me with this error. Big thanks!

I'm sorry but the error you provided was quite unclear. Could you please tell me what line in which file did this problem occur?

I have solved this error, thanks!


[Joy] Add Breadcrumbs component

[x] I have followed (at least) the PR section of the contributing guide.

Done:

Initial implementation
Apply Joy theme
Demos (Playground, Basic Usage, Collapsed Breadcrumbs, With Menu)
Tests

Demos: https://deploy-preview-32697--material-ui.netlify.app/joy-ui/react-breadcrumbs/

Props
maxItems
I think the maxItems prop should be removed. This example is too specific from the UX perspective. The ... does not have to behave that way (one example is overflow menu)
Developers can compose the ... by themselves. Joy should make it easy to do it by composing other components like using IconButton or Button. I expect the usage to be like this:
<Breadcrumbs maxItems={2} aria-label="breadcrumb">
  <Link underline="hover" color="inherit" href="#">
    Home
  </Link>
  {collapsed ? (
    <Button size="sm" onClick={doTheCollapseThing}>...</Button>
    ):(
    <React.Fragment>
      <Link underline="hover" color="inherit" href="#">
        Catalog
      </Link>
      <Link underline="hover" color="inherit" href="#">
        Accessories
      </Link>
    </React.Fragment>
  )}
  <Link underline="hover" color="inherit" href="#">
    New Collection
  </Link>
  <Typography color="text.primary">Belts</Typography>
</Breadcrumbs>

variant
I think let's remove the variant & color props from the breadcrumbs because I could not see the benefit of having them. If someone wants the variant, they can just use Sheet as a parent.
Demos
Here are some examples that I think we should add:
Basic
Combination of colors, separators, icons

The ••• button

With menu

https://youtu.be/kHL3gxAlvK8?t=236

This example is too specific from the UX perspective.

I would go further and say that it's incorrect. If the point of maxItems is to limit the width of the breadcrumbs, it doesn't make much sense to expand the breadcrumbs. Google uses a menu in Docs:

so it seems we should update the Material UI implementation.

I expect the usage to be like this

That's fine for a static example, but for most use cases the links are going to be programmatically generated. If it gets too complex, it might still be better as a feature of the component rather than a complex example.

The ••• button

More correctly, an ellipsis is a unicode symbol "⋯" rather than three separate dots.

For the docs, giving feedback here might be easier.
Introduction

The separator should have default value /

Component
I think this section should demonstrate props and how to use them with minimal code sample (it should stick to 1 prop if possible)

Basic usage: choose the breadcrumbs that you think it is the most common (3 styles are too much).
Separator: let's add a demo that uses some icon as a separator.
Accessibility: Add a suggestion about aria-current="page", read more

In each demo that you use Link, please add this so that clicking on it does not trigger the link behavior:
// The `preventDefault` is for demonstration purposes, generally, you don't need it in your application
<Link onClick={event => event.preventDefault()}>

Common examples
The idea of this section is to showcase advanced/real-world examples that use the component to build more complex interfaces. Also, stress test the component to make sure that the customization experience is great.
The demo you added is useful but I think it should be in this category. Or you can update the demo to make it look like Google
Also, you can replace MenuUnstyled with Joy Menu.

Thanks for the detailed feedback, Jun. I addressed them. Let me know.

Last review

Sorry for the multiple reviews. Next time, I will consolidate them in once.

1. The code block in the introduction

This once should be like this:
<Breadcrumbs>
  <Link />
  ...
</Breadcrumbs>

2. CSS variables
Let's shorten the Breadcrumb so that the preview and editor are in side-by-side. (reduce from 4 to 3 items if you have to)

3. Collapsible example
Too many colors in the demo. I think it is better to use just 1 color (may by info) and use comment that developers can change the color or put the link to learn more about the Link color instead.

A reminder (again) to please have a native English speaker review new or significantly changed docs before merging. We're accumulating significant non-technical debt. cc @samuelsycamore - you might like to submit a PR to clean the docs up for this component, and Joy UI as a whole.

cc @samuelsycamore - you might like to submit a PR to clean the docs up for this component, and Joy UI as a whole.

Good idea. I'll create a new issue to track revisions and start submitting PRs for the pages we have so far.


ValueError: No JSON object could be decoded

Traceback (most recent call last):
File "run.py", line 149, in
response_data = send_post(resource_url, answer_payload)
File "run.py", line 41, in send_post
return r.json()
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Any ideas?


MDDialog Visual bug when using a rounded dialog whilst changing light/dark mode theme in the app

Description of the Bug
Using MDDialog, bound grouped checkboxes using the checkbox wxample in docs to change theme mode. background color differences near the rounded corners when changing theme mode.
Sidenote: the checkboxes also dont automatically change color to suit the theme mode to which I have attached some changed code in the selectioncontrol file.
Code and Logs
from kivymd.app import MDApp
from kivy.lang import Builder
from kivymd.uix.dialog import MDDialog
from kivymd.uix.button import MDFlatButton
from kivy.uix.floatlayout import FloatLayout

KV = '''
<Check@MDCheckbox>:
    group: 'group'
    size_hint: None, None
    size: dp(48), dp(48)

<LDDialogContent>:
    Check:
        active: True if app.theme_cls.theme_style == 'Light' else False
        pos_hint: {'center_x': .35, 'center_y': .375}
        on_active: app.theme_cls.theme_style = 'Light'
    MDLabel:
        text: "Light"
        pos_hint: {'center_x': .35, 'center_y': .625}
        halign: "center"
        theme_text_color: "Custom"
        text_color: app.theme_cls.disabled_hint_text_color
    MDLabel:
        text: "Dark"
        pos_hint: {'center_x': .65, 'center_y': .625}
        halign: "center"
        theme_text_color: "Custom"
        text_color: app.theme_cls.disabled_hint_text_color
    Check:
        active: True if app.theme_cls.theme_style == 'Dark' else False
        pos_hint: {'center_x': .65, 'center_y': .375}
        on_active: app.theme_cls.theme_style = 'Dark'

FloatLayout:

    MDFlatButton:
        text: "ALERT DIALOG"
        pos_hint: {'center_x': .5, 'center_y': .5}
        on_release: app.show_ldpick_dialog()
'''

class LDDialogContent(FloatLayout):
    pass

class MainApp(MDApp):

    dialog = None

    def build(self):
        self.theme_cls.primary_palette = 'Blue'
        return Builder.load_string(KV)

    def show_ldpick_dialog(self):
        if not self.dialog:
            self.dialog = MDDialog(
                size_hint_x = 0.8,
                size_hint_y = 0.8,
                radius = [10, 10, 10, 10],
                title = 'Light/Dark Mode',
                type = 'custom',
                content_cls = LDDialogContent(),
                buttons =[
                    MDFlatButton(
                        text='Back', text_color= self.theme_cls.primary_color, on_release= self.closeDialog,
                    ),
                ],
            )
        #self.dialog.set_normal_height()
        self.dialog.open()

    def closeDialog(self, inst):
        self.dialog.dismiss()
        self.dialog = None

if __name__ == '__main__':
    MainApp().run()

SideNote:

        self.theme_cls.bind(primary_color=self.update_primary_color)
        self.theme_cls.bind(secondary_text_color=self.update_secondary_color) ##added
        self.update_icon()
        self.update_color()

    def update_primary_color(self, instance, value):
        self.selected_color = value

    def update_secondary_color(self, instance, value): ##added
        self.unselected_color = value

Versions

OS: Windows 10
Python: 3.7.9
Kivy: latest
KivyMD: latest

Your code has an error. Class Check is not defined.

Your code has an error. Class Check is not defined.

Indeed it has. I have corrected it and edited the code.

@JaeLeeBean

Using MDDialog, bound grouped checkboxes using the checkbox wxample in docs to change theme mode. background color differences near the rounded corners when changing theme mode.

This has been fixed in the master branch of the library.

Sidenote: the checkboxes also dont automatically change color to suit the theme mode to which I have attached some changed code in the selectioncontrol file.

Please create a new issue for this error.

please to be honest the MDDialog confirmation is not working properly. I litteraly copied the entire code in the docs but it keep giving me this error "Unknown class . this problem is not fixed.


errored in pydeep due to a lack of gcc

i was trying to get this working on Ubuntu 16.04 vps
web gui installed successfully but upload functions did not work
install script i quickly put together
https://pastebin.com/7hDeTB9g
errors from the install
https://pastebin.com/iEPaN7GK
issue per talking with dev Alex
"Looks like it errored in pydeep due to a lack of gcc, which then seems to have stopped snake backend from installing. Feel free to open an issue on github where it is easier to track and debug. I will make sure to update the install script to stop when it hits an error."

Awesome, so does the script run successfully if you install gcc then re-run it?
sudo apt-get install gcc
After the install you can run the below to check the status of the snake services:
systemctl status snake
sustemctl status snake-pit

I have updated the scripts to exit on first error, this should help prevent these errors being overlooked.


TypeScript Version is Unavailable (NuGet)

I created a project with Asp.Net Core using TypeScript with MSBuild everything worked fine, then I installed the NuGet version for use with MSBuild, in the "TypeScript Build" tab I found that the TypeScript version is not available.
Then I selected the option "Use latest available", went back to my TypeScript file and did not compile when saving it (before installing NuGet, I was able to compile the file when saving it without problems), and when I run Rebuild / Build, it compiles the TypeScript files.
TypeScript Version:
Microsoft.TypeScript.MSBuild 2.7.1
Microsoft Visual Studio Community 2017
Version 15.5.5
TypeScript Tools - 15.5.11025.1
TypeScript Tools for Microsoft Visual Studio
Search Terms: TypeScript Version Unavailable, Visual Studio 2017, TypeScript NuGet
Images:

The nuget version is available as 2.7.1: https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild/2.7.1
What you need is the SDK for the version to show up in your drop down list. you can install it from: https://www.microsoft.com/en-us/download/details.aspx?id=55258

TypeScript MSBuild can be used with MSBuild on non-Window platforms. src

A nightly build from the TypeScript's master branch is published by midnight PST to NPM and NuGet. src

I'm trying to use the NuGet package for compile my TypeScript files on non-windows platform, that's what the documentation says.
If I can use npm package to compile the files, can I also do it with the NuGet? or how can I use MSBuild with Linux for example?

yes you can, just add it the nuget package to your project, but you do  not need the version at this point. i am a bit confused about what the question is really.

I'm sorry if I did not explain my questions well.
Follow the next instructions for reproduce the issue:

Create a new project (AspNet Core Empty)
Create a new folder called Scripts.
Create a new TypeScript file with Hello World, or what you like.
Do the following tests.
Install the NuGet
Do the following tests, again.

How can I know if the installed NuGet is working?
This table is a summary of my tests.

Test
Without NuGet
NuGet Installed
Notes

Build
works
works

Rebuild
works
works

Compile on save
works
it doesn't work
bug?

Versions displayed

bug?

And this dialog box appears if I try to save .csproj with version 2.7.

I followed the following instructions to install the NuGet. Source
NuGet

Right-Click -> Manage NuGet Packages
Search for Microsoft.TypeScript.MSBuild
Hit Install
When install is complete, rebuild!

Note: When I install the NuGet for the first time, the folder that I created disappears.

There are two parts of what TS services. the build tools including the command line compiler (SDK), and the language services (the VS plugin).
The build tools is what runs the build thoguh MSBuild, etc..., and that can be either installed globally ("C:\Program Files (x86)\Microsoft SDKs\TypeScript\2.7\tsc.exe"), or can be local to your project using Nuget.
There is the language service in your VS, that drives your IDE experience in terms of completions, signature help, go to def, etc.. as well as Compile on Save. At the moment, only global installations of TS are recognized.
The version picker is only applicable if you are using the global installed version of the SDK, if you are using Nuget to build, then it is only used for picking the language service.
We did talk about loading the Language Service portion from Nuget in the past, but there are some technical hurdles there we will need to cross, and so far we have not had a lot of requests to do that. keep in mind that for stable releases, Nuget packages and global installers are available, and you can have your build and VS use the same version any ways.
As for the dialog box, i do not know what is going on here, we will need to investigate more to know.

//cc @uniqueiniquity and @billti

@raky291 The 'Parameter "Value" cannot be null.' dialog you're seeing should be fixed in VS 15.6.

@mhegazy apologies if I'm unclear here - are there still no plans to allow the Language Service to use an SDK from the local Nuget packages?
Or is there a "best way" to keep all devs' VS instances using the same SDK for their Language Service?

are there still no plans to allow the Language Service to use an SDK from the local Nuget packages?

This is something we are actively looking in to.


Add 112. Path Sum in LeetCode Problems

Added the LeetCode problem 112. Path Sum Solution which was not present

Addressed the changes requested


Request to add package-lock.json for reproducibility concerns

Hello,
I'm a Nix contributor, and recently I packaged your excellent font for Nix using the binary artifacts: https://github.com/NixOS/nixpkgs/pull/337891.
Upon discovering that this repository is now available and that the fonts can be built from source, I plan to update the Nix package to use the source build.
However, to ensure that we use the exact same dependencies and achieve reproducible builds, the repository is missing a package-lock.json file. This file is essential for reproducing the node_modules directory accurately, which is critical for the Nix ecosystem and its focus on deterministic builds.
Would it be possible to add the package-lock.json file to the repository?
Thank you for your time and for the great work on this project!
Best regards.

Thanks for your answer!
Although using the pre-built artefacts from Github could definitely be a solution, Nix is a "source-first" distribution, so I would definitely prefer to build the fonts from the source if it's still OK for you to commit the package-lock.json file.
Let me know if you still plan to do it and I'll update the package.

We use pnpm, not npm, and the pnpm-lock.yaml file is already committed in this repo 👍

Sadly, using pnpm file isn't a valid option for building a NPM package in Nix. Would it be possible to commit the package-lock.json ?

I don't really want to keep two competing lockfiles in this repo, and I'm not sure I understand how it is relevant here?

Upon discovering that this repository is now available and that the fonts can be built from source, I plan to update the Nix package to use the source build.

The font is not built from source, the font is just a static asset I serve on the site. You don't need to build the site to get at the font.

Oh boy... the coin dropped just now. Thank you and sorry for the misunderstanding !!!

New release published: https://github.com/NixOS/nixpkgs/pull/340838

No worries! Happy to include installation instruction in our README if you care to make a PR!

I will !


Adds utilities for working with persistent storage

Summary
Part of #463
Add PersistentStorage class and functions for reading / writing files
Details and comments
The PersistentStorage class uses the s3fs library to create an object linked to a specific COS bucket. Users need to set the region endpoint and bucket name in the constructor and set the access/secret key values via environmental variables.
Once that object is created, users can call PersistentStorage.persist_data() and PersistentStorage.retrieve_data() to write and read data from the s3 bucket. Note that the filename parameter for both write and read methods can be several "subdirectories" down, i.e. this/is/some/fake/s3/directory/tree/file.txt.
The example below can be run in a notebook to show how the process works, assuming you have a COS bucket and HMAC (AWS style) credentials
from quantum_serverless.utils.storage import PersistentStorage
import s3fs

get_ipython().run_line_magic('env', 'ACCESSKEY=<somevalue>')
get_ipython().run_line_magic('env', 'SECRETKEY=<somevalue>')
endpoint="https://s3.<region>.cloud-object-storage.appdomain.cloud"
bucket="<yourbucket>"

s3 = PersistentStorage(endpoint=endpoint, bucket=bucket)

data="""It was the best of times, it was the worst of times,
it was the age of wisdom, it was the age of foolishness,
it was the epoch of belief, it was the epoch of incredulity,
it was the season of Light, it was the season of Darkness,
it was the spring of hope, it was the winter of despair,
we had everything before us, we had nothing before us,
we were all going direct to Heaven, we were all going direct the other way
—in short, the period was so far like the present period, that some of its
noisiest authorities insisted on its being received,
for good or for evil, in the superlative degree of comparison only. """

s3.persist_data("tale-two-cities.txt", data)

s3.retrieve_data("tale-two-cities.txt")

for b in s3.storage.ls(bucket):
    print(b)

s3.storage.rm(f"{bucket}/tale-two-cities.txt")

@IceKhan13 went ahead and made the class changes (which reminded me how much I haven't missed OO the past few years :wink: )... if you can, take one more look before I merge.


feat: add fbc-fips-check task

Refers to CVP-4334. This task is used to verify FIPS compliance of unreleased bundles in an FBC fragment. FBC fragment provides the target OCP version of the bundle, which enables the task to run check-payload with version specific embedded config.

Only to be merged after #1681

@dirgim @arewm Could you please help review this?
It is fairly similar to #1681 . It even utilizes the stepAction added in that PR. The only major difference being,

This task cracks open the FBC fragment, gets unreleased bundles from it.
Performs registry replacement if required (to make unreleased bundles accessible)
Extracts unique relatedImages from those bundles and then passes them on to the stepAction for the check-payload scan

/ok-to-test

@dirgim @MartinBasti apologies, I had to make a minor change to the task. Could you please approve it again?

/ok-to-test


Feat/change to node llama cpp

closes #132
This an attempt at #132
I had to update from GGML to GGUF due to this
I tested manually by following this video (I only did the postman test), and ran the tests, all seem good so far. But please review thoroughly :)

Thank you very much for contributing to the project. Your PR looks good at first glance. I'll do a more thorough test in the next few days.

Hi @SamiKamal,
Sorry for the delay. I finally got a chance to look at your PR more thoroughly.
Looking at node-llama-cpp docs, there are two interfaces to generate tokens. LlamaContext which is the lower level interface (here is an example usage), and a higher level LlamaChatSession.
I think we should use the lower level interface in the default adapter implementation as we support both /completions (which is not for chat and should not be used with chat models) and /chat/completions endpoints of OpenAI API.

Closed due to inactivity


Simple implementation of drag and drop installation for VSIX extensions

This allows for (one or) multiple VSIX files to be dropped onto the extension viewlet to be installed.
This will display an error message if there was an issue installing one extension while still successfully installing the other extensions.
Refactor DelayedDragHandler into DragHandler.
This allows the implementation of DnD handlers that can be disposed.

Targets #12090.
Note that this is not finished, in that it doesn't support Light/Dark themes styling (the dragged-over color is currently hard coded in the CSS).
I'm also unsure as how to proceed regarding the messages to display on success/failure. A few cases (with the current message being displayed):

One good VSIX file (current: success message)
Multiple good VSIX files (current: success message)
One bad VSIX file (missing package.json)  (current: error message)
One non-VSIX file (current: no message)
VSIX+non-VSIX files (current: success message)

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: tomzx sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Fixed in #96907, this should be closed