今日已更新 197 条资讯 | 累计 28101 条内容
关于我们

开发者

编程技术、框架工具、最佳实践

7918
篇文章

共 7918 篇 · 第 380/396 页

Hacker News RSS

Social Animus

Article URL: https://justine.lol/animus/ Comments URL: https://news.ycombinator.com/item?id=48314875 Points: 59 # Comments: 15

jart 2026-05-29 04:20 👁 6 查看原文 →
Reddit r/webdev

How does pornhub track a user without cookies and through incognito mode?

Maybe an odd question but Pornhubs start page are actually recommendations based on your viewed videos. I suppose most folks here use incognito mode so, no cookies, clean state on each launch. Yet, if you launch another incognito window for the site, you will realize it remembered your viewing behavior and the videos reflect it. But how do they do this? There is no account, no cookies, no local storage. And technically, they wouldn't be allowed to track you in the first place due to the GDPR. Yet, it's the case. Anyone know how they achieve this? submitted by /u/SourSovereign [link] [留言]

/u/SourSovereign 2026-05-29 04:19 👁 7 查看原文 →
The Verge AI

Nintendo’s newest WarioWare is a weirdo smartphone app

A decade ago, Nintendo made a big splash into the world of mobile gaming with a new Super Mario platformer directed by none other than Shigeru Miyamoto. But even though the game proved popular, it wasn't the success the company had hoped for. Over the ensuing years Nintendo has slowly retreated from smartphone gaming, with […]

Andrew Webster 2026-05-29 04:16 👁 10 查看原文 →
Reddit r/webdev

How to upload a website that I created on the internet but it only be shown to people who have the exact link?

I made a portfolio for the University as an assignment, but there's some very sensitive information like my id number and my full name. I don't want any random person on the internet to stumble on it, I only want the professor to see it. So i want an exact link that is very hard so only people with this link can access my website. Is there some free website host for this exact thing? submitted by /u/W3-SD [link] [留言]

/u/W3-SD 2026-05-29 04:01 👁 6 查看原文 →
Reddit r/webdev

How to make dynamic svg images without having an image for every combination ?

I want to make a feature where my users would be able to customize a 2D svg character. They would choose their sex, their skin color, their clothes color, and maybe even put on accessories later. The arms of these characters would also change position. Obviously, I don't want to create an svg image for every possible combination, e.g. brown-man-red-shirt-pose1.svg white-woman-blue-shirt-pose1.svg, etc. If I did so I would have at least a hundred files to change each time I update the design of the characters which I don't wish on my worst enemy. So I would like a way to dynamically generate these combinations on the fly each time I render a character to the user. I asked a chatbot about it and it told me to treat my svg files the same way I treat my html templates with Django and render them using the render_to_string() function which allows me to pass variables for my template to display. I believe this way of doing it makes sense. For the different colors applied to the character, I would only need to add the following syntax: {{ shirt_color }} as the value of a path's "fill" in my svg and pass the value of the color in render_to_string() . However, if I want to attach the arms to the characters during render to not have a file for every arm pose there is with the same exact base character in each one, it becomes a bit more complicated. I would need to integrate a whole svg file inside of the first one and would need to care about its positioning and everything. I would also need to clean up the file each time I render it inside another svg file because of everything that comes with (<?xml version="1.0" encoding="UTF-8" standalone="no"?>, <!-- Created with Inkscape ( http://www.inkscape.org/ ) --> and the svg tag itself). So what is the most commonly agreed upon way of doing this? submitted by /u/Affectionate-Ad-7865 [link] [留言]

/u/Affectionate-Ad-7865 2026-05-29 03:48 👁 6 查看原文 →