Tootfinder

Opt-in global Mastodon full text search. Join the index!

@thibaultmol@en.osm.town
2024-03-27 17:10:42

@… is still looking for a student to work on a Google Open Summer of Code proposal for the #OpenStreetMap iD editor:
Mapping widget for real world access restrictions

Mapping widget for real world access restrictions
Suggested By Martin Raifer (tyr_asd)

Mandatory skills:
JavaScript

Useful skills:
Experience with the D3.js framework, OSM tagging/mapping workflows, and iD development

Length:
350 hours

Difficulty:
medium

Possible Mentors:
Martin Raifer

Notes:
Mapping certain attributes such as access restrictions can be quite difficult in iD. Currently, the mapping of access restrictions on roads, barriers, and similar map features can be quite difficult,…
@heiseonline@social.heise.de
2024-02-16 10:20:00

heise | Python-Editor für Anfänger: Einfach Code schreiben mit Mu
Mu ist ein übersichtlicher Python-Editor, der gerade für Anfänger interessant ist. Hinter den großen Buttons des Editors warten nützliche Funktionen.

@kornel@mastodon.social
2024-02-23 17:58:09

Sticky scroll looks like a brilliant idea (learn.microsoft.com/en-us/visu)

Keeps all nested scopes above scrolling area
@aral@mastodon.ar.al
2024-02-21 18:15:31

Fun little aside: What if a web app was a local utility? Like a little tool that gave you live previews of markdown files as you made changes to them in your regular editor?
Here’s a 30-second demo video of just that in Kitten.
vimeo.com/915271148
Check out how simple the code …

@jake4480@c.im
2024-03-14 03:06:49

Officially ditched VS Code for Brackets (brackets.io). I like it a ton better and it's not Microsoft. Win win.
Switched to LibreOffice (lib…

@Mediagazer@mstdn.social
2024-03-14 16:10:23

Artforum names Tina Rivers Ryan as its editor-in-chief to replace David Velasco, who was fired after signing an open letter calling for Palestinian liberation (Zachary Small/New York Times)
nytimes.…

@MBrandtner@gruene.social
2024-04-24 12:06:35

Es gibt wirklich viel, was man an #KI kritisieren kann (hab ich selbst auch schon gemacht), aber ich habe wirklich schon sehr viel Zeit sparen können durch die Verwendung von ChatGPT oder GitHub Copilot im beruflichen Kontext. Ja, man kann stundenlang durch die Dokumentation von WordPress-Plugins googeln. Oder man hat die Antwort innerhalb von 10 Sekunden direkt in seinem Editor.

Ein Screenshot vom GitHub Copilot Chat in Visual Studio Code. 

Discostu36: Wann wurde der Typ TribeEvents deprecated und wodurch wurde er ersetzt?

GitHub Copilot: Der Typ TribeEvents wurde in Version 3.10 des "The Events Calendar" Plugins als veraltet markiert. Seitdem sollte man stattdessen die tribe_get_events Funktion verwenden, um Ereignisse abzurufen.

In Ihrem speziellen Fall, wo Sie den Organisator-Post-Typ abrufen mochten, sollten Sie

Tribe__ Events__Main
@cark@social.tchncs.de
2024-02-23 09:20:40

I often use the #markdown web WYSIWIG editor of #Nextcloud and I really like it. 👍
However, I dont know how to enter or paste markdown source code. Is that possible?

@…

@philwills@hachyderm.io
2024-03-22 11:08:59

From: zed.dev/faq:
> "Zed", which is also the name for the letter "Z" in some dialects of English
I get that we should let go of the idea of hegemony over the language, but being called a dialect still burns a bit

@whitequark@mastodon.social
2024-04-17 04:56:56

it's so funny to me that a normal, understandable, two page sized python program can implement a real hardware NIC driver that someone can use for realtime work like typing in an SSH session, under concurrent heavy load, and it gives you single ms digit latency
this is the entire transmit queue code. you can look at it in its entirety on one editor screen and understand it. it uses normal python idioms and doesn't even touch USB directly
60 Mbps on CPython, 80 on PyPy

@toxi@mastodon.thi.ng
2024-03-16 21:59:32

VERY disappointed in GitHub refusing to support the LaTeX `\colorbox` (outright banned) or `\textcolor` macros (seemingly only very limited support) or any CSS solution to allow one to create colored text in Markdown files... I was hoping to create color swatches as shown in the attached preview (in VSCode), but just none of this works on GitHub...
(And yes, I understand there're some potential accessibility issues, but there're more social solutions to address these than an ou…

Screenshot of VSCode split-screen editor of a Markdown file containing a long list of colors. The left pane shows the MD source code, the right pane the rendered preview, incl. color swatches (as background colors)
@aral@mastodon.ar.al
2024-03-13 20:18:56

New in Kitten¹: Markdown fragments
You can now write your Markdown in separate .fragment.md files and `import()` them as if they were JavaScript modules, just like you can with HTML and CSS fragments.
And while they don’t support props, they do support slots (including named slots, which you can use as poor man’s props.)
Enjoy!
:kitten: 💕
¹

Screenshot of code open in Helix Editor (active tab: index.page.js, inactive tabs: Markdown.fragment.md, Markup.fragment.md, Styles.fragment.md):

import Markup from './Markup.fragment.html'
import Styles from './Styles.fragment.css'
import Markdown from './Markdown.fragment.md'

export default () => kitten.html
  <page css>
  <${Markup} />

  <${Markdown}>
    <content for='title'>This is the title</content>
    <content for='date'>${new Date()}</content>
    <button>I’ve been slotted in.</but…
Screenshot of code for Markdown.fragment.md:

## And this is from a markdown file

As is this.

- Title: __${SLOT.title}__
- Date: __${SLOT.date}__

${SLOT}

And the content above was slotted into a markdown file.
Screenshot of code for Markup.fragment.html:

<div>
  <h1>This is from an HTML fragment.</h1>
  <p>As is this.</p>
</div>
Screenshot of the resulting page, rendered in a web browser:

H1: This is from an HTML fragment.

Paragraph: As is this.

H2: And this is from a markdown file

Paragraph: As is this.

List item: Title: This is the title

List item: Date: Wed Mar 13 2024 20:07:03 GMT+0000 (Greenwich Mean Time)

Button: I’ve been slotted in.

Paragraph: And the content above was slotted into a markdown file.
@amster@mastodon.social
2024-02-12 18:50:14

I am trying very hard to only stay within the Unreal graph editor for all code logic (for portability reasons). But oh wow it ends up creating some pretty large graphs. And, yes, I'm constantly creating a common function library but then it means keeping a lot of tabs open.
#Unreal #ClicksNotCode

Screenshot of Unreal's graph editor with many nodes because it's a clicks-not-code interface and game logic can be complicated
@smurthys@hachyderm.io
2024-04-03 18:00:35

I have written C# top-level code before, but I'm obviously suffering a "brain freeze" right now: Why does this simple top-level C# statement say "The name 'Console' does not exist in this context", even though I'm compiling with .NET 7.x and .NET 8 (well past .NET 5 that top-level statements need)? 😳
Console.WriteLine("hello world"); //System.Console works
.NET 8:

@philwills@hachyderm.io
2024-03-22 11:08:59

From: zed.dev/faq:
> "Zed", which is also the name for the letter "Z" in some dialects of English
I get that we should let go of the idea of hegemony over the language, but being called a dialect still burns a bit

@deprogrammaticaipsum@mas.to
2024-04-01 07:16:41

The 67th edition of De Programmatica Ipsum is out!
This month we argue that "editor wars" are a pointless loss of time; in the Library section, we review "Code" by Charles Petzold; and in our Vidéothèque section, we watch a video from the Fireship channel.
deprogrammati…

A close-up of a computer monitor displaying the Sublime Text editor with a focus on the 'File' dropdown menu.
@khalidabuhakmeh@mastodon.social
2024-03-25 22:55:13

Single-file execution for #Java, #Kotlin, and #golang is a neat feature for #JetBrains Fleet.

@drahardja@sfba.social
2024-02-14 06:17:27

Absolutely incredible. I wonder how generalizable this is. mas.to/@Cykelero/1119239929649

@jonippolito@digipres.club
2024-03-15 13:59:20

For now, being AI-literate feels like a cheat code to life. But once everyone learns to prompt, will it be "the end of busywork" or the surrender of truth-seeking to the law of averages?
#HigherEducation #AIliteracy

A meme with a happy face next to the words "You give ChatGPT someone's manuscript and instantly generate a peer review" and a disappointed face next to the words "The journal editor asks why your review is nearly identical to the other three"
@poppastring@dotnet.social
2024-02-13 03:59:21

Oldy but a goody tip for #visualstudio :visualstudio:
"PerfTips" which displays elapsed time between breakpoints in the editor, offering a streamlined view of performance data during code interaction.

@fell@ma.fellr.net
2024-02-01 11:34:02

Day 4 of attempting to daily drive postmarketOS Linux on a OnePlus 6T:
📶 I felt brave this morning, so I handed over my SIM card to Linux. At first, the phone didn't recognise the card, but the wiki page helped me resolve the problem quickly. I had to increase the config value `sim_wait_time` and reboot the phone to make it work. Mobile data and receiving texts work flawlessly. I haven't tried sending texts and making calls yet.
⏰ Yesterday, I also used the Clock app to s…

Photo of a OnePlus 6T on a wooden surface with the Phosh UI. The Clocks app is openend, listing an alarm at 7 o'clock.
Photo of a OnePlus 6T on a wooden surface with the Phosh UI. The document viewer app is openend, showing a train ticket with a QR code in the middle. The QR code and the ticket ID have been blurred. Next to the phone is a SIM eject pin.
Photo of a OnePlus 6T on a wooden surface with the Phosh UI. The mobile network settings are open, showing the text "No SIM; Insert a SIM card to use this modem". Next to the phone is a SIM eject pin.
Photo of a OnePlus 6T on a wooden surface with the Phosh UI. The terminal app is openend, showing a text editor. The text editor is displaying a configuration file. The current, highlighted line reads "sim_wait_time=30"
@migueldeicaza@mastodon.social
2024-03-30 14:15:19

When I started rewriting Godot editor on iPad, I figured I could only pull that stunt with the productivity of SwiftUI -otherwise it would just be a failed project.
I feared two things (a) that it would be too complex for SwiftUI and would break in odd ways and (b) that would only work for a few UI bits would need to resort extensively to UIKit and be bogged down on it.
So far SwiftUI has been flawless and delivered on the promise-barely any UIKit code exists and the reliability …

@toxi@mastodon.thi.ng
2024-03-16 21:59:32

VERY disappointed in GitHub refusing to support the LaTeX `\colorbox` (outright banned) or `\textcolor` macros (seemingly only very limited support) or any CSS solution to allow one to create colored text in Markdown files... I was hoping to create color swatches as shown in the attached preview (in VSCode), but just none of this works on GitHub...
(And yes, I understand there're some potential accessibility issues, but there're more social solutions to address these than an ou…

Screenshot of VSCode split-screen editor of a Markdown file containing a long list of colors. The left pane shows the MD source code, the right pane the rendered preview, incl. color swatches (as background colors)
@colincogle@mastodon.social
2024-02-22 04:06:09

I kept forgetting to check into the #APRSThursday #hamradio net. So what did I do? Set a reminder? Nah, forgot to read those.
Instead, I did what no sane person would:
1. Created a #systemd

A terminal window showing a systemd timer unit file open in the nano text editor.  The source code is as follows:

[Unit]
Description=Check into the #APRSThursday ham radio net.

[Timer]
OnCalendar=Thu *-*-* 00:00:00 Etc/UTC
RandomizedDelaySec=23h
Persistent=true
Unit=aprs-thursday.service

[Install]
WantedBy=timers.target
After=network.target
@keithjgrant@front-end.social
2024-02-06 17:12:47

I’ve never really related to the folks that keep hundreds of browser tabs open... I generally clean up after myself in that regard.
My code editor, on the other hand. Oh man, that’s a mess.

@Mediagazer@mstdn.social
2024-03-10 13:40:23

William Whitworth, who wrote revealing profiles in The New Yorker before working as the EIC at The Atlantic from 1980 to 1999, died on March 8 at age 87 (Sam Roberts/New York Times)
nytimes.com/2024/03/09/…

@hey@social.nowicki.io
2024-04-05 21:44:28

@… I think it shared some code for sure. I made some website with heavy use of <table> which was a cutting edge tech back then and later gave up because IRC people told me it's shit and real devs are writing html with Pajączek (popular html editor in Poland back then).

@NoahCarver@c.im
2024-03-03 00:26:54

Looking at non-WordPress options for a professional website. Which CMS do you suggest? I'm looking for user-friendliness (I never want to touch the WordPress Block Editor again) and excellent #accessibility. All recommendations welcome so long as they involve a minimum of handwritten code/markdown (no static sight generators, please)!

@aral@mastodon.ar.al
2024-01-30 12:43:12

Very excited about the latest feature/workflow I’m adding to Kitten. I call it… 🥁
✨ Streaming HTML ✨
Implement back-end functionality and stream HTML updates to the client without writing any front-end JavaScript.
Just give your forms names and listen for them in an onConnect() handler you export from your page. Kitten handles everything else – setting up a WebSocket route for you, mapping triggers to events, etc. – thanks to Kitten

Screenshot of Helix Editor showing the contents of index.page.js.

The highlighted area is in an exported page route (`export default () => kitten.html`) inside a div:

<form name='add'>
  <label for='postUrl'>Post link:</label>
  <${PostLinkInput} />
  <${AddButton} />
</form>

Full listing of source code visible in screenshot follows:

export default () => kitten.html`
  <page water>
  <markdown>
    # Streamiverse settings

    Browse and curate your stream. 

    ## Add to stream
  </markdo…
Screenshot of code:

Highlighted code is inside exported function onConnect (_request, and page):

page.on('add', async data => {
  // Show status update.
  page.send(kitten.html`<${AddButton} busy/>`)

  // Calculate the status API URL and fetch the post.
  const postUrl = new URL(data.postUrl)
  const fediverseServer = postUrl.origin
  const postId = postUrl.pathname.substring(postUrl.pathname.lastIndexOf('/') + 1)
  const statusApiUrl = `${fediverseServer}/api/v1/statuses/${postId}`
  
  con…
@arXiv_csAI_bot@mastoxiv.page
2024-04-09 06:46:55

AI2Apps: A Visual IDE for Building LLM-based AI Agent Applications
Xin Pang, Zhucong Li, Jiaxiang Chen, Yuan Cheng, Yinghui Xu, Yuan Qi
arxiv.org/abs/2404.04902

@theadhocracy@indieweb.social
2024-03-20 14:46:19

✍️ Can you code on an iPad? Some thoughts from my experience at #IndieWebCamp Brighton a couple of weekends ago.
There's definitely some potential here, but right now the #iPad isn't a brilliant code editor. If you're wanting to give it a go, I've put together some tips as well.
#Coding #WebDevelopment #Apple

@aral@mastodon.ar.al
2024-03-03 13:48:51

You can now create HTML and CSS fragments in Kitten.
This introduces two new file extensions (.fragment.html and .fragment.css) and you can import these fragments into your pages and into other components and fragments as if they were JavaScript modules*.
HTML fragments also support slots.
Example:

Screenshot of terminal window on left, web browser on right.

Terminal window has hx (Helix Editor) 
running, showing 23 lines of code, with the first two highlighted:

import Styles from './Styles.fragment.css'
import Markup from './Markup.fragment.html'

export default async () => kitten.html`
  <page css>
  <h1>HTML and CSS fragments</h1>

  <${Markup}>
    <div>I’m content from index.page.js for the default slot.</div>
    <content for='other'>
      <div>I’m content from index.page.js for …
Screenshot of terminal window showing hx (Helix Editor) with two panes.

Left pane, selected, shows source of Markup.fragment.html:

<div class='box'>
  <p>I’m some HTML from Markup.fragment.html.</p>

  ${SLOT}

  <p>I’m some other HTML Markup.fragment.html.</p>

  ${SLOT.other}
  
  <p>I’m yet more HTML Markup.fragment.html.</p>
</div>

Right pane shows source of Styles.fragment.css:

/* I’m some CSS */
:root {
  --accent-colour: red;
  --border-width: 2px;
}

div {
  border: var(--border-wid…
@NoahCarver@c.im
2024-03-03 00:26:54

Looking at non-WordPress options for a professional website. Which CMS do you suggest? I'm looking for user-friendliness (I never want to touch the WordPress Block Editor again) and excellent #accessibility. All recommendations welcome so long as they involve a minimum of handwritten code/markdown (no static sight generators, please)!

@smurthys@hachyderm.io
2024-03-15 18:40:06

Beware the "Ides" of March. 🗡️
(Please save the "well actually..."s for things worthwhile 😉)
#Vim #Vi #editors #IDE

Vim editor displaying C code in a dark theme: Two vertical panes, the left pane is split horizontally into two showing the contents of a file "datagram.c" at the top and "dst.c" at the bottom. The right pane shows the file "netpoll.c"
Window titled "QEMU" showing Vi editor, black background, white text. The window contains a "Hello, world" C program.
@aral@mastodon.ar.al
2024-03-08 15:37:27

New blog post: Streaming HTML
ar.al/2024/03/08/streaming-htm
Let me show you how easy it is to create a simple counter web app using the new Streaming HTML workflow in Kitten before peeling away the magic layer by layer so you learn how to make the same app usi…

Still from video in the post showing me with two windows on screen: Helix Editor showing some code:

const Count = () => kitten.html`
  <div
    id='count'
    aria-live='assertive'
    style='font-size: 2em;'
 
 >${kitten.db.counter.count}</div>
`

And a web browser with heading Counter, a count of 5, and a increament (+) and decrement (-) button.