Anonymous

@xxpertHacker (768)
Probably assembling source code.
xxpertHacker (768)
XHTML Introduction
*Thanks to @RayhanADev, @k9chelsea2, and @19wintersp for helping with the project.* # An introduction to XHTML # I had joined [Repl.it](https://repl...
answered
xxpertHacker (768)
[Closed] How to handle an error after partially sending HTTP body?
Update: I'm going to attempt to prevent the errors at the source, instead of dealing with them once they've occurred. ___ I'm not sure the language...
xxpertHacker (768)
The Modern JavaScript Tutorial Series; Part 1
### Author's note: ### This tutorial series should explain everything that I have learned in my time using JavaScript. I've known the language for l...
xxpertHacker (768)
How often do you use vectorized operations?
Vectorized operations are operations that apply to vectors. Pseudo code: ``` vector<integer> x = [ 1 2 3 4 5 ]; x = x + 3; # x : [ 4 5 6 7 8 ] ```...
answered
xxpertHacker (768)
Team to develop a language learning web site
I'm thinking about creating one of those websites that you use to learn a coding (programming/scripting/markup) language, think [FCC](https://www.free...
answered
xxpertHacker (768)
[Closed] Function prototype method to replace expression
I don't even know what to title this question tbh. I have a function: ```js const passAll = func => { return function () { return func(this, ...ar...
xxpertHacker (768)
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...
xxpertHacker (768)
Browser Crasher
About a month ago, I had opened Chromium bug reports explaining this, informing them that a single page can crash a whole browser, but they... seem to...
xxpertHacker (768)
C++ unknown type?
I'm trying to figure out what type `u'0'` and `u"0"` are, but `std::char8_t` doesn't exist, so is it an un-named type? Ahh, these don't even compare!...
answered
xxpertHacker (768)
Low-level programming; how to implement an allocator?
I am dealing with a system where a mix of GC, RC, and manual memory management is needed. The program has a static block of memory, precisely 65535 (...
xxpertHacker (768)
Disconnecting pseudo-elements from their element? CSS expert help wanted!
I'm not asking how this can be done, since I know that it *can* be done. How can one disconnect a CSS pseudo-element from its actual element? By "di...
xxpertHacker (768)
The Modern JavaScript Tutorial Series; Part 2
# The Modern JavaScript Tutorial # # Part 2: Modularization and Modernization # ___ Part one is [here](https://repl.it/talk/learn/The-Modern-JavaSc...
xxpertHacker (768)
Compile-time values as parameters in functions in Rust?
Does Rust have something similar to C++ templates, in the way that they could create compile-time functions and accept compile-time values as template...
xxpertHacker (768)
[Closed] Does anyone have suggestions to name my site?
I'm developing a language learning site with a team, but one of the most important parts of a site is its name but... we're stuck! I asked for anyone...
answered
xxpertHacker (768)
Getting rustup on Repl.it?
I was searching around, and I wanted to use an alternative target for the Rust compiler, but I needed to install the core and std libraries for that t...
xxpertHacker (768)
[Solved] How to limit number of options shown from HTML <select> element?
This was an XY problem. ___ https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option I was looking for an HTML element that shows a list of...
xxpertHacker (768)
Using CSS for evil
5 months ago, I made a post about using WebAssembly's high execution speed to crash browsers. You can check it out at https://repl.it/talk/share/Brows...
xxpertHacker (768)
microChat, derived from Vandeism14’s “tiny chat,” but ever smaller!
*Disclaimer: I am, in no way whatsoever assuming authorship of the original code by repl.it user “Vandeism14,” whose code can be found at https://repl...
xxpertHacker (768)
JavaScript Canvas Virus Animation
Original source and author: https://codepen.io/curtlol/full/PpwNpR ___ Presenting this (*heavily modified*) browser JavaScript animation: # [Virus U...
answered
xxpertHacker (768)
How to determine how much data is on the stack, and prevent stackoverflow
Lang dev people, @fuzzyastrocat, @DynamicSquid, @firefish, do any of you know anything about stuff like this? Thank you in advance. Let's consider a...
answered
xxpertHacker (768)
How Repl works (specifically HTML repls)
I'm pretty sure I'll need a Repl.it developer. ##### Background ##### If you make your own .replit file and configure it correctly, it will override...
answered
xxpertHacker (768)
What is the difference between advanced and unadvanced code?
This is a very opinionated question, but what do you think divide "advanced" code from the rest? What do you believe constitutes calling code "advanc...
answered
xxpertHacker (768)
C++ compile time struct defaults?
I have a function `send_file` that takes a few arguments that must be passed, but the last parameter is an struct that acts as an "options bag" of thi...
answered
xxpertHacker (768)
How to use Unsized arrays or VLAs in Rust?
According to https://github.com/rust-lang/rfcs/pull/1909, Rust has C-like VLAs. But... upon trying the exact example that they had given, it's not wo...
answered
xxpertHacker (768)
Incrementing by 2 breaks prime searching loop
I set up a naive prime searching loop in JavaScript: ```js const isPrime = n => { block: { for (let i = 2n; i < n; ++i) { if (0n === n % i) {...
xxpertHacker (768)
[Solved] Simple multiplication table code fails to run loop
Figured it out myself ___ (*If you don't want to or don't know how to help me, could you upvote this so that it gets seen by more people?*) I was s...
xxpertHacker (768)
C++ reading a file without memory copy
Does anyone know how I could read a file into a `std::string_view`, ideally without using C code? StackOverflow seemed to have nothing on it.
answered
xxpertHacker (768)
Efficient indexOf algorithm?
Let's say that I have three functions: * firstIndexOf * indexOf * lastIndexOf `firstIndexOf` just finds the first index of a number in an array. `la...
xxpertHacker (768)
Web site style and structuring suggestions?
Recently, I began work on a simple, static web site. My first in almost a year (maybe longer). It is intended to persuade people to try the alternativ...
xxpertHacker (768)
[Closed] How to optimize this function?
Braindead simple JavaScript example: ```js const f = n => { const two_to_the_nth_bit_length = 2n ** n; const two_to_the_nth_bit_length_minus_one =...