WTF Bites
-
@boomzilla said in WTF Bites:
Yeah, we run ours in our own data center and I don't have any significant performance gripes.
: Jira support, how may I help you?
: I'm experiencing performance problems.
: I see. Sir, have you considered building a data center?
-
@Zerosquare said in WTF Bites:
@boomzilla said in WTF Bites:
Yeah, we run ours in our own data center and I don't have any significant performance gripes.
: Jira support, how may I help you?
: I'm experiencing performance problems.
: I see. Sir, have you considered building a data center?So... it works very well if you are on the same network segment as the cluster serving it all up? Who'd have thought...
-
@Zerosquare said in WTF Bites:
@boomzilla said in WTF Bites:
Yeah, we run ours in our own data center and I don't have any significant performance gripes.
: Jira support, how may I help you?
: I'm experiencing performance problems.
: I see. Sir, have you considered building a data center?So... it works very well if you are on the same network segment as the cluster serving it all up? Who'd have thought...
It's not a given in today's world!
-
@Tsaukpaetra said in WTF Bites:
@Zerosquare said in WTF Bites:
@boomzilla said in WTF Bites:
Yeah, we run ours in our own data center and I don't have any significant performance gripes.
: Jira support, how may I help you?
: I'm experiencing performance problems.
: I see. Sir, have you considered building a data center?So... it works very well if you are on the same network segment as the cluster serving it all up? Who'd have thought...
It's not a given in today's world!
What, thinking? No, definitely not.
-
@sebastian-galczynski said in WTF Bites:
on-premises Jira
is as good as dead leaving you only with
cloud version
-
@sebastian-galczynski Based on DNS lookups, it looks like they're using AWS, so data transfer from EC2 starts at something like $0.09/gb.
Assuming it takes about 26 mb of data per page refresh like you said and approx. 45s per page load, you should be costing them approx $0.10 every 30 minutes if you've set up your browser to auto-refresh every 45 seconds. In other words, you'd cost them about $2.40/day, or ~$72/month if you were to leave this running all the time.
I'm afraid it's gonna take a long time until they run out of money:
-
Article @bulb posted in Replacing shells said:
post ES6, it is actually quite pleasant to use, and has some really good parts, like injection-proof template literal semantics. But all the old WATs like
["10", "10", "10"].map(parseInt)
are still there.
Why would you define
map
like that?!
-
@Zerosquare said in WTF Bites:
@boomzilla said in WTF Bites:
Yeah, we run ours in our own data center and I don't have any significant performance gripes.
: Jira support, how may I help you?
: I'm experiencing performance problems.
: I see. Sir, have you considered building a data center?So... it works very well if you are on the same network segment as the cluster serving it all up? Who'd have thought...
I'm definitely not on the same segment. I think we're at a data center run by corporate somewhere in Tennesee at this point. It was super slow when we first migrated but I think that was due to plug in version incompatibility or something.
-
Article @bulb posted in Replacing shells said:
post ES6, it is actually quite pleasant to use, and has some really good parts, like injection-proof template literal semantics. But all the old WATs like
["10", "10", "10"].map(parseInt)
are still there.
Why would you define
map
like that?!the callback takes additional optional arguments that parseInt is interpreting as a radix –
[parseInt("10",0), parseInt("10",1), parseInt("10",2)]
gives[10, NaN, 2]
-
@sebastian-galczynski said in WTF Bites:
on-premises Jira
is as good as dead leaving you only with
cloud version
The “datacenter version” remains supported, but that starts at 500 users and only becomes cost-effective at higher thousands of users.
-
-
remains supported
for now and the roadmap is flatlining
You sound like a bicyclist with a fetish for hills there.
-
@izzion
only when it's offroad and going downhill
-
the callback takes additional optional arguments that parseInt is interpreting as a radix –
[parseInt("10",0), parseInt("10",1), parseInt("10",2)]
gives[10, NaN, 2]
</big>
I don't into JS ( ) but I don't get
10
vs.NaN
.I'm assuming (yeah, yeah, I know...) that
parseInt(..., n)
says "basen
means only digits in[0..n-1]
are allowed henceparseInt("10", 2)
is an error (NaN
)." I even further accept that "base 0" doesn't have a definition soparseInt()
just says ", I'll return whatever I want" but why does it return...Oh wait... I guess it says "base
0
is invalid therefore I'll use base10
?" That would explain it.Is that it?
-
the callback takes additional optional arguments that parseInt is interpreting as a radix
Yes, that's why I wrote:
Why would you define
map
like that?!
-
I'm assuming (yeah, yeah, I know...) that
parseInt(..., n)
says "basen
means only digits in[0..n-1]
are allowed henceparseInt("10", 2)
is an error (NaN
)." I even further accept that "base 0" doesn't have a definition soparseInt()
just says ", I'll return whatever I want" but why does it return...Oh wait... I guess it says "base
0
is invalid therefore I'll use base10
?" That would explain it.Is that it?
0
in this situation probably means "take a guess based on the prefixes — like0x
— that you can find on the number". Because smartass guessing like that is totally the sort of thing that JS likes.
-
I'm assuming (yeah, yeah, I know...) that
parseInt(..., n)
says "basen
means only digits in[0..n-1]
are allowed henceparseInt("10", 2)
is an error (NaN
)." I even further accept that "base 0" doesn't have a definition soparseInt()
just says ", I'll return whatever I want" but why does it return...Oh wait... I guess it says "base
0
is invalid therefore I'll use base10
?" That would explain it.Is that it?
0
in this situation probably means "take a guess based on the prefixes — like0x
— that you can find on the number". Because smartass guessing like that is totally the sort of thing that JS likes.I wouldn't blame javascript in this case, since
strtoul()
has the same behaviour.
-
the callback takes additional optional arguments that parseInt is interpreting as a radix
Yes, that's why I wrote:
Why would you define
map
like that?!Eh, the problem isn't the map function itself here. Those extra parameters are useful to have when you need them. Just don't be excessively lazy.
["10","10","10"].map( x => parseInt(x)) (3) [10, 10, 10]
It's important to calibrate the .
-
@boomzilla I think the point is that clearly they should have defined
map
so that it treats the callback differently when it'sparseInt
.
-
@Zecc sounds as good as any other explanation.
-
@HardwareGeek said in WTF Bites:
@Tsaukpaetra said in WTF Bites:
@Zerosquare said in WTF Bites:
@boomzilla said in WTF Bites:
Yeah, we run ours in our own data center and I don't have any significant performance gripes.
: Jira support, how may I help you?
: I'm experiencing performance problems.
: I see. Sir, have you considered building a data center?So... it works very well if you are on the same network segment as the cluster serving it all up? Who'd have thought...
It's not a given in today's world!
What, thinking? No, definitely not.
This is the umpteenth time you have made this exact same joke, by the way.
-
I'm assuming (yeah, yeah, I know...) that
parseInt(..., n)
says "basen
means only digits in[0..n-1]
are allowed henceparseInt("10", 2)
is an error (NaN
)." I even further accept that "base 0" doesn't have a definition soparseInt()
just says ", I'll return whatever I want" but why does it return...Oh wait... I guess it says "base
0
is invalid therefore I'll use base10
?" That would explain it.Is that it?
0
in this situation probably means "take a guess based on the prefixes — like0x
— that you can find on the number". Because smartass guessing like that is totally the sort of thing that JS likes.I wouldn't blame javascript in this case, since
strtoul()
has the same behaviour.JavaScript's lack of types makes it much, much worse.
-
I'm assuming (yeah, yeah, I know...) that
parseInt(..., n)
says "basen
means only digits in[0..n-1]
are allowed henceparseInt("10", 2)
is an error (NaN
)." I even further accept that "base 0" doesn't have a definition soparseInt()
just says ", I'll return whatever I want" but why does it return...Oh wait... I guess it says "base
0
is invalid therefore I'll use base10
?" That would explain it.Is that it?
0
in this situation probably means "take a guess based on the prefixes — like0x
— that you can find on the number". Because smartass guessing like that is totally the sort of thing that JS likes.I wouldn't blame javascript in this case, since
strtoul()
has the same behaviour.JavaScript's lack of types makes it much, much worse.
Javascript's l'assaiz faire approach to the number of arguments that a function takes would be a key point. Yes, it isn't the only language to have variadic functions, but it is particularly inclined to do unexpected weird things as a result.
-
I'm assuming (yeah, yeah, I know...) that
parseInt(..., n)
says "basen
means only digits in[0..n-1]
are allowed henceparseInt("10", 2)
is an error (NaN
)." I even further accept that "base 0" doesn't have a definition soparseInt()
just says ", I'll return whatever I want" but why does it return...Oh wait... I guess it says "base
0
is invalid therefore I'll use base10
?" That would explain it.Is that it?
0
in this situation probably means "take a guess based on the prefixes — like0x
— that you can find on the number". Because smartass guessing like that is totally the sort of thing that JS likes.I wouldn't blame javascript in this case, since
strtoul()
has the same behaviour.JavaScript's lack of types makes it much, much worse.
Javascript's l'assaiz faire approach to the number of arguments that a function takes would be a key point. Yes, it isn't the only language to have variadic functions, but it is particularly inclined to do unexpected weird things as a result.
I'd argue that it has a laissez faire approach to basically everything. Well, at least you can't monkeypatch core function to do something completely different than what you expect like with Ruby.
-
l'assaiz faire
I'd go , but this is JS we're talking about, so I'll assume you got it wrong on purpose.
-
@Zerosquare was involved.
-
-
@Zerosquare I wasn't sure of what assaiz was, nor whether faire was also a noun and not just a verb, so I went to Google Translate.
The translation of faire isn't ready yet, it seems.
-
-
Shit just got real.
-
@Gern_Blaanston surely they can prepare a flesh-melting local equivalent from kerosene, yes?
Rated version: Simply make pill big enough. Will work. Is simplest hydrodynamic displacement.
-
@Gern_Blaanston Last year already, a major german condom producer went bankrupt - because a quarter of their business was in russia, and they were no more able to get real money from that business...
-
@BernieTheBernie said in WTF Bites:
@Gern_Blaanston Last year already, a major german condom producer went bankrupt - because a quarter of their business was in russia, and they were no more able to get real money from that business...
Headline of the day:
Condom maker gets fucked.
-
The current verison of Chrome (110) has been very crashy / buggy for me. It often gets into a state where the right click menu appears and then instantly disappears. Google Sheets gets lots of weird flickering or something.
The new "memory saver" thing is annoying, too. I get that they'd become a meme, but what's the point of having 32GB of RAM if I have to wait for my email tab to reload? I guess I should look for a setting on that.
EDIT: Ah, there it is.
-
@boomzilla said in WTF Bites:
The current verison of Chrome (110) has been very crashy / buggy for me. It often gets into a state where the right click menu appears and then instantly disappears. Google Sheets gets lots of weird flickering or something.
The new "memory saver" thing is annoying, too. I get that they'd become a meme, but what's the point of having 32GB of RAM if I have to wait for my email tab to reload? I guess I should look for a setting on that.
EDIT: Ah, there it is.
Hmm....yeah, definitely seems more stable so far (), especially Google Sheets.
-
Nothing really wrong with this article, but you don't often see a headline containing the words "pee bubbles" and "anal catapault".
-
@boomzilla said in WTF Bites:
especially Google Sheets.Google Sheeeeit
-
@Gern_Blaanston said in WTF Bites:
Nothing really wrong
Sure there is! The random absurd claim that somehow your phones will urinate in the future!
-
@Gern_Blaanston said in WTF Bites:
Nothing really wrong with this article, but you don't often see a headline containing the words "pee bubbles" and "anal catapault".
So, nature basically invented the ink jet before us. Except that's not ink.
-
@Zerosquare Would be a pretty shit inkjet printer, and come with a catch-22. It can only print yellow, but because only yellow is available it will refuse to print because all other colours are empty.
-
@Zerosquare Would be a pretty shit inkjet printer, and come with a catch-22. It can only print yellow, but because only yellow is available it will refuse to print because all other colours are empty.
So just like every other inkjet.
-
What example?
Did you find this tip userful?
Where's the "I find it confusing" option?
-
@TimeBandit what's confusing about it? Aside from the name being a bad name.
-
what's confusing about it?
I'm not surprised that the master of confusion is not confused by it.
-
@TimeBandit it's only like a 1.5 confusing and yeah frankly I can barely taste it.
-
@Gribnit Scoville?
-
@Gribnit Scoville?
Yes (mutatis mutandis), this scale is Scoville-based.
-
Status: go home Amazon, you're drunk....
-
Florida gives us a good before we leave. Last night we went out to dinner. The restaurant has no paper menus. They have the stupid QR code, look at the menu on your mobile device. Thankfully I had my iPad with me because trying to view a menu on a 4.3” screen is retarded.
So I attempt to order, but I am unable to add anything to our cart. Every item has a required configuration option that does not work. I ask our server and she tells us that we have to order from her. So that doesn’t work and instead of just printing paper menus they keep the system and I am guessing that the dropdown configuration was intentionally broken because everything behind it was broken.
So our server told us that we order everything from her, but then we have to pay through that site. I assumed that they would give us a receipt with a QR code on it or something. Nope. The little coaster thing with the menu QR code on it, the QR code is specific to our table. When I go to pay I scan the QR code thing and the “Check” tab has nothing on it. So surely there is a backup plan right? Fuck no. No one thought that far ahead.
Here is where I am guessing and assuming. I assume that the QR coasters got mixed up. Tables moved together and then moved apart. Or busboys messed them up. Whatever. Regardless, our check is empty and there is no way to pay it and they have no fucking way to fix this. Or at very least no one there that knows how to fix it. So I eventually tell them that I am happy to pay the check, but they need to give me a way to do so or else I am fucking off and leaving.
All through this our server is being extremely nice and our service was great so we gave her all the cash we had as a tip and left. The manager had been mildly apologetic up until that point but really did not want us to be forced to walk out on a $180 check. Which we did.
-
@Polygeekery I could understand that for a restaurant which has a regularly changing menu like the one near where I am living.
Then again, this restaurant is so good and can command such prices (but not overpriced, mind!) that they can afford a printer.
It also helps that their menu is "only" two pages wide. The changes are due to them using regionally sourced ingredients and thus their menu changes with the seasons.