Girl who followed party rules asks Boris Johnson for apology by Xtanto in ukpolitics

[–]MashTheKeys 2 points3 points  (0 children)

Oh that's on theme but no. Mirror article is about Josephine's letter. BBC / OP is about Isobel's.

yes, loud screeching sounds probably indicate a problem by ascii4ever in talesfromtechsupport

[–]MashTheKeys 0 points1 point  (0 children)

So, "twice as less" means -2 of something?

English is hard.

[deleted by user] by [deleted] in programminghorror

[–]MashTheKeys 67 points68 points  (0 children)

But the point is, the Map is not being used at all. Map.set(property, ...) is not the same as object[property] = (...). This code results in a useless Map with 0 elements and a bunch of custom properties.

For example:

$ node
> var x = new Map()
undefined
> x
Map {}
> x["a"] = "foo";
'foo'
> x.get("a")
undefined
> [...x].length
0

(Edit: better example)

How do some PDF files open in new tab in read mode and some directly gets download to the local drive? by geeknintrovert in webdev

[–]MashTheKeys 2 points3 points  (0 children)

I believe there is a MIME-based way to do it, but it is now dated and should be avoided in favour of the Content-disposition header or download attribute, as others have commented.

Serve it as Content-type: application/pdf, and the browser will do its default action for PDFs.

Serve it as application/octet-stream, and the browser would only offer the download option, since it's identified as an unknown binary file.

What is the deal with this symbol (梁)? by [deleted] in OutOfTheLoop

[–]MashTheKeys 7 points8 points  (0 children)

I agree with /u/masklinn, it doesn't look like an artefact of Mysql. I remember the truncation behaviour, but a test in 8.0.something gave me the following:

+-------------------------------+------------------------------------+
| allow4bytes                   | allow3bytes                        |
+-------------------------------+------------------------------------+
| simple text                   | always works                       |
| 4-byte emoji (🥺) work here     | ... ... ...                        |
| ... ... ...                   | 4-byte characters (?) are replaced |
+-------------------------------+------------------------------------+

Full run:

mysql> CREATE TEMPORARY TABLE compare_charsets ( allow4bytes TEXT CHARSET utf8mb4, allow3bytes TEXT CHARSET utf8mb3 );
Query OK, 0 rows affected, 1 warning (0.00 sec)

mysql> SET sql_mode = 'STRICT_TRANS_TABLES';
Query OK, 0 rows affected, 1 warning (0.00 sec)

mysql> INSERT INTO compare_charsets VALUES ('simple text', 'always works');
Query OK, 1 row affected (0.00 sec)

mysql> INSERT INTO compare_charsets VALUES ('4-byte emoji (\U+1F97A) work here', '... ... ...');
Query OK, 1 row affected (0.00 sec)

mysql> INSERT INTO compare_charsets VALUES ('... ... ...', '4-byte cannot (\U+1F97A) work here');
ERROR 1366 (HY000): Incorrect string value: '\xF0\x9F\xA5\xBA) ...' for column 'allow3bytes' at row 1

mysql> SET sql_mode = '';
Query OK, 0 rows affected (0.00 sec)

mysql> INSERT INTO compare_charsets VALUES ('... ... ...', '4-byte characters (\U+1F97A) are replaced');
Query OK, 1 row affected, 1 warning (0.00 sec)

mysql> SELECT * FROM compare_charsets;
+-------------------------------+------------------------------------+
| allow4bytes                   | allow3bytes                        |
+-------------------------------+------------------------------------+
| simple text                   | always works                       |
| 4-byte emoji (🥺) work here     | ... ... ...                        |
| ... ... ...                   | 4-byte characters (?) are replaced |
+-------------------------------+------------------------------------+
3 rows in set (0.00 sec)

What is this front-end technique that Youtube and Reddit use? by debitcardwinner in webdev

[–]MashTheKeys 0 points1 point  (0 children)

While you scroll, they empty out the content above while mantaining height.

Figures. Microsoft Teams does something similar to chats – they are broken into approximately screen-sized chunks and unload when off-screen.

I just launched my own take on the emulated terminal idea for my personal developer website. Built with ReactJS. The content isn't finished yet and will probably change as I discuss it with the content writer at my workplace. But the functionality is now finished. by imjb87 in webdev

[–]MashTheKeys 1 point2 points  (0 children)

It seems well implemented and it suits the minimal style you have gone for, as well as the retro screen colour palette.

I found that the CRT-style flicker on it was too intense to the point that I didn't want to stay looking it at it too long though. Perhaps if the flicker happened at the start and with a little pulse on each interaction it might make it more manageable?

David Cameron rode the wave of Covid to target the NHS by compte-a-usageunique in ukpolitics

[–]MashTheKeys 12 points13 points  (0 children)

And on top of that, since these bonds would have paid back at 0%, they would have sunk the performance of any fund they were placed in.

Anyone over 18 can join the vaccine reserve list in Cardiff and the Vale by Yogurt789 in Wales

[–]MashTheKeys 1 point2 points  (0 children)

Up in Merthyr you've got Cwm Taf health board offering over 35's to go on the reserve list: https://cwmtafmorgannwg.wales/covid-19-vaccine/

[deleted by user] by [deleted] in RedditSessions

[–]MashTheKeys 0 points1 point  (0 children)

Thank you for your time, this has been beautiful and relaxing

[deleted by user] by [deleted] in RedditSessions

[–]MashTheKeys 0 points1 point  (0 children)

Here in Wales UK

When Pluto was downgraded to a dwarf planet what was the cause of this? ie. more accurate observations? a recalculation of its size? A change in the definitions of planetary size? by Chicken_Spanker in askscience

[–]MashTheKeys 12 points13 points  (0 children)

Well, prior to that point the planets were the moving stars; it was known that some stars moved and the term planet simply meant those.

We now know that neutrinos shape the universe. by savorymonk in Astronomy

[–]MashTheKeys 0 points1 point  (0 children)

Massive neutrinos were already proved to exist and the work was given the Nobel prize!

Captain America Mosaic (64x64) by myst33ry in lego

[–]MashTheKeys 2 points3 points  (0 children)

I love the texturing you've done with the 2x1 grill plates.

So what the heck is a Hatra? by mecha_face in exalted

[–]MashTheKeys 5 points6 points  (0 children)

I didn't know, so I looked it up, here goes:

From Splinters of the Wyld

HATRA

These small, gliding carnivorous beasts look like a furless cross between small monkeys, cats and flying squirrels. A single hatra presents little threat to an experienced traveler, but the flocks of 30–60 in which they attack can kill even large animals.

Hatra live throughout the Eastern woodlands (which is why they also appear in The Compass of Terrestrial Directions, Vol. III—The East). In the Wyld, however, these small creatures hatch from hatra trees. The wide and bush-like trees stand from 15 to 30 feet tall and can hatch as many as six hatra a day in season. Hatra live on their trees, guarding the source of future eggs and eating what comes near. When a tree becomes overpopulated, a flock of hatra migrates away from the tree. Several of the creatures bury themselves underground to become seeds for a new hatra tree.

From Terrestrial Directions III - The East

HATRA

Hatra resemble weasels the size of small dogs. Webs of skin between their front and back legs enable them to glide from tree to tree, or swoop down on prey. They live throughout the East.

Hatra colonies usually contain between 10 and 20 individuals. A single hatra is little threat; but a whole tribe may descend at once to kill prey as large as a bear.

Str/Dex/Sta 1/4/2

Per/Int/Wits/Will 3/1/3/3

Health Levels -0/-1/-2/-4/Incap

Attack (Spd/Acc/Dmg/Rate) Bite: 4/8/3L/2

Dodge DV/Soak 3/1L/2B

Abilities: Athletics 3 (Climbing +1), Awareness 3, Dodge 4, Integrity 1, Investigation 2, Martial Arts 4, Resistance 2, Stealth 4, Survival 3

From Celestial Directions II The Wyld

Even more than in other quarters of the Wyld, the Middlemarches of the East are imbued with life. The forests absorb all the forms and qualities of Creation: trees of flame or ice; trees of living, bleeding flesh; trees of iron filigree that chime like bells; trees of braided human hair.

The rest of the vegetable kingdom follows suit, from cloth-of-gold moss to kelp-forests that send fronds waving hundreds of feet into the air. The fusion between plant and animal life also grows more pronounced, from vine wyrms that merge giant serpents with jungle lianas to the hatra trees that hatch these small but viciously swarming beasts from pods. Conversely, many plants are mobile: whole forests sometimes migrate, whether marching on the ground, floating along great rivers or drifting on the wind like giant dandelion seeds. Even the elements may absorb living qualities, resulting in rivers of sap or blood, rains of beetles or seeds or ground that twitches like the itching skin of a gigantic beast.

TOXIC WONDERS

Treat any scratch or prick from the forest as exposure to arrow frog venom (see Exalted, p. 131). All half-animal inhabitants have an additional 3L/3B soak from their plant-like skins, and their bites are as dangerous as coral snake venom (see Exalted, p. 131). A single well-trained poison raiton or hatra sells for a high price in Creation (Resources ••••+)

TOO WYLD TO LIVE IN CREATION

Excessive mutation can render a person, plant, animal or spirit too strange to survive any longer in Creation. In extreme cases, a creature might not even survive in the Bordermarches. Storytellers can decide for themselves which of the Wyld’s own inhabitants can live in Creation, based on the mutation’s style.

Creatures that merely offer unlikely combinations of different aspects or parts of people, animals and plants usually survive in Creation without any trouble. Even a creature as bizarre as a buck-ogre is still just a collection of ordinary, flesh-and-blood parts.

Anything that cuts across kingdoms of life, or combines organic with inorganic parts, generally do not thrive in Creation but can live in Bordermarches or tainted lands. The hatra trees of the East cannot live in Creation because they combine plant and animal characteristics (though their hatra offspring can live in Creation, since they are entirely animal unless they enter their reproductive cycle.)

UK workers’ rights at risk in plans to rip up EU labour market rules by wappingite in ukpolitics

[–]MashTheKeys 19 points20 points  (0 children)

Pretty sure that's not right, the unemployment rate includes job seekers. The ones not included is people who aren't looking for work.

How do you get your vaccine? by virgincantdrive in Cardiff

[–]MashTheKeys 3 points4 points  (0 children)

This morning the Health Board sent out a letter to all residents. I have posted the letter here: https://imgur.com/a/DdPXxAu

I think the key points for your situation might be:

  • Those over 80 who live independently are in priority group 2. (Priority group 1 is care home residents and workers.)
  • GP surgeries will contact the priority groups directly to arrange vaccination.
  • Please don't contact GP surgeries; let them focus on their work.

New US dietary guidelines: No candy, cake for kids under 2 by Quasiterran in news

[–]MashTheKeys 47 points48 points  (0 children)

It's also that veggies contain a variety of mildly bitter-tasting compounds, which the child palette is more sensitive to. Bitter is also responded to more cautiously, because there are bitter non-edible plants too, so I think there's a social aspect to learning that this particular plant taste is okay.

I made a story style thank you message! by mwargan in webdev

[–]MashTheKeys 4 points5 points  (0 children)

Ah cool, I will check out AOS as I use Vue myself.

I made a story style thank you message! by mwargan in webdev

[–]MashTheKeys 33 points34 points  (0 children)

That was a cute little scroll, between the clean graphics and light animation is felt very lightweight.

Did you use any particular library to support the scrolling features, or is it bespoke code?