« first day (1809 days earlier)      last day (3154 days later) » 

9:00 AM
@R.MartinhoFernandes make sure to put it in your shirt pocket and monologue at length about your kids and how you love and miss them when/if you get into a firefight and you should be good to go
I saw it in a documentary
 
@BartekBanachewicz Hmm, kinda awkward to carry, but could be useful next January in Norway.
 
I've heard that 43Ah is the limit for airplanes
 
@LucDanton OH SHIT IT ONLY WORKS IF I HAVE KIDS?
 
What are you going to do in Norway?
 
user1804599
 
9:01 AM
but I guess you're not flyin
 
@LucDanton brb, undressing my gf.
6
@JohanLarsson Same as last year in Sweden!
 
Tromsø this time.
 
@R.MartinhoFernandes also postpone retirement
 
it's apparently good.
 
9:02 AM
@BartekBanachewicz lolwut?
Is that per unit, or total?
 
@R.MartinhoFernandes [citation-needed] vOv
@R.MartinhoFernandes I think per-unit
 
If total, I've broken that so many times.
 
@R.MartinhoFernandes Have a look at how cloudy it is, huge difference if you are to the west of the mountains. Some places in Norway have rain or snow 364 days per year.
 
But then, I've also boarded a plane with scissors alongside a friend whose family name on the passport didn't match the one on the ticket.
 
9:03 AM
apparently it's 100WAh, which is 20Ah at 5V (wut, small)
 
And that was after being taken for manual metal search and asked to open my backpack and show its contents. Scissors were in the backpack.
 
dunno if the powerbanks output full 5V for usb though
it's prolly closer to 3.5
 
If that plane crashed, I wouldn't be surprised if the news thought we were the culprits. We both had beards.
(I wouldn't be surprised because I would be dead)
 
I also am living the thug life. When they asked if I had any liquid I didn’t think to consider the toothpaste.
 
@BartekBanachewicz ones I've tested are 5V, it's USB power, so it kind of has to be
 
9:07 AM
Now I always fly with scissors.
@BartekBanachewicz That doesn't make much sense.
 
so long as you don’t run
 
Some do have crap charging rates, though.
 
mine has 5V stamped on the back
 
I remember bringing round, plastic scissors as a kid in Netherlands once. The woman at the security screening went all Dutch and CONFISCATED MY ROUND PLASTIC SCISSORS because yes a 9 year old is very dangerous when armed with such a device.
I still hate her btw
 
@BartekBanachewicz It's the USB spec.
The pack I have has the best charge rate I've seen so far. I don't have anything that charges faster, not even from the wall.
 
9:08 AM
The 1st rule of Fight Club is do not touch my round, plastic scissors.
 
@AnastasiyaAsadullayeva my word those plastic scissors are crap
 
@R.MartinhoFernandes rechargeable AA/AAA power cells should have 1.5V
 
In retrospect maybe those people get paid by the number of confiscated items
 
@BartekBanachewicz So what? You can't use them to run a USB socket without a step-up converter.
 
@AnastasiyaAsadullayeva they sell them you see
 
9:09 AM
@R.MartinhoFernandes my point is that the rechargeable ones have 1.2
 
@BartekBanachewicz yes, but you don't hook the cell directly up to your phone to charge it
 
and they are technically a replacement for the alkaline ones i think
 
@BartekBanachewicz The primary cells output 1.5V only when full. It's more like 1-1.5V.
 
must electronics that use AA or AAA cells need to handle that they lose voltage over time.
 
The rechargeable ones output 1.2V more or less throughout the whole cycle.
 
9:12 AM
The non rechargeable ones start at like 1.8 and dip down over time to like 1.2
 
@AnastasiyaAsadullayeva how many of your attempts to invade countries were thwarted like that
 
Also laptops are allowed onboard, right? Isn't it easy to replace the battery or whatever with something explosive
 
@fredoverflow unce unce unce unce, yeah, now I know it's serious programming time
@AnastasiyaAsadullayeva yes, yes.
 
@AnastasiyaAsadullayeva IIRC you have to show that the device is working.
 
but they do have magical scanners that cab detect that shit
 
9:14 AM
@JohanLarsson no
 
@JohanLarsson never seen that
maybe it's an american thing
 
@AnastasiyaAsadullayeva chemical sensors pick that up
also x-rays would allow them to spot it
and just to fuck with NSA: terrorism america 7/11 bomb plane detonator
 
@thecoshman Don't have a source but think I read that phones that were out of battery were confiscated.
 
@BartekBanachewicz /bin/laden
 
@JohanLarsson lol
 
9:16 AM
@JohanLarsson Seriously, you don't have to do anything. Just put the tools in the backpack and board the fucking plane.
 
or the regular plane
 
@JohanLarsson Yes, and a number of other random "measures" as well. Just don't wear a turban.
 
@AnastasiyaAsadullayeva Indeed, that's the fucking plane
 
oh also in other news
my cat is ill again
 
@R.MartinhoFernandes Irish and UK airports like you to put such things separate to be scanned on their own
 
9:17 AM
the doctor said it might be because of the stress because we left for a while and new cat arrived
 
@thecoshman What things? Plane boarding equipment?
 
@R.MartinhoFernandes :( if only we could take that as a joke
 
so I have a blood-deep gash in my arm after giving him his eye medicine today
4 days to go.
 
@R.MartinhoFernandes laptops
 
@thecoshman Seriously, I'm not joking about the scissors.
 
9:18 AM
@R.MartinhoFernandes that’s how I did it for my toothpaste as well
 
@BartekBanachewicz s/doctor/vet/ ... I hope...
 
don’t tell anyone though
 
@R.MartinhoFernandes vOv I've said it many many times, you're special :P
 
I went through the metal detectors, and the backpack too. Then I got pulled aside for them to use the hand metal detector. And then I had to go into a side room to get my backpack and open it and show the contents to the people there. Then closed everything and they wished me a nice flight.
 
did they just fail to see them?
 
9:20 AM
And that was the only time so far that there was anything remotely close to them finding anything. I have always boarded planes with scissors since, and I just go through the metal detectors without a hitch.
I don't do anything special. I just put them in the backpack.
@thecoshman Yes.
 
gcc pls
@R.MartinhoFernandes How about passports do you board with passports
 
@AnastasiyaAsadullayeva language restriction
 
MSVC and Clang don't warn
 
dunno what’s the status on fixing it, there used to be a proposal a long time ago but I don’t recall what happened to it
 
@AnastasiyaAsadullayeva The friend I was traveling with on that same trip boarded with "Wayne" on his ticket but "Maddox" on his passport.
It's all garbage.
 
9:23 AM
@AnastasiyaAsadullayeva They didn’t check mine when I went, but they did on the return flight. Intra-Schengen though.
 
We were seriously concerned they wouldn't let him do his check-in at the counter, but we didn't even have to plead anything.
 
nice
maybe you guys are actually refugees
 
refujeez
morning
 
@R.MartinhoFernandes at my Flight to amsterdam they didn't even check IDs
 
"Oh your name doesn't match. Please place your luggage on the conveyor." places baggage "Here's your boarding pass; have a nice flight."
 
9:24 AM
ello ndy
 
I just scanned the barcode and went in
so anyone having that barcode could go in
Schengen is great
 
I always got my passport checked
 
@BartekBanachewicz Because anyone can go in. No checks when no checks are required is fine.
 
I don't even have a passport
 
What's nonsensical is actually checking and not caring that it's all wrong.
 
9:25 AM
heh
 
on inter-Schengen and intra-US flights they checked it at least twice
 
inb4 GLOBALIZED WESTERN CULTURE TAKING OVER
 
from one Schengen area to the other
 
> Luc Pedanton
 
user1804599
Luc Peddington
 
9:28 AM
@JohanLarsson Today
 
@R.MartinhoFernandes it probably wasn't clearly stated as part of their job
 
today is the last day?
 
@thecoshman Only way I'll have it - I want people to be content and I'm happy I had the time to /finish/ things properly.
 
I am not prepared
 
@AndyProwl I only bothered because you got it right just after lol
 
9:29 AM
@AndyProwl lol
 
@thecoshman I looked up FreeNAS and their website has a "What FreeNAS Users Are Saying" section. /cc @Ell
INSTANT TURN-OFF
 
unless you did fly from a US to another US
 
DAE constantly open new terminals and never close them and then the task bar is littered with those
 
WAKE-ON-LAN!
fixed
 
no, you’re the weird one
 
9:30 AM
@LucDanton I think it was the same US
 
good, now to patent the concept
 
@sehe It's just an odd idea that you have the time for that, here hangovers tend to be "oh, you're the guy they finally decided I'm to hand over to? Well, let's see what we can get done before I leave today on my final day"
@R.MartinhoFernandes so?
 
extra sass today cus I’m sick in bed
 
@AndyProwl for what?
 
@thecoshman for the last day
 
user1804599
9:31 AM
getchunklen←{¯1=len←¯1+⊃(NL⍷⍵)/⍳⍴⍵:¯1 ¯1 ⋄ chunklen←h2d len↑⍵ ⋄ (⍴⍵)<len+chunklen+4:¯1 ¯1 ⋄ len chunklen}
 
get out of bed then
 
1 min ago, by R. Martinho Fernandes
INSTANT TURN-OFF
 
user1804599
absolutely beautiful
 
@AndyProwl of what?
@R.MartinhoFernandes ... yeah, what's the big deal?
 
@AndyProwl as the world we know it yes.
 
9:32 AM
@thecoshman of everything I think
 
@AndyProwl fired?
 
@thecoshman It's like a telemarketing commercial.
 
3 mins ago, by sehe
@JohanLarsson Today
 
@R.MartinhoFernandes except you can skip right past it to the features vOv
 
universe ends today
 
9:33 AM
@AnastasiyaAsadullayeva legs too wobbly
 
@AndyProwl oooooooooooooooooooooooooooooh
 
And the download button opens this. (There's a small link at the bottom to skip to the real download page)
 
looks legit
 
@R.MartinhoFernandes ah yeah, fook that
 
@thecoshman Who cares? The people involved with FreeNAS thought they should put that there. It's not an accidental growth.
 
9:34 AM
@thecoshman Same here. Let's just say there was a good reason we mutually agreed to end the contract early.
The job was done. And the least I can do is finish it well, right
@R.MartinhoFernandes that photoshop effort
 
@sehe well, no, the least is nothing, but I know what you mean
 
:D
 
can I convert char8_t* literal to char16_t* or char32_t* literal at compile time?
 
> The new recommended boot device size is 8GB. FreeNAS requires 8GB of RAM to run properly.
Also not compatible with my box.
lol
@BartekBanachewicz Yes.
But that's not the answer to the question you wanted to ask.
 
@R.MartinhoFernandes wat; they run ZFS with dedup enabled or something
 
9:36 AM
@R.MartinhoFernandes I want to answer this
 
how did we even had routers all those years ago
 
@R.MartinhoFernandes what the shit?
 
Why does every goddamn ruby/python tool for config management CI require installing as root
 
I thought a polymorphic UDL that could convert to whatever's necessary would be a solution
 
@AnastasiyaAsadullayeva remember the blog thing?
 
9:37 AM
Ah yes the thing @sehe had linked?
 
@AnastasiyaAsadullayeva see also that rant about piss horse
 
@BartekBanachewicz Short answer is: don't bother. Just do it properly.
 
class SomeLiteral { operator const char8_t*; operator char16_t* ...
SomeLiteral operator"" _polymorphic(const char*);
@R.MartinhoFernandes no chance of getting this ^ to work?
 
9:37 AM
I mean, you can get some sort of hack. But that's it.
It won't be a real solution.
More like a collection of caveats.
 
@R.MartinhoFernandes what's a "real solution" here?
the guy only wants 8 -> {8,16,32}
 
I just assume the problem is not more strict than what he described.
 
"not more strict"?
 
But to start with, u8"A" and "A" are indistinguishable by type and not necessarily equivalent by value.
 
holy fuck this literal specialization
template<char... xs> struct<'a', xs>
this is pretty crazy
 
9:45 AM
-finput-charset=hell++
 
@LucDanton EBCDIC. But I can pick a hundred other examples that fail on mainstream boxes without exotic compiler settings.
 
that’s what I said
 
@R.MartinhoFernandes I don't get how I could output a new literal
as in, a pointer
I think I understand how to pass the characters to variadic pack
 
Make an array vOv
 
9:49 AM
@BartekBanachewicz It's just a dream. There isn't one. My recommendation is to give up and focus on better problems.
 
@R.MartinhoFernandes If I were uninformed I wouldn’t have mentioned the exact switch that controls the whole thing. It’s also arguably not exotic in that it’s always set to a reasonable default. Mentioning it explicitly is done for the sake of drawing attention to it. Same principle as -O0.
 
template<char16_t... str>
struct PolyLiteral {
    static char16_t arr[] = {str...};

    operator char16_t*() {
        return arr;
    }
}
@R.MartinhoFernandes like this?
 
@LucDanton Ah, k. I misinterpreted it.
 
I like hell++! Gotta break implicit assumptions. And the wording of the Standard.
 
@R.MartinhoFernandes it's an interesting problem. I don't think it's useful though.
 
9:50 AM
@BartekBanachewicz I just told you it's not solvable.
I also explained why.
There are simpler versions of the problem you can solve, but not this one.
 
Xeo
what problem?
 
user1804599
function_traits
 
1
Q: Use string litterals in a "char type" templated class

galinetteI have a template class in C++ which takes as a char_type template parameter the character type, such as char, wchar_t, char32_t, etc... The class then use std::basic_string<char_type> in the code. Then somewhere in the class I fill a table of escaping sequences such as "&amp;". This does not wo...

 
@R.MartinhoFernandes I only want to convert a literal of char8's to char16s
for fun
 
Actually, in this case, I'd just use macros. He's generating a table anyway.
 
Xeo
9:53 AM
yeah
X-macro style
 
user1804599
 
wtf
 
(Well, I'd probably use an external generator, but within C++ I'd just macro it out)
 
9:54 AM
why can't they hold the value in a basic_string initialized with a sort of convert<T>(const char*) thingy?
 
I don’t know why I didn’t hide the ugly bits behind a (plain, mind you) macro though
 
Xeo
Yeah, with the prefix as a parameter
 
maybe I pasted the literal prefix wrong or something
 
I don't understand why macros :(
 
also sometimes I go on Vim benders when I realise I can repeat/macro something and have the code appear before me
 
9:57 AM
@AndyProwl Because there's a ton of syntactic repetition?
 
@AndyProwl refactor the redundancy rapidly
 
@LucDanton <3
 
@R.MartinhoFernandes Based on what I gather from the question they have a char_type argument, they just needs to produce a basic_string<char_type> from a const char*
 
I wub you too
 
I don't see where the repetition is
 
9:58 AM
@LucDanton ooh
 
see code in annex
geddit?
 
@AndyProwl No, they want string literal syntax independence.
 
I don't understand
> This does not work as depending on the template character type, we would need to use "&amp;", L"&amp;", U"&amp;"...
basically he's saying he can't hardcode "..."
 
user1804599
 
9:59 AM
You can't write ""_c<char_type> and have it be the right type.
 
right
 
Suppose you want to write template<typenae CharT> std::basic_string<CharT> give_me_a_lol();
 
but you can write convert<char_type>("...") mp?
 
Result must be a string with a lol in it
how do
 

« first day (1809 days earlier)      last day (3154 days later) »