Programming

chrisjrn,
@chrisjrn@social.coop avatar

If there's one piece of guidance I wish everyone knew:

If a conference puts up a detailed guide about how to maximise your chances of acceptance: read it, and apply that guidance in your proposal. If there are specific things they say you should do, do them! If there are things they say not to do, then don't do them.

Hint 1: has a guide! https://2023.northbaypython.org/speak

Hint 2: You can still edit your proposals :)

chrisjrn,
@chrisjrn@social.coop avatar

@skimbrel
I'm not sure I can raise a single eyebrow far enough

offby1,
@offby1@wandering.shop avatar

@chrisjrn @skimbrel I am definitely here for this.

I'll sell tickets.

valhalla_dev,

I found out yesterday that my contract was terminated, effective immediately. This was incredibly surprising and heartbreaking, but I'm focused on the future!

If anyone knows of any software development jobs focused on , , or , hit me up! I'm pretty urgently searching.

jerry,

@valhalla_dev sorry to hear. Hopefully you can find something new soon

shafik,
@shafik@hachyderm.io avatar

This paper "A Simple, Possibly Correct LR Parser for C11" is a treasure trove of cursed code: https://hal.archives-ouvertes.fr/hal-01633123/document

[Struct declarations exhibit another (similar) ambiguity, which is caused by the fact that a bit-field can be anonymous, as prescribed by the production struct-declarator: declaratoropt: constant-expression ISO 2011, 6.7.2.1, $11. This is illustrated by the following code fragment: // bitfield_declaration_ambiguity.c typedef signed int T; struct S { unsigned T:3; / bit-field named T with type unsigned const T:3; // anonymous bit-field with type const T This declares a structure s with two bit-fields. There are, however, two ways of interpreting each of the above two bit-field declarations. Indeed, in each of them, one may consider T either as a type specifier (in which case an anonymous bit-field of type T is being defined) or as a member name (in which case a bit-field named t is being defined). All of the ambiguities discussed above are eliminated by paragraph 6.7.2, $2, which limits the combinations of type specifiers that may be used in a declaration or struct declaration:
The parameter list of a function prototype gives rise to a new "function prototype" scope, which must be opened at the beginning of the parameter list and closed at the end of the parameter list. Thus, a name introduced somewhere in the parameter list is visible in the remainder of the parameter list and is no longer visible after the parameter list ends. We emphasize that such a name can be either a formal parameter or an enumeration constant that appears in the type of a formal parameter. In the following example, the names introduced by the parameter list of f are T, U, Y, x: / function_parameter_scope.c typedef long T, U; enum {V} (*f (T T, enum {U} y, int x[T+U])) (T t) ; / The above declares a function f of type: // (long, enum{U}, ptr(int)) -> ptr (long -> enum{V}) T x[ (U)V+1]; // T and U again denote types; V remains visible The parameter list of a function definition gives rise to a new "block" scope, which must be opened at the beginning of the parameter list and closed at the end of the function body. Indeed, the C11 standard [ISO 2011, 6.2.1, $4] prescribes: "If the declarator or type specifier that declares the identifier appears [...] within the list of parameter declarations in a function definition, the identifier has block scope, which terminates at the end of the associated block." Thus, in the following example, which begins like the previous one, the scope of the names T, U, y, x, which are introduced in the parameter list of f, includes the function body
[2.4. Ambiguity in parameter declarations In addition to the ambiguity discussed above (Section 2.3), the C11 grammar exhibits a further ambiguity in the syntax of parameter declarations. Consider the following code fragment: // parameter_declaration_ambiguity.c typedef int T; void f(int (x), int(T), int T); / First parameter: named x, of type int / Second parameter: anonymous, of type int (T) (i.e., T -> int) / Third parameter: named T, of type int According to the C11 grammar, in this fragment, the parameter declaration int (T) can be interpreted in two ways. One can read it as introducing a parameter whose name is T and whose type is int. One can also read it as introducing an anonymous parameter whose type is int (T), that is, "function of T to int". In the first reading, the name of the parameter is parenthesized, as allowed by the syntax of declarators. The identifier T, which happens to denote a typedef name, is re-declared as a variable. In the second reading, because t denotes a typedef name, (T) forms a valid abstract declarator. The C11 standard attempts to eliminate this ambiguity as follows ISO 2011, 6.7.6.3, §111: If, in a parameter declaration, an identifier can be treated either as a typedef name or as a parameter name, it shall be taken as a typedef name.

chrisjrn,
@chrisjrn@social.coop avatar

Spent yesterday afternoon doing things. Checked out the venue and the cats with @skimbrel and @josh, and pulled apart the budget so that we can run the conference on a tiny amount of sponsorship.

(Want to sponsor? We'd be extremely grateful. Https://northbaypython.org/sponsor )

taylor_atx,
@taylor_atx@hachyderm.io avatar

@chrisjrn @skimbrel @josh I just see fresh air 💖

chrisjrn,
@chrisjrn@social.coop avatar

@taylor_atx
There's another 599 acres worth on site! Our CFP is open too, submit a talk or two maybe?

https://northbaypython.org/speak

@skimbrel @josh

raccoonformality,

I think our jobs are safe for now 💀

anderseknert,
@anderseknert@hachyderm.io avatar

Rather than deciding on a scripting language that only some in the organization understands and enjoys — like — consider a more inclusive option, like , which no one understands or enjoys.

anderseknert,
@anderseknert@hachyderm.io avatar

@joeyguerra interesting. What do you base that suspicion on?

joeyguerra,

@anderseknert linkedin search results.

webology,
@webology@mastodon.social avatar

🤔 Do you want to submit a talk for DjangoCon US 2023 but aren't sure what to talk about?

Here is my annual list of DjangoCon US talks I’d like to see in case it gives you some inspiration: https://jefftriplett.com/2023/djangocon-us-talks-i-d-like-to-see-2023-edition/

If your idea is not on this list, then even better! Submit it too!

webology,
@webology@mastodon.social avatar

@andyide @CodenameTim what Tim said.

webology,
@webology@mastodon.social avatar

@andyide I wouldn't worry about new or exciting getting in the way of what you learned, wish you had learned, wish other people knew/used more, and whatever else you learned along the way.

talkpython,
@talkpython@fosstodon.org avatar

To celebrate the release of our new mobile apps, we are offering our "Up and Running with Git" course from @talkpython 100% free for 1 week.

To get access, just install our mobile app, visit the courses tab, find git in the free courses section, and you'll have it forever.

https://training.talkpython.fm/apps

shafik,
@shafik@hachyderm.io avatar

We should all learn something from the misplaced enthusiasm of the Backus and the early HLL designers.

This quote was taken the first paper written on FORTRAN.

From the book “The History of The Fortran Programming Language”

angelmunoz,
@angelmunoz@misskey.cloud avatar

For real, whoever is saying that F# or OCaml require a PhD in Math or are languages just for math, science, and academic stuff is completely lying to you, it is no harder than learning JavaScript/python or any other language out there.

leobm, German
@leobm@norden.social avatar

Gleam version v1.1 released.

  • Language server improvements
  • Compilation batching
  • Bun support
  • Rebar support
  • Clearer dependency requirements
  • Dead code elimination
    and more
    https://gleam.run/news/gleam-v1.1/

davidbisset,
@davidbisset@phpc.social avatar

Happy Anniversary to BASIC.

Turns 60. 🎉

https://arstechnica.com/gadgets/2024/05/the-basic-programming-language-turns-60/

I believe my first language (if you don't count LOGO) was Apple Basic.

FATHI, Persian
@FATHI@mstdn.social avatar
dentangle,
@dentangle@chaos.social avatar

Modern Stoneage Debugging

Debuggers are great and they have their place, but never underestimate the power of simply printing "Barney was here" when tracing code.

Barney often needs some help from Wilma and Betty and his mate Fred, but if you have to bring out Dino and Bam Bam it's probably gone wrong. Maybe you should put the Flintstones away and break out that debugger now. 😉

Important: don't forget to remove them before deploying into production.

🦖 + 🧑‍💻 => 😀

revk,
@revk@toot.me.uk avatar

@dentangle yes, don’t forget to remove them….

nicd,

We're facing the possibility of changing the VAT from 24 to 25.5% here in Finland. My thoughts and prayers with all the financial sector programmers who get to patch all the systems where the VAT field is an integer without additional precision capabilities.

Di4na,
@Di4na@hachyderm.io avatar

@nicd that is rare because load of country have or have had other rate. And it is not rare for some industry to have a decimal and different vat

bits,
@bits@mastodon.online avatar

The code you write makes you a programmer. The code you delete makes you a good one. The code you don't have to write makes you a great one.

-- Mario Fusco

janriemer, (edited )

There is still plenty of room for in the space of 's:

sapling | A highly experimental vi-inspired editor where you edit code, not text.

https://github.com/kneasle/sapling

Accessible AST-Based for Visually-Impaired Programmers (2019)

https://dl.acm.org/doi/pdf/10.1145/3287324.3287499

Also related:
diffsitter | A tree-sitter based AST to get meaningful semantic diffs

https://github.com/afnanenayet/diffsitter

➡️ Edit: please check out part 2 of this post below...

1/2

janriemer,

...speaking of , and editors, how could I forget to mention @niklaskorz's and @ArturHD's work on the code editor, which has been the result of their paper "Virtual Domain Specific Languages via Embedded Projectional Editing"!?

https://dl.acm.org/doi/pdf/10.1145/3624007.3624059

puredit is "a projectional that uses textual as its source of truth."

https://github.com/niklaskorz/puredit

You can try the editor here:

https://puredit.korz.dev/

Just mind-blowing! 🤯

2/2

niklaskorz,
@niklaskorz@rheinneckar.social avatar

@janriemer Thanks! :)

Lots of kudos to @marijn for CodeMirror 6, which is amazingly extensible and thus perfect for such kinds of experiments.

cherrykoda,
@cherrykoda@mas.to avatar

Honestly... it's not exactly anything new that's spurred the realisation that React is overcomplicated for what it tries to do. Glad the light is being found, but yikes that was a long time coming.

"React suggests using a framework to start a project, suggesting to use one of the three main open source frameworks, instead of just React." This itself isn't surprising, as React suffers from the same issues as Framework mania.

#js #webdev #developer

https://dev.to/matfrana/react-where-are-you-going-5284

CeeZ,
@CeeZ@corteximplant.com avatar

Moving instances calls for a new introduction to pin!

Hi! I'm Sesselja and I'm a 28 years old trans woman from Iceland.

I have ADHD and a variety of hobbies so I end up jumping between projects in different fields a lot. Currently I'm working on a Cyberpunk RED TTRPG campaign/setting set in Iceland (because I love making more work for myself than I have to), creating a CYOA game engine on Discord with NodeJS, writing something that's looking like it might become a novel, and I have a big pile of unfinished music. Some of these I might finish one day.

I also play games, mostly FFXIV and an unhealthy amount of Magic: the Gathering Arena, and I've been getting into Space Engineers lately as well.

I listen to a lot of electronic music, mostly DNB, mid-tempo bass and dubstep.

Most of the media I enjoy has sci-fi or fantasy elements, but I'm also a sucker for romance webtoons.

Things I do not like include, but are not limited to (in no particular order): Fascists, capitalism, bigots, asparagus

softinio,

Martin Odersky of fame has started a blog all https://odersky.github.io/blog/2024-01-04-post.html

amoroso,
@amoroso@fosstodon.org avatar

The Obfuscated C Code Contest is fun and all but can we also have a Clear Code Contest?

A competition to reward code that's easy to understand and modify, well designed, extensible, modular, documented, and properly commented.

arunmani,
@arunmani@mastodon.social avatar

@amoroso Does FizzBuzz Enterprise Edition count as one? /s
https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition

amoroso,
@amoroso@fosstodon.org avatar

@arunmani That's a step in the right direction.

vitaut,
@vitaut@mastodon.social avatar

Optimizing the unoptimizable: a journey to faster C++ compile times https://vitaut.net/posts/2024/faster-cpp-compile-times/

foonathan,
@foonathan@fosstodon.org avatar

@vitaut lexy only includes headers like <type_traits>, <cstddef> and <cstring> for that reason.

vitaut,
@vitaut@mastodon.social avatar

@foonathan C++ standard library, the good parts

mona,

Looking for a full-time job - anyone looking to hire a Developer?

My Skillsets

Frontend - React, NextJS, Svelte, Wordpress
Backend - ExpressJS - NodeJS
Mobile - Flutter
Devops & Sysadmin

Pls boost and share to anyone that might need thanks.

EvanHahn,

"The world's smallest PNG" shows off the smallest possible PNG and describes how it works in detail. Not my best explainer, but probably the one I've worked on for the longest (multiple years). Feedback welcome! https://evanhahn.com/worlds-smallest-png/

Edent,
@Edent@mastodon.social avatar

@EvanHahn
I've just finished a blog post about single pixel images. Some of the modern image formats are so bloated at smaller sizes!

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