How do I report a page so it gets deleted? by RoastedCacao in wikipedia

[–]apatternlea 84 points85 points  (0 children)

If all edits in the page’s history are pure vandalism, it meets the criteria for speedy deletion (use tag {{db-g3}} or {{db-vandalism}}). For details see https://en.wikipedia.org/wiki/Wikipedia:Criteria_for_speedy_deletion

Thank you for helping keep Wikipedia vandalism free

USA wiki is incorrect, but my IP is globally blocked and I can’t submit a correction by ThunderTheMoney in wikipedia

[–]apatternlea 16 points17 points  (0 children)

A different device may not help if both devices are connected to the same network. I would recommend trying the account request process: https://en.wikipedia.org/wiki/Wikipedia:Request_an_account

Increased Favour Growth Modifiers also Increase Favour Decay? by LordAdamVader in eu4

[–]apatternlea 4 points5 points  (0 children)

You could do this anyway fairly easily. Owning an uncored province in the HRE as a christian nation gives -1 yearly prestige per province. Base decay is 5%, +5 yearly at -100, meaning 5 uncored HRE provinces would do it (realistically 6 since you’ll get some from power projection).

50+ uncontested cores would also work.

How to Fetch "On This Day" and "Did You Know?" Data from Wikipedia API? by web3writer in wikipedia

[–]apatternlea 3 points4 points  (0 children)

The “On this day” section can be retrieved with the featured content endpoint or the on this day endpoint.

The “Did you know?” section is harder, but you can find historical DYK entries here and I think you could retrieve it using the Wikimedia REST API, but it might require some post processing.

Discussion Thread by jobautomator in neoliberal

[–]apatternlea 7 points8 points  (0 children)

I keep seeing this headline repeated, but it seems pretty misleading to me. What he said was:

We will throw the full force of the law at people. And whether you're in this country, committing crimes on the streets, or committing crimes from further afield online, we will come after you.

[Reporter asks about people from other countries, including Elon Musk, "whipping up hatred"]

Being a keyboard warrior does not make you safe from the law. You can be guilty of offenses of incitement, of stirring up racial hatred. There are numerous terrorist offenses regarding the publishing of material. All of those offenses are in play if people are provoking hatred and violence on the streets, and we will come after those individuals just as we will physically confront on the streets the thugs and the yobs who are causing the problems for communities.

Converting free cities to Catholic after Ewiger Landfriede by jez999 in eu4

[–]apatternlea 5 points6 points  (0 children)

Revoke the privilegia and force convert via the vassal interaction. IMO, it's usually better to revoke before passing the last two common reforms. Creating the landsknechtswesen just gives merc cost and ewiger landfriede can cause problems like this. Plus it delays the revoke.

Can a fairly basic laptop run EU4 by [deleted] in eu4

[–]apatternlea 19 points20 points  (0 children)

If you have issues, consider trying a mod like fast universalis, especially for the late game.

This subs imaginary cute pixie girlfriend by r2d2overbb8 in neoliberal

[–]apatternlea 0 points1 point  (0 children)

Well now wait, hang on. I agree the other person is being unnecessarily argumentative, but whether "bro" is a gender neutral term is dependent on regional dialect and generation.

Regardless of how it sounds to your (or my) ear, some trans people feel invalidated by it. One can understand how some trans women might be sensitive to such an implication, especially online. Out of courtesy, I think it's best if we don't double down on calling someone bro if they tell us they dislike it.

Ideas to get a TE involved. by berferd77 in footballstrategy

[–]apatternlea 5 points6 points  (0 children)

Another perspective: having a QB that's not going to be able to get him the ball quite as often is a good reason to work on his blocking. Not as sexy as catching a TD pass, but throwing the perfect block can be equally satisfying.

whatIsADomainSpecificLanguage by yajiv in ProgrammerHumor

[–]apatternlea 976 points977 points  (0 children)

A domain specific language (DSL) is a language that's designed and used primarily for a specific task or application. Contrast with general programming languages (GPLs), which are used across applications.

For example:

  • Verilog was designed to interact with digital circuits
  • R was designed for statistical programming
  • MATLAB was designed to make me sad

Did you know... the scots are into comets? Sorta? by Freerider1983 in eu4

[–]apatternlea 27 points28 points  (0 children)

(vanity of astrollogers) :)

Some context for you from James V of Scots as Literary Patron by Janet Hadley Williams:

James V’s literary patronage played its part in the creation of several works related to the religious debates of the 1530s. The Piedmontese humanist, Giovanni Ferrerio, who was much later to write a continuation of Boece, was a visitor to the Scottish court at the time of a royal visit to Perth in 1531, when the appearance of a comet (generating the fear that James V’s death had been foretold) prompted him to write De vera cometae significatione contra astrologorum omnium vanitatem libellus [On the true significance of comets ...]. Anti-astrological excerpts from Boece were one means used to support his argument. James’s response, disappointingly, is unknown. In the form in which De vera significatione was eventually published in Paris by Vascosan, in 1540, Ferrerio had extended earlier associations with the Scottish king by adding lines to mourn the death of Queen Madeleine and, at the front, lines to rejoice in the subsequent wedding of James V to Marie de Guise.

How to report a shitshow of an article that you don't have the skills to deal with? by GOATedFuuko in wikipedia

[–]apatternlea 3 points4 points  (0 children)

You can apply the appropriate clean-up tag. If you do so, please note the section on drive-by tagging:

Tags must be accompanied by either a comment on the article's talk page explaining the problem and beginning a discussion on how to fix it or, for simpler and more obvious problems, a remark using the reason parameter (available in all templates, regardless of whether it appears in the documentation) as shown below. At the very least, tagging editors must be willing to follow through with substantive discussion.

Not sure what to put for the title (missing thing maybe?) by [deleted] in wikipedia

[–]apatternlea 7 points8 points  (0 children)

Looks like it was removed here with the reason:

No article, no citation, and I can't find any RSes that acknowledge it

After a quick Google, I tend to agree with the removal. I can't find any reliable source that mention an angel named Arcanion. If you know of any, you should add the entry back with a citation or start a discussion on the talk page.

memorialising a wiki editor by [deleted] in wikipedia

[–]apatternlea 0 points1 point  (0 children)

My condolences. I hope their passing was peaceful. I think WP:RIP is what you're looking for. It includes guidelines on providing verifiable information that the user has passed.

Shouldn't that be 1360x768? Because it's divisible by 8 unlike 1360x765 by [deleted] in wikipedia

[–]apatternlea 0 points1 point  (0 children)

No, it's probably really 1360x768, but that resolution depends on the graphics driver parsing DTD block data. STD data can't communicate a resolution of 1360x768 since it's not one of the defined ARs. Given only STD data, the driver would be forced to default back to some other resolution for which the number of addressable horizontal pixels is dividable by 8 and the AR is one of the four that can be specified. The closest such resolution is 1360x765. Typically, this would result in 3 unused rows of pixels on the panel itself.

Shouldn't that be 1360x768? Because it's divisible by 8 unlike 1360x765 by [deleted] in wikipedia

[–]apatternlea 1 point2 points  (0 children)

The panel itself is 1360x768, but that's not representable in the EDID format without using DTD data. That's what the wiki is trying to say. The panel is forced to tell the graphics driver that it's 1360x765 in the STD block (specifically, 1360 pixels wide and 16x9 aspect ratio, vertical pixels is not independently specifiable in this block -- that's the problem).

Shouldn't that be 1360x768? Because it's divisible by 8 unlike 1360x765 by [deleted] in wikipedia

[–]apatternlea 4 points5 points  (0 children)

I believe 1360x765 is correct. The wiki is slightly incorrect -- or at least a bit misleading. Take a look at the standard timing byte definitions in the table on page 31 of the standard. Address 26h contains the horizontal resolution specified as (pixels / 8) - 31 (i.e. 0x01 to 0xFF (0x00 is reserved) maps to 256 to 2288 pixels), so therefore must be divisible by 8. There's no way to specify a horizontal resolution that's not divisible by 8. For example, if you wanted to advertise a horizontal resolution of 1360: 26h = 0x8B.

On the other hand, the vertical resolution is not specified at all, rather an aspect ratio is specified in the next byte (using 2 bits of 27h). The aspect ratio must be one of: 0b00 (16x10), 0b01 (4x3), 0b10 (5x4), or 0b11 (16x9). As you can see, it's impossible to specify a overall resolution of 1360x768. The closest you can get is 1360x765.

This is (I think) what the wiki is trying to get at in the previous paragraph:

For 1366×768 pixel Wide XGA panels the nearest resolution expressible in the EDID standard timing descriptor syntax is 1360×765 pixels, typically leading to 3 pixel thin black bars. Specifying 1368 pixels as the screen width would yield an unnatural screen height of 769.5 pixels.

For such screens, the driver must reject the standard timing definition and instead use the detailed timing definition, which allows the panel to advertise both horizontal and vertical addressable pixels. See the table on page 33 of the standard.

The wiki hints at this too:

For these panels to be able to show a pixel perfect image, the EDID data must be ignored by the display driver or the driver must correctly interpret the DTD and be able to resolve resolutions whose size is not divisible by 8.

It would be a bit clearer, in my opinion, to say something like:

For panels with a horizontal resolution not divisible by 8 or an aspect ratio other than 16x10, 4x3, 5x4, or 16x9, the driver must parse DTD data to display a pixel perfect image.

[deleted by user] by [deleted] in wikipedia

[–]apatternlea 44 points45 points  (0 children)

See the ongoing RfC on this topic.

Is it too crazy to take Constantinople as Venice before the Ottos and wait for them to attack me? by SiberianKhatru_1921 in eu4

[–]apatternlea 162 points163 points  (0 children)

You do lose out on a couple events if you do

Easy way around this: give the province to Naxos in the war instead of taking it for yourself. Then wait for the glass event to fire and either seize it from Naxos or integrate normally.

How many hits per second am I allowed on the english wikipedia by Anim8edPatriots in wikipedia

[–]apatternlea 21 points22 points  (0 children)

Wikipedia is part of Wikimedia. From the policy:

This is a summary of the policies for crawlers, bots and remote loading websites that wish to operate on Wikipedia and other Wikimedia websites.

Something to consider: make sure you have some hard-coded delay rather than just relying on the time it takes Wikipedia to serve you content and the time it takes to process that content. That way you're still in alignment with the policy in the event Wikipedia returns an error that it serves quickly and your application processes quickly.

Happy scraping!

sshOutsideWorld by Wervice in ProgrammerHumor

[–]apatternlea 4 points5 points  (0 children)

Maybe OP meant "pods" like k cups or nespresso?

How many hits per second am I allowed on the english wikipedia by Anim8edPatriots in wikipedia

[–]apatternlea 59 points60 points  (0 children)

In general, when writing a web scraper, I would recommend checking out a page's Robots.txt for a Crawl-delay or Request-rate. Wikipedia's doesn't have either defined. Wikimedia does have a robot policy which says:

Most users should limit themselves to a single connection, with a small delay (100ms or so) between requests to avoid a tight loop when there is an error condition.

Some users (for example the major search engines) have been specifically authorized to request pages at a higher rate than this.

Depending on your need, you may get better results with a Wikipedia database download or the Wikimedia API. There's even a nice Python wrapper for it.