What unexplainable thing has happened to you?
Got any ghost stories? Paranormal experiences? Or something that happened that just flat out doesn't make any sense?
Got any ghost stories? Paranormal experiences? Or something that happened that just flat out doesn't make any sense?
@Alfredo Pedullà: "Dal mio cuore voglio ringraziare i miei tifosi. Sarò milanista per tutta la vita. È arrivato il momento di dire ciao al calcio, non a voi". #Ibrahimovic piange, #Tonali e #Adli piangono, la gente piange
It has been a while since the last time we did something like a programming challenge, so here's one for ya.
I've been working on a little "today" website, showing what day it is, if it's a significant date for holiday/independence/... reasons, and one of the things I wanted was a small calendar display that showed the full month and days in each week. Like how XFCE's Clock plugin does it.
So I got to figuring it out and after finishing it up I thought this could be a nice little programming challenge. It has one input (the date) that can be in any of the rows and columns, and it's up to you to figure out all the rest.
Here's how mine looks in about 250ish lines of TypeScript (TSX technically) and SCSS.
Make a mini calendar display that shows all the days of the current month and at least one day of each adjacent month. So for example for May 2023: the 31 days in May, the 30th of April and the 1st of June should at least be visible.
It can be in any language with any method of rendering; simple text, TUI/GUI toolkit, web-based, raytraced in some game engine, nixie tubes, whatever.
If your programming language of choice doesn't have a built-in way to get the week number, like JavaScript doesn't, this website may have you covered.
Make sure to test multiple different input dates, I thought I was finished with my display until I tried some other dates and noticed that there were still some bugs left to squash.
If you know what the first day in the calendar should be, counting up is as easy as "one two three"!
If you use 6 weeks in the display, you will always have enough space to fit all the current month's days and the minimum 1 day of the adjacent month's too.
If at all possible and with at least a few entries I will try to run all the submissions myself and create a little showcase website for it.
@Summer Game Fest: JUST ANNOUNCED:Capcom Showcase is coming to #SummerGameFest next Monday, June 12 at 3p PT / 6p ET.Set a reminder at https://t.co/gO9QVWFCdl pic.twitter.com/Ewp3kwcWUA
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.
Self-explanatory. Based on this previous post from 2020
@Aaron Greenberg 🙅🏼♂️💚U: None of our first party games in the show are full CG trailers. Everything is either in-game footage, in-engine footage, or in-game footage with some cinematics. Each of our trailers will be labeled so it is hopefully clear for our fans.
I’m a true crime fiend, but without cable or Netflix it’s hard to discover new lurid murders and cult exposés to relax with.
So I’m asking y’all: what’s been on your watchlist in the true crime doc department?
To kick it off, I’ll start: I just binged 5 hours of “The Curious Case Of Natalia Grace “
Not since Making a Murderer or The Bad Vegan have I immediately binged an entire True Crime series.
So, quick synopsis for those unaware: ** “ Investigation Discovery's "The Curious Case of Natalia Grace" is a six-episode docuseries that explores the case of Natalia Grace, a Ukrainian orphan who was adopted by Michael and Kristine Barnett in 2010.2 Initially thought to be a 6-year-old orphan with a rare bone growth disorder, Natalia was actually a fully grown adult.…or was she?”**
This one’s a total trainwreck in the best possible way: twists, turns, creeps and weirdos and some odd people just trying to do right…surreal but highly recommended.
So Tildes: where is my next fix? I want to to hear any other True Crime junkies chime in with their recent picks!
I've recently been trying to get an area of my yard to grow with perennial wild flowers. For 2 years straight, I plant seeds and nothing comes up. I'm starting to think that the seeds the store sells are just a scam. Even when I tried to germinate them in potting soil, nothing grew. Anyone here have any sort of advice?
Like the post title says, I’ll be in Provincetown with a vegetarian for a week. We’re starting to scope out some fun restaurants but I’m curious if any of y’all have any rep recommendations!
What food and drinks have you been enjoying (or not enjoying) recently? Have you cooked or created anything interesting? Tell us about it!
This thread is posted weekly - please try to post all relevant US political content in here, such as news, updates, opinion articles, etc. Extremely significant events may warrant a separate topic, but almost all should be posted in here.
This is an inherently political thread; please try to avoid antagonistic arguments and bickering matches. Comment threads that devolve into unproductive arguments may be removed so that the overall topic is able to continue.
General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads.
Don't forget to format your code using the triple backticks or tildes:
Here is my schema:
```sql
CREATE TABLE article_to_warehouse (
article_id INTEGER
, warehouse_id INTEGER
)
;
```
How do I add a `UNIQUE` constraint?