> He tried to keep this thought out of his mind and to forget it. He knew that such thoughts caused a feeling of fright in him and he was afraid of such feelings
I know for a fact that when I wake up in ~8 hours, there's going to be a message by either lyxal or Redwolf on the starboard, posted while I was asleep :P
Unless this is one of those English readings where you analyze why exactly the author repeated the word "feeling" there
@taRadvylfsriksushilani Is it possible that the sentences sound like that because the guy freezing to death is himself getting less coherent? Because I could definitely see someone thinking repetitive sentences in their head as they freeze to death
Huh, I figured this was written by some like...arctic explorer who wasn't really a writer, but the guy who wrote it was actually a really well known writer
In control theory, a bang–bang controller (2 step or on–off controller), is a feedback controller that switches abruptly between two states. These controllers may be realized in terms of any element that provides hysteresis. They are often used to control a plant that accepts a binary input, for example a furnace that is either completely on or completely off. Most common residential thermostats are bang–bang controllers. The Heaviside step function in its discrete form is an example of a bang–bang control signal. Due to the discontinuous control signal, systems that include bang–bang controllers...
@taRadvylfsriksushilani Actually, this indicates that he was ahead of his time. He knew the truth later made famous by FDR: The only thing he had to fear was fear itself. :P
@taRadvylfsriksushilani Even great writers turn out duds sometimes. I'll recommend almost anything by Agatha Christie, but don't read Passenger to Frankfurt. It's... not good.
It's at a slightly lower elevation that my house, most of the building is blocked by an elementary school, but if I look in just the right spot, I can just barely see one wing of it
I usually need to use some cell towers to line up the right angle though
When Codeforces runs tests on your solution code for dynamic programming questions, what's the point of writing a dynamic program algorithm when every time it runs your program none of the values from the previous cases are stored? I ran my Python dynamic programming algorithms and realized Codef...
@taRadvylfsriksushilani if you don't mind, is this the correct/best way to make a webserver in nodejs? if you don't know then apologies for the ping but i figured i'd ask you since you use js :P
Yeah, for a simple web server that's probably the best option. I know there's libraries with a lot more features (express is one, I think?) but I've never needed those
Egyptian fraction representations of 1 code-golf math number-theory rational-numbers open-ended-function
An Egyptian fraction is a representation of a rational number using the sum of distinct unit fractions (a unit fraction is of the form \$ \frac 1 x \$ where \$ x \$ is a positive integer).
For...
i hardly even want someone i've coded several projects from scratch with to meddle with my code (we usually define components first and just code separate things and interface them together)
@lyxal just further on that: at its best, copilot helps save a bit of typing or it suggests a way to do a smallish function you might not have known. Every other time it's just laughably wrong
I'd say there's a roughly 70% helpful rate
And the helpfulness also depends on the context of the file you're writing.
Enable "Format On Save" by setting
"editor.formatOnSave": true
And since version 1.49.0 editor.formatOnSaveMode has the option modifications that will just format the code you modified. Great when you change someone else code.
You can also set it just for one specific language:
"[python]": {
"...
Solve nonimplication-SAT
Background
This is Post's lattice:
Credit: EmilJ
It denotes the lattice of all clones on a two-element set {0, 1}, ordered by inclusion (from Wikipedia). That can be a bit of a mouthful so lets look at a concrete example. MP (located near the top) is a set that contains ...
You are going to be given a string containing some alphabetic characters along with [ and ]. Your task is to split into sections that are enclosed in a "group" created by [...] and those that are not. e.g.
"absbn[mesl]meslo[eyyis]me"
->
"absbn"
"mesl"
"meslo"
"eyyis"
"me"
Super simple right? W...
I'm a beginner programmer who got this task in C++. I have done the input of file and paragraph word count(code shown below). But I don't know how to do this further. This is a challenge for you guys and I might get some help as well in return.
Here's the task:
You have a list of English words al...
I'm a beginner programmer who got this task in C++. I have done the input of file and paragraph word count(code shown below). But I don't know how to do this further. This is a challenge for you guys and I might get some help as well in return.
Here's the task:
You have a list of English words al...
maybe a stupid question but i have no clue what to look up to find it on stack overflow
how do i import everything from a module in node js? similar to import * from something in python, i know i can do import * as something from "something.js" in node but that's not exactly what I want
I want to be able to access all exports of a module without having to say module. before the export.
Let's say that I have a module:
// mymod.js
module.exports.foo = function() {
console.log("foo!");
}
module.exports.bar = "bar!";
And a main file:
// main.js
var mymod = require("./mymod....
@mathcat Lets you use discord-style reactions in chat. Unfortunately, only people with SE nitro can see them, and only one person is allowed to have SE nitro at any one time :P
In fact, is it as cunning as a fox what used to be Professor of Cunning at Oxford University but has moved on and is now working for the U.N. at the High Commission of International Cunning Planning?
Highlight a Wordle guess code-golf string
In Wordle, you try to guess a secret word, and some letters in your guess are highlighted to give you hints.
If you guess a letter which matches the letter in the same position in the secret word, the letter will be highlighted green. For example, if the...
Can I also get some onioni on whether this is a duplicate of this?
if i want to have emojis in strings in my js code is it fine to just put the emoji itself or should i use \uwhatever to put in the bytes instead (and if so, how do i do the conversion)