skysight-inc/HackerNews huggingface dataset:
I totally agree on your points in the first paragraph, but sometimes the boundary between suitable and unsuitable tasks is quite vague, and cross-language development introduces new complexity. I mean if something is 2x in other languages, I will simply use it, but if it's only 1.2x then I will stick to current solution.

The problem of RPC is latency & increased complexity, not throughput. It's still hard to achieve native performance when passing objects between FFI boundary to avoid a copy, especially when using stub generators.
Yes, but it wouldn't help enough. For example, a speculative load from one core can observably evict or change the state of a cacheline on another core.
It's the parser (context dependent) that's hard. The rest is a regular compiler that you can learn to write out of a textbook.

And the parser is hard in pain-in-the-ass terms, not CS theory terms.

https://raw.githubusercontent.com/gcc-mirror/gcc/master/gcc/...
>Those avenues include remote exploits on anything listening for incoming network traffic on the Mac and DMA attacks through Thunderbolt.

DMA access does sound plausible, but how can someone run a remote network traffic attack?

(I personally turned off any "smart wake" type of functionality)
This is tricky. We don't know who landed on the page. How to propose Paris in France without Eiffel Tower? OK if user explicitly checks "avoid 'must see'" or "avoid overtourism". Then possible to propose different stuff. One traveler told me exactly this, a week ago. Maybe we will implement this feature.
Opened the coroutines draft just now. I like the humour in the note at the bottom of Page 1!
"Refactoring code that didn't even matter."

I'm personally attacked!
The fact that this guy is writing this open letter on behalf of the governor’s office, and seems to believe we still live in a 2008-esque Change-We-Can-Believe-In view of tech company largesse, shows how clueless Albany really is.

If we have ACTUALLY learned anything from the past century of corporate relationships with muncipalities, it’s that you really do NOT want to encourage corporate monocultures within your cities. It distorts the local economy, creates its own social subculture that often overtakes the town’s existing culture, and presents a giant economic and existential crisis should the corporate giant need to downsize or exit the city (which they seem to always do, and always for someplace that has far more diversity, or a new host for their parasitism).

New York State is, if anything, Exhibit A for all of this. The story of Kodak and Rochester, and the years of decline in Kodak’s absence (and before anyone mentions it, yes, I know there’s been a very recent Renaissance) is a story known to pretty much every urban planner who’s been educated in the past 25 years. Yes, you get a really easy bump in total jobs that is hard to replicate through more organic means; but you know, if you want to live in an interesting, dynamic society, you’re going to choose to go about it the hard way.

Maybe the evil labor unions ruined the deal. Maybe the politicians flip-flopped. Maybe the tax credits pencil out. It doesn’t matter. There are large numbers of people who didn’t want Long Island City to turn into another Rochester. Or, to put it in a context that might be more understandable to the crowd here, they didn’t want to see Amazon do to their neighborhood what Snapchat and Google did to Venice Beach over the past 10 years. I’m sure the tax receipts are way, way up in 90291; at the same time, it’s not really Venice anymore, and those revenues have allowed the tech firms to hold the community hostage for whatever they want (for example, Google had an arbitrarily placed stop sign and crosswalk put in for their use, and managed to get the LAPD to cart off longtime homeless residents in the process (who, by virtue of the law of unintended consequences, have been replaced by far more aggressive and transient homeless people)).

I’d love to see some of these politicians run on the “I stood firm on welcoming Amazon” platform for their next election. I don’t think the ones who flip-flopped into the negative are idiots; rather, they’re smart enough to see the writing on the wall. The tide is shifting, and fast.
Indeed. Alan Kay might take some issue with this notion of OOP.
Oh, I see, you're attaching value to species instead of individuals with your statement.

I can understand your point of view, I disagree I think just because I have different base moral values here. I attach value to the existence of complex life, but not to individual species (with the possible exception of humans).

If Malaria is going to find a better vector, it will do that anyways. It's more likely to do that while there is more of it (more chances to mutate correctly) so to minimize the risk of that happening one should do their best at killing it off.
That's still a whole lot more than the equivalent cost in electric for the same miles.
I think I saw your app before. I have mixed feeling about these modern map (mapbox, google map etc) although it's somehow great. I found its ux is not the best and often confusing or tedious. I'd love to see innovation around mapless approach (like this https://deepmind.com/blog/learning-to-navigate-cities-withou...)

:)
The regular KitchenAid is so-so, but the Pro (with the bowl-lift mechanism) has a significantly better dough hook and a stronger motor; it’s well worth the extra hundred bucks (especially if you bake bread)
This works surprisingly well on an iPhone. Glad people are out there keeping HyperCard alive.
I don't see how the people that dictated terms to the point where the project was unprofitable is powerless.

I also question if the people fighting for this outcome are the same low income residents affected, because I have a hard time believing actual low income residents in line for the units would prefer an outcome where no units gets build in order to make a moral point.

Why is it morally good to make an idealistic stand that cause no units to be build? To me that seems factually wrong.
Just saw the sequence in your comment: Sydney - Wollongong - Goulburn - Wagga - Forbes - Bathurst - Blue Mountains - Sydney. Type those names one by one and you will get a cyclic trip from/to Sydney. But the order of waypoints could be different, optimized for max curiosity within time and budget.

We have a version in the lab, where you could define durations in locations (e.g. 2 days at Wagga Wagga), even pin location to specific date.
Slide #34 is the best.
Yeah, only in California.

(Anything below 6 USD/gal is quite cheap here.)
Are Spectre-style bugs present on other processors like the ARM64 or POWER?
I remember one local BBS that had a RIP-based menu (and I think it was in fact running Searchlight BBS [1], from looking at this) and it always felt so weird going on that system. People did all kinds of neat stuff using ANSI graphics, but it still all basically looked like ANSI text/graphics. The RIP stuff was like entering a totally foreign land, where you can understand the language but all the road signs are different and they drive on the wrong side of the road.

Quite a blast of nostalgia looking for the source of this, not something I've thought about in a couple decades. Found via BBS Documentary page on RIPscrip [2].

[1] https://web.archive.org/web/20011217063957/http://telegrafix...

[2] http://www.bbsdocumentary.com/library/PROGRAMS/GRAPHICS/RIPS...
In other news google announces its new bare medal cloud services
Are there any answers from that conversation that stood out to you in particular? I'd be really interested to hear them!
Breakthrough toward developing blood test for pain
My mom still uses the same one she had since I was a little kid, which means it's at least 25 years old and possibly older. They're a great piece of machinery, far exceeding today's expectations of how long a product should last with minimal maintenance.
That seems to require a much more sophisticated attack. Also my point is that a speculative cache would be a separate (like a peer to L1) cache, only showing its side effects in L2/3. That'd be a bit harder to crack with the shared core noise and larger size.
So, admittedly I'm still wrapping my brain around the nitty-gritty of Spectre, but what's the solution to this then? It can't actually be that we'll all just accept that sandboxing only works if you spin up a separate process for every single container.

I remember when these attacks first came out that a few people were saying, "speculative processing was a mistake, we should just eat the performance costs and get rid of it." I vaguely remember that position getting a lot of criticism.

Is that where we are though? Are the performance costs of abandoning speculative processing greater than the performance costs of relying on spinning up a new process every time you want sandboxing to work? Or is there a middle ground that I don't understand? Obviously there's a lot of old hardware that's never going to be replaced, but let's say I sit down today to build a new processor for a new computer. Do I just accept that it will be vulnerable and move forward anyway?

My naive reading of this is that Google is saying we need to rethink processors themselves if we want to fix this (and we really do want to fix it). Am I reading it correctly?
I think he was just pointing out that that team appears to mostly be working on security, and it wasn't just some ad team behind that proposal.

FWIW, it's not surprising. I don't install extensions because I don't see how you can possibly trust arbitrary code published by a pseudo-anonymous screen-name to have unlimited access to all browsing activity. That proposal sounded great to me, it would have been nice to be able to use an ad blocker.
> But there are other advantages too, such as local storage, meaning that YouPorn can store information such as a user’s favorite videos locally on the device so that this information is not sent to YouPorn’s servers.

This is a pretty inscrutable sentence. There’s nothing about a PWA that ensures additional privacy, and nothing stopping them from using local storage and not collecting this data on the regular website if they chose to.
BTW: Fedora switched back to 4k pages a while back. The 64k page thing is one of those areas where ARM should have an advantage over x86, but so much software fails to work with 64k pages that its not yet worth it.

So, give fedora a try on aarch64 again, with F29, its almost at 100% package parity with x86 once you remove packages specific to x86. ARM/linaro/etc have been hard at work for the past few years getting the long tail of compilers/libraries working enough that all the higher level stuff has a change to generally work.

The perf thing is a problem because there are a lot of microarch specific counters, but frequently they don't get published by any particular cpu vendor. So, your left in the dark about them. The best solution at the moment is call your vendor and demand a more complete list.
If C++ continues to release a new version every 3 years, 2098 will be C++98 again. So either the language designers don't think C++ will survive to 2098 or they will need to change their versioning.
Why do you think it's comparable? I've never seen any cross-platform benchmarks. Except Geekbench, which isn't worth taking seriously.

It's plausible it's competitive with modern x86 stuff. I just haven't seen any evidence one way or the other.
> My naive reading of this is that Google is saying we need to rethink processors themselves if we want to fix this (and we really do want to fix it). Am I reading it correctly?

That's the gist of it, yeah.
When Queens has attracted enough campuses like Amazons to become an ecosystem no incentives should be necessary.

The deal has positives and negatives for Amazon due to its location, and lack of an ecosystem. After Amazon moved 25k jobs there there it would have been hard for them to leave.
Yep, ARM is affected. See this: https://developer.arm.com/support/arm-security-updates/specu...
There's very much in the 14 principles about optimizing for results and very little about leading or cultivating people. Obviously, this can be interpreted in very many ways, but the impression I get from the people that work there or have worked there is that it becomes a win-at-all costs environment and that the upper tiers of management are political hell.
It's not _just_ JS though...
I think this perspective misses the major issue being criticised here and that is the fact that the thread compiler apps that compile threads without the author’s consent.

When you press “tweet” on Twitter you give Twitter consent to display your words on their website, unlike the compilers which will display it without consent
Because it's never just Lambda. It's the toolchain you use for deployment and orchestration, routing, etc. (eg, "Serverless Framework + Lambda + API Gateway")
Obviously that question depends on your motivation, but one good reason is that it is a great way to learn how software actually works.

R makes it very easy to see the underlying R code (you just type the function name), until you get to a ".Call" or ".Primitive": from that point, it is effectively a black box.

But as most of Julia is written in Julia, you can easily inspect and understand how functions work, all the way down. Moreover, by using the @code_* macros, you can also inspect the various stages by which the code is transformed from high level Julia code down to the actual machine code which is running on your computer.
I think you might have a distorted view of the ad-blocker thing from reading Hacker News?

Most of the Internet probably never even heard about it.
> Love it!

Worth remembering these little snippets of history next time someone pooh-poohs your idea.
Are those old Mac shareware games still alive in an emulator anywhere?

I vaguely remember one where you battled a knight early on, and then went on to a modern battlefield... Hmm. I bet that box of 3.5-inch floppies is still sitting around somewhere.
No offense to the blind, but their rest of us do want funky graphics, emojis and cat gifs.
Overview: Drone Laws and Regulations in the UAE – STA Law Firm
Is it difficult to do both? And yeah type of road is a huge factor in outback Australia. Corrugated unsealed roads destroy anything short of hardened touring rigs.
How are you arriving at this conclusion? It’s possible to transition from x86 to ARM without any loss of performance in the scenario you’ve described.
This is about diversifying the economy away from real estate and wall street. It is also about bringing high-paying jobs to Queens, and encourage the kind of investment that brings.

From what I understand developers started building in anticipation of Amazon coming there, and that investment is now in question.
Show HN: Platform to serve ML/DL models at low latency
I've always had a hard time deploying ML models into production. The traditional approach is to use Flask, Gunicorn with Nginx. This requires a lot of setup time. Also, inferring model with flask is slow and requires custom code for caching and batching. Scaling in multiple machines is also hard. We have created panini.ai as a solution.

https://www.panini.ai/ is a platform to serve ML/DL models at low latency and makes it super easy to deploy AI models in the cloud. Once, deployed in the cloud it will provide you with an API key to infer the model. Our backend is written in C++, which provides very low latency during model inference and the model is stored in Kubernetes so, it is scalable to multiple nodes. We take care of caching and batching inputs during model inference.

I have also created a YouTube tutorial on how to use panini: https://www.youtube.com/watch?v=tCz-fi_NheE&t=

Please let me know what you guys think. If you have any questions, please email me at avin@panini.ai
I once heard that anywhere we try and get extra performance, there is probably the possibility for a side channel, and I think that's true. Any optimisation in such a complex system is likely to have some sort of side effect, given that simply timing is often sufficient as a side channel it is going to be difficult to eliminate this class of attack.
Well 'serverless framework' really is just node.js or java. That's likely going to be used anyhow.

Lambda itself doesn't really take maintenance.

Routing can be done in the app, you only need one - or a small number of 'endpoints' so messing with API gateway can be minimized.

You can run any sized app with a single API Gateway endpoint, and a single lambda, on a simple node.js setup.

I can't see any reason to use containers on EC2 or containers on Amazon's container service until an app gains quite a degree of sophistication.
The number one rule of writing twitter threads should be to never do it in the first place. Reading fragmented thoughts (and composing in terms of fragmentable thoughts) is ridiculous and then you have people replying to different parts of it, all in different chains that you have to follow down manually.

If you want to write longform, just write longform. If you want annotations, use software that actually has good annotating features and history tracking, such as google docs or maybe a paid alternative. Not twitter.
Any CPU with out of order speculative execution is probably vulnerable.
Hard Lessons of Dianne Feinstein’s Encounter with Young Green New Deal Activists
I find it interesting that you think that the Prius is a small vehicle. To me it seems that the Prius is on the large end of mid-sized vehicles. A small car to me would be something like a Daihatsu Cuore or a VW Lupo.
The proposal, as it was initially, would have prevented ad blockers from working. I think extending the proposal so people could give that full access to extensions they trusted (such as ublock origin, which is open source and you can build for yourself if you'd like) is the best way forward on that.
Envelop.c – A simple event-loop based HTTP-server from scratch.Learning purpose
True, you can but it results in a more limited DSL. This is mainly due to variable names needing to exist, be a valid object and chained used method invocations, which results in more awkward expressions (IMHO). Importantly macros enable compile time checking of a DSL rather than only runtime checking. That alone is very powerful.

Take a SQL query in Python's SQLAlchemy:

s = select([db.func.sum(users.c.id)]).\
.select_from(
Users.outerjoin(Posts, Users.id == Posts.user_id))
where(and_(
users.c.id == a1.c.user_id,
users.c.id == a2.c.user_id,
a1.c.email_address == 'jack@msn.com',
a2.c.email_address == 'jack@yahoo.com'
)).\
group_by(users.c.age)

That's not bad, but compare it to a similar query in Elixir's Ecto:

from account in App.Account,
left_join: t0 in App.Transaction,
on: t0.account_id == account.id
and t0.user_id == ^current_user.id
and t0.deleted == false
and t0.type == "inflow",
where: account.id == ^id and t1.user_id == t0.user_id,
group_by: account.id,
select: {account, {sum(t0.amount), sum(t1.amount)}})

The Elixir DSL allows a bit more flexibility when re-using language built-in's such as `and`/`or`, or undefined ones likes `sum` without needing the hacked names like `and_` or `db.func.sum` as in Python (or Java or others OOs). Generally the formatting is easier with macro based DSL's.

P.S. The examples might not be exactly correct as I cobbled a couple of different ones together.
Choosing a language is a difficult task, I agree. It is often qualitative improvements that are used to argue for new languages, which most engineers are skeptical of, as they tend to favor quantitative needle moving. So it's difficult to determine if something is 2x.

I choose languages through a series of criteria. First, based on my principles, which limits me to languages were safety, efficiency, and expressiveness are highly valued. I find that most languages have some core principles listed on their website. Then I take my software's requirements, and find a language in my subset of choices that is a best fit. If I am on a team, then we have to come to a consensus on the teams shared principles, which I find is very useful outside of choosing a language.

I think that services can be sized sufficiently large to be replaceable and still encapsulate most critical code paths such that sharing memory should be a rare requirement. Facebook and google are both examples of companies operating at hyper scale based on RPC service architecture. For those times were it is a requirement, I can't argue that RPC is a good choice. C is a great lingua franca, and most languages support its ABI (at least the ones used for critical performance).
Gödel, Escher, Bach
People don't care because only monkeys use Apple hardware for development.
International Labor Standards – STA Law Firm
Nasa Renames Facility After Katherine Johnson of 'Hidden Figures'
I'm not super-familiar with Rust's C interop - it it really that good? Does it support preprocessor macros? Can it inline C functions from header files? Does it know about function attributes like pure?

If you believe that C++ "sacrificed" for backwards compatibility (and I agree), well what was that sacrifice for anyways, if not better compatibility?
My understanding is that older A53 implementations of AArch64 / ARM64 are strictly in-order and thus not suceceptible to Spectre etc.
*ARM processors with speculative / out of order execution are affected.
"the flu shot is only being recommended for weakened and old people and is not generally something that people get."

This is correct and normal. The influenza shot is for specific populations of immune-compromised people. Normal, healthy children and adults do not need the influenza shot.

The influenza shot has nothing to do with the (ridiculous) anti-vaccine "debate". It does not belong in the same conversation as, for instance, the MMR or whooping cough vaccines, etc.
I meant applying a linear approximation.
Word Blitz Facebook: A DFS Based Cheat
Do a simple app in each one and see which one you like best. Something like a todo API or something like ls, cat, or grep. Doesn't have to be perfect or anything just enough for you to get a feel for the language. Preferably something with dependencies outside the stdlib since managing dependancies is something you'll have to do anyway so you may as well see how it is before you get a bunch of them.
> ... patent number 10 million and celebrated that milestone with a signing ceremony at the White House with President Trump ...

Aha! Now we know why it was extra-important to pluck #10,000,000 out of normal order.

https://patentlyo.com/patent/2018/06/patent-no-10000000.html

https://patentlyo.com/patent/2018/06/patent-no-10000000.html...
A good API (and the client to that API) is indistinguishable from a DSL

:)
It's probably by far the largest vector for untrusted code in the world.

If its sandbox guarantees are broken by Spectre then the case for allowing it to run on one's machine becomes much weaker.
I'm almost certain they will. The tech they used isn't going anywhere. It's simply that no one buys sedans. I expect to see a Volt-powertrain-derived crossover or SUV soon.
Well said. The question isn’t really “should” we decouple income from labor. We need to begin to concieve of a transitional process. Perhaps these kinds of schools are the first step, or perhaps there are even better approaches, but we need to help those who are being kicked by the current financial model. There is so much thinking and creating that is just trashed because folks can’t afford to participate.
Cool project! ZoL is rock solid and it's easy to setup. You could switch it over in a weekend. The standard HBA last time I bought one was the M1015 flashed into IT mode. ZFS data integrity features alone are worth it for that much data. If you mention what you are up to on freenode#zfsonlinux people will jump at the opportunity to help.
What languages in particular are you suggesting we move towards? Rust is getting there, but it's still evolving rapidly with features. That's about it. Any HN-favorite, such as Go, is not a valid replacement.
Really? That’s great news! Thank you for letting me know! Going to buy a copy now!
It managed to get picked up by mainstream outlets like the BBC.