Better HN
topnewbestaskshowjobs
Log inSign up

capableweb

37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions

Curabitur pretium dui sit amet quam pharetra, at condimentum turpis auctor. Maecenas vitae varius sem. Sed vel ante massa. Nulla a leo est. Morbi quis pulvinar nulla, et imperdiet nibh. Curabitur varius felis tempor nisl vulputate, id accumsan libero placerat. Sed mi odio, auctor ac lacus vel, sollicitudin mattis dolor.
Submissions

comment 3y ago · link · parent

You can definitely get a shock if you stand not miles away from a electric fence and pee at it. I've personally observed this, to much dismay.

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

> Backbone.js used 2-way data binding.

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

Just because they are against AI/ML regulation doesn't mean they are against environmental regulation. The post you're replying to is not saying that all regulation is bad, merely that the lobbying around this specific piece of regulation seems bad. I agree with you that a lot of regulation is good, but I also agree that some of the proposed regulation seems bad too.

comment 3y ago · link · parent

> What would be the incentive for OpenAI to do that?

Preventing outrage because some answers could be considered rude and/or offensive.

comment 3y ago · link · parent

Looks like MVC/MVVC, something that has been available to do in JS since long time ago (Backbone.js was a popular option for doing a modified version of this). Or I'm missing something obvious. Care to explain a bit more in detail?

comment 3y ago · link · parent

Just because the tab exists doesn't mean it's active. I regularly have 100+ tabs in Firefox, manageable with TreeStyleTabs so usually just ~10 root tabs and the rest are child tabs within that, and Firefox sleeps the tabs anyone so doesn't really use much memory or CPU. Probably the same on mobile as well.

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

Damn, of course, misread that... Thank you for catching my silly mistake :)

comment 3y ago · link · parent

Yeah, then you'd just block based on the client IP which is in a header, rather than the IP on the connection.

comment 3y ago · link · parent

~~~Well, besides the whole thing about my previous comment that everything you write in Discord stays in Discord and is basically not findable unless you're already a part of the Discord. While phpbb (or any public forum really) is by default readable by anyone, so searching for questions let you find answers without having to sign in and join the forum.~~~

Edit: Misheard parent...

comment 3y ago · link · parent

Discord (and other non-indexable chats like Slack) is where conversations go to die and be hidden forever. FOSS and other "open" projects should be using something like Zulip, or even anything else, that can actually be indexed by Google and other search engines.

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 crazy now? Think of all the advantages:

- 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

You mean like server<>server communication? Hopefully that communication stays within the network rather than going from server<>internet<>server

comment 3y ago · link · parent

Happens all the time, even users on HN sometimes ask very basic questions that could be answered by just looking up a word in a dictionary, or doing a very quick search for more information.

> [...] It's more of a LARP where we pretend we have some [...]

> What's a LARP?

> https://news.ycombinator.com/item?id=36104515

comment 3y ago · link · parent

> Could you elaborate on how you identified the traffic as cloudflare workers?

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

If you look in the submission, is the same every time anyone ask about it, author being purposefully unclear.

comment 3y ago · link · parent

I'm guessing this is using GPT4? Otherwise I'm having a hard time understanding how you'd deal with all the emails with follow-ups as demonstrated on the landing page.

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

Generally it's not illegal to host services that could potentially be used for those things (as basically any online service with user generated content could be used for that), but it's illegal to not act once you have received complaints about it and not acted. Presumably, Mullvad does act when they get noticed about their service being used in those manners.

comment 3y ago · link · parent

According to TFA, it's because of multiple reasons, not just one search warrant:

> This has led to law enforcement contacting us, our IPs getting blacklisted, and hosting providers cancelling us.

comment 3y ago · link · parent

> Is that an all female police squad?

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

> No explanation for what vulnerabilities standard Drupal is actually being hardened against.

But... Are you not afraid of these unknown, not-yet-public vulnerabilities that this solution clearly protects us against?!

comment 3y ago · link · parent

> capabilities-based security model offered by WebAssembly

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 @wokeflix_ tweeted the same image in a meme

> 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

Is this a general comment meant to apply to anything or are you specifically talking about Easy Effects here?

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

Here is one implementation of a lisp (mal specifically) in matlab: https://github.com/kanaka/mal/blob/dcf8f4d7b9cf7b858850a04a0...

Only 260 lines of code, pretty concise :)

comment 3y ago · link · parent

Well, saying things like "I can tell you that all the good people who could’ve left haven’t yet, and that all the people who should’ve resigned, haven’t yet." does feel like there are fingers being pointed, but of course it's not clear who they are being pointed at. But I guess the people involved at least know who they are referring to, so at least that's good.

comment 3y ago · link · parent

By using `localStorage.my_comments`, here is another addon-script that formats the top/worst list for HN and puts the output into your clipboard:

    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

It is there already? https://chrome.google.com/webstore/detail/youtube-dislike-bu...

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 want to learn languages, implementing a lisp interpreter is a great exercise, and lots of fun too. Every time I come across a new language I want to give a try, creating a lisp interpreter is one of the first things I do.

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'm a big fan of the "Very Short Introductions" series from Oxford University Press. They're usually brief and gives a wide starting point to a lot of different viewpoints of a subject, useful as a starting point into a topic. Seems there are about 730 books published in the series so far, with a wide range of topics. https://en.wikipedia.org/wiki/Very_Short_Introductions

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.

1
373839
307