skysight-inc/HackerNews huggingface dataset:
You can write large C++ programs that are quite safe, using only higher level abstractions (no pointers or explicit memory management). This doesn't require any fancy new C++; code written to C++98 (first ISO C++ standard) will do it just fine.

For exmaple, in C++, we can put two strings together to make a new string without worrying about whether we have a buffer large enough to hold the result, and whether null termination is ensured and so on, or whether or not the original source strings are damaged in the process (they are not), or whether that memory will disappear when we return to the caller. It's just str1 + str2.

I'm no C++ advocate, bu the fact is C++ code can look like a scripting language and be safe like one. C++ also has tools for isolating and managing the C-like semantics that a C++ program might contain.

So even to clump together C and C++ as "C/C++" is not well considered. There isn't a "C/C++" language. If you post a message about C/C++ in the comp.lang.c newsgroup, put on your flame-proof asbestos underwear first.
Only two pages? Honestly, that's pretty good. People who haven't done 3d graphics programming seriously underestimate the number of stages in even a basic rendering pipeline.
Yes, but that has an unspoken assumption that recent habits are more additive than longer term ones

This is too fine a point. A user will "select" a default choice by doing nothing, and it's in YT's interests to provide default choices that reward the company. This has been researched for decades and is supported by, among other things: https://en.wikipedia.org/wiki/Status_quo_bias
It's the laptop manufacturers that are to blame. Check out the specs on this i3 with ecc support. http://ark.intel.com/products/90734/Intel-Core-i3-6100T-Proc...

Granted, that's still not a laptop CPU. But it's not a Xeon either.
The MEGA65 is promising a 1080p output but will cost more (and is still months/years away). I don't know that it's really all that important to me, as long as I can use modern monitors, which this seems to offer.

I mean, right now, to get my C64 onto a modern display, I use a TV interface that has composite inputs (this has the nice side effect of allowing me to put it into a PIP on my laptop display). I also have a tiny composite monitor for when I don't want that hassle. So, really, anything that gives me an HDMI output is gonna be awesome.

And, I like their idea of line doubling at lower saturation to give a CRT effect. That's a fun idea.

Also, I agree on the price. I'd love for it to be cheap, but what's an extra fifty bucks between friends? There certainly is an upper bound, but it's not $200.
Mutiny is likely. American officers in particular will tend not to follow orders to commit an obvious war crime. This isn't an extralegal check , it's very much legal.

But the system will fail if "the whole chain is stupid." This is why it's so dangerous to have a President obsessed with loyalty.
bcachefs really does seem as if it will be our holy grail, we have very similar needs.

They have a patreon if you wish to contribute that way.
This is good news! If successful, it means that a new generation will learn of the Seldonian ethical imperative -- to monitor to foresee looming societal collapse into a new "Dark Age", and to then act so as to avert that collapse, or, if too late to avert it entirely, to act so as to reduce both the severity and the duration of that collapse. A group which is acting to implement this imperative in the real world is Foundation Encyclopedia Dialectica [F.E.D.], whose works are made available via www.dialectics.org .
Remember the employee you guys had that said "Comment timelines are neat but this is not enough to establish a working business"?

Find him/her - rehire him/her, and fire all of the fucking idiots that ignored them. They should have sold the idea to Google - at least then we might all benefit from it.

Instead, SoundCloud, and comment timelines, will be a neat idea strangled by poor leadership.
New MIT Master's Program Doesn't Require a College or High School Degree
TruValue Labs | San Francisco | Onsite | Will transfer H1B's | Awesome Benefits | Stock Options | About:

At TruValue Labs™, we harness the power of artificial intelligence to help the investment industry understand how sustainable companies are. Investors are increasingly demanding that their dollars be invested in companies that make the world better – and whose prospects are stronger because they take positive action on environmental, social, and governance, or ESG, issues. Our technology provides the only ESG data solution that includes timely data, information that’s not reported by companies themselves, and covers both negative and positive events.

Openings and to apply:
Backend Developer: https://truvalue-labs.breezy.hr/p/82f9e8e5dbe0

Lead Product Designer: https://truvalue-labs.breezy.hr/p/0f12f15d1c83
So IE should say "sorry I suck, switch to another browser?" Doesn't make any sense...

I mean sites will already tell users they don't support older browsers.
Just like HPKP...
Point two is already true in developing countries.
I have been paid to write an algorithm like this. It matched you to relevant content, but then a manually configured weighting table would skew results to more popular sources. It went as far as taking into account the number of leads we had sent each partner that month as a percentage of their quota
FYI, there's another one called Tab Tree that works reasonably similarly. The original TST seemed not to be an option some time ago, but the alternative seems OK.
If you read the parent comment, you'll find the question "how many people are really doing pure-javascript apps?"
What is a "comment timeline"?
I went the other way, Scala to Kotlin[1], and that's kind of the way I look at it. Scala's a really, really neat experimental language with some awesome ideas, but the amount of work it so frequently entails is disheartening to deal with and the developer experience with Kotlin is so, so much better in both tooling and expectations.

If your stuff is awesome, you don't really have to justify it like this.

[1] - though these days I mostly just write Node with ES6 or TypeScript, because consistency of ecosystem between browser, mobile with React Native, and the backend is just way easier.
Why I Joined the Blockchain Revolution
hahah same!

Then you can use these instructions then:
https://github.com/trailofbits/algo#ubuntu-server-1604-examp...
I think Google should allow neutral public access to their 100,000 mile private fiber optic network.

That would really send a statement that they were serious about network neutrality.
Nevada at 39, Delaware at 40, and Wyoming at 27 feels curious.
Microsoft new app describes the world to the low vision community
Umm... they are not Uber employees. They're Uber contractors. I'm not saying that Uber is a saintly company with only good intentions. I'm saying that it's misguided and silly to blame Uber for the fact that this person has to live in his car. Without Uber, he would be getting no income whatsoever and would be living in his car anyways. At the very least, he could drive to another city while Ubering and picking up fares and improve his situation. Blaming Uber is not only wrong but doesn't actually fix his situation at all.
This article is about how while Facebook's intention is to increase engagement, it backfires in this specific case because the algorithm takes his mother's Like and interprets that as "this post will get the most engagement from family" when actually it was more targeted to outsiders.
I already contribute and help out with testing and the occasional docs on IRC :)
Check the "Relevant video" on the blue box, down-right corner.
Thanks, I really appreciate this! :)
Sweet. Looks like it should work then. The only problem is that private npm repos use a @namespace/package format. I don't think :@namespace/package would be valid. Looks like you support strings for requires. Do you also support strings for :npm-deps?
Helping a for-profit company avoid paying licensing fees hardly qualifies as pro bono work.
Do they prescribe pain killers, anti-depressants, or similar drugs with huge potentially life-changing side affects after only a short appointment? Do second and third opinions from other physicians frequently go against the advice of your first doctor?
A simple solution to the net neutrality issues
This may sound crazy and silly, but why don't the companies that support net neutrality switch the opposing politicians to a new pricing tier to demonstrate why net neutrality is important?

Make Trump pay $5M per tweet, for instance.
Yeah, but you also don't want to allocate too many of these and smash the stack.
Even if your claim is correct, the existence of some programs that cannot be expressed with memory-safe zero overhead abstractions still doesn't entail your original claim. As you just said, you can use Rust's unsafe escape hatch to preserve your desired performance where it's critical and you haven't lost anything from C/C++, but you can still enjoy the safety benefits where unsafety is not needed.

And BDDs expose a safe API behind which you can hide the unsafety, so only a fragment of your system would dependent on unsafe Rust.

So we come full circle to your claim that Rust is not "at all attractive", despite being able to express programs more compactly, more elegantly, and more safely than in C/C++, without losing the performance. So I still don't see the case for this claim.

> Outside functional languages, lack of zero-cost abstractions is not a particularly common issue.

Pretty much only Ada and C++ can provide the zero cost abstractions, and they do so only with heavy syntactic and semantic costs (templates for C++, packages and wordy instantiation for Ada). The Rust language does this as part of polymorphic elaboration, which is a natural and compositional language feature, not some ad-hoc secondary language or restricted module system.

I'm frankly finding it hard to believe you think there are serious alternatives. Certainly MLTon if you want the same specialization done, but you then have the unavoidable GC cost, so you're still back to non-zero runtime overhead.
Being submerged wasn't bad, it was the water that flowed into my nose near the end of the scan that was bad. It was in no way as bad as waterboarding(especially since I was able to immediately get out), but enough to throw me into a bit of a coughing fit.
But bitcoin could be sustained on a fraction of that much energy. There is no benefit to mining beyond the point that prevents 51% attacks. After that it's all tragedy of the commons waste.
>"The only figure of merit in a PV system is cost per kilowatt-hour installed".

This doesn't make intuitive sense to me. If you could pay $50 for a bucket of goop you can slather on your roof that would capture 1% of the incident light energy hitting it forever, would everyone do so?

by your standard "hell yeah" as that means the equivalent of $2.5k per roof (I multiplied the $50 for 1% by 50 to conpare apples to apples) to capture 50% of the energy which is far better $ per KWh than offered by anyone else!

The issue is that for many people they would prefer to capture more than 1% and they are willing to pay more per kwh in exchange for getting more kilowatt hrs. So they would prefer to pay a large premium, thereby showing that it really doesn't just come down to cost per KW-hr installed.

there are other factors.
I said this in another comment but it seems like these cases are assuming a long time passing between the SAFE and the priced round. Not sure if DelaneyM and pmcaffey are referring to that.

If SAFE is a way to start what would be a priced round (a few months), then your numbers would tell a different story. You getting to invest $1M and $10M cap, and then the company raising at $20M valuation later, means that you got an unfairly low priced deal (assuming company's valuation wouldn't naturally double in those couple of months).

In short timeframes (SAFE -> Priced rounds), its hard to imagine something other than discounts being fairer to all parties concerned.

In longer timeframes where the next priced round is a Series A, an year later, your point stands and is well taken.
The article said it's largely run on hydroelectric power, which would seem to mean it's not hurting the environment that much.
iCloud does this and, in my experience, it's been pretty good about it. I have yet to run into a file that I needed that wasn't already downloaded locally. Since it uses files based on timestamps, it does it reliably. The only thing it's missing is the ability to lock a file so that it's always available, regardless of last access time/date.
Can anyone explain why this crash editors?
I was coding and something happened with atom and I was unable to reopen my project without atom crashing. I deleted my code in notepad and extract this which is causing crashes in Microsoft Word and extreme lag in notepad++ and Atom. Anyone know why this is the case?

PS: This file is only 9mb so it shouldn't be too big for anything to view it

Thanks
https://www.dropbox.com/s/ru1qlmi92ky4y53/weirdFile.js?dl=0
What Wingate Wrought (2012)
I can't help but feel badly for SoundCloud and their CEO. Over the years I've seen dozens of companies get to a point where its clear that the future is not what they had envisioned. It's that moment of facing reality of "If we were likely to win, we would have by now, but we didn't so really what is next for us?" It is that point where the investors have seen perhaps three or four internal projects that haven't pushed them into that accelerating growth point, and there really isn't enough money to go further. So the investors have said to themselves, "I'm thinking this one isn't a winner." Let's focus on some of the more promising companies in our portfolio.

The CEO is massively constrained in what they can say when a company reaches this point, so they all say the same thing, "We've got great things happening, really hated to have to let go some great people, we're aligning the company on this awesome plan to take us to the next level."

The alternative is saying "Nothing we've been able to think of to date has created a viable business. We're now at the point that we are losing money so fast that even our most optimistic ideas about what might work were beyond the point where we cross $0 and go negative. We're laying off a bunch of staff which will slow are burn rate enough to pursue both a "Hail Mary"[1] strategy and look for a way to liquidate the company and claim victory anyway."

Hedge funds and other private equity firms will come out and review what things they have and how they might be re-packaged or sold, internal investors will squabble over terms and conditions of bridge (aka Debt) financing to let them live long enough to get there, management will be constrained by this effort to focus mostly on selling the company and less on actually making it a viable proposition. It sets the clock, and when the debt financing runs out, everyone goes home sad.

But nobody ever says that. They say "We've got this new direction we are super excited about."

[1] "Hail Mary", made popular by quarter back Roger Staubach (https://en.wikipedia.org/wiki/Hail_Mary_pass) is a plan that conceptually can be successful but is probabilistically unlikely to succeed.
I don't even own a device that can read a DVD anymore but even if I did that's a 20+ year old technology that's only readable on Linux because someone broke the encryption specifically designed to disallow it. Hardly an example of how content providers support reasonable options for all users. Blu-ray is worse. I've never owned a device capable of reading it and the playback restrictions are even harsher.
strings in `:npm-deps` should just work. I'm more concerned about the npm syntax for `@namespace/package@version` which I'm not sure is valid. If it doesn't work though, please open a ticket so we can fix it!
Accessibility. Should be hard or impossible to build an inaccessible website. Tooling needs to be vastly improved.
How did that even happen? Had you not saved the file recently? iCloud chooses what to delete based on size and last access. If you were working on the file and had saved it at least once, it would be impossible for it to delete it.
win what?
RHEL has a repository run by the ZFS on Linux team, and if you know ZFS it's not much harder than partitioning your disks. The big issue is a lack of documentation on using GRUB with ZFS. It's seemingly nonexistent, leading most guides to say /boot needs a separate partition.
The submitted article just quotes the above. Why not make the main link https://markvis-editor.js.org/ ?
One thing I really like about Clojure is how the language has basically stayed the same, but I can use it on the heavy server-side stuffs like working with Hadoop, Spark, ElasticSearch to the front-end stuff like React, React Native, to CLR and now into nodejs, while staying sane [1] in the process. It feels like comparing a nice tropical island paradise to a crowded, hectic, mutating market, where everyone is competing for your attention and selling their newest wares.

[1] https://hackernoon.com/how-it-feels-to-learn-javascript-in-2...
It doesn't help to think of CO2 pointlessly added either since I don't think mining is pointless. Now if they kept their existing setup but tweaked it so they still do all the computation but never submit any successful blocks, or just kept buying hardware and setting it on fire, then I guess I'd agree that seems pointless and wasteful (even if inconsequential compared to the giant ball of fire that's currently severely underutilized), but only because it's entirely and obviously unprofitable. Since "waste" by other metrics is so subjective I try to only consider the best proxy I can think of, which is cost and benefit figures. I don't put efficient LEDs in my house because I buy into the environmentalist argument of trying to live while using less energy personally, or live while "wasting" as little as I can, but because it saves me a significant amount of money. Similarly I don't stress out about "waste" if I go to sleep but forgot to turn some lights off because although I still have to pay for it, it's not very much. Even when the cost is high, like buying a lemon car, I don't feel bad about waste having to get rid of it and get a different one but about the extra cost.

The only way to affect miners is probably with economic consequences, rather than environmentalist philosophy. Maybe less CO2 would be added if the mining costs were higher, maybe not, and in any case I still have no idea how to price in the rise in CO2 due to a ton of SHA hardware cranking away, independent of whether it's powered by solar panels or water or coal. You'd have to have some sort of sensor on each unit (and the units involved in its manufacture -- put one over my mouth while you're at it) to capture its CO2 output at each moment of time (since it might not always be on due to repairs or whatever), and then you'd have to price the cost of each bit of output somehow, and who should pay it at what times.
Agreed, but to those 4 things I'd add DANE TLSA (RFC 6698) and Certification Authority Authorization (CAA) (RFC 6844) as further lines of defence against rogue CAs.
The bridge loan in March might have helped (see https://www.crunchbase.com/organization/soundcloud#/entity)
Scott Young self studied a 4 year MIT course in 1 year, although not to such a high level as you discussed: https://www.scotthyoung.com/blog/myprojects/mit-challenge-2/
https://www.ratemds.com/
> Ironically, I actually know a radical anti-ageism activist who thinks 5 year olds (and 0 year olds for that matter) should have all the same legal rights as adults.

I'd be really curious to know that activist's views on labor, aviation, combat, pornography, driving, and marriage--as they relate to a 5-year-old. I suppose some of those categories can be answered with skill testing or whatnot, but others clearly cannot.
I realize there isn't an extreme level of rigor here, but it gets tiresome reading HN comments where it's just a series of increasingly extravagant hoops for the original article to jump through before the commenter is willing to accept that the findings might be valid and give any consideration to the article's implications.
Thanks for the info! I'm no Vulkan expert. I'm coming from OpenGL, hoping that Vulkan will make things better eg at allowing the app to manage GPU memory explicitly to suit the application use-case. Agreed, reliable was the wrong word. Depending on the use-case, the ability for a program to tune its memory usage to effect performance in some beneficial way can mean the difference between a program that is usable or not - for an application trying to extract max perf. It is my understanding that Vulkan will help with this. Can you confirm?
There are a few Bitcoin "ATM"'s out there that dispense cash for BTC or let you buy BTC for cash. The latest one I read about took your picture and required an ID, but some out there probably don't, and a motivated individual could steal an ID and just not show the camera their face.
This is ridiculous. You are a complete moron who hates the open web. Shut up.
How seeing the wealthy as ordinary people helped us provide them a basic need
I wish I could somehow archive some of their content. They have a serious amount of audio data and are the only source I know with annotations attached to specific seconds within a track. I've been thinking about building a music-generating neural network–something that may work especially well for electronic (and often instrumental) music that soundcloud has a lot of.

Unfortunately, they have limited their API access to approved developers, and I haven't even gotten a response after applying two months or so ago....
I wonder what would be the best way to deduce where these doctors and veterinarians go to when they have an emergency. What podiatrist, omptomologist, <insert specialty here>, do they themselves go to?
And that algorithm works.

I once bought an obscure heli-coil. It knew to recommend the right bushings, and right pitched screws. It knew I would problally need the extra stuff. The price was low enough to chance it.

Traditional retail needs to up their game.

That said, I refuse to pay for Prime. Why--I just bought too much unneeded stuff.

I'm currently trying to only spend on what I really need. Including spending a lot to impress pretty women. I figured if they are impressed with seemingly fancy chit; I don't need it. Or, we'll spend your money? I'm quite the guy? I wasen't born this way, just evolved? And every man knows when to pull out the equal card? At an overpriced dinner? Never again. How did I get on this tangent?
Synthesizing Obama: Learning Lip Sync from Audio
Decentralization.
Lets exploit the poor. Awesome.
Regarding my initial outburst, I'd like to clarify that it was specifically against a comment claiming that rewriting C code in ("modern" or not, whatever) C++ is the safest choice if someone is worried about security of a C codebase. I didn't actually even say a word about Rust. The C vs. C++ claim there was already enough to make me want to cry loud.
I didn't know apple made bluetooth chips?

W1

https://9to5mac.com/guides/w1/
The garbage I was referring to was in the comments "below". Namely: "Some people may reasonably, with some extreme care and diligence, maybe try to claim they can write safe and UB-free C code. If stars align properly" and "writing C++ code longer than a few lines without UB is humanly impossible", not the article, I quoted the latter shorter one in my original message.

I consider Java browser applets unsafe trash and I'd never run one I don't absolutely trust. This person has similar (or even worse) opinion of C and C++ languages but runs tons of software in them with seemingly no problems since his idiotic comment made it in here and arrived to me intact despite all the C and C++ software on the way from him to HN to me.
Start cracking down on bloated and unnecessary JS. Loading more than 1 script? More than X KBs of total JS? More than Y secs CPU time? "This page is slowing down your PC".