News for hackers. Stuff that matters.

Deimorz

I originally used something else, but enough people complained about it being weird that I made the default a boring white/grey one. There are 10 other color schemes you can choose from in the dropdown in the footer though.
Re:Htmx 1.0.0 Release on Friday November 27, 2020 @10:00PM (#25234851)
Congratulations! I've been using Intercooler for a while now and haven't tried htmx yet, but am looking forward to switching over. I really appreciate that you're continuing to work on tools that make this approach to webdev easier.

I know the post says not to do it, but I'm planning to convert an existing project from Intercooler. Anything specific that I should watch out for while doing it, or recommendations for new capabilities that I could take advantage of as part of the switch?

Re:Guido van Rossum joins Microsoft on Thursday November 12, 2020 @01:47PM (#25073261)
Huh. A throwaway account here on HN said that he was working at Microsoft 8 days ago, and I assumed they were wrong and thinking of Dropbox: https://news.ycombinator.com/item?id=24983394

Sorry, throwaway account! Apparently I was the one who was wrong!

Re:Learning From Quibi on Saturday November 07, 2020 @02:07AM (#25013618)
No movie has ever had a budget anywhere near $1.75 billion. This is more like... making the 5 most expensive movies of all time, in a row, and flopping all of them.

That's a completely different level of failure.

Re:Dark’s new backend will be in F# on Tuesday November 03, 2020 @05:36PM (#24984831)
No he doesn't. He worked at Dropbox starting in 2013, but retired last year.
Re:If Not SPAs, What? on Wednesday October 28, 2020 @09:28PM (#24926116)
I haven't looked into htmx much yet, but am using its predecessor intercooler-js, and this is my code for handling server responses and displaying an error message when it's needed: https://gitlab.com/tildes/tildes/-/blob/master/tildes/static...

I wouldn't consider it particularly elegant, but it's straightforward and has worked well. It uses the "complete.ic" event to trigger whenever an intercooler request finishes, and then uses the response status/code/text to display an appropriate message.

Re:Evolving Reddit’s Workforce on Tuesday October 27, 2020 @11:23PM (#24914774)
Using an article entirely as an excuse to soapbox about something that's barely related should always be downvoted. Even if you agree with it, that doesn't make it a relevant (or good) comment.
Re:Evolving Reddit’s Workforce on Tuesday October 27, 2020 @11:09PM (#24914663)
Other than SF, Reddit now has operations/offices in NYC, Los Angeles, Chicago, Seattle, Dublin (Ireland), and London (UK) (as of last month: https://redditblog.com/2020/09/28/reddit-launches-london-ope...).

It's a bit of a mess, but you can see most of these inside the "Location" dropdown on their jobs page: https://www.redditinc.com/careers#job-info

Re:Red Dead Redemption 2 DRM still has not been cracked (316 days) on Thursday September 17, 2020 @12:04AM (#24501078)
Whoops, that's embarrassing.

I quit working at Reddit a few years ago and don't do much there any more, but yes, that's me. Thanks!

Re:Red Dead Redemption 2 DRM still has not been cracked (316 days) on Wednesday September 16, 2020 @08:39PM (#24499859)
The user who answered you isn't the one you were asking (it's still a possible answer).
Re:Winamp Skin Museum on Friday September 04, 2020 @01:08PM (#24376783)
I happened across this the other day that should work with these: https://winampify.io/

> Winampify is a Web Client for Spotify using Winamp 2 skins

It's made by Rémi Gallego, who releases music as The Algorithm and Boucle Infinie.

Here's a diff between the two orders, if anyone else is curious about the specific changes. I used the TikTok/ByteDance order as the "original", so removals and additions are relative to changing that one into the WeChat/Tencent one: https://gist.github.com/Deimos/8fcb95ec4017cf1a28e32f6057a91...
Every website effectively has an API to comment (or do any other action that's available through the site). You can just use HTTP requests.
Did you edit in the quote from the EO after? It specifically says "any transaction that is related to WeChat". The TikTok/ByteDance order doesn't include a "related to" qualifier like that, the same section in it just says:

    any transaction by any person, or with respect to any property, [...] with ByteDance Ltd.
It's still not clear what exactly that will mean, but the intention definitely seems to be to restrict it to WeChat and not hit everything from Tencent.
Re:Arctic Code Vault Contributor on Friday July 17, 2020 @02:45PM (#23873978)
There's no git usage, they're just storing a snapshot of each repo's current HEAD in a TAR file (and then compressed and QR-encoded).

> The snapshot will consist of the HEAD of the default branch of each repository, minus any binaries larger than 100KB in size—depending on available space, repos with more stars may retain binaries. Each repository will be packaged as a single TAR file.

The guide included on each reel about how to access the data is public, git isn't involved in the process: https://github.com/github/archive-program/blob/master/GUIDE....

Re:Canada aims to ban single-use plastics by 2021 on Sunday July 12, 2020 @06:14PM (#23815218)
This is from over a year ago.

There's some more recent info in this article from January 30: https://www.cbc.ca/news/politics/environment-canada-report-p...

Re:Soup.io Will Be Discontinued on Saturday July 11, 2020 @06:16PM (#23806610)
Also worth noting that according to Crunchbase, Soup received at least €80,000 in venture capital in 2007 and 2008: https://www.crunchbase.com/organization/soup-io#section-fund...

Yes, that's not a massive amount of money and it was a long time ago, but it should still mean that they're not totally in control of the company, and that there are investors that have been expecting a return out of it eventually. Just reaching a break-even/moderately-profitable state probably wouldn't have been good enough.

I also see this article on TechCrunch talking about "soup.me" receiving $530,000 in VC in 2012: https://techcrunch.com/2012/02/14/soup-me-lands-530000-lets-...

It specifically says that it's a "reboot service" of soup.io, but the soup.me site no longer exists, so I'm not certain. Their inactive Twitter account (https://twitter.com/soup_me) does have an identical logo and a location of Vienna (same as soup.io), so it's probably true that it's the same company.

That's definitely a much larger amount of VC, and would make it even less possible for "sustainable" to be an acceptable end goal for the site.

Re:Reddit's website uses DRM for fingerprinting on Thursday July 09, 2020 @03:32PM (#23784106)
/r/gamedev didn't even exist until Reddit was 3 years old, and then it took years more until it was getting more than a couple of posts per day. Here's a snapshot of it when it was about a year and a half old, there were 10 submissions in the last week: https://web.archive.org/web/20090905190637/http://www.reddit...

Communities don't just magically spring into existence, it's a long process.

Re:Reddit's website uses DRM for fingerprinting on Wednesday July 08, 2020 @08:58PM (#23775969)
I'd recommend uMatrix over NoScript. I used NoScript for years but switched over to uMatrix a few years ago (at the time it was working in Firefox Quantum but NoScript didn't yet), and I like it better now.

It's quite a bit easier to see what's going on, toggle scripts and other assets from multiple sources, and you can change the defaults to do things like allow first-party scripts by default if you don't want to go all the way to full blocking.

It takes a while to get used to using a script-blocker like it, but it's pretty straightforward most of the time, and once you get your most commonly-used sites set up you don't need to mess around with it very often.

Re:Reddit's website uses DRM for fingerprinting on Wednesday July 08, 2020 @08:46PM (#23775895)
Twitter is nothing like that. It's a publicly-traded company with thousands of employees, covered in ads, and Jack Dorsey owns something like 2%.
Re:Reddit's website uses DRM for fingerprinting on Wednesday July 08, 2020 @08:16PM (#23775724)
(Disclaimer: promoting my own site)

I worked at reddit for 4 years but quit in late 2016, largely because of the direction the site was starting to go even then. They've taken $500 million in venture capital in the last 3 years, so it's only going to keep getting worse as the pressure builds to create a return for those investors.

A few months after leaving, I decided to start a non-profit so I could work on building a community site that would be able to stick to the principles I believe are important: no advertising or investors, open-source, privacy, higher-quality non-fluff content, etc. There's more info about the site and its goals in the original announcement post: https://blog.tildes.net/announcing-tildes (HN discussion of the announcement here, but note that it was completely private at the time and you couldn't even view it without getting an invite first: https://news.ycombinator.com/item?id=17103093)

It's still invite-only for registration, but it's relatively active and consistently gets several hundred posts/comments a day. If you (or anyone else here) is interested in an invite, please read the blog post I linked above and send me an email at the address listed in there and I'll be happy to give you one. It's not intended to be much of a barrier, I just want to keep the growth controlled while we continue to get the site culture built up.

I've already paid that opportunity cost to get most of the basic functionality built, so if you're interested in helping with development on Tildes itself or even adapting it for your own similar site, it might be worth taking a look at the code as well. This is probably the best place to start: https://gitlab.com/tildes/tildes/-/blob/master/CONTRIBUTING....

As the person that hid those upvote/downvote counts, I definitely remember that uproar well.

A relatively small group "migrated" for a few days, but didn't stay. Here's Whoaverse one month after the up/down counts were removed from Reddit (notice that they added visible vote counts, which they didn't have before): http://web.archive.org/web/20140718134533/http://whoaverse.c...

Other than the stickied site announcement, almost all of the posts only have a handful of votes and only a few have any comments.

The banned users were the first group that actually stuck around on Whoaverse/Voat, because they didn't have the option of just going back to Reddit.

No it wasn't. Voat was originally "Whoaverse", a reddit clone that the developer created as a school project. He literally copy-pasted the HTML/CSS from Reddit and then started gradually rebuilding some of the backend in C#. You can see the original version in the internet archive: http://web.archive.org/web/20140427060403/http://whoaverse.c...

He tried to get people to use it for a while, but since it was just a less-functional and empty Reddit, nobody was very interested. Eventually some of the users/subreddits banned from Reddit started using it since they had been kicked off real Reddit, and the developer ended up welcoming them while justifying it as "free speech". I think he mostly just seemed happy that some people actually wanted to use his site.

It's all been downhill from there, and the original creator even abandoned the site a few years ago and handed it over to someone else.

Re:Ask HN: Thoughts on new GitHub layout? on Tuesday June 23, 2020 @07:58PM (#23622043)
This is also linked to the obsession with constant, never-ending growth.

Bringing in new users is more important than making existing users happier - you just need to keep them happy enough that they won't actually leave. It results in targeting the design towards people that don't use the product (yet) instead of the ones that already do.

Re:Capitol Hill Autonomous Zone on Friday June 12, 2020 @01:08AM (#23496235)
There was a recent study that discussed the Washington response being so effective because it was based on an assumption that seems to have been wrong: that there was widespread, undetected transmission of the disease starting from the first case in the state on January 15.

The study results show that there was probably another case (or multiple) introduced around February 13, meaning that there had only been about two weeks of community transmission instead of the six that officials thought. But because they thought it had been spreading undetected for six weeks, they reacted very strongly and put in strict measures quickly.

So it was probably technically an "overreaction", but that's what made it so effective and kept the situation from getting as bad there as NYC and other places.

Here's an Ars Technica article about it: https://arstechnica.com/science/2020/05/washingtons-covid-19...

And here's the actual study, which also includes a similar situation in early Europe cases: https://www.biorxiv.org/content/10.1101/2020.05.21.109322v1

I think this official page covers all of it: https://news.ycombinator.com/formatdoc
Re:Achieving Accessibility Through Simplicity on Wednesday May 27, 2020 @01:41PM (#23326926)
The entire subject of this thread is about getting accessibility and other benefits for free if you write semantically-correct HTML. You're arguing for the exact opposite: just using whatever element gives you the appearance you want, regardless of whether it's the correct one or not.

Using CSS to change the appearance of a button isn't a hack, that's the explicit purpose of CSS. It's a hack to make a link point to "javascript:void(0)" to prevent it from doing the thing it's supposed to do.

Re:Gatsby raises $28M Series B led by Index Ventures on Wednesday May 27, 2020 @01:07PM (#23326370)
And this is their Series B, they already took $15M only 8 months ago: https://www.gatsbyjs.org/blog/2019-09-26-announcing-gatsby-1...

Older »