Better HN
topnewbestaskshowjobs
Log inSign up

jakopo87

28 karma · joined Nov 16, 2017 (9y ago) · 42 submissions

Submissions

comment 2y ago · link · parent

Search for "ministry" here: https://www.enforcementtracker.com/

comment 2y ago · link · parent

Or Blender.

comment 2y ago · link · parent

I think for difficulty 4+ pen & paper is necessary because there are too many constraints to consider, so I made myself a small helper based on rlorenzo's comment [0]

[0] https://galati.dev/personal/zebra-puzzles-helper

comment 2y ago · link · parent

It was off-by-one, indeed.

comment 2y ago · link · parent

It's possible on Windows too using Windows Registry shell extension[0], which uses Windows Shell Namespaces under the hood.

[0] http://www.viksoe.dk/code/regfolder.htm

[1] https://en.wikipedia.org/wiki/Windows_Shell_namespace

comment 2y ago · link · parent

Apache Tomcat is a web server for Java web applications, different from the Apache HTTP server (your 'apache2').

comment 2y ago · link · parent

Tried the same and it shows "-4.75h" with a dot, not a colon.

As 4.75 hours translates to 4 hours and 45 minutes, it's correct, maybe not intuitive at first glance.

comment 3y ago · link · parent

Yes, and this is what it's using.

Full repo is available here:

https://github.com/bgstaal/multipleWindow3dScene

comment 3y ago · link · parent

I was not able to find one, but this js snippet:

> https://gist.github.com/capfsb/3fd1b700b4732debb29aefd576cf5...

correctly reports 240hz for me.

The fun thing is that 240 makes everything too slow, whereas 120 works fine.

comment 3y ago · link · parent

Probaly not a browser issue, looking at this line of the generated JS:

> var physics_scene = squint_core.atom(({ "gravity": [0, 0], "dt": (1 / 60), "balls": [], "obstacles": [], "flippers": [], "score": 0 }));

I think it run faster for any refresh rate higher than 60hz.

Changing the value from 60.0 to 120.0 in this line:

> :dt (/ 1.0 60.0) ;; slow down sim

and recompiling, makes it run correctly.

comment 3y ago · link · parent

I think it's the wake timer[0] settings in the energy options.

[0]https://www.softwareok.com/?page=Windows/10/Power-Options/11

comment 3y ago · link · parent

Print Screen key can be enabled as hotkey too

comment 3y ago · link · parent

Years ago i added a url to not be crawled nor indexed to a web app I worked on to block bad crawlers, so I disallowed crawling through robots.txt and added a hidden link in the footer with the "noindex" attribute.

Google, Bing, Archive.org, and people normally browsing were just fine while bad crawlers got a blank page.

comment 4y ago · link · parent

I think this is the correct link:

https://answers.microsoft.com/en-us/windows/forum/all/driver...

comment 4y ago · link · parent

From the Rational Wiki[0]:

"Just asking questions (also known as JAQing off) is a way of attempting to make wild accusations acceptable (and hopefully not legally actionable) by framing them as questions rather than statements. It shifts the burden of proof to one's opponent; rather than laboriously having to prove that all politicians are reptoid scum, one can pull out one single odd piece of evidence and force the opponent to explain why the evidence is wrong."

I think it's about this.

[0] https://rationalwiki.org/wiki/Just_asking_questions

comment 4y ago · link · parent

320k ETH were sent out and 285k ETH came back, not dollars.

comment 4y ago · link · parent

For me was Midtown Madness 2, I used to climb the highest buildind in San Francisco with each vehicle and see how many fall it takes to wreck them.

comment 4y ago · link · parent

I tried what you said and it doesn't work with "javascript:" uris (probably to prevent running of unwanted code?).

Firefox bar is not "broken", as every browser I tested has the same behavior, and I think it's because a valid uri should only contain ASCII characters (as described in RFC3896[0]), but I agree with you that it's annoying: it should copy the text as it's displayed.

Fun fact: Internet explorer let you copy the uri "as is" without encoding.

[0] https://www.rfc-editor.org/rfc/rfc3986.html#section-2

comment 4y ago · link · parent

Manually add "javascript:" at the beginning, it gets stripped when you paste it.

comment 4y ago · link · parent

Clevo P17SM as personal laptop with Windows 10 and an Asus Rog Strix G15 as work laptop with Windows 11

comment 4y ago · link · parent

It does exist a twitter[0] account not updated since 2014 that has, ironically, in its bio: "We are working very hard to make this twitter account irrelevant."

[0] https://nitter.net/wa_status

comment 4y ago · link · parent

I agree, but the dot should be escaped because it matches any character, so "@domain\.com$" should just works for.

comment 4y ago · link · parent

It already exists and it's called eIDAS[0].

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

comment 4y ago · link · parent

That was Stylish.

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

comment 4y ago · link · parent

That's exactly how Brave works after you setup the wallet and it gives you two options:

- pay a variable amount to the website you visit, based on how many visits and time you spent on;

- pay a fixed amount to a website of your choice;

Both options can be enabled at the same time, and the minimum number of visit, or the minimum length of the same, is adjustable;

Flattr[0] should be similar with fiat currency.

[0] https://flattr.com/

comment 5y ago · link · parent

You can define type aliases at the begin of the file to reduce verbosity, as example:

    using dic = System.Collections.Generic.Dictionary<string, string>;
Otherwise you can use an anonymous type:

    var person = new { name = "frank", address = new { city = "Berlin ", zip = 12345 } };
In this case you get a plain object, but all fields area read only.

comment 5y ago · link · parent

> It's not about double spend.

The wait for confirmation is exactly to avoid double spend (but not only), as the Bitcoin wiki says[0].

> It's entirely possible two miners successfully mine a block simultaneously but one of the miners didn't include your transaction in the block they mined.

The example you make would work with just 1 block of confirmation, just keep try to include the transaction into the next block.

> longest blockchain wins, so whichever gets the most participants is likely to be the final blockchain

It's more about hashrate power rather than number of participants, however the longest blockchain of confirmed blocks wins, unconfirmed blocks may be invalidated and transactions pushed to the next ones or dropped.

> I'm not certain what it takes to be dropped from the mempool.

After 2 weeks[1] the transaction is considered invalid and should get dropped from the mempool (not all nodes use the same software version or they may run a fork with different settings)

[0] https://en.bitcoin.it/wiki/Irreversible_Transactions

[1] https://github.com/bitcoin/bitcoin/pull/9312

EDIT: grammar

comment 5y ago · link · parent

I quote from the link [1] you posted:

> To be clear, the respective blockchains will confirm blocks as normal and are not controlled by Binance. For the faster service, the exchange is accepting a reduced number of confirmations as sufficient to alter wallet balances within its own systems.

Binance and Coinbase on their own nodes can choose a lower number of blocks for confirmation but the network may reject it later, if that's the case they will have to put the transaction in another block to be mined.

comment 5y ago · link · parent

Transactions are confirmed when they are at least 6 blocks deep to avoid double spending.

https://en.bitcoin.it/wiki/Confirmation

comment 5y ago · link · parent

> Best guess is that many people turn off their computer when they don't use it

If the update is fully downloaded, you have the option to "install & shutdown"

12