HN user

ecaradec

1,263 karma

Contact : emmanuel.caradec@gmail.com

Posts48
Comments249
View on HN
www.youtube.com 3y ago

How Stable Diffusion Works (AI Image Generation) [video]

ecaradec
2pts0
www.youtube.com 6y ago

Tovey explains the column geometry of the simplex method

ecaradec
2pts1
github.com 6y ago

Show HN: An multipass optimizing compiler for a simple language

ecaradec
2pts1
www.datacenterknowledge.com 11y ago

French host builds bare metal arm server cloud

ecaradec
1pts0
s.shr.lc 13y ago

Statically Recompiling NES Games into Native Executables with LLVM

ecaradec
1pts0
plus.google.com 13y ago

Donating my Xbox

ecaradec
228pts123
news.ycombinator.com 13y ago

Ask HN: is it possible to innovate in tech without being a tech guy?

ecaradec
1pts3
fgiesen.wordpress.com 14y ago

Linear algebra toolbox 2

ecaradec
2pts1
i.imgur.com 14y ago

Steam Support refund request

ecaradec
1pts0
news.cnet.com 14y ago

EA not killing Rock Band

ecaradec
2pts0
about.okhin.fr 14y ago

Misogyni and Hackers

ecaradec
1pts0
www.codercorner.com 14y ago

The prophet programmer

ecaradec
1pts0
www.reddit.com 15y ago

Bvckup2 by the original hamachi author

ecaradec
5pts1
www.jivesystems.com 15y ago

TED talk : How Great Leaders and Organizations Inspire Action

ecaradec
4pts0
altdevblogaday.org 15y ago

Manifesto of rules for running a company

ecaradec
58pts14
altdevblogaday.org 15y ago

Intuitive explication of Fourier Transformation

ecaradec
280pts33
grownsoftware.com 15y ago

Should I put more bugs into my software?

ecaradec
1pts0
www.smashingmagazine.com 15y ago

In search of the perfect captcha

ecaradec
1pts0
boards.straightdope.com 15y ago

Please help me understand the Jacobian matrix

ecaradec
1pts0
lion.posterous.com 15y ago

Pain and Waste

ecaradec
2pts0
www.softwarebyrob.com 15y ago

Your traffic sources have a half-life

ecaradec
2pts0
nodnod.net 15y ago

Projects with Vim using projects.vim 02.09.2009

ecaradec
1pts0
software.intel.com 15y ago

Intercepting system api calls

ecaradec
1pts0
www.smashingmagazine.com 15y ago

How To Use the “Seven Deadly Sins” to Turn Visitors into Customers

ecaradec
1pts1
grownsoftware.com 15y ago

Is 600 hours the length of an idea?

ecaradec
1pts0
www.google.com 15y ago

Recaptcha vs OCR

ecaradec
2pts0
www.fastcompany.com 15y ago

Giant 3D printer could build a moon base

ecaradec
4pts0
www.tawheedkader.com 15y ago

Now that you have turned 22 can I please give you some advice...

ecaradec
116pts63
gamesfromwithin.com 15y ago

Chronicle of a failed experiment

ecaradec
2pts0
sethgodin.typepad.com 15y ago

I spread your idea because...

ecaradec
10pts1

When working with kanban I maintained a average number of card done per days. if someone asked when some card woud be done, I just multiplied the number of card ahead of that one by average and get an estimate. You can estimate the cards but usually it doesnt really improve accuracy as tasks are on average the same size.

vscode has some code coloring extension but no code completion that I'm aware of. If you found one, please consider sharing it :). I would happily switch to another editor if one has a extension that autocomplete categories.

Is there an text editor that is able to autocomplete the categories in hledger format ? It would be great to type Assets:: and then get a list of the possible categories, but I haven't found any editor or extension that does it.

Yes I did. The result is perfect as far as I can tell. Not everyone is eligible to that method: you need to have enough space in your eye so that it is doable. So checking for that is a first step to be sure it is doable. The only serious risk is an infection, so each eye was done in a different operation room. I was also told that the result is better than lasik, it is more costly though.

Antivirus are really stupid tools, but not that stupid. I said that from a time where I had to work around tools flagged by antivirus. Among stupid things they do are flagging a part of an executable, some nsis plugin flagged the whole package as virus as soon as you included them. I think they probably hash files by chunks, if you have too many bad chunks then you are a virus. A few bytes at the end doesn't change that.

A lot of the information here are present in the journal of Jordan Mechner which I found was a very interesting dive into the making of Prince of Persia including doubts and difficulties anyone who tried to create things can probably relate to. Thats a very good read and a great gift to anyone who try to make things on his own : https://www.amazon.com/gp/aw/d/1468093657/ref=tmm_pap_swatch...

I absolutly recommend it. There is also a comics that tell his grand father, his father story and himself that tells a lot of what a war is and also tells a little bit of the making of PoP.

Don't Use Mocks 3 years ago

Does anyone know if there are libraries for writing fakes ? I wonder why there is a lot of mock libraries but I know none for writing fakes.

Don't Use Mocks 3 years ago

Can you summarize what that good way look like for those of us that haven't read it ?

One trick I learned from https://craftinginterpreters.com/hash-tables.html is that you don't need an extra linked list for each bucket... But how do you handle collisions then ?

The trick is that you make sure that your table is large enough to not have a lot of collisions, then if you have a collision instead of storing exactly in the bucket given by the hash, you store it in the next available bucket. When you look for a key, you get the hash, then the index from the hash, and you start searching at this point. If you reach an empty value, then there is no value. If you find the value then you return that. So everything is stored in a single array, no need for extra allocations and it is better for cache locality.

The same principle is used here for very minimal hash table (13 lines): https://nullprogram.com/blog/2020/10/19/

This video also talk about how to optimize hash table and look into several implementations: https://www.youtube.com/watch?v=DMQ_HcNSOAI&t=1690s&ab_chann... . It talks about techniques used by advanced hash table. There was a lot more that I didn't know.

What matter is not whether nuclear energy produce wastes, but how much waste and how manageable it is relatively to other sources of energy. If you look at nuclear only, then obviously nuclear waste is bad. If you look at oil, coal, and the fact that they are producing tons of carbon dioxid (for what would be grams of nuclear) which is gazeous and that we don't even know how to handle it.

We need energy, but people as dismissing every source of energy because they are looking at each source one at a time. We should have taught people years ago that there is no perfect choice.

Make uses timestamp, so if you checkout code or switch branches even if the files are the same, make rebuild them. Also when you switch branches the ccache cache still have copy of .o files.

Actually there is two type of leave: Paternity leave and parental education leave. Paternity leave is 25 days for each parent with full pay usually. Parental education leave is up to 3 years with lower pay (500€/month ? but there may be some complements here and there )

My understand is that having the copyright they have the right to acknowledge any copy happening even if it’s in a cache somewhere, on a wire somewhere. If you mount a drive remotely copies happens. Actually with dvd copies happens in memory too but those have been legally authorized.

I think it's more that people are not familiar with the formal presentation of the problem. I doubt many people would have difficulty understanding a less abstract statement:

dog => mammal (dog implies mammal )

What can we say about not a dog ? (can be a cat, or a chair... ) What can we say about not a mammal ? (can be a chair, building... )

It's more intuitive because we as human understand the groups.

I didn't see the purpose of it when I got told of the principle at school. The supposed control of error detection feel like a very vague benefit to me. Especially now with computers. Actually hashing of the chain of values would probably be more secure (like bitcoin yes).

However, I think the real value in double entry accounting is that it not only represent money you have but also things you own: If you buy a pen, you have less money, but you have an extra furniture pen and your accounting can reflect that. It can also reflect the loss of value of the pen over time.

It is also useful if you get in debt to buy something: you transfer money from a debt account to your current account, you buy the thing you wanted to buy and appropriatly report the value of what you own in accounting. You now have a thing, and a debt to be repaid in whatever term was agreed.

It's also very useful as a tool of control for state. All exchanges you have with other entities are recorded in a separate account. It's possible to take that account and check that the other entity accounting book match exchanges they have with you.

What you describe is word2vec which is one kind of word embedding that is pre-learned. Often (with keras at least ), embedding is learned simultaneously with the deep learning network. Keras uses index of words to progressively adjust a set of randomly initialized n-dimensional vectors. I’m telling you because I feel it may be the case for you too. The various kind of embedding was very confusing at first.

However, I just marvel at word2vec when I stumbled upon it. Encoding of meaning as vector dimensions was mind expanding for me.