Hackers are using malicious Microsoft VSCode extensions to steal passwords (www.techradar.com)
In some cases, to run malicious code remotely, too
chrisjrn, If there's one piece of #CfP 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: #nbpy has a guide! https://2023.northbaypython.org/speak
Hint 2: You can still edit your #nbpy proposals :)
valhalla_dev,
jerry, @valhalla_dev sorry to hear. Hopefully you can find something new soon
shafik, 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,
taylor_atx,
chrisjrn, @taylor_atx
There's another 599 acres worth on site! Our CFP is open too, submit a talk or two maybe?
raccoonformality, I think our jobs are safe for now 💀
#chatgpt #ai #aiart #meme #funny #programming #gamedev #webdev #development
In some cases, to run malicious code remotely, too
anderseknert,
anderseknert, @joeyguerra interesting. What do you base that suspicion on?
joeyguerra, @anderseknert linkedin search results.
webology, 🤔 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, @andyide @CodenameTim what Tim said.
webology, @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, 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. #python
shafik, 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, 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.
#programming #fsharp #ocaml #functionalprogramming #softwaredev #softwaredevelopment #programminglanguages
leobm, German 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, Happy Anniversary to BASIC.
Turns 60. 🎉
https://arstechnica.com/gadgets/2024/05/the-basic-programming-language-turns-60/
I believe my first #programming language (if you don't count LOGO) was Apple Basic. #history
FATHI, Persian
dentangle, 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, @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, @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, 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 #innovation in the space of #code #editor's:
sapling | A highly experimental vi-inspired editor where you edit code, not text.
https://github.com/kneasle/sapling
Accessible AST-Based #Programming for Visually-Impaired Programmers (2019)
https://dl.acm.org/doi/pdf/10.1145/3287324.3287499
Also related:
diffsitter | A tree-sitter based AST #difftool to get meaningful semantic diffshttps://github.com/afnanenayet/diffsitter
➡️ Edit: please check out part 2 of this post below...
1/2
janriemer, ...speaking of #innovation, #a11y and editors, how could I forget to mention @niklaskorz's and @ArturHD's work on the #puredit 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 #editor that uses textual #code as its source of truth."
https://github.com/niklaskorz/puredit
You can try the editor here:
Just mind-blowing! 🤯
2/2
niklaskorz, @janriemer Thanks! :)
Lots of kudos to @marijn for CodeMirror 6, which is amazingly extensible and thus perfect for such kinds of experiments.
cherrykoda, 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.
CeeZ, 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
#introduction #programming #writing #musicproduction #magicthegathering #cyberpunk #adhd #ffxiv #electronicmusic #ttrpg
softinio, Martin Odersky of #scala fame has started a blog all https://odersky.github.io/blog/2024-01-04-post.html
amoroso, 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, @amoroso Does FizzBuzz Enterprise Edition count as one? /s
https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition
amoroso, @arunmani That's a step in the right direction.
vitaut, Optimizing the unoptimizable: a journey to faster C++ compile times https://vitaut.net/posts/2024/faster-cpp-compile-times/ #programming #cplusplus
foonathan, @vitaut lexy only includes headers like <type_traits>, <cstddef> and <cstring> for that reason.
vitaut, @foonathan C++ standard library, the good parts
mona,
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, @EvanHahn
I've just finished a blog post about single pixel images. Some of the modern image formats are so bloated at smaller sizes!