-
11 votes
-
What is the most advanced or creative program you can create using the LOX programming language?
Lox is a toy programming language that is designed in Java and C at craftinginterpreters.com. My challenge to you is: given the constraints of the Lox language, what are some creative or advanced...
Lox is a toy programming language that is designed in Java and C at craftinginterpreters.com.
My challenge to you is: given the constraints of the Lox language, what are some creative or advanced programs you can create?
This page provides a rundown of the design of Lox.
To kick it off, here's a simple function that estimates the value of pi:
fun estimatePi(rounds) { var pi = 0; var alt = 1; for (var i = 0; i < rounds; i = i + 1) { pi = pi + alt * 4/(2 * i + 1); alt = -alt; } return pi; } print "The value of pi is:"; print getPi(100000);3 votes -
Steam Deck hits over 10,000 verified and playable games
98 votes -
Red Hat, you're harming the entire Linux ecosystem
19 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
32 votes -
MATLAB learning resources for software engineers
I'm starting grad school in neuroscience/biomedical engineering soon, and one of my most dreaded parts of it is inevitably having to develop Matlab code. I understand why people use it -- it's...
I'm starting grad school in neuroscience/biomedical engineering soon, and one of my most dreaded parts of it is inevitably having to develop Matlab code. I understand why people use it -- it's arguably best in class at a lot of engineering tasks, and the matrix-first approach of the language makes it very fast to prototype things if you think like a mathematician/engineer.
However, the language also seems to actively discourage good software practices, and many frequently used scientific projects have atrocious code. Think python dependency management is bad? How about NO DEPENDENCY MANAGEMENT? Yes, that's right, the way you share code in matlab is by importing collections of loose files from github/matlab file exchange. The Matlab neuroimaging code that I have worked has also frequently abused the workspace to share state implicitly between scripts, which makes the code virtually incomprehensible. Instead of using packages to create namespaces, common practice is give function names a prefix and import them into the global namespace.
I know there's multiple large companies that rely on Matlab for their products, so it must be doable; I just haven't seen it for myself yet.
Do you guys have any experience developing in Matlab, and if so, are there any good resources to learn how to build robust software in it? What are some open source projects that have good Matlab code?
16 votes -
Minecraft's devs exit its seven million-strong subreddit after Reddit's ham-fisted crackdown on protest
85 votes -
You Only Live Once (First Impressions of Earth - The Strokes) is maybe the best opener to an album. Thoughts?
While listening to the album this morning, I had a thought. You Only Live Once is a perfect transition from The Strokes previous two albums (Room On Fire, Is This It), to the evolved, more mature...
While listening to the album this morning, I had a thought. You Only Live Once is a perfect transition from The Strokes previous two albums (Room On Fire, Is This It), to the evolved, more mature sound on display in this album. It bridges the albums so perfectly. What do you all think? What are your favorite album openers?
Also, I'm new to tildes, a reddit refugee (redfugee?). Really glad to be joining the community!
6 votes -
The places most affected by remote workers’ moves around the USA
12 votes -
Twelve Foot Ninja - Point of You (2016)
4 votes -
Five locally transmitted cases of Malaria in US, first since early 2000s
20 votes -
Controversy over lack of renewable in plans to rebuild electrical grid in Puerto Rico
10 votes -
The bizarre, true story of the world’s greatest living art thief
14 votes -
How Australia fell in love with 'Priscilla, Queen of the Desert'
4 votes -
Should bylines be more prominent in the topic posts?
I've noticed we've gotten in the habit of using the author.[name] tagging convention on articles and blogs and I think this is a great idea. But to me it just seems more important than having to...
I've noticed we've gotten in the habit of using the
author.[name]tagging convention on articles and blogs and I think this is a great idea. But to me it just seems more important than having to see it as just a tag amidst all the other tags. Right now we put the site name and favicon in a prominent spot whenever we post a link, and I get that this is much easier to extract reliably from just scraping the page than the bylines tend to be. But I wonder if any author.[name] tag could get promoted to a special spot in the "Article: X words" element?Of course this does leave the question of what to do about multiple authors, but I think the usual convention in academia is to list the first author who appears on the list as the primary author.
I assume this has been discussed before, but when I tried searching for it the abundance of topics with "author" tags made it so I couldn't find anything. ¯\_(ツ)_/¯
10 votes -
Inside a secret lesbian sex toy smuggling ring
30 votes -
John Williams - Indiana Jones and the Dial of Destiny Score (2023)
4 votes -
Introducing Surfboard for Tildes
Hello, Tildes Allow me to introduce myself. I came over to Tildes fairly recently after Twitterriffic died and Apollo announced it would shut down. As a relative youngster, I tend to mostly browse...
Hello, Tildes
Allow me to introduce myself.
I came over to Tildes fairly recently after Twitterriffic died and Apollo announced it would shut down.
As a relative youngster, I tend to mostly browse on mobile.
While I do appreciate Tildes' philosophy of having a simple website that works well on desktop and mobile, I've always preferred mobile apps. I'm a strong believer that a well-built native application will always provide a richer experience than a website.
But enough talking.. showing is way more fun - here's a lil' something I've been messing around with:
Introducing Surfboard for Tildes
The goal is simple: to be the best way to interact with Tildes on mobile.
Features
Surfboard is still extremely early, and is missing many features.
With that said, here is what it currently supports:
- Login to Tildes (supports 2FA)
- Browse topics
- Filters & sorting
- Browse comments
- Advanced rendering is still in early stages..
- Supports comment collapsing behavior from the web version
- Reply/vote/bookmark/ignore on topics, comments, & notifications (requires login)
- Search topics
- Global search
- Search within groups
- Option for in-line images
- Clean browsing interface
- In-line markdown preview when composing replies
- Share topics & comments
- Notifications
- View read & unread notifications
- Reply, vote, bookmark, mark as read...
- Customizable
- Toggle settings, set custom gesture actions, etc.
- Free, as in beer
The design draws some inspiration from Apollo for Reddit, an app that I loved & am very sad will be discontinued.
Try it yourself
I would love to get some feedback from other Tildes users on the app. If you are interested in trying it for yourself, you can get it here via TestFlight
Surfboard is built for iPhone, and requires iOS 16.0 or higher.
Inside the app is a 'roadmap' of sorts which is basically a list of things I know are missing, but if there's something you want that isn't listed there, I'm all ears.
Formatting is a little rough at the moment, although I made enormous improvements on the parsing & rendering there over the last day.
It should support just about anything you throw at it other than a
<details>(I'll get around to them, I swear..)
If you run into issues viewing a post/comment, you can easily open them in an in-app safari window from the menu.
As mentioned above, it's very early, but it's already becoming my favorite way to browse Tildes. I hope that others will enjoy it as well. Consider it my gift to the Tildes community.
Cheers !
Edit:
The best way to submit feature requests & bug reports is to add it to the issue tracker and/or leave a comment on this thread and I’ll get around to adding it myself.
Thanks !
278 votes -
The campaign in the desert of North Africa in 1940-1943 mapped
7 votes -
The world’s smelliest fruit? Sohla and Ham try cooking with durian | Mystery Menu
17 votes -
How Jordan Lyles made a $50M career out of the art of losing
6 votes -
Norway approves nineteen oil and gas projects, saying the resulting investments are worth over $19 billion
13 votes -
The latest dangerous conspiracy theory: That conspiracy theory research is part of a big conspiracy
30 votes -
John Goodenough, part of Nobel trio in lithium battery hunt, dies at 100
12 votes -
Denmark sets new record - month of June has been the most sunny since records began
11 votes -
My retro recommendation -- "Hero", starring Dustin Hoffman
3 votes -
Android Mozilla browsers with access to about:config
Hi Android Mozilla browsers with access to about:config. Examples are... Firefox Beta and Firefox Nightly Back in the day there were lots of config tweaks for PC Firefox. But there's not much...
Hi
Android Mozilla browsers with access to about:config.
Examples are...
Firefox Beta
and
Firefox NightlyBack in the day there were lots of config tweaks for PC Firefox.
But there's not much config information about Android Firefox.I found these two posts on Reddit.
https://www.reddit.com/r/firefox/comments/11shvus/fixing_performance_problems_in_firefox_on_android/https://www.reddit.com/r/browsers/comments/1278zp5/improving_performance_in_firefox_android_part_ii/
Does anybody here have other about:config suggestions?
11 votes -
Welcome to Finnesota. Minnesota United FC has signed forward Teemu Pukki to a Designated Player contract through June 2025.
7 votes -
RISC-V CPU implemented inside Terraria
8 votes -
Vulfpeck Live at Bonnaroo (2023)
7 votes -
An inhaled Covid vaccine booster was more than five-fold effective for inducing neutralizing antibodies at 28-days, and more durable at one-year, than shots, vs Omicron BA.5 in a randomized trial
18 votes -
Tildes Video Thread
So, quite a few people don't like/watch video content, and don't like seeing the homepage filled with videos. Let's try something new, see if it sticks. What are the best videos you have watched...
So, quite a few people don't like/watch video content, and don't like seeing the homepage filled with videos. Let's try something new, see if it sticks.
What are the best videos you have watched this past week/fortnight?
24 votes -
Which Substacks fascinate, intrigue, and challenge your views?
I have been (without paying attention) been reading more and more articles/op-eds etc from substack, usually linked from reddit or as of late, from here on Tildes. I decided to sign up and create...
I have been (without paying attention) been reading more and more articles/op-eds etc from substack, usually linked from reddit or as of late, from here on Tildes. I decided to sign up and create an account for myself and found the list of suggested substacks to subscribe to fairly run-of-the-mill and not very enticing.
So, what are your favourite substacks? Which substacks raise topics new to you, challenge your perspectives, captures your attention for longer than intended?
18 votes -
What weird food combo did you not realise was weird?
I was pretty shocked when my partner and my best friend both told me that apparently the cheese and tuna omelettes my family has been eating for years aren't normal! I also know a guy at work who...
I was pretty shocked when my partner and my best friend both told me that apparently the cheese and tuna omelettes my family has been eating for years aren't normal! I also know a guy at work who likes to eat spaghetti with either mayonnaise or gravy. What strange concoctions have you been eating?
57 votes -
How plastics are poisoning us
35 votes -
Midweek Movie Free Talk
Have you watched any movies recently you want to discuss? Any films you want to recommend or are hyped about? Feel free to discuss anything here. Please just try to provide fair warning of...
Have you watched any movies recently you want to discuss? Any films you want to recommend or are hyped about? Feel free to discuss anything here.
Please just try to provide fair warning of spoilers if you can.
8 votes -
Unique cocktail ingredient workshop thread
An offshoot of /r/cocktails recently had a weekly challenge of making cocktails with specified ingredients. In lieu of that, I thought it might be neat if you had an ingredient (spirit, liqueur,...
An offshoot of /r/cocktails recently had a weekly challenge of making cocktails with specified ingredients. In lieu of that, I thought it might be neat if you had an ingredient (spirit, liqueur, fruit, etc.) that you've wanted to use in a cocktail, we could workshop potential uses. Alternatively, if you've found something that works (maybe unexpectedly), you can share it here.
12 votes -
SEPTA Board approves $1.69 billion FY24 operating and capital budget ahead of expected fiscal cliff
11 votes -
No, climate activists are not coming for New York City pizza
16 votes -
Five Nights At Freddy's | Official trailer
12 votes -
Classifying Event Driven Architecture
6 votes -
The Password Game
108 votes -
New custom D&D miniatures from Hero Forge will soon include adjustable facial features
7 votes -
SiriusXM is shutting down Stitcher only three years after buying it
18 votes -
Well before the first climbing frame was patented as "jungle gym", mathematician Charles Hinton thought they might be able to teach kids four-dimensional thinking
15 votes -
Anyone here a fan of Kdramas?
A few years ago, I came across a light, romantic Korean show called Oh, My Ghost. It had good writing, acting and plot, and even a slightly darker undertone. I was hooked and I've been watching...
A few years ago, I came across a light, romantic Korean show called Oh, My Ghost. It had good writing, acting and plot, and even a slightly darker undertone. I was hooked and I've been watching Kdramas ever since.
My favorites are those that don't involve the powerful, rich elites in Korea. Stories like Weight Lifting Fairy Kim Bok Joo, and Just Between Lovers are more to my taste. Other, truly fine shows include Goblin, Extraordinary Attorney Woo, Hotel Del Luna and It's OK to not be OK. Those last three have strong female characters, which I find a little surprising for Korean shows.
There are a lot of Korean shows available these days on Netflix. Squid Games and The Glory made an impact worldwide. Squid Games pushed me to the limit, but I managed to make it through that series. Season 2 is coming, so that will be interesting too.
This year hasn't been a great one for my tastes in Kdramas, so I'm still looking for an outstanding series to watch. The Glory lost me at some point. Revenge isn't a compelling plot line for me. Right now, I'm watching Delightfully Deceitful, and it's different enough to keep me watching. I'm on episode 4, so there's a long way to go yet.
Any favorites I've missed?
Edit: Oops, did I get one of those titles wrong! I've corrected it to Weight Lifting Fairy Kim Bok Joo.
30 votes -
Quasar hunting in amateur astrophotography
I'm not sure how big the astrophotography community, if any, is on ~tildes but I'd figure I'd open a topic up and see! Astrophotography is one of my hobbies, and it was brought to my attention...
I'm not sure how big the astrophotography community, if any, is on ~tildes but I'd figure I'd open a topic up and see! Astrophotography is one of my hobbies, and it was brought to my attention (see link for two quasars near the M3 globular cluster) that it's actually pretty easy to photograph quasars. The same are visible in my attempt at photographing M3. Anyway, my question here is does anybody know of any particular interesting or distant quasars to photograph? I assume most will just be "dots" but it still sounds like fun since they're among the most distant objects you can see. I assume most quasars would be broad spectrum, so no filters are really needed, but I'm also curious if there's any bright yet redshifted objects you'd need infrared to capture.
My setup is an Astro-Tech AT80EDT 80mm Refractor f/6. I just got the f/0.8 reducer which I'm excited to take for a spin. It's a chonky piece of glass. My camera is a ZWO ASI585MC which does decent enough for deep sky.
Edit: To add, using something like http://simbad.u-strasbg.fr/simbad/ is great for finding interesting objects once I've already taken a photo, but it's less helpful to plan my shots.
13 votes -
Dead simple cross platform home manager with flakes
9 votes -
What browser extensions do you absolutely love to use?
I have two that I will highly recommend: Vimium has completely changed the way that I use my browsers. They have extensions for firefox and safari as well, but the link I provided is for chrome....
I have two that I will highly recommend:
Vimium has completely changed the way that I use my browsers. They have extensions for firefox and safari as well, but the link I provided is for chrome. If you are used to vim keybindings, it makes websites almost completely navigable using only your keyboard! Here's a video demonstration of it in case you're interested.
My other is SponsorBlock for youtube. This one makes using youtube a little more bearable by automatically skipping the baked-in sponsorships and advertisements. It has literally cut down my viewing times of some channels by like 20%.
Are there any other extensions that you absolutely love?
110 votes -
Microsoft wants to move Windows fully to the cloud
72 votes