- 20
- 19
Summary for those just joining us:
Advent of Code is an annual Christmas themed coding challenge that runs from December 1st until christmas. Each day the coding problems get progressively harder. We have a leaderboard and pretty good turnout, so feel free to hop in at any time and show your stuff!
Whether you have a single line monstrosity or a beautiful phone book sized stack of OOP code, you can export it in a nice little image for sharing at https://carbon.vercel.app
What did you think about today's problem?
Our Code is 2416137-393b284c (No need to share your profile, you have the option to join anonymously if you don't want us to see your github)
- 10
- 25
- 38
- 68
These days it's easy for anyone to take a decent picture, even moreso if you're a nerd with expendable income. Therefore you'd expect Stack Overflow's Travel forum's monthly photo contest to be high quality.
You'd be wrong, they're always TERRIBLE. This month's theme is "Festive". The current winning picture is shit:
and third place is currently...
Why would a StackOverflow power user be eating such a sad-looking Christmas dinner alone? It really makes you think.
Past contest entries (in various topics) include:
There's a suitably list of suggested future themes including:
Officials (police, customs officers, diplomats etc)
Unusual modes of transportation
Construction (any work in progress that's meant to enable / enhance travel)
Holiday photos, in which you can recognize people traveling for their (yearly?) break from work
Civic buildings
You can find past contests on https://travel.meta.stackexchange.com.
- 38
- 15
Summary for those just joining us:
Advent of Code is an annual Christmas themed coding challenge that runs from December 1st until christmas. Each day the coding problems get progressively harder. We have a leaderboard and pretty good turnout, so feel free to hop in at any time and show your stuff!
Whether you have a single line monstrosity or a beautiful phone book sized stack of OOP code, you can export it in a nice little image for sharing at https://carbon.vercel.app
What did you think about today's problem?
Our Code is 2416137-393b284c (No need to share your profile, you have the option to join anonymously if you don't want us to see your github)
- 85
- 111
Wonder why they won't do something consumer friendly like outlawing restricting access to car diagnostic software only available at car dealerships
- 19
- 35
There is a certain kind of programmer who wants to implement stuff as programs running other programs on whatever specific operating system, passing output of one to the next program that may or may not be installed or at the location or version you expect.
— Jonathan Blow (@Jonathan_Blow) December 8, 2023
People need to…
Seriously just expose a function no need for your gay-butt shell scripting language. Unrelated, but oil-shell guy is strag (See the re-write it in rust incident).
- CREAMY_DOG_ORGASM : Not trans. Sorry
- 35
- 37
Sorry I'm in a hospital waiting room just throwing this out quick
Summary for those just joining us:
Advent of Code is an annual Christmas themed coding challenge that runs from December 1st until christmas. Each day the coding problems get progressively harder. We have a leaderboard and pretty good turnout, so feel free to hop in at any time and show your stuff!
Whether you have a single line monstrosity or a beautiful phone book sized stack of OOP code, you can export it in a nice little image for sharing at https://carbon.vercel.app
What did you think about today's problem?
Our Code is 2416137-393b284c (No need to share your profile, you have the option to join anonymously if you don't want us to see your github)
- 6
- 18
Basically a rewritten and overly worded Bantown Public License.
I genuinely ran out of ideas for the conditions, please send more.
The name itself also probably needs a thinking, but the license already has a great start with the r-slurred preamble and absurd conditions
- 97
- 102
Shoutout to the Wikipediocracy user "Tarantino" for bringing this to my attention.
Here's Sherrod's Twitter. She's now a woketard.
- 30
- 61
Well, well, well. That felt coordinated. Turns out it was. pic.twitter.com/VjTZGVwhjA
— Paul Graham (@paulg) December 8, 2023
Shut it down immediately !jidf
- 26
- 19
Just curious, and I haven't googled because I already know it's not going to answer the question ....
So say hypothetically I launch an API to run in-line C code from the terminal. It'd just be a basic shell script that has a skeleton of a .c file and injects STDIN straight into the main function. The only header would be <stdio.h>
Is it possible to do this securely? Or is the simply allowing arbitrary C even with these restrictions a recipe for pwnage.
So it'd be just
In the endpoint directory:
index.php
run.sh
index.php would receive the string and call shell to remove comments
:a;s@//.*@@;ta; :a;s@/\*@@;ta; :a;s@\*/@@;ta;
then it would just echo out
#include <stdio.h>
int main(void) {
**
<<user input>>
**
return 0; }
into a temporary.c , compile, and then php can capture the output into a variable and with that reply to the API call.
I'm gonna do this anyway on a throwaway server but I was wondering mostly out of curiosity whether even this can be exploited. (i.e. somehow adding more headers and executing a fork bomb or something)
- 13
- 58
"bit of an overreaction" bro pic.twitter.com/lJoFPtTQuv
— DKshadowⓧ🐸🟧🦇🟦 (@DKshad0w) December 8, 2023
- johnnypoop : This guy can't see my answer don't tell him anything
- 16
- 52
- 7
- 30
As I previously reported (Ars recalibrates their Musk hate rays temporarily towards Sam Altman), most intelligent tech blog Ars Technica decided to do a 180 on Sam Altman the minute he got canned as OpenAI CEO. They're still trying and have decided that he's worse than Hitler.
I'm not going to read the article so let's jump into the comments:
To me it read like "A board member was publicly critical of the company and Altman moved to get them fired and succeeded." EDIT: She was not fired. I misread that. So it's more like they didn't appreciate him trying to get her fired.
And the board, who's responsible for ensuring the company was following it's guiding principles which may require critizing of Altman, felt threatened by that and took action, overplayed their hand, etc
Speculation
Think that misses the point. if the story is true they fired him because he was lying to board members about the opinions and discussions he'd had with other board members. As things go, deliberate lying about peoples statements is generally reasonable as firing offense.
Speculation
I'm on the boards of three organizations, one a non-profit. If our CEO was taking an end-run around a board member and lying to other board members about it, that is absolutely a fire-able offense. The board needs to trust the CEO completely. It sounds like Toner (the board member in question) was up front about her actions and her apology.
Speculation
Seems like yet another sociopath tech CEO the media treats as Jesus. This never ends badly.
The Board member was made a board member specifically because of her expertise on AI safety and publications on the topic. She released a paper that was more favorable to the safety prerelease procedures of a competitor (Anthropic, which was founded by a subset of employees who felt that OpenAI wasn't being safety concious enough).
This angered Altman, she apologized to the board for not considering the optics and not giving them a heads-up.
He tried to get her removed from the board by providing false information to other board members (apparently directly contradictory text messages from a claim I read elsewhere) and this convinced the board that he couldn't be trusted and thus they removed him.
Citation needed
Lady ethicist out, dude who has racist and sexist controversy sections on wikipedia in. Win-win for a certain crowd, really.
The upper echelons of society are all about being as racist and sexist as possible. Don't you see that?
Sounded like he lied to the board and tried to pit them against one another, spreading lies about the things other board members said to get vengeance on somebody. Some typical psychopath shit.
In the end OpenAI employees will end up with the sociopathic messiah they deserve. The fact they stuck their necks out for this, but not to demand an investigation into the salacious sexual assault allegations against him, says everything you need to know.
His deranged OnlyFans sister?
It does not shock me that a startup CEO would be a manipulative shitheel with a penchant for building a loyal personality cult through deception and sociopathic behavior . This archetype describes so many in tech leadership it's frankly frightening. I've seen it repeatedly at multiple companies. It's rarer to find an honest and trustworthy product leader than a dishonest one these days ..
Part of me wonders if, in order to get to an Iain Banks Culture-esque post-scarcity AI future, we first have to pass through a Cameron Terminator-esque phase. 🤔 Maybe it's inevitable that humans and AI have to have a conflict phase before we have a mutual-understanding-and-respect phase.
Part of me is glad I won't live that much longer to see it; part of me is sad for the same reason.
Technically, that should be an Iain _M._ Banks Culture-esque post-scarcity AI future. Iain Banks was the nom de plume he used to write non-science fiction novels.
Edit: removed rogue apostrophe
This guy probably gets stuffed into lockers at work.
- 1
- 9
- 48
- 40
Advent of Code is an annual Christmas themed coding challenge that runs from December 1st until christmas. Each day the coding problems get progressively harder. We have a leaderboard and pretty good turnout, so feel free to hop in at any time and show your stuff!
Whether you have a single line monstrosity or a beautiful phone book sized stack of OOP code, you can export it in a nice little image for sharing at https://carbon.vercel.app
What did you think about today's problem?
Our Code is 2416137-393b284c (No need to share your profile, you have the option to join anonymously if you don't want us to see your github)
- BraveShill : THIS IS TRUE C IS THE ONLY GOOD LANGUAGE I WISH BRAVE WAS CODED IN C
- 48
- 38
I am not a codecel but I studied and work in STEM so I do some programming for data analysis. While it ain't my first rodeo and I know how to get shit done, I also don't minmaxx- my code is slow, inefficient, and crashes computers when transferred to other machines, but it is functional.
So now for the story: back in highschool I was taught programming in Java. It made sense, and it was a good language. I was good at it too. During and shortly after finishing school, whenever I needed to write a program, I'd do it in Java.
But trouble was brewing- the more I googled and researched how to do things in Java, the more I found posts saying I shouldn't use Java. Posts saying that Java is bad, or in fact the worst popular programming language, that it was scary that billions of machines run on it, etc. These thoughts stuck to the back of my head and made me ponder- why would people say such a thing? Java works! It is intuitive, the things I do make sense!
During college I was taught Python. Finally, I'm in the big boys club! I'll learn Python and finally get why everyone is so antagonistic to Java! I'll join the rank of elitist geniuses and spit together on the plebs that start out with Java! Except that didn't happen. I never fully grasped Python
structure=[]
? Wtf is that supposed to mean? Is that a list? A matrix? Something else? It never made sense to me. This made working with Python slow and cumbersome, having to reference stackexchange way more than I had before, all while my peers and tutors praised for how simple it is. Stockholm syndrome hit hard and I internalized this notion. 'yes, Python is good actually. Very good! I just... suck at it.' This carried on for three years. It got better, but still never made full sense.
The last chapter of this journey happened this year. After many, many projects done in Python because 'it is the way', I decided to mess around with microcontrollers recreationally, to make something for fun. I launched my Arduino IDE for the first time and God's glorious radiance blinded me . "What is that? Do I have to... declare variables?" My life flashed before my eyes, I saw myself from a distance sitting in front of the monitor. All these years of coping... All these sleepless nights hating myself over being a Javacel... Every single error message Python has ever given me...
I finally get it! I don't actually like Java! I don't even hate Python in particular! I just hate languages that have dynamic variables that don't have to be declared and assigned beforehand!
It's so obvious now! And all it took me was a single use of C to see it!
I managed to write code for my Arduinos swiftly and without issue, and have been a happy man ever since. Now I've learned not to be limited in my queer identity by a single language, but If I had to chose one, it'd be
Finally I am at peace with myself, and my code runs smoothly. . Learn from my mistakes dramatards, lest you be doomed to repeat them
- 27
- 31
- 52
- 38
Advent of Code is an annual Christmas themed coding challenge that runs from December 1st until christmas. Each day the coding problems get progressively harder. We have a leaderboard and pretty good turnout, so feel free to hop in at any time and show your stuff!
Whether you have a single line monstrosity or a beautiful phone book sized stack of OOP code, you can export it in a nice little image for sharing at https://carbon.vercel.app
What did you think about today's problem?
Our Code is 2416137-393b284c (No need to share your profile, you have the option to join anonymously if you don't want us to see your github)
- 6
- 28
- 6
- 18
I've been looking at eGPU enclosures/boards for fun (there are super cheap decent barebones ones on Aliexpress now apparently) and I keep coming across the same rsluration in every thread about them. Without exception, every thread will contain at least 1 rslur trying (and failing) to use a TB3 eGPU setup with a TB2 apple computer from over a decade ago.
Why is this such a common situation to end up in? Why are so many of these idiots trying to attach RTX3070s to iMacs with 5th gen i5s? Enlighten me, slackers.