Better HN
topnewbestaskshowjobs
Log inSign up

esnard

1,603 karma · joined Jul 24, 2015 (11y ago) · 214 submissions

[ my public key: https://keybase.io/esnard; my proof: https://keybase.io/esnard/sigs/0E5vBuRx9Upe6svfSCYGsOtVz029bQNaogdbCfnuK-M ]
Submissions

91.

Nintendo eShop experiments: manipulating rankings to improve sales(threadreaderapp.com ↗)

1 points · by esnard · 6y ago · discuss

comment 6y ago · link · parent

Out of curiosity, what would a "fix" look like?

comment 6y ago · link · parent

Please do not exclude them! I bet some of them are very good, especially since you support "similar" languages (JavaScript / TypeScript f.e.).

smichel17's solution makes the most sense to me.

comment 6y ago · link · parent

It looks like those tools are sorted by votes, but some of them can analyze different languages, and votes are shared between their languages.

For example, CodeScene, which supports 12 languages, is the currently most voted tool for PHP, and I've never heard of it. Not saying it's bad or anything, but I highly doubt it's popular in the PHP community, compared to other products.

comment 6y ago · link · parent

Related: I often find item bundles cheaper if I buy them via the Samsung Galaxy Store (10% cheaper). Is it because Samsung doesn't have keep 30% of the money, but a lower amount?

comment 6y ago · link · parent

I'm currently reading a manga named Attack on Titan, in which freedom (and its implications) takes a very important part, and I couldn't emphasize how good the writing is.

The anime is also available on Netflix in most countries, if you prefer that format.

comment 6y ago · link · parent

No, my understanding is that Twitter has a "bucket" of the latest 3600 tweets you've posted / liked. This bucket is faster than their database to query, so once you empty the bucket, the API returns no result, and the bucket is never "refilled" from the database.

Those are not technical terms, sorry, but this is how I currently understand it so it might help you too?

comment 6y ago · link · parent

You're technically right, but the Twitter API won't return the next 3600, even after deleting the first ones. The response will be empty, even if you know for sure there's more.

comment 6y ago · link · parent

Last time I checked (2 months ago, I think), the API couldn't fetch more than the 3600 latest liked / posted tweets. Has this changed?

comment 6y ago · link · parent

> Weirdly at the moment it's required to be a public repository.

I guess they didn't want any past private repository to have its README public just because they added a profile feature.

comment 6y ago · link · parent

Its name is the "Dottie Number":

[0] https://en.wikipedia.org/wiki/Dottie_number

[1] https://mathworld.wolfram.com/DottieNumber.html

comment 6y ago · link · parent

> The fill tool in Paint was once considered AI

This Wikipedia page has a lot of filling algorithms, and none of them looks like it's AI-based: https://en.wikipedia.org/wiki/Flood_fill

Can anyone explain me why the fill tool in Paint was considered AI? Has the definition of "AI" changed?

comment 6y ago · link · parent

That might be an unpopular opinion, but I loved the double repo navbar.

I've discovered the redesign when I wanted to check the latest commits of a git project I haven't cloned yet.

My very first reaction was "oh, there's a CSS issue" while Ctrl+F5 the page, then opening it in a private window to see if one of my extensions somehow broke the page.

Then it took me a full minute to find the link to the git history, while my eyes basically searched in every corner of the screen.

I really loved the old GitHub UI, it made GitHub a better product (in my opinion) than GitLab. And I really didn't like the experience I had while trying the new one.

comment 6y ago · link · parent

Their website is also open-source, so I just submitted a pull request [0]. Thanks :)

[0]: https://github.com/twbs/icons/pull/302

comment 6y ago · link · parent

When you have an array, it's way faster to check the existence of array[key], which is O(1), than to loop over the full array to find if one of the values match the one you're searching for, which is O(n).

This is used in hash tables, for example: https://en.wikipedia.org/wiki/Hash_table

Object properties in JS are mostly the same thing.

I guess other extensions can't do the same because they don't have a simple value to search in a whitelist, but rather a list of regex which must all be executed.

comment 6y ago · link · parent

The applicant was actually Verisign. [0][1]

[0]: https://icannwiki.org/.%D7%A7%D7%95%D6%B9%D7%9D

[1]: https://gtldresult.icann.org/applicationstatus/applicationde...

comment 6y ago · link · parent

Any new constraint on password inputs will result in attackers creating a fake password input without any constraint, via CSS / JS.

comment 6y ago · link · parent

Instructions are on this page: https://haveibeenpwned.com/DomainSearch

comment 6y ago · link · parent

> Back in Feb, Dehashed reached out to me with a massive trove of data

I guess searching on https://www.dehashed.com/ should give you some additional data.

comment 6y ago · link · parent

For France, you can find a map on the related Wikipedia page: https://fr.wikipedia.org/wiki/%C3%89pid%C3%A9mie_de_maladie_...

It's based on the national health agency figures, publied on their website: https://www.santepubliquefrance.fr/

Unfortunately, those figures are aggregated by region, which covers a relatively large geographic area. I'm not sure whether more precise information is available somewhere else.

comment 6y ago · link · parent

What are the differences between a profile and an account?

comment 6y ago · link · parent

Veni Vidi Vici is definitively my favorite level in my gaming history. I would play VVVVVV again and again just for it.

113.

Project Zero – Policy and Disclosure: 2020 Edition(googleprojectzero.blogspot.com ↗)

32 points · by esnard · 6y ago · 1 comment

comment 6y ago · link · parent

From the article:

> Since April, we’ve worked with cloud service providers in private beta to scan all changes to public repositories and public Gists for credentials (GitHub doesn’t scan private code).

Private repos are not scanned.

comment 6y ago · link · parent

The original challenge [0] was submitted as a "code-golf" challenge, which means that the solution needed to solve the problem in the fewest bytes of source code.

There are a lot of tricks to minimize the character count, and replacing a();b() with b(a()) is one of them.

[0]: https://codegolf.stackexchange.com/q/196917/38454

comment 7y ago · link · parent

In the "Avoid Transformations on Indexed Fields" part, I fail to understand how the example can work if you're applying the timezone computation on the right-hand side.

I'm not familiar with MS SQL (I've only worked with MySQL / PostgreSQL), can someone explain me how it works?

comment 7y ago · link · parent

They were leaked on March 2018 [0][1], and they expired on October 2018 [2].

[0] https://web.archive.org/web/20180504001844/https://8ch.net/b...

[1] https://nordvpn.com/fr/blog/official-response-datacenter-bre...

[2] https://crt.sh/?id=10031443

comment 7y ago · link · parent

One possible use is for high traffic websites. For example, StackExchange peaked at 500k concurrent websocket connections back in 2016. [0]

[0] https://nickcraver.com/blog/2016/02/17/stack-overflow-the-ar...

comment 7y ago · link · parent

This is quite ironic, since crawling its own website is surely one of the best ways to detect broken links.

comment 7y ago · link · parent

Did you ever buy anything on their platform?

If so, is it possible they have access to your name via your past money transactions?

12345
8