News for hackers. Stuff that matters.

capn_cabbage

Re:I lost my boyfriend to cancer 'conspiracy theories’ on Saturday July 18, 2020 @12:08PM (#23882335)
Yes that seems to be typical. YouTube comment sections tend to be of poorer quality when the topic is popular or if the channel has a large enough audience.
Re:I lost my boyfriend to cancer 'conspiracy theories’ on Saturday July 18, 2020 @11:43AM (#23882125)
The opposite can be just as dangerous * . "Medlife Crisis" has an [informative video][1] that explains some of what can happen.

* Edit: I shouldn't have equated the dangers here. This was a bad take. I still believe there are good bits of info provided in the video, but the relevance to this thread is less than I considered and I should have thought more about what I was sharing.

Edit 2: I didn't mean to link to a specific timestamp of the video in the original link. That has been removed.

[1]: https://www.youtube.com/watch?v=yNzQ_sLGIuA

Yes, beer would be acceptable in moderation by the Puritans and their Protestant descendants. Early Americans advocated temperance rather than complete abstinence. Much of this was a result of seeking a better/perfect society after the American Revolution. Evangelical Protestants spread religion and reform through the USA in what is known as the "Second Great Awakening" from 1790 to 1840. During this time, the temperance movement gained support. This led to a gain in popularity of complete abstinence from alcohol and the formation of various groups advocating for teetotalism. Through the late 1800's and early 1900's prohibitionist movements gained traction including the Anti-Saloon League which was driven by evangelical Protestantism. It was this organization that ultimately led to the Eighteenth Amendment of the United States constitution being ratified and prohibiting sale and manufacture of alcohol.

It has been a battle ever since. The area I live in only recently allowed the sale of liquor in restaurants and bars and still does not sell liquor by the bottle. There were many movements that had influence so perhaps it isn't fair to lay the blame solely on the Puritans, but they did have great influence in regards to alcohol in the USA and the parent isn't wrong, but has certainly omitted details.

Re:Clear Your Terminal in Style on Thursday March 05, 2020 @01:09PM (#22496233)
I may have changed the key binding after installation. It has been a while so it feels like it has always been that way.
Re:Clear Your Terminal in Style on Thursday March 05, 2020 @09:20AM (#22493665)
I am currently using Fedora 31 Cinnamon which uses GNOME Terminal and the shortcut to reset and clear screen/scrollback is CTRL+L. I am not sure if this shortcut is standard on GNOME Terminal or not, but it's present in this flavor.

EDIT: On my windows machine I think it is ALT+F8 in Git Bash. May be similar in other terminal emulators.

Re:The use of the word ‘robust' to describe software in UK law on Saturday December 21, 2019 @01:50PM (#21852679)
I keep forgetting about this. Thanks for reminding me.
Re:About Bokeh on Friday December 20, 2019 @06:00PM (#21848136)
Sentences 3 and 4 in the article seem to excuse this. Is there further information that I may be missing regarding why the bias is still a problem?
Your last sentence is something I never thought I'd read. There is a motivational poster in there somewhere.
Re:AI Dungeon 2 costing over $10k/day to run on GCS/Colab on Monday December 09, 2019 @10:45AM (#21743551)
Per the HN Guidelines:

"Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something."

Hard to say their cloud "sucks" when they offer a solution featuring the very thing being complained about in regards to other cloud services. Or maybe IBM's cloud really is terrible, but it would be hard to know that as an outsider since you failed to provide any substantiating info. If you could expand upon your initial assertion, that would surely help the rest of us see your point and assist you in proving your case.

Re:Union Types have been accepted for PHP 8 on Saturday November 09, 2019 @10:35PM (#21496234)
I believe it is just a naming issue. Not even sure that PHP devs have agreed on how to name the type. Internally, PHP calls them both arrays and hash tables if I understand correctly.

In Zend/zend_types.h[1] of PHP source:

    typedef struct _zend_array zend_array;
    typedef struct _zend_array HashTable;
    struct _zend_array {
        ...
    };
That being said AFAICT, HashTable and zend_array are used interchangeably throughout the source. I am not a C programmer, but I did write a couple of PHP extensions and that was my general understanding. Perhaps it is a compatibility issue or just used to abstract types differently in various areas of the C API.

Check out [2] for a deeper understanding of how arrays are handled internally in PHP.

[1]: https://github.com/php/php-src/blob/php-7.3.11/Zend/zend_typ...

[2]: https://nikic.github.io/2014/12/22/PHPs-new-hashtable-implem...

Re:Quark – A software sketchbook for your projects on Sunday July 21, 2019 @04:24AM (#20490458)
IANAL, but from what I can gather (at least with the USPTO in the USA), a trademark can be weakened and even lost when not properly monitored and/or enforced. It would be unwise for any business to fail to protect their trademark(s).
Re:Untrusted – a user JavaScript adventure game on Monday March 25, 2019 @06:44AM (#19481431)
I got bored with just beating the game and added some flare on level 20 by using a canon and photon torpedoes and kappa-face explosions[1]. Because why not.

[1] https://gist.github.com/Untrusted-Game/70038d1464d11ac270466...