@Legend Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
Just remember that the JS world is full of bad examples and be ready to compare answers with others. There is no end of articles* that talk about old techniques or libraries needed on browsers 5 years ago but no longer today.
I did that as well. Anytime I needed to clean a PC, I'd back up a random assortment of shit I felt was neceessary on a disc. Throw the disc in a closet and never look at ti again
@sparrow2 Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
but there has been work done in mimicking them for lcd screens, there are two main devices for retro gamers, the framemiester and the OSSC (which makes no lag itself)
I remember I had a crt next to new lcd for many years in dual monitor setup and I could see the refresh in the crt, it was horrible, but also a crappy compaq
that car is probably on air/hydraulics and can raise/lower the suspension, as it is raised the tire will level out, it is bad on tires of course as can never achieve precise camber
Fellas, I've a semi-interesting discussion/brainstorming I'd like your help with.
We currently have a React application with our own Flux implementation by @Mosho, and while it served us well, we're currently seeing a few limitations with it and we thought it was a good opportunity (for a bunch of reasons) to start transitioning to MobX
The idea I have, is that new pages would benefit directly from MobX stores, while maintaining the current pages would involve as small as possible a migration to MobX store, should we want to add actions/properties to the store.
@ssube Currently, all stores are injected from props, so if I could replace them silently and maintain the same interface, I win.
The current architecture involves "connecting" each of the stores (which are wrapped POJSOs) with a dispatch function, actions then call dispatch with data, which is routed by our Flux godly object to the correct store, a handler (similar to a reducer) is then called with the current state and the data passed to it from dispatch, returning a new state for the store.
export function createActions(dispatch) {
return {
increaseCounter() {
dispatch(this.increaseCounter, 1); // dispatch takes a reference to the function, and arbitrary arguments.
}
}
}
export const counterStoreHandlers = new Map([
[actions.increaseCounter, (state: CounterStore, n: number) => ({
...state,
currentCounter: state.currentcounter + n,
}),
]);
Ideally, I would want that MyConnectedCounter to get a Mobx store for counterStore instead of the current flux one, with minimal changes to MyConnectedCounter
Thoughts so far?
My main problem being that the actions and the store come from two separate places, which is not very mobx-y
I'm trying to make a simple float addition every 1/10s. But the calcul is wrong after some iteration...
a = 0.00
setInterval(() => {
a += 0.01
console.log(a)
}, 100)
This is what I got
0.00
0.01
0.02
0.03
0.04
0.05
0.060000000000000005
0.07
0.08
0.09
0.09999999999999999
0.109999999999...
if you create a node writable stream via createWriteStream() and you just fire a few .write( 'you lost the game' ) into the stream/file, is it "possible" that these executions will not be in sequence?
The Tengwar are an artificial script created by J. R. R. Tolkien. Within the fictional context of Tolkien's legendarium, the tengwar were invented by the Elf Fëanor, and used first to write the Elven tongues Quenya and Telerin. Later a great number of languages of Middle-earth were written using the tengwar, including Sindarin. Tolkien used tengwar to write English: most of Tolkien's tengwar samples are actually in English.
== Fictional history and terminology ==
According to The War of the Jewels (Appendix D to Quendi and Eldar), Fëanor, when he created his script, introduced a change in...
@Zirak I went to a midnight showing once with the two main guys, it was great. The stupid one did a sales pitch for some line of long underwear he was developing/designing/selling.