2.0 code to remove ads

Programming Horror: Sharing the WTFs

2012.03.14 11:19 nevon Programming Horror: Sharing the WTFs

Share strange or straight-up awful code.
[link]


2011.09.08 19:11 roger_ Awww!

A subreddit with minimal rules for stuff that makes you go *awww*! Feel free to post pics, gifs, or videos of cats, dogs, babies, or anything cute.
[link]


2011.07.06 09:06 charlesp22 The most awesome place for DVD and Blu-ray movie collectors.

Movies are our lives! DVD and Blu-ray collectors share pictures of their latest buys and pickups, pictures of their entire collection shelves, we have contests for FREE DVDs, Movie Party nights (watch a movie with 15 strangers), experts give advice and help find the best deals, and more!
[link]


2024.05.19 19:19 Temporal_Illusion Satisfactory Developer Q&A (05-14-2024)

The Live Stream on Twitch was posted Tuesday, on May 14, 2024 which will be available for viewing in full for a short time longer.
TLDW - Well if you don't have time to view full 1 Hour, 53 Minute Video here is a Video Quick Link List to key Bookmarks for the relevant "Intro", "State of Dev", "Community Highlights", and "Q&A Questions and Answers" discussed by Community Managers Snutt Treptow and Mikael Niazi, taken from the YouTube Channel for Satisfactory Q&A Videos and the Satisfactory Community Highlights Archive created by u/SignpostMarv (CREDIT)
NOTE: The Questions are the Video Title, and the Answers are a quick synopsis of what was said. The "order" of the Questions may or may not follow the original Twitch Live Stream. Some question are not shown as they are either repetitive and have been answered numerous times before, or simply Twitch Stream Chat Joke Questions. If you have concerns about the accuracy of what I posted, view the Videos and listen for yourself. Often there is more discussion related to a Question than I could post without getting too verbose.
Start of State of Dev Portion
Community Highlights Portion
  • View Community Highlights shown during this Livestream to see some great things other Pioneers are doing.
  • There was no Content Creator segment this week.
Start Q&A Portion
submitted by Temporal_Illusion to SatisfactoryGame [link] [comments]


2024.05.19 19:18 Zestyclose_Theme_254 An Honest Review: 6 mo with Origin

I started my journey with Origin last December, after growing frustrated with the amount of time I was wasting trying to customize Monarch Money, Simpifi and other fintech apps to fit my needs. The simplicity approach Origin takes just works and makes me feel less stressed and more confident about my finances than before. Below, I tried to squeeze in everything I could think of for now. They added the credit card bill tracking quickly, so that's one off the list!
Top things Origin does phenomenally:
  1. Present the information in a clear, consistent layout. The cards are well thought out (e.g. Recurring transactions, Credit Card bills, For you info). It's honestly kind of a calming experience compared to some competitors because it's not bloated with too much information.
  2. Account connections (From Robinhood, to my 10 bank accounts, Schwab HSA, retirement account (with 401k AND Pension) they have some of the best connectivity. While the TSP connection isn't quite fully working just yet, their customer support has been stellar at keeping me updated. Shoutout to Alex, Robin for their help!
  3. Making sense of it. 2 things of note here....
    1. On the home screen, there is a card that shows you the next day you will be paid. THIS IS AWESOME! Just right there, without having to check the last time I was paid and then calc 2 weeks.
    2. The way you go about adding your vehicle as an asset (although depreciating), BUT also adding a Loan during the process to keep your assets/liabilities straight is something many competitors fail to realize is essential for keeping your net-worth accurate.
  4. Fully featured: Centralized view of cash accounts, investments, spending, budgeting, credit card bills and more. It sounds like it shouldn't be hard, but the layout, functionality, and consistency just work. I haven't re-entered my credentials for accounts in a long time, they sync daily, and I've yet to notice any bugs in the mobile app or web-app.
High Priority:
  1. Goal Tracking: Integrate goal tracking or "goal investment accounts" similar to WithPlenty
  2. Sankey report: Look to Monarch money for inspiration.
    • A Sankey view of your cash-flow (in the web-app) would be amazing. This truly is the best visual representation as to where your cash is going from income downstream.
      • If we can visualize our spending towards necessities, wants, and investments (maybe with tags?) this would be huge.
  3. Credit Card bill tracking
Medium Priority:
  1. Spending Transaction Customization
    • Edit transaction names (e.g., rename "Apple" subscriptions)
    • Ability to mark transactions as recurring in the recurring transactions list
      • While the algorithm or ML currently being used is quite good, it'd be nice to be able to go through your own list of all your recurring bills and align them. I seem to have a few such as some Apple subscriptions, and once-a-year charges that aren't marked currently.
  2. UI/UX:
    • Consider offering emoji support for spending categories.
      • For example, there is no drink icon. So if I make a separate category for drinks (e.g. coffee specifically or alcohol, I'm probably going to use the food icon. This could be better differentiated with built-in emoji support.
    • Explore additional color options for budget categories.
      • Most users are probably adding at least a few additional custom categories, and with the limited amount of colors available, the Breakdown looses some of the clarity.
  3. Security: Consider offering passkey, token-based MFA, and a "remember this device" option.
  4. Notifications:
    • Having the ability to setup SOME useful notifications (we all are already inundated with notifications) may be beneficial.
      • For example, for purchases above $500, or for a specific account with a balance lower than X.
Low Priority:
  1. Origin Invest account asset allocation: no percentages show at a top-level on the 'Asset allocation' card when you go into your Origin Invest account details. Not sure if this is a bug or not, but it'd make sense to just show a top-level percent between US Stocks, Intl Stocks, etc.
  2. Dark Mode: Implement a dark mode option. Check Chime bank's dark mode or Dark Reader extension for inspiration.
  3. Tax Filing Enhancements: Improve the user experience with Column Tax
    1. Allow users to reset their progress in the tax functionality with Column Tax.
      • Context: I didn't complete my taxes with Column tax this year, because I had free filing through TurboTax since I'm currently deployed in the army. I wanted to check out the functionality though, and then had 'resume taxes' show up in the app.
    2. Use OCR to import documents and pre-fill forms like TurboTax
      • Would be a huge time-saver throughout the process. That said, the fact that it's included with Origin is a huge PLUS in the first place.
Areas of improvement for clarity:
  1. Setting up Origin investments:
    • When I first setup my Origin investment account my first deposit failed. I didn't know why it failed, couldn't see any additional info, and couldn't change the bank info. The next deposit was successful, but it gave me a slight pause using Origin investing considering I had no insight.
  2. Excess cash on hand:
    1. I love this metric. My only issue with it was until I had excess cash on hand, I had no idea how it was defined. Once you have excess cash on hand, you can select 'adjust investing strategy,' which then shows you an option of 'How do we calculate?.' Once I found this, I had a better understanding.
      • One improvement to this would be tying this into Goal tracking as stated in the feedback above... e.g. I have some goals that are near-term (e.g. 0-6 mo vs some that are greater than 5 years).
TLDR: For $13/mo or ~$156/year, Origin provides account tracking, spending and budgeting, Net-worth tracking, Investing without AUMs, and a few other niceties such as Tax prep and Estate planning. They do a stellar job with the layout of their app using cards. Information is clear, nothing is missing, and it is concise. New features are being added quickly, and customer support has been solid. Above I've made a few recommendations for improvements, some of which they've already executed on!
submitted by Zestyclose_Theme_254 to OriginFinancial [link] [comments]


2024.05.19 19:17 Medium-Antelope2926 The elephant in the room (Kawhi's knee....Ben Simmons 2.0 route) needs to be addressed this summer. The most recent ijury should be the final straw that broke the proverbial camel's back. Kawhi doesn't want to walk with a cane at 45 and he finally secured his last bag....time to go the Simmons route

Clippers need to trade Kawhi asap before it becomes painfully obvious around the NBA that this guy is Ben Simmons 2.0
He is never gonna play more than 35 games again....IN HIS CAREER
I dont relish being the bringer of bad news but Kawhi's latest injury has SPOOKED HIM
The only thing he cares about now is making sure he doesnt need a cane in 15 years. His knee is MORE SERIOUS than Ben Simmons back. Kawhi is finished.
He will play early this season to help break in the new arena he owes Ballmer that much, but he is gonna get hurt again and leave forever in January. He wont really be hurt but its a PRECAUTIONARY injury.
Like i said he doesnt want to risk needing a cane for the rest of his life and he is gonna bow out in early 2025 never to play again.
TLDR - MY MAIN POINT IS THIS......
WHAT CAN WE GET FOR HIM NOWWWW???!!!!!
WHAT TEAM IS DESPERATE TO COMPETE AND WILL GIVE UP ASSETS???
THE WARRIORS??? THEY NEED HELP FOR CURRY.....WE GET KUMINGA ????
LAKERS??? LeBron and AD need HELP in LA
what do YOU think we can get for Kawhi and what is his current trade value on the open market knowing some teams are DUMB and reactionary and will overpay trying to go all in
submitted by Medium-Antelope2926 to LAClippers [link] [comments]


2024.05.19 19:14 aminowrimo Low-tech light for 20g high? Advice appreciated.

Low-tech light for 20g high? Advice appreciated.
Hello everyone! I have a 20g high tank that's been established for about two years now. I'm looking for light recommendations.
The tank has 2 amazon swords and some java moss in it, 7 cardinal tetras, 1 neon tetra (plus 12 finishing up quarantine), and a betta. I'm also waiting on a red wendtii and a banana plant, hornwort, and frogbit since the betta is new to the tank and I would like more plant cover for him. So far the swords have been doing ok with just the original Aqueon hood light the tank came with; the light is on for about 4 hours, a break for lunch, and then again for about 4 hours in the evening. It gets ambient light from the window, though it's not in direct sunlight. I've been finishing up a dissertation so it was cared for but not babied; bba and hair algae has started cropping up; aesthetically, I'm not bothered by the bba but that's something I'm willing to scrub at. pH is 7.2. Substrate is sand on top of some type of aquarium soil, I can't remember what we got (it's been two years).
https://preview.redd.it/p6ao6vra2f1d1.jpg?width=2048&format=pjpg&auto=webp&s=9afcc8d5f7b778f05dab171e329a7b035bf5358b
(picture taken right after water change)
I know I need a better light for the plants I'm interested in adding. Goals for the tank/lighting: I'd like enough plant cover that I could consider adding neocaridina to the tank again with the tetras and the betta someday. What I don't need: I don't need sunset/sunrise for myself personally. I'm happily a beginner; I'd like a pretty aquascape and I'm willing to do some maintenance 1-2x a month, but life will be getting busier in the next few years (baby is planned) so I'd like to not have to spend hours a week trimming or doing maintenance on the scape.
What I'm trying to avoid: I'm not interested in anything high-tech; no CO2, etc. I'm also trying to avoid spending 20 hours researching everything out there in detail; the 3 hours I've spent so far have already left me a little bewildered.
What I'm considering: I've currently got the aqueon LED full hood that came with the tank when I bought it secondhand. It would be great if the light fit on top of this so I don't also have to buy a different lid (it looks like this is rife with its own decision-making process).
  • Aquarium Co-Op Easy LED Light: frankly at this point ACO is a known quantity and what I have gotten from them I have liked. The $120 price point is attractive. Right now this is my top choice.
  • Fluval 3.0: seems like the big benefit here is the adjustability of the lighting, but I'm not sure that I'll need that with what I'm considering; $180 is steep enough that the "I might grow into it" doesn't feel like a good argument.
  • Chihiro wrgb 2: way out of my price range.
  • Hygger: this is cheaper ($44) and programmable; I'm not sure if it'll do what I want it to do though.
Any recommendations or thoughts you have would be appreciated!
submitted by aminowrimo to PlantedTank [link] [comments]


2024.05.19 19:12 mushroomboie Using an External ssd instead of going for 516gb option

Hi guys, broke student here. I plan on upgrading from an older Intel Mac. I use it for coding (rstudio), obsidian(always in the background), chrome, photoshop and photoediting. I'm wondering whether the above is practical for my uses and whether it will be hassel.
For anyone wondering, I plan on using velcro to attach the ssd to the outside shell of the macbook. Using velcro allows it to be removed :)
submitted by mushroomboie to macbookair [link] [comments]


2024.05.19 19:08 The_Will_to_Make Script running slow after SBC Upgrade (Duet 3 Mini 5+)

I’ve got a Duet 3 Mini 5+ that’s been on one of my custom builds for a couple years now. It’s a great little board, but recently the WiFi started to act up, so I added a Pi 4 (1GB) in SBC mode. Everything went pretty smooth, but I’m getting some strange behavior in one of my scripts that run on startup from config.g.
At the end of my config.g I call a “startup.g” that mainly just runs a little boot animation on a NeoPixel strip. On startup, the script brightens and dims the NeoPixels a couple times, then performs a really simple animation and brightens/fades the lights to their normal operating brightness and color.
Script runs through a simple little ‘while’ loop and was running great prior to the SBC upgrade. After adding the SBC I updated to the newest 3.5.1 firmware - noticed there were some changes to M150 behavior and updated my config accordingly.
The script still runs on startup, BUT it runs really slow. The whole script used to take maybe 10-15s, and now it takes something like 30-60+. There is a delay in the loop to affect how long a frame of the animation lasts, but changing (or removing) that delay now does not affect the script timing.
Did something change with the scripting logic that I missed? I think I was on 3.4.7 prior to the SBC update. Am I missing something?
TIA!
"startup.g"
var ledbright = 0 var increment = 5 var delay = 0.02 var ledglow = 0 var glowcount = 3 var ledcount = 1 var ubright = 0 var uincrement = 4 var bbright = 50 var bincrement = -1 while var.ledglow < var.glowcount while var.ledbright < 255 M150 R255 U0 B50 P{var.ledbright} S16 G4 S{var.delay} set var.ledbright = var.ledbright + var.increment while var.ledbright > 0 M150 R255 U0 B50 P{var.ledbright} S16 G4 S{var.delay} set var.ledbright = var.ledbright - var.increment set var.ledglow = var.ledglow + 1 M150 P0 S16 while var.bbright > 25 M150 R255 U{var.ubright} B{var.bbright} P255 S{var.ledcount} F1 M150 P0 S16 F0 set var.ubright = var.ubright + var.uincrement set var.bbright = var.bbright + var.bincrement set var.ledcount = var.ledcount + 1 G4 S{var.delay*5} ; M150 R255 U100 B100 P255 S16 M150 R255 U100 B25 P255 S16 
submitted by The_Will_to_Make to Duet3D [link] [comments]


2024.05.19 19:08 tempmailgenerator Understanding CSS Limitations in Gmail

Exploring CSS Compatibility in Gmail Clients

When designing email campaigns, understanding the constraints imposed by email clients like Gmail is crucial for ensuring your message is delivered as intended. Gmail, being one of the most widely used email services, has specific rules regarding the CSS properties it supports. This can significantly impact the visual presentation of your emails, potentially affecting user engagement and the overall success of your campaign. Designers often face the challenge of balancing creativity with the technical limitations of email clients, making knowledge of these constraints essential for effective email marketing.
The intricacies of Gmail's CSS support involve a combination of allowed and stripped attributes, which dictates how styles are applied to your email content. The variation in support across different email clients and even within Gmail's own ecosystem—spanning web and mobile applications—complicates the design process further. This introduction to Gmail's CSS compatibility aims to shed light on these limitations, offering insights and strategies to navigate through the challenges of email design, ensuring that your emails not only reach their intended recipients but also display as intended, regardless of the client used to view them.
Command Description
u/media query Used to apply CSS styles for different devices and screen sizes, but limited in support by Gmail.
!important Increases the priority of a CSS property, but Gmail ignores these declarations.
Class and ID selectors Allows styling of specific elements, but Gmail predominantly supports inline styles over external or internal stylesheets.

Navigating CSS Restrictions in Gmail

Email marketers and designers often encounter significant challenges when creating campaigns intended for Gmail users, primarily due to Gmail's handling of CSS. Unlike web browsers that typically support a wide range of CSS properties and selectors, Gmail strips out certain CSS attributes to maintain its own standards of email presentation and security. This includes, but is not limited to, complex selectors, styles defined in tags, and the use of !important declarations. As a result, email designs that rely heavily on these features for layout and styling may not appear as intended in the recipient's inbox, leading to potential issues with readability, engagement, and overall effectiveness of the email campaign.
To effectively work within these limitations, it is essential for designers to adopt Gmail-friendly CSS practices. This includes the use of inline CSS for critical styling, as Gmail is more likely to preserve these styles. Additionally, understanding and utilizing CSS properties that Gmail does support can help in creating responsive and visually appealing emails. For example, employing table-based layouts and inline CSS can enhance compatibility across Gmail's web and mobile clients. By prioritizing simplicity in design and coding, and rigorously testing emails across different clients, marketers can create effective, engaging email campaigns that look great in Gmail, ensuring their message is communicated clearly and effectively to their audience.

Adjusting Email Design for Gmail Compatibility

Email Design Strategy
 
Example Content
Inline styles for better Gmail support
Example Content

Navigating CSS Restrictions in Gmail

Email marketing remains a vital communication tool, with design playing a key role in engaging the recipient. However, when it comes to designing emails for Gmail, one of the largest email platforms, there are unique challenges. Gmail strips certain CSS properties to maintain a consistent user experience and to protect against potentially malicious code. This means that email designers must be adept at navigating these restrictions to ensure their emails look as intended across all devices. Understanding which CSS properties are stripped and which are supported is crucial for this. For instance, Gmail does not support CSS styles contained within the