Better HN
topnewbestaskshowjobs
Log inSign up

devit

4,235 karma · joined Sep 10, 2015 (11y ago) · 1,525 submissions

Submissions

comment 6y ago · link · parent

Even if two theories make the exact same predictions, believing or giving more attention to one or the other can change how the brain operates, making it more or less efficient at some tasks and eliciting different emotions.

For example, the interpretation of natural numbers as sets in set theory and as strings of decimal digits is equivalent and gives the same results, however for most people seeing numbers as naturally being strings of decimal digits is likely to make them faster at doing arithmetic and making decisions based on numbers.

Likewise, seeing other people as conscious or unconscious results in the same predictions about their behavior, but seeing them as conscious might make most people more efficient at cooperation with other people.

In this case, seeing all matter as conscious might make someone feel less special, and thus have less attachment to their identity and spend less effort acting in a way that preserves it.

comment 6y ago · link · parent

How about doing this but also NOT providing the client hints API and NOT providing any way for JavaScript to explicitly ask for OS and browser product name and version?

While browser and JavaScript engines are likely to continue being detectable due to behavior and performance for the foreseeable future, it's probably possible to make the OS, browser frontend and exact engine version undetectable.

comment 6y ago · link · parent

Just test whether the API works or whether the properties are missing or methods throw exceptions?

The kind of testing you are complaining you can't do is exactly why user agent is broken, what if you test for Chrome and then Brave/Vivaldi start supporting the speech-to-text API and your broken website still says "sorry, you need Chrome" for no reason?

comment 6y ago · link · parent

I don't get the criticism.

If they lost all the data, then obviously the only option for customers is to either use their own backups if they have them or accept that the data is permanently lost.

One can criticize their lack of additional redundancy, but don't see what's wrong with the response.

comment 6y ago · link · parent

It would be like that without water, that's the whole point of the algorithm: based on physics, it computes the (best known approximation to) way the scene would look with no water being present.

That is, it's supposed to make the photo be like the one you would take if you were to lift a part of the seafloor onto a boat and photograph it.

comment 6y ago · link · parent

There are two threat models against code using RNGs:

1. The adversary has an amount of computing power that is feasible as currently foreseeable: in this case, all you need are K "truly random" bits where K=128/256/512 and can then use a strong stream cipher or equivalent to generate infinite random bits, so you only need to block at boot to get those K bits, and you can even store them on disk from the previous boot and have them passed from an external source at install time

2. The adversary has unlimited computing power: in this case, you need hardware that can generate truly random bits and can only return randomness at the rate the hardware gives you the bits

Now obviously if you are using the randomness to feed an algorithm that is only strong against feasible computing power (i.e. all crypto except one-time pads) then it doesn't make sense to require resistance against unlimited computing power for the RNG.

So in practice both /dev/urandom, /dev/random, getrandom(), etc. should only resist feasible computing power, and resisting against unlimited computing power should be a special interface that is never used by default except by tool that generate one-time pads or equivalent.

comment 6y ago · link · parent

Humans however, in addition to the immediate perception, can also more slowly recognize objects with reasoning and thus explain their perception.

comment 6y ago · link · parent

Seems much easier and accurate to have the supervisors install an app on their mobile phones that checks whether the phones move (and thus being carried by a person) via accelerometer and whether they are on the factory floor via wi-fi/bluetooth beacons and reports to a central server.

In general, it's much better to not use machine learning at all if at all possible.

comment 6y ago · link · parent

You must not use sched_yield() and also must not spin indefinitely.

Instead, one should optionally spin for up to a constant number of iterations and then call sys_futex.

comment 6y ago · link · parent

The claim that "the Linux scheduler is bad" seems wrong.

First of all, a program that calls sched_yield() for synchronization is simply broken, since doing so can cause 100% CPU usage (if the other thread is stopped at an unfortunate place), so the only correct method among the ones benchmarked is std::mutex.

When using std::mutex (the only correct approach), Linux and Windows both seem to have similar average performance, but Windows has 10x latency, so Linux is better.

comment 6y ago · link · parent

Can't one add mechanical gears so that the trim wheel requires less force to turn but needs to be turned more, without any other visible changes?

comment 6y ago · link · parent

The interface types proposal will allow to call DOM APIs from WebAssembly directly [https://github.com/WebAssembly/interface-types/blob/master/p...]

The point of doing it is of course performance.

comment 6y ago · link · parent

With a perfectly working dating system, there is no need to have or want relationships, because you can just find other person using the dating system.

You simply no longer see the person because you like to interact and have sex and do activities with many different people, not because of "red flags".

Or if you still want relationships, then the "red flag" is just "was merely a good fit but not an excellent fit for me".

comment 6y ago · link · parent

They select on looks because that's all they have on dating sites.

People (especially women in mainstream society) mostly ignore looks when they have already had a real-life pleasant interaction; however, it is very challenging to replicate that online, since it's very hard to give incentives to be genuine.

comment 6y ago · link · parent

That you can select people that don't care about looks, which is generally a signal for someone who is more experienced, socially sophisticated and emotionally intelligent than average, and more likely to give you a pleasant experience.

Also, in case the system is selective, then you know that the other person likes you for something other than looks, which is also a good indicator for a better experience, both in a short-term and a long-term relationship.

comment 6y ago · link · parent

This is awesome, please make it succeed if possible.

Dating sites are simply horrible at actually creating awesome interaction, and one of the first reason is the fact that obviously looks are pretty much irrelevant for that, yet most seem centered on photos.

The site is empty for me other than the top bar though, so can't give any more advice for it.

IMHO the most important thing though is to match people that want the same thing out of dating.

I.e. if someone wants to have a one night stand and the other wants a long monogamous relationship they should not even see each other's profile, yet pretty much all dating sites don't even let you state your goals!

comment 6y ago · link · parent

It's very useful for non-monogamous people: you meet someone, have a good interaction, sex, etc. and write a good reference for them.

The problem though is that there's an incentive to game the system.

comment 6y ago · link · parent

How does it compare to Adobe Photoshop Lightroom?

comment 6y ago · link · parent

Why isn't it enough to retrofit all past and future models with enough hardware redundancy and create a properly written MCAS software?

Wasn't the design sound, except for the lack of hardware sensor redundancy and naively written software?

Why do they need to stop production and so on?

comment 6y ago · link · parent

I think declaring bankruptcy is the only legal option in general, although refunding the price paid might be fine as well in some cases.

Of course you could also have made a promise with a provision for what happens in case you want to back out (typically with some sort of compensation if appropriate).

comment 6y ago · link · parent

Doesn't this sort of movement cause a lot of wear on the tires, thus making it unsuitable for routine use?

comment 6y ago · link · parent

The problem of Scala is that it is outclassed by Rust and Kotlin at its two niches of, respectively, "best designed programming language" and "better Java on the JVM".

Scala can't beat Rust because you can't have safe concurrency (and also single-threaded mutation control) without linear types, and you can't have linear types on the JVM; furthermore, a GC and VM-based language is inferior to a native non-GC one providing the same guarantees.

Scala can't beat Kotlin because Kotlin is designed to be just a better Java and Scala also tries to do other things that reduce Java compatibility; pivoting would result in being behind Kotlin with no hope of catching up.

Furthermore, its core features are cute but fundamentally broken: class inheritance is an anti-pattern and functional features need either purity like Haskell or mutability control like Rust to work safely and efficiently; on top of that, the language is also complicated and hard to learn.

comment 6y ago · link · parent

If the target was just "Windows 3.1", he should have built a 32-bit app using the Win32s API [https://en.wikipedia.org/wiki/Win32s]

It's also probably possible to use a current compiler, maybe clang or gcc, to compile such code (officially only up to VC++ 4.2 is supported), although it might require some hacks.

comment 6y ago · link · parent

This is true, but the issue I was concerned about is that memorizing datasets is not fun, so games should be designed so that dataset memorization provides no advantage, so that competitive players aren't forced to waste their life memorizing datasets.

Solving this issue also naturally solves the game variety issue.

As for variety, there is still the risk that chess engines might be able to produce a single long consensus main variation for each 960 position, and so that even if people can only memorize one variation, everyone could memorize and play the same line.

comment 6y ago · link · parent

Maybe they could consider applying more reasonable pricing?

E.g. Hetzner offers an 8-core 128GB Xeon SkyLake machine with unlimited 1gbps traffic for around $120/month while Google offers n1-highmem-8 with 8 cores and 52GB and no traffic for $240/month.

1gbps unlimited traffic on Hetzner means 324 TB/month, which would cost 26000$ on GCP at the lowest 0.08$/GB rate.

So I would consider cutting the instance prices by half, and dividing the bandwidth prices by 1000, and then they will be competitive.

comment 6y ago · link · parent

Probably the ISP, since it already has a working business model unrelated to selling your DNS query data and doing so is probably illegal in several countries.

comment 6y ago · link · parent

All you need is a method to compute the first white move that produces a significantly better win rate than thinking about it during the match, and then memorizing them becomes advantageous, if doing so is feasible.

It doesn't have to be chess engines (although that seems the best approach), it can also be 100 people each spending 10 days analyzing one position per day, or it can be win-rate stats from high-level tournaments once Chess960 is widely played and there is enough data.

comment 6y ago · link · parent

Just run the most sophisticated chess engines available 960 times and publish the results.

Even if not the "best" in an absolute sense, the moves those engines find are going to better than the move that an human comes up on the spot.

This means that memorization will still be necessary in Chess960 to be competitive at the highest levels and in fact it's probably going to be worse because memorizing those 960 starting moves sounds far more tedious than memorizing classic opening theory.

Scrabble players can memorize 10K+ word dictionaries in languages they don't know, and since (starting position, move number, chess move) triples can be encoded as words, it should be possible to memorize the main variation found by chess engines for each Chess960 position.

comment 6y ago · link · parent

I think no-castling just generates a different opening theory, and Chess960's 960 starting positions are also not enough: it should be possible to memorize at least the best white move for each of the 960 positions, and probably the main variation and even more.

The only way to be sure is to have a random chess variant with at least a billion different possible opening starting positions: the conceptually simplest way seems to be to place all pieces completely randomly in the first three ranks (in the same way for each color), while rejecting any position that allows white to make a capture, check or threaten to capture a non-pawn piece on the first move.

1
293031
51