twostraws, to random
@twostraws@mastodon.social avatar

Tomorrow @mikaelacaron and I record the next @swiftovercoffee episode and we want your views for our open ballot! We're celebrating Swift turning 10, so tell us: how did it impact your life? Did it get you jobs? Did it help you go indie? Did it give you lots of fun? Tell us! 👇

iriepixel,
@iriepixel@mastodon.social avatar

@twostraws @mikaelacaron @swiftovercoffee I was always afraid of Objective-C and couldn't understand the , so I stuck to for quite a while. made me finally give another try and I love it. However, I'm just in the beginning of this journey.

stronglang, to linguistics
@stronglang@lingo.lol avatar

We can [VERB] the [TABOO TERM] out of something, but what happens when it's an intransitive verb that takes a prepositional phrase?

@bgzimmer on "agreed the fuck out of it" and similar phrases: https://stronglang.wordpress.com/2016/02/11/i-agreed-the-fuck-out-of-it/

janriemer, to random

Please remember:
Syntax sugar tastes good, but too much of it is bad for your teeth and health.

janriemer, to rust

Some people: "Rust's syntax is so confusing to me." 🥴

The project: "Let's match that confusion with even more confusing syntax!" :awesome:

🤦

/sarcasm

janriemer,

Frequently requested changes | Fundamental changes to #Rust's syntax

https://lang-team.rust-lang.org/frequently-requested-changes.html#fundamental-changes-to-rust-syntax

"[...]These also include proposals to add "alternative" syntaxes, in addition to those that replace the existing syntax."

"[...]The established Rust community with knowledge of existing Rust #syntax has a great deal of value, and to be considered, a syntax change proposal would have to be not just better, but so wildly better as to overcome the massive downside of switching."

#RustLang #PostfixMatch

Codeberg, to random
@Codeberg@social.anoxinon.de avatar

There is one thing that annoys me about #Codeberg, but I was too lazy to tell …

… until today! Please let us know in the comments.

Codeberg,
@Codeberg@social.anoxinon.de avatar

@Palace4Software You mean default per repository? Or per issue template?

For issue templates, there is already an option, see https://forgejo.org/docs/latest/user/issue-pull-request-templates/#syntax-for-markdown-template

arraybolt3, to Bash
@arraybolt3@theres.life avatar

Need help ASAP with finding a text editor for Bash.

So far all of the following text editors are unable to properly syntax highlight Bash herestrings:

  • Vim
  • Neovim
  • Nano
  • Kate
  • IntelliJ IDEA
  • Visual Studio Code

I'm at a loss. Even Vim isn't up to the task. I don't have the time or brainpower right now to learn Emacs. If anyone knows a text editor that can highlight Bash herestrings right, please ping me!

liskerr, to linguistics
@liskerr@mastodon.online avatar

New diamond open access journal 'Syntactic Theory and Research' to be founded by former editors of Syntax, resigning from editorial positions due to errors made by Wiley-Blackwell in publication process vs free labour expected of authors/reviewers/editors @linguistics @academicchatter #syntax #linguistics #OpenAccess #AcademicPublishing

https://linguistlist.org/issues/35/835/

cs, to Powershell
@cs@mastodon.sdf.org avatar

After hearing about on the podcast, I decided to use it to help me write a script for a backup routine. I had originally written in C-sharp a while back, but obviously could be much faster and smaller with a script.

I am not a professional. I found that it did great at helping me with syntax for Powershell, which I am not that familiar with. However, I did find Codeium would get lost in the nested conditionals, so I had to watch it closely & move things around.

cs, to random
@cs@mastodon.sdf.org avatar

In this episode of #Syntax podcast, I thought this was going to be about warning about securing your domain registrations. Turns out that it is a warning to pick your weird #TLD well, and consider avoiding .af among others.
The #Taliban stole my domain
https://overcast.fm/+JaI7wJKLE

alatitude77, to random
@alatitude77@mastodon.social avatar
jevko, to webdev

A nice syntax for HTML tables

https://youtu.be/ZcFuRp7IVTM

I show a convenient and flexible shorthand syntax for tables in Znadoc, a document creation system I'm developing.

cs, to passkeys
@cs@mastodon.sdf.org avatar
gregorni, (edited ) to ProgrammingLanguages
@gregorni@fosstodon.org avatar

What kind of programming language syntax is more helpful for someone absolutely new to programming, with no prior experience?

  • Something innovative that makes explaining concepts incredibly easy
  • Something more traditional that they can apply to a lot of languages when they move on

Feel free to give reasons down below!

#programminglanguage #programminglanguages #learning #learntocode #learn2code #syntax

jevko, to internet_funeral

A simple backwards-compatible Jevko extension to support fenced blocks of arbitrary text

https://github.com/jevko/writing/blob/main/2023-11-30-jevko-fenced-text.md

#jevko #minimal #syntax #extension #fenced #text #heredocs #multistrings #simple

jevko, to random

You know what Jevko is exceptionally good for? Manual editing.

There is no redundant characters to look at or type. Just square brackets to build hierarchy.

Square brackets are the best, because unlike other types of brackets, you don't have to hold shift to enter them on a typical keyboard.

They are also relatively rare in text, which minimizes the need for escaping.

#jevko #minimal #syntax

typing out a Jevko document that describes an imaginary address

What are your thoughts on Microblogs vs threads?

When I first joined Kbin I posted threads due to being a reddit refugee but have started posting microblogs as time went on. I have also noticed some magazines have more threads while others have more microblog posts. For example kbinmeta has more threads while the most active magazine I moderate has mostly microblogs.

daredevil, to kbinMeta in What are your thoughts on Microblogs vs threads?
daredevil avatar

Yeah, #search #functionality and #syntax on #kbin has room to grow, I completely agree. While I've tried getting familiar with it in the past, I am by no means an authority on the subject. In fact, this back-and-forth was already helpful for teaching me a bit more. If you feel strongly about this, I might suggest bringing it up here, so that Ernest can look into it when he has time. However, if you'd rather not, then I may find some time to try putting something together later.

anniethebruce, to random
@anniethebruce@easymode.im avatar

Does DuckDuckGo have any sort of boolean operators so I can do something like "Java NOT Javascript" giving me only results matching "Java"?

kkarhan,
@kkarhan@mstdn.social avatar

@anniethebruce found what you were looking for?

Also #DuckDuckGo has some clever #syntax stuff like shortcuts for sites/services and #InstantAnswers...

tomw, to random
@tomw@mastodon.social avatar

Every so often I see a post about how LLMs fail logic puzzles.

And... yes? Of course they do. The only way it could solve it is if it has seen the puzzle before or a substantially similar one. (But that might cause it to give the answer to the similar one, not the correct answer.)

Why is this even tested so often or considered surprising? It is, in essence, an autocomplete. It does not understand logic. It has no concept of a correct answer. It gives the most likely completion.

cdarwin,
@cdarwin@c.im avatar
veronica, to python
@veronica@mastodon.online avatar

Ternary conditionals in Python are very practical, but not necessarily easy to read. Still, I find I use them more and more lately ...

#Code #Python #Programming

veronica, (edited )
@veronica@mastodon.online avatar

When talking about interesting Python syntax, list comprehension has to be mentioned.

This one is so convoluted I can barely explain how it works, I just know that it does.

This function takes a list and a dictionary as input. Each key and value in the dictionary are then appended as an argument and value into the list, to later be used as command line parameters (here, for ffmpeg).

#Python #Code #ListComprehension #Syntax

kraigschmidt, to programming
@kraigschmidt@mastodon.social avatar

Open question: I’m a middle-aged dude with a few years of experience — 25 long years ago. So I have rudimentary understanding of basic programming concepts, but know nothing of modern languages or methods.

If I wanted to write an that hits a web-accessible , what would you all recommend as the best way to get started and/or learn iOS & ?

kraigschmidt,
@kraigschmidt@mastodon.social avatar

@ctietze
Well, I have the (dis)advantage of not reading any in a long long time. So, I’d like to think I’m mostly free of the ingrained patterning that comes from keen familiarity with any one specific language or .

Bad news, harder to learn anything.

Good news, relatively easier to learn ?

shegeley, to scheme
@shegeley@fosstodon.org avatar

Packed «JRM’s Syntax-rules Primer for the Merely Eccentric» manual as .texinfo for guix.

https://github.com/shegeley/jrm-syntax-rules

#scheme #macro #syntax-rules #guile #guix

publicvoit, to linux
@publicvoit@graz.social avatar

If "#!/usr/bin/env foo" is the preferred (for portable scripts) in order to find "foo" independent of its path, why isn't the recommended shebang "#!env foo" which would not assume a path for "env" either? 🤔

publicvoit,
@publicvoit@graz.social avatar

@hal_canary Closest thing here: https://en.wikipedia.org/wiki/Shebang_(Unix)#Syntax#Syntax) "interpreter is a path to an executable program" (no source/quote linked)

sascha_wolfer, to linguistics

Creating a #syntax tree for that one might be a Master's thesis in itself 🤯

https://xkcd.com/2793

To be honest, I still don't know whether this is a grammatical sentence.

#linguistics #xkcd #gardenpath

chaoddity, to programming
@chaoddity@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • megavids
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • JUstTest
  • All magazines