Better HN
topnewbestaskshowjobs
Log inSign up

crazypython

4,542 karma · joined Jul 18, 2019 (7y ago) · 1,228 submissions

Submissions

781.

Top stories from two days ago(news.ycombinator.com ↗)

1 points · by crazypython · 5y ago · discuss

comment 5y ago · link · parent

> Would you be better served by a Free Software alternative, or is the issue with your overconsumption of music?

The issue is the proprietary algorithms of YouTube are designed to addict me to music, creating an overconsumption of music.

> Data-loss bugs are a serious issue whether or not the software is Free.

Dead trees and Emacs org-mode are both resilient against data loss.

comment 5y ago · link · parent

> If someone wants to do something and free software is not available to help them achieve it, telling them to just not do it is not a good solution.

I would be better served if I quit my music addiction on proprietary YouTube. Some would be better served with a paper todo list than proprietary Google Tasks– which lost several of my todo items. Robinhood's users may have been better served not buying stocks at all. Almost all people are better served turning off proprietary ad software.

My point is– when proprietary software is so much "better", maybe we don't need to "replace" it, because while it has short-term benefits, it has negative consequences lurking beneath.

To directly address your argument, I think we need to come up business models that make free software just as profitable or more profitable than nonfree software.

comment 5y ago · link · parent

Or you could use local software– Dictionary.app instead of the dictionary on Google. This article barely argues for free software. It's the Parler-AWS issue.

785.

Copyleft: Pragmatic Idealism (1998)(gnu.org ↗)

3 points · by crazypython · 5y ago · discuss

786.

Who does that server really serve? (2010)(gnu.org ↗)

51 points · by crazypython · 5y ago · 18 comments

comment 5y ago · link · parent

Thanks for these suggestions. I will implement some of these ideas soon.

comment 5y ago · link · parent

This is its "about" page: https://crazypython.github.io/adhd-resistant-sticky-notes/

comment 5y ago · link · parent

Hi, I made it change every minute, instead of every 10 minutes. Please refresh to see the changes.

790.

ADHD-resistant sticky note that changes color and font often to not disappear(crazypython.github.io ↗)

67 points · by crazypython · 5y ago · 26 comments

comment 5y ago · link · parent

What do you mean?

comment 5y ago · link · parent

We need freedom of speech as much as we need freedom to not hear. We need community-moderation blocklists for speech.

comment 5y ago · link · parent

I just made it show the player a toast/message to use their upgrades/skills/resource points on the bottom left, in addition to the message in "How to Play?" Hopefully people see that and it clears it up.

794.

WHATWG review draft of HTML and DOM endorsed as W3C Recommendations(w3.org ↗)

1 points · by crazypython · 5y ago · discuss

comment 5y ago · link · parent

> (I assume there are also some ad platforms)

We don't have ads yet because of the Google monopoly that leads to them not partnering with games with fewer than 1 million MAU. We plan to add ads. However, I want to migrate our business off the ad market. Ideas include merchandising. Please feel free to send me suggestions for migrating off, ideally without making the game toxic or addictive.

comment 5y ago · link · parent

Yes, it makes the request high priority: https://medium.com/dev-channel/javascript-loading-priorities...

> than the server just instructing the client not to cache it

Easier said than done, especially when it's served from a CDN you don't control the headers of.

Using a <script> tag and a callback is known as JSONP– this technique is used to bypass Cross-Origin Resource Sharing (CORS) for data fetching.

comment 5y ago · link · parent

That's a different game. Our game's here: http://vnav.io

comment 5y ago · link · parent

> (in particular for the cookie consent for some reason)

I suggest making that script async, so it loads after defer scripts, which you should add to your main game scripts.

> Curious how you got this statistic, do you ask this in-game or did you do a case study with some friends?

With friends and based on online feedback.

comment 5y ago · link · parent

Try updating your browser. It's having some issues on older browsers such as Firefox 78.

comment 5y ago · link · parent

It's currently using fasttalk2-re, a library capable of transmitting arbitrary dynamically typed values we developed in-house. While it uses the same protocol as https://arras.io, the code was completely rewritten from scratch. Here's the code: https://gist.github.com/CrazyPython/bb9505d4813cbd68235bb2da...

License: GPLv2+. Note the GPL doesn't apply to your server code or any art you use. The only thing this asks you to do is publish your client source code.

comment 5y ago · link · parent

Whoops– looks like we need to use feature detection and avoid using that on older browsers. Your Firefox is outdated, that's why it's not working.

comment 5y ago · link · parent

My first word of advice for aspiring tech entrepreneurs: Be determined.

I kept working on this with almost all my free time even after making zero technical progress (on making it high-performance and smooth) for four months.

My second word of advice: Never make a logo or name before your MVP, unless you need to convince investors. (I don't have investors so I can't speak on the relevance of a good logo and name.)

- If you're making something good, people will make logos for you. My logo was made by a community member for free.

- My team started choosing our name an hour before we launched. Once you know your market well and your product well, choosing a name is easy.

comment 5y ago · link · parent

It's a difficult decision to open-source something you've worked very hard on and could very well make it much easier for competitors to destroy your moat. I wonder if anyone would support such an open-source framework financially.

comment 5y ago · link · parent

We plan to add keybinds and theme support very soon!

comment 5y ago · link · parent

Thanks for the detailed information. We just implemented that into "How to Play?" as you suggested.

comment 5y ago · link · parent

Author here. I'm 17 years old and applying for college. If you work at or are an alum of a decently good college (or a great college like Yale and Stanford), I'd appreciate if you put a word in for me for admissions. Email in bio.

(And if you can't do that, please share my game on social media!)

comment 5y ago · link · parent

The game is lagging a bit because of the sudden influx of new players– new servers are being spun up as fast as we can.

Edit: New game servers are up. If your game is lagging, refresh the page.

comment 5y ago · link · parent

WebSockets. I found that WebRTC was complicated, full of bloat, and less reliable. Most home TCP connections don't have enough packet dropping to warrant something like SCTP, the transport protocol behind WebRTC. If we wanted to mitigate head of line blocking we'd just alternate between two websockets.

comment 5y ago · link · parent

None. It's built completely from scratch, with no third-party dependencies.

FullStory, Google Analytics, and Sentry for monitoring and analytics.

comment 5y ago · link · parent

Hi. To make my game load quickly, it uses <link rel=preload> on JavaScript resources, smallest scripts first. While the game itself is loading, the server selector's inline JavaScript immediately loads the list of servers from a CDN, surge.sh. The idea is network requests that depend on network requests should load first, because they have the longest chain of roundtrips.

It pings a random server in each region to find the nearest region, which is found by finding the server that replies first, since nearer servers are closer. Then it pings all servers in a region to find the number of players. It randomly picks from the server with the two least number of players. Then the JavaScript transparently pre-loads game resources (mockups.json and skillmap.json) by appending a <link rel="preload"> to the <body>. That way, once the game starts, "fetch" will find preloaded resources.

80% of players said it was very fun.

1
262728
41