Better HN
topnewbestaskshowjobs
Log inSign up

giaour

3,849 karma · joined Sep 12, 2013 (13y ago) · 1,555 submissions

Submissions

comment 4y ago · link · parent

It's all hypothetical at the moment, but that scenario would seem to be supported by the section on devices: https://ecashact.us/#devices. You would need a separate device capable of transferring funds between bearer devices, but those would presumably be widely available, as every merchant would also need one to accept ecash for a transaction or to issue a refund.

So for instance, you might transfer $X/week to an app on your kid's phone for lunch money, or put $X on your "walking around" card, both of which could draw from a different instrument you leave at home that has a larger reserve on it.

comment 4y ago · link · parent

> This probably can't go wrong, and certainly wouldn't motivate groundbreaking research into breaking TPMs

Is the e-cash proposal qualitatively different from Apple Pay (or other phone wallets designed to hold credit cards) in this regard?

comment 4y ago · link · parent

I've only used this feature with HTTP requests going to a function app, but my understanding was that there is a reverse proxy involved. I have an app with two slots, and both slot domains (<app name>.azurewebsites.net and <app name>-staging.azurewebsites.net) report the same external IP address. You can set up routing rules where a percentage of incoming traffic is forwarded to a specific slot, which would be hard (impossible?) to manage via DNS or ARP tables.

comment 4y ago · link · parent

> Note how their docs don't give any technicals as to _how_ this tech works[1].

From the linked page:

> Update routing: If all instances on the source slot are warmed up successfully, the two slots complete the swap by switching routing rules. After this step, the target slot (for example, the production slot) has the app that's previously warmed up in the source slot.

comment 4y ago · link · parent

What do you do with your receipts? If they weren't meant to be edible, you wouldn't get a complimentary one with every restaurant meal.

comment 4y ago · link · parent

I believe GP was referring to access to capital markets, not permission to use cryptocurrency. "Access" to an empty cryptocurrency wallet is worthless no matter where you live.

comment 4y ago · link · parent

I know that controlled substance e-commerce was a key market for bitcoin ~10 years ago, but given crypto's current volatility, transaction fees, settlement times, and vulnerability to forensic accounting, is bitcoin still a viable way to buy drugs?

comment 4y ago · link · parent

Doesn't the lack of a central authority increase the odds that coins, once seized, will be extremely difficult to recover? On par with trying to recover physical cash seized under civil asset forfeiture statutes, at least.

I don't have any direct experience here, but my understanding is that bank and credit accounts are typically frozen, not seized, so the process is easier to reverse.

comment 4y ago · link · parent

Wrong! "Written in COBOL" is the true clickbait.

comment 4y ago · link · parent

Can't you request a reset without any special access? Many (but not all) applications have a publicly accessible log in page with a "Forgot your password?" link that takes an email as input.

comment 4y ago · link · parent

It's been a minute since I was an admin in an Okta directory, but don't all resets use a self-service flow? In order to log in to someone's account, I think you need to compromise their email, too.

comment 4y ago · link · parent

http://whichjdk.net seems to be a site that tells me not to use the Oracle JDK without a license? There's a listing of which releases were the first to include certain language features, but it seems to mainly be giving advice around JDK vendors, not JDK versions.

There are two kinds of backwards compatibility at play: BC for compiled artifacts (let's call this Java ABI compatibility) and BC for language APIs (Java API compatibility). I have run into issues trying to compile an application with one JDK version and then run it on another (specifically, I believe JVMs will generally not run artifacts compiled with a later JDK version), but API backwards incompatibility is really rare in Java.

I do recall having to do a bit of cleanup when a previous project moved from Java 8 to Java 11, since a ton of deprecated APIs were pruned in Java 9, but those APIs were published by the JDK authors as standalone JARs, so I could remediate by adding a maven dependency. JVM backwards compatibility isn't perfect, but it's a much more stable target than other languages I've worked in.

comment 4y ago · link · parent

Java values backwards compatibility very highly, so if something runs today, it's likely to keep running without modification on future JVMs. (Though the 8->9 transition was pretty rough for some.) Compiled Java artifacts are usually portable across OSes and CPU architectures, so your build pipeline can be pretty simple even if your infrastructure is not.

JVM performance is generally fine, and the language prevents you from introducing whole classes of memory safety bugs. You can still shoot yourself in the foot with native (JNI) extensions, but the decent performance of the JVM makes developers use JNI far less frequently than, say, Python or Ruby devs reach for compiled libraries.

JVM byte code decompilation is fairly trivial, so tools for the security scanning of artifacts are cheaper and more fully featured than similar tools for scanning machine code.

comment 4y ago · link · parent

It certainly would have avoided creating some ambiguity, but that has not been Facebook’s position at any point as far as I know.

comment 4y ago · link · parent

"Flak" (meaning an anti-aircraft gun or shrapnel therefrom) can also be spelled "flack." The phrase "taking flack" is either a literal or metaphorical use of this meaning.

A flack (never spelled without a c) is a public relations or press agent, and to flack is to promote something (or otherwise do the work of a flack).

comment 4y ago · link · parent

It's the parenthetical "but not against any other group" assertion you made that is factually incorrect. Facebook repeatedly allowed statements celebrating military defeats of Isis and urging the local population to resist. These statements came from the then-president of the US and were not something that just flew under the radar.

> No, I'm not, and frankly I don't appreciate the assumption of bad faith.

I did not assume bad faith, and if you reread my comment, you will see that I said your position was either naive or disingenuous. My hunch is that the former is accurate and that another party that made the argument in bad faith in the hopes of taking advantage of others' naivete.

comment 4y ago · link · parent

You're trying to unfairly paint Facebook as having crossed a Rubicon with this decision. If the rules banned any exhortation to or glorification of violence, recruiting ads for the armed forces would have never been permitted. If Facebook forced itself to be blind to the difference between criminal violence and acts of war, Al Qaeda, Isis, and extra-legal militia groups would have been allowed to advocate for their violent ends.

There is nuance to take account of here, and "just stating facts" is either a naive or disingenuous way to engage.

comment 4y ago · link · parent

I still don't understand how this reduces emissions, though. Flare gas is always burned, hence the name. That would make the whole setup neutral, not negative. Once you include the emissions used to produce the equipment, you're back into net positive carbon production.

Are you counting the emissions saved by the same mining operation not consuming an alternative power source?

> It only takes one person to say bitcoin is useful for them, and it requires you to ignore them, no matter how many of "thems" there are.

It's more of a tragedy of the commons. I don't doubt that some individuals have found an aspect of bitcoin to be helpful to them. People are very public about how useful cryptocurrency can be for evading capital movement restrictions or conducting illegal business activity, but that doesn't automatically mean the whole ecosystem is a net positive to society. Think of nuclear or biological weapons as an analogy: possessing them is useful to state actors or individual terrorists/supervillains, but their existence sure does make the world a worse place.

comment 4y ago · link · parent

You don't have to capture the energy. Unless you believe bitcoin is the future of money, burning the gas to look at the pretty lights is just as productive.

Where we're disagreeing is that I think bitcoin mining is a waste of energy, even if the energy feeding into it is "free." It's not actually free, since there's a capital cost (and associated environmental impact) plus the negative market impact of artificially lowering the cost of oil. But even if the energy were completely free, it's just a more complicated way to waste this energy that would be wasted anyway. Bitcoin mining would also crowd out any economically productive use for this energy (should any be devised in the future).

comment 4y ago · link · parent

You're not wrong! Ideally there would be other ways to monetize flare gas capture, but it's hard to find something economically productive that requires minimal data in or out and just requires raw compute.

comment 4y ago · link · parent

> It lowers the energy cost for bitcoin miners well enough, it doesn't lower the exploration price for flaring sites enough, just reduces their emissions

Another commenter pointed this out, but whether the flare gas gets burned or not is orthogonal to what is done with the energy produced thereby. Oil wells are supposed to burn flare gas, but it's hard to capture and sell that energy, so it's mostly just released as heat. I'll grant that a well that is selling this energy is more likely to quickly notice and plug a flare gas leak, but that's the only real differentiating factor in terms of emissions.

comment 4y ago · link · parent

While flare is a waste product that was previously just vented, its production still scales relative to the price of oil: if it's not economically feasible to drill a certain oil reservoir, then no flare gas will be produced. If mining bitcoin by burning flare gas becomes a wide spread practice, all this would do is reduce the overall cost of drilling for oil, which would decrease the cost of petroleum products, which would increase the demand for them. So burning flare gas has consequences, too.

Outside of your one cherry-picked, non-representative example energy source, bitcoin miners are competing in the same energy market as everyone else.

773.

A Big Bet to Kill the Password for Good(wired.com ↗)

2 points · by giaour · 4y ago · 1 comment

774.

Digital health system for veterans plagued by patient safety risks(washingtonpost.com ↗)

1 points · by giaour · 4y ago · discuss

comment 4y ago · link · parent

Sure, but then why would you use Javascript in the first place? The situation deno is trying to address is that JS developers need to memorize two standard libraries, one for browsers and one for node. You should be able to work with one standard library like you can in most other languages.

The first attempt at this was to port the node standard library to the browser via browserify and the like. This tended to create gigantic JS build artifacts and frequently led to runtime errors when developers used an abstraction that just had no equivalent in the browser (like saving something to disk or opening a separate process). The browser is definitely the lowest common denominator of JS runtimes, even if there are a few browser APIs that just don't make sense in a server environment (like window.history)

comment 4y ago · link · parent

window.location could be repurposed as a way to get or change the current working directory? Though the idiom of "window.location = <other path>" as a navigation mechanism would not really be portable.

That said, there are other browser APIs that I would love to see available elsewhere:

- window.crypto as an interface over libcrypto

- window.localStorage and window.sessionStorage as an abstraction over temporary files and an in-memory key/value store, respectively

- window.indexedDb for an in-runtime DB à la Erlang Term Storage or MUMPS

- window.opener, window.parent, window.open(), window.postMessage() for inter-process communication

There's a lot to work with here if you get creative.

comment 4y ago · link · parent

There's another comment to this effect, but I do wonder if this is fair to customers with non-traditional schedules. Plenty of people work nights and early mornings, and they have not been well-served by brick-and-mortar banks and other financial institutions that are open from 9 to 5.

I appreciate what you're trying to do, but if your fintech startup caters to retail customers, I would urge you to make the snooze function dismissible if you haven't already. Maybe also store a record of the dismissal in localstorage or the like so that somebody who uses your site on the way home from their night shift at the hospital doesn't have to dismiss the snooze every time they use the site.

comment 4y ago · link · parent

Houston is much easier to navigate with a car, but you can find a few transit-centric areas (mostly downtown and in the areas around Rice). You would be SOL if you wanted to get to a different part of town without a car though.

comment 4y ago · link · parent

> Uber was popular even when just the black car service

Where was this true? This doesn't match my recollection at all, though I did live in a market with dense preexisting taxi and black car services (NYC and SF).

comment 4y ago · link · parent

It's undeniably more efficient to maintain a motor pool with a centralized mechanic shop.

I get that the taxi experience was not ideal for you, but Uber did introduce a lot of inefficiency into the livery market by decentralizing maintenance, procurement, and financing. Uber was able to do this while undercutting incumbents on price through a combination of fare subsidies, consuming external capital resources (i.e., asking industry outsiders with "excess capacity" (cars that weren't on the road 24/7) to wear down their own private vehicles), and having investors willing to tolerating large, upfront losses.

1
252627
52