<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ajin-1597</title>
    <description>The latest articles on DEV Community by Ajin-1597 (@ajin1597).</description>
    <link>https://dev.to/ajin1597</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1210487%2F399944f0-f418-4878-b086-810e2c12858f.jpg</url>
      <title>DEV Community: Ajin-1597</title>
      <link>https://dev.to/ajin1597</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ajin1597"/>
    <language>en</language>
    <item>
      <title>error deploying a tsx with deno deploy</title>
      <dc:creator>Ajin-1597</dc:creator>
      <pubDate>Mon, 01 Jan 2024 18:17:06 +0000</pubDate>
      <link>https://dev.to/ajin1597/error-deploying-a-tsx-with-deno-deploy-350j</link>
      <guid>https://dev.to/ajin1597/error-deploying-a-tsx-with-deno-deploy-350j</guid>
      <description>&lt;p&gt;HELP&lt;/p&gt;

&lt;p&gt;I want to deploy a deno tsx (also using python) with dash.deno.com and recieved this message:&lt;/p&gt;

&lt;p&gt;Failed to deploy:&lt;/p&gt;

&lt;p&gt;UNCAUGHT_EXCEPTION&lt;/p&gt;

&lt;p&gt;Error: Cannot load dynamic library because --unstable flag was not set&lt;br&gt;
    at &lt;a href="https://deno.land/x/python@0.4.3/src/ffi.ts:46:13"&gt;https://deno.land/x/python@0.4.3/src/ffi.ts:46:13&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is the jsonc:&lt;/p&gt;

&lt;p&gt;{&lt;br&gt;
  "tasks": {&lt;br&gt;
    "start": "deno run --allow-net=:8000 --unstable --allow-ffi --allow-env  server.tsx"&lt;br&gt;
  }&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;So --unstable is set !&lt;/p&gt;

&lt;p&gt;I don't understand the error.&lt;/p&gt;

&lt;p&gt;Thank's for helping :)&lt;/p&gt;

&lt;p&gt;—&lt;/p&gt;

</description>
      <category>deno</category>
    </item>
    <item>
      <title>serve a plotfile with deno</title>
      <dc:creator>Ajin-1597</dc:creator>
      <pubDate>Mon, 18 Dec 2023 18:38:44 +0000</pubDate>
      <link>https://dev.to/ajin1597/serve-a-plotfile-with-deno-247f</link>
      <guid>https://dev.to/ajin1597/serve-a-plotfile-with-deno-247f</guid>
      <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I am generating a matplotlib file (SVG or PNG) with a little typescript code. &lt;br&gt;
The goal is to serve a simple onepage website with deno and  display this file on that simple website.&lt;/p&gt;

&lt;p&gt;There should be a button at that served page. When the button is clicked my deployed ts program generates a new plot and saves it at webspace.&lt;br&gt;
A file server gives it to the dynamically served website, where the plot is displayed.&lt;/p&gt;

&lt;p&gt;I have tried with pogos simple-server:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/sholladay/pogo/tree/master/example/simple-server"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;import { pogo } from './dependencies.ts';  // pogo &lt;br&gt;
const server = pogo.server({ port : 3010 });&lt;br&gt;
server.router.get('/', () =&amp;gt; {&lt;br&gt;
    return 'Hello world!';&lt;br&gt;
  }&lt;br&gt;
);&lt;br&gt;
export default server;&lt;/p&gt;

&lt;p&gt;Now, where is written 'Hello World!'  the served plotfile should be displayed at that simple website.&lt;/p&gt;

&lt;p&gt;I am really trying out these things and I am not familiar with dynamic websites.&lt;/p&gt;

&lt;p&gt;Thanks for support :)&lt;/p&gt;

</description>
      <category>deno</category>
      <category>ssr</category>
      <category>plot</category>
    </item>
  </channel>
</rss>
