« first day (4066 days earlier)      last day (865 days later) » 

12:03 AM
posted on December 02, 2021 by Cole Brown

The Beta channel is being updated to 97.0.4692.36 (Platform version: 14324.27.0) for most Chrome OS devices. If you find new issues, please let us know by visiting our forum or filing a bug. Interested in switching channels Find out how. You can submit feedback using ‘Report an issue...’ in the Chrome menu (3 vertical dots in the upper right corner of the browser).

 
12:22 AM
what the fuck website needs this amount of offline maintenance
 
Is this one of those sites where somebody is literally there on the other side processing your orders/whatever and they have to sleep from time to time?
Hmm, not enough time for sleep Monday-Friday but still might be a literal person on the other side and they have to stop to catch up with orders, for example. Or change shifts or something.
 
A schedule builder class for my school
Completely automated
And this is just helper site, the real site with the class data (where this site is pulling from) doesn't have maintenance times
 
Is Fred in charge of scraping the other site by hand and then use it, perhaps?
I can't think of any other reason you'd need maintenance times every day. Much less every week.
At work we have maintenance window every Tuesday or Thursday after 18:00. Basically, after normal business hours. It's not used every week, though - it's just when releases can be scheduled. So, we can't release on a Wednesday, for example.
And we release maybe about once or twice a month at the busiest. The two a month are usually a two-phase release (e.g., update one component, let users enter new data to normalise, update the other component).
 
12:45 AM
@VLAZ Automated offline backups & redeployment maybe. At work we have a dev system with multiple docker containers which halts all containers for an hour to make consistent offline backups, run some cleanup tasks, pull nightly builds and redeploy.
but the time frame is 1 hour and normally it takes like 10 minutes max... so.. probably not the same
 
 
5 hours later…
5:38 AM
posted on December 03, 2021 by Harry Souders

Hi, everyone! We've released Chrome Beta 97 (97.0.4692.39) for iOS: it'll become available on App Store in next few days. You can see a partial list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Harry Souders Google Chrome

 
 
7 hours later…
user17382064
1:00 PM
@KevinB The code was not what I was supposed to do, it is wrong.
 
user17382064
Starting back to here:
 
user17382064
 function findPlayers() {
    const allCovers = document.querySelectorAll(".cover");
    const allWrappers = document.querySelectorAll(".wrap");
    allWrappers.forEach(function addToPlayers(cover, index) {
      players.push({
       "covers": cover,
       "wrapper": undefined
      });
    });
  }
 
user17382064
Kevin.
 
user17382064
What is the answer to this?
 
user17382064
"When you want to access the first item from an array called allWrappers, what is the code that you would use for that?"
 
user17382064
1:02 PM
kevin, vlaz, someone????
 
1:31 PM
o/
 
 
1 hour later…
2:34 PM
allWrappers[0]?
 
3:21 PM
🚽
 
3:48 PM
I hate this coding format
const
    axios = require("axios"),
    knex = require('knex')(require('../knexfile'));

const getAllByDistance = (location) =>
    knex('companies')
because it leads to this:
const getAllByDistance = (location) =>
    knex('companies')
        .select()
        .then(entries =>
            entries.map(company =>
                getDistance(location, `${company.street}, ${company.postcode} ${company.place}`)
                    .then(distance => {
                        knex('companies')
                            .select()
                            .where(parseInt(company.maximum_distance_km) >= parseInt(distance.toString().slice(0, -3)))
                    }))
 
 
2 hours later…
5:27 PM
@KevinB Tried a simple refactor to extract the functions out to flatten it a bit and it probably looks even worse now:
const getAllByDistance = (location) =>
    knex('companies')
        .select()
        .then(a(location));

const a = location => entries =>
	entries.map(b(location))

const b = location => company =>
	c(location)(company).then(d(company))

const c = location => company =>
	getDistance(location, `${company.street}, ${company.postcode} ${company.place}`)

const d = company => distance => {
	knex('companies')
		.select()
		.where(parseInt(company.maximum_distance_km) >= parseInt(distance.toString().slice(0, -3)))
I think making the dependencies explicit through the function arguments highlights the inter dependencies well. a needs access to location only to pass it to b which in turn only needs it for c - three levels down. Hence all the nesting just to share a piece of data through several layers of function calls.
 
5:47 PM
In my experience that style of spacing is often used to satisfy linters, without needing to change the code logic. Aka making shorter lines without fixing the underlying issues that the rule was meant to prevent
 
 
2 hours later…
7:41 PM
> I need a bat to exe converter that works because every converter is broken right now Every website i encounter is a virus
 
8:26 PM
> At 15:30:08 UTC on Sunday, 4 December 292277026596,[26][27] 64-bit versions of the Unix time stamp cease to work, as it will overflow the largest value that can be held in a signed 64-bit number. This is nearly 22 times the estimated current age of the universe, which is 1.37×1010 years (13.7 billion). A solution to this is probably unnecessary as Earth will have been swallowed by the Sun when it became a red giant about 285 billion years before.[citation needed]
 
clearly it needs to be updated to accommodate teh future
 
8:55 PM
I suggest using jQuery to handle the time. I'm sure there is a good plugin for it.
 
See - jQuery has us covered.
 
!!jQuery
 
In React can one inputRef.current?.blur()
?
 
user17382064
9:11 PM
Kevin.
 
user17382064
Instead of using 0 to get an item from the allWrappers array, what should I do instead when I have a variable called index to get an item from the allWrappers array?
 
use index
?
 
inputRef.current?.Kevin?.blur() ?
huh, that works ^
 
user17382064
9:47 PM
@KevinB That's why I was asking you.
 
user17382064
I don't know yet, I have to wait and see.
 
wdym
stop guessing
Do what you need to do to understand the concept
read a book, watch a video, whatever it takes
you know allWrappers[0] gives you the first one, what would give you the second?
 
user17382064
allWrappers[index];
 
Yes, i think that's what you're looking for
but also, given your code, allWrappers[index] is equivalent to cover
which means your output after all of this won't be correct
because you're not using allCovers
 

« first day (4066 days earlier)      last day (865 days later) »