skysight-inc/HackerNews huggingface dataset:
> short-term bond is generally anything that comes to maturity before one year, and long-term is anything else.

Yeah that's now how any of this works. First, average muni bonds duration is 10+ years. Short-term debt is inherently safer than long-term debt but all investors will look far beyond a particular bond. Especially when dealing with sovereign entities who can't go bankrupt they are much more concerned about the risk of default (on anything, not just bonds). That's actually what the credit ratings measures -- a comprehensive evaluation of ability to service all debts. They are not at all bond-specific.

Logically, if investors really did believe these states were doomed then they would also be forced to conclude that the states themselves know they are doomed (all information is public) and at any moment the states will take measures before they are destroyed to prevent their own destruction. These measures will inevitably be some form of default. So if you're lending money to an entity who everybody knows will default at some point in the future it would be naive to think any one particular debt instrument is safe. Defaults, by their very nature, are very unpredictable. That's why investors will demand a real risk premium even for extremely short-term debt (30 days) from borrowers with low credit ratings. This isn't economic theory btw, this is economic fact, supported by two centuries of market data.

Suffice to say, Cali and NY bonds are actually set to out perform so the market does not believe that either state is going to default in the next 10 years or even the next 30 years.
Please post a link.

I have a couple of questions:

i) Have you been able to apply the skills you gained for something else? Did it help you career-wise in any way, or do you just feel like it made you a better, more well-rounded person?

ii) Did you have a job at the same time to sustain yourself?
Personally, I don't find ThePrint to be a high quality website. Their coverage of events and news is incredibly bad, no wonder they get science reporting wrong.
Sniper Hero: Gun Shooting Assassin
Do you mean one of those things they write on paper slips when you say check? Which country are you from?
I think it would be amazing to see a single keyboard built that had all the keys atop a random switch platform. :-)

Just to see people type on it.
Cognitive Dissonance in Programming
Problem is that, as long the sun shines, a voltage will be generated. Depending on how they are linked together this makes it more or less dangerous.
Cities try this with gun laws all the time. Even if a state has premption specifically for gun laws.

At any time a city or town somewhere is trying to get sued by enacting “their own” anti gun laws. I see it come up at least twice a year.
As are all the national payment networks. Interac is a bit different from the others though because I don't think cards usually support both Interac and Visa/Mastercard, while in the European systems they usually do both, with terminals defaulting to the national system and using Visa/Mastercard if necessary.
Protected classes are just one of many examples. There are many others.

Search for "mortmain" for one that's been around in English common law since the Middle Ages. Then search for "takings clause" for one that's been around since the U.S. Constitution was enacted.

If the government forbids them from starting a cafeteria in a space where that was formerly allowed, that is a "taking". The government may (or may not, depending on the court) be able to do this, but if they do they are required to pay the landowner for the lost value.
Thank you, this finally addresses what I'm asking about. It's definitely surprising. Do you happen to know of any merchants are charged fees differently in this respect, or do you just mean it's possible from a technical standpoint?
If they don't have anything to design they are fired and have to go find another job. So they actively look for things to design and propose changes.

Remember the moz://a brand change? I wonder if there is any way to measure the benefits of it, except for the paychecks to the designers.

Edit: I realized that it could be another thing. They are signalling they are alive and well. Similar to buying a 200k sport car. See how much money I can afford to do without?
This kind of aspect is exactly why I'm fairly wary of smart contracts as a general concept.

The problem with "law is code" is that the entire functioning of society depends on law not being code. Think of how broken all software is, everywhere, all the time. Now multiply that by how messy the legal system already is.
And though there is no fatality for waymo, while we already one for Uber just at the beginning of their program.
Reddit’s New Comment Sorting System (2009)
I non-rarely have links with ~0.1% packet loss. If you get even just that much packet loss, and a long-distance link, you _very_ quickly drop below 10 Mbit/s, if the other side can't do fancy selective ACK and similar additions. While I might be able to do something against this, as long as I control one node on both sides of the lossy channel, I can compensate with a little bit of FEC. I might even be able to operate lossless, using a fountain code to add more parity for each data bundle as long as my recipient node continues asking my sending node to supply more parity.

You are right though, for unicast networks there is little use of L3/L4 FEC. Maybe with the age of IPFS and other content-addressed networks we will come back to broadcast-FEC networks, like those used back when for 3GPP multicast services like e.g. TV.
We discuss privacy issues and the like daily on HN. If software is driving your car, does someone have access to the data on where you go? Can your car be shut down or driven to the nearest police station by a third party? If you are Black, gay or any number of other things, are you cool with giving up such control in an openly hostile social climate? How much cost does it add to the car? If a software update is buggy and you not only can't drive, but it is illegal for a human to drive, does your wife give birth at home while we wait for Google to fix the bug and update the software because you are neither allowed to drive her to the hospital nor is there any such thing as human ambulance drivers anymore?

Etc ad nauseum.
I don't think there's anything missing here. I actually really appreciate the brevity. It's a small, informative, and relatively humorous anecdote that knows what it is, no frills included.
I wonder how valuable something like that will be now that there already exists so much online data and documentation about our lives. Maybe traditional memoirs will still provide some insight, considering that they do at least give an organized account.
They were feeding grazing animals, but without all the massive externalities associated with industrial agriculture, from antibiotic resistance to its impact on climate change.

If you’re also of an ethical mindset similar to someone like Peter Singer, the “cultivation” of animals for slaughter is not something one should favor.
God I love my MacBook Air 2013 keyboard. I still think it’s tons better than the 2018 MacBook Pro crap. The MBP was given to me my the employer but I don’t quite enjoy typing. It’s like walking on grass vs walking on tarmac. One just makes your fingers so goddamn happy when you type. The MBP keyboard keys get stuck all the time. The spacebar get stuck at times! WTF! That’s just terrible engineering.

Steve jobs or whoever it was doing QA, I gotta say really had a knack for what is usable and makes the evokes a feel good emotion. The new macs nowadays look beautiful but horribly lack in usability in many ways. Steve Apple was very focused on usability. Aesthetics came later, now it’s the reverse.
Opened that Atlantic article and it prompted my phone for camera a d microphone permissions.
How IPTV Stack resellers earn 5K dollars ber months?
Levine constantly brings this up related to blockchain; people (for the most part) don't actually want completely and utterly binding contracts. We want things that reflect what we bargained for and protects us when things go sideways, but not something that arbitrarily and absolutely enforces technicalities that perhaps weren't in the spirit of the agreement. Turns out it's useful to have wiggle room; it's a feature, not a bug.
There are fatal accidents caused by ambulances and fire trucks, do you want to outlaw them because you cannot guarantee that there won’t be a fatal accident during their use?
The problem is that there isn't a lot of wiggle room in the USB-C spec to make a compliant plug thats attached magnetically rather than mechanically, and the contacts are recessed rather than surface contacts (so it has to be 'plugged in' rather than 'resting on')

Griffin sells a magnetic USB-C cable - that winds up being a magnetic dongle to a charging cable. Apple doing this would have been considered a hack against their design and would have required them to include a lower quality data-only cable rather than the data+charging USB-C cables they currently include.
Another Topre (RealForce 87U) user here too.
Then support this as a fallback, and negotiate for IEEE754 binary support on the next higher level.
Also note that this is a transcript of a segment on the radio program “All Things Considered.” Typically their stories are in the 3 to 5 minute range, just as this story is. The format probably makes more sense for radio than it does for web.
I'm speculating that if that happened, we'd see more stories like this one.
It's even harder to understand this width advance of modern web technologies.
In 90th you had single channel to download unoptimized GIFs and websites used to be built from these images.
Now you bundle, minify and gzip all these stylesheets and scripts which are capable of 1000x what you did back then, and then load (usually precached) analytics script from CDN while fetching mp4's in parallel and streaming them on the fly.
It's just bad developers. Facebook takes about 100ms to load everything (but still has shitty ui). And they build tools so everyone can do this too. And developers now brag how complicated web is.
Ancestry, 23andMe and others implement new guidelines for working with police
Yeah I can see that - too bad Apple has the patent on magsafe so it couldnt be incorporated when USB-C was being designed.
Magsafe is still on the MacBook Air.
Did you proove it formally or only by experiment. If it were a real proof, did you publish it somewhere?
I hope they treat dwarfs with more respect. One of my biggest issues with the movies is how they turned Gimli into a comedy point. Hobbits I can accept. I felt Gimli should have been a tough as nails beast of a character.

Otherwise, hopefully they aim at a slightly older audience like GOT.And most importantly they dont do that thing where you end on a big note ever episode only to quickly dismiss it at the start of the next to repeat again. Its the most annoying thing shows do, probably when management micro-manages/report for ratings.
The cost is something too. I enjoy developing in the Microsoft environment, but by using Microsoft you actually have to pay for your tools.
I’m not talking about fancy fonts or flowery graphics. More like having an eye for readability by correctly aligning the text in each column to allow scanning, having correct inter-rowset vs. intra-rowset spacing, and, even more important, working with the originating writers (in this case accountants) to ensure that textual columns are rephrased (but not in a way that changes their meaning!) if they take up so much space that they’re wrapping—and, in fact, reducing their size enough to ensure that a numeric or currency cell never wraps, which would perhaps even confuse an analyst into misreporting figures.

If you’ve ever seen the tables in a Dungeons and Dragons sourcebook, they’ve been put through this layout process. It’s nothing fancy—it’s just making sure that people can scan the bloody thing, and put their eye on the right numbers even with just a quick glance. It’s an attempt to reduce reading-comprehension errors, basically.

If you’d do it for a game with nothing on the line, why not do it for a company with perceived (and therefore real) equity value on the line?
Android Ecommerce App Template Written in Kotlin
Magento 2 Shipping per Product
AmEx was one of Warren Buffet's earlier investments, and a proof-of-concept of investing in companies with defensible moats. This ruling comes 55 years after his initial investment, and the moat feels as deep as ever.

Later businesses have perfected the art of winning the customer relationship and solidifying their lead with hardball terms for vendors (Walmart), merchants (Amazon), advertisers (Facebook/Google), developers (Apple/Google) and contractors (Uber).
Magento 2 Shipping Per Product Extension helps you adding separate Flat Shipping Rate for Each Product on Magento 2 Stores.
It's an interesting item - especially since his latest column https://www.bloomberg.com/view/articles/2018-07-31/sometimes... discusses a similar kind of problem that is going through negotiation now.
Because for most of their history, they weren’t accompanied by the massive carbon and methane emissions of their human counterparts’ industrialization? Seems self-evident.
Careful generalising the whole EU on stuff like this. These cards were very common in the UK until the new rules limiting fees were introduced.

It looks like there are still a few: https://www.moneysavingexpert.com/credit-cards/cashback-cred...
That’s why I chose “significant number” rather than a sales figure ... the whole commercial aspect is a separable issue, imo.
If you are doing a classification model, what’s the score threshold?

The trick with that approach is if you set the threshold high, it’s very easy to get a model with a high accuracy since classes will be imbalanced. (The vast, vast majority of HN submissions do not do well)
> They’re also trying to push Walmart Pay as well.

I wonder whatever happened to that digital pay system pushed by WalMart that was supposed to be on the level of ApplePay? There was a lot of chatter about it around the time of the release of ApplePay, but I haven't seen much about it since. It was some weird transaction process, open the app, present QR code, do something else on app, re-present QR code or something along those lines.
RCTBridge.h
Simple to try this yourself. Print 1000 copies of your book, record the price.

Then hire a professional copyeditor to do line edits, an illustrator/designer for the cover, and a professional typesetter for the content, a professional indexer if it is non-fiction. Pay for targeted ads to reach 1000 click-throughs of consumers with an interest in your book.

What proportion of the cost was printing?

It is true that a lot of publishers don't spend a lot on marketing. This has noticeably dropped off since 2004 when my first book was published. But it is not true that a publisher who is investing the cost in getting the book out the door is likely to do no marketing. Of course they want the author to market as much as possible. But there will typically be a budget line, at least as big as the advance, often an order of magnitude bigger.

> should be a flat fee, not a percentage of profits

You are welcome to publish via vanity press. Where you pay this flat fee upfront. It is a percentage, for the same reason that investors take a percentage of your business, to distribute the risk. Most books lose money. Most books never make their 'flat fee'.
Competition with MasterCard, Discover, and Amex should hold them back from doing this, because at such punitive rates merchants would definitely stop accepting them.

I believe Amex is only able to get away with its highest-in-the-industry rates because of the association of Amex cards with business expense accounts and high income earners. This is changing now (https://www.ft.com/content/715d785e-23fc-11e8-ae48-60d3531b7...) especially after years of competition from banks like Chase, who have been working on creating what is essentially a structural clone of American Express’ network (https://www.reuters.com/article/us-jpmorganchase-creditcards...).
This is a good lesson: the more we encode our history in proprietary formats, the more we stand to lose.
Even without the "binding contract" aspect, the very concept of "put important code in the blockchain (where it can never be patched without the agreement of the entire community)" seems ... spooky. "Unpatchable code" is probably one of the most terrifying two-word phrases in the English language.
Story of Gnome Shell Extensions
I'd call that a lot.
Download a new website of Spatie (a cool Laravel PHP app) for free
Because there were much fewer bison than there now are cows, and because the atmosphere wasn't already being pumped full of CO2, methane etc. by humans.
For most software it's perfectly fine to convert. What Windows API call that takes string input do you call so often that it would be an issue?
You might find SPIN more approachable, the syntax is similar to a cross between C and bash :)

Here's an example from the book "The SPIN model checker", by Holzmann, the creator of SPIN:

mtype = { P, C, N };

mtype turn = P;
pid who;

inline request(x, y, z) {
atomic { x == y -> x = z; who = _pid }
}

inline release(x, y) {
atomic { x = y; who = 0 }
}

active [2] proctype producer()
{
do
:: request(turn, P, N) ->
printf("P%d\n", _pid);
assert(who == _pid);
release(turn, C)
od
}
active [2] proctype consumer()
{
do
:: request(turn, C, N) ->
printf("C%d\n", _pid);
assert(who == _pid);
release(turn, P)
od
}

And this is Dekker's mutual exclusion algorithm from the same book:

bit turn;
bool flag[2];
byte cnt;

active [2] proctype mutex()
{ pid i, j;

i = _pid;
j = 1 - _pid;
again:
flag[i] = true;
do
:: flag[j] ->
if
:: turn == j ->
flag[i] = false;
(turn != j) -> /* wait until true */
flag[i] = true
:: else ->
skip /* do nothing */
fi
:: else ->
break /* break from loop */
od;

cnt++;
assert(cnt == 1); /* critical section */
cnt--;

turn = j;
flag[i] = false;
goto again
}

I don't like the TLA syntax, which is quite different from a typical programming language. In this blog's deadlock example it looked much nicer than usual for some reason.
I think it requires some level of creationistic thinking to not recognize these principles and forces as nature itself.
I agree, just something I'm not used to seeing on the internet, I felt like it was just getting into it, and then it was over, and I start to wonder how it became an article in the first place...
>Does the Mojave have to be useful to humans to be a valuable thing?

Yes, humans are the only creatures we know of with the concept of valuing land.
Heh, just experienced this myself. Spirit of a contract is important, and not really something that can be codified.
Ethereum app where last to deposit wins all ($10M+) if no-one withdraws in 24h
All storage is temporary, in the end - the question is, how much time can we buy?
In Australia, despite the credit card companies and banks fighting tooth and nail against it, it's legal for merchants to charge credit card fees and the fees have to be proportionate to the actual merchant cost.

https://www.accc.gov.au/consumers/prices-surcharges-receipts...

Unsurprisingly, nobody uses AmEx or Diners here, because nobody's keen on paying 2% surcharges.
Who said anything about universal facts? I said if my engineers will be more productive then I will make that choice. Note the “if”.

Point is - if a team is more productive using python they should use python. If it’s c# then they should use c#. Licensing cost doesn’t figure into the decision. People who complain about exorbitant licensing cost leave me confused because I do t see those costs.
Visa might not want that, but the merchant provider I linked to offers it as "Interchange+ Pricing"

> Our cost-plus pricing helps you save.

Thet's Helcim's model. They charge whatever their own cost is, plus a margin.

And you can bet that any merchant as large as Kroger won't accept a flat rate or fee for their transactions. They want to pay as little as possible.
How did Sears do it with Discover, or is this a recent thing?
The laws of E&M generalized for Electrical Engineering can even be derived from quantum, BJT and several other equations historically were. Fortunately analog computing seems to be making a rudimentary comeback in the aspects they are actually good for.
I'm aware - my collection is nearing 1 TB of lossless music at this point.

However I store it on a local NAS as well as a an external SSD (in case I need it in a portable way, which rarely happens) - I opted for an expensive SSD because it's very light, small and portable, but a traditional external drive would handle music just fine if price is a major concern.

At the end everyone has different requirements, but since I consider ripping a huge amount of music a major task I wouldn't want to repeat, I'd make sure I do it right from the beginning - and opting for a lossy format doesn't fit into that idea.
> Other organisms don't really seem to have a concept of value.

To first-order approximations, most living creatures seem to value their lives & habitat.
Apple gets a cut of the intercharge fees that the banks charge (much higher in the US than overseas), but it is not an additional fee to the merchant last I researched.

A lot of the NFC issues were either competing tech, payment networks not being ready, people not understanding their system configuration, _or_ intercharge fees being different for that whole category of fees (not specifically Apple Pay).
added 122 packages from 41 contributors in 2.462s

I'm giving it a go, looks good and the shortcuts flow well when typing them:

tb -t @personal Finish groceries
Including psychedelic ones, I presume?
http://www.blink.sh <- so far the best terminal.

Includes mosh support so you can sleep your iPad, switch between LTE/Wifi, etc - then later continue your terminal without interruption.
The 9 most terrifying words in the English language: "I work with Blockchain, and this contract is immutable."

Turns out everyone likes government when it helps them, and Reagan was just a senile old man making memes.
Huawei beats Apple in smartphone sales for the first time
This seems like a missed opportunity for Google Pay and Apple Pay. Before smartphones and NFC, it would've been too much for every merchant to make their own card, nobody is going to carry that many cards.

But imagine if Target, Walmart, Best Buy, etc. made store cards and they all integrated with Google/Apple Pay. When a customer enters the store, the app could automatically pick the right card. Google and Apple just needs to be cheaper than the rates charged by Visa/MC/Discover/Amex.

For example, I have a Target Redcard. Why isn't this card integrated with Google/Apply Pay? They've already setup the financial infrastructure to extend credit to customers. It should be a small step to add this to Apple/Google Pay.
It’s a religious argument that cannot be won or lost.
You could probably print in sections as well. This looks like it would be good for single story structures and possibly foundations/footings for larger 2 and 3 story structures.
The Caesar's case that he mentions was an interesting case study, they totally tried to get away with it -- in that case it was the $450 million mistake.

In case people are interested:
https://www.bloomberg.com/view/articles/2014-05-13/caesars-a...
> - minimize page weight - minimize duplicate content - minimize UI variation - what else?

- allow for (or even encourage) automated processing of content
The American spelling of cheque is check, and they're still very common there. That's exactly what they mean.
The point would be the same even if nobody used the client except to start it up for measuring bloat.
I tried it with my website. It's really a very good tool but the pricing seems a little on the higher side. For example for around 600GB of bandwidth, Cloudfront cost is around $100. But with your tool, the cost would be around $300.