Readit News logoReadit News
eeiaeaa commented on Don't watermark your legal PDFs with purple dragons in suits   arstechnica.com/tech-poli... · Posted by u/Tomte
cperciva · 8 months ago
For example, I like to put Batman as a dummy user

I can't remember the details, but I've heard a story multiple times about a fake-sounding name being used in testing -- I think US military payroll? -- and causing problems when a real person had that name. Can anyone here remember this?

In any case, "batman" is just about plausible enough that it could be real. I tend to use names like "Mr. Testy Testalicious" which (a) contain the string "test", and (b) are so wildly absurd that I'm confident nobody will ever collide with it.

eeiaeaa · 8 months ago
I used to use Testy Tester until one of my coworkers commented that she was acquainted with the Tester family, and there were quite a few of them in the area. These days I usually have completely separate systems for testing, but even there I use something like Zzzperson for test data.
eeiaeaa commented on Show HN: Dropflow, a CSS layout engine for node or <canvas>   github.com/chearon/dropfl... · Posted by u/chearon
rrgok · 2 years ago
Perhaps I'm missing something, but why can't we render HTML directly onto the canvas in the browser? The parser is there, the layout engine is already implemented, and the calculation of box layout is already done. It should be doable without going in circles. If only the browser had a flag indicating which "surface" to render on.

I was looking at Glide Grid the other day, and it renders so fast, even with 1 million rows; it's somehow responsive. There should be an easier way to render HTML to canvas without resorting to low-level primitives. Why is canvas faster than the "regular" DOM renderer?

eeiaeaa · 2 years ago
Glide grid renders to canvas also.
eeiaeaa commented on Ask HN: What 1980s/90s-era shareware did you purchase?    · Posted by u/sgbeal
eeiaeaa · 2 years ago
Not Shareware exactly, but once I started earning money in the mid 90s, I purchased physical copies of Slackware on CD-ROM to support the distro that taught me Linux. It was also much more convenient than downloading dozens of floppies from ftp.funet.fi or whatever FTP server I was using at the time. As for my Amiga and C64 days, I was too young to have a lot of money, and piracy was rampant in Europe, where I lived. Even if I had wanted to pay I wouldn't have known how to send money overseas.
eeiaeaa commented on Show HN: I made a SQL game to help people learn / challenge their skills   lost-at-sql.therobinlord.... · Posted by u/robinLord
sour-taste · 3 years ago
Great idea, SQL is an undervalued skill

Feedback:

I did this exercise:

https://lost-at-sql.therobinlord.com/challenge-page/case

The specification says:

> Clownfish are between 3-7 inches in length, weigh around half a pound, and live in the coral reef.

around half a pound is meaningless, the spec should be exact.

It was annoying having to scroll from the input at the bottom of the page to the specification at the top of the page to refer to it.

The test cases are insufficient. I only wrote this:

> select *, CASE WHEN species_name = "clownfish" AND length NOT BETWEEN 3 AND 7 AND weight != .5 AND habitat_type != "coral reef" THEN "imposter" ELSE "not imposter" END imposter_status from marine_life;

And passed the check at the end.

I didn't like that it kept track of the number of syntax errors and how long it took me to finish, that doesn't seem conducive to learning/practicing.

There seemed to be a lot of preamble to get to the challenge page. It seems like those should be linked directly from the homepage.

The format button didn't work on my code above.

Syntax highlighting seems broken for some functions, like IIF.

It would be nice if multiple SQL dialects were supported, forcing SQLite makes this more of an exercise in 'translate the dialect you know into SQLite'.

I didn't love the challenge I did overall, it was a single CASE statement, which seems to be testing logic more than any SQL knowledge. Maybe because it's a warmup?

eeiaeaa · 3 years ago
That challenge was annoying because of the terrible spec. In addition to the "around 1/2 lbs" spec, it falsely claims that length and weight are metric (they are not), and it spells it "impostor" in the specified output, but expects "imposter". Both spellings are used in the spec. Frustrating.

However, students will learn not to trust the spec, so I suppose that's a valuable lesson.

eeiaeaa commented on Some CyberPower UPSes may pose a fire hazard   forums.redflagdeals.com/s... · Posted by u/smcleod
eeiaeaa · 3 years ago
I have one of these. I have had it for years, and even swapped out the battery pack once. I have had no other issues with it.

After I read the Reddit post and watched the tear-down video, I disconnected and opened it up and found that not only did it have the yellow glue, but patches of it had turned brown and had what looked like drops on it in places.

Now I am looking for a replacement, but from the comments here it sounds like other manufacturers have the same issue.

u/eeiaeaa

KarmaCake day21July 22, 2018View Original