hacker

Student Fires

@StudentFires (340) • StudentFires
Let's change Repl, at it's core! Vote here: https://repl.it/language-requests/p/templates
h
StudentFires (340)
Calculating π ... C++ Style :·)
So, surely you've **all** seen #LizFoster's attempts at calculating *π*, I'm here to do the exact some thing. I take great honor in introducing to yo...
h
StudentFires (340)
Using Memoization to Speed Up Code
# What is memoization? *** Yeah, that's right, ***memo***, not ***memor***. I asked my self this when I first saw it. Simply put, memoization can be d...
answered
h
StudentFires (340)
How Repl works (specifically HTML repls)
Forewarning, **this** is a code question, but I'm pretty sure I'll need a Repl.it moderator. ##### Background ##### All Repls have a hidden ***.replit...
h
StudentFires (340)
Team of Programmers Wanted
*Please avoid upvoting this post, this is not for cycles.* ___ # Help Needed # We're looking for a team of people who are very proficient at progra...
h
StudentFires (340)
JavaScript Canvas Virus Animation
Original source and author: https://codepen.io/curtlol/full/PpwNpR ___ **Here we are, a global pandemic has changed everyone's plan, ended countless...
h
StudentFires (340)
microChat, derived from Vandeism14’s “tiny chat,” but ever smaller!
*Disclaimer: StudentFires is in no way whatsoever assuming authorship of the original code by repl.it user “Vandeism14,” whose code can be found at ht...
h
StudentFires (340)
XHTML Text Editor
# Get typing today # Do you ever have an idea? You're about to lose it, it's slipping... then you go to write it down, but you don't have a notepad,...
h
StudentFires (340)
Bit-Wise Multiplication
*Is it okay to modify old code?* Here's a small library for bit-wise mathematics. # Bit-Wise Math #
h
StudentFires (340)
C++ How to Initialize an Array?
Okay, first off I know *how* to initialize a C style array, and a `std::array`, but I'm trying to initialize an array from a `std::initializer_list<>`...
h
StudentFires (340)
WEEKLY6
Not a submission for the 6th weekly challenge hosted by Drone7.
h
StudentFires (340)
C++ How to use true read only memory?
My Repl builds upon an example given at http://www.possibility.com/Cpp/const.html, but heavily derives from what they used by using modern C++ capabil...
h
StudentFires (340)
Shorthand way to write a url referring to the current location, using a different protocol
# Is there a shorthand way to write a URL referring to the current location, using a different protocol # I avoid using absolute URLs whenever possib...
h
StudentFires (340)
How to modify display size and shape of chromium using Bash
I have a simple Bash repl that opens the chromium browser. The display is a set square shape. Can it be modified to be a rectangle for phones or deskt...
h
StudentFires (340)
Bookmark Creator
Do you ever open multiple links often? Do you have them bookmarked? What if I told you they can all be opened at once, but from a single bookmark. Tha...
answered
h
StudentFires (340)
How would I find repeats within a string?
I have a very long string that doesn't have any line breaks or spaces; I am looking for any repeats within it. It is ineffective to manually look at...
h
StudentFires (340)
#WEEKLY1 C++ Template Meta-Programming Positive Multiplication
So, I'm taking down my previous submission. A day or two ago, I had set up a small library for bit-wise math, in which I had supported multiplication...
h
StudentFires (340)
C++ String Literals or Char Array to Unsigned Char Array?
Is there any way I can safely convert a C array of data type `char` to an equivalent array of `unsigned char`? I'm trying to make a function that tak...
h
StudentFires (340)
#WEEKLY #5 Weirdest looking code you'll see
My submission for the weekly #5 challenge, done in Deno, probably would've been easier if it had been done in C++ instead, but hey, `¯\_(ツ)_/¯`, it's...
answered
h
StudentFires (340)
How to make a Repl private, but allow to run with "output=1&lite=1"
Some of our (StudentFires &copy;) code we would like to keep private. We're not making everything open-source, but some of our projects we would still...
h
StudentFires (340)
C++ Approximation of π
Although this is primarily designed to compete with @LizFoster, I am going to attempt to apply my post on memoization, https://repl.it/talk/learn/Usin...
h
StudentFires (340)
C++ Variadic Lambdas For Beginners
### Preread ### *Please inform StudentFires or a confirmed associate of StudentFires, if there is anything that is vague, incorrect, hard to read, ha...
h
StudentFires (340)
Formatting HTML to JSON
[](https://repl.it/@StudentFires/JSONandXML) [](https://repl.it/@StudentFires/VeneratedPristineTexts) I was preparing to create a program intended to...
h
StudentFires (340)
Using link tag preconnect on WebSockets
# Using link tag preconnect on WebSockets # I have a website that uses WebSockets to connect to the server and transfer data. At *[css-tricks.com](h...
h
StudentFires (340)
Python-style type-safe print function
In C++, I make a simple to use, variadic, no-overhead, type-safe `print` function! It compiles **lightning fast** even at super high optimization and...
answered
h
StudentFires (340)
C++ How Do I Declare A Function?
Right now I have something like this: ```c++ extern ... { void foo(int i); }; ``` I need something more like: ```c++ extern ... { void foo(aut...
h
StudentFires (340)
JavaScript Classes: How to Use A Setter Within A Constructor
## How can I use a personally defined setter within a class inside of the constructor? ## Example use case: What if I have validation or modification...
h
StudentFires (340)
Targeting XHTML CDATA Sections With CSS?
How do I target XHTML CDATA and/or PCDATA sections using CSS? Example code: ```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <html xml...
h
StudentFires (340)
HR Tag being displayed outside of a web browser
*First of all, I doubt this was the best way to go about doing this, so if anyone has a better idea, please leave it in the comments* ## Background...
h
StudentFires (340)
Opening Chromium Browser and Creating a Server, Simultaneously
I have a Bash REPL that creates two processes (*jobs*), one of which is opening nodeJS and creating an HTTP server, the other is opening a Chromium ta...
h
StudentFires (340)
Anything/Empty REPL
### I've done it! The simplest empty REPL method to date, it's not an error on REPL's side either, it's basic node.js functionality. #### Steps * Mak...