« first day (1930 days earlier)      last day (3207 days later) » 

12:00
I improved the caching a bit for codegolf.xyz, it's now about 6% faster than codegolf.stackexchange.com. Authentication coming soon, to make the site browse-able for logged-in users.
12:10
@mınxomaτ is that even legal?
@Fatalize What is?
copying a SE site
@mınxomaτ you should apply Downgoat's design userscript naturally to the site
@Fatalize Yes
@Quill naturally?
like he should build it with the page
12:19
@Quill As in just add it in a script tag?
yeah
Or merge the CSS/HTML, then add the rest into a script tag
wat
No
Use num & 0x80 if it's 32-bit
Else num & 0x8000
Yeah
Basically that is num & 0b10000000000000000
@QPaysTaxes You use a bitshift
Say num = 0b1010
@QPaysTaxes Well, yes
In that specific case
>_> I was too late with the message. @MarsUltor you heard nothing. >_>
12:28
I guess it isn't too slow either
Why does phoneNumber.split('-') feel so satisfying to write
But the & 0x80 works for every number and avoids a second operator and a variable duplication
@BassdropCumberwubwubwub it's like eating chocolate while on a diet
@QPaysTaxes Then you use & 8000
Basically it's a number with just the leftmost bit
@QPaysTaxes Hmm, wait a second. You need to get it using sizeof and bitshift a 1 by that many bytes * 8
You should store it globally
somehow
Wait nvm
But are you using it for more than one type?
Then you should probably write the mask in the source
@QPaysTaxes ?
It's (1 << (sizeof(SIZE_MAX) * 8 - 1))
Make sure you correct the mask
(I can't tell if you've fixed it or not)
It can be any primitive integral type
It may be an internet issue
oic, just read your previous message
Do you have any idea why the internet is like that?
The WiFi cost $2m?!
How big is the school
As in number of students
12:45
300 students at any time? :D
I really doubt setting up my school's wireless cost $2m
Oh wait
> Enrollment 3,062
Depends, if you want a really strong connection you could go for 100k routers, all $20 each
@BassdropCumberwubwubwub That's too many
Ensures a strong connection though
I'm guessing ~200 at $200 each should be enough?
That's $40k for 15 students per router (I doubt it needs that much), plus say $60k for the rest of the setup (wiring etc.) should be enough
12:48
More than enough
Weekly "dare to answer?" question:
5
Q: Jordan Decomposition

Megoimportant note: Because this challenge only applies to square matrices, any time I use the term "matrix", it is assumed that I am referring to a square matrix. I am leaving off the "square" description for brevity's sake. Background Many matrix-related operations, such as computing the determin...

13:06
A wild bantha apears
Go! Bulbasaur!
What is a bulbasaur.... I am a bantha....
¯_(ツ)_/¯
Ok so banthas play MTG not pokemon. Only reason Ill every play pokemon is for the games not the cards
I don't know MTG. >_>
And I won't, in the forthcoming future.
13:13
WAY to expensice.
I lost my 150 dollar deck camping (banthas are dumb) and yeah so I don't play anymore because my cards are gone
I'm 14 that was like a years allowance
Getting a job soon though
is everyone 14 here or what
No river is 13
@BaldBantha Riker.
@BaldBantha How much is sea?
@mınxomaτ Sea is 25.
Ocean is 200.
13:24
@mınxomaτ I would normally use the CDN but in this case I need it locally for opal-jquery
> opal-jquery provides DOM access to opal by wrapping jquery (or zepto) and providing a nice ruby syntax for dealing with jquery instances.
> nice ruby syntax
Just reading that hurts.
I like Ruby.
obviously I wouldn't do this in production but I was curious to see how functional Opal was
Anyone here every used mushroom network gear for link bonding?
No puns pls.
@Fatalize A few in here are 15. But yes, there are a lot of underage people. :P
For the voting, drinking definition of underage, not the SE requirements definition of underage
13:36
Indeed. ;)
I guess it's a good thing that there's lots of young people interested in programming?
I think so too.
@mınxomaτ Not sure why you're asking this here and expecting a serious answer
@zyabin101 Yeah river is
18
Q: How old is River Song?

The DoctorHow old is River Song? How old was she when she "died", and how old was she at other points in the series?

It's crazy to think that Conor is developing bits and pieces of programming languages at the age that I was just starting to learn programming.
13:37
@El'endiaStarman Doorknob excepted ;p
What age is Conor?
IDK hes in highschool AFAIK
15, I think.
Doorknob is 15
and a mod...
Doorknob is magic, though
5
13:41
Where did @Doorknob learn to code?
My suspicions are still time travelling... come to think of it... time-travel is a Ruby gem, IIRC
@BassdropCumberwubwubwub Seriously? I'm jealous I started coding at 12 on code academy, got bored, then took a class in C# as part of the duke tips program now I'm self taught. I'm probably the worst programmer who frequents TNB, but I don't have any programmer friends IRL so
I think he was joking
OK there is no way he wrote cfractal in 2015 (he could have been 14 then) keyboardfire.com/portfolio
13:49
He wrote that for Code Day 2015 along with a couple other folks I believe
@BaldBantha Check out the transcript - he was posting images from it while developing it
@trichoplax Where?
Here :)
So what time 2015?
@BaldBantha There's a search at the top right of chat and you can also narrow it down by username: chat.stackexchange.com/…
13:51
Sometime in December I thought
He's a prodigy.
I hope he'll be more than a prodigy. He should be a lifelong expert programmer.
brb, trying to figure out the context for this:
10 hours ago, by Helka Homba
It's depressing when I take my shirt off and people tell me I should be programming instead
Is there a word for "expert among experts"? Like, I consider myself an expert since I've probably surpassed the 10,000 hours for mastery, but among other experts, I feel like I'm at the bottom of the barrel.
13:56
I think a lot of experts feel that way mutually about each other
@BaldBantha Context is the message right above.
Yeah figured out
@trichoplax Well, at least with Stack Overflow, it's objective. :P
I mean that someone you are impressed by can also be impressed with you for something you no longer realise is impressive due to becoming used to it
That's true.
13:59
It's funny, all my friends think I am a genious with computers when I'm really quite a n00b when it comes down to it
@El'endiaStarman I don't know, but the "opposite" is impostor syndrome.
There should still be a word for expert among experts though. There are some people who just seem to have all the background in every topic and the insight to put things together effortlessly from apparently unrelated topics
@El'endiaStarman "best of the best" in a sense, but for the "bottom of the barrel" part that could be "little fish in a big pond"
@El'endiaStarman it's a hard metric to measure... I felt the same about JavaScript, and then you get people like @Downgoat that come in and make you hesitate a little :p
@trichoplax True experts
Being a jack of all trades in every area gives you enough context to piece together CLI, DB, Web conversations
I suppose polymath covers a jack of all trades who is also master of them all
14:02
and hey you look like an expert, but really you don't know anything amazingly well
@trichoplax Yeah, polymath came to mind when you said this, but that means being a master in multiple areas.
"Best of the best" is definitely workable. I feel like that's more broad than I'd like, since you can apply it to skills like hotdog eating.
Closest I can think of atm, unfortunately :/
I think I'll get better As I take higher math classes... Much of the challenges on PPCG I can't due because of math, not code. (Not saying PPCG judges programming ability)
Yeah. I was thinking that maybe "Uber expert" could work? :P
"Guru" seems to be used occasionally, but I'm never quite sure what level it signifies
14:04
Everything else is more just general experts (one layer) rather than expert of experts (two layers), e.g. cream of the crop
@El'endiaStarman Expert at driving independently for pay?
Darn them for picking that name!
@El'endiaStarman Usually a specific name. Jon Skeet, Chuck Norris, Michael jordan, etc.
Nobel scientists too, but those are a bit too numerous to name individually.
In Chinese sayings, there's "there's always a taller mountain" to mean "there's always someone better than you", but unfortunately since the age of orienteering that's not really applicable any more
14:07
@trichoplax There's also "wizard".
@El'endiaStarman Einstein is used as a description of a genius
@Sp3000 Bigger Fish in english
Yeah, I said "little fish in a big pond" earlier
Expert amongst experts does seem like it should have something though
I'd still just call it "expert"
14:09
I mean, expert doesn't imply "top of the game"
@BaldBantha Hey, I liked them.
I smell an english usage question
@El'endiaStarman I even preferred them to 4-6
I've used "world-class expert" in the past.
Ah that sounds good
14:10
@NathanMerrill Yeah, the politics were nice, but "yes master" "no master" "Ok master" gets so annoying
I like the sound of world-class
There's always a worse franchise
Yeah, "world-class" is good.
Shower this answer in upvotes please :3
2
A: Evaluate a string as a verb in J

dahn oakEvoke gerund (`:) is what you want. Please refer to this short documentation for good examples. And in your case: str=: '+ @ >: @ %' (;: str) `:6 +@>:@% You may want to review Tie (`) to understand this. ;: returns gerunds in our case (atomic representations), and m `: 6 converts gerund ...

"Jon Skeet is a world-class programmer."
14:11
@CᴏɴᴏʀO'Bʀɪᴇɴ Why is stackoverflow trying to run flash when I follow that link??
BTW, I'm making an animatronic talking robot with a styrofoam head, and a raspberry pi. I'll post a video when I'm done
"I'm aiming to become a county-level programmer"
@BaldBantha ping me when you do :)
@trichoplax K. I was going to make it an AI, but I can't find a good speech-to-text API or `nix utility so
Googles is broken
14:20
Anyone here work for google? please fix the speech to text API or tell me how it works. It's all your fault.
I'm pretty sure most people who answer yes for the "work for Google" part would have no say over the latter half
Actually, the "tell me how it works" part would probably be an NDA violation :P
Woo! I got into the IBM Quantum Experience! (research.ibm.com/quantum)
@Sp3000 I know. But I have to blame someone: and we all know that you always blame the devs.
14:22
What? No. Aren't we meant to blame the users?
@Sp3000 LIke, how to use it, because it is not working as it used to
@Sp3000 But the users didn't make the API
@Sp3000 funny enough, I actually only signed 1 NDA agreement when I interviewed at google, and it was an agreement that I wouldn't violate other NDAs that I had signed with other companies
When programmers are using something other programmers made, you blame the other programmers
I guess it wasn't really an NDA agreement, but they really were careful to make sure they were legal with everything
@NathanMerrill Funny that, cos I definitely had an NDA
@PhiNotPi My application has been approved, too! Thanks for reminding me, the mail was in my spam folder >.>
@mınxomaτ It's because your classical computer has a grudge.
4
0
Q: Find the number of needles in the haystack

KimmaxYou have this huge book and want to know how often a sequence of chars (the needle) occurs in the text (the haystack). However your Frameworks search count function is broken, so you have to implement the algorithm yourself. TL;DR How many needles are in the haystack Input String of any lengt...

The mail is actually in both the spam folder and your inbox.
14:35
@PhiNotPi The unit coupons are really complex (</sarcasm>). I'd design a qubit sandbox and let new users solve different quantum problems (e.g. complete this algorithm etc.) to get more units.
@Sp3000 Schrödinger's mail
So what's it like? Do you just drag and drop quantum gates or something?
@quartata It's basically this: qcad.osdn.jp, but real.
Well since everyone's applying, I might as well join the bandwagon :P
@mınxomaτ how much experience do you have with quantum computers/programming? Because I'm just flying by the seat of my pants.
14:44
IMO (IDK anything) Quantum computing is a terrible Idea because with great (processing power) comes great responsibility. Hashes could be decrypted much faster, so all security would be easily hackable. Encryption relies on how long it takes to decrypt, and quantum computers could decrypt hashes easily, which is bad for security and good for bitcoin mining
I was using libquantum when it was developed and teached a class on quantum systems in general. But I have to re-learn like 80%. I've been fooling around with qCAD, since it more accurately resembles IBM's quantum composer.
@BaldBantha ... the point is to come up with new security? No security system is designed to last forever.
@Sp3000 So how to create a hash that a quantum computer that is incredibly fast cannot decrypt?
It also looks like there's a distinction between "Standard" and "Expert" users. I wonder what it takes to be an expert user.
@PhiNotPi If you are learning, there's a partial JS port of libquantum that has a nice 3D representation of the running system and some really advanced examples at qcplayground.withgoogle.com. It simulates up to 22 quBits.
14:47
Post-quantum cryptography refers to cryptographic algorithms (usually public-key algorithms) that are thought to be secure against an attack by a quantum computer. This is not true of the most popular public-key algorithms which can be efficiently broken by a sufficiently large quantum computer. The problem with the currently popular algorithms is that their security relies on one of three hard mathematical problems: the integer factorization problem, the discrete logarithm problem or the elliptic curve discrete logarithm problem. All of these problems can be easily solved on a sufficiently large...
@PhiNotPi You have to apply and give reasons for the upgrade.
@mınxomaτ Of which I have none.
@Zgarb yay I was right for once (about there being an issue with figuring out encryption post-quantum computing)
BTW: Here's a demo of integer factorization, performing on fac(15): qcplayground.withgoogle.com/#/playground/5191954035900416
@BaldBantha Yes, it seems that current public key protocols are vulnerable to quantum brute forcing (so new ones are needed), but current hash functions should still be secure.
14:58
0
A: Sandbox for Proposed Challenges

KimmaxHow many needles are in the haystack? You have this huge book and want to know how often a sequence of chars (the needle) occurs in the text (the haystack). However your Frameworks search count function is broken, so you have to implement the algorithm yourself. Input String of any length > 0 ...

chat mini challenge: given strings I and J, output/return J + I + reverse(J).
add a d, and you've got your python answer
Not quite - you can't just add a reversed to a str like that :P
bah, you're right
also, it'd be great if deleted questions didn't show on the sandbox
15:09
@CᴏɴᴏʀO'Bʀɪᴇɴ That took me longer than I'd like.
@NathanMerrill Not really, if there was a good reason. But I think I know which question you're talking about, so nevermind.
no, I've thought this for a while*
@El'endiaStarman It's a hard one, but it's so good when you get it :3
I mean, there's been so many times I've been going through the sandbox, and I have to scroll passed a bunch of posted/deleted challenges
15:12
I guess it's just that P(bad challenge|previously deleted) just happens to be pretty high.
@El'endiaStarman I just got it:/
@NathanMerrill I sort by votes so I don't have this problem.
But if it was a would-be-good challenge that has a minor but difficult to rectify immediately flaw that needs fixing, I wouldn't mind
@CᴏɴᴏʀO'Bʀɪᴇɴ I was initially sidetracked by thinking that it was geometrical in nature.
@CᴏɴᴏʀO'Bʀɪᴇɴ I feel like this would not work very well as a spoken joke. "Don't be such a third derivative of s with respect to t!"
In hindsight it seems really obvious
15:18
@El'endiaStarman you could say "Don't be such a change in acceleration!"
maybe?
@NathanMerrill That'd be better, yeah.
Oooh, now I have a new way to yell at people! "Why'd you do that you change in acceleration?!"
To be extra obscure: "Don't be such a Rice Krispies preceder"
also, let it be known that I drive in respect to jerkiness.
Quick language survey -- if your language doesn't have explicit casting, and you keep incrementing an integer (e.g., a loop) ... does the data type overflow into the next-higher-size int value, or into something else?
aka, I brake soft at first, then increase, then back off
15:20
In PowerShell, an undeclared [int] value will eventually overflow into an undeclared [double] value
@Sp3000 I can't even find out what that is via Google.
@El'endiaStarman Hint
@TimmyD Python: automatic promotion to bignum.
@Sp3000 lol
apparently, nobody cares about Jounce
PS C:\Tools\Scripts> for($a=2147483645;$a-lt2147483650;$a++){"$a - " + $a.GetType()}
2147483645 - int
2147483646 - int
2147483647 - int
2147483648 - double
2147483649 - double
15:22
@Sp3000 ...oh wow, that is obscure.
It's funny, because the Jounce page says it's also called Snap
So one of the two pages is wrong (4th vs 5th)
@TimmyD Yes for Python 2, in a sense
I guess that might depend on whether you count long() as casting
@CᴏɴᴏʀO'Bʀɪᴇɴ a bit late, but I voted.
@TimmyD Blitz 2D/3D: wraps around like C. Blitz only has int and float for numeric types.
See, Python's promotion makes sense.
Why would PowerShell elect to go from [int] to [double] instead of [int64] is beyond me.
15:38
At least it's not JS
^ -15
> Straight out of the sewers of Cerulean City, it's the...
> Teenage Mutant Ninja Squirtles
Why am I not surprised there's already T-shirts for that
hey, so I got a typing idea. Basically, I want to add a "read" attribute to types
so, a LinkedList can be read as a Graph
but not written as a graph
Hmm. Curious.
15:49
So, if you have a function that takes a graph, and all it does is read it (like traversal), it'd work on a linkedlist
another cool usage is that cloning an object would also work
so you upcast a linkedlist into a graph
(which would be writable)
it also gets rid of the silly "wrap your array list with another as you return it)
which you have to do in Java
actually, question: would there be any benefit to "write-only", but not read?
(outside of files)
Not that I can think of immediately.
Writing data is only useful (except for a few niche cases) when you want to read it at another time.
@Zgarb Found another bug (at least, according to the docs) on tryj.tk. __+_ should throw an NaN error and _. should be (?) _., not 1 :p
ok, another question: what's a good currying syntax

« first day (1930 days earlier)      last day (3207 days later) »