« first day (2028 days earlier)      last day (2921 days later) » 

11:00 AM
Actually, you'd try that, only to find that you need a better build system for the next OS iteration.
 
build system? you mean xargs? :D
 
;_;
 
Ven
@Griwes hahahahaha. Of course, chicken and egg problem :P
 
ಠ_ಠ
@Ven Though I'm kinda not too far away from having a working-ish build system thingy.
I primarily have to figure out how I want modules to work, really.
 
Ven
make them work just like in C++17
 
11:01 AM
find -name '*.cpp' -exec g++ '{}' ';' && g++ -o program $(ls *.o) lol
 
Ven
coughes
 
lol
@doug65536 eww, I forgot how terrible find's syntax is because I never -exec ;_;
Just fucking pipe it to xargs, goddammit.
 
Ven
-exec g++ {} \; should work, right?
 
@Ven I have the primary parts - i.e. core language and the task running mechanism - finished; as I said, now just finegrained semantics.
Say, should you have to explicitly import C++ support or not?
 
Ven
@Griwes do you waaaaant to build a bikesheeed?
 
11:03 AM
{} is handled by bash isnt it? IIRC it eats it
 
@Ven I live to bikeshed, bby
 
@Griwes « just »
 
Ven
@doug65536 no
 
@Morwenn Well, and actually invoking the compilers and linkers, but hey, it's further than I've got with this before!
And the language is really simple.
(And easily extendable with C++ plugins.)
 
How's it call'd?
 
11:05 AM
despayre
10 points for knowing why
 
@doug65536 find -name '*.cpp' -exec g++ -o program + \;
 
Jesus, just fucking pipe it to xargs like a human being.
 
@Griwes why???
 
> like a human being
 
Ven
find -0 | xargs -0
 
11:06 AM
@Griwes check ur arrows nablet
 
Ven
@DmitriBudnikov +? doesn't work on my mac™
 
The only acceptable actions for find are 1) -print 2) -print0 3) delete.
-exec should just... not exist.
 
@Ven escape it maybe idk I use a real OS
 
Heck, even -delete might be too much and breaking SRP.
 
@Griwes execdir is coolio though
 
Ven
11:06 AM
@DmitriBudnikov why would escaping it make any difference
@Griwes it definitely is, but it's useful :P
 
@Ven why doesn't it work on mac in the first place
 
@DmitriBudnikov Oh fuck you for reminding me that it exists.
 
Ven
I mean, "UNIX tools" and "SRP" are not two things that go well together.
 
execdir saves lives
 
@DmitriBudnikov Ah indeed, I fucked up.
 
Ven
11:07 AM
man ls into oblivion
 
man juice
 
Why would I tell you? Just google it, you lazy fuck.
 
Ven
@DmitriBudnikov inb4 flagged
 
@Ven "in man before"?
 
Ven
@Griwes whoops, thanks
 
Ell
11:14 AM
@Griwes people should use xargs instead
 
wimps
-exec oughta be enough for everyone
 
@Ell that's what I was saying all along!
 
Ell
I agree :3
 
@DmitriBudnikov SRP motherducker, do you speak it
 
Next you're going to suggest grep shouldn't take a file as argument and only be called as piped from cat
convenience do you speak it
 
11:15 AM
yes
 
Ell
you grep files? :V
 
What else would you grep?
 
Ell
I always do cat file | grep
 
grep -R is really deeply wrong
 
Ell
I mean, I can't believe you use the filename
instead of cat x | grep
 
11:16 AM
@Ell (I actually don't I just wanna be contrarian to Griwes. It's more important.)
 
Ell
haha fair enough :P
 
@DmitriBudnikov it'd be convenient if I could write grep foo bar instead of grep "foo bar"
 
But then how do you replace execdir
 
Never needed that shit.
 
hence nobody must need it ever, correct?
 
11:18 AM
yes /⸮
 
You have a hierarchy of folders, with tarfiles scattered all over. How do you extract them inplace?
you have 10 minutes
 
user1804599
@Ven halp
 
Ven
?
 
user1804599
You know Perl ++$x; when $x is a string?
 
Ven
yes
 
user1804599
11:20 AM
How to implement that XD
 
@DmitriBudnikov for file in find . -name "*.tar*"; do cd $(dirname $file); tar xf $(basename $file); cd -; done
or something
 
Ell
gah I can't get xrandr --scale to work :V
 
@Griwes You mean find . -name '*.tar' -execdir tar xf {} \;?
 
@DmitriBudnikov that's terrible
 
:christmas:
 
11:21 AM
\; <- ewww
 
? you need to escape it
 
also when was the last time you needed to unpack all tar files in a directory inplace
 
also it's vastly shorter and less error prone
fuck SRP
2 weeks ago thanks for asking
 
@DmitriBudnikov yes; that's the ewwww part
@DmitriBudnikov stop doing broken shit
 
griwes
griwes the world is not a perfect place
deal with it griwes
 
11:22 AM
it is
you just have to make it so
for example by not using retarded misfeatures
Cheers & HTH
 
user1804599
nice thanks
 
This is almost but not quite Bartek-level extremism
 
@Griwes Like aging?
 
11:26 AM
lol
 
11:38 AM
@Griwes Did you end up submitting that bugreport?
 
user1804599
This is amazing!
 
user1804599
(λb.(λc.b (c c)) λd.b (d d)) free
free ((λb.free (b b)) λc.free (c c))
free (free ((λb.free (b b)) λc.free (c c)))
free (free (free ((λb.free (b b)) λc.free (c c))))
 
user1804599
:D :D :D :D :D
 
Not yet.
I'm a lazy fuck, remember
 
So there's this library called mockgoose which is a mock over mongoose which is one of the most popular libraries for interfacing with MongoDB over JS.
 
11:42 AM
@Griwes It's people like you who are holding humanity back.
 
We ran our tests both with a MongoDB database and the mock library (which supposedly keeps everything in RAM) and the mock library results 50% slower than the real library.
The fuck
 
@Morwenn No, it's the people like those who don't fix litb's bug reports in the first three years of their existence.
 
Ven
@Shoe lol mongoose
 
@Shoe does the mock library use shenanigans like reflection and stuff
 
mongoose is shit
 
user1804599
11:45 AM
Yay my tool can reduce the U combinator applied to itself to the identity function.
 
v useful
 
@Griwes Let's be honest, most people don't have a clue what he's talking about :v
 
user1804599
(λb.b λc.λd.λe.c e (d e) λf.λg.f) λh.h λi.λj.λk.i k (j k) λl.λm.l
(λb.b λc.λd.λe.c e (d e) λf.λg.f) λh.λi.λj.h j (i j) λk.λl.k
(λb.λc.λd.b d (c d)) λe.λf.λg.e g (f g) λh.λi.h λj.λk.j
(λb.λc.(λd.λe.λf.d f (e f)) c (b c)) λg.λh.g λi.λj.i
(λb.(λc.λd.b d (c d)) ((λe.λf.e) b)) λg.λh.g
λb.(λc.λd.c) b ((λe.λf.λg.f) b)
λb.(λc.b) λd.λe.d
λb.b
 
@Morwenn Compiler devs should have a clue about that, though :V
 
> Wake up son, the storm is over.
> It's time to remember why you are here.
@Griwes I mean, is it really a problem if only litb is complaining?
 
11:47 AM
@Morwenn I'm also complaining.
In the case of the GCC bug (for a use case that even MSVC supports).
 
But for how many years?
Also, the [[fallthrough]] issue has been open for 13 years IIRC.
 
For the Clang bug I was also thinking about, @R.MartinhoFernandes is also complaining (it's about the empty pack SFINAE thing).
 
@Morwenn Soon it'll have age of consent
 
@Morwenn LOOOOOOOOOL
 
I still haven't fixed the first issue I opened in my library :'(
 
11:50 AM
@Morwenn Which is...
 
Some hardcore template meta-wankery I never managed to implement.
Though it's conceptually simple.
 
:D
 
Basically, it's implementing this:
template<typename... TT, typename... UU, typename... VV>
struct hybrid_adapter<TT..., hybrid_adapter<UU...>, VV...>:
    hybrid_adapter<TT..., UU..., VV...>
{};
Conceptually simple.
 
Ven
conceptually what?
you have three splats and you think it's any kind of "sane"?
 
11:54 AM
@Morwenn Difficulty: ★★★★☆
 
@Morwenn Actually, I can't parse that at all..
 
@Ven Just an auto-unwrapping template parameter list.
 
> Dec 12 '12
twelve december 2012
 
@Morwenn I just wish the standard was happy with literally that implementation of that shit.
 
11:56 AM
@AndyProwl No idea
 
It was closed as being unhelpful, but it would be helpful for me
 
Replace hybrid_adapter by list to make it clearer.
 
It's one of the things that are really broken with variadic templates.
 
Ven
@Morwenn I get what it does. But don't pretend it's simple
 
@Griwes Yeah, me too :(
 
11:56 AM
@USERID_UNK It was closed as duplicate can't you read
 
I've been able to convince people that it needs to be valid a while ago, but then I stopped caring about the C++ standard much.
 
@Ven Well, the concept is rather simple. Perl lists do auto-unwrap, right?
 
@DmitriBudnikov Is it shit because it is related to MongoDB or because you actually have another library which is better?
 
I was even kinda close to writing an actual proposal for that shit.
 
2 days ago, by Dmitri Budnikov
When your ORM helpfully pluralizes your "person" schema into a "people" table, I think there's a mentality issue
 
11:57 AM
@Griwes Fuck, do that please :v
 
@Ven It's a recursive flatten. Simple enough.
 
Ven
1 min ago, by Ven
@Morwenn I get what it does. But don't pretend it's simple
 
@Morwenn I'm not sure if I care enough ATM. :D
 
@DmitriBudnikov Yeah, ok, so it's a more general statement over ORMs are shit
 
@Ven How is recursive flatten not simple?
 
Ven
11:58 AM
@Griwes three splats
 
@Shoe I was referring to mongoose if you check the conversation. Not ORMs in general.
 
That's the least of Mongoose problems BTW
 
@Griwes Now I'm sad :(
 
Never encountered pluralization problems
In fact I didn't even know it pluralized anything
It's just so slow compared to something like PostgreSQL
 
11:59 AM
Why does g++ not backport incomplete STL libraries?
 
g++ is a compiler hth
 
Why would it
 
@Morwenn Well, you can also write that proposal... :P
 
@Griwes I fear deduction problems and ambiguity everywhere. I never got to fully encompass what such a proposal would actually imply.
 
I am seriously thinking about building my own drone now I have lost my mini on the first day ...
 
12:03 PM
@Telkitty What purpose would it serve?
 
it does whatever I want it to do
 
Oh, drone porn is a thing apparently.
 
I like hardware, especially when it can move around >_<
maybe with some A.I.
 
do you think you could automate food production?
like wheat, then having it build bread, all based on solar power
 
lol
yeah that's been the case for the past couple thousand years
 
12:05 PM
you still have to plow and harvest tho
and u need a plot
 
gnuplot should do
 
there are plenty of online DIY drone shops
 
gnuplow
 
That would be the dream project for me
 
Apparently it does not exist yet. Do it.
 
12:07 PM
Im thinking about it
 
@DmitriBudnikov idk. I just didn't expect to not be using the newest compiler or at least have broken STL in a debian gnu/linux system (linuxmint 17.3)
 
Not enough to get things done.
But that's a good start.
 
true true
 
@Morwenn Ah yes, so you want someone else do the hard work, so you can benefit from it. :D
 
@USERID_UNK Well you can upgrade your system
 
12:08 PM
@Griwes More like: now that you seem to have done the hard part (more or less think things through), it would be a waste not to write a proposal :D
 
I'm looking at superuser.com/questions/772954/… , I'm assuming that ppa:ubuntu-toolchain-r/test is official ubuntu.
 
imagine tho, 52 rows of wheat, with a script that tells it to water and harvest now and then
run by solar power, even a way to grind up the wheat, and turn it into flour
 
why 52
 
@Morwenn Been a while though.
 
is there a special significance with that number
is it prime
 
12:10 PM
when i started typing, i was thinking a yearly rotation
but then i realized winter wouldnt count, or seasons rather
so idk, im a gambler? deck of cards
 
The possible ambiguities shouldn't be a problem - just make the user responsible for not recursing ad infinitum, and make that form always catch the leftmost matching template argument.
 
good planning you'd make a great farmer
 
@Charlie what about flood, hurricane, draught or other natural disasters?
What if the birds in the neighbourhood are having a party in your wheat field?
 
ur pessimistic, im more concerned about making a wheat-to-dollars conversion script
u know, to count all the money
 
If it's money you are after, you should program A.I. droids and rob a few banks
 
12:14 PM
if I introduce a barter system based on wheat/bread, and use it to buy houses
maybe it wouldnt be far off
 
Oo ... and A.I. drones as getaways
 
@Charlie Life is not Settlers of Catan, hth
 
totally, with guns
 
settlers of cuntan is great
 
how many houses do you get for 52 rows of wheat? 0.0001?
 
12:17 PM
seen advert for Google business email
example email: puppyscrubbers@gmail.com
 
@Charlie People constantly underestimate the amount of automation going on in most fields, and food production is a common one.
 
@Charlie That's only due to the limitations Minecraft imposes
 
@R.MartinhoFernandes with solar power tho? idk, i think theres a market
 
oh yeah, im talking of minecraft, u thought i was talking irl?
u guys are mad
 
12:20 PM
With the new villagers though you can send them and create a completely automated farm
 
52 rows on the new server so complex
 
very wow
lol, jokes aside tho, Id love to start a project like that
I can imagine ud need solar panels, batteries, some sort of conveyor, or rail and a mechanical arm of sorts
 
Don't you love sleeping?
 
1) solar power isn't special in any way and 2) things are going in the direction of separating energy production from its use, i.e. no combustion engines and no solar panels on cars.
 
12:22 PM
'your flying toy is too cheap for the consideration of this aviation site' ... yeah right, off to pick up a fight in their chat, brb
 
solar power is organic get your facts straight
 
Electricity is electricity. People constantly forget that.
 
like how much electricity does it cost to water a row of wheat anyway
if u have the sprinklers set up and whatnot
 
I would guess it depends on how long the row is
 
12:24 PM
quality loungescussion
time to go home
 
Ben
@Shoe Only if there's something to accomplish the following day.
 
something like that, like is that conceivable or what?
 
@Ben lol
@Charlie what.
 
creating a system to automate indoor farming
with solar power and automated watering, harvest and grinding to flour
 
12:26 PM
Aeroponics ftw.
 
yeah, thast what i mean
 
@R.MartinhoFernandes is that your cousin
 
how cool is that tho, imagine if you could grow 10 peppers a day
 
time to swoop some aviation stuck ups in their nest
 
and be able to sell them, i guess it would be hard to convert to money
 
12:27 PM
@Charlie Again, solar power is not special, nor relevant. You wanna be able to harvest during rainy days and even during the night.
 
relevant? im thinking like a hobby project
imagine making something industrial like that
and it would be indoors of course
 
@Charlie You don't have to imagine it.
You can find it on YouTube.
 
Now thats something I could get behind
wouldnt it be a great way to learn turning code into something industrial too?
 
It's a secretly obsuscated URL.
I'm sure nobody can decode it.
Ok. Just a typo.
 
@StackedCrooked obsuscated?
 
12:33 PM
I <3 stackexchage, so many chats to troll on :')
 
Can you see message history?
 
As a metter of fekt I ken
 
I know you wrote fhttps, if thats what you mean
 
That was it.
 
so you obsuscated it :P
 
12:35 PM
I never claimed to have talent for humor..
:P
 
enigma coders representoafidopnfe
not a compiler could turn this baby into a string of bytes
 
user1804599
@Ven I got it
 
user1804599
letter :: Int -> String
letter n = case letters !! n of
             Just l  -> l
             Nothing ->    letter (n -     (length letters))
                        <> letter (n `mod` (length letters))

letters :: Array String
letters = map (Char.toString <<< fromCharCode <<< (_ + 97)) (0 .. 25)
 
user1804599
lol it goes to hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh in my example
 
user1804599
1:00 PM
 
user1804599
:3
 
@Zoidberg What language is that?
 
user1804599
PureScript.
 
2:37 PM
omg 1hr at this time of the day??
 
hey everyone
anyone here ? >_>
 
One of my favorite Steve jobs quotes. Found this to be true as well. http://t.co/D94iB5ybUu
^ help vampire detected
 
oooookay, this one is new /cc @Morwenn @набиячлэвэлиь
./include/reaver/variant.h:558:9: sorry, unimplemented: mangling argument_pack_select
         };
         ^
 
@Griwes Wow, never seen that one.
 
2:47 PM
ooookay
Now some context... github.com/reaver-project/reaverlib/blob/master/include/reaver/… @Morwenn @набиячлэвэлиь
That's the statement it shits its pants on.
 
@Telkitty Didn't you get the memo? Lounge is dead
@Abyx He clearly never visited SO
 
user1804599
natural = (Abs "f" <<< Abs "x" <<< go) <$> integer
  where go 0 = Var unit "x"
        go n = App (Var unit "f") (go (n - 1))
 
user1804599
Church numerals!!!!!!!!!!
 
@Griwes lolwot
 
1904!!!!!!!!
 
and people say that Haskell is unreadable bc lot of symbols and abstract constructs
 
3:41 PM
The Day Rightfold Discovered Fire
 
@BartekBanachewicz I'm doing dark magic, okay? Stand back so you don't get hurt.
 
this isn't dark magic, this is building Burj Dubai with sticks and stones and balls of mud
 
pfft
You are just jealous of my glorious generic ADT with generic fmap and mbind and mad that you can't get this beauty in Haskell <3
 
Hmm. I could #ifdef __clang__ this, but then I'd probably end up having to #ifdef __clang__ half of my codebase at some point... :/
 
3:46 PM
@Griwes this is even less useful than haskell records really, so not sure what I'm supposed to be jealous of
the whole "build your own language in this language" thing is such a PITA
I don't buy it. I don't buy Lisp.
 
@BartekBanachewicz Not really, I want to invoke the exact same semantics of the underlying type, which might have them do slightly different things.
 
And C++ is way worse than Lisp for implementing Haskell in it
@Griwes IOW might be broken.
 
I'm not implementing Haskell; Haskell doesn't have variadic functions.
I'm implementing Vapor in C++.
 
@Griwes No one cares
 
(Until, well, I implement Vapor.)
@BartekBanachewicz I care vOv
 
3:48 PM
@Griwes I'll cry if I don't get the syntax I want.
 
> The Javascript community gets a lot of credit for its work on codes of conduct, on creating awesome conferences, for creating a welcoming, thoughtful community. But the most overwhelming feeling I've gotten over the past year has been loneliness. I constantly feel like I am the only person running into these problems with libraries, these problems in production, or I'm the only person who cares about the consequences of e.g. waiting forever for a connection to become available.
Heh.
 
I absolutely need my print function to have a variable number of args.
Without it I can't write any useful program.
 
@BartekBanachewicz No; I won't use a language if it doesn't provide me with the tools (= variadic functions) I want.
 
It's not that I can't program in a language that doesn't have them.
I don't want to.
 
3:49 PM
I mean there's a snowflake in every one of us
Nothing to be ashamed of
 
Though I admit I thought we were in agreement about this thing we are discussing now already :P
 
nah I'm just trying to poke you a bit
 
(That everyone has his own set of features he or she deems important.)
 
also w/o poking I'm curious what do you actually need variadic functions for
 
user1804599
(\leq. \and. \m. \n. and (leq m n) (leq n m))
    ((\isz. \minus. \m. \n. isz (minus m n))
        (\n. n (\x. \a. \b. b) (\a. \b. a))
        (\m. \n. (n (\n. \f. \x. n (\g. \h. h (g f)) (\u. x) (\u. u)) m)))
    (\p. \q. p q p)
 
user1804599
3:51 PM
This compares two natural numbers for equality.
 
amazing
x == y also does
 
user1804599
No, x == y results in a syntax error.
 
no, you are a syntax error
 
@Zoidberg can you make it look more like a regex?
 
this tutorial is pretty cool
I would never think about some of the points mentioned there
 
3:55 PM
video?
 
@BartekBanachewicz Well the dumbest answer would be formatting, because I don't like having to split the format string into a million pieces to concat everything back together.
 
@JohanLarsson no, this is written word, so rare in 2016
@Griwes lol so I was right
 
@BartekBanachewicz wow that's very cool how did they remove the dirt of B to make it look nice in A
 
But really - it's really easier to write more generic abstractions that way.
 
I would dispute "easier"
Dunno, for me sacrificing currying is just not worth it
 
3:58 PM
I like my variant's fmap-ish thing, especially when I call it with a polymorphic function (like, I have a variant of multiple things that share common semantics, and want to invoke one of those on whatever is inside).
That's not exactly a variadic function, but it's enabled by variadic templates.
 
I think this is very rarely useful in practice
while currying is used pretty much everywhere in Haskell for much greater duplication reduction and modularity boost overall
 

« first day (2028 days earlier)      last day (2921 days later) »