« first day (2410 days earlier)      last day (2434 days later) » 
00:00 - 15:0015:00 - 00:00

3:00 PM
In the Debian partman thing in the initial setup, how can I create a swap partition?
Never mind - I just change the file system.
 
@wizzwizz4 Right but I've only seen black and clear ones. wizzwizz is wizzard.
 
@HelkaHomba I based it on a cheap LCD display, but changed the polarising filters to simultaneously be colour filters so they only filter on colour...
It's effectively a set of single-colour pixels with wizardly software behind it.
Like cameras.
Also it only has 4 pixels.
 
...
 
And it's not really real.
In theory it would work though.
Probably.
 
3:04 PM
@betseg your terminal is beautiful
 
Do you recommend having only /, /var, /tmp, /home and swap?
 
@Riker tyvm
 
Or would making / tiny and adding a separate /usr partition be better?
 
i have /, /mnt/things, /swapfile
 
@betseg Really? /swapfile is a thing?
I always thought it was unmounted.
 
3:06 PM
wiki.archlinux.org/index.php/swap#Swap_file (should work for debian too)
 
@betseg Yeah, that should work.
Those programs exist in Debian.
I thought you were listing your partitions.
 
yeah, but im trying to show that i had a swap but it isnt in a separate partition
not a separate /home because a) i want some files on SSD but most on HDD and b) if i switch distros .config, .cache etc wont be a problem
 
> taptl develops, manufactures and sells transparent touch-screens. The touch-screens can be used as windows, kiosks, directories, "TVs," or computers for personal or business use. The technology is currently being marketed to the luxury interiors industry, including retail, yachts, aircraft, and homes. They are offered in sizes 5"-110", available in HD and UHD, and are environmentally sustainable, with endless applications.
Does this read like an advertisement to you?
 
oops, my ad blocker extension blocked it all
4
 
@betseg Really?! Good ad blocker.
Although it seems susceptible to false positives.
 
3:16 PM
that was a joke :(
 
What's a joke?
 
joke /dʒəʊk/
noun
1. a thing that someone says to cause amusement or laughter, especially a story with a funny punchline.
 
/dʒəʊk/...
Is that a new Regex syntax?
 
It's IPA
 
en.wikipedia.org/wiki/IPA but ninja'd
 
3:20 PM
I thought it was ISO and Perl, not IPA? :-/
 
ISO Perl Assembly's regex syntax
2
 
@betseg Makes sense.
 
i wanted the ad block message to be starred, not this :'(
 
@betseg You can't control stars.
 
3:32 PM
Huh, my computer randomly started paging and freezed for 30 seconds
 
Rule 2 of the internet: Chat messages will be starred unless written with the intention of being starred unless they mention stars unless written in order to garner stars for another message unless more than half of all contiguous substrings of the message would be starred by this rule except according to amendments to the message (2a, 2b etc.).
@TuxCopter What OS?
 
Ubuntu 16.04
 
@TuxCopter You have a rogue process.
 
I don't see anything unusual with htop
 
ubuntu dropping unity for gnome
 
3:40 PM
only a few years ago they dropped gnome for unity
 
Woo! Ubuntu.
Personally I prefer Debian, in part because of these things.
 
I'm running debian at work
 
Is there a way to determine endianness at compile-time in c++?
 
copied from SO:
#define IS_BIG_ENDIAN (!*(unsigned char *)&(uint16_t){1})
you can probably do this:
#if IS_BIG_ENDIAN
code
#else
code
#endif
 
thanks
 
3:56 PM
@betseg Where on SO?
Iirc "copied from SO" is not enough for the license.
 
35
A: C Macro definition to determine big endian or little endian machine?

cafIf you have a compiler that supports C99 compound literals: #define IS_BIG_ENDIAN (!*(unsigned char *)&(uint16_t){1}) or: #define IS_BIG_ENDIAN (!(union { uint16_t u16; unsigned char c; }){ .u16 = 1 }.c) In general though, you should try to write code that does not depend on the endianness ...

wait, gcc gave an error
error: operator '!' has no right operand
 
It gives no error for me but it seems to detect my machine as big endian for some reason
nvm
 
@TuxCopter stackoverflow.com/a/14272916/3312910 works in C but not in C++ using GCC
 
do you recommend putting an ungolfed implementation while a challenge is in the sandbox?
 
4:15 PM
@WheatWizard for your CNR, must it be provable that only 1 solution exists?
 
Yeah
Actually I changed my mind
No
You must only know that your score is the smallest solution
 
@WheatWizard wait, so can multiple inputs work?
 
@Riker Sure, but you must be able to score your answer.
 
> when provided the number as input and another value for all other positive integer inputs.
that implies that only 1 value is possible
 
Ok then we will go with that
 
4:19 PM
can I have feedback here please? (it might be obvious I love kolakoski lol)
 
0
A: Sandbox for Proposed Challenges

Erik the OutgolferKolakoski-like self-referencing sequences code-golf sequence math This is how the Kolakoski sequence is defined: The Kolakoski sequence is a sequence that contains 1 and 2, and the nth element of the sequence is the length of the nth group of equal elements in the sequence itself. The first ...

 
@NewSandboxedPosts 7 minutes late, good job
your cousin nmp is half your speed, double your laziness pal
 
@EriktheOutgolfer It depends. The averages seem to coincide... but that's probably a coincidence.
 
@DJMcMayhem If I may, why is vim the best terminal editor?
 
@HelkaHomba This is the Great Browser War™ all over again.
 
4:32 PM
I don't have opinions (except vague bad emacs memories). Just curious why people like vim.
 
@HelkaHomba I don't use it much, but I really like the key layout
ghjkl is easy for my hand
G being :go
 
@HelkaHomba predicted reply: "because its the best, period"
:p
@DJMcMayhem is this accurate enough btw?
gtg now
 
@betseg this dont't seem right, can you actually use a macro inside a preprocessor if? What happens if macro is not constexpr
@HelkaHomba vim is designed to be used in a terminal, it has useful shortcuts that let me quickly move around the document whereas in nano I'd be smashing the up arrow key a thousand times
 
@HelkaHomba Because vim is the best
 
4:42 PM
also it is customizable so I can for example theme or enable cursor mode without having 1000 flags everytime I launch
and it both powerful and lightweight also so unlike emacs with 100000000 different thing it does not try to emulate an IDE and always fall short
 
what is the command to decrement a numer in vim?
 
Control x
 
0
Q: Can I Settle Down?

Silvio MayoloIn The Settlers of Catan board game, there are five resource types: Brick, Log, Ore, Wheat, and Sheep. Building a settlement costs a Brick, a Log, a Wheat, and a Sheep. However, you can also trade in four identical resources to get a resource of a different type. For instance, if you had four ore...

 
Huh, someone boutyed the GOL Tetris question
 
> a Sheep
 
4:51 PM
Also the bounty is from a day-old account??
 
@TuxCopter He got the assoc bonus then set the bounty
 
don't you need more than 101 rep for bounties?
 
@TuxCopter Nope. 75
 
ah
 
Yep. He has quite an active profile but I think he wants to leave and is getting rid of his rep. Check the weird rep distributions here
 
4:57 PM
let's not talk about him anymore
 
@HelkaHomba Oh man, that's a doozie. I'd say for me, it's mainly the fact that you have powerful movement/editing capabilities without your hands having to leave the keyboard. I also greatly appreciate how the normal mode is essentially it's own "language" with some really interesting paradigms (motions, operators, selection types, etc.), but it becomes second nature after a while. And then on of all of that, I really appreciate how extensible it is
 
1
Q: Lets make Diet Haskell

Wheat WizardHaskell has tuples that can be written as (a,b,c) However this is just syntactic sugar for (,,)a b c In general an n tuple can be formed with n-1 ,s between (...) followed by its elements separated by spaces. For example the 7-tuple, (1,2,3,4,5,6,7) can be formed by (,,,,,,)1 2 3 4 5 6 7 ...

 
I do hate that in a gui I constantly have to switch to the mouse, or even arrow keys.
 
5:12 PM
@HelkaHomba I've been working on a project that maps regions of the screen to regions of the keyboard, letting you recursively select an area of the screen purely with the keyboard.
@TuxCopter Oh... It's not ready yet. :-/
 
5:47 PM
Lol, a cat program in 2Deorstv looks like a meme face: @¿@
 
(@¿@)
 
@TuxCopter For 1, that prints 211111... and for 0 that prints 10
 
CMC: Dot product of two arrays
 
@TuxCopter Jelly, 2 bytes: æ.
 
@TuxCopter array.product(a, b)?
 
6:00 PM
Does anyone know how to do a while loop in Husk?
 
is the search function broken for everyone else, or is it just me?
 
@TaylorScott The TNB search up there?
 
No the stackexchange search
 
@TaylorScott Weird, I'm not getting any results for anything
 
so its broken then
At least its not just me
Thanks @cairdcoinheringaahing
 
6:02 PM
@TaylorScott No, it works now
 
wut\
woot
 
@TaylorScott what does this show for you?
 
its been non-functioning for 20 minutes!
its working again
 
0
Q: Strange bug, search results not showing

UnitatoI'm on my mobile, and suddenly, I see no search results on MetaSE for my searches. I typed the word "meta" in search and got this: The url for that page is https://meta.stackexchange.com/search?q=Meta Does anyone else experience this?

@H.PWiz how do you do a while loop in Husk?
 
Hi guys can we reopen this:
https://codegolf.stackexchange.com/questions/55198/check-all-the-keys-of-a-keyboard
 
6:06 PM
While loops are not a functional construct.. If you give me context, I may be able to help though.
 
@H.PWiz For example, a truth machine
 
@cairdcoinheringaahing Do you want to write a truth machine in Husk?
 
@H.PWiz I'm comparing my language to Husk and Jelly for some simple challenges, so yeah, but just not to post.
 
Okay, well ∞ repeats a value infinitely in a list. So that might be useful
And ? does "if stuff"
 
Does Husk have a way of reading from STDIN?
> Indeed, flow control constructs, like for loops and if statements, don't exist in Husk.
ಠ_ಠ Why Husk?
 
6:14 PM
It always reads from STDIN
if statements pretty much do
 
Ok, well I'll try to make one, but I have a feeling it'll be longer than 3 bytes
 
I think so too
Sorry, Husk takes command line arguments. Not STDIN
 
Does Husk have lazy IO? I don't think it has an explicit output command from my quick look at the docs. If it has neither I don't think a truth machine is possible.
 
It does have lazy IO. output is implicit
I have a 6 byte one, but I don't like it very much
 
6:37 PM
@H.PWiz If that's the case, I don't need the actual program, just the byte vount
 
I have a 5 byte truth machine in husk
assuming output as lists is fie because that is the only way i can see output happening infinetly
wait, i just remembered characters and strings exist
 
if you have a list of numbers, you can output as list of lines with ms, (map show).
A list of strings is implicitly seperated by newlines
Here is one for 5 bytes. ?∞;is
 
6:55 PM
ms makes it 7 bytes. I had ms?∞(;0
 
my six byte one was ms?∞;I
using ? as fif
 
how does that work? Isn't fif a 4 argument form?
wait i see now, was grouping things wrong in my head
 
There is also ms´?∞;
 
is that still using ? as fif?
 
that is just if. nut it returns a function
 
7:09 PM
You two do know that code markdown works in char right? ms?∞;I => ms?∞;I
 
Actually, it can be if. but the interpreter chooses to use fif, don't understand it being fif though
Test: ms?∞;I
Hey, I'm sure that didn't work before
 
I did use code markdown before
 
Testing markdown: ಠ_ಠ ಠ_ಠ
Why is there no difference?
 
@cairdcoinheringaahing There's a sandbox chatroom
 
@TuxCopter Yeah, I know but it was a couple messages. Calm down
 
7:15 PM
0
Q: Compute the Wilson numbers

milesGiven a positive integer n, compute the nth Wilson number W(n) where and e = 1 if n has a primitive root, otherwise e = -1. This is code-golf so create the shortest code for a function or program that computes the nth Wilson number for an input integer n > 0. This is the OEIS sequence A15724...

 
7:49 PM
@Downgoat I just read "halp how juic avocad" in a Goat Simulator email.
Did Goat Simulator borrow it from you or the other way around?
Also: Tpyogaot.
explain yourself. :-)
 
@LeakyNun seems that was the case, thanks
 
@EriktheOutgolfer np
 
even though in my answer I wasn't able to just use : and had to use ÷_.Ċ rip
and yes op just confirmed :p
 
1
A: Compute the Wilson numbers

Leaky NunJelly, 8 bytes Rg=1TP‘: Try it online! You don't really have to compute e since you need to divide anyway.

@EriktheOutgolfer
 
8:25 PM
@Downgoat Q: What came first, the name or the profile picture?
 
@wizzwizz4 wait what
@wizzwizz4 ???
@cairdcoinheringaahing profile picture
 
@Downgoat I gifted a copy of a Goat Simulator game to a friend a while ago. They just let me read the email it sent on my behalf.
 
@wizzwizz4 did you type the message?
 
@Downgoat By any chance, did it come from the image processing challenge :P
 
@Downgoat ... *facepalm*
 
8:33 PM
no downgoat or upgoat was waaayyy after my name/avatar
 
Yes, I did. :-p
Sorry about that.
 
@wizzwizz4 so then goat simulator borrowed it from you?
 
@Downgoat Yes. :-/
 
I don't understand the question
 
8:57 PM
@MDXF for Triangular: Add a "print newline" command
 
Thank you guys I just need one more reopen vote
https://codegolf.stackexchange.com/questions/55198/check-all-the-keys-of-a-keyboard
 
@EduardFlorinescu haha, it's been a while :D
 
just two years, I forgot about it but an upvote reminded me of it
 
a concrete list of all keys would still be good to have to make the specs complete.
 
it is
in there
 
9:02 PM
@flawr - r/drinkingproblems
4
 
oh lol, I'm blind:)
have my upvote
 
@Riker oh god :D
 
yes
it's small and no css but amazing
 
I actually prefer reddit without the custom css stuff
 
9:04 PM
ah
some subs I like some I don't
ex: askreddit has nice css, but tifu doesn't
0
A: Implement a Truth-Machine

Mr. NegiThotpatrol, 318 bytes 📡JACKING IN📡 💦DM💦 THAUGHTY ANN 🕵 📧🍆 ANN 😎BRIEF😎 ANN INTERROGATE ©1© ❤PRIME ASSETS❤ 🉑 🕵 🍑📧 ©1© 🎧INTERCEPT MALIGNANT COMMUNICATIONS🎧 🔇DEBRIEF🔇 🇺🇸REPORT UNPATRIOTIC ACTIVITY🇺🇸 This is a fairly uninteresting truth machine the core structure is as follows:...

i have questions regarding this language
 
@Mr.Xcoder do you know what protocol MyProtocol: class does (specifically the : class part)
 
@Downgoat What language is that?
 
swift
 
Welp, don't know that language.
 
you say that like it's a bad thing
 
9:18 PM
@Downgoat I'm saying that I can't help
 
sorry that was a joke >_< forgot to do a :P
 
 
@Downgoat I didn't work with protocols in a while, but if I remember correctly it "associates" the protocol with a certain class. You might find this article relevant.
Unfortunately I must go now, so good luck with your project. Bye!
In fact, I don't think that article is relevant...
Anyway, O/
 
9:34 PM
@Mr.Xcoder o/
 
9:46 PM
0
A: Sandbox for Proposed Challenges

caird coinheringaahingCMC-ify your answer CMCs (Chat Mini Challenges) are, as the name suggests, mini challenges that we set each other in chat rooms, namely The Nineteenth Byte. However, we tend to format replies to CMCs in the following way {language name}, {length} bytes: {code} Your task is to CMC-ify your cod...

 
@NewSandboxedPosts ಠ_ಠ You are a slow NSP today
 
@NewSandboxedPosts dupe
we've already had one that's formatting for main, not CMC, but it's the same idea
 
0
Q: Create a WYSIWYG editor!

zeveeYou must create an interface where I can type into a box and be able to make the text italic or bold, and see it. Basically, there must be an interface that exits with a file of any kind as long as you can see bold, italic and normal text in it. Hint: Unicode had italic like and bold built in. ...

 
cc @cairdcoinheringaahing ^^
 
@Riker Do you have a link?
 
9:55 PM
9
Q: Code golf for the lazy

haykamYour goal in this code golf is to take two strings, language and code (if the golfed code you wrote for this is multiline, then this variable would be multiline.), and one integer, bytes. They represent the variables for a programming language, number of bytes it takes, and the code itself. Afte...

think we've had a newer one too
 
@Riker I would argue that ^ is massively different to mine. That one is simply string formatting, mine is a full on Quine program.
 
we've had that too
quine
 
I think there was one which had to return its post markdown but I think it got massively downvoted. Then again, I could be wrong
There for sure was one in the sandbox
 
iirc there was one that didn't get downvoted, it wasn't an internet one
16
Q: Generate a Markdown Template for your Post

Challenger5Your task is simple: Write a program (or function) that takes no input and outputs something like this: ## *name*, *length* bytes *code* Where *name* is the name of the language you are using, *length* is the number of bytes in your code, and *code* is your program's source code. If *code*...

there we go
 
Damn, I never have original ideas
CMC: Uppercase a string without using case built ins, such as str.lower. Use your common sense about what counts as a built in. Non-letter characters are ignored. "Hello, World!" => "HELLO, WORLD!"
 
10:15 PM
@cairdcoinheringaahing Husk, 22 bytes m?(←`oḟ€TC26f√…"Az")I√
 
@cairdcoinheringaahing SOGL, 7 bytes: Zz¹I{_ŗ
 
Hi everyone
 
10:29 PM
@Dennis you appear to be the only online RO: Is there a quick way to ping everyone who joined a chat room (and chatted)?
@TuxCopter You say a IPA after drinking a IPA
 
@cairdcoinheringaahing Jelly, 7 bytes: ØażØAẎy
@2EZ4RTZ I'm not a RO but I can guarantee that there isn't. That just seems like a massive way of abusing chat
 
@cairdcoinheringaahing i need it to get a dota game together XD
 
@2EZ4RTZ I mean, there it's being used "harmlessly" but imagine a spammer just pinging everybody all in one message. It's more trouble than it's worth
 
@cairdcoinheringaahing yeah i can see that
 
10:45 PM
Anyone want to go to the Sandbox chat room? I have a couple of experiments I'd like to try
 
@2EZ4RTZ huh?
 
Hi everyone!
I think my previous post didn't show up on account of not enough reputation at the time.
 
11:02 PM
0
A: Sandbox for Proposed Challenges

fireflame241Piles and Piles of Pebbles code-golf optimization My job is stacking pebbles into triangular piles. I've only been doing this for a century and it is already pretty boring. The worst part is that I label every pile. I know how to decompose pebbles into piles of maximal size, but I want to min...

 
11:29 PM
1
Q: Can we remove the semicolon-# tag?

Conor O'Briensemicolon-# is a tag for challenges related to the language ;#. I suggest we remove this tag, since it is very localized and we've pretty much exhausted all non-duplicate challenges concerning this language and derivatives thereof. I predict most of the future challenges that could possibly be ta...

 
11:59 PM
What is the consensus on quines accepting input?
 
00:00 - 15:0015:00 - 00:00

« first day (2410 days earlier)      last day (2434 days later) »