Better HN
topnewbestaskshowjobs
Log inSign up

clashmeifyoucan

530 karma · joined Jun 24, 2019 (7y ago) · 144 submissions

aadibajpai dot com
Submissions

comment 1w ago · link · parent

yeah, and my thought is that at this price point a key target audience is one of these higher end whiskey bars mentioned so they can differentiate themselves a touch above the rest.

comment 9mo ago · link · parent

I enjoyed the part about factoring in unpredictability. One of my peeves with weather apps had been that they do switch the forecast on the fly if it is inaccurate, and I have joked before that what we need is a derivative weather app accountability app that tells you how often a weather app corrects itself. So I'm excited to see if Acme makes a meaningful difference!

3.

New York’s Hottest Steakhouse Was a Fake, Until Saturday Night(nytimes.com ↗)

4 points · by clashmeifyoucan · 3y ago · discuss

comment 4y ago · link · parent

a textbook example of an algorithm that works very well with union-find is the kruskal's algorithm to find the minimum weight spanning tree given a graph. Using union-find improves the time complexity of the algorithm from O(V²) to O(ElogV).

This happens because kruskal's algorithm essentially selects the cheapest edge not already included in our spanning tree that won't cause a cycle. So union-find is able to speed up this potential cycle check which would otherwise be naively quadratic.

comment 4y ago · link · parent

Yeah, but the fabric of my shirt seemed noticeably worse at cleaning my glasses, so I stopped using that completely. Having a microfiber on hand at all times is very helpful for that

comment 4y ago · link · parent

My opticians have always given me a microfiber whenever I got a set of glasses made, and last time I went I asked for a spare as well. Now I have the habit of having one in my pocket at all times so I don't have to devolve back to using the bottom of my tshirt.

comment 4y ago · link · parent

I swear by Paste as well, since coming from Windows, it mimics the Windows clipboard ui and hence was easy to get used to. I do wish that macOS at some point makes a native clipboard manager.

comment 5y ago · link · parent

this, I wanted to make a little utility for getting lyrics for whatever song is currently playing on spotify[1] and ran into the issue for getting the song name without using the API since that's just inconvenient for the end user. The most popular such project does go that way though.[2]

I ended up writing a small library that does that locally cross-platform by using the metadata from the app.[3] The approach is probably not as robust as the API, but much faster and works well.

[1] https://github.com/SwagLyrics/SwagLyrics-For-Spotify

[2] https://github.com/johnwmillr/LyricsGenius

[3] https://github.com/SwagLyrics/SwSpotify

9.

Stages of Denial(beyondloom.com ↗)

225 points · by clashmeifyoucan · 5y ago · 117 comments

10.

Itty-router – router in 30 lines of code(github.com ↗)

1 points · by clashmeifyoucan · 5y ago · discuss

11.

Moon Tricks Tesla's Full Self-Driving Feature into Thinking It's a Yellow Light(interestingengineering.com ↗)

29 points · by clashmeifyoucan · 5y ago · 13 comments

12.

What Does Copilot Mean for Open Source?(opensource.org ↗)

2 points · by clashmeifyoucan · 5y ago · discuss

comment 5y ago · link · parent

it appears the author has changed the link, so this is deadlinked now.

14.

Escaping from the abyss: Nix, the purely functional package manager(notes.yukiisbo.red ↗)

2 points · by clashmeifyoucan · 5y ago · 1 comment

15.

CS in Vietnam (2013)(neil.fraser.name ↗)

2 points · by clashmeifyoucan · 5y ago · discuss

16.

Hammock Driven Development(github.com ↗)

2 points · by clashmeifyoucan · 5y ago · discuss

comment 5y ago · link · parent

one thing that caught my eye was the convert comments to code feature. If you can use your voice to dictate comments then combined with copilot it might just be possible to write code without touching the keyboard at all!

of course I guess copilot won't be perfectly accurate right now or even maybe for a long time but it is interesting to imagine a future where the programmer can think and get code written without lifting a finger.

comment 5y ago · link · parent

Another nice resource for understanding zk snarks that I found easily digestible was this paper that was shared on hn a few months ago[0]. https://arxiv.org/abs/1906.07221

[0]: https://news.ycombinator.com/item?id=24815649

comment 5y ago · link · parent

not OP but the two features of fish that stood out for me so much that I make it my default shell on remote servers are

1) the autocomplete suggestion as you type a command [1]

2) scrolling thru commands after partially writing one only shows entries that match the written text

3) knowing if a command will work before pressing enter -- saves from a lot of gotchas.

all of these read like features nice to have but not essential, but when you're using something every day, it's worth it :)

[1]: https://fishshell.com/docs/current/tutorial.html#autosuggest...

20.

Apple admits that iMessage for Android was killed to keep its walled garden(androidpolice.com ↗)

45 points · by clashmeifyoucan · 5y ago · 18 comments

21.

Vanderbilt researchers discovered how to switch off cancer growth driving gene(elifesciences.org ↗)

3 points · by clashmeifyoucan · 5y ago · 1 comment

comment 5y ago · link · parent

Ah, I guess should've tried before saying. Just excited there's a way.

comment 5y ago · link · parent

Incidentally, it's weird to me how we lack internet laws in a lot of aspects yet have strong IT laws when it comes to blocking and censoring websites when needed (eg. porn¹)

[1] https://internetfreedom.in/why-is-porn-being-blocked-in-indi...

comment 5y ago · link · parent

thanks for making this! The undo from insert mode¹ one sold it for me :)

[1] https://vimtricks.com/p/undo-from-insert-mode/

comment 5y ago · link · parent

As an aside, I love the vim keybinds with IntelliJ combo, vim makes it so easy to navigate and perform operations, eg. the one I use most being dt<some char> to delete until a char.

Never can seem to get vim selections and deletions right though, because it deletes the character after the cursor as well so the mouse comes clutch there.

26.

Linux Ported to the M1(twitter.com ↗)

41 points · by clashmeifyoucan · 5y ago · 11 comments

comment 5y ago · link · parent

Yes, https://news.ycombinator.com/item?id=25792396

28.

Show HN: Custom link shortener using Cloudflare Workers and KV(github.com ↗)

7 points · by clashmeifyoucan · 5y ago · 1 comment

12345