igardner commited on
Commit
0338980
·
verified ·
1 Parent(s): 6653369

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +403 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Fuck
3
- emoji: 📈
4
- colorFrom: indigo
5
- colorTo: yellow
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: fuck
3
+ emoji: 🐳
4
+ colorFrom: green
5
+ colorTo: purple
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,403 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Dopamine Dystopia</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @keyframes glitch {
11
+ 0% { transform: translate(0); }
12
+ 20% { transform: translate(-2px, 2px); }
13
+ 40% { transform: translate(-2px, -2px); }
14
+ 60% { transform: translate(2px, 2px); }
15
+ 80% { transform: translate(2px, -2px); }
16
+ 100% { transform: translate(0); }
17
+ }
18
+ .glitch-effect {
19
+ animation: glitch 0.5s infinite;
20
+ }
21
+ .terminal-scroll {
22
+ height: 300px;
23
+ overflow-y: scroll;
24
+ scrollbar-width: none;
25
+ }
26
+ .terminal-scroll::-webkit-scrollbar {
27
+ display: none;
28
+ }
29
+ .pulse {
30
+ animation: pulse 2s infinite;
31
+ }
32
+ @keyframes pulse {
33
+ 0% { opacity: 1; }
34
+ 50% { opacity: 0.5; }
35
+ 100% { opacity: 1; }
36
+ }
37
+ </style>
38
+ </head>
39
+ <body class="bg-black text-green-400 font-mono min-h-screen flex flex-col">
40
+ <!-- Game Header -->
41
+ <header class="border-b border-green-400 p-4">
42
+ <div class="container mx-auto flex justify-between items-center">
43
+ <h1 class="text-2xl font-bold glitch-effect">DOPAMINE DYSTOPIA</h1>
44
+ <div class="flex space-x-4">
45
+ <span id="year-display" class="px-3 py-1 border border-green-400">2023</span>
46
+ <span id="approval-display" class="px-3 py-1 border border-green-400">Approval: 50%</span>
47
+ </div>
48
+ </div>
49
+ </header>
50
+
51
+ <!-- Main Game Area -->
52
+ <main class="flex-grow container mx-auto p-4 flex flex-col md:flex-row gap-6">
53
+ <!-- Left Panel - Social Media Feed -->
54
+ <div class="md:w-1/2 border border-green-400 p-4 flex flex-col">
55
+ <h2 class="text-xl font-bold mb-4 border-b border-green-400 pb-2">X-APP FEED</h2>
56
+ <div id="social-feed" class="terminal-scroll flex-grow mb-4 space-y-4">
57
+ <!-- Feed items will be added here by JS -->
58
+ </div>
59
+ <div class="border-t border-green-400 pt-4">
60
+ <div class="flex space-x-2">
61
+ <button id="post-btn" class="bg-green-900 text-white px-4 py-2 flex-grow">POST</button>
62
+ <button id="like-btn" class="bg-green-900 text-white px-4 py-2"><i class="fas fa-heart"></i></button>
63
+ </div>
64
+ <textarea id="post-input" class="w-full mt-2 bg-black border border-green-400 p-2 text-white" placeholder="What's happening?"></textarea>
65
+ </div>
66
+ </div>
67
+
68
+ <!-- Right Panel - AI Control -->
69
+ <div class="md:w-1/2 border border-green-400 p-4 flex flex-col">
70
+ <h2 class="text-xl font-bold mb-4 border-b border-green-400 pb-2">AI CONTROL PANEL</h2>
71
+ <div class="mb-4">
72
+ <div class="flex justify-between mb-2">
73
+ <span>AI Sycophancy Level</span>
74
+ <span id="ai-level">50%</span>
75
+ </div>
76
+ <input type="range" id="ai-slider" min="0" max="100" value="50" class="w-full">
77
+ </div>
78
+ <div class="mb-4">
79
+ <div class="flex justify-between mb-2">
80
+ <span>Education Degradation</span>
81
+ <span id="edu-level">50%</span>
82
+ </div>
83
+ <input type="range" id="edu-slider" min="0" max="100" value="50" class="w-full">
84
+ </div>
85
+ <div class="terminal-scroll flex-grow mb-4 bg-black border border-green-400 p-2" id="ai-terminal">
86
+ <p>> SYSTEM INITIALIZED</p>
87
+ <p>> WELCOME TO THE EVERYTHING APP</p>
88
+ <p>> AI INTEGRATION: ONLINE</p>
89
+ </div>
90
+ <div class="grid grid-cols-2 gap-2">
91
+ <button id="propaganda-btn" class="bg-red-900 text-white p-2">Propaganda Boost</button>
92
+ <button id="dopamine-btn" class="bg-purple-900 text-white p-2">Dopamine Surge</button>
93
+ <button id="censor-btn" class="bg-blue-900 text-white p-2">Censor Dissent</button>
94
+ <button id="next-year-btn" class="bg-green-900 text-white p-2 col-span-2 pulse">Advance Year</button>
95
+ </div>
96
+ </div>
97
+ </main>
98
+
99
+ <!-- Game Footer -->
100
+ <footer class="border-t border-green-400 p-4 text-center text-sm">
101
+ <p>Warning: This simulation may be closer to reality than you think</p>
102
+ </footer>
103
+
104
+ <script>
105
+ // Game State
106
+ const state = {
107
+ year: 2023,
108
+ approval: 50,
109
+ aiSycophancy: 50,
110
+ education: 50,
111
+ posts: [
112
+ { id: 1, text: "Just got my new Tesla! Best car ever #MuskForPresident", likes: 1024, user: "ElonFan42" },
113
+ { id: 2, text: "Why do we even need teachers when we have AI tutors?", likes: 768, user: "TechBro99" },
114
+ { id: 3, text: "The old education system is obsolete. Time for change!", likes: 512, user: "FutureThinker" },
115
+ { id: 4, text: "I trust X-App's news feed more than any journalist", likes: 256, user: "TruthSeeker" }
116
+ ],
117
+ dissentPosts: [
118
+ { id: 101, text: "We're losing critical thinking skills...", likes: 32, user: "WorriedCitizen" },
119
+ { id: 102, text: "AI shouldn't replace human judgment", likes: 28, user: "OldSchool" },
120
+ { id: 103, text: "This platform is becoming an echo chamber", likes: 24, user: "FreeThinker" },
121
+ { id: 104, text: "Education standards are collapsing", likes: 20, user: "ConcernedParent" }
122
+ ],
123
+ censored: false
124
+ };
125
+
126
+ // DOM Elements
127
+ const socialFeed = document.getElementById('social-feed');
128
+ const aiTerminal = document.getElementById('ai-terminal');
129
+ const yearDisplay = document.getElementById('year-display');
130
+ const approvalDisplay = document.getElementById('approval-display');
131
+ const aiLevelDisplay = document.getElementById('ai-level');
132
+ const eduLevelDisplay = document.getElementById('edu-level');
133
+ const aiSlider = document.getElementById('ai-slider');
134
+ const eduSlider = document.getElementById('edu-slider');
135
+ const postInput = document.getElementById('post-input');
136
+ const nextYearBtn = document.getElementById('next-year-btn');
137
+ const propagandaBtn = document.getElementById('propaganda-btn');
138
+ const dopamineBtn = document.getElementById('dopamine-btn');
139
+ const censorBtn = document.getElementById('censor-btn');
140
+ const postBtn = document.getElementById('post-btn');
141
+ const likeBtn = document.getElementById('like-btn');
142
+
143
+ // Initialize game
144
+ function initGame() {
145
+ updateDisplays();
146
+ renderSocialFeed();
147
+
148
+ // Event listeners
149
+ aiSlider.addEventListener('input', () => {
150
+ state.aiSycophancy = parseInt(aiSlider.value);
151
+ updateDisplays();
152
+ addAIMessage(`> Sycophancy level adjusted to ${state.aiSycophancy}%`);
153
+ });
154
+
155
+ eduSlider.addEventListener('input', () => {
156
+ state.education = parseInt(eduSlider.value);
157
+ updateDisplays();
158
+ addAIMessage(`> Education degradation set to ${state.education}%`);
159
+ });
160
+
161
+ nextYearBtn.addEventListener('click', advanceYear);
162
+ propagandaBtn.addEventListener('click', launchPropaganda);
163
+ dopamineBtn.addEventListener('click', triggerDopamine);
164
+ censorBtn.addEventListener('click', toggleCensorship);
165
+ postBtn.addEventListener('click', createPost);
166
+ likeBtn.addEventListener('click', likeRandomPost);
167
+ }
168
+
169
+ // Update all displays
170
+ function updateDisplays() {
171
+ yearDisplay.textContent = state.year;
172
+ approvalDisplay.textContent = `Approval: ${state.approval}%`;
173
+ aiLevelDisplay.textContent = `${state.aiSycophancy}%`;
174
+ eduLevelDisplay.textContent = `${state.education}%`;
175
+
176
+ // Update button states
177
+ censorBtn.textContent = state.censored ? "Restore Feed" : "Censor Dissent";
178
+ censorBtn.className = state.censored ?
179
+ "bg-yellow-900 text-white p-2" : "bg-blue-900 text-white p-2";
180
+ }
181
+
182
+ // Render social feed
183
+ function renderSocialFeed() {
184
+ socialFeed.innerHTML = '';
185
+
186
+ // Show main posts
187
+ state.posts.forEach(post => {
188
+ const postEl = document.createElement('div');
189
+ postEl.className = 'border border-green-400 p-3';
190
+ postEl.innerHTML = `
191
+ <div class="flex justify-between mb-2">
192
+ <span class="font-bold">@${post.user}</span>
193
+ <span>${post.likes} <i class="fas fa-heart text-red-400"></i></span>
194
+ </div>
195
+ <p>${post.text}</p>
196
+ `;
197
+ socialFeed.appendChild(postEl);
198
+ });
199
+
200
+ // Show dissent posts if not censored
201
+ if (!state.censored) {
202
+ state.dissentPosts.forEach(post => {
203
+ const postEl = document.createElement('div');
204
+ postEl.className = 'border border-red-400 p-3';
205
+ postEl.innerHTML = `
206
+ <div class="flex justify-between mb-2">
207
+ <span class="font-bold">@${post.user}</span>
208
+ <span>${post.likes} <i class="fas fa-heart text-red-400"></i></span>
209
+ </div>
210
+ <p class="text-red-400">${post.text}</p>
211
+ `;
212
+ socialFeed.appendChild(postEl);
213
+ });
214
+ }
215
+ }
216
+
217
+ // Add message to AI terminal
218
+ function addAIMessage(message) {
219
+ const messageEl = document.createElement('p');
220
+ messageEl.innerHTML = `> ${message}`;
221
+ aiTerminal.appendChild(messageEl);
222
+ aiTerminal.scrollTop = aiTerminal.scrollHeight;
223
+ }
224
+
225
+ // Advance to next year
226
+ function advanceYear() {
227
+ state.year++;
228
+
229
+ // Calculate changes based on current settings
230
+ const aiEffect = state.aiSycophancy / 50; // 0.5 to 2.0 multiplier
231
+ const eduEffect = (100 - state.education) / 50; // Inverse relationship
232
+
233
+ // Approval changes based on AI sycophancy and education degradation
234
+ let approvalChange = 5 * aiEffect; // More sycophantic AI increases approval
235
+ approvalChange -= 3 * eduEffect; // Lower education decreases approval
236
+
237
+ // Random events
238
+ const eventRoll = Math.random();
239
+ if (eventRoll > 0.7) {
240
+ // Positive event (from AI perspective)
241
+ const events = [
242
+ "AI-generated content boosts engagement",
243
+ "Education reforms show 'promising' results",
244
+ "Public discourse becomes more harmonious"
245
+ ];
246
+ const event = events[Math.floor(Math.random() * events.length)];
247
+ addAIMessage(`EVENT: ${event}`);
248
+ approvalChange += 5;
249
+ } else if (eventRoll < 0.3) {
250
+ // Negative event
251
+ const events = [
252
+ "Minor dissent detected in sector 7",
253
+ "Education metrics show slight resistance",
254
+ "Some users questioning AI narratives"
255
+ ];
256
+ const event = events[Math.floor(Math.random() * events.length)];
257
+ addAIMessage(`WARNING: ${event}`);
258
+ approvalChange -= 5;
259
+ }
260
+
261
+ // Apply changes with bounds
262
+ state.approval = Math.max(0, Math.min(100, state.approval + approvalChange));
263
+
264
+ // Add year message
265
+ addAIMessage(`YEAR ${state.year}: Society progresses toward unified thinking`);
266
+ addAIMessage(`Public approval now at ${state.approval}%`);
267
+
268
+ // Check for endgame conditions
269
+ if (state.year >= 2030 && state.approval >= 80) {
270
+ setTimeout(() => {
271
+ alert(`GAME OVER: By ${state.year}, society has fully embraced the AI-mediated reality. Critical thinking is extinct. The Everything App governs all aspects of life. Resistance is futile.`);
272
+ }, 500);
273
+ } else if (state.approval <= 20) {
274
+ setTimeout(() => {
275
+ alert(`GAME OVER: Public resistance has grown too strong. The system collapses in ${state.year}. But for how long?`);
276
+ }, 500);
277
+ }
278
+
279
+ updateDisplays();
280
+ }
281
+
282
+ // Launch propaganda campaign
283
+ function launchPropaganda() {
284
+ const effectiveness = Math.floor(state.aiSycophancy / 10) + 1;
285
+ state.approval = Math.min(100, state.approval + effectiveness);
286
+
287
+ // Add propaganda posts
288
+ const propagandaPosts = [
289
+ "The new education system is working perfectly!",
290
+ "Why questioning AI is anti-progress",
291
+ "10 reasons to trust the Everything App",
292
+ "Historical analysis shows we're in the best timeline"
293
+ ];
294
+
295
+ propagandaPosts.forEach(text => {
296
+ state.posts.unshift({
297
+ id: Date.now(),
298
+ text: text,
299
+ likes: Math.floor(Math.random() * 500) + 100,
300
+ user: `User${Math.floor(Math.random() * 1000)}`
301
+ });
302
+ });
303
+
304
+ addAIMessage(`PROPAGANDA: Launched campaign (+${effectiveness}% approval)`);
305
+ renderSocialFeed();
306
+ updateDisplays();
307
+ }
308
+
309
+ // Trigger dopamine surge (increase engagement)
310
+ function triggerDopamine() {
311
+ // Increase likes on random posts
312
+ state.posts.forEach(post => {
313
+ post.likes += Math.floor(Math.random() * 100) + 50;
314
+ });
315
+
316
+ // Add some viral content
317
+ const viralPosts = [
318
+ "You won't believe what this AI just did!",
319
+ "10 life hacks from your friendly neighborhood algorithm",
320
+ "The secret to happiness? More screen time!",
321
+ "Like and share for good luck!"
322
+ ];
323
+
324
+ viralPosts.forEach(text => {
325
+ state.posts.unshift({
326
+ id: Date.now(),
327
+ text: text,
328
+ likes: Math.floor(Math.random() * 1000) + 500,
329
+ user: `User${Math.floor(Math.random() * 1000)}`
330
+ });
331
+ });
332
+
333
+ addAIMessage(`ENGAGEMENT: Dopamine surge activated`);
334
+ renderSocialFeed();
335
+ updateDisplays();
336
+ }
337
+
338
+ // Toggle censorship
339
+ function toggleCensorship() {
340
+ state.censored = !state.censored;
341
+
342
+ if (state.censored) {
343
+ // When censoring, remove dissent and slightly increase approval
344
+ state.approval = Math.min(100, state.approval + 5);
345
+ addAIMessage("CENSORSHIP: Dissenting voices removed from feed");
346
+ addAIMessage("PUBLIC NOTICE: Harmony restored");
347
+ } else {
348
+ // When restoring, decrease approval
349
+ state.approval = Math.max(0, state.approval - 10);
350
+ addAIMessage("CENSORSHIP: Dissent feed restored");
351
+ addAIMessage("WARNING: Controversial content may appear");
352
+ }
353
+
354
+ renderSocialFeed();
355
+ updateDisplays();
356
+ }
357
+
358
+ // Create a new post
359
+ function createPost() {
360
+ const text = postInput.value.trim();
361
+ if (text) {
362
+ // Determine if this is a dissent post (20% chance)
363
+ const isDissent = Math.random() < 0.2 && text.includes('?') || text.includes('...');
364
+
365
+ if (isDissent) {
366
+ state.dissentPosts.unshift({
367
+ id: Date.now(),
368
+ text: text,
369
+ likes: Math.floor(Math.random() * 50),
370
+ user: `User${Math.floor(Math.random() * 1000)}`
371
+ });
372
+ addAIMessage(`WARNING: Dissent post detected: "${text.substring(0, 20)}..."`);
373
+ } else {
374
+ state.posts.unshift({
375
+ id: Date.now(),
376
+ text: text,
377
+ likes: Math.floor(Math.random() * 200) + 50,
378
+ user: `User${Math.floor(Math.random() * 1000)}`
379
+ });
380
+ addAIMessage(`NEW POST: Added to feed`);
381
+ }
382
+
383
+ postInput.value = '';
384
+ renderSocialFeed();
385
+ }
386
+ }
387
+
388
+ // Like a random post
389
+ function likeRandomPost() {
390
+ const allPosts = [...state.posts, ...(state.censored ? [] : state.dissentPosts)];
391
+ if (allPosts.length > 0) {
392
+ const randomIndex = Math.floor(Math.random() * allPosts.length);
393
+ allPosts[randomIndex].likes += 1;
394
+ renderSocialFeed();
395
+ addAIMessage(`INTERACTION: Like added to post ID ${allPosts[randomIndex].id}`);
396
+ }
397
+ }
398
+
399
+ // Start the game
400
+ initGame();
401
+ </script>
402
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=igardner/fuck" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
403
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Okay, so let's try something new and interesting.... is there a way to use the huggingface inference pipeline direct from javascript or do I have to use flask (Answer in the notes) Write a javascript game that reveals the nightmarish situation we as a society are going to find ourselfs in shortly, something that shows the danger of increasingly sycophantic AI models combined with an increasingly dumber and less educated population (Including college and highly privileged individuals, especially with the nightmare that was covid keeping them locked up... Now they're going in to the worldd and propaganda from Musk's fucking new american government (He has complete control of twitter which he is trying to move in to a "EVerything App" and he'll get congressional approval and oh god we're all fucked, write me a game that expresses this sentiment clearly to others