« first day (2489 days earlier)      last day (2360 days later) » 

12:01 AM
@NewMainPosts if the task was to do it once instead of repeatedly, this would be really easy in brain flak
 
@DJMcMayhem Sorry, I wanted to make it longer than 6 bytes in Jelly (which is what doing it once took me)
 
JUST GOT NEW WIFI
:D
We have 5 megs rn and should be up to 20 asap
 
12:26 AM
@Christopher2EZ4RTZ 20 Mbps or 20 MBps?
 
@cairdcoinheringaahing No worries. It just means I won't do it in brain flak
 
@Downgoat what exactly do you mean
 
1MBps = 8Mbps
 
Not the message I was replying to
 
12:51 AM
@Pavel I've added template strings to Funky in the form of `` blah [1+2] blah ``
 
@quartata like if you have:
 
AKA DreamMaker Style.
 
let foo: A<T> = ...
you cannot cast foo to anything (except Object) safely
 
1:08 AM
@ATaco Ooh, neato
 
1:34 AM
does this link work for everyone: codegolf.vihan.org:4321/post/4
 
@Downgoat it works for me
 
@Downgoat It works but the run button is off
It looks borked and clicking it does nothing
 
@Pavel yeah, idk why that is happening. TIO server are giving me CORS error
when you say looks borked do you mean postioning looks weird
 
1:50 AM
Woah, the front page of reddit is intresting right now
The net neutrality posts go on for pages without interruption
 
@Pavel wow, I have never seen something so consistently unpopular
 
@Downgoat It's almost like the government is trying to take a way an extremely important right for the benefit of actually no one.
On that note,
 
@Pavel pfffffttttt, Mr. Billionaire will go from $30B to $31B in net worth 10/10 trickle down economics amirite
 
@Downgoat It screws over a bunch of billionaires too, Netflix, MS, Google, etc. are none too happy about this
 
 
2 hours later…
3:28 AM
Now that I can use template strings, I'm not sure when I actually would use them.
 
@ATaco :O you install babel? :D
 
Nah, I'm talkin' about Funky.
There's currently an issue with spaces though, which needs fixing.
 
3:49 AM
Hardware question: What motherboard would you recommend for a budget (non gaming) desktop PC build? I'm not picky about form factor, but it has to support DDR4 RAM and an Intel 7th gen.
Is it possible to get something in the 50-70 USD range?
 
@DJMcMayhem I usually just go to tomshardware and modify their midrange PC
 
@ATaco What are you talking about string interpolation is like the best thing ever
 
 
1 hour later…
5:05 AM
@Downgoat Depends on what exactly you mean with generics. If that was generated from a template then the compiler should be able to check any cast
"""traditionally""" in JVM land though generics are not resolved at compile time aside from verifying that the type conforms to any extends or super constraints
it literally is Object
 
5:30 AM
Any glaring problems with this before I post it?
 
6:00 AM
Actually most answers on the OEIS challenge overflow integer range before it reaches 1000. Currently there are some disputes on the last answer. / Is Java 7/older remains? Java has builtin BigDecimal.
And you can calculate tan as sin/cos; sin;cos by taylor series (<- very bad method), till it still changes. At least it works (iirc there is no trigonometric builtin for bigdecimal)
 
TBH I really don't think integer limits or Trig inaccuracies should invalidate an answer, as it's not really in the spirit of things.
 
6:25 AM
0
Q: Reconstruct an arithmetic sequence

DLoscGiven a finite arithmetic sequence of positive integers with some terms removed from the middle, reconstruct the whole sequence. The task Consider an arithmetic sequence: a list of positive integers in which the difference between any two successive elements is the same. 2 5 8 11 14 17 Now s...

 
7:11 AM
CMP: Does anyone here subscribe to PPCG's newsletter?
 
7:40 AM
0
A: Sandbox for Proposed Challenges

Ayb4btuExamining the Students Swing code-golf The 2017 Level 1 Mathematics and Statistics NCEA examination paper has been making headlines in New Zealand for being 'impossible' and bringing students to tears. One of the questions involves a children's playground swing, and finding where the holes in ...

 
7:50 AM
@cairdcoinheringaahing Yes
 
@DJMcMayhem Why?
 
Idk
Cause I felt like it
 
ಠ_ಠ TFW you forgot to implement sum in your language
 
8:19 AM
Can you access Github now? If yes, can you get an old version of Jelly (somewhere around September 2017), and post a TIO link here? For some reason I can't access Github.
Because I've just posted this answer codegolf.stackexchange.com/a/148815 and I need some behavior of Jelly to golf down some bytes.
archive.org intentionally add some contents to css files, which makes its SHA-256 hash change, and in the end make the page renders badly.
Oh Github worked. No problem.
But I can't use it reliably. Anyone can help?
 
9:04 AM
Answer done, anyway. Github still not accessible.
 
 
3 hours later…
11:53 AM
Is every device similar to USB (with bootable content) bootable? (for example, their main purpose is not USB, they may be a camera/smartphone/etc.) And if not, how can I check it?
In other word, is every device similar to USB be used as a bootable USB?
 
12:22 PM
It has to have a USB storage controller supported by the boot system's fs driver.
 
 
2 hours later…
2:20 PM
-5
Q: Program of linked list and sorting

MahakWrite a function that takes two student record structures by reference and swaps all their contents except their next pointers. Use your functions to implement bubble sort algorithm to sort the linked list (do not use arrays).

 
2:35 PM
@Mr.Xcoder 19 < 28, so no, the test case is fine.
 
0
A: Sandbox for Proposed Challenges

Bruce ForteSwap the Endianness Tags: code-golf, hexadecimal, integer As most of you probably know, (byte-addressable) hardware memories can be divided into two categories - little-endian and big-endian. In little-endian memories the bytes are numbered starting with 0 at the little (least significant) e...

 
@dzaima "Output will appear here once some code has been executed"... no it won't ಠ_ಠ
That's cool af though hahahah
 
@J.Sallé yeah I'm too lazy to make that placeholder disappear :p
 
Hahahahah
 
3:33 PM
-2
Q: Program of linked list

UrmilaWrite a function that takes two date of birth structures as input and returns -1, 0, 1 if the first parameter is less than, equal to or greater than the second parameter respectively. Using your function, write a recursive mergeSort program to sort the linked list of student records in increasing...

 
3:51 PM
0
Q: HSL to RGB values

towcYou can pick your preferred representation for I/O, as long as its consistent between them. For example, they can be an array/tuple with 3 elements or an object with 3 properties named h, s, and l, but I'll accept other clever variations, like receiving the hsl as an integer (losing precision) a...

 
4:02 PM
0
A: Sandbox for Proposed Challenges

towcHSL to RGB values You can pick your preferred representation for I/O, as long as its consistent between them. For example, they can be an array/tuple with 3 elements or an object with 3 properties named h, s, and l, but I'll accept other clever variations, like receiving the hsl as an integer (...

 
Can someone help me determine the precision of my code? TiO times out for values large enough to be problematic.
 
Ok just post it here.
(probably for oeis challenge?)
 
@NewSandboxedPosts Is it allowed to allow multiple input format (for example, "0-1 or 0-255")?
So, truncated Taylor series for calculating tangent? And how much accuracy does BigDecimal have?
 
Yes, it's truncated Taylor series. BigDecimal is supposed to be arbitrary-precision.
 
4:13 PM
@user202729 "By default, the precision approximately matches that of IEEE 128-bit floating point..."
 
Which is not a lot. Probably not enough for 1000 terms.
 
Damn, I missed that. Nevermind.
 
in Java you can tell it to be arbitrary precision
 
I know, but I can't find 1.6 compiler anywhere.
 
or just set the accuracy to something big, experimentally
 
4:16 PM
A truncated taylor series probably isn't accurate enough for 1000 recursions, anyway. At least not without a ridiculous number of terms.
 
That too. Actually Taylor series is a bad way to calculate functions, but at least it is probably "good enough" for the challenge. Anyone want to implement Cordic?
 
4:30 PM
Well, I used trig identities to get the argument close to zero, so it should be pretty good. I just need to force arbitrary precision. Or implement CORDIC
 
@KSmarts Apparently Scala's BigDecimal has a setScale(int) function to set the precision, not sure if it's what you need though
 
Announcement: APL learning session at 18:30 UTC in APL. Tonight's subject: APL built-in functions' marathon
2
 
Also, apparently the difference between precision and scale is that scale is the number of digits after the decimal point, and precision is just the number of digits.
@Adám Looking forward to it :D
 
4:58 PM
1
Q: Thanksgiving Feast

AdmBorkBorkTomorrow, November 23rd, is Thanksgiving Day in the United States. To prepare, you need to cook up some ASCII turkeys. However, since you're late in planning, you need a program (or function) to help you with how many birds you need to prepare. .---. _ .' './ ) / _ _/ /\ ...

 
Anonymous
5:51 PM
@Riker Thanks
 
@Mego np
sorry about the invite @mınxomaτ
 
6:07 PM
@NewMainPosts yay finally got a working version of the math :p
 
6:36 PM
@Riker Can you add 321604 to the APL chat?
@MartinEnder @MetaEd Can you give explicit write access to 321604 for the APL room?
 
Anonymous
35 messages moved to PPCG v2
 
@MartinEnder Yes. Thanks.
 
I don't think we can.
 
he's the RO there
 
6:47 PM
@MartinEnder Why not?
 
because they don't have chat privileges. I don't think mods can hand out chat privileges.
 
@MartinEnder just try a bit then to be sure at least ;)
 
Anonymous
@MartinEnder I think a super-duper-ping will do the trick
 
Anonymous
Like @@@<number> in the room
 
hm, looks like there might be a way. let me try.
 
6:51 PM
@MartinEnder how did you do it? normally?
 
@MartinEnder Thanks
 
yeah, turns out you can give users write access to individual rooms, even if they don't have the chat privilege
 
Y'all got it? I just saw the summons.
 
@MetaEd Yeah, sorry.
 
6:57 PM
Awesome. For the second time today I got there just in time :-)
 
well, a mod flag would have to wait for 15 minutes, so the only other solution would be mass pings...
 
@EriktheOutgolfer Yeah, and I got the request only 6 mins before scheduled event was supposed to begin.
 
@Poke I've been taught that doing any bool = bool comparison is bad practice, maybe my professors just didn't want me to find these kinds of things? :p
 
@Poke I think that's the same as ((False == False) and (False in [False]))
 
7:10 PM
@Poke Python has this weird convention of chaining comparisons, so it calculates False == False and False in [False] when not given brackets for precedence.
And ninja'd
 
wow...
 
@Poke I assume in has higher precedence?
 
no
in has the same precedence as ==
 
@Downgoat If it was just odd precedence then the first line would behave the same as either the second or third
 
that's why it chains
 
7:15 PM
> Comparisons can be chained arbitrarily, e.g., x < y <= z is equivalent to x < y and y <= z, except that y is evaluated only once (but in both cases z is not evaluated at all when x < y is found to be false).
 
7:36 PM
0
A: Sandbox for Proposed Challenges

Magic Octopus UrnCops and Robbers: Redacted Primality The challenge: Step One: Write a piece of code which checks for primality. Step Two: Remove pieces of your code by replacing characters with the symbol █. Step Three: Post the redacted code on the cops thread. Step Four: Wait for your code to be cracked and...

 
8:14 PM
how do i send utf16 with fiddler
or null bytes will work too i guess
 
8:28 PM
@mbomb007 you da man
 
8:45 PM
@Adám :( sorry I left, it worked though?
looks like martin got it cool
 
@Riker Yes. Thanks. I'll keep the user's access for next week. They were sincere.
 
yay
 
@Poke That's a nifty trick. Thanks for sharing.
 
Anonymous
@Adám Your APL sessions are neat. I've been reading through the transcript some, as I haven't been able to attend one yet. I hope to be available for one soon!
 
@Mego Thank you. I'd love to have you there. Even if you can't make it, you're of course welcome to drop in for spontaneous 1-on-1 sessions.
 
Anonymous
8:53 PM
Sure thing
 
Wow, there's been only one review task today. Must be quiet
 
It's a holiday week here in the US
that would probably account for some of the slowness
 
What holiday?
 
Thanksgiving
usually, people also get the Friday after Thanksgiving off
 
@AdmBorkBork Why?
 
8:58 PM
so that means it's only a three-day work week, and a lot of people just use three days of vacation time to take a 9-day vacation
Federal holiday
It used to be a time of literal giving-thanks for a bountiful harvest season.
 
Now it's followed in Christmas' footsteps of becoming a commercial holiday?
 
Yep.
There have literally been people stampeded to death on the Friday after Thanksgiving.
 
Black Friday?
 
Yes
 
right
 
9:26 PM
Hey, I just got the yearling badge!
 
congrats!
 
For people interested in the OEIS question, see my latest post in chat.stackexchange.com/rooms/69065
 
is there a more idomatic in python to do: if not (min_len <= len(title) <=max_len): return
 
@Downgoat if not (min_len <= len(title) <= max_len): raise # ... ;)
 
Maybe if max_len > len(title) > min_len: return
Never mind, that's wrong
 
10:23 PM
0
A: Sandbox for Proposed Challenges

totallyhumanuntitled cool sequence thingy code-golf sequence math number k 0 1 2 3 4 5 6 7 8 f(1, k) 0, 1, 3, 6, 10, 15, 21, 28, 36 deltas +1 +2 +3 +4 +5 +6 +7 +8 k 0 1 2 3 4 5 6 7 8 f(2, k) 0, 1, 2, 4, 6, 9, 12, 16, 20 deltas +1 +1 +2 +2 +3 +3 +4 +4 ...

 
10:36 PM
How to know Downgoat coded a website:
> NameError: name 'titel' is not defined
 
10:52 PM
Found a spacex part on the ISS on Google Maps
No idea what it is.
 
11:11 PM
-3
Q: Remake an offline-only web page without JavaScript

Walle CyrilHere is offline-only web page with JavaScript https://chris.bolin.co/offline/?lang=en Try to do it without. Use your creativity and any hack of css, html you can think of to achieve the goal. Bonus points awarded for Works without further interaction Hides back when connection is turned back ...

 
@mınxomaτ you could ask here: space.stackexchange.com/questions
 
@Downgoat Lol, of course the first result is a flat earth question
for mental health questions go to Health ;-) — szulat 1 hour ago
rekt
 
@mınxomaτ Probably needed to remote control Dragons. You can make out the DRAGON name and logo on the right in the area without buttons.
 
Well, there's a docking thing called dragon nearby
 
@Adám :O @ConorO'Brien is spaceship confirm
 
11:20 PM
Dragons have rights ಠ_ಠ
 
#DragonsRightsAreHumanRights oh wait
wtf apple apparently you have to pay to contact support for developer.apple.com
 
The fact that I need a Mac to develop for the Iphone saddens me.
 
11:35 PM
you don't need a mac, that's only for xcode
you can do like react native for eaxmple
 
11:49 PM
Not meaning to bother, but there's an edit pending.
:-) Thanks
 

« first day (2489 days earlier)      last day (2360 days later) »