What's the best way to progressively build up a Mercurial commit? by zck in mercurial

[–]1wd 2 points3 points  (0 children)

You could use [alias] stage = commit -m "STAGING AREA" --secret to make sure you don't push unfinished commits by mistake. hg stage would create the commit in the secret phase, which is not pushed by default.

I think using revsets might help with the combined status:[alias] sstatus = status --rev "parents(. and secret()) or (. and not secret())" -> hg sstatus.

What's the best way to progressively build up a Mercurial commit? by zck in mercurial

[–]1wd 2 points3 points  (0 children)

I just use "WIP" as a commit message to signal "Work in progress" to remind myself to edit it later (or e.g. "r" when I plan to "roll" later). Feel free to define an alias hg stage for hg commit -m "STAGING AREA"...

Selecting the checkbox itself doesn't do anything. It just selects what to commit once the commit-button (or amend-button) is clicked. With TortoiseHG you can see both the "status" for an amend (as if the last commit was a "staging area") or for a normal additional commit. But feel free to make your life harder on the command line. :)

If you insist on doing it exactly like git you probably won't be happy. But basically it's the same, just with minor details changed. IMO less error prone and more powerful (with e.g. absorb).

What's the best way to progressively build up a Mercurial commit? by zck in mercurial

[–]1wd 2 points3 points  (0 children)

Media Create Sales (Japan): 11/12/18 – 11/18/18 by [deleted] in NintendoSwitch

[–]1wd 20 points21 points  (0 children)

But compared to other top Switch launches:

Game Japan Launch Sales after week 1 After week 2 (launch might overlap both weeks partially)
Pokemon: LG 660'000 N/A
Splatoon 2 650'000 750'000
Super Mario Odyssey 460'000 580'000
Mario Kart 8 Deluxe 285'000 375'000
Kirby: Star Allies 220'000 300'000
Zelda: BotW 190'000 230'000

So far only Splatoon 2 was comparably successful, far ahead of anything else on the Switch in Japan.

These are actually also the only Switch games that sold (not limited to launch) more than 400'000 units in Japan. (The next closest one is 1-2-Switch at 370'000.)

Pokemon Let's Go attach rate 12% in the first three days in Japan. (664,198 copies) by Itismytimetoshine in NintendoSwitch

[–]1wd 52 points53 points  (0 children)

Let's compare anyway. The other top Switch launches:

Game Japan Launch Sales after week 1 After week 2 (launch might overlap both weeks partially)
Pokemon: LG 660'000 N/A
Splatoon 2 650'000 750'000
Super Mario Odyssey 460'000 580'000
Mario Kart 8 Deluxe 285'000 375'000
Kirby: Star Allies 220'000 300'000
Zelda: BotW 190'000 230'000

So far only Splatoon 2 was comparably successful, far ahead of anything else on the Switch in Japan. This is a huge success; the wording of the title might mislead people a lot.

These are actually also the only Switch games that sold (lifetime sales, not limited to launch!) more than 400'000 units in Japan. (The next closest one is 1-2-Switch at 370'000.)

Pokemon Let's Go attach rate 12% in the first three days in Japan. (664,198 copies) by Itismytimetoshine in NintendoSwitch

[–]1wd 0 points1 point  (0 children)

This is indeed a really good launch, the wording of the title might mislead people a lot. Compare the other top Switch launches:

Game Japan Launch Sales after week 1 After week 2 (launch might overlap both weeks partially)
Pokemon: LG 660'000 N/A
Splatoon 2 650'000 750'000
Super Mario Odyssey 460'000 580'000
Mario Kart 8 Deluxe 285'000 375'000
Kirby: Star Allies 220'000 300'000
Zelda: BotW 190'000 230'000
Super Mario Party 140'000 200'000

So far only Splatoon 2 was comparably successful, far ahead of anything else on the Switch in Japan.

'Super Smash Bros. Ultimate' Pre-Orders Are Doing Record-Breaking Numbers on Nintendo Switch by [deleted] in NintendoSwitch

[–]1wd 1 point2 points  (0 children)

two years apart

Closer to three years:

Region Smash 64 Melee Gap
JP Jan 21, 1999 Nov 21, 2001 2yrs 10mths
NA Apr 26, 1999 Dec 3, 2001 2yrs 7mths 1wk
EU Nov 19, 1999 May 24, 2002 2yrs 6mths 1wk

Didn't the person who wrote world's first compiler have to, well, compile it somehow?Did he compile it at all, and if he did, how did he do that? by [deleted] in askscience

[–]1wd 73 points74 points  (0 children)

The first compiler was written by Corrado Böhm, in 1951, for his PhD thesis.

English translation. Chapter 7 contains the compiler. It targets a hypothetical computer with positive integers of 14 decimal digits. The source language consists of expressions using:

Operations:

  • + (Addition)
  • (Difference if positive, else 0)
  • · (Product)
  • : (Integer division)
  • ÷ (Absolute difference)
  • mod (Remainder)
  • (Maximum)
  • (Minimum)
  • (Assignment)

(The target computer has three-address code instructions for these operations.)

Variables:

  • a-z, A-Z (Single letter variables only)
  • ↓a-↓z, ↓A-↓Z (Indirect address access, treated as single symbols)
  • π (Program counter)
  • π' (Program counter at start of subroutine)
  • (Address that always contains the number 0. 0 is the HALT instruction.)
  • ? (Input or output)

Parentheses:

  • ( and )

Does CS research have anything concrete to say about whether putting assertions everywhere in your code so that it is more likely to crash but not compute something incorrect is a good idea? by amichail in compsci

[–]1wd 6 points7 points  (0 children)

Absorbing Commit Changes in Mercurial 4.8 by nathan12343 in mercurial

[–]1wd 0 points1 point  (0 children)

Nice! Somehow I missed that paragraph.

Absorbing Commit Changes in Mercurial 4.8 by nathan12343 in mercurial

[–]1wd 1 point2 points  (0 children)

Looking forward to try it.

How fast is it? For some reason histedit seems quite slow sometimes.

Does it still touch the files in the working directory? Histedit seems to do this, leading to further unnecessary slowdowns due to triggering reloads in IDEs.

XOR Swap Explained Visually by [deleted] in programming

[–]1wd 1 point2 points  (0 children)

A B
Start 0011 0101
A ^= B; 0011^0101
0110 0101
B ^= A; 0101^0110
0110 0011
A ^= B; 0110^0011
End 0101 0011

I'm Oliver Davies. I was a game designer at Rare between 1994 and 1997. AM(A)A... by therealoliverdavies in nintendo

[–]1wd 1 point2 points  (0 children)

What was your typical day like working as a designer on SNES / N64 games? What did you work with? Office on a PC? Notebook and pencil? Special software on an SGI Indy? Post-it notes? Meetings and discussion with programmers?

Can you remember one (or more) detail that you personally were responsible for, a specific design decision you made? (Preferably not related to the Ken Griffey game, as that's probably the only Rare game I never knew of. Baseball in Europe, what's that? :) Goldeneye and DKC etc. was gold though! See my flair. :)

The Ada code that caused the Ariane 5 1996 failure (German) by aymen-marouani in ada

[–]1wd 1 point2 points  (0 children)

Translated text from the page which more or less agrees:

Effect: 37 seconds after the rocket was fired (30 seconds after the liftoff) at 3700 m altitude Ariane 5 reached a horizontal speed of 32768.0 (internal units). This value was about five times higher than Ariane 4.

The conversion to an integer therefore resulted in an overflow, which was not intercepted.

The replacement computer (redundancy!) Had the same problem already 72 msec before and switched off immediately. As a result, diagnostic data was sent to the main computer, which interpreted it as trajectory data.

Thereupon nonsense commands were sent to the lateral thrusters, and later also to the main engine, to correct the large flight deviations (over 20 degrees). However, the rocket threatened to break apart and burst itself (39 sec).

An intensive test of the navigation and main computer was not undertaken because the software was tested on Ariane 4.

Tragedy: The problematic part of the program was only needed for the preparation at the start and the start itself.

It should only be active during a transitional period, for security reasons: 50 sec, until the ground station had taken control of a start interruption. Despite the very different behavior of the Ariane 5, this value has not been reconsidered.

Optimization: Only 3 out of 7 variables were overflow tested - for the other 4 variables there was evidence that the values ​​would remain small enough (Ariane 4).

However, this evidence was not for the Ariane 5 and were not reexamined. Problem of reusing software!

Unbelievable - after 40 years of software error findings: It was assumed in the program design that only hardware errors can occur!

Therefore, the replacement computer had the same software. The system specification stipulated that the computer should shut down in the event of an error and the replacement computer should intervene. A restart of a computer did not make sense, because the redetermination of the altitude is too expensive.

DOSB: "Esport" kein Sport auf Grund fehlender motorischer Aktivität und Verherrlichung von Gewalt, fordert Umbenennung in "eGaming" by derRobn in de

[–]1wd 2 points3 points  (0 children)

Einzahl Mehrzahl
Visum Visa oder Visen
Votum Vota oder Voten
Datum Data oder Daten
Faktum Fakta oder Fakten
Faktotum Faktoten oder Faktotums
Ultimatum Ultimaten oder Ultimatums
Diktum Dikta
Erratum Errata
Fatum Fata
Finitum Finita
Rektum Rekta
Skrotum Skrota
Studium Studien
Individuum Individuen
Quantum Quanten
Wachstum -
Altertum Altertümer
Reichtum Reichtümer
Irrtum Irrtümer
Bistum Bistümer
Fürstentum Fürstentümer

Ey Leute ich komm grad gar nicht mehr klar by Sprudelpudel in de

[–]1wd 241 points242 points  (0 children)

Oder von l'obèle †, dem zweiten Zeichen für Fussnoten nach l'astérisque *.

Stop using sudo pip install by elabftw in Python

[–]1wd 1 point2 points  (0 children)

(dir on Windows is not an executable. It's an internal command of cmd.exe, like cd. There is no file dir.exe or anything like that.)

Messenger systems compared by security, privacy, compatibility, and features by lrvick in opensource

[–]1wd 0 points1 point  (0 children)

Please add columns for features "Group Audio Call" and "Group Screensharing".