« first day (2694 days earlier)      last day (2444 days later) » 

00:17
Recently, the top answer to this question was deleted for being written in C instead of C++ as requested. Almost half of the other answers are not valid (compilable) C++ either. Shouldn't they be deleted too? Or should they all (including the deleted one) be fixed, since it is trivial to do so?
I accidentally linked my answer instead of the question... Here's the real link.
@mınxomaτ There is a game hyper-rougue that is played on hyperbolic surfaces.
Anonymous
My friend just informed me that he ate his first peach today. He's 24. I don't understand how he could've gone so long avoiding a very common fruit.
I don't think I've ever eaten a peach. I'm 21.
Anonymous
@Steadybox I deleted the one because it had been flagged. I didn't delete the others because they weren't flagged, so I didn't look at them.
@Mego does he have allergies? I'm allergic to many tropical fruits, so I try not to eat fruits I haven't tried before
not like epipen allergic but like tongue swelling allergic
Anonymous
00:24
@Riker Nope, he's just apparently been living an empty life
I love how "tfw minxomat..." has more stars than the link
never change TNB
Anonymous
@CatWizard Thoughts and prayers
I've had peach yogurt before though.
ok I find out users who haven't tried peach
@Mego Should the other answers be flagged too? If so, which reason should be used for flagging? "Not an answer" seems to be the only flag that's relevant, but even then it really is an answer, just a slightly incorrect one.
00:28
and no, "peach" "yogurt" is usually neither peach nor yogurt
Anonymous
@Steadybox Custom mod flag is the usual choice
@EriktheOutgolfer How? I mean I get that it is not a peach, but it is yogurt, and it does contain peach.
does it contain anything called "bifidus _____" or "bifidobacterium"? also, how can you be sure the "peach" isn't 99% chemicals? ;)
every yogurt I've tasted without that bacterium just doesn't taste like yogurt at all
It does indeed contain peach and "yogurt", although they don't list a bacterium
@Mego Yeah, I suppose that's how it would have to be done. Would be nice to have an "incorrect answer" option too, though. But it's not in the mods' power to just add the option in there, is it?
Anonymous
00:33
@Steadybox Unfortunately not. We're very limited in what we can do as far as site-specific options. Really, the only thing we can customize is off-topic close reasons, and even then we only get a few.
@CatWizard the first yogurt I ever tasted wasn't "kids yogurt", which I've also tasted (and is practically just creme)...can you compare the taste to flavorless, sour, milky (not necessarily nowadays) yogurt?
I'm not parsing your sentence.
like, have you tried that Chobani yogurt before, and can you compare its taste to normal, non-peach yogurt? the latter almost surely contains that bacterium
I've had plain yoghurt before.
btw, I'm not disputing your choice
00:37
I mean there is also a difference between greek yoghurt and yoghurt
you can be almost sure that a product called Chobani (Τσομπάνης / Chobanis) is greek, at least in the making process :P
The name chobani is turkish not greek and the yoghurt is manufactured in new york
ah, yeah, greek yogurt is what I may consider "normal"
> at least in the making process
I think that the peach yoghurt is considered greek yoghurt.
the word τσομπάνης has been adopted by the Greek language very long ago :D
hm, yeah, I think that's sort of similar to adding peach marmalade into plain greek yogurt
00:41
Have you had kefir?
kefir is quite good. Very sour though.
also, it looks like the greek yogurt you use does really contain "bifidus", yay
click on the "Show Nutrition" button
Is there any reason I shouldn't use Ubutnu 18.04 over 16.04
@Downgoat Netplan is pain, and Ubuntu Desktop 18.04's Gnome components have a memleak
and require more resources than 16.04 needed because of the GDM necessity nowadays
but otherwise not really?
00:43
Ubutnu: the version of Ubuntu obtained by Downgoat (ab)using a PC with Ubuntu Desktop installed
:P
lol
we see that misspelling on Ask Ubuntu all the time
you don't want to know how many times we've seen it :P
a user over SO is also named that IIRC (well, ubutnu, tbf)
we also see Ubunut and Unbuntu
and Ubunto too
we also saw Ubantu a couple times too :P
@ThomasWard so... for a server that needs to run as RAM-efficient as possible I should just go with 16.04?
you didn't mention Server
Server there's no real need except Netplan can be confusing for certain advanced setups
but otherwise I don't see a reason not to use 18.04 for a server that doesn't have a GUI
if you need the GUI, then the Desktop considerations I mentioned earlier come into play
01:16
@Downgoat Arch Tiny Core
Anonymous
01:29
@Downgoat Are you asking bc Axtell?
I like Tiny Core a lot actually
Found out about it a couple months ago
It has a surprising number of packages
02:18
Do you want to continue? [Y/n] Y
Abort.
@Mego nah I'm migrating to my whole server to nginx because apache sucks
also from debian to ubuntu
mysql is being pain in butt now though :/
root@vihan:~# locate mysql | grep 'bin/mysql'
/usr/bin/mysql
root@vihan:~# /usr/bin/mysql
-bash: /usr/bin/mysql: No such file or directory
am I doing something stupid because why tf is this happening
Permissions
It's not executable most likely
Can't even read it as root?:
root@vihan:~# ls -al /usr/bin/mysql
ls: cannot access '/usr/bin/mysql': No such file or directory
root@vihan:~# file /usr/bin/mysql
/usr/bin/mysql: cannot open `/usr/bin/mysql' (No such file or directory)
Anonymous
I could ssh and try to fix it for you
wait hold up a second
maybe it's not there, and locate DB needs to be rebuilt?
what does which mysql output
@quartata I did an updatedb right before
.___. turning computer on and off fixed it
02:26
maybe you have a bad block lol
what are the permissions on it though
I could envision some real weird one where that would occur
@quartata now that I reinstalled it's -rwxr-xr-x
Anyone read a news article recently (in the last week) that I could potentailly write about for an Environmental Science class
I'm having some trouble finding one
does this work for everyone: vihan.org
Works here
Also, I just noticed this, but the scrolling on Axtell's main page is hella laggy.
It's only like that on the front page
it's because of the animation
02:40
Well, vihan.org has animation too
yeah and it also feels weird to scroll on, like it's heavier
@Pavel axtell has a lot of effects, gradients, blending, and shadows on the homepage
but not when looking at the challenge list, there it's fine
I could use images but then would look like crap on high-res
you use svg for this?
02:41
I think that would be preferable to having laggy scrolling
we have: background-blend-mode: normal,overlay,normal,soft-light
@quartata we use svg everywhere
@Pavel considering there's nothing to scroll down to, eh
no yucky pngs
^^ I also don't have this problem on Safari anymore with latest update so blame Blink
btw, if you ever thought react was bad. The homepage for vihan.org is dynamically loaded from an XML file using all vanilla JS and no compiler: vihan.org/src/js/vs.js
The correct way.
have to say, debian boots 1000x faster than ubuntu
02:47
It also has ancient software
Well ubuntu doesn't have the latest and greatest packages either
Exactly. Fedora or SUSE Leap are pretty good in that regard
Arch is even better, of course, but it's also a lot harder to set up and use.
had to choose between ubuntu and debian though since Ghost doesn't care about support for anything else unfortunately
(is there a more popular blog platform than Ghost now?)
@Downgoat use tiny core
Jekyll doesn't cut it
02:50
@Downgoat wordpress
@ASCII-only oh god PTSD
tumblr
@Downgoat XD
@Downgoat According to the docs, it's just Ubuntu, not even Debian
I'm sure it would work just fine on most anything else short of BSD.
> Use beautiful Handlebars templates
i have never heard someone use 'beautiful' to describe HTML templating...
Anonymous
@Downgoat Handlebars is weak and stupid
02:59
does this also work for everyone (it should be showing some default data): blog.vihan.org
nunjucks/jinja2 is the only templating engine
@Downgoat yeah i can see a terrible blog
The best templating engine is clearly stock string interpolation.
best templating engine is python % format operator
@Pavel with good enough string interpolation, yes. definitely.
@ASCII-only are you saying this seriously
03:03
you don't need a >100 MB kb library for templating
@Downgoat yes
@ASCII-only pls tell me how you would redo this file: github.com/Axtell/Axtell/blob/master/templates/help/… without a template engine
@Downgoat html is an inferior language
then use pug
@Downgoat well the thing is Python has no real string interpolation
Sure it does
03:05
@Downgoat it's still based off HTML
f"foo {2+2} bar" => foo 4 bar
@Pavel ah. true
@ASCII-only so you are saying we should completely redesign web to not use HTML?
or actually you can use VSL Application framework once I'm finished
Hi
USE HTML
@Downgoat yes
HTML is ancient
a lot of it is not the best idea anymore
also it was based off XML which is crap
@Downgoat well if you want to redesign the web then step 1 would be clientside templating. because just think of how much bandwidth that would save
03:21
@Downgoat tell me why the hell an integer class would support decimals
@ASCII-only wait wat
@Downgoat ?
a 110KB vs 10KB HTML is much better than 20KB JS vs 3MB JS
@Downgoat ?
what is left side and what is right side
@Downgoat i don't mean html/js. i mean if vsl has applets online applications then it should have clientside templating built in. you'd get content from and API endpoint
@ASCII-only inb4 HTJSON
03:24
CMP: how does this look?
Passable
@Pavel I'm making that a language next year
Anonymous
@ASCII-only IMO that's a much more elegant solution. Have the webserver expose an API, and let frontend code manage the view logic.
@HyperNeutrino Th e learn page is missing
@FreezePhoenix yeah, I haven't implemented that. forgot to mention that. mostly just looking at CSS though
it's a redesign of this BTW
03:26
@HyperNeutrino turn up the brightness of the fonts a bit
Anonymous
The necessary JS and templates would take a while to load, but with cleverness you can make it stream in the background/as needed for a seamless experience
It's not bad, but I wouldn't call it good either. It works.
@Mego you must have at least 1 seam in your application though
@Mego hmm. actually that's more like a conventional desktop application (e.g. C#'s MVVM IIRC)
Anonymous
@FreezePhoenix I prefer to make my applications into Klein bottles
03:27
@FreezePhoenix how's that
Transpiling JSON to HTML seems like an interesting idea
@HyperNeutrino an assignment rule for a class :p
@Mego Ideally it should have minimal overhead. (Kinda like a more static React (?) I guess?) Not sure if that's possible though
horray I un-borked bloggoat!: 104.236.175.143:2368
I'd try that if I didn't procrastinate on three different essays that are due tommorow
03:28
@FreezePhoenix hm?
@Pavel it's probably easier than Pug -> HTML :P
@HyperNeutrino a stupid rule that was in an example I saw online somewhere
oh ok
TBH I like the dimmer font better because the contrast is less harsh but still just as readable
so it doesn't hurt my eyes as much when I read it in the dark at 1 am
Oh
@Downgoat thanks for the post on symbols :p
CMP: Light theme or Dark theme (for this not for IDE themes)
Anonymous
03:32
@ASCII-only I'm imagining initial lightweight JS, CSS, and templates being loaded on first visit, and more templates being streamed in the background. When a template is needed, it gets immediately downloaded, rendered by the JS (using the data from the API), and displayed.
Anonymous
The API would return the data, as well as a template ID to use for rendering that data
@Mego ah, I see
@HyperNeutrino dark theme is only theme
ok 10/10 would agree just making sure though
Anonymous
That would also allow users to easily substitute their own templates to override the defaults - shifting the design/view to the user
whose idea was it to put green on blue
03:35
@Mego :O this is an amazing idea
Anonymous
@ASCII-only It's a future goal of mine to implement that pattern for Axtell
{
	"html": {
		"head": {
			"title": "Page Title Here"
		},
		"body": {
			"h1": "Hello yes I am header",
			"p": [
				"normal text",
				{
					"em": "italicized text"
				},
				"more normal text",
				{
					["a",
						{
							"href": "foo.bar.com"
						}
					] : "link"
				}
			]
		}
	}
}
@Downgoat whole site entirely made by me, old site CSS made by my friend
^^ is totally an excellent and not godawful idea
I'm still trying ot think of a syntax for <br /> though.
Anonymous
@Pavel Do away with self-closing tags and take the XHTML approach of <br></br>: "br": {}
03:39
That adds two newlines actually
@Mego I tried doing this, JS is streamed, but we'd have to replace Jinja2 with something that JS can compile (if I'm understanding what you'r're syaing)
@Pavel why are you needing br
@Downgoat To transpile to HTML properly
br is disgust you should never need br
<hr style="border:none" /> is better
Anonymous
@Downgoat Yeah, we'd have to do something like Handlebars but that doesn't suck
03:42
And I suppose it wouldn't be awfully slow with caching
Anonymous
@Downgoat While this is true, I think the goal is to support all HTML constructs
@Mego also I don't want to migrate all the Jinja2 code >_<
@Mego I think other than self closing tags I covered everything.
that said, now that I think about it the jinja does call python a lot so not sure if even possible
I think the best solution would be if we could have some jinja plugin that allows us to statically import handlebars/etc. and so that could work with JS too
Anonymous
@Downgoat Could use something like npmjs.com/package/jinja-to-js
Anonymous
03:46
@Mego Is that literally just another implementation of Jinja2
@Mego that does not compile on the fly though so we'd have to pre-compile our templates which is possible I suppose...
That was a short work outage
5 minutes
@Pavel yes yes that would be my language
I've finally gotten around to actually learning F# and it's pretty mind-blowing
I'm still trying to figure out how discriminated unions are implemented in .NET land
What does assert do...
03:58
Also, as it turns out, printf isn't a function in F#. It's a keyword, and it resolves to a function when followed by a compile-time-constant string.
Which is how you get "varargs" and currying at the same time
Which, in .NET land, is a crap ton of nested generics that rival C++ template hell
ES7 is a thing?
ES8 is a thing
Dafuq I am behind
What's new in each
Links to posts will work for descriptions
ES8 got async/await
No clue what's in ES7
@Pavel that's it...
04:08
¯\_(ツ)_/¯
Does blog.vihan.org still work for everyone? Updated some SSL and was having some trouble
Yes
How huge is the background image it took forever to load it
Still works
yo u might want to hook it up to googl e webdev and have it Munich the images for you
just look it up
Found it yet?
I don't care
@Pavel does JS nested ternary rival C++ template hell?
@Pavel oh ok
04:21
@FreezePhoenix Not even a little bit
@Pavel example pls... (Not so sure I was want an example now)
@Pavel no I was talking to @Downgoat
The
S/the/thx
05:07
@FreezePhoenix nope. also a bunch of new prototype methods (or was that ES7)
@FreezePhoenix C++ also has nested ternaries... there's a reason it's C++ template hell not C++ nested ternaries...
@Pavel that's fine though?
@Pavel here we go
see metaparse especially
05:26
Hey! Look what I got working again!
@ATaco "image not found"
wrong mimetype
Works on Firefox >:(
Mimetype is now explicit, you may need to refresh.
yay :D
05:43
@Riker (cc @Mego) About the challenge Decompose in polynomial time if possible...
If I understood correctly it's "assume there exists a polynomial time algorithm to decompose, write a program to do it".
The assumption is important.
Because with that, the program which dovetails all Turing machines and for each terminating one,
check if it's a valid factorization (takes polynomial time) is polynomial.
Number of Turing machines that needs to be checked is O(1).
If it is reopened, there would be multiple closure reasons because 1 it's very unclear and 2 it's just another challenge (I think)
I already said that in a comment.
There are essentially no other way to do it. (afaik. OP didn't give any hint)
@user202729 Oops I didn't bother to click the see more comments button >_>
06:00
Will GitHub warn you if you create an account with a username that belonged to another user that has since changed their name?
because it says that if you change it and someone claims your old one it will break links containing your old one
06:19
@Riker *finish with school
@EsolangingFruit no
@Cowsquack when is that :P
@Mego +1 but it would be nice if it came with a templating engine as well
you'll know :P
07:07
@ASCII-only I guess I'll just trust my name is bad enough that no one will repeat my mistake, then
@EsolangingFruit why though. it's not like you've linked to your repos in many places (or have you)
I haven't really, so I don't think it's a problem
exactly
GitHub's settings panel includes a "Developer Settings" tab
Does that mean "only useful for developers"?
Because I'm sure that's a majority of their userbase
@EsolangingFruit screenshot pls
07:12
It's on the bottom left on github.com/settings/profile
I'll have the screenshot in a minute
searches for "how to take screenshot in windows"
@EsolangingFruit ah. it's for people building things with integrations with github
@EsolangingFruit printscreen key...
._. why is there a key for that
I guess MacOS's ⌘⇧4 isn't really any better
@EsolangingFruit because there just is (i.e. it's a relic of past computers). it's been a thing for decades
Apparently it's actually Windows+Printscreen
We've got a dedicated key for something. Quick, how can we make it harder to use?
@EsolangingFruit Just PrintScreen works.
But it copies to the clipboard. Use mspaint to paste it.
07:18
I see.
@EsolangingFruit nope. there's a reason why the key is called "printscreen"
@EsolangingFruit snipping tool
lightshot
sharex
licecap -> convert to png
streaming software -> convert to png
photo -> office lens :P
snapshot of RAM -> rebuild screenshot using neural network
wait those just make it harder for the computer don't they
On an unrelated note: when I left-click the image file, the three default options it provides to open the application (i.e. without having to navigate to another menu and explicitly choose the application) are "Edit with Photos", "Edit with Paint 3D", and "Play with CyberLink Power Media Player 14"
I'm solving this challenge...
What is the maximum file size xxd can support?
If there are multiple answers choose the smallest (because obviously smaller is better, I want to abuse it as much as possible)
07:34
As hexdump or as raw file?
raw file.
Reworded, since xxd is reversible
calculation: On 32 bit file system (fat32?) every file can be 2GB at most.
@EsolangingFruit "Cyberlink" is this a HP
@user202729 0x100000000 maybe
@ASCII-only Yes.
07:37
On average 16 raw bytes is converted into 68 xxd bytes.
So if the output is at most 2*2^30, the input is at most...
505290270 bytes?
@ASCII-only The real question is why Windows thinks that "Playing" an image in a media player is a good default option.
@EsolangingFruit Cyberlink Media Player probably says that it handles that type of image...
@EsolangingFruit Not Windows' fault, that's CyberLink Power Media Player's fault.
But Windows has a built-in media player; I'm surprised it doesn't prioritize that
@EsolangingFruit Windows Media Player doesn't play images...
07:44
Every program (with permission) can change the context menu list.
@ASCII-only Seems like it just plays the image for 5 seconds by default
For example, the hex editors. They often add a "edit with ..." in the context menu list for every file association.
Windows Media Player is smart enough to not get associated with that image file.
@EsolangingFruit wtf that actually works?
@user202729 wait wat
@user202729 context menu?
The menu where you right click at anything in Explorer.
(Help) CMP: How readable is this regex? How can I improve it? r'MODULE NAME *: (.*?) *'
(wrapped in a raw Python string)
and I need to extract the capturing group.
@user202729 i know. but does windows even have hex editors
@user202729 very readable
although i normally use \s* instead of ` *`
07:53
@ASCII-only Not the default one, but there are 3rd party apps.
@ASCII-only Good idea, spaces are often ignored.
@user202729 does it even have any third party hex editors
that aren't super shady
@user202729 hmm? spaces are never ignored though?
@ASCII-only :/ Just google and download one
@ASCII-only By human brain, I mean.
@user202729 they all look super shady. except for notepad++ plugin
@user202729 not by a programmer's brain...
spaces are basically first and foremost for a programmer
":O no spaces around operators" ":O using tabs" ":O 4 spaces instead of 2"
@ASCII-only :P
@ASCII-only I still don't care.
@user202729 hm?
@user202729 you mean you still don't care about spaces?
07:56
Well actually it only matters when you read somebody else 's code ...
@user202729 wat
i use proper spacing
and even then i can barely read my own code
@ASCII-only Then comment.
08:24
@Pavel oh, it's only 1080p but it should be pretty fast :/
> only 1080p
@Downgoat also why aren't you sleeping >_>
@Mego oh yeah. if you ever get around to this personally i'd like a refresh button for whenever things don't load properly (as in not browser refresh, more like when one section/view doesn't load because of bad connection or w/e) (also this is sounding kinda like back in the old days when frames were a thing isn't it)
@user202729 go and beat me
@user202729 205 O_o
@ASCII-only go beat me
:| i don't even know where to start though
and i don't have my laptop with me atm
08:54
I think I messed up with funcsational's parser a little
@Mayube :|
@Mayube is it even possible to mess up a parser "a little"? :P
I mean it parses, just into a format that makes expressions difficult
@Mayube yeah that's not "a little" >_>
@Mayube you should have made a simpler language first
<- made a simpler language first
@Mayube you should rewrite the parser then
I will if I can.
@ASCII-only Start with trying to find out a O(n²) solution.
Should I give a hint?
09:09
@user202729 you decoded my solution?
@LeakyNun No.
I already said that
(disclaimer: I have solved the linked challenge) — user202729 Jun 6 at 16:37
So of course I have an algorithm.
09:45
@LeakyNun
https://tio.run/##1Vtbb9s4Fn62f4Wmg2Dk@BJSStKJtymwWGCf/LLAPLQwPIFry4lQx/ZK8jb59V0ekqLJ8zHXabvdFq0i8ujwkDyX7ztFd/fNzXaTfy1vd9uqSar5Zrm97dq3zf52d99tirqpL6dTMbC/ZwP3s3Q/S29cunHpyUtPXnry0slLT7/09EtPv/T0S0@/9PRLT790@qVnv/Tsl5790rNfevZLz37p2S89@6Vnv/Tsl5790rNfevZLz37p2S89@935BzcggjkZ3k54P8ENhXfHbi@8v@AGRTAnw9sN7ze44fDu2e2H9x94gAjmZOgdoX8EHhL6DvOe0H8CDxLBnAy9K/SvwMNC32PeF/pf4IEimJOhd4b@GXho6LvMe0P/DTxYBHMy9O7QvwMPD32feX/o/0EEiGBOhtERxkcQIWHssOgJ4yeIIBHMyTC6wvgKIiyMPRZ9PP5YBAo2L3mE8hhlUcpjGKKYxzGLZJaHWTTzPMAzAeYCyAY8H7CMINi85BmD5wyWNXhOgazC8wrLLKyusOzC8xLPTJibIDvx/MQylGDzkmcwnsNYFuM5DrIcz
the permalink could not be decoded
too long?

« first day (2694 days earlier)      last day (2444 days later) »