HNHacker News
TopNewBestAskShowJobs

jcmeyrignac

191 karma · joined December 9, 2017

submissionscomments
jcmeyrignac··on Classnames – a site that provides thematically grouped lists of words
I prefer https://wordassociations.net/en which is also multilingual.
jcmeyrignac··on The Bluffers Guide to the Mythical Man Month
This is nothing new. In 1913, Max Ringelmann measured the effort of individuals when working in a group. The results are impressive: https://gallica.bnf.fr/ark:/12148/bpt6k54409695.image.f14

A group of 8 persons provides the same amount of work as 4 individuals.

jcmeyrignac··on Arithmetic in Computer Hardware
This reminds me about an interesting distributed project, which was trying to create redundant circuits to compute various arithmetic operators.
jcmeyrignac··on Mass producing the most expensive rice cooker [video]
Thanks for the advice! I wanted to buy a Zojirushi, but teflon is a big no-no for me. What are the options for a rice cooker without teflon/aluminum?
jcmeyrignac··on Internet search tips
I also recommend https://www.semanticscholar.org/ because you can easily retrieve some of the PDFs.
jcmeyrignac··on How does the New York Times make a game?
In fact, the numbers game is a copy of Countdown, which is itself a copy of "Le Compte est Bon", a french TV game started in 1965.
jcmeyrignac··on My Hardest Bug Ever (2013)
My hardest bug ever was also hardware related. Back in 1998, I was working on a game called "Trucks". When playing with the network, I noticed that the game was sometimes desynchronized.

To understand the problem, I had to save tons of logs and manually compared them, in order to find what happened. After a large effort, I discovered that some floating-point values were different. Then, I realized that some of our computers were Pentium with the FDIV bug.

jcmeyrignac··on The Osage orange, Texas’s ugliest fruit (2021)
I'm in France in a city called Vichy, and there are several "Orangers des Osages". With my wife, we were surprised by the quantity of fruits lying under these trees, and wondered if there was any kind of usage for them. Apparently not.
jcmeyrignac··on First signs of a slight decline in secondhand bookshops in Britain
In Paris, there are 3 big second-hand books: Gibert, Boulinier and Book Off. All of them suffered quite a lot these last years.
jcmeyrignac··on Japan WWII poison gas agents still scarring people today
My grand-father was gassed in Verdun (WW I).

All his children had pulmonary problems.

Some of his grand-children also have similar problems.

jcmeyrignac··on The Evolution of Camera Phones, Visualized
Two mirrors: https://web.archive.org/web/20220825104003/https://simplegha...

https://archive.ph/UPKwc

jcmeyrignac··on Ask HN: Any weird tips for weight loss?
Here is my trick, which is a way to balance your diet.

Each of your meals should contain 1/3 of cereals, 1/3 of proteins and 1/3 of vegetables.

Try to avoid sugar and red meat, and you'll lose weight without effort.

jcmeyrignac··on Show HN: Cedille, the largest French language model, released in open source
"Recette de tarte aux poireaux"

gives:

Recette de tarte aux poireaux et pommes de terre

Tarte aux poireaux et pommes de terre – Ingrédients de la recette : 1 pâte brisée, 500 g de poireaux, 2 pommes de terre moyennes, 3 oeufs, 150 g de gruyère râpé.... Cuisinez-la selon vos envies! Voir les 101 recettes. Partager sur Facebook;

jcmeyrignac··on Senet
Some researchers try to rebuild the original rules from these old games, using AI: https://ludii.games

About Senet, a few rules have been suggested: https://ludii.games/details.php?keyword=Senet

jcmeyrignac··on That XOR Trick (2020)
I used this trick in a sorting pancakes contest. Flipping a list of pancakes required only one XOR, whatever the size. Very nice trick.
jcmeyrignac··on Minitel: The Online World France Built Before the Web (2017)
I met my first wife thanks to the Minitel. I met my second wife thanks to the Internet.
jcmeyrignac··on FlauBERT and Flue: French Bert
Here is their paper: https://arxiv.org/pdf/1912.05372
jcmeyrignac··on A 48Khz digital music player for the Commodore 64 (2018)
Another trick is to put the replay routine in zero-page, so you can easily increment the pointer. It saves one cycle.
jcmeyrignac··on Show HN: 1.5kb Microkernel for Ben Eater's 6502 Computer
I just read your source code a bit, and there are a lot of things wrong. First, you should ALWAYS clear the carry when using ADC or set the carry when using SBC

For example: .increase: adc #1 sta POSITION_MENU

I have no idea if you increment or add two, since the carry is not cleared.

    clc
     lda CURRENT_RAM_ADDRESS_L
    adc #$01
    sta CURRENT_RAM_ADDRESS_L
    lda CURRENT_RAM_ADDRESS_H
    adc #$00
    sta CURRENT_RAM_ADDRESS_H
this is done by the usual INC CURRENT_RAM_ADDRESS_L BNE *+2 INC CURRENT_RAM_ADDRESS_H

    ldy POSITION_CURSOR
    cpy #0  
cpy #0 is useless.

lda POSITION_CURSOR cmp #0 cmp #0 is useless

jsr / rts can be replaced by jmp

clear_ram is super slow

jcmeyrignac··on Counterfeits on Amazon cost Warren bird feeder business $1.5M
LVMH (Moët Hennessy Louis Vuitton) is one of the clients of the company where I work. LVMH fights hard against counterfeits.

Amazon is so bad at handling counterfeits that LVMH decided to never give even one penny to Amazon, so you cannot find their products on Amazon.

And the funny thing is that we cannot use AWS because of this rule!

jcmeyrignac··on Mining Bitcoin on an Apple II
Well, the code is not perfectly optimized: https://github.com/option8/8BITCOIN/blob/master/HASH.s

For example: CLC ROL A can be replaced by ASL A

jcmeyrignac··on In the US, wells being drilled ever deeper as groundwater vanishes
I believe the amount of water used for lawns is an order of magnitude smaller than the water used for fracking. The water for fracking is definitely lost, while the water we use even for bathing is recycled infinitely.
jcmeyrignac··on Get Started with 6502 Assembly Programming on Atari Lynx
Another one: DEC (dec de)

   INC z_E
   BNE    IncDE_Done
   INC    z_D
  IncDE_Done:
Should be:

   LDA z_E
   BNE DecDE
   DEC z_D
  DecDe:
   DEC z_E
jcmeyrignac··on Get Started with 6502 Assembly Programming on Atari Lynx
There is a typo in the chapter "Important commands that don't exist!".

NEG is described as:

  EOR #255 (XOR/Flip bits)
  SEC (Clear carry)
  ADD #1  (add 1)
Of course, it's:

  EOR #255 (XOR/Flip bits)
  CLC (Clear carry)
  ADC #1  (add 1 with carry 0)
or:

  EOR #255 (XOR/Flip bits)
  SEC (Set carry)
  ADC #0  (add 0 with carry 1)
jcmeyrignac··on The Remarkable Brain Waves of High Level Meditators [video]
A few years ago, I practiced meditation to help me accept some difficult times. At the same moment, I discovered Ramana Maharshi and Nisargadatta Maharaj, they describe something similar to what you said. Very helpful ! I strongly recommend "Who Am I ?".
jcmeyrignac··on Hijacking HTML canvas and PNG images to store arbitrary text data
This is not really new. One of my friends built a DAWG into a PNG.

https://en.wikipedia.org/wiki/Deterministic_acyclic_finite_s...

The DAWG contained all french words, in a convenient small picture.

jcmeyrignac··on A Minimal C64 Datasette Program Loader
You are completely right, I missed this carry. Thanks !
jcmeyrignac··on Bloomberg’s ‘The Big Hack’
I believe it's possible. This story reminded me about Lenovo's drivers automatic installation: https://www.theregister.co.uk/2015/08/12/lenovo_firmware_nas...

And yes, I had the problem with my Lenovo desktop.

jcmeyrignac··on A Minimal C64 Datasette Program Loader
I read the source code, and here are 2 improvements:

1) in get_block, we can replace "dec count" with "cpy count" It should save one or 2 cycles, if I'm not mistaken

2) get_countdown can be rewritten as follows:

        ldy #$89
 c4:
        cpy #$89
        bne c1
 c0:
        jsr get_byte
 c1:
        ldy #$89
        bne c2
 cx:
        jsr get_byte
 c2:
        sty tmp_cntdwn
        cmp tmp_cntdwn
        bne c4
        dey
        cpy #$80
        bne cx
        rts
which saves probably 4 bytes
jcmeyrignac··on Tencent's AI plays StarCraft II, and wins over 90 percent of the time
Another link: https://thenextweb.com/artificial-intelligence/2018/09/20/te...
← PreviousPage 2 of 3Next →