Better HN
topnewbestaskshowjobs
Log inSign up

codegladiator

1,475 karma · joined Jul 22, 2017 (9y ago) · 931 submissions

Winning the fights against code !
Submissions

comment 2y ago · link · parent

I am sure you are suggesting this in good faith, but I think that pay per minute would actually make things even worse.

comment 2y ago · link · parent

I was thinking about it one time, coincidentally I went into the example of metal wire itself. I call it the "Stack trace of an object"

https://chat.openai.com/share/3bad8272-c632-4659-8c0b-59578e...

There is also, based on this definition of the stack trace, what are the most simplest objects. the simpleness of an object is defined by the height of that stack trace

comment 2y ago · link · parent

The test is executed with memfs. The file and everything is in ram at startup.

comment 2y ago · link · parent

macbook pro, m1 max firefox 123.0

have ublock origin and noscript installed. tried disabling both.

> firefox console logs

   Partitioned cookie or storage access was provided to “https://js.stripe.com/v3/m-outer-3437aaddcdf6922d623e172c2d6f9278.html#url=https%3A%2F%2Ff.repsona.com%2Fp%2Fgantt%2Fnew&title=repsona%20%7C%20Repsona&referrer=&muid=7e4d8017-fe97-49a9-8619-1f1237ad09c195a3bf&sid=b771ac9f-1efa-428b-b040-6bec1886166b4707f2&version=6&preview=false” because it is loaded in the third-party context and dynamic state partitioning is enabled.
   Content-Security-Policy: The page’s settings blocked the loading of a resource at data: (“media-src”). m-outer-3437aaddcdf6922d623e172c2d6f9278.html
   patchWindow disabled. patchWindow.js:103:13
   Content-Security-Policy: The page’s settings observed the loading of a resource at data: (“media-src”). A CSP report is being sent. m-outer-3437aaddcdf6922d623e172c2d6f9278.html
   patchWindow disabled. patchWindow.js:103:13
   Content-Security-Policy: The page’s settings blocked the loading of a resource at data: (“default-src”). inner.html
   Partitioned cookie or storage access was provided to “https://m.stripe.network/inner.html#url=https%3A%2F%2Ff.repsona.com%2Fp%2Fgantt%2Fnew&title=repsona%20%7C%20Repsona&referrer=&muid=7e4d8017-fe97-49a9-8619-1f1237ad09c195a3bf&sid=b771ac9f-1efa-428b-b040-6bec1886166b4707f2&version=6&preview=false” because it is loaded in the third-party context and dynamic state partitioning is enabled.
   Cookie “m” will soon be rejected because it is foreign and does not have the “Partitioned“ attribute. 2 6
   Cookie “AWSALB” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite socket.io
brave console doesnt even have any logs. All the network requests are 200 ok.

comment 2y ago · link · parent

Same for me, blank white page. Tried from Firefox and Brave.

comment 2y ago · link · parent

parsing a number contains an (addition + multiplication) *(number of digits) for each row. if you do precalculated perfect hash then multiplication for each row can be avoided. ( you anyways need to read each byte)

comment 2y ago · link · parent

you can create a perfect hash based on the presence of at least 4 characters. perfect hash is pre calculated based on possible inputs (-99.9 to 99.0 in bytes). the hash is usual byte*seed+hash. "seed" is chosen so that there is no clash (you can find a static seed in a single brute force from 1 to 1m in < 1 min)

comment 2y ago · link · parent

there are no disk file read times in the original rules. file is in memfs.

comment 2y ago · link · parent

I don't know if you are being clever or funny

comment 2y ago · link · parent

does this bother you or you are asking out of technical curiosity ?

comment 2y ago · link · parent

Server at the risk of burnout

comment 2y ago · link · parent

wrong thread ?

comment 2y ago · link · parent

Millions of families suffer every year

comment 2y ago · link · parent

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

comment 2y ago · link · parent

> This file was uploaded from Saudi Arabia on December 9, 2023 at 10:06 AM

Interesting

comment 2y ago · link · parent

llm to 3d printer ?

comment 3y ago · link · parent

It's absence is painful only because we consumed food enough to make it an addiction

comment 3y ago · link · parent

I agree with you

comment 3y ago · link · parent

Food is a drug. Hunger is hangover.

comment 3y ago · link · parent

So we have reached that stage of Universal Paperclips

comment 3y ago · link · parent

Oh TJ was such an inspiration for me personally. All the rumors that it's a company actually made it even more fun. And then out of sight out of mind.

comment 3y ago · link · parent

https://hn.algolia.com/?q=study+math

comment 3y ago · link · parent

Have you checked out windmill by rubin ?

edit: link https://github.com/windmill-labs/windmill

comment 3y ago · link · parent

https://forum.xda-developers.com/

comment 3y ago · link · parent

It is a Linkedin for Bitwarden.

comment 3y ago · link · parent

The lock is explicitly release by the redis server itself after the ttl. It's not that the Client will assume that the lock is released.
1
567
32