WTF Bites
-
@Tsaukpaetra said in WTF Bites:
Artificial scarcity?
Why would they do that??
If the games were traded, it would rise the price. But they can't and the price won't change. So it makes no sense.
The vendor might want to increase the price when it's selling better than expected. But Steam can't do this themselves anyway, so it doesn't explain the limit from their side either.
-
So, I was looking at some libraries for easy styling of a React project and stumbled over these guys:
I'm not sure why they're calling it a "Design Language". Must be some Chinese thing. Anyway, the components looked nice enough, so let's do a simple
npm install --save antd
aaaaand...... now I have to modify the babel configuration because they think it fun to yell at me for importing the whole library on the client. Okay, did that, on to actually trying it out...
... wait, what's this?
Unable to revolve some modules: "indexof" in foo/index.js (web.browser) Consider running "npm install --save indexof" if you're noticing problems.
Before you ask: Yes, there were problems.
Wait. A module named "indexof"? Yes, there is one. It's at Version 0.0.1 but that's okay because it contains this:
var indexOf = [].indexOf; module.exports = function(arr, obj){ if (indexOf) return arr.indexOf(obj); for (var i = 0; i < arr.length; ++i) { if (arr[i] === obj) return i; } return -1; };
Jesus Christ. If those antd guys really need a module to implement this function then I'm not touching their stuff with a ten-foot pole. Not to mention that if their code relies on "padLeft mark 2" they really should consider putting it into the dependencies which was kind of the whole point of npm...
-
-
@Yamikuronue Yes, that was the first strike. If I have to touch the babel config you won't win any brownie points right off the bat :)
-
@Rhywden I'm at the point where if you use babel, you start at -10, you have to convince me you really need it and aren't just jealous of cool toys in newer versions
-
Design Language
To be fair I'm reasonably sure that they meant UI Design not 'Design Language'.
And to be fair they ask you to do
npm install antd-init -g
In 'Getting Started'.
And apparently this is what you should do
A new project can be created using CLI tools.
antd-init will run npm install after a project is created. If it fails, you can run npm install by yourself.$ mkdir antd-demo && cd antd-demo $ antd-init
Which is probably worth another WTF Bite.
-
@Yamikuronue said in WTF Bites:
@Rhywden I'm at the point where if you use babel, you start at -10, you have to convince me you really need it and aren't just jealous of cool toys in newer versions
I just remembered that I'm actually using TypeScript which makes babel just a tiny bit superfluous. Might also explain why their shit broke if it has a hard dependency on babel.
-
style in the wild:
They deliberately removed the "close to system tray" feature that, like, every IM client ever has had because apparently some Linux DMs don't have system trays. There's still an open ticket that could theoretically fix this:
-
@Jarry I'd planned to buy it a couple of days ago and then some of the games became unavailable. But I checked today and they were all back except Subnautica.
-
@coldandtired said in WTF Bites:
@Jarry I'd planned to buy it a couple of days ago and then some of the games became unavailable. But I checked today and they were all back except Subnautica.
It has Guacamelee twice. In two different editions.
(Also, Guacamelee is great. I highly recommend it.)
-
@coldandtired I'll check if they gave me those too.
-
Might also explain why their shit broke if it has a hard dependency on babel.
Why should any library have a dependency on that? By now there is thousand and one tools that transpile ES6 to plain or minified ES5 and you may be using any other—or none if your target can be limited to browsers or devices that have ES6 already.
-
(Also, Guacamelee is great. I highly recommend it.)
Plus, you get to save the Presidente's Daughter.
-
@boomzilla said in WTF Bites:
because apparently some Linux DMs don't have system trays
What? Which ones and which "regular" user will have one of those and get confused by it not being able to minimize? Alternatively, what's preventing them to check if tray is available and making the action on window close "open a dialog that asks user if they want to close" instead of "minimize to tray"?
Or are they just too lazy to move from
libappindicator
tolibnotify
? It's the latter, isn't it?
-
Or are they just too lazy to [xyz]?
I always go for that explanation if possible. It's usually more likely to be true than not...
-
Had to sign up for a new service the other day. After writing my information down and submitting, the page reported a server error and to please try again later. After a few tries, I tried lowering the length of my password from 32 characters to 20. That resolved the server error issue.
They're not getting my CC info.
-
Or are they just too lazy to move from libappindicator to libnotify? It's the latter, isn't it?
Perhaps they're just far more courageous than all the other IM developers.
-
By now there is thousand and one tools that transpile ES6 to plain or minified ES5 and you may be using any other
But they're using Babel. So in order to compile their code, you need Babel. It (should be) listed as a dev dependency.
-
@Rhywden Only just seen this.
Is there any JS implementation that doesn't define
indexOf
? I mean seriously, that shit's literally as old as JavaScript itself! It's so old it's almost coprolite!Yes Chrome, 'coprolite' is a perfectly cromulent word.
-
@RaceProUK said in WTF Bites:
Is there any JS implementation that doesn't define indexOf?
Introduced in ES5.1.....
let's see..... Chrome supported from day one, as did opera and safari. Firefox got support in 1.5, though it wasn't in compliance with the spec until 1.8 due to a bug, IE added it in 9.
so no, there is literally no reason for that module to exist for nodeJS, and the only reason to use it browser side is if you have to support IE8 or lower, in which case i say: KILL IT WITH FIRE
-
Notably, we defined Firefox 57 as the first release where only WebExtensions will be supported. In parallel, the deployment of Multiprocess Firefox (also known as e10s) continues, with many users already benefiting from the performance and stability gains.
...
Complete themes. These add-ons shouldn’t have problems with multiprocess compatibility but will follow the same compatibility milestones as other legacy add-ons. We will provide more details on what’s coming for themes very soon in this blog.You mean you're going to disable them all and stop supporting them?
Firefox 57, November 28th release:
Firefox will only run WebExtensions.
Well, poop. I'm just annoyed because this means that my mouse gestures add-on is going to stop working if I update. I'm already pulling a Lorne by running the older unbranded build, but this really confirms it.
My main annoyance with the new extensions is that they're injected into the page as scripts, so e.g. if the site messes around with key bindings your script won't get key presses. I installed a gestures add-on for chrome and I noticed:
- Gestures don't work on Gmail because right-click opens the Gmail right click menu
- You can't right-click and drag on links because Chrome's native right-click menu opens instead
- On some sites (e.g. Twitter) the UI overlay created by the add-on has fucked up styling because of the site's CSS (?????) Why the fuck would I want my add-ons to be affected in any way by the sites that I visit?
I'm going to experiment with WebExtensions again and post my results here, the last add-on I wrote used the old thing because I wanted a native popop window but let's see how much 'better' this is. At least this way I'll have 'good' reasons for acting like a crotchety old man
-
Gestures don't work on Gmail because right-click opens the Gmail right click menu
You can't right-click and drag on links because Chrome's native right-click menu opens insteadFWIW, both of these work correctly in both Opera in Vivaldi out of the box.
If any of them have any kind of overlay in current iterations I have them off, so... do you need it? As in, if you can use gestures without the overlay, well, that fixes it.
Also, for any other needs, Vivaldi supports all Chrome extensions by default, for Opera there's an extension that will let you do it (I think it just spoofs the useragent for the Chrome store, really, all the code is the same except for the fact Opera has a few extra hooks that are Opera-only).
-
@Onyx I don't need the overlay but it just indicates to me that there's something really wrong with the way add-ons are designed. In FF the add-on displays info in the 'status bar' so it's never broken
-
@Bulb AFAIK Steam doesn't do this to themselves, but third-party retailers can be "sold out" of Steam game licenses (because they buy them in batches rather than at transaction time -- the latter would make the transaction harder to implement).
-
because they buy them in batches
You don't buy Steam keys. The game publisher can request them for no charge. Nobody makes any money off Steam keys being generated or used.
-
@accalia not to mention it's an ass-backward way to write a polyfill. It should look like...
if (!Array.prototype.indexOf) Array.prototype.indexOf = function (searchElement, fromIndex) { ...
-
@ben_lubar OK. Does the other part of my comment (as in being obtained in batches rather than on-demand) remain valid though?
-
@ben_lubar said in WTF Bites:
You don't buy Steam keys. The game publisher can request them for no charge. Nobody makes any money off Steam keys being generated or used.
But we need to avoid wasting keys and guids
-
-
This post is deleted!
-
@bb36e I never know if it's a normal deleted post or if people are fbmacing me because fbmac fbmacs
-
@fbmac How much mac would fb mac if fbmac mac'd fbs?
-
@boomzilla Seventeen.
-
@ben_lubar OK. Does the other part of my comment (as in being obtained in batches rather than on-demand) remain valid though?
Yes.
-
@bb36e I never know if it's a normal deleted post or if people are fbmacing me because fbmac fbmacs
-
-
-
-
???
-
-
-
-
???
-
The YouTube app on my phone has been acting weird with my Chromecast - I can start a video or playlist going but then it remains in a perpetual "connecting" state and I have to use the Home app to be able to pause the video. Or so I thought - if you wait long enough, it will actually start "playing" in the interface, but it makes no attempt to remain in sync with the Chromecast...or reality, for that matter...
-
@LB_ I noticed that as well. Happens on the webpage version of YouTube too.
-
@boomzilla said in WTF Bites:
@fbmac How much mac would fb mac if fbmac mac'd fbs?
Can't resist!
But would a mac fb mac if fbmac mac'd fbs?
-
http://i.imgur.com/OVbHH0U.jpg
Um... Wrong "Fish", Google.
-
Translation of the notification: "there may be new messages"
-
@Jarry is this the new clickbait?
"Hey, hey, there might be something here! Wanna find out?
HAH! JUST AN AD! GOTCHA!"
-
Today's WTF Bite comes from Facebook (TRWTF?).
After you comment on a post, you automatically start to receive notifications for that post (i.e. every time someone else comments on it). When you go to turn the notifications off, it indicates that they're already off, because the post's menu lets you turn them on: (when they're already on)
tl;dr: they default to on, and to turn them off, you have to first turn them on, and then you can turn them off (and then they're really off). It's -tastic.
(this has been the case for at least a pretty long while.)