« first day (3177 days earlier)      last day (1657 days later) » 

1:41 AM
0
A: Sandbox for Proposed Challenges

HiddenBabelImplement the 2D Hadamard Transform The Hadamard transform works similarly to the Fourier transform: it takes a vector and maps it to its frequency components, which are the Walsh functions. Instead of sine waves in the Fourier transform, the Walsh functions are discrete "square waves" so to spe...

 
 
3 hours later…
 
1 hour later…
5:24 AM
@ConorO'Brien They're even running into bugs (1 2) since developers didn't consider that posts might get downvoted that much
 
amazing
 
@JoKing XD
 
 
2 hours later…
7:42 AM
Oh cool, so now if I mistakenly use "he" all the time because in my native language the equivalent of "he" is the default pronoun, then I’ll get banned
guess I should reincarnate into someone born in another country
 
8:11 AM
@MilkyWay90 Because it's difficult to get. Only 167 people have it
 
8:27 AM
@cairdcoinheringaahing That badge doesn’t make much sense on PPCG though
accepting answers is pretty "random"
 
@Fatalize Quite a few badges don't make sense on PPCG, we just have to deal with being part of SE
 
@cairdcoinheringaahing Also Judaism.SE has problems with certain badges.
 
@Adám I'm guessing Fanatic, given religious holidays?
 
@cairdcoinheringaahing Could program a bot to connect on saturdays
 
Or try to manipulate time zones, given that SE uses UTC times for stuff like that
 
8:37 AM
@Fatalize We're not allowed to do things that make it look like we're doing something forbidden.
 
@Adám Does asking a (non-religious) family member/friend count? You could ask someone to just refresh the front page and it'll log you as being here for that day
 
@Adám Refresh the page 1 millisec before saturday, so that it will relog you on saturday because of latency
 
@cairdcoinheringaahing Oh, that's even worse; we're categorically prohibited from doing so.
@Fatalize Saturday isn't usually a problem, since it goes by UTC date, and a Jewish date is from sunset to nightfall, about 25 hours later.
 
@Adám What if you need something done on a Saturday, something urgent and important, where it doesn't matter who does it? How would you go about that?
 
What could possibly be so urgent and important?
 
8:41 AM
Maybe something relating to work? A critical system failing and they need all hands on deck?
 
@Adám You have to call urgencies because someone you know is having a stroke
 
That's a better example
 
@cairdcoinheringaahing Monetary loss is not an issue.
@Fatalize That situation has a specific commandment override the prohibitions.
 
so only life-and-death situations are excempted then?
 
@Adám I have to say, I respect your devotion to your faith. Don't necessarily agree with it, but respect it anyway
 
8:44 AM
Pikuach nefesh (Hebrew: פיקוח נפש, IPA: [piˈkuaχ ˈnefeʃ], "saving a life") describes the principle in Jewish law that the preservation of human life overrides virtually any other religious rule. When the life of a specific person is in danger, almost any mitzvah lo ta'aseh (command to not do an action) of the Torah becomes inapplicable. == Biblical source == The Torah, in Leviticus 18:5, states "You shall therefore keep my statutes and my rules; if a person does them, he shall live by them: I am the LORD." Ezekiel 20:11 also states this phrase, "And I gave them my statutes, and showed them my...
@cairdcoinheringaahing Thank you. The dean of my rabbinical school used to say that The Torah (the law) doesn't need a facelift. In general, I've found people to be very respectful of expressed "extremism" — at least when it is coupled with trying to be nice.
 
Interesting:
> Climbing a tree is rabbinically forbidden, for fear this may lead to one tearing off a branch
So climbing trees is forbidden, even if a branch isn't actually broken (or similar)?
 
9:01 AM
Does that forbids you from using Dijkstra’s algorithm?
3
:p
 
@cairdcoinheringaahing Yup, we have lots of such rules. I usually explain it like this: Imagine (God forbid) that you find yourself in a concentration camp. The well-organised Germans made sure to put a 30kV sign on the fence. Let's you do the math (temperature, humidity…) and find that 50cm is enough to distance from the fence to prevent sparking from killing you. How far would you stay away (considering you might trip over a stone, get startled by a loud noise, someone might bump you, etc.)?
@Fatalize Wat?
 
@Adám Algorithms on trees…
 
I'll argue that because they are drawn, to traverse an algorithmic tree, one descends it, not climbs it.
 
ngn
9:18 AM
tree traversal is guaranteed to not break any branches. alpha-beta pruning though... :D
 
You guys are good. Maybe post some of this on judaism.SE when we reach March.
 
 
1 hour later…
10:34 AM
Has there even been a challenge to find a simple pattern in sequence of numbers or output next number in sequence? For example if input is 1 2 3 4 5, output should be 6 as pattern is n+1. I tried google and site search and only found this: codegolf.stackexchange.com/questions/174882/find-the-pattern but it is kind of complicated and has no answers.
I'm thinking about a simpler challenge which limits the patterns, so maybe brute forcing could be possible too.
 
Sounds reasonable. Definitely sandbox though.
 
10:51 AM
2
Q: Visualize a large int

AlfeConvert a large int (e. g. 1234567890) into a string containing the usual decimal prefixes k, M, G, T, etc. for kilo, mega, giga, tera, etc. The result shall be groups of three digits, interspersed by the prefixes (e. g. 1G234M567k890), so that it is easy to glance the order of magnitude of the ...

-1
Q: Reverse it! Quickly! (JAVASCRIPT)

user89702Typically, reversing an array is a pretty straightforward task even for novice programmers. But not when a crowd of angry zombies scratching your door, looking for a fresh brains. In this case even skilled ninja-geek probably prefer to quickly push his code on github to have enough time to find a...

 
@NewMainPosts Not dupe, but is language specific challenge on topic for this site?
 
@user202729 Yes, but usually frowned upon if not for very good reason.
 
In this case the restriction "do not use builtin Array.prototype.reverse" does not make sense in other languages.
 
@user202729 Right, but the language restriction is frowned upon too. The challenge could have prohibited all built-in reversing functionalities. Still a do-X-without-Y though…
Two wrongs doesn't make a right.
 
11:38 AM
@Adám Re do-x-without-y: 1. "it's hard to define "without Y" for a wide class of language" -> not a problem. 2. "it won't be saved by banning things" I'm not sure about this point. Without the built-in I think it's complex enough.
There's also codegolf.meta.stackexchange.com/a/8928/69850 but this can be patched pretty easily.
 
11:52 AM
-1
Q: Twice Linear !!!!?

user89702Consider a sequence u where u is defined as follows: The number u(0) = 1 is the first one in u. For each x in u, then y = 2 * x + 1 and z = 3 * x + 1 must be in u too. There are no other numbers in u. Ex: u = [1, 3, 4, 7, 9, 10, 13, 15, 19, 21, 22, 27, ...] 1 gives 3 and 4, then 3 gives 7 and 1...

 
@Adám Interesting, thanks for sharing.
 
12:38 PM
Just want to mention that I posted a challenge in the Sandbox for Proposed Challenges.
 
The bot will probably post it here soon.
 
12:55 PM
0
A: Sandbox for Proposed Challenges

HighlyRadioactiveInterpret Unneccesary (Not quite) Unneccesary is a joke language created by Keymaker. The source is unneccesary, and if given, it will error out. Your task here is similar. If there is input, your program should error out. If the input is empty, your program should do nothing and terminate.

 
 
1 hour later…
2:21 PM
Any mods around? Could you unfreeze this room please?
 
@cairdcoinheringaahing that’s a long unfreeze
 
@Fatalize It's been a long time since I used it :P
 
Yep. Continuing the awesome tradition.
 
3:07 PM
in JHTBot RO tests, 20 secs ago, by Feeds
DJMcMayhem has unfrozen this room.
 
3:54 PM
noob security question: would simply using https be enough to protect yourself from others using the same public wifi?
 
@Cowsquack usually, yes
 
even for online banking?
 
Can't guarantee, but usually yes. Also, most banking applications have security measures of their own to avoid the kinds of attacks I assume you're worried about (MITM, for instance)
 
4:57 PM
Anyone around who's willing to be a guinea pig for my chatbot tests? Would just need you for ~5 mins
 
Sure
 
Anonymous
5:43 PM
@Fatalize It has been made clear that unintentional misuse of pronouns is not an actionable offense, because we all slip up sometimes, and remembering which pronouns to use is hard even for native speakers.
 
@Pavel Why do Nigerian Scammers Say They are from Nigeria?
 
6:00 PM
@Adám Late but the elevator mode that has it stop on all floors so people don't have to use the buttons is some cheeky stuff
 
6:57 PM
@JoKing That's hilarious.
@Adám Every time I scroll past this my brain automatically translates it to "Pikachu"
:-/
 
7:11 PM
@AdmBorkBork My favorite mountain destination is Machu Pikacchu
 
7:25 PM
Today's codesignal challenge
CMC: that↑
input 3 < (s, e) < 21, output: the string
 
7:42 PM
@FrownyFrog Will the output be anything other than a and b alternating? ^a(ba)*b?$
Also the interplay between s and e seems to imply that this is literally just a loop over range(s, (s + e) // 2 + 1).
 
8:06 PM
that's correct
strangeCode s e =  div(e - s)2`take` cycle"ab"
Haskell, 38 characters according to codesignal rules (no whitespace counts, even in literals)H
4 users got 36 though
 
Test cases?
 
on it
 
@El'endiaStarman -1 Needs more parens.
 
@wizzwizz4 Oops, fixed.
 
4, 3 -> ""
4, 12 -> "abab"
6, 8 -> "a"
7, 8 -> ""
2, 18 -> "abababab"
1, 5 -> "ab"
oops
s and e > 3
 
8:29 PM
crap, gtg before finishing it. Fun puzzle, though!
 
@FrownyFrog dzaima/APL, 12 bytes. relies on quietly rounding down on float inputs which may or may not be fixed in the future
 
8:47 PM
@dzaima but you do the rounding, so it's actually 10
 
@FrownyFrog what do you mean? the 0⌈ is there just to handle cases when s+1 > e
 
when s == e?
I just can't find a case that breaks without 0⌈
 
@FrownyFrog e.g. for s=20, e=3 without it, it'd do ¯8⍴'ab' which errors
 
oh I see
 
 
1 hour later…
9:57 PM
Got the 36
 
10:26 PM
0
A: Sandbox for Proposed Challenges

Dannyu NDosRational number RNG The Objective Build a random number generator whose range is [0,1) ∩ ℚ. What's the fuss? This RNG is weird. Its range is nowhere connected, but is dense in the interval! Rules There is no input. The RNG outputs a number upon invocation. Using floating-point arithmetic i...

 

« first day (3177 days earlier)      last day (1657 days later) »