skysight-inc/HackerNews huggingface dataset:
This is one of the reasons why I bought a generic MTK phone: they come with an unlocked bootloader (and at least several years ago when I did this, it seemed to be the case that they even couldn't be locked because the hardware had no such feature), and the first thing I do is a full flash dump for backup purposes. Then I root it, delete the stuff I don't need (surprisingly little comes with these generic phones; they usually don't come with much more than the stock Android install), and customise it to my needs. The fact that Android is Java-based and quite modular helps a lot with the modding too.

(Some of these phones do come with ad/spy/malware, but since they're easily rootable, it's not hard to remove. One could say the relative lack of security means the user is on an equal footing with the crapware authors and the manufacturer, whereas locked-down devices from companies like Samsung trade off user-control for company-control.)
When I started using Homebrew, I found those terms super intimidating and overly quirky but that went away quickly!

Keg: a dedicated subdirectory for each installed package.

Cellar: this is where the kegs are. Usually `/usr/local/Cellar`.

Formula: a file that tells Homebrew how to build and install a specific CLI package. (Similar to a portfile, I guess?)

Tap: repository of formulae, e. g. `homebrew-core` (the repository where Homebrew keeps all the core formulae)

Bottle: pre-built binary package. Homebrew usually builds and hosts them for you. At install time, Homebrew downloads and uses them whenever it can so you won’t need to wait through unnecessary source builds.

Cask: Represents a package that can’t be built from source. In practice, a Cask usually means something that ends with `.app`. Technically, Homebrew Cask is very much a separate package manager in itself. (You can tell by looking at the individual `brew cask` commands.) That’s because it caters to somewhat different use cases, and because it used to be a separate project before it went on to merge with Homebrew.

Caskroom: directory hierarchy for Cask-related bookkeeping. Caskroom is also the name of the former organization in charge of Casks; but that’s history now given all things Cask have officially become part of Homebrew.

It’s cool that MacPorts works well for you but hey, maybe try Homebrew some time to find out how you like it? (Disclosure: am one of the core maintainers.)
How smartphones are able to run neural networks
>meat is just a nice, tasty hunk of protein that comes wrapped in plastic and styrofoam from the grocery storeand is in no way related to that adorable cow video I saw on Instagram

Honest question. Are people this ignorant? I grew up around ranches so the source of meat is blindingly obvious to me. Are people really seeing beef in the grocery store as magic that comes from nowhere?
I'm a network engineer, and I've done C++ for over a decade now. One of the nice things about Rust is that they decided to go with async over fibers, which is in line with how most high performance C++ is written. The Rust team also isn't rushing Future out the door, so it's coming along much nicer than the C++ Future, which is usually replaced because it's not monadic.

Rust is great, and I highly recommend learning Rust if you want to become a better C++ developer. C++ introduces a lot of unnecessary headaches Rust completely solves. Rust is worth the switch if only because reading error messages from expanded templates is horrible compared to type system that actually understands type parameters.

I'm really bullish on Rust becoming even more mainstream, to the point anyone can pick it up and use it in their business without a second thought by 2020.
yea because Hayek wanted to create an actual viable market of competitive currencies while the vast majority of cryptocurrencies today are pump n dump schemes with little to no economic thought put into them and no long term business model. why would u want to peg and limit the value of your currency when there’s a chance you can get T-Pain to blow it up sky high on hype, you sell off and make your profit that way instead of the long term profitable way of loaning money and arbitraging interest rates the way banks do now. Hayek’s thesis is still very relevant and becoming moreso in my opinion as central banks further distort the markets through unprecedented (pre 2008) actions such as direct liquidity injections through trillions in bond purchases
Ask HN: Domain stolen 20 years ago
Around 20 years ago I worked on a project with a partner and came up with a name and bought the domain name. The domain was transferred from my account by the partner without my knowledge. I didn't do anything about it at the time as I was no longer involved with the project. The company became a success and was recently sold. Is it moral or even legal for me to pursue anything from the sale?
LivePeer uses the Truebit protocol for this.

I'm not familiar with the nitty-gritty, but video transcoding seems to me to be something that can be verified much, much more cheaply than performed.

FWIW, I think they're already launched, so do feel free to break it.
Top Gear is a comedy show though? We're talking about the same show that featured taking a Reliant Robin needlessly fast around corners and getting pushed upright by celebrities, right?
Looking at ToC, he explains all linear algebra topics that might trip a CS major reading DL papers.

In addition, ~40% of the book is devoted to basic probability and statistics, optimization, and neural networks.
Every string is checked. But UTF8 is a multi-byte encoding, and slicing works per bytes, so you if you slice in the middle of a multi-byte character, you may get nonsense. The error happens because of this checking, not in spite of it.

String always assumes full UTF-8. You could make an AsciiString type if you wanted, but it's not provided by the standard library.
I guess if you don't know rust you might not? But one of the first things you learn about rust is the `mut` keyword.
Do MacBooks that shipped with an SSD not have the accelerometer?
Hmm. You first, let’s see how it goes.
Good point. Particularly with text-to-speech (and vice versa!) also being available now.

I'm still sorry for all those kids having to spend years of their childhood on characters, but maybe one can see it as a character forming exercise.
The Achievers Mindset
I would like a US government statuspage.
Do the rooflines of these chips show that pattern? Intel has a big vector unit with some seriously useful instructions in it, pushing the arithmetic speed up.
I think they're rather similar in goals. I found this overview informative: https://youtu.be/RoXT_Rkg8LA
Show HN: Evolutionary image generation in C
Lecture Notes on Difference Equations [pdf]
Yes, we have full support for MUSL. It's a

$ rustup target add x86_64-unknown-linux-musl
$ cargo build --target x86_64-unknown-linux-musl

away.
Well, that's why I linked to PCPartPicker, to show that RTX 2080 models at MSRP do exist. They may have been scarce at launch, but they can be purchased today less than 4 months later.

Since AMD will sell the Radeon VII directly at first, I think early adopters will probably face limited quantities rather than price markups (not counting unauthorized resellers). After that, we'll have to see how the situation with retailers and later on non-reference models shakes out.
> Key discovery and management are complex tasks

SMIME simply included the public key with every message. Solving initial discovery could be as simple as using a well known address, e.g.: www.emailprovider.com/.well_known/kalium.pub. As for key management Apple does a good job managing this (e.g. my understanding is that Apple Messages are E2E using keys yet I've never managed on of these keys), other software vendors would need to step up.

So, it's not a user problem, but an incentives problem. Companies aren't incentivized to solve this problem. OSS could, but the network effects mean that any solution is dead unless you can get the likes of gmail on board.
Yes, in fact, it's always a pattern. Even let x = 5; is a pattern, just a very simple one!
This is great!

But on a side note, I can also waste more time on the Internets!
Coverity is really good. It is a pity some of its advances, effective in practice but not really "publishable", will forever remain as proprietary secret.

Source: I worked on static code analysis product and we extensively black-box tested Coverity.
It is a common pattern in Rust to use [] for things that cannot fail and will panic otherwise and a method for things that can fail and return Option or Result.

e.g. my_hashmap["foo"] will panic at runtime if the key "foo" is not present, or return the associated value if it is. But my_hashmap.get("foo") will return None if "foo" is not present and Some(value) if it is.
Coverity have one of the best static analyzers for C++ and CSharp. Not a surprise considering they have had* ex-Microsoft compiler engineers such as Eric Lippert working for them.

I understand from speaking to C++ engineers who have extensive experience in embedded / industrial applications that Coverity is used extensively there.

Personally I've never seen the need to apply it to CSharp projects because the language is naturally safer than C++ and you get a lot of "bang for the buck" by using the tools built into Visual Studio and from JetBrains.

* He works at Facebook now :facepalm:
> But what if I want to know why you're not using my product every moment of every day

Did you try asking me?

> and what I'd have to change to do that?

Again, did you try asking me?

> If you're satisfied with my product, but you only buy it once a year, that's bad for me. If you're not very satisfied with my product, but you buy it 30 times a year, that's better.

If I'm satisfied with your product what makes you think I'd be more satisfied with it if I had to buy it multiple times per year?

> I'd rather have 30 sales than 1 sale, even if you badmouth my product and lose me 15 more sales down the line.

You assume every sale is the same price. If you sell your product to 30 people, are those 30 people generating the same amount of revenue as the 15 people could have if they were more satisfied with your product?

> TBH I may not give a crap how "happy" you are if you're still engaging.

That is, in a nutshell, exactly why I'm not satisfied with many online products and have actively disengaged from them. Your line of thinking leads down a road where the end user is nothing except a source of income to you. You've completely forgotten that you're supposed to provide a service for humans. It shows a complete lack of respect of users' intent and instead you wish to push users to generate more money for you potentially at the cost of the users themselves.
'eh sure. It's just the most obvious culprit when there are surely many causes. Regardless, I stick by my overall point. It's a temporary setback in an otherwise very strongly positive trend.

I'd bet money that US life expectancy in 2023 is hither than it was in 2018.
I've seen as good or better grocery or cheese shops in Chicago, but as much as I dislike SFBA for variuous reasons, there's no shortage of good (if usually vastly overpriced) restaurants.
I think Bay Area is pretty good for US, and as someone said, you get a lot of variety there, but US food is not real good on a world scale. Mostly because of a lack of indigenous cuisine style; almost everything in the US is imitative of some other ethnic cuisine, and the ingredients just ain't gonna match, even if they're comparable in quality (which is rare).

Many of the classic Bay Area foodie places were also super overrated; I always thought Chez Panisse was mediocre, and relatively unknown places nearby (La Limes) were actually better. There were a few real treasures though: I'll miss Aki-san at Sushi Sho.
> It's no good putting all your widgets in a box that's only just big enough to hold them.

One of my personal organizing rules is that if a box / container is over 80% full, it’s time to split it and get a second box.
I'm quite surprised they're not using websockets for streaming. Anyone know why?

EDIT: Better question: is anyone aware of a system like gRPC but built with bidirectional streaming for the browser from the beginning?
The local sewage systems can't deal with volumes this large. The sewage systems of the entire UK, population 66 million, deal with about 11 billion liters per day:

https://assets.publishing.service.gov.uk/government/uploads/...

Saudi Arabia, with a population of only 33 million, isn't going to have sewage systems sized to accommodate 31.5 billion liters of waste brine.
TIL! I'm still learning Rust so it's good to learn this now! Thanks!
Video of the penguin & the man: https://www.youtube.com/watch?v=oks2R4LqWtE
Sure thing! I Gatsby generates static HTML files from 1 or more data sources, which can be a filesystem or an API. When a Gatsby build runs, as long as it can access the API in question, then it can pull the content needed to generate a build. Once that build is completed, the resulting directory can essentially just be dragged and dropped (literally, in the case of Netlify) onto a hosting platform.

You can absolutely run all of these things locally and have no code running in production at all, if that's what you want to do!

The benefit of having your content API in production is that it can be accessed from anywhere, by anything - which opens up a lot more usecases.

Best way to get a handle on it all is to play with the starter repo, which should be fairly easy to get up and running: https://github.com/tryghost/gatsby-starter-ghost
>Accounting for context in NLP via probabilities of occurrence might be useful in better reproducing language, but we should be careful not to say that this is the essence of meaning and language.

Yes, and the article actually includes evidence in favor of this and against its own conclusion. It mentions that vector "cat" is closer to vector "dog" than vector "dog" is to vector "dogs," which makes sense if you interpret it as a measure of appearance in sentences but no sense at all if you force it into the mold of "the meaning of words."
Then you might be interested in the Vivo Nex Dual Display. It has a smaller screen at the back which means that there is not need for a front camera. It comes with neat little features such as the people whose picture is being taken being able to see themselves (and pose) while someone is taking their picture:

https://www.indiatoday.in/technology/features/story/vivo-nex...
it is just barely possible to significantly raise the cost of exploiting memory corruption vulnerabilities for projects implemented in unsafe languages.

If there is something positive walled gardens can bring to the table, it would be more of ecosystems where entire classes of exploits are completely mitigated. I think it's something that users and devs should be asking for. (We did it with USB plugs you don't have to flip over.)
So call it a copper mine instead of a salt flat?
they log everything. even their home solar panels send usage back to the mothership with no way to disable
Disabling system apps on Android doesn't just hide the icon, it stops the app from running (e.g., via intents or other means by which you can run an app without clicking on the icon.) It's in practical effect no different than deleting a non-system app, except that physically the app is still in immutable storage on the device and can be reenabled without being downloaded (barring any subsequent updates to the bundled system version, which would need to be downloaded.)
I understand you do not intend to be dismissive, however, not answering a simple yes or no question in your last two responses appears to be dismissive. I could not find any information about the security audits performed and a summary of their results, so I ask again; is there a summary of the security audits published publicly?

I have looked at the Homebrew docs page. There is a document linked that describes how bottles are built[1], but it's not clear who has access to it and what safeguards are in place to prevent a malicious maintainer from spreading malware through it (such as who reviews the commits) and it doesn't list the precautions taken by bintray to prevent and detect tampering with packages (and a user has to trust that they as in place, sufficient, and trust bintray to not tamper with them). Another page says that most formula pull requests need to be reviewer but does not go over what this entails[2].

This alarming text, however, does appear in your maintainer guidelines [3]:

>Verify the formula works if possible. If you can’t tell (e.g. if it’s a library) trust the original contributor, it worked for them, so chances are it is fine. If you aren’t an expert in the tool in question, you can’t really gauge if the formula installed the program correctly. _At some point an expert will come along, cry blue murder that it doesn’t work, and fix it. This is how open source works._ Ideally, request a test do block to test that functionality is consistently available.

Is there a set of maintainers who handle security sensitive formula, like openssl, gnupg, and tor?

[1] https://docs.brew.sh/Brew-Test-Bot

[2] https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request

[3] https://docs.brew.sh/Maintainer-Guidelines
It’s pretty great. The gem of govt food.
No need to feel dependent on Homebrew maintainers’ whims. You’re free to copy the formula, customize it the way you want, push it to your repo on GitHub, and `brew tap` it.

No need to use the Cask version if you don’t want to. If you feel stuck with the tap thing, you’re welcome to get in touch on discourse.brew.sh and we’re glad to help!
People want more things and they want to be better than other people. People want a higher quality of life. People want the social status and personal gratification that comes with performing higher status, skilled work well. It's not as easy as simple saying "you don't have to work anymore to have a decent quality of life". You would have to profoundly retool peoples' expectations and the way we view work as a society.

I know several people who could retire tomorrow and never work again but they keep working away anyway. If your premise is we would all like to stop working but can't because we aren't deploying tech correctly or don't have the money to do so, why do large numbers of these people exist?
Shoreline is also highly variable and localized, and effects to the shoreline have staggering effects even if the region affected is small. I'd recommend looking at mangrove forests, coral reefs, and the mouths of rivers.
It could slice on bytes and return a slice of bytes since the String type is a wrapper over Vec<u8>.
I hope so!

The industrial revolution was responsible for a greater increase in human wealth than almost any other even in human history. We are all tremendously better off getting to live after it instead of before it.
A common refrain, but not logically sound.
Ok, that was fun to play. Wow!
steveklabnik is leaving Mozilla so... https://words.steveklabnik.com/thank-u-next
Just hangout in the corner and cheese the red block AI like in the game.
Why not this?

fn main() {
let a = "ab早".as_bytes();
let a = &a[..3];
println!("Hello, world!");
}
They add copper as part of the purification process
Oh,no worries. I just think that SIM and handset manufacturer's are going the route of integrating NFC into handsets to support SIM stored payment credentials. I know for a fact it's a hot item in the FinTech industry.

Odds are, you could get a generic reader to get a chirp out of an RFID even without the PIN/PUK card that wouldn't be present in any other package.

IF I were an evil surveillance state taking an interest in mail borne SIM cards in ANY state (I mean think about this, if you could automate it, figuring out the networks of people who often send SIM's to each other in and of itself is a useful data point) I'd exploit using a small machine that can be innocuously placed on the sorting line to get that chirp.

Biggest problem I imagine would be possible tipping off through damage caused to EMF/RF sensitive packages, but I've not really looked up the math or engineering involved enough to make an educated guess.

Like I said. Interesting problem, and I seriously hope you're not right. That's levels of cyberpunk dystopia that just shouldn't be possible in anything remotely resembling a healthy society.
>for example the desertification in the west is due to cow and sheep ranching

No, the west was a desert long before ranching. I'm not sure what you meant here but I think you'll need to be a bit more specific or provide a reference to what you're talking about.
Had cheese for lunch. Doing my part. How about you?
Climate change is clearly one of the most pressing, IMO. And it relates to a number of the other pressing issues, including poverty, disease, hunger, access to fresh water, etc.

Anyway, for another take on the various "global issues" facing society, see:

http://www.un.org/en/sections/issues-depth/global-issues-ove...
With added copper
I dunno if that's a good analogy if the desire is to make it sound huge. If it's a small enough quantity that it can be shipped by tankers (even huge super tankers), that doesn't sound like a lot compared to the size of the ocean.
Wow the Rust hype is really an echo chamber right now. Seems very academic and nobody really seems to be using it in production..
> In the US for example, life expectancy has dropped three years running.

Largely due to obesity and related diseases. People are dying from overabundance. The percentage of people at "subsistence" levels is quite low.

> More and more people fall to a median income that doesn't even let them have kids and send them to college, and seems to be falling to where they can't even pay for minor emergencies. That's not improvement.

Is this at all true? Paying for your kids' college simply wasn't something most people did even 30 years ago, because most kids didn't go to college.
Preemption Is GC for Memory Reordering
Lol, “naked in front of the CPU”
Ostensibly, almost all taxis in America take cards also - the problem isn't a failure to install readers. (It is true that Uber introduces credit card support in countries where taxis commonly lack it, or where a tourist's plastic is incompatible with directly paying on local systems.)

In the US, though, the problem isn't a shortage of readers. It's partly that instead of drivers swiping cards, there are often car-installed readers in the passenger area, which are a pain to fix when drunk or angry riders break them. But it's largely a tax/overhead scheme, where drivers say their reader is broken so that they can get cash and underreport fares.

In many places they're required to inform passengers in advance when they can't take plastic, but that doesn't mean they actually do so - and the problem was even worse before ubiquitous cell phones enabled "I'll stay here and we'll call the cops". Even with most taxi companies launching their own ride-hail apps, a significant selling point of Uber is avoiding common issues like drivers demanding cash or inflating costs with longer routes.
The average person doesn't know how much a tanker holds.

They know Saudi Arabia = Oil.
// TODO: I could only find a red-tailed hawk sound. Fix before shipping.
We’ve been working on eliminating retail workers entirely. We’ve run into snags though; machines are poorly designed, difficult to modify, etc, which keeps humans working. One day it might seem like it happened overnight but we’ve been working on this for decades.

We’ve been working on self driving cars and drones for decades too. Maybe we’ll actually finish self driving cars. Maybe we won’t. If we do, that’s a lot of jobs lost.