HackerTrans
TopNewTrendsCommentsPastAskShowJobs

superasn

no profile record

Submissions

Spotify Update on Developer Access

developer.spotify.com
2 points·by superasn·4 tháng trước·0 comments

Ask HN: What recent UX changes make no sense to you?

34 points·by superasn·5 tháng trước·36 comments

OpenAI is making ChatGPT Go available at no cost for 12 months for India users

help.openai.com
1 points·by superasn·8 tháng trước·0 comments

comments

superasn
·13 ngày trước·discuss
One trick that makes me sleepy really fast: After I close my eyes, I imagine someone throwing black paint on them. The first coat is kinda gray and has lots of blob and not fully black. Then another coat. And another. Each one gets darker until it's just pure black and I'm usually asleep by then.

For some reason, my brain follows it, and I fall asleep much faster. It works way better for me than box breathing or most other sleep tricks I've seen. Sharing in case someone else finds this useful.
superasn
·2 tháng trước·discuss
I think that is sale pricing at 75% discount till end of May only.
superasn
·2 tháng trước·discuss
This is against the Show HN rules from what i can see:

> If your work isn't ready for users to try out, please don't do a Show HN. Once it's ready, come back and do it then. Don't post landing pages or fundraisers.

https://news.ycombinator.com/showhn.html
superasn
·2 tháng trước·discuss
[dead]
superasn
·2 tháng trước·discuss
Oh you're right to push back. I just love saying this nowadays :P Anyway, I haven't used these languages in a long time but the code looked like php to me, though I did notice the .pm file extension and wondered where I've seen it before.
superasn
·2 tháng trước·discuss
Everytime I read one of these it always boils down to the same thing..Don't solve solved problems. And the best code in this case is code you didn't write as PHP's session handler is battle-tested but every line you write to roll your own is a line you have to secure, maintain, and eventually patch at 2am when someone finds the bug.

Session handling, auth, crypto, password hashing etc - all these are the exact areas where you should be the most allergic to rolling your own. Not because you're not smart enough, but because a simple bug like sanitizing in the wrong place and the failure is catastrophic like in this instance.

Use boring, proven, widely-audited solutions. Save your creativity for the actual problem you're solving.
superasn
·3 tháng trước·discuss
[dead]
superasn
·7 tháng trước·discuss
This works amazing well. I started playing and just 5 minutes in, I was completely hooked and ended up playing for almost half hour.

It could be that I'm a bit old-school, but this really seemed to confirm that ready to play fun gameplay trumps realistic graphics any day!
superasn
·7 tháng trước·discuss
This is a pretty scary exploit, considering how easily it could be abused.

Imagine just one link in a tweet, support ticket, or email: https://discord.com/_mintlify/static/evil/exploit.svg. If you click it, JavaScript runs on the discord.com origin.

Here's what could happen:

- Your Discord session cookies and token could be stolen, leading to a complete account takeover.

- read/write your developer applications & webhooks, allowing them to add or modify bots, reset secrets, and push malicious updates to millions.

- access any Discord API endpoint as you, meaning they could join or delete servers, DM friends, or even buy Nitro with your saved payment info.

- maybe even harvest OAuth tokens from sites that use "Login with Disord."

Given the potential damage, the $4,000 bounty feels like a slap in the face.

edit: just noticed how HN just turned this into a clickable link - this makes it even scarier!
superasn
·9 tháng trước·discuss
Great job on this release! I've been waiting for something like it since my favorite browser, Kiwi, stopped getting updates.

Without updates, many sites will likely stop working with it soon.

Kiwi had some great features, like disabling AMP mode, rearranging the Chrome Store for mobile, and customizable tab layouts, etc. These features might interest others as well.
superasn
·10 tháng trước·discuss
Yes I'd be interested too. I'm still using Kiwi browser but afraid it will stop working anytime soon.

I did recently see this browser is unsafe when trying to open Gmail in it, so any chromium based update to date alternative there would be amazing!
superasn
·10 tháng trước·discuss
I agree with this take, Product Hunt felt like it was chasing short term goals instead of building something sustainable They also allowed and sometimes encouraged behavior that undermined the quality of the site

The last time I used it one of the common hacks was adding 50 makers to a single app launch PH also openly condoned mass email blasts and tweets to drive votes which just rewarded whoever could push the hardest on promotion

In contrast Hacker News discourages asking people for upvotes and even treats it as a negative if you do That longterm focus on signal over hype is probably why HN still feels useful today while PH lost its way
superasn
·4 năm trước·discuss
I found the same too. I think GPT 3 could write a similar list with the right prompt. It is too long and it would have been better if it was of 3 ot 5 most important items than a long list of half of which sound like cliches.

Regardless one thing I do look forward to is the HN discussion here with people giving their own points. I do hope to learn a thing or two from that.
superasn
·5 năm trước·discuss
> There is an incredible power in simply pouring a little time into something every day over a long period of time. It feels like a superpower when you see it start compounding.

There is an amazing book called The Slight Edge which is based on this very principal and it can really change your life. Here is a small excerpt from it that really resonated with me:

It sure would be nice if, somehow, you could do something dramatic. If you just wake up tomorrow and have it all turned around—snap your fingers and change it. That might happen, in a movie.

But this is your life. What can you do? What happens if you add one small, simple, positive action to the success side?

Nothing you can see. What happens if you add one more? Nothing you can see. What happens if you keep adding one more, and one more, and one more, and one more ... Before too long, you see the scales shift, ever so slightly. And then again. And eventually, that heavy - failure side starts to lift, and lift, and lift ... and the scales start swinging your way.

No matter how much negative weight from the past is on the other side, just by adding those little grams of success, one at a time (and by not adding more weight to the failure side), you will eventually and inevitably begin to shift the scales in your favor.

The Slight Edge is about your awareness. It is about you making the right choices, the choices that serve you and empower you, starting right now and continuing for the rest of your life, and learning to make them effortlessly.

It's not a question of your mood or your feelings. And it's not a question of will power. It's a question of simply knowing.

Simple things you do every day, in fact. Or, as the case may be, don't do every day. Time will be your friend or your enemy; it will promote you or expose you. It's entirely up to you. If you're doing the simple disciplines, time will promote you. If you're doing the few simple errors in judgment, time will expose you, no matter how well you appear to be doing right now.
superasn
·5 năm trước·discuss
I definitely agree with you, it's just not worth struggling with something you don't like.

For me this was vim. After struggling for many years with this ancient and difficult text editor peddled as the holy grail of productivity one day i just said fuck it and switched to a more sane text editor called nano. My life became instantly better and I've never looked back.

I really wish I made the switch earlier instead of suffering through the never ending annoyance of vim because i at the time I thought i was still learning it and one day it will all be worth it.
superasn
·5 năm trước·discuss
Very cool and useful. I was trying to find all comments on HN which contains the word youtube.com (basically trying to find some recently linked to videos from comments) but it returns 0 results when i set the search filter to comments(1). Any idea what I'm doing wrong?

https://deephn.org/?q=youtube.com&sort=time&in=Comments
superasn
·7 năm trước·discuss
I'm deliberately trying never to update to Windows 10 because I think Windows 7 had everything I could ever need from the OS.

I wish the hardware drivers weren't so restricted as for my latest laptop no driver exists for Windows 7 so had to be forced to install Win 10 nightmare.

One tip for you guys is that if you want to get rid of most bloat that comes bundled with Win 10, I found this freeware software to be pretty effective:

https://www.thewindowsclub.com/10appsmanager-windows-10?&amp...

So far I haven't witnessed any issues in terms of stability after removing almost all bundled crap.