skysight-inc/HackerNews huggingface dataset:
Naive question: Is it possible to build/run this source in a simulator, VM or something?

Is there any way, we can run windows 1.1, and get this up and running as of today?
>It's actually the ESP8266 chip inside that you're after.

No, it isn't, just like most arduino users aren't actually "after" the Atmega328p.
> getting things done quickly and easily

Sure, fast turnaround is good. Being able to maintain and refactor what you made a year later is even better. I'm currently refactoring an app that has ~30k sloc TypeScript, and doing it without types would be a lot worse.

However, my app is not built in Angular, so my experience here may be quite different.
Carrie Fisher's best interviews
The Fighter
7 Bad Habits You Need to Break to Make Life Easier
If you're brave it looks like you can replace it in only 5 steps. The caveat being that those 5 steps look very difficult, and in some cases require special tools.

https://www.ifixit.com/Teardown/Nexus+6P+Teardown/51660
This exact situations happens to me far too often, especially when working with developers who refuse to learn the other side of the stack. Had lots of "this doesn't work" conversations with frontend devs who refuse to get their arms dirty with the database, and same from backend to frontend as well.
So you think that, for instance, if the police are investigating you in connection with a bank robbery while you were in another country speaking at a conference, you should not tell them that?

What about if you are wanted for questioning about a murder which involved dragging the body a significant distance while you were in the hospital recovering from chemotherapy? Still don't talk to the cops?
mmap can't be exposed with a safe interface, in my understanding.
In before "where were the parents??"
I'll buy that. I'll also buy that the discipline of TS—like Java—is useful on large enterprise projects and/or on large teams, especially if the aim is to limit the amount of damage that can be done by ordinary J2EE H1Bs at Accenture.

But that's no reason to force its use as a precondition of using a notionally JS framework.
I got a CS masters and even though it was a worthwhile experience to me but I never expected to necessarily make more or be chosen over another candidate purely based on education (assuming all other things being equal.

I felt like my knowledge definitely cured during the process with graduate level data structures, architecture, operating systems and networking. The 2nd pass on some of these areas (despite getting mostly A's from a generally-considered challenging but now well known program). I took the opportunity to craft my program of study more than I would have been able to as an undergrad (both due to lack of knowledge and how undergraduates are given a lot less leeway) to include electronics and automation courses. It also gave me the opportunity to work with and mentor other students which was rewarding and I think has benefited me in and out of the workplace.

I wouldn't argue for doing it purely for career reasons and its not something to do just because you've been in school so long you don't know how to do anything else, but I found it worthwhile and you just need to consider what you want out of it.
Humans even more so.
Strange. In the UK at least this would have been covered under existing regulation:

http://www.which.co.uk/consumer-rights/advice/i-want-to-retu...
> quote somewhere

I've said this a lot. Here's one version of that talk, IIRC: https://vimeo.com/144809407
Brain Sodium Linked to Cognitive Deficits in MS
That's not what standard Rust source code looks like. I don't see the point in the &* or boxing values. It's not very idiomatic.

This is more representative of actual Rust software practices:

https://gist.github.com/mmstick/797fbc1cf20c92f05d33a85c38e1...
The batteries are small and easy to stick in a pocket. External chargers cost only a few dollars. It's really easy to deal with, much more convenient than carrying an external battery that you then have to plug into your phone's USB port to recharge the internal battery.
Absolutely I think they still should be considered fundamental.

By definition, these are the subjects that allow you to keep going when your abstractions leak[0].

To say a job "requires" them is pedantic, but what's the point of calling something a CS degree if it is not at least signaling an understanding of these fundamentals.

[0] https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-a...
One area I find interesting is classification. E.g. I'm building a search engine for lectures, so I built a utility that classifies search terms based on whether they are for a speaker or not, based on the text of the term on Wikipedia.

The next stage will be to take articles posted to the various programming language subreddits, and build a classifier that classifies articles by language or topic. I did this previously for talks based on heuristics, but this will allow for a lot more categories:
https://www.findlectures.com/?p=1&class1=Technology&category...
In FreeBSD we have a long history of including metadata in commit messages (bug reference, sponsorship information, reviewer list), and introduced Phabricator for code reviews a while ago. So you can easily find Foundation-sponsored commits and for many of them observe the review history.

If using the git mirror a command like
git log --since=2016-01-01 --grep 'Sponsored by.*FreeBSD Foundation'
will show the Foundation-sponsored commits in 2016.

Here are a few recent examples:
r310702 btxldr: process all PT_LOAD segments, not just the first two
https://reviews.freebsd.org/D8929
This was a tiny change of mine, removing an 18 year old assumption to allow us to build the FreeBSD base system with LLVM's LLD linker. Reviewed by a Foundation employee and a FreeBSD (and Illumos) community member.

r310617 Make knote KN_INFLUX state counted
https://reviews.freebsd.org/D8898
Reviewed by a FreeBSD developer working at Isilon.

r310371 bhnd: remove srand() to ensure deterministic output
https://reviews.freebsd.org/D8857
Another one of mine as part of the Reproducible Builds effort. Reviewed by the original author of the affected driver.

These are small, uncontroversial fixes, but demonstrate the approach the Foundation strives to take with all development work. Also being able to drive longer-term projects and maintain subsystems over long timescales is a significant advantage of having funded developers on staff.

r310154 Add support to read the _CLS entry if it's present
https://reviews.freebsd.org/D8721
A commit from a Foundation project grant recipient, part of adding ACPI support along with the FreeBSD/arm64 porting effort. Reviewed by a long-time FreeBSD committer and core team member. The Foundation drove the overall arm64 porting effort. Cavium (an ARM CPU licensee) and ARM helped contribute to the initial porting effort, which was generally reviewed with a similar approach.

r301172 Import NetBSD's blacklist source from vendor tree
https://reviews.freebsd.org/D5912
The Foundation provided a grant to port NetBSD's blacklistd daemon to FreeBSD. The initial work here was reviewed by an idependent, long-time FreeBSD committer.

The Foundation's development projects have no special status - work is still subject to the communities norms and standards. If there were to be a dispute over a proposed project or change the final authority rests with the elected core team. (The current core team includes some Foundation members, but a minority position.)
Drake Fake love Cover
>unwieldy and slow

So force one to do it consciously (kind of like unsafe).
This what it would actually look like:

https://gist.github.com/mmstick/797fbc1cf20c92f05d33a85c38e1...
I like that in C++11, you specify what should be captured and how it should be captured (by value or by reference).
AFAIK, Assisted GPS is almost universal, so almost anyone using GPS uses that component too.
And you wonder why C programmers have trouble with Rust.
ebikes are ubiquitous in NYC amongst delivery drivers. I haven't really seen any other users using one.
The privilege to value education and to spend time studying, yes. Almost all resources can be found online nowadays. If you've ever been to an SAT tutoring class, you know that the only benefit the kids have is the benefit of being forced to take practice tests.

A top school is a good signal for how much time someone spent studying in high school, except for affirmative action students who get into top schools with much worse scores and GPA.
We need to reach the point where there’s no easy way to simply “block” things you don’t like. Quite the opposite, it should be absurdly expensive to even try to do that, with numerous technical and geographic hurdles to overcome.

A truly secure protocol should have no easy way to identify its traffic (e.g. no obvious domain-name patterns that can be disallowed with a single regex, no common IP address blocks, and no suspicious volume of traffic that couldn’t just as easily come from 100 other things on the Internet). The backbone itself should also have more than one off-switch; difficult in practice for some remote areas but theoretically doable in combination with satellite radios, etc.
Hah, I'm surprised at the replies here. I guess I'm in the minority opinion (I don't like progressive loading of anything; just prepare the page, then show it to me :-).
I had a relatively simple CLI tool written in Go that nevertheless had a data race bug that I hit about once a month. I wasn't able to track it down until Go actually introduced a data race detector, at which point I found it immediately. The race occurred when I spawned a task and watched the task's stdout and stderr. I assumed it used one goroutine that listened on both pipes, but it turned out that the stdlib actually used one goroutine per pipe, meaning the shared buffer that I'd captured in both callback functions was being raced on. Of course, the stdlib didn't document how many goroutines it used in that scenario. So yeah, footgun, meet foot.
Functions can be memoized, procedures cannot. This means that you cannot use anything from mathematical logic for compiler optimizations or program checking/linting or verification. It basically means that you go from at least the possibility of proving something about your operating system/compiler/distributed system correct to it being impossible to prove the most trivial things.
> the already huge codebase written in c.

This is something you can work with!. A big example happening right now is the work going on in the GNOME project.

> I think an application like tls would benefit from rust a lot.

https://crates.io/crates/rustls still has some C at its core, in ring, but it will be eventually.

> Similar tooling would be helpful for rust.

Rustc already does a lot of things this kind of tooling does. More tools are good though!

8 bit is far off. Teaching is hard. I don't have easy answers for those ones :)
Glowing Knife VS. working cam
If you wanna know something and he won't tell you, cut off one of his fingers. The little one. Then tell him his thumb's next. After that he'll tell you if he wears ladies underwear.
I thought the same. I wonder what happened.
I also believe that, on some sites, it's 100% on purpose.
Higher Order Imperative Programming (1988) [pdf]
Wallets hold a small amount of money compared to the potential life savings accessible with a phone and thumbprint.

Getting robbed turns from "Give me your wallet or I'll shoot/stab you" to "Give me your phone and access or I'll shoot/stab you."
Can we have an IDE that let's us use our favourite syntax with other languages, please? Auto-correct, suggest syntax, advise on proper usage/best practice/pitfalls in target language.

We already have autocomplete, stubs, and smart guessing which library I might need to include. People probably repeat the same typical mistakes thousands of times each day as they transition between languages. So just allow us to use fundamental programming concepts and take care of the details for me!

If we were able to use our syntax of choice, and "reformat" existing code to our preference, we would probably all be much more inclined to move on to newer languages and thus advancing the field much faster.

"Looks like you're coming from VBA, remember in this language arrays start at 0..."
Did You Miss Growth Marketing Conference? Heres 8 Takeaways from Sean Ellis Etc.
> What does Rust do here?

This code results in a compilation error:

for v in values {
spawn(|| {
// Do stuff with v
});
}

Error output as follows:

error[E0373]: closure may outlive the current function, but it borrows `v`, which is owned by the current function
--> <anon>:7:15
|
7 | spawn(|| {
| ^^ may outlive borrowed value `v`
8 | v;
| - `v` is borrowed here
|
help: to force the closure to take ownership of `v` (and any other referenced variables), use the `move` keyword, as shown:
| spawn(move || {

You can play with the code here: https://is.gd/f4guCw

As the error message says, the real problem with this code, given Rust's semantics, is that the closures are being given pointers to memory that might not be valid by the time the closure gets around to executing (unlike in Go (or any other GC'd lang), the mere existence of a pointer is not enough to keep memory alive). And as the help text at the bottom of the error message describes, one solution is to have the closures themselves assume ownership of the data via the `move` keyword on closures.
This is what happens when you take "everyone is equal" to a delusional extent. Everyone should have the same rights, but not everyone is born the same. It is sad, but true.

I think the only reason one could come to your conclusion is that one does not understand the difference between being a lesser human being and simply being very misfortunate. Many are misfortunate; no one is lesser. I had cancer when I was little. Should everything in the world be modified to accommodate my specific needs? Should everything in the world be modified to accommodate the "average" person's needs? Perhaps that is how things should be in government, where the sole purpose of the entity is to serve its people. But it should not be the duty of any private entity to do such a thing.
It would seem that over-regulation is the culprit here.
I'm a Sr. Security Engineer at a security firm called Defense Point Security. We are always looking for remote talent. Feel free to shoot me an email at ryan.damour@defpoint.com with your resume!
Working within a single language (Python), I've come to the point where I have sufficient knowledge to be able to answer many things about it without googling. However, my false positive rate is sky high because I know too many implementation details. It was unavoidable in working within a particular stack for ~5 consecutive years, but the false confidence it promotes can be counterproductive, as well as useful.
You can easily modify variables outside of the stream. For example, to increment a counter declared outside of the lambda, use a final AtomicInteger or similar class instead of an int. For any other value, use a final class that wraps it.

The point of enforcing final variables is to prevent programmers from accidentally modifying things they don't want to. It does not prevent programmers from modifying variables intentionally.
The article never mentioned they are complaining, IIRC. They are economically displaced. Where would they go?

This is a large-scale socio-economic uprooting. Many of them lack marketable job skills and the necessary finances to allow location portability.

We're experiencing a very large shift in financial wealth where the level of poverty in the country is increasing at rates not seen since The New Deal and that's the entire point: the Bay Area is an extreme example of this where economic disparity is so extreme. Add to that the socially minded nature of California and you have those people who "complain" of the lack of a social safety net at the Federal level or even a lack of a fair balance of distributing economic wealth fairly.

edit:

And our "capitalistic market economy" is anything but capitalistic, in fact it is predatory upon the poor and economically disadvantaged. [1],[2],[3],[4]

[1] http://reason.com/archives/2015/04/26/american-capitalism-vs...

[2] http://www.bbc.com/news/blogs-echochambers-27074746

[3] http://opinionator.blogs.nytimes.com/2013/09/17/making-money...

[4] http://www.huffingtonpost.com/2010/03/17/social-immobility-c...
Was the lisp machine OS fundamentally non-portable to other hardware? It's my impression that it could have been, with similar amount of effort to making the first port of any OS.

Unix is intended to be portable, but creating and maintaining a port (including compilers and drivers) is a large effort, and somehow a community never materialized around supporting Lisp Machine on PCs, the way Unix on PCs did.
> Research shows that an increase in quality of life is inversely proportional to a drop in birth rate.

This is actually not the case. Wealthy people in the US even have more kids, on average, than the middle classes.

> Whenever you take a long haul flight you directly rob a child in Africa from using fossil fuels to better his or her life.

Does that mean whenever a millionaire takes his yacht out for a stroll (that gets maybe 1MPG), he's robbing me of my chance to improve my life further as well? I'm unlikely to ever afford retirement or being able to afford children of my own.

Does that mean everyone who has children in developed countries are robbing people in Africa of oppurtinites? Adding a new person in a developed country consumes far more CO2 than a couple of long-haul flights.
What about weekends, especially when you are taking pictures or filming your kids, and the phone dies before the sun goes down?
this kid will undoubtedly read hn in the future
I haven't fully thought this out yet, but it strikes me that with an AWS SDK, Rust would be an ideal language for high performance Lambda functions.

* No JVM/Interpreter memory overhead
* No garbage collection (I know this is controversial)
* Compiled binaries with low startup time
* High performance (assuming you write it well..)
* Aware of multi-core systems
* Good networking capabilities

Currently if you want really high performance on Lambda with a SDK for AWS services, you have to go Java and all that comes with it, or launch Go or C++ binaries via a nodejs process.
Definitely a much bigger debate (and off-topic)

For me it was a matter of porn not being as important to me as she was so the porn had to go. Plus for some people, porn does affect their own interactions with their partner negatively (reduces sexual drive, reduced sexual interest in their partner since s/he isn't like what they see in porn, etc.). Some people also view their spouses' watching porn as a sign that the one who doesn't like porn is inadequate - which leads to all sorts of insecurities coming out.

As usual, different strokes for different folks. Whether you _need_ to address it is entirely up to you and what you want from your relationship.

(I do know couples who both were into porn and that didn't cause an issue)
I know very well that I can use inner mutability to work around that restriction, that doesn't change the fact that it is a workaround, nothing more.
You may appreciate this: https://tldr-pages.github.io/
Google and Monotype to make font for all languages on the world
It's not more important. Automating trucks is easier, and the economics is all on the side of automation.

Automating cars will take much longer than trucks.
Responses are on the official Rust reddit forum.

https://www.reddit.com/r/rust/comments/5krhr0/rust_is_more_t...
A database as a file system is fundamentally a good idea. But so much software expects a regular file system, and it's surprisingly hard to implement an efficient regular file system on top of a relational DB.
A simple one is Option. An Option<&T> is a pointer to some type T. Option is an enum, & is a reference, which has all of Rust's safety checking. This will all compile down to a regular old pointer, just like in C. Even though you have null checking and protection against dangling pointers, etc. It's all at compile time, zero run-time overhead.
Does thumbprint + access code/grid/what-have-you exist on any phone?

This is the one feature I've been dying for.
FWIW, I enjoyed your hyperbole and I really think you weren't overstating things by that much. Angular 2 is a fundamental disaster in so many ways. The folks designing it have really jumped the shark and have made building webapps a lesson in masochism and self-flagellation.
Whoa, 12 kg?! That's either Garfield level of fat, or you've got a massive Coon/Norwegian Forest megacat...
3 Years After Snowden: Is Germany Fighting State Surveillance?
You could hide stuff from your spouse for many good and bad reasons. Maybe you are preparing a surprise gift and you took photos. Maybe your spouse has a bad spending habit and will ruin the both of you, so you hide the other bank account. Maybe your spouse is abusive and is threatening to leave you at any moment, so you hide money to get ready for that day. Maybe your spouse parents are calling you regularly to see how they are doing. Maybe, maybe, maybe.
The 2016 Election Wasn’t Hacked, but the 2020 Election Could Be
Here's a good example, fresh off of the first result from Google:

https://ruudvanasseldonk.com/2016/11/30/zero-cost-abstractio...
And because someone doesn't like TypeScript doesn't mean they are "one of the many things wrong with the JavaScript ecosystem today".
Ask HN: Job board dedicated for employees accepting payment in Bitcoin?
I always found taking payments in bitcoin a lot easier than accepting bank transfers, etc. Is it a good idea to start a job board dedicated to employees who are willing to take payments via bitcoin. Share your thoughts please.
I'm intrigued by Vue. I am also traumatized by the almost complete lack to continuity from Angular 1 → 2. Does anyone know if API stability is a value of Vue's? I don't want to learn something if it will all be different in 6 months.
CPAN did it exactly like that, many packages also bundled C libraries, etc. It's a very fragile mess and a mistake package managers refused to learn from CPAN. It is especially pronounced once you have a CI/CD system, forces you to pretty much abandon such package managers and only use them to explore/discover new packages.
It's not a workaround. It was designed to work that way on purpose. The people who developed this feature could have easily prevented programmers from using any variables outside of the stream, final or not, but they chose not to because they wanted to allow programmers to use final variables in this way.

Furthermore, it does not cause you to lose "all the power of real closures" like you said it does. All you lose is the ability to use a closure around non-final variables, which is a trivial drawback in any use case I've ever come across. You lose only a little bit of the power of closures.
Black cloths? That's pretty fun. Though, it's also as if Steve Jobs is lifting up his turtleneck and letting you huddle inside of it to peek at some new thing that's going on, so creepy too.