Better HN
topnewbestaskshowjobs
Log inSign up

devit

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

Submissions

comment 10y ago · link · parent

Note that several services will detect that your IP is from a hosting provider netblock and ban/restrict you/require phone verification anyway.

To make completely sure you are not mistreated, you might need to anonymously obtain access to an IP from a residential or mobile ISP; finding out how to do so is left as an exercise for the reader.

comment 10y ago · link · parent

Try manually installing the patch at https://support.microsoft.com/en-us/kb/3102810

comment 10y ago · link · parent

In the meantime, several newly designed languages do in fact have most or all of these features along with other pragmatic advantages.

Rust and Scala being perhaps the most popular and maybe best ones.

comment 10y ago · link · parent

Why is Mozilla wasting time on this useless stuff?

What they need to do is work on their browsers, and specifically:

1. Ship Electrolysis ASAP, so Firefox is once again as technically good as Chrome and others

2. Add support for syncing with Chrome and IE if possible, to smooth transition for mainstream users

3. Fund Servo as much as possible, and get it ready to ship it in both desktop and mobile browsers as soon as possible

4. Get the marketing people to work on a strategy to market Servo to get the #1 browser market share spot again

5. Stop eroding their reputation with dumb stuff like the Pocket and Telefonica integrations. If they do something to make money, clearly state so and make sure it's harmless to users and trivially disabled. Then, market their reputation as a trustworthy non-profit much better.

If they REALLY want to do a mobile OS, just work together with Cyanogen on an Android distribution with added/better HTML app support, instead of inventing their own crappy thing.

comment 10y ago · link · parent

If you allow threads to share memory arbitrarily you need to add locking to all internal VM structures, which is going to be a significant slowdown.

Also it's not (any longer) considered good practice to have languages that allow mutable memory sharing since that makes software unreliable, so it's not really a good idea.

Without arbitrary memory sharing, multi-threading is already supported with web workers.

comment 10y ago · link · parent

What does this piece of bullshit really mean?

Were they unable to sell the ads effectively? Was nobody clicking on them? Was the income not significant enough? Did they decide that it wasn't a good idea to have ads in Firefox? Did they find a better way to monetize the browser?

Anyway, the ridiculous content-free way this post is written does unfortunately not inspire confidence in Mozilla.

comment 10y ago · link · parent

Is there any known pratically relevant programming problem that cannot be solved without a GC, other than running code that assumes that one is available?

comment 10y ago · link · parent

Well, the only valuable thing that Yahoo has is the brand and multi-service portal, so what they need to do is to buy or partner with other companies to make great Yahoo! Thing services and improve their existing ones, perhaps by spinning them off while keeping the Yahoo! branding and some stock.

For that, they'd need a CEO with great deal-making and people skills and an intuitive grasp of what the average person cares and is going to care about.

Marissa Mayer doesn't really seem a great fit, since she seems more of an introvert great at perfecting a product, as opposed to someone great at communicating and making deals, and she is also probably not very close herself to the average Yahoo user.

She could possibly try to innovate in advertising technology though, although I'm not sure if it's possible to much better there.

comment 10y ago · link · parent

Why not both?

#1 is essential, but you really need to cater to #2 as well because "crypto nerds" are likely those who will eagerly adopt the software and advertise and praise it to others.

Here is a simple non-exhaustive list of changes to better achieve #2:

1. If the phone number starts with +xx where xx is a reserved/invalid country code, the rest is the client's base10 public key. Verification happens by signing a challenge or simply successfully performing a DH handshake instead of by SMS.

2. Provide a "pull" notification socket in the Signal server, use it if GCM is not available

3. Package the mobile-sync Chrome app with node-webkit or simply as a standalone server that auto-opens your browser to localhost:port

4. Use libtextsecure-java to make a simple standalone desktop client that could either have a command line interface or a localhost web interface (please don't use the C library, since C is not suitable for secure software)

Obviously these changes could be done by third parties, not necessarily by Open Whisper Systems.

comment 10y ago · link · parent

The threat is that Google (perhaps forced by the NSA, perhaps only for some users) modifies Chrome to include code that logs all keystrokes or specifically detects the Signal extension (or standalone app if Chrome is also installed) and uploads the plaintext of all messages to Google or to the NSA.

In other words, you have to trust Google to not insert such a trojan by itself and to not bow down to the U.S. government should it try to secretly force Google to do so.

You also have to trust that their security is good enough to prevent third parties from covertly performing such a feat.

That's not say that Google should not be trusted or should be trusted less than other parties, but that's the threat.

comment 11y ago · link · parent

A more general problem is that A LOT of Windows software is actually released on non-HTTPS-only sites, so that any given Windows installation is highly likely to eventually run an executable downloaded via non-HTTPS download.

All the NSA has to do against random Windows users is wait until an HTTP request for a .exe file comes and automatically infect the downloaded executable.

comment 11y ago · link · parent

Less features than Linux, still written in C with the same Unix security model and thus not fundamentally more secure.

There is of course the advantage of being more obscure and thus less likely to be exploited, but most people probably consider desktop Linux obscure enough and companies usually don't care about such security mitigations.

comment 11y ago · link · parent

Is Signal's crypto really "well-reviewed"?

The best description of it seems to be at https://github.com/trevp/axolotl/wiki and it's not really understandable by someone who doesn't already know the protocol, so I doubt many people that don't work on Signal have reviewed it.

It looks like the authors know what they are doing though, so it's probably good, but there might be a small risk that they overlooked something.

comment 11y ago · link · parent

Basic income does of course still discourage work: for instance consider the case of someone who would starve without having job but doesn't with basic income.

But of course encouraging work is not really the ultimate goal, so this is unrelated to whether basic income is a good idea or not.

comment 11y ago · link · parent

Is this a broadcast service? (i.e. limited number of channels, everyone choosing the same channel gets the same content).

If so, it is a TV service, otherwise it's obviously not.

comment 11y ago · link · parent

Surely you could send different e-mails to different subsets of the subscribers, and thus have the same economics as a small company?

comment 11y ago · link · parent

The best apprach is to have "reflection" (really, access to the compiler AST or IR) at compile time and generate code from this, since that minimizes the run-time overhead.

See Rust's serde for an example of that for serialization.

comment 11y ago · link · parent

The article is wrong.

The Xeon E3-1270 v5 goes from 3.6 to 4.0 GHz and only costs 10% more than the i7-6700 (3.4-4.0 GHz)

Also, the Xeon E3-1230 v5 goes from 3.4 to 3.8 GHz (same base clock) and costs less than the Core i7-6700.

In general, you should never buy non-Xeon CPUs if you have the choice, both for desktop and for servers, since ECC memory is essential if you don't want to have a significant chance of having to replace your RAM after discovering mysterious problems with your system.

comment 11y ago · link · parent

Is it feasible to prove the correctness of all existing LLVM passes this way?

What about the backends and Clang and Rust frontends?

comment 11y ago · link · parent

Login and start the game, then click on the "+" buttons on the upper right corner next to the amount of resources you have.

comment 11y ago · link · parent

This is just a crap game where you can pay real money to speed up progress, probably vaguely similar to Clash of Clans.

Apparently the "innovation" is that you can solve simple programming problems (i.e. write algorithmic code that passes tests) instead of paying real money (not clear if it's only in some or all cases).

Avoid.

comment 11y ago · link · parent

It might indeed be the best algorithm for common cases of this specific problem, but there needs to be a fallback when either the input is large or a lot of swaps are being done since otherwise it's O(n^2).

Interesting that other people pointed this out, yet he apparently committed the code anyway.

comment 11y ago · link · parent

This is why you should use Firefox for Android: it's a great browser (even offering extensions such as uBlock Origin), but it has very little marketshare and is thus unlikely to be attacked.

This is also part of the reason a frequently updated Android distribution (Nexus or CyanogenMod) might in fact be more secure than iOS, where you are forced to be vulnerable to Apple's Webkit engine.

The same reasoning also applies to such updated versions of Android: the vast majority of people use outdated Android versions, so it's less likely that people would bother developing exploits for the latest Android version, as opposed to the latest version of iOS.

Obviously this is a self-defeating prophecy, but hopefully a proper securely isolated mobile OS will become available before things change.

comment 11y ago · link · parent

MMORPG backend as a service?

comment 11y ago · link · parent

Seems pretty inexcusable to release SSDs that get corrupted on power off.

These drives are defective, and they should refund customers for the SSD prices, plus some hefty compensation for the potential data loss they could have or have caused.

If you make a storage system and ack a write/sync, it had better be durably written.

comment 11y ago · link · parent

Amazon apparently sells a bunch of 64GB and 120GB SSDs for less than the $53 cost of your boot drive.

comment 11y ago · link · parent

> the property owner is always able to claim all of the surplus from the renter

Not really: this only applies if the demand curve is flat and different cities are not competition with each other.

In practice, the demand curve is not flat because there are people that earn more than others, but they will still pay depending on the wage of the marginal/equilibrium person.

Also, cities compete with each other so if e.g. Silicon Valley rents become sky-high because they capture all the value of tech companies, eventually companies will move or be started elsewhere, thus making it possible for employees to live there.

comment 11y ago · link · parent

Does it support OpenCL and thus Intel integrated and discrete AMD GPUs?

comment 11y ago · link · parent

The incentive for developers is that you don't write the same code twice.

Of course this applies to developers whose goal is to create software, as opposed to those whose goal is to bill hourly.

1
434445
51