🔗 Quick links thread
-
Ha ha fuck you UML.
-
There is a lesson for us all here...
-
@cabrito said in 🔗 Quick links thread:
@Yamikuronue I read that as american salaries are lower than europeans re (cost of life + perceived 'needs'), also different lifestyles
Someone compared the UK to individual US states and found that the UK was on par with Mississippi for their purchasing power. Mississippi was either 49th or 50th out of 50 states. Some people just accept less.
Obviously this used averages and some people are always better and worse off, but it was an interesting comparison.
-
@boomzilla that and things like national healthcare...
-
-
-
-
@bb36e That guy is clearly just another Luddite who fears change.
I bet he doesn't even own a fedora.
-
A month to get the drawing. A month to get the approval
Sounds like the process I have to work with
-
Two PHP defense links Two
-
@bb36e said in 🔗 Quick links thread:
As an astigmatic with trouble reading thin line fonts even with glasses, amen to that.
Case in point, the header in that very article uses thin white lettering on a blue background. Not the friendliest of coordinations. At least the content itself is quite readable.
-
@Zecc said in 🔗 Quick links thread:
Case in point, the header in that very article uses thin white lettering on a blue background. Not the friendliest of coordinations
Medium: neither rare nor well done
-
@Jarry said in 🔗 Quick links thread:
Two PHP defense links Two
And you all fucking mocked me. NOW WHO'S LAUGHING
-
@Arantor said in 🔗 Quick links thread:
And you all fucking mocked me. NOW WHO'S LAUGHING
I thought that was mostly pity? ;)
However, I wouldn't start feeling too vindicated. The first article amounts to:
- Hey, we did big/cool thing with PHP
- ...By building a big and super-important framework around it.
The second article amounts to:
- PHP is the only language designed in a web context (i.e., there's no proper competition)
- PHP is really popular (obvious result of previous)
- Yet PHP sucks in so many ways
- But there is
hopeHack! - If you start moving to a new language and runtime, things get better! (Hack+HHVM)
- Although nothing fixes the standard library, so far
Edit:
<?hh // Prefixing a type with '?' permits null. // TODO: fix the type of the parameter $x to permit null. function f(?int $x): void { var_dump($x); } function test(): void { f(123); f(null); }
Mostly I'm just teasing about PHP — but really, Hack, you might want to be a little less like your ancestor. Who puts the
?
in front of the type parameter? Jeez.
-
-
Why you should never use Upwork, ever.
-
Me: What's upwork?
Work: oh, same shit as always, you know.
-
@Arantor said in 🔗 Quick links thread:
@boomzilla that and things like national healthcare...
My point exactly!
-
String or binary data would be truncated.
Yes, thanks, Microsoft, it's so helpful to know that one of the 50+ columns in my insert statement has data that won't fit. I don't suppose you could tell me which one?
Filed under: Where's the I-hate-Microsoft club?
-
Attempts to remember whether Oracle tells you anything useful in that case
Curses at being tricked into thinking about work
-
@PleegWat said in 🔗 Quick links thread:
Attempts to remember whether Oracle tells you anything useful in that case
Maybe ask in the I-hate-Oracle-Club category?
-
@antiquarian said in 🔗 Quick links thread:
Yes, thanks, Microsoft, it's so helpful to know that one of the 50+ columns in my insert statement has data that won't fit. I don't suppose you could tell me which one?
Filed under: Where's the I-hate-Microsoft club?There's the Useful Error Messages thread.
-
@Zecc said in 🔗 Quick links thread:
There's the Useful Error Messages thread.
Added.
Also, forgot to mention this from the link:
Just realised today that this request is almost as old as the long long wait for Half Life 3....... I'm not sure either of them will ever see the light of day..... :D
-
Now that I'm at work, I checked:
$ sqle "create table test (a varchar2(10), b varchar2(10))" Table created. $ sqle "insert into test (a,b) values ('short', 'string value way too long');" insert into test (a,b) values ('short', 'string value way too long') * ERROR at line 1: ORA-12899: value too large for column "SCHEMA"."TEST"."B" (actual: 25, maximum: 10)
-
@antiquarian said in 🔗 Quick links thread:
the long long wait for Half Life 3
Silly fool! Should have used
int64_t
instead!
-
@PleegWat said in 🔗 Quick links thread:
Now that I'm at work, I checked:
$ sqle "create table test (a varchar2(10), b varchar2(10))" Table created. $ sqle "insert into test (a,b) values ('short', 'string value way too long');" insert into test (a,b) values ('short', 'string value way too long') * ERROR at line 1: ORA-12899: value too large for column "SCHEMA"."TEST"."B" (actual: 25, maximum: 10)
OMG to the useful error messages thread!
-
-
Well, if it had been me, I would have given them the finger.
-
Very nice to read if you like a little history of programming langugaes with a nice narrative:
void my_copy(char *dst, const char *src, int n) { for (int i = 0; i != n; ++i) dst[i] = src[i]; } }
On LP64 platforms, this code has implicit sign-extensions to convert
the 32-bit int "i" to 64 bits in the array index expressions.And small loops turn small problems
into big problems. The result is around a 12% slowdown on the machine
I happen to be typing this on.However, C compilers have a way to fix this problem, by repurposing
an ancient hack. Long ago, the C standard was designed to accommodate
machines that didn't use two's complement representations for signed
integers. Different representations lead to different behaviors on
overflow, and the C committee decided to make signed integer arithmetic
portable by declaring that overflow in a signed integer type gets
undefined behavior. Since then, two's complement has largely taken over,
but the C standard still has that rule.
Today, compilers use this rule to promote 32-bit "int" variables to 64
bits to eliminate these troublesome sign extensions. This is considered
valid because any time this would change the behavior of the program,
it would be an overflow in the narrower type, which the rule says is
undefined behavior.
-
-
https://twitter.com/everyboolean
Looking forward for the tweets on other languages.
-
Who installs random packages that do nothing? Spoiler alert: This article is a complete waste of time.
-
Fantastic article, must read for liberals who can't get over Trump.
-
Avoid sharing in places where this will attract the wrong kind of attention, as per your best judgment.
I question your judgement here ;)
-
That said, if we're posting cool political links, I got linked to this site that attempts to explain all the positions out there on most of the issues so people can understand each other better:
-
@Yamikuronue said in 🔗 Quick links thread:
Spoiler alert: This article is a complete waste of time
You're not joking:
Something I thought would be fun to dig into really wasn’t.
Fascinating!
-
https://www.reddit.com/r/programming/comments/5emlt9/lets_encrypt_everything/dadq26f?context=1
Ehehehe
-
Across 33 rich countries, only 5% of the population has high computer-related abilities, and only a third of people can complete medium-complexity tasks...
The numbers for the 4 skill levels don’t sum to 100% because a large proportion of the respondents never attempted the tasks, being unable to use computers. In total, across the OECD countries, 26% of adults were unable to use a computer.
-
@bb36e said in 🔗 Quick links thread:
Worse Than You Think
I fix other people's computers for money so no, it isn't worse than I think.
-
-
Story of Your Life, by Ted Chiang:
http://robertomunizdias.com/wp-content/uploads/2016/11/Ted-Chiang-Story-of-Your-Life.pdf
The short story on which the movie Arrival was based. Before it got the Hollywood treatment.
Side note: I temporarily deleted the URL before I finished typing the rest of the post, because the onebox in the preview was hitting the server on each key press.
-
@ScholRLEA said in 🔗 Quick links thread:
@OffByOne More like someone rediscovered Buddhism, again. Happens from time to time, under names such as Gnosticism, Sufiism, 'Satanism', or any of several other things. Philip K. Dick had basically the same the same experience, but had enough sense to stick to writing novels about Black Iron Prison rather than trying to find converts.
You apparently know nothing about Buddhism, sorry guy.
-
@Zecc said in 🔗 Quick links thread:
Side note: I temporarily deleted the URL before I finished typing the rest of the post, because the onebox in the preview was hitting the server on each key press.
You should know better by now to always mystery your raw links as the last thing you do before submitting your post.
Edit: I foolishly skipped to the end two pages (because mobile and whoops scrolling). Is it ruined for me now?
-
I found this an interesting read, though the clickbait headline doesn't do it justice. Certainly better than the rubbish Kevin Spacey film about card counters.
-
-
In total, across the OECD countries, 26% of adults were unable to use a computer.
Emphasis theirs
-
@RaceProUK In Dutch there's even a name for people who can't use computers: 'digibeet' (derived from 'analfabeet', the Dutch word for someone who is illiterate). It's considered a real problem.
-
@PleegWat said in 🔗 Quick links thread:
analfabeet
I'm guessing derived from latin an, alpha, and bet, meaning "without letters"? Which makes "digibeet" nonsensical etymologically, but language is weird that way
-
@Yamikuronue Got it in one.
-
@PleegWat said in 🔗 Quick links thread:
analfabeet
What's a fabeet and what's special about an anal one?
Filed under: #Susanalbumparty