Time 4 Code
13 subscribers
11 photos
1 file
6 links
What is there to say that hasn't already been said? Idk, but I'll figure out something. Come here for programming commentary, tips, and more.

Part of the #FennecGang network
@fennecgang
@time4code
@therubygroup
Download Telegram
Live stream finished (2 hours)
Live stream started
Live stream finished (1 hour)
Sometimes...
Looking for domains on hover, when suddenly
a.png
2.5 KB
Here's a cool trick. Apple devices will see this as "HELLO APPLE", while everything else will see "HELLO WORLD".

https://www.bleepingcomputer.com/news/technology/this-image-looks-very-different-on-apple-devices-see-for-yourself/
Live stream scheduled for
Live stream in 12!
Time 4 Code pinned «Live stream in 12!»
Live stream started
Live stream finished (2 hours)
Forwarded from Lucy News (Watzon [ask to PM])
So @MissLucy_bot has been deployed to my servers and is currently running in several groups on a trial bases. If anyone else wants to help test feel free to do so, just be sure to report issues in @MissLucySupport. Expect things to break, but I will do my best to fix issues as soon as they pop up. Thanks!
Forwarded from Lucy News (Watzon [ask to PM])
I just realized bans don't currently delete the replied to message. How do you think Lucy should handle deleting the message?
Final Results
0%
It shouldn't
33%
/ban deletes message
67%
/ban should leave the message; /delban should delete
Time 4 Code pinned «What languages do you use most often?»
Can you tell what I'm working on?

For those of you that don't know me personally or just aren't aware, I do a lot of programming in a language called Crystal (think compiled Ruby). This is a snippet from my group management bot, Lucy.
🤩2
I've noticed a distinct lack of Ruby developers on Telegram and I'd like to remedy that. That being said, I've started a "new" group for talking about Ruby and Crystal @therubygroup. New is in quotes because it's existed for a while as a Crystal group, but I recently changed the name, description, and bio to be more inclusive of Ruby development.

Whether you're a Ruby developer, a Crystal developer, or just interested in learning about either of them, please come join the discussion!
👍1🎉1
So recently I added something fun to @MissLucy_bot (fun being a relative term), and that is the ability to see the very roughly estimated account creation date of a user. The way this works is fairly simple: given a map of known ids and their creation date it is able to make an educated guess as to when a specific id would have been created. This is because user ids, while not sequential, do seem to be constantly increasing in value.

This code is completely based off of the code for @GetIDsBot, just ported to Crystal. I will be improving on it soon hopefully with some newer ids to keep things moving smoothly.
👍1
Who's ready for a new language? Ok, so you're probably thinking "oh no, not another one", and I wouldn't blame you. We live in the age of new programming languages. It seems like every other day someone is trying to get you to use their cool new language that has static typing and compiles to JavaScript. So why would you want another one?

Well Onyx, a language in development my friend Vlad, is a new take on existing languages. It's inspired by C++ and Ruby, Onyx aims to be a beautiful, cross platform way to write type safe code that just works; whether your goal is web development or bare metal micro controller development. A lot of the decisions made in the language were inspired by Crystal's inability to do certain things (like perform explicit imports).

If you're interested in taking a look at the spec, you can find it at https://ref.nx.fancysoft.xyz. The spec has been mostly finalized, but the first compiler (dubbed the Fancy Compiler) has not yet. If you're interested in talking about this language you can chat with Vlad, me, and several others at @OnyxLangChat

Didn't mean this to sound like an ad, but it kinda does. Just very exited about this project.
Ok I know parser grammars are inherently confusing, but on a scale of 1-10 how bad is this? Can you understand what's going on here?