skysight-inc/HackerNews huggingface dataset:
You can wrap up the build and the copy with a multi-stage docker build. Something like the following.

FROM rust:latest

RUN rustup target install x86_64-unknown-linux-musl
COPY . /src
WORKDIR /src
RUN cargo build --release --target=x86_64-unknown-linux-musl

FROM scratch

COPY --from=0 /src/target/x86_64-unknown-linux-musl/release/rust_docker_barebones /rust_docker_barebones
ENTRYPOINT ["/rust_docker_barebones"]

Although, I typically recommend _not_ using the scratch container unless you really need something that tiny. It makes debugging very difficult if you don't at a minimum have a shell and a package manager.

Also, packaging up rust to be static like this can take some extra steps. For example, loading in root certificates.
I am thinking of the same. No one uses Microsoft Browsers anymore, especially Edge. Even if you exclude Phones and Tablet, Chrome, Firefox, Safari and Internet Explorer combined to have close to 90% market share.

And if you include Smartphone and Tablet, which has 4 times the user base of PC, Edge has less then 2% of total web market share.

They could made EdgeHTML and Chakra the base for Visual Studio Code, allowing it to have an wider use case, instead of relying on Electron.
That would _kill_ at Disrupt!
Well, seems pretty often to me?

MPs didn't want Brexit. Voters did, now it's happening (maybe, unless the government blinks first in the MAD standoff the EU insists on).

Voters wanted stricter immigration, even though many MPs are convinced immigration is a net positive. They are getting it.

Voters refused to contemplate tax rises, or so it was believed, so reducing the deficit has been done primarily through spending cuts and the growing economy.

Voters are obsessed with the NHS - just a few days ago there was an announcement of a huge pile of new money for it, wasn't there?

Seems like whilst it can take time and of course politicians can pass laws nobody asked for, if you take the top 2-3 priorities of the voters at any point, the government is usually responding to them in some way.
You must work at an awful organisation.
Well yes, of course, however as a percentage of people writing code, how many write in a traditional compile-once run-many language which are large enough projects they take a significant amount of time to compile.

When dkms recompiles one custome module I use on an 8 year old laptop it takes a few seconds. Even when you're working on projects that take a long time (say on ffmpeg), you're not typically recompiling the entire thing each time. On the other hand doing a full build for all architectures takes hours on a desktop, so is far more sensible to ship off to a build service running elsewhere on the network.

Large scale compiling on a desktop machine feels like a fairly niche problem compared with the vast majority of "code" written today.
Day trader sues broker over ‘demo’ trading platform mix-up
M&M's and the hard shell coating chewing gum are among the highest concentrations in food. Also, white frosting and pudding.
A very important use case is that a lot of places don't have easy access to good diagnosticians, and software + hardware are easy to scale while humans, not so much.
> More of that American ideal (aka delusion) that a 1950s style lifestyle is The Natural Order Of Things. It's not. It's very much an anomaly.

Yeah in the US it seems just about everything gets compared to the post-war years like it's some kind of baseline. Seems like a recipe for perpetual disappointment.
Most celebrities aren't. Maybe a handful, but having a net worth of say $25M is a drop in the bucket compared to 11/12 figure individuals- the marginal advantages at that point must be very abstract.
Take a look at a GMAT critical reasoning workbook. Practice the exercises within them. There are online communities for test prep. In them, you will find people sharing in similar experiences.
I agree Edge is the most resource efficient Browser on Windows. ( Single or Few tabs only though.. It isn't tuned for Multiple Tabs ) But its Interface.... I have yet seen a person that actually likes it.
The article is extremely short, but the three points it makes resonate with my experience--but not the title, since I usually end up writing tutorials about subjects I am already quite familiar with but written with a specific audience in mind (my own tech teams in the past, specific customers these days).

Regardless, the points are valid:

1) You will find that you need to clarify what for you are intuitive leaps or gaps in detail so that someone else understands them

2) Peer review and feedback often improves the quality (and reach) of your document

3) Language matters. Regardless of language skill improvements, reach is paramount, and I recall when it was somewhat unpopular to write technical documentation in English in my neck of the woods.

Today that's mostly moot, but something to consider.
Governments are trying to use ICOs to fund development
"The idea that the Catholic Church might be considered a moral authority to any significant number of people is troubling."

You mean outside of the 1.2 billion Catholics?
It's quite incredible how the web managed to get along with such a janky sandbox model.

It's a very important thing that users trust their browser and won't hesitate a second to enter an unknown URL. They see "going to a webpage" as the equivalent to looking at a poster in the street, not eating candy provided by a random stranger.

Eroding this trust would ruin it for everyone, even well behaved static websites without javascript.

Maybe it's time to reconsider giving the same execution rights to gmail and unknown web pages ?
But your formulation isn’t right because it’s not about the UB code being detectable at compile-time or run-time, it’s about describing how the UB code should behave regardless of when it can be analyzed.

In the context of real numbers sqrt(-1) is syntactically valid yet meaningless code. In other contexts, 1 << -3 is too. Also log(-1). Perfectly valid syntax but has no meaning.

The intent of scare-quotes tends to be ambiguous so I avoid them in discussion. http://frivolousquotationmarks.tumblr.com
basically seemingly ethical, open, liberal and highly skilled engineers working for banks and orgs like palantir masking it all under "it's interestsing problems to work on".

disclaimer: i'm super susceptible to this as well..
I am looking for a technical explanation.

Would this be because of fear of establishing a precedence where if a lot of people did that you'd have a situation of a lot of leechers but few seeders.

If thats the case, its the same situation where you have a lot of users watching videos on a server. The server can limit membership to protect itself I suppose but a personal instance would be better then a user that just watches but does not contribute.

I suppose somebody could make a RPI client that becomes a member to one or more instances and just downloads. Just let the servers protect themselves by limiting use here and there.
But that doesn't specify protocal then, does it?

I.e., http://unix:/path would be very not backwards compatible
But haven't a lot of good things happened in those 30 or 50 years in terms of refining the social model? I feel he comes across as an apologist for regression.

That's why people are shocked by him, and worse still for people who uncritically swallow this stuff he's often right.

That's what makes him "post modern" in a post-modern world, and very much a spectacle.

I see Monty Python as questioning these ideas as a way of advancing the discussion. They're comedy though. They're not claiming "truth" status.
That tip is supposed to apply just while you are learning how to use pf so you don't block yourself from your machine.
I'm not sure either - and there's one of the problems. We're not given the full cost and consequence of each alternative.

I did read a piece a few months back discussing glass against recycled plastic. Plastic apparently needs far more washing, and at higher temperature and pressure, before it can be recycled. The washing to remove glue, labels and dried food which are all more difficult to get off plastic, and also because plastic recycling is so easy to pollute and ruin the whole batch.
I have technically heard of them, but basically just the names, not enough to have an opinion.
True, and if you really want to examine the history, go back to farming, where there was a zero commute -- you woke up and walked over to the barn to start caring for the animals, then breakfast, and walk around the barn to tend the fields.

For craftsmen and merchants, seems they typically lived in the same building as their shop.

I didn't see anyone complaining about that as somehow degrading the human experience.

Seems like no big deal, just what is the most practical living/working arrangement in a given situation.
Vim-zen: a barebones vim plugin manager that does 3 things
GitHub Education a Free Program
It's in the hard shell coating in gums used to keep the soft gum core fresher and chewier. This has been tested by dissolving the shell and separating it from the gum.
Hmm, in the US, I have only heard it "recycle, reuse, reduce".
Nope, wrong. Most people should prefer jurisdiction in their country of residence.

Most people will want the ability to sue them if something goes wrong. They will value that more than the vague theoretical threat of a government crackdown or avoiding taxes.
You could choose to live in a cave, not paying for water nor electricity, and not move more than 10km from your home in your entire life, but sadly the last people who tried at a massive scale died at age 30 and it was called "the Middle Age".

Seriously though, you could fight tooth and nail to have your privacy protected (GDPR lawsuit, whatnot) but it's time consuming, and surely you have better to do.

You could also ask why you pay for locks on your doors, when the things you buy are yours; why you have to pay for a parking spot; etc.
Certainly.

- Embed-ability: Qt can be used to build a plugin interface, but when a plugin host (which may be implemented in some version of Qt) loads multiple different plugins (which can be different versions), then it's possible to see conflicts with the global data that Qt creates. These problems are fairly hard for typical users to report and debug. IIRC this can be worked around with static linkage, though that opens up a separate can of worms with respect to Qt.

- Licensing: For the initial fundraiser the plan was to release binaries of the GUI for a fee with the full source being released at a later date. Doing this was simplified by using custom tools which were almost all under the MIT license.

- Layout: QML tries to specify widget properties in terms of fixed sizes of the leaf nodes and then using bottom-up algorithms to place the parent widgets. The initial system in zest was to use a constraint layout framework to specify all system constraints without hard coding pixel sizes for any widget (other than the top level window as specified by the window manager). Incorporating this different approach did not mesh cleanly with QML's existing abstraction

- Remote Data: QML works great if you're going to hook onto an app driven by Qt classes and the associated signal-slot system. Unfortunately Qt's approach does not work in a 'realtime-safe' manner. That is to say that if it was deeply integrated it could cause faults where the audio processing would be delayed generating audio glitches due to the timing being incorrect. When working with the OSC interface that existed on the target app (ZynAddSubFX), specifying parameter bindings felt rather unnatural and once again, didn't mesh with QML's expectation of how events should flow.

- Javascript: Personally I'm not a fan of javascript, so developing in a different scripting language made the process faster in Ruby.

- QML's C++ API: At the time I started work prototyping the GUI I needed to occasionally work with QML classes from a C++ perspective and sometimes extend/create new classes there. The C++ API was under-documented and the API felt clumsy. This is something that the Qt documentors have likely resolved at this point, but at the time it was a limitation.

- QML's mental model: I have worked with Qt in the past, though not all that extensively. Qt and QML work very well if you stay within their own realm, but once you start going against the grain, you need to understand the internals fairly well. I found it difficult to learn about the internals and as such for a long development process which needed to have fast iterations, it seemed like a better fit to work with code that I was more familiar with even at the cost of needing to write it myself. In the end I think this was mostly justified by the relative small size of the 'framework' vs the size of the widget code within the overall Zyn-Fusion GUI written using mruby-zest.

I know there were a few other issues at the time that I decided it would be more productive to build a framework along the way, though those are the items that come to mind first.
Intel CEO Brian Krzanich Resigns
Chime In: Should Microsoft Buy Spotify?
> it does mean you can put up a fence or a pole barn on your own land

Fences don't require planning permission nor do temporary structures [0].

If you build a house without seeking permission though they will make you tear it down again.

[0] http://www.dublincity.ie/main-menu-services-planning/frequen...
A freshly-funded battery startup aims to ease the cobalt crunch
Like https://hjson.org/?
I've found that "work" in this case is still even a stretch. With it being the only application that I have open, with one tab on Firefox, these sites (but especially Inbox) cause my zBook to sound like it's mining Bitcoin or running SETI analysis.
This actually happens every day.

If my company decided to start paying me minimum wage, I'd leave.

If my salary stayed the same and another company would pay me slightly more I'd stay because I like the work, location, people, etc.

If another company (credibly) offered me a million dollars a month, I'd leave and go work for them.
I want to see something like Flow integrated into the js specs. Types can help optimization just as they can help correctness!
> But the compiler can't break the code by deleting a perfectly conforming null check on the theory that a previous dereference means that the pointer is not null.

Why is this different from letting the compiler optimize out the second check here?

int foo(unsigned int i) {
if (i < 5)
return this();
if (i < 4)
return that();
return those();
}

The C standard knows that NULL is special, a marker value for an invalid pointer. (The implementation does not have to translate it as the pointer with numeric value zero; the abstract machine just needs some value.) Absent an Optional/Maybe/etc. type, C needs some invalid pointer.

What about the following—are you okay with compilers optimizing it?

struct pointer {
int *value;
char valid;
}

void *deref(struct pointer p) {
if (!p.valid)
abort();
return *p.value;
}

void stuff(struct pointer p) {
int n = deref(p);
if (!p.valid) {
fprintf(stderr, "Hey, that pointer wasn't valid!\n");
return;
...
}

No NULLs involved.

> The original Bourne shell used signal to catch memory faults so it could operate dynamic paging! If your OS/implementation permits, C is supposed to allow you do do things like that.

I'd believe that (especially given the state of optimizers in Bourne's era) C does allow you to do things like this. I'd also believe that with sufficient -fno-unwanted-cleverness flags. C is the best way to do things like this.

But asking C to be designed to support things like this is quite a change. I get that this is exactly the change you're pushing for, but, the only way it can work is if the C abstract machine becomes hardware-dependent enough that you can embed platform assumptions in your C—and so C is no longer a "portable assembler."

There's precedent for this. One that comes to mind is the ability to cast a data pointer to a function pointer (which doesn't have to be valid; the abstract machine doesn't know if your physical machine uses different address spaces and different representations for the two, and even the brand new architecture WebAssembly uses different address spaces, but compatible representations). dlsym() implicitly requires this, and POSIX.1-2013 finally made an explicit requirement that a C implementation conforming to POSIX must define it in a meaningful way. http://pubs.opengroup.org/onlinepubs/9699919799/functions/dl...

I would certainly support a variant of C that did things like assume a flat address space, validity of all pointer values besides NULL (and an expectation that signals can catch and fix invalid pointer dereferences), char = unsigned char, 8-bit bytes, two's complement arithmetic, etc. It would not support every architecture C supports. It wouldn't be a good fit as a C standard, but as a variant for people who are happy to never target segmented real-mode x86 or the PDP-11, it seems pretty great.
Go get some Chromium Stable installation for Windows. Choose wisely, though [0].

[0]https://commondatastorage.googleapis.com/chromium-browser-sn...
I am reminded of the “brick in the face” argument against solopsism.

Tell me whack more about your whack frame of reference...

I see postmodernism and extreme relativism as a sort of awesome stage of society where we get to make up reality because we are freed from mundane concerns like knowing where our water comes from or where our sh%t gets flushed to. It is quite wonderful that many many people get the luxury of never even being curious about these things.

Meanwhile, the engineers, doctors, carers, labourers (I am missing a lot out here) who ultimately keep people alive tend to have quite definite opinions about critical aspects of reality.

Granted these are still not objective truths because all experience is subjective. All I can say is that a sophist who believes that rent is not an objective truth is nonetheless likely to find themselves (subjectively) on the streets if they don’t pay it.
Instagram expands into long videos, will compete with YouTube
Oh I see. Thanks.
Show HN: Turn a .NET core website into a desktop app using webview (no electron)
Koko the Gorilla Dies; Redrew the Lines of Animal-Human Communication
This was such a nasty bug for Edge. Visiting any page means I could now read your private Messenger messages, or your email. You could even automate resetting the password to an account, and then automatically exfiltrating the URL!
Awesome links, thanks for sharing! I won’t call the technical problem “solved”, but the larger issue is the politics that people think recyclables have suffient value to self-sustain recycling operations, and that isn’t the case. You’re going to have to pay for both your trash and recyclables to be disposed of, you’ll just pay less for the recyclables.
> Hmmm... What is an enterprise project management office?

It's the office responsible for processing TPS reports.
You said it better than I could have, thanks.
Samsung Announces 8TB NF1 SSD
I went to a talk by someone who had switched fields to one that involved analyzing portions of cells. After showing a series of slides with diverse, confusing blobs and lines, he said "when I first started this work I would look at a section and not see anything at all. But I have improved to the point that now I can look at a section and see anything I want to".
At the very least you can avoid joining the cult, and if enough people understand what's happening, they can do something about it.
Can FinTech eradicate the ongoing cycle of debt for our children?
MysteryBot Android Malware Fuses Keylogger, Ransomware and Banking Trojan
Just like suggesting `chmod 777` to have your php app work once.

Just don't recommend stupid things: make them right once and the stupid thing won't ever have to go through your mind.
Intel CEO to step down
I would be more concerned if they really DID have 2.5 billion of reserves. What would be the source of that money, drug cartels?

I'd love to find out who is propping up Tether!
> Even an average idiot must now realize, that GM food may be riskier than you think.

Yes and no. It may lead to dangerous expressions, but plain chemical testing and analysis prior to commercial release should ensure nothing toxic makes it into people's food.

If your apples suddenly start producing magnitudes more cyanide after modifying something, just don't sell them.
MySQL on Docker: Running a MariaDB Galera Cluster Without Orchestration Tools
Skill and talent are at odds with process heaviness. Oftentimes I think it's a "pick one" type of scenario. Do you want critical thinkers who just "get it" when it comes to complex technical matters? Or do you want process rigor?

Someone will say "false dichotomy", to which I say, "maybe".
That's cool. I'll have to try it out.
I don't think copyright as a principle is obsolete. It generates useful economic incentives to create and distribute works, which I consider to be good things, and I have yet to encounter any alternative economic model that looks anything like as successful at achieving those things.

I do think the current implementation of copyright in law is flawed in a lot of places. This is bad because it potentially imposes excessive restrictions on ordinary people and sometimes limits how much we can take advantage of the benefits of new technologies. It is also bad because it brings the law into disrepute, and combined with the practical difficulty of enforcement particularly against small-scale infringement that is only a civil matter, it results in a general sense among much of the public that infringing copyright is a victimless crime and socially acceptable.
>Nvidia have no direct competition in the GPU space anymore

At what level? AMD does the same thing in GPU they do in CPU: They might not hold the overall performance crown, but their value is often better at several tiers than their competition. I really want an RX 580.
Great idea, similar to the feynman technique.
> In principle, First Order Logic and equivalent languages can represent anything that can be represented in natural language.

I doubt this is the case since natural language makes a lot of use of metaphors, and our concepts are probably mostly based on the types of bodies we have and how we interact with the world. See embodied cognition and writings of Lakoff and Mark Johnson.
Simplicity is eloquence.

Boil it down to simple language. Emulating other authors will not help you discover your own voice.
Have you used RN?
> (voters wanted Brexit)

.. according to Dominic Cummings, this was because they were promised a huge amount of money for the NHS. This has been re-announced by Theresa May with no real explanation of where it would come from.

And now ... what exactly is happening? There's still a horrifying lack of confirmed detail.

> Voters wanted stricter immigration ... They are getting it.

Are they? Through which policy changes?
Discussed previously:

https://news.ycombinator.com/item?id=17354442
I don't have a problem using good WASM libraries that were written in PHP. To target WASM, a PHP compiler would have to respect the WASM semantics which is what I will consume.
They have the exact same pretenses in the east.
If an algorithm matches or models an inherently unfair real world situation, it doesn't make the algorithm fair.