37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions
comment 3y ago · link · parent
Not sure how peeing specifically on a "3rd rail" is relevant. The distance seems more relevant, as the further away your pee-droplets reach, the further away they'll move from each other. But stand close enough and the stream will be unbroken.
comment 3y ago · link · parent
No, Backbone.js doesn't do 2-way data binding, although some certainly made it do that. But it doesn't by default, it has a 1-way data binding (the UI updates when the model changes, but doesn't update the model automatically when the UI changes).
> Some people mistakenly think MVC implies 2-way data binding. It does not.
What? Who does that? I certainly didn't and I haven't heard anyone in my +decade of web development.
comment 3y ago · link · parent
comment 3y ago · link · parent
What are tabs for if not to have multiple websites open at the same time? Where goes the limit for "what tabs are for" for you? 10 is fine but 100 is not?
Classic "the user is using it wrong"
comment 3y ago · link · parent
Edit: Misheard parent...
comment 3y ago · link · parent
I'm a part of a few Discords, and questions are repeated over and over again, forever. People who answer the questions, get tired of answering the same thing and eventually stops helping people. In contrast, using Stack Overflow or anything else, people can search Google for answers and actually find it.
comment 3y ago · link · parent
- Cannibalism is a way to maximize the use of available resources
- If regulated in a certain way, cannibalism could serve as a form of population control
- With a balanced diet and careful preparation, human meat could be a source of protein and other nutrients
- Cannibalism could be seen as a means of waste reduction. Instead of bodies taking up space in graveyards or being cremated, they're consumed
- Cannibalism could be used as a symbol of dominance or power. Consuming another person might be a demonstration of absolute control or superiority.
Of course, this is all fictional, and I just thought it would be fun to try to think positively about a somewhat controversial topic. But still...
comment 3y ago · link · parent
Trivial based on the fact that HTTP requests coming from CloudFlare Workers has a cf-worker header. Also, any traffic coming from cloudflare-owned IP blocks clearly belongs to cloudflare and can be safely blocked.
comment 3y ago · link · parent
But the Privacy Policy / Terms of Service doesn't mention any 3rd parties what so ever, which if you were using OpenAI's APIs, you'd mention them surely.
So I guess the conclusion is that a human writes all of this then? If that's true, you should make that clear, as currently it looks like it's powered by GPT4. Without knowing how the content is produced, it becomes a bit misleading.
comment 3y ago · link · parent
comment 3y ago · link · parent
Not to assume anyone's gender here, but does it look like a all female police squad? https://i.imgur.com/OSnyrFH.jpg
comment 3y ago · link · parent
What? Since when does WebAssembly natively ship with a "capabilities-based security model"?
> protecting against a wide range of vulnerabilities, including those that may not be public yet but can be preemptively mitigated through these mechanisms
Not yet public vulnerabilities?
Who was this article/summary written by? Reeks of GPT or at least someone who doesn't actually know the subject very well.
comment 3y ago · link · parent
> Verified account @randomsena tweeted the same image
> Another verified account, @RealAtulsay, tweeted the same image
Isn't "Verified" on Twitter just a subscription now, meaning it's just that these people have given Twitter money? Why it matters (in a journalistic sense) who has paid Twitter or not? And why are only some of the verified accounts mentioned as verified accounts, while others are verified but not mentioned as verified?
Such a weird article overall.
comment 3y ago · link · parent
It has installation instructions in the README, links to a wiki page with more information (https://github.com/wwmm/easyeffects/wiki/Package-Repositorie...), the application contains full documentation under the "Help" item in the menu (as many applications do) and they also have the same documentation online (https://wwmm.github.io/easyeffects/).
Not sure what more you could ask for?
comment 3y ago · link · parent
Only 260 lines of code, pretty concise :)
comment 3y ago · link · parent
comment 3y ago · link · parent
const comments = JSON.parse(window.localStorage.getItem('my_comments'))
let text = 'My top 3 comments:\n\n'
comments.slice(0, 3).forEach((comment) => {
text = text + `- ${comment.score} - ${comment.link} - ${comment.timestamp} - Story: ${comment.onstory} - Comment: ${JSON.stringify(comment.intro)}\n\n`
})
text = text + 'My 3 worst comments:\n\n'
comments.slice(-3).forEach((comment) => {
text = text + `- ${comment.score} - ${comment.link} - ${comment.timestamp} - Story: ${comment.onstory} - Comment: ${JSON.stringify(comment.intro)}\n\n`
})
copy(text)
Please note that you need to run the script from the submission before you can run the above script.Example output:
My top 3 comments:
- 180 - https://news.ycombinator.com/item?id=35800744 - 2023-05-03T10:56:58 - Story: MSFT is forcing Outlook and Teams to open links in... - Comment: "> Microsoft needs to think hard how hostile they want to be to its competitors and users, because tw"
- 107 - https://news.ycombinator.com/item?id=34788180 - 2023-02-14T12:01:03 - Story: BBC offices in India raided by tax officials amid ... - Comment: "> If you're interested, you can get it (legally) in the UK here\n\nAnd if you happen to be belong to t"
- 76 - https://news.ycombinator.com/item?id=35264026 - 2023-03-22T17:06:50 - Story: DPReview is being archived by the Archive Team - Comment: "The title is wrong, Archive Team (https://wiki.archiveteam.org/) is behind these archiving efforts, "
My 3 worst comments:
- -4 - https://news.ycombinator.com/item?id=35414789 - 2023-04-02T20:24:14 - Story: Windows Sandbox - Comment: "Except Docker containers doesn't actually run on Windows as they do on Linux (Linux containers that "
- -4 - https://news.ycombinator.com/item?id=35236819 - 2023-03-20T18:59:55 - Story: ChatGPT is down - Comment: "It's also due to rumored invasion of the US.\n\nCome on, we can do better than spreading unverified \"r"
- -4 - https://news.ycombinator.com/item?id=35153482 - 2023-03-14T15:49:54 - Story: null - Comment: "Ah, it seems you're one of many who confuses \"crypto\" with cryptography and cryptocurrency. Cryptogr"
1137.
Show HN: In-browser script for getting your best/worst comments
1 points · by capableweb · 3y ago · 1 comment
comment 3y ago · link · parent
Not sure how long it's been there, but it's been approved by someone, you think they'd remove it after that?
Edit: looking at the reviews of the extension, it has reviews from a year ago (until I stop going backwards) so seems you're wrong
comment 3y ago · link · parent
If you're curious but want a more language-agnostic guide, mal (Make a lisp) is a language+project that has a guide you can follow along with basically any language, and if you get stuck, you can look at already implemented versions in practically any language: https://github.com/kanaka/mal
Personal favorite implementations of mal: nasm (assembly) (https://github.com/kanaka/mal/tree/master/impls/nasm) and wasm (https://github.com/kanaka/mal/tree/master/impls/wasm)
mal has also been discussed many times on HN (which is probably how I came across it the first time too) for close to a decade by now: https://hn.algolia.com/?query=kanaka%2Fmal
comment 3y ago · link · parent
I personally haven't read it, but there is one for religion as well, "Religion: A Very Short Introduction" (9780190064679). Then there are a bunch of them around specific subjects in religion as well, browse the list in the Wikipedia article and you'll find them.
I've read maybe ~20 books from the series and all besides two or three have been of utmost quality, so probably this one is at least a good starting point.