jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Let me summarize the argument against using network filesystems. Elsewhere on the HN homepage as I write this [1] there is a link to the Wikipedia article on the Fallacies of Distributed Computing [2], which are:

1. The network is reliable.
2. Latency is zero.
3. Bandwidth is infinite.
4. The network is secure.
5. Topology doesn't change.
6. There is one administrator.
7. Transport cost is zero.
8. The network is homogeneous.

Technically, every one of them is a myth of local disk storage as well, inasmuch as nothing is every 100% reliable in the mathematical sense. In reality, unlike network programming where the moment you step out into the big world you are slammed in the face by the mythical nature of these claims, they are true enough for when you are working with local disk that you can write significant programs as if they are true, excepting perhaps latency (busy disk may mean you get scheduled much later). The basic argument is the practical differences are so significant that where the file interface is most effective when it just pretends most of the myths are true because adding the complexity of being able to deal with violations isn't worth it (and most programmers using local disk would get it wrong even if you offered it; how many programs gracefully handle running out of disk space, let alone more bizarre failure cases?), the network must give you the tools to handle those issues, and correspondingly must have a more complicated API.

In particular, every time you so much as touch the network, you need a code path to handle the possibility that the network communication utterly failed, just disappeared into oblivion. You just don't code that way when you deal with files; the file may be gone, the disk may run out of space, but you don't sit there in the middle of a fast read loop and handle failure on every read, such as a topology change, i.e., "the disk drive is no longer present". That's not because it's not possible, because you can certainly yank out a USB key mid-read, but you tend not to handle it in most userland code. In fact the OS won't even let you handle many failures, as it will either abstract away the retries or simply lock your userspace hard.

So the fundamental idea is that filesystem abstractions built for relatively reliable communication simply isn't correct for network communication.

Incidentally, the same argument can pretty much be made against remote RPC by simply replacing "disk access" with "function call". You do not have to guard every function call you make with a check for absolute failure. (Not the function returning failure or the function throwing an exception, but the function that may have been there two minutes ago unexpectedly being entirely gone.) RPC may look cute in the source code but it's the wrong layer of abstraction.

[1]: http://news.ycombinator.com/item?id=2470865

[2]: http://en.wikipedia.org/wiki/Fallacies_of_Distributed_Comput...
This shouldn't happen - please report an issue
The exemption would be limited to companies organized in and with their principal place of business in the United States or Canada. The exemption would not be available to companies that:

* Have not filed ongoing reports required by the rules during the preceding two years.

So does this mean that a company wishing to raise capital under A+ needs to file "annual, semiannual and current event reports" for two years prior to the offering? If so, wouldn't this regulation effectively force seed-financed companies to start filing reports immediately? Perhaps I'm misunderstanding this, but that seems like a significant burden.
yapf is developed using an internal Google coding style. Please don't hold it against the project :-) Once you get used to the style, the code of yapf is very consistent in terms of style (it was formatted with yapf itself!) and should be easy to understand & work with.

It does support the PEP8 style out of the box, however.
> Can your "no preservation" nephew lie to cops for years and push a shopping cart and feed himself denying what his real name is when questioned.

In his case, he doesn't comprehend spoken language enough to carry a conversation. He can answer some basic questions, and says a few words to explain his wants, but he couldn't tell you his own last name. He can memorize and very accurately reenact conversations in cartoons or YouTube videos well after seeing it (they found that out when he rather inappropriately started quoting Spaceballs at school, which he apparently watched at some point).

As for this kid who disappeared for a few years? I don't know anything about him. I don't know anything about his parents, or his home life. Neither does the person I responded to, and neither do you.

To say that this is a terrifying scenario is just projecting.
Oh please people stop using this top bar that appears after we scrolled, it's today's version of blinking flash banners.
Before the GPL we had the BSD licence and when I was a kid, things were just put into the public domain.

That's really a great point. I've found Stallman's remarks about those alternate takes on Free (non-GPL, but also open source) rather off-putting and frankly silly myself. Some of his responses remind me of this scene

http://www.viddler.com/explore/loopytube/videos/819/
I appreciate your post and the thoughtfulness behind it. I readily concede that the man is stubborn but it's just as often a virtue as a vice.

How can he be "wrong" though, about something that he created from scratch, founded and has kept going strong for all these years?

Also, why should he take our advice when we've obviously rejected his (in many cases)? Anyway, good post and thank you for it.
Not what I'm talking about.

No outside funding means the founders carry 100% of the risk. No amount or form of outside funding can increase that percentage (duh!).

And if you are putting in your time (with the associated opportunity cost), you should be asking yourself what kind of growth you are willing to accept in exchange, shouldn't you?
The design reminds in style old project Boomerang by Ital Design from 1972

https://www.italdesign.it/project/boomerang/

BTW, it is the same company that design famous Back to the Future car DeLorean DMC 12.

https://www.italdesign.it/project/dmc-12/
Could you please explain how it affects those things? I'd be very interested in learning about that.
What aspects make you think it’s not useful as a work truck? I’ve done construction and see quite a bit of appeal. Fits 6 people, lockable bed cover, good towing capabilities, rugged body construction, no paint job to ruin, onboard power and compressed air...
> The iPhone is a PDA is a toaster. Splitting the software from the hardware is like splitting the coils from the chrome.
The consumer just wants perfectly consistently browned toast, while not dying from electrical shock or setting her house on fire. She’s not really buying a toaster, she’s buying no-hassle toast.

> If you allow that’s what an iPhone is, rather than a general personal computing device, Apple’s stance makes more sense.

But the iPhone is _not_ a toaster. To characterize the consumer wants around an iPhone and its variable uses as akin to the near uniform customer expectation to have a toaster that doesn't burn their house down while doing its job is hard for me to accept.

If a customer is really seeking "no hassle toast" when buying a toaster, what is the customer buying in an iPhone? No-hassle phone?

If so, are we construing "giving the consumer the option of installing software on their own device" as a hassle? With something like a phone, I believe users have come to expect the ability to install software of their choosing on the device, which is very different from expectations of software installation for something like a toaster.
I've always been a little confused how this works. If I got all that info for free, it's a "data leak", but if I pay to get the same detailed personal information it's...

In either case my personal data is given away without my consent, but there's this implication that it's only an issue when someone doesn't pay for it.
How are they a really good startup builder? What have they built in house that has been a success since Gmail?

After flailing around for a decade, almost all of their profit is still based on ads. They are less diversified than any of the big tech companies besides Facebook.
The setup in the picture doesn't make sense... There isn't room for a set of studio monitors. Even if there were you'd be too close to them.

I'd guess the guys speakers are behind him and he just fancied doing lots of 180 deg spins throughout the day. Some people.
Not another groupon clone please...
Re-reading this after his sockpuppet outing, it reads even more smug, self-congratulatory & non-ethical.
The closest equivalent to IB in Android is actually built into the standard Android dev toolset (the Android Developer Tools for Eclipse).

Droid Draw has been abandoned for years. The visual UI tools in the latest releases of the ADT is actually pretty decent. Probably not as good as what I've heard about IB, but not bad. Certainly better than Droid Draw ever was.
The green means the account is new.
Doubtful. I know people who act much the same way in person, and while tempers occasionally flare, I've never seen it get physical.
I would stress to Tyler and other economists that the ability to have a completely distributed currency (backed by no one in particular) is an amazing mathematical/technological accomplishment

Not really. The real-world example is if my friends and I get together and decide that pine cones... or rather, pinecones with exactly 45 microsporophylls (yes, I had to look up what the little thingies on a pine cone are called) are a new and exciting currency that everyone should use. Then we could all go out hunting for pine cones and trading them with each other and convincing all our friends that collecting quinquadridecal-microsporophyllic strobili was the greatest thing ever.

It would be surprising if we succeeded in doing this (that is, in raising the value of pinecones above their natural near-zero value [NB pinecones are unlike bitcoins in that they actually do have a mildly nonzero value]) but it's no technological achievement.
People should understand that a fiat currency is better than any commodity based currency. But they don't.

People are idiots and have let TV windbags convince them that a gold based currency is more "real". Shiny!
Vancouver's housing prices are just as stupid as San Francisco's, though.
Unless you plan to invest extensive measures to keep rats away, I advise against it. My suburb in Oregon has been dealing with rat problems for several years now bc of poorly managed chicken coops in private residences. New laws likely coming soon.
,,A historical look at the origin and uses of the word inflation, arguing that although the term has become nearly synonymous with "price increase," its original meaning - a rise in the general price level caused by an imbalance between the quantity of money and trade needs - is the definition driving many of those who advocate an anti-inflation policy for the Federal Reserve.''

Austrian economics still uses the original meaning of inflation (increase in monetary supply), while Keynsian economics uses the change in consumer price index, or more broadly the change in prices.

I prefer to always distinguish the two by writing monetary supply inflation and price inflation instead of just writing inflation, as this conflict between definitions always comes up.
Uber’s margin gains have not come from efficiency improvements but from its ability to unilaterally cut driver compensation by 40 percent since 2016.

So much more cost-effective than slavery.
Money is a representation of energy. If you used it like you would electricity you would be better off. Sure, store some in batteries but know that they dissipate over time. Stocks should only be purchased when you want to literally invest in a company or industry because you think it has major growth potential, not for speculation. Non-cash assets could also mean precious metals as they have conversion power over any fiat currency. As we're watching the neo-liberal global world order collapse with the war in Russia I think gold and silver will win out over any other non-cash asset. However it still doesn't make any money. The way to make money with money is to buy things that appreciate in value over time. Real estate is one of the most available things that fit this category. My parents bought a house in Florida last year at the "top of the market" and their property is now worth about 20% more. And if they rented it out they could recuperate some of the capital outlay that they invested.
But for deployment in smaller devices you can use techniques such as distillation, quantization and sparsity. Training and inference are very different problems in practice.
Rtfa. It says and agrees with the exact straw man you are invoking.

Namely run on your own stuff and not on someone else's platform.
If that's what you're used to it's fine probably, you'll often have no choice but to adjust your workflow to it and make it work. But if you've ever experienced an environment that instantly shows you results and lets you get into a fast iterative loop to explore your data, it can be hard to give that up again.

Source: my current and previous job were basically data viz programming jobs which were all about optimizing said iterative loop for scientists. Going from minute-long to sub-second rendering speeds is a game-changer for many.

EDIT: having said that, this kind of reminds me of what the biggest difference between analog and digital photography is for me, namely whether or not you get instant feedback. I do remember from my art school days that in my experience film was a much better option for training the skill of observation and composition than digital, because it forces you to essentially picture the photograph before you take it. However, once you get somewhat decent at that... I'd switch to digital and reap all the benefits it has ;). The same logic might apply to learning how to plot your data.
I think they definitely have a chance, but sharding is the best idea.

Unfortunately Bitcoin with Proof of Work will be around for a very long time as mining will be extremely lucrative for 100 years. Wasting more and more electricity for a legacy system to do store of value.
For those saying value investing is dead, i think they simply don’t understand it, thinking it’s just blindly looking at P/e ratios.

it posits two things:

1. Companies have an “intrinsic value” that can be determined based on their earnings, balance sheet, dividends, and analysis.

2. Buy companies that are below this intrinsic value.

The problem with departing from the underlying value of an asset is you’re essentially doing the GME game (greater fool). You’re just relying on someone paying more than you did for something, which can go down as fast as it went up since there’s nothing tangible backing it up. Eventually there are no more greater fools

or you’re just gambling that something will happen in the future to justify the current value, which is exactly a gamble
So, programming language development is inexpensive?
> “The only good use cases that come to mind is if there is some particular reason for you to evade the conventional and easier systems of communication and storage.”

This is the number one model for valuation of Bitcoin-like cryptocurrencies. Say you live in Venezuela and dealing with custodial intermediaries in your local fiat currency is completely untenable. You can’t store money in gold or other precious metals. You can’t keep it in a bank account. You can’t transfer it (with fees) in a foreign exchange market.

All these things require dependency on the local fiat currency (plus more for custodial fees if dealing with anything like gold or stocks or bonds), not even factoring in issues of the fiat currency’s own extreme volatility and transaction fees. Banks being trusted central parties or Visa being able to process 40k transactions per second sure won’t mean shit to you at that point.

But with Bitcoin you can drive across the border and actually buy milk or medicine, no fiat currency involved. You’ll happily see the volatility and slow transaction process / high fees as a worthwhile overhead cost for independent purchasing power outside of your local fiat currency.

Now, of course this is a rare and small use case by volume and by market cap in comparison to normal functioning fiat currencies. At any given time only a small amount of the world demand for financial transactions would fall in some destabilized government zone where independence from local fiat currency is materially important and having a preemptive stock of cryptocurrency holdings really matters. And somewhat lesser there will be some small market for people with extreme risk aversion preferences or “prepper” outlook (eg, “What if the US dollar collapses?” - most of us don’t care to hedge that extreme tail risk, but some people do care).

The total demand for currency holdings like this will obviously be much lower than any total market cap of a major fiat currency.

But it may still be higher than the total market cap of cryptocurrency today - that completely depends on your personal take on forecasting and speculating.

In other words, there are several straightforward and uncontroversial reasons why buying and holding cryptocurrency rationally makes sense. You could happen to be wrong about the speculative future demand for this type of transaction capability. You could be wrong in the magnitude of the forecast. But being wrong doesn’t make it irrational hype or conceptually broken from first principles, as you foolishly assert. There are many very uncontroversial, directly obvious and rational reasons to speculatively buy and hold crypto, depending on your personal appraisal of that market and future demand for that transaction capability.
Just a heads-up that at the end of that support doc, it says the API is only available for managed devices on iOS.
Oh, I sympathise even though I don’t wear prescriptions. I do like to wear sunglasses quite often, and even thought it’d help reduce a vector of infection. But I can’t get a mask and sunglasses combo that works for more than 10 seconds!
> Forth for anything on a microchip

2020 was the year I learned about Forth. It really is fun and practical. I run FlashForth on my Arduino Uno.
8/ A new generation of apps redefining work habits is well overdue. The obvious driver I see is that people's expectations for software usability/design are set by consumer apps. Also millenials are entering the workforce, and they have never had to take a course to learn how to use a piece of software. Any tool which requires training is arcane in their eyes, and probably rightly so. Add zero downtime, access-and-share from any device, auto sync & backup, beautiful UI to the list of requirements. Some of these are being addressed by office 365 and the like, but unbundled web-based productivity software looks ripe to dethrone mircosoft as THE enterprise productivity software vendor.
There is/was a similar organization in California called DanceSafe (which friends used). Still there: http://dancesafe.org/ You could/can mail them pills and they would test them for content ratios (not content amounts). Fantastic service to reduce harm.
We have a home grown solution for this. We use pants (https://pantsbuild.github.io/) for our Python builds and phabricator for code reviews. Pants gives us a dependency graph so from which files get touched in a given diff, we can feed that back into pants to get the targets to build and the test suites to run. It's not as granular as running individual tests in a suite for small changes, but it definitely helps cut most runs down to just a small percentage of all the tests. The ability to pants to build test suites in isolation is also pretty key since it means we can run a whole bunch of suites in parallel so in many cases the total test run time can be just the time of the longest individual suite.

As others have mentioned, kicking off full runs on a regular basis is important to make sure there aren't weird cases that break and aren't caught in this approach.
This likely already happens (college costs paid from inheritance).
They're only controversial because some of them have money. When normal people spout these kinds of opinions, nobody hesitates to simply label them wrong and be done with it.
central_logger is the new mongo_db_logger: https://github.com/customink/central_logger

We use it in production on heroku and it works great.
Definitely have to agree with you there. It's not exactly practical, but could make for a better sport than segway polo. http://www.youtube.com/watch?v=pld9t19WGSc
For Christ's sake...
live closer to where you work.
Detection is pretty useful though.

Combine this with something like http://nicklothian.com/blog/2009/12/15/using-flash-to-shim-a... and you might be able to do facetracking in Javascript
Seems to be overloaded for me. I had sucess with this instead (is it the same? I'm noob at this):

csup -L 2 -h ftp6.us.freebsd.org /usr/share/examples/cvsup/ports-supfile
I find that DDG is great for finding most of the programming-related stuff I'm looking for, but if I need to find more recent information, it's starting to fall behind.

For example, a recent AVG update caused widespread boot failures on 64bit versions of Windows 7. Searching "avg windows 7 crash" in DDG (and some other variations) is not returning very high-quality results at the moment; the top couple of results are from much older issues, the next one is a couple of paragraphs from some site about AVG apologizing for the trouble, and so on. Google isn't a lot better, but at least its top result is a brief article from Computer Weekly on the issue.
Wow - that was a fast response. I updated my comment, I looked at the wrong account. Sorry for the confusion, and I appreciate the rapid response.
In corporate use, many users cannot add or update programs on their computers -- that is handled by the IT department. Yet there is no doubt that these computers are PCs.

I can imagine iPads becoming quite popular in enterprise environments because the software is managed. No antivirus, 1 standard(s) web browser with no browser plugins to worry about, and no p2p applications.

I'll concede that this is a different kind of computing than most consumers are used to, but I believe that many consumers will welcome a system that is safe, makes it easy to buy and update software, and which provides a consistent UI.

Right now, Apple is preparing a Mac App Store. If, in a couple of years most Mac software will be distributed via the Mac App Store, I can imagine Apple building a feature into Mac OS X that will allow administrators to turn off access to the standard filesystem for certain types of users, making such setups virtually foolproof.
The simplest answer is because they generally don't actually want jobs.
I'm curious. Can you offer any names of such translations?
Me too! So far I have seen four actual bugs in large numerical code bases that were caused by overlooking operator precedence. I expect to see more in the years to come.

I think that precedence of '*' over '+' is acceptable (as everyone knows it instinctively) but I would love a way to require parenthesis for everything else.
In situations like these, it's a legitimate goal to implement an idempotent, or "functional" core.

So the goal of your functional core is to fully construct the email, and return it to the caller, who then has the choice to send the email, print it, write it to disk, etc.

The program you deploy looks like this

EmailSender().send_email(construct_email(args))

You can test by implementing a "safe" EmailSender interface, so that you're executing the same code that's in prod.

In general, if a job/function is mutating state deep in the syntax tree (i.e. sending emails in the middle of a batch job), I personally see that as a violation of the Single Responsibility Principle.