Hacker Newsnew | past | comments | ask | show | jobs | submit | Minor49er's commentslogin

Fine, I'll have three

I hope you post it to HN once it's ready

I'm not sure but I thought it was funny that the "buy me a coffee" banner is the most prominent visual on the page, dwarfing the (typo'd) example text. At least that's how it appears to me on mobile.


oh okay so i had chatgpt generate the readme for me... and thats just how it came out... i dont really know how to shrink the size of the buymeacoffee banner... i didnt mean for it to be so big... i just have never done anything like this... ive never gotten so much flack from releasing a free font before... sheesh


I've seen a lot of the opposite, especially having done a lot of string parsing in PHP: some developers would nest half a dozen string functions just to prepare and extract a line of data while a simple regular expression would have handled the operation much more concisely and accurately


Not even modern vanilla JavaScript?


It's fairly close now but so much more verbose: ie document.getElementById('theID') vs $('#theID')


Nearly every time I write something in JavaScript, the first line is const $ = (selector) => document.querySelector(selector). I do not have jQuery nostalgia as much as many others here, but that particular shorthand is very useful.

For extra flavor, const $$ = (selector) => document.querySelectorAll(selector) on top.


    const $$ = (selector) => Array.from(document.querySelectorAll(selector))
is even nicer since then you can do things like

    $$('.myclass').map(e => stuff)


If it's for your children, why does it need to exist digitally for 100 years and not, say, 20?

The solution is to print out your writing, put the pages in plastic sleeves, and clip them into binders. Keep the copies in filing cabinets in separate physical locations. It's a one-time cost that isn't subject to digital media issues. You can't accidentally delete the writing or lock yourself out of an account that stores the files like you can with a digital copy


Reminds me of when Google's SEO spokesman Matt Cutts was around recommending that all sites have separate desktop and mobile versions, then Google started penalizing sites by tanking their pagerank shortly afterwards for not having just one version because Google wanted to push responsive design


Do you two ever play friendly games of Tetris against one another?


...by a French waiter


To be fair, the author says it's the "_supposed_ difficulty of writing err != nil" and says that the verbosity isn't an issue here. But he also earlier says that he "[hates] having to write pub all the time in Rust" to denote public visibilities. So typing seven extra characters in one place = tolerable, but four extra characters elsewhere = detestable


Its not really a matter of logic, I guess.

Writing `pub` is personally more annoying to me than writing `if err != nil`. I understand that most people don't like how capitalization determines visibility, but I think it actually makes sense when you think about it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: