skysight-inc/HackerNews huggingface dataset:
That is nice in theory and I agree it should be done wherever possible but lot of the time business logic will require immediate synchronous response to be returned as a next step in workflow will execute different branch of logic based on condition/result returned from previous microservice and the frontend / consumer / app will need immediate confirmation about whether action succeeded.

Even in such cases you might want to move bulk of processing to asynchronous queue based system but part of the logic might need to be executed synchronously (authorise credit card payment, you can process the payment asynchronously later, perhaps in bulk cron jobs like Apple Itunes does it but initial authorisation which decides whether purchase is successful must be synchronous).
What they’ve accomplished is amazing engineering. I’m sort of scratching my head at the economics though. Their cost to orbit is about $15,000/kg. That’s more expensive than the Space Shuttle was. And the CEO has said they’re not working on reusability.

Their goal of rapid manufacturing and frequent launches seems laudable in an expendable launch vehicle world. I’m not sure how they plan to survive when SpaceX and Blue Origin achieve rapid reusability though.
Next up, mixing logic and presentation like it's 1999 cough php cough react native
Facebook to Let Users Rank Credibility of News
Consoles provide experiences that mobile games can't.

That said, mobile has eclipsed consoles. 11% growth to $3.3 billion in the US. But by way of contrast, Pokemon Go hit a billion in revenue by itself last February.
I was surprised to hear they were using LION packs, dropped mid second-stage. I'm not sure why but I expected super-capacitors or maybe flywheels arranged gyroscopically within the stages. Batteries are heavy - but must be the best fit for now.
I don’t know if this going to help you, but after enough introspection in all my failures, the one reason that always comes up is ignorance. And I think many people would say the same thing.

So my advice would be to do more research. Then more research about your research. And keep going like your life depends on it.

Maybe doubting your ideas is a good thing. You’re been realistically skeptical.

Somewhere, there’s an expert who can tell you, with confidence, if your idea is good or bad, and how to improve it. So go ahead and find that person or become that person.
Dunning-Kruger effect applies here. The levels of confidence/validation are completely different. Good luck fixing a software bug on a toaster after-the-fact.

Also, performance is regularly an annoyance, especially if you have to do something non-trivial like process ethernet frames or talk on USB. Sub 8-Mhz processors for embedded processors still extremely popular and the flash size constraint leaves no room for huge libraries or ROM waste.

Completely different.
Nah, the hardware guys are cheap and treat employees, on average, worse. Intel has 60% profit margins. If only there were a way to use money to induce people you desire to have work for you to do so!
yep, it's quite amazing how little reporting of this there has been from US sites. news sites from other countries had much more coverage.
My apartment is about $980 at the current JPY-USD rate, just one bedroom and 280 square feet. It's not big by any stretch of the imagination but it's located in Shinjuku ward which is one of the "central" city areas of Tokyo (there are many such as Shibuya, Ikebukuro, Ueno, Roppongi, etc.). Keep in mind this is living as a single person, I can't comment on the cost of living as a family in Tokyo.

Food is fairly cheap here and not having a tip system is a big cost saver in my opinion. Fruits and veggies are fairly expensive, unfortunately, but I still think I can confidently say it costs a lot less to live in Tokyo compared to NYC or SF. There are details of national insurance and city taxes and all that which can make individual cases cheaper or more expensive than the average but I don't feel like getting into all the details.
You can pretty easily download Wikipedia and send it over on a flash drive. I feel like having a local copy of it would alleviate a lot of my personal use for internet all the time. There are a lot of other static websites that I browse and could easily get local copies of (documentation, forums with useful info, other wikis, PDFs of books).
NYC Police union slashes number of ‘get out of jail free’ cards issued
Does China present a larger geopolitical threat to the U.S. than Russia?
i actually wanted to see what one had to do help and wanted to skim a howto... i noticed there's a tutorial link at the top but you have to sign in/up to see what's there.

what kind of scandalous mysteries are in that tutorial that require hiding it behind a login?
I worked on site with a dev team in Sopot for a few weeks. While really nice guys, their English was not very good. The frigid temperatures by October were also an issue.
Purely scale / number of launches. They're certified to launch up to 120 times per year.
Background… I’ve been on good and bad projects that used microservices, and good and bad monolithic projects.

The madness is going away but the microservices are staying. There are some rationales for microservices that are conspicuously missing.

1. Fault isolation. Transcoder stuck in a crash loop? Upload service using too much RAM? With microservices, you don't even really have to figure out what's going on, you can often just roll back the affected component.

2. Data isolation. Only certain, privileged components can access certain types of data. Using a separate service for handling authentication is the classic example.

3. Better scheduling. A service made of microservices is easier to schedule using bin packing. Low priority components can be deprioritized by the scheduler very easily. This is important for services with large resource footprints.

The criticisms remind me of the problems with object-oriented programming. In some sense, the transition is similar: objects are self-contained code and data with references to other objects. The 90s saw an explosion of bad OO design and cargo cult architectures. It wasn't a problem with OO design itself. Eventually people figured out how to do it well. You don't have to make everything an object any more than you have to make everything a microservice.
While this is a simplification, I often catch myself thinking: isn't programming creating functions and functions of functions and that all way down? And on each layer we call them differently because of the context we're in.

Input --> Stuff happens --> Output

Again, it's a simplification, although to be fair, I sometimes don't see how -- other than that I'm feeling that I'm ignoring context too much (e.g. underlying hardware or networks or REST API endpoints).
> How about an L-AGPL that so that the source of a component must be published without extending to the whole work?

Middle grounds exist though. The MPL is one that I like. It requires copyleft at the file level. However AFAIK it doesn't have the A in AGPL, i.e. it's pretty much like the BSD license if the software is a server application.

It certainly would be nice to have some more options.
Tesla’s Model X: A lovely roadtripper with stiff daily driving competition
No toilet paper anywhere. Imagine that. Eleven time zones of no toilet paper. International Hotels in the center of Moscow had little stacks of 2 inch square wax paper if you were lucky. This was a completely dysfunctional and failed state.
Sorry for the late reply, but most resources I know about would get more specific about particular morality of the religion. If that's what you're looking for, you should get plenty of results searching for "Catholic examination of conscience."
I would look at org-brain: https://github.com/Kungsgeten/org-brain

I think this is also what Emacs-Muse is supposed to do, but I have never understood that program.
You don't gain any ground by pointing out how long or how short the other user's account has been around.

> Do you always agree with every dictate of the UN?

This is irrelevant, unless you are trying to say that one either agrees with everything the UN says, or nothing. Clearly that is not the case; plenty of UN member nations consent on some issues, and dissent from others. The same can thus obviously be said of individual people. They don't have to agree with every dictate to agree with some of the conclusions of the body.

Like it or not, the UN reflects opinions from a substantial number of member nations, and it's hard to applaud any explanation that ignores the UN on an issue where they are, and have been, a centrally relevant party.

> Does objectivity always garner the most votes?

No, but you probably have to say more to justify a lower-approval response as the right answer to a question specifically seeking the most neutral explanation, than to simply say "this is the most objective one".
I have the full set, but sadly I’ve just never bothered to do more than skim a few pages.

At one point I thought, maybe if I read just one page a day I can digest I’ll eventually finish it all some day, but sadly it will take more commitment than that.

Also, I’m not really sure what the benefit will be in the end or what difference it will make to my life.
As I understand it, they don't get paid for prescribing stuff. Rather, they get paid for persuading other physicians to prescribe stuff. Through speaking fees, payments for putting their name on favorable publications, and so on.
Is volume 4, fasicle 6 available for download, or do we need to buy the book itself?

I'm very interested in SAT solvers, as this has deep connections to statistical mechanics and condensed matter physics.
It's very common for me to put headphones in and have it trigger my 'work mode'. On Friday I had no meetings, put on my headphones, started some album, and hours later realized I was listening to the same song again for the 4-5th time. I just zoned out and went to work.

This might come from years of weight lifting with headphones. There are certain songs, albums, genres that when I hear them it's go time whether it be lifting or working.
Seems par for the course don't you think, SpaceX didn't receive much coverage for their grasshopper tests or Falcon 1 flights either? In fact, most of their coverage has just come in the last couple of years after working diligently for ~13 years prior to that.

Ironically I was led to watch RocketLabs launch by r/SpaceX.
Headspace. A few minutes a day, a few months of intermittent practice, and I find myself with more "internal time" to process my experiences before acting.
Miso (YC S16) Is Hiring for Engineering and Operations in Seoul, Korea
I wouldn't call panic the same thing as exceptions - panics are quite explicitly meant to not be caught, except at fairly hefty boundaries like processes, threads, or FFI. Using std::panic::catch_unwind to catch, say, accessing an out-of-bounds element in a vector would be super un-idiomatic, both because that's what .get() -> Option<T> is for, and also because even if you catch the panic, the message gets printed to stderr: https://play.rust-lang.org/?gist=587f976dc4bcf4010eb0026c9ed...

Rust doesn't have exceptions in the sense that C++/Java/Python/etc. have exceptions, i.e., things that unwind the stack and are part of a function's expected API. And I think the specific reason they're out of style is the inherent contradiction in that statement: either all the exceptions in the API of any of the functions you call are also part of your public API, or you're carefully filtering exceptions in any of the functions you call that raise them, and so you might as well not use unwinding.

Panics unwind the stack, but are not part of the API; they're for erroneous conditions where the usual right thing to do is to kill the process, but maybe you only want to kill e.g. the current HTTP request. Errors as return values / the Result<T, E> type do not automatically unwind - they're just normal data types returned from a function - but they have syntax (the question mark operator) for explicitly unwinding them one step, and there are proposals in progress to introduce syntax that use "throw" or "catch" to refer to returning the error case or handling such returns in a block of code, so it seems like people think Result more closely matches exceptions in other languages.
That's true. I think my point still stands if we consider that the practices of these groups were probably not portable to all regions/people of the world.

But still, it's interesting to think about how for a very long time, a good number of people achieved the moral ideal here without advanced understanding of nutrition. We ruined this with factory farmed dairy/eggs.
Norwegian here who currently lives in the US. About everything in your comment sounds wrong to me, except for the statement that gas is more expensive.

English has been part of the mandatory elementary school curriculum since 1974, and I would say that pretty much everyone knows English quite well except for a minority of older people in rural areas.

Norway being a cold, wintery country is something of a fantasy. The climate is much milder than you might except from the latitude. It's not very different from New England, though summers are not quite as hot.
Agreed! Here are some of the quality of life improvements I've observed between NYC and Tokyo:

- Minimal honking for the amount of cars on the road

- Clean, timely trains, subways, and buses

- Clean streets and sidewalks (unless you go to the busy areas of Shibuya/Shinjuku, it can get nasty there)

- No tipping but you still receive excellent customer service

- Modern apartments with things like auto-filling baths, digital temperature control for hot water, delivery boxes at apartments for package delivery when you're not home, contactless IC cards to unlock your door/mailbox, door video monitors, Toto washlets

This isn't to say NYC doesn't have some of these, it's just less common and you'll be paying more. I do wish Tokyo had more NY pizza and bagels though.
Kind of confirms what I'd always thought, that they'd associate a face/person with an account/shopping basket then track that through the rest of the store instead of doing any phone based tracking.
THIS : " If your problem must be decomposed into a set of cooperating processes, then programming in user space is the exact same problem as programming in the kernel"

Corollary (in my experience): many systems evolve to have many cooperating processes.

and THIS: "The tension in any of these systems is between performance and isolation."

To solve for the root issue described - hiring(1) - they should be looking for people who have an aptitudes for these those types of issues ..more so than say kernel or user space skills & experience.

(1) "HR complained that they could not find sufficient, qualified engineers to meet the demands of management for more hands to make more features"
That's because Costco has an awfully consumer hostile policy of accusing every customer of theft as they exit the warehouse. I absolutely can't stand being accused of crime in this manner.
How recently? We’ve made strides in screen share quality over the past few weeks.
...because patients with CF have hypotonic secretions in the lungs, resulting in mucous plugging, and the inhalation of a hypertonic solution into the same space would cause a fluid shift that would dilute the aforementioned mucous... which is to say, it’s an empirically-verified intervention with a solid grounding in the underlying pathophysiology. Whereas just eating sea salt has absolutely nothing to do with any of that.

Which is to say, it’s anecdotal -and- not grounded in an underlying reasoning that makes sense in the context of the disease.
Beyond not having nuclear weapons to put on a rocket - we're quite disinterested in having anything to do with them: https://en.wikipedia.org/wiki/New_Zealand_nuclear-free_zone
Thanks for the link. Super informative commentary. That might have to become a goto YouTube channel of mine seeing as how the frequency of rocket launches is ramping up.
Brilliant video, thanks! Scott Manley's videos are most excellent - this includes but is not limited to his Elite Dangerous and Kerbal Space Program ones.
Undux: the easiest to use redux alternative
> One of the most common bugs in C (in my experience) is forgetting to check the error return on a malloc call.

Very unlikely.

1. it won't happen in regular use, only if your are asking for a huge amount of memory (possibly by mistake), or the system is already full and you will likely experience problems with the whole system (freezes, instability, processes killed, etc) and not just with your program.

2. it will never happen in Linux, because in the classical setup, malloc() never returns NULL, even when there is no memory available.

So you have to have those conditions + a return value unchecked for the bug to have a chance to appear. There are thousands of other bug sources.
> Or just accept that emacs is objectively better software and switch to it?

Oh, come on. I thought the editor wars died with Usenet many years ago.
Best Diets for 2018
"Let it be someone else's mess, take my money," is the basis of most businesses. That's why I don't grow my own food, and I often don't make it.
There's a lot of ways around the broken/lost/phone-less populations in a system like this. The phone doesn't really do any more than provide the initial authentication and receipt delivery. If these really took off and started replacing normal systems it'd be really easy to add a receipt printer and to add a card reader for a 'members card' that does the same thing as the QR code on the phone.
confirmation bias.
> Norway is the most expensive country i have ever lived in or visited

I visited Scandinavia (Bergen was one of my stops) a couple of summers back, and between the currency conversion and prices it was easily the most expensive place I have ever been. It's an amazingly beautiful area, but I doubt I'll ever go back because of the prices.

I remember sitting in a restaurant in Stockholm and commenting that maybe the prices would go down some in Norway, and a couple next to us started laughing. The other couple then explained not only were they not going down, but they are going up.
I was arguing the point about taxis causing more congestion:
> taxis still cause twice as much congestion

But I see that wasn't exactly what you were trying to say.
Their differentiation is the ticket price: $5M, for now. A SpaceX F9 is $60M. The cost per kg may be an order of magnitude greater, but so is the ticket price.
The weight is an issue here too. It's something like 200kg of battery in the first stage. The second stage is designed to use its batteries one by one, and them drop them as they're expended.
Difficulty adjustment is used to keep block times stable. Without this adjustment block times would continue to go down until you would eventually end up with a chain that has much more frequent forks of greater lengths. You eventually end up with a state where the current head becomes indeterminate and all sorts of security issues become possible, including double spends.

Bitcoin could have easily based block rewards on timestamps to keep the supply of money consistent, similar to how the current difficulty is calculated.
> Any sort of polymorphism opens you up to the possibility that code that's written to take abstract type A, implemented concretely in B and C, implicitly expects a B and blows up when it gets a C. Rust doesn't solve this problem.

Can you explain this? Do you mean that the type C does not correctly implement A? Do you mean something that expects a specific value from a methid in A that only B will return? Both of those, while possible just seem like a complaint of "X doesn't prevent me from purposely breaking it".
These mixes are brilliant! Boards of Canada get in that same type of headspace

https://youtu.be/ksWPFwHwlwY
Get ready for some insanity in the next decade as this tech is adopted by walmart. https://i.redd.it/shbv27xwmzoy.png
What happens when you bag something without scanning?
When Beyond Meat said they'd sell their products in the meat section of the grocery store, I thought it was brilliant. Their goal is to convert meat eaters after all.

Not everyone got on board with this though. Safeway sells the patties literally next to cow meat, whereas Whole Foods puts them in the vegan section next to seitan.

It's an interesting line they have to walk.
I couldn’t find 9 vs 3 in any of their published papers. Their most recent has 6 v 1.5 (p of .04) from a review of existing epi data, and not an original collection (https://www.sciencedirect.com/science/article/pii/S016041201...)
I can relate to this. Music only serves as a distraction and prevents me from getting actual work done.

I also only tend to listen to music occasionally, when I 'feel' like it.
Keep in mind the first two examples ("baseline" and "no_foo") don't execute any nops - the only nops are outside the function bodies themselves and are never executed.

Microbenchmarks can still be interesting in realistic scenarios (e.g., the kernel of some decoding algorithm, a math kernel, whatever) - but this one doesn't really fit the bill since the core loop iteration count is so low (4 iterations), a lot of the interesting effect is probably just due to function call overheads, store-forwarding and so on.

x86 still has a lot of ways that it is still sensitive to code alignment (in fact, the list is longer than it used to me), but yeah they don't matter has much, especially since the uop cache was introduced. The uop cache still has lots of alignment related rules, but the code has to be much more extreme to violate them.

When there was no uop cache, decoding restrictions, which were heavily related to alignment, were often a bottleneck, but those days are over on mainstream x86.
Even after info provided by @jetrink about one top percent earns more than $32k annually. I personally would like to be top 0.01%
Geometrize: transform images into geometric primitives
It is a mental model that assumes that CF is something in the lungs. This is not true. It is throughout the body, but especially impacts epidermal tissue, which includes both lung tissue and skin. Surfers are not just inhaling salty sea air. They are immersed in salt water and absorbing it through their skin. Plus people with CF are medically prescribed a high salt diet, so your assertion isn't really accurate. Consuming enough salt is a known treatment modality for CF. The only real difference here is that I felt the quality of salt mattered greatly. Furthermore, mucus is mostly salt and water, which is why you need to consume more of both when taking things like mucinex.
Anyone in Retail Loss Prevention will tell you the Front Door is not where the Loss is, The Loss is going out the back door i.e employee theft.

As to "Razor Thin Margins" that relative, Walmart got in to Groceries because they could make more money then when they were just a General Goods Store. While the per item margin might be slightly lower than General Goods the volumes are WAY higher thus making it over all more profitable. That also means loss is actually less impactful
From what I've seen of Tokyo, the Japanese seem to have a crush on France in general. Tokyo is littered with French-themed spaces, and Paris Syndrome is particularly noted among Japanese travelers. [0]

[0] https://en.wikipedia.org/wiki/Paris_syndrome
The Greeks benefited by creating systems of thought that were propagated by academies and books, and were supported and protected by a vast, powerful empire for over a thousand years.

They happened to have laid the foundation for university education in the west, where the industrial revolution took off first.

It doesn’t take much to imagine a world where the industrial revolution happened in China first and we’d all be talking about how everyone considers confuscious the only important philosopher while overlooking Plato and Aristotle.

Hell in a hundred years that could still happen.
Maybe Costco should try not treating people that paid for the "privilege" of shopping there like they were criminals..