skysight-inc/HackerNews huggingface dataset:
To me, off the grid refers to not being connected to the electric grid, with the broader meaning of not being connected to any public utilities. So your scenario of a house in the city getting wafer from delivery, electricity from solar, and firewood for cooking would be in my opinion "off the grid".
It must be really hard to get any work done with your nose pointed so far skyward.
Rust and servo are great projects, but I would say there's still some time before Rust can completely replace C/C++. The language is stable, but there's still a lot of tooling that needs to be built up, and the compiler needs to be more performant. I also think it needs a few more small features in order to truly compete with C++ (it's already on par with C, in my opinion), e.g. being able to specify sized traits as return types. Once that's all done I think starting new projects in C/C++ wouldn't make sense anymore.
> When those systems aren't well thought out or secure you have security issues.

All evidence says that there are no well thought out and secure systems written in C or C++.

If there is a way to do it, it has not been publicized yet.
$22M Oregon Wildfire Started by Lawnmower, Investigators Say
To this, I can only agree. I love C and I can write secure software in it, but the costs of doing that are generally not worthwhile in today's market (if they ever were).

C will still have a place in its niche, but it shouldn't be considered the standard general-purpose language any more.

Our processors have gotten so fast we can run slow-motion versions without even noticing (smartphone & tablet CPUs), so don't tell me anything other than C would be “too slow”.

C is unbeatable as long as riding rodeo on your raw CPU is all you could ever want. But software has evolved, mankind's dependency on software has evolved, and so have our expectations & standards. It's time to learn the lesson and move on.
I suppose the answer would be Rust or similar because they aim to be as fast as C/++; however, that is currently only a goal and most certainly not the reality (according to some source I read a month or two back that I can no longer find).

I also hope to end C/++, but it's simply not time yet.
Another way to look at it: the ones that can write that software are still chosing C/C++. The ones who would like to use Haskell/Rust/Java are discussing online.. :)
Killer feature :D
The one I used to use at Heathrow had hinged flaps as the flooring at the entrance so that if you caught a foot over the edge it would lift up with your foot ameliorating that second risk. I think the main danger of serious injury (rather than a bruise or sprain) was people carrying overlarge objects into the paternoster. I was in the building when one snapped a ladder and it was pretty noisy.

The overall risk is low but probably higher than that of a conventional lift although paternosters should be far more efficient.
1 v 1 they don't work, but they seem to help with 1 v 100 open office situations where the background of 100 people working. Granted, this might be by blocking the AC and other background sounds. But, I don't care why they help just that they do.
"There are only two kinds of languages: the ones people complain about and the ones nobody uses". -Bjarne
Software Engineer (Web/Frontend)at Telenor Digital -Trondheim, Norway

Permanent position, Full-time
You can apply at - http://tinyurl.com/nc9okjm

Telenor Digital is aiming to create a world-class login solution with the goal of connecting tens of millions of users (we just reached our first million!) to different services within the next two years. When developing we focus on mobile-first and progressive enhancement, and we strive to offer an enjoyable experience to all our users, regardless of what device and platform they are using. We operate mainly in the European and the Asian markets, with all the challenges that include, for example: different alphabets, different levels of literacy among our users, and different experience levels with internet usage and technology.

Our implementation
We use Java a lot. As we are creating login, user-management, and payment applications, we use HTML forms a lot too. Our older applications are built with Jersey/JAX-RS (https://jersey.java.net/), while our new ones are built with Spark (http://sparkjava.com/). We try to keep the code-base to a minimum. On the frontend we use plain JavaScript (inline) for code that has to be executed right away, and jQuery for “nice to have” functionality. We use Apache Velocity for templating. We build using Maven and Grunt, and we track our code using Git. Performance is key, and our aim is that our applications should be ready to use (or at least be perceived as being ready to use) within a second, even on slow connections.
We have (big) databases too, but you won’t have to interact with them directly. Persistence is handled by an API created by another team.

Who we are looking for
We need more hands on Java/Web. This means we need someone who would be comfortable with working with Java, Jersey, Spark, Apache Velocity and JavaScript/jQuery. And Maven/Grunt for building. We are not looking for someone who is already an expert on all of these things (It would be nice, though), but someone who knows a few and is willing and able to learn the rest.

Deadline for application:30/08/2015

Contact info: Tina Tan (+47) 90894741
Even more related, from this article:

> On the afternoon of the 29th, three days after my initial posts, Facebook phoned me to inform me that it was rescinding the offer of a summer internship, citing as a reason that the extension violated the Facebook user agreement by "scraping" the site. The head of global human resources and recruiting followed up with an email message stating that my blog post did not reflect the "high ethical standards" around user privacy expected of interns. According to the email, the privacy issue was not with Facebook Messenger, but rather with my blog post and code describing how Facebook collected and shared users' geo-location data.
So how does this work with identically configured VMs?
"... misra-compliant web browser."

Surely this is a joke.
No, not at all. It's likely the most secure remote access software that you could use.

http://www.openssh.com/security.html
The question is about defaults. Current default of C and C++ is to cut all corners wherever it is not clearly impossible (sometimes even then). That is the insanity.

Of course you should optimize wherever sensible.
There's always C-c C-c p anyway.
Excuse my french, but: What a load of bullshit.

It's not the language, it's the tools.

Add a static analyzer pass to each C/C++ compiler which is switched on by default. Add clang-address-sanitizer-style code when compiling in debug mode, and also offer runtime checks as option for release-compiled code. Both combined would have caught 99% of memory safety issues that pop up now and then.

If necessary extend the language with optional ownership keywords a'la Rust, and allow me to switch off features I don't require to reduce complexity.

Most important of all: provide options that I don't need to pay at runtime for memory safety with precious CPU cycles.
As of yet, a browser (in particular the JavaScript JIT) cannot be implemented in a safe language.

It is not even clear how a safe language that would permit this would look like.

Thinking that banning C/C++ magically solves all problems is naive.
So code less type more? Also I personally find the brackets nettet than "do" / "end"
Interesting issue with discussion regarding ES6:
https://github.com/jashkenas/backbone/issues/3560
Ask HN: How do you take positive and negative feedback neutrally?
It is something that you hear often - don't get too comfy with positive feedback and don't get too dejected with negative feedback and just use them to improve your product/startup. But how do you do that? Is there a special process that you follow in order to achieve it? Or is it something that you master over time and practice - kind of like meditation?
Please show me how to implement a graph library without using unsafe in Rust.
If it's a joke it is quite good.

Your post is full of memory leaks, can you rewrite it with a better language... Please.
I'm wondering the same thing.

Even trickier: on a Mac using VMWare Fusion, you can have a Windows partition that you can both boot into and run as a VM within OS X.
Never panic early. Look e.g. at Rust - just as efficient, much more secure.
Tips for Designing Mobile E-commerce App
This is a strange thing to worry about: the former owner of your used car planning to murder you? I'm perfectly fine with the answer that, as with most technology, it's nearly impossible to prove your car computer hasn't been backdoored.
http://www.smithsonianmag.com/history/for-40-years-this-russ...
Chaos Communication Camp 2015 Recordings
I recently had to write some code[0] that handles strings of UTF-8 with ANSI color escapes sprinkled throughout.

A fun exercise is to write a function that overwrites string A with string B, starting at index N. It's hard enough with unicode, but ANSI escapes make it more fun.

[0]: https://github.com/tillberg/ansi-log (Go logging library with support for ANSI colors and interleaving multiple writers)
Aggregation theory – How to formulate disruptive ideas
I say every language except Logo should be banned. Programmers can't be trusted with memory and all these weird things!

Also processors should directly interpret Logo. And operating systems too. And memory access isn't allowed. Memory is dangerous.
It looks like it's largely correct [scale excepted] relative to a fly-by following the solar system relative to a point moving away from the sun on a perpendicular to the plane of the solar system.

Isn't one of the points of relativity that we can choose any point as an origin - in the gif are the motions relative to the sun [scale excepted] largely correct?

The main problem the sibling comment notes is that the plane _if_ it were following the orbit of the sun around the galactic centre it would be inclined by 60 degrees to motion along the orbit [they also note problems with exaggeration of the motion of the sun in its vertical motion (relative to the galactic plane) and in the precession of the plane of the solar system]. That doesn't make the gif wrong in itself, it just makes it not what people might assume it is.

Fastidious pedantry, sorry.

If we're going to be right lets be as right as we can; so please post corrections if I'm wrong at all.

All that aside I'd be really interested in seeing a simulation of the galaxy that matched observations for the precession of the solar system, movement of the planets, movement of the sun around the galactic centre. Does such a thing - that can be run at home - exist?
I've been in several of them in Bremen. Cool thing is that they are (mostly) in public buildings.

"Haus des Reichs (Senator für Finanzen, Finanzämter)", is basically the tax office.

You can walk in and ride up to the canteen and eat (on the top floor). It is also available to be used by the public (though not everyone knows that and assume that it is only for staff).
Also note, Murakami-san has the only pencil eraser worth even considering using: the Staedtler Mars® plastic 526 50.
If by "tools" you mean "user" then, yes, you are correct. This author is a tool.

In French, your first line would be, "Oh, hell no!"
I'm confused when the author says the DOM is garbage collected only in IE/Blink. How is DOM memory managed elsewhere? At first guess, I thought the JavaScript runtime (which surely always uses garbage collection) would manage the DOM, but I'm guessing that's not actually the case. Who is typically in charge of memory management at that layer?
Like this? http://thefreethoughtproject.com/acapulco-police-strike-back... (Yes, I know it's not about Baltimore / NYC.)
C++ is safe enough, provided you use the tools like Intel Inspector, valgrind, and static analyzers. With C++11 memory corruptions became a somewhat rare occurence.
Is there some kind of website where people can upload their office/desk pictures including better descriptions (like those plus-icons) and a little Text?

I don't know why, but to me it's motivating and just interresting to see how other people work. And i don't mean websites presenting huge offices of big companies. I mean homeoffices etc. A few years ago this was really big on Flickr, but since "nobody" is really active on Flickr anymore, i feel like those days are gone.

I bet there is a good number of interesting peoples workplaces to look at. :)
Well it is hacker news...
"Yeah, well, that's just, like, your opinion, man."
© The Dude

Seriously, just try to look at the opinions critically, and even more so at your reaction to them. If you see yourself too involved, stop and think, why are you so winded-up about something someone said.
I agree with this and bilbo0s. There exists no panacea. But C/C++ leave a lot of unholstered footguns lying around to play with :)
Compared to the running cost of their streaming service, yes. Besides, I like to believe (yes believe, because non of us outside of Netflix would be able to verify) that they've spend that much time such that they're far less dependent on the underlying architecture.
Project Ara will 're-route' market pilot for its modular smartphone
Very interesting. Thank you for posting this.
UK checking in, between our group we saw 4 at a rate of 8 per hour around 22h45 GMT. Personally saw 2 very bright meteors.
C++11 is pretty "memory safe". But obviously it allows the programmer go low-level and deal with dangling pointers if he/she wants. After all, the programmer/engineer is supposed to be a professional that can handle these things and make autonomous decisions.
Google announced Alphabet as parent company – What does this mean?
While tooling may help, I think that a completely new approach is necessary.

The correctness invariants of complex C++ programs (such as browsers and JITs) cannot be 'discovered' by static analysis - they must be, at least in part, supplied by the programmer.

C and C++ were not designed to allow programmers to specify such invariants (and have them automatically checked). I am not convinced that introducing them can be done in a clean way.
I would start with Wild Sheep Chase (an unusual quest/adventure story) or Hard Boiled Wonderland (a bit of Lovecraft meets P.K. Dick). Wind-up Bird is slower, a bit graphic and less fun.
Student Loses Facebook Internship After Highlighting Privacy Flaw in Messenger
As the other reply says " Please learn how marginal tax brackets and rates work before talking about the issue where people can hear you. "
Becoming widespread? Outside the desktop, the most commonly used operating system is Unix and its "likes" and dominates the internet and mobile devices.
Or change the terminal title. ^[]0;title^G
> Just the mere positioning of the screen makes me cringe.

There's a chance the photographer moved the monitor to show a lot of the room that would otherwise have been hidden.
The US rocket program has veered off course yet again
Good luck! I know how hard a problem this is, as I was part of the team that worked on the driverless taxis now operating at Heathrow airport[1] (and which have safely carried over a million people since launch).

You might also find the company's library of research papers a useful reference [2].

Looking forward to seeing your progress!

[1] http://www.ultraglobalprt.com/

[2] http://www.ultraglobalprt.com/about-us/library/papers/
Navajo Code Talkers
This argument is very flawed, since you are forced to use `unsafe` when you need anything communicating to the outside world (which includes, obviously, `println!`). The very point of Rust is to limit the unsafe surface, not to completely eliminate that.
And costs gas to be delivered. You can be more water conscious on the grid too.
I'm sure there's some startup that lets people enter this anonymously and the results are aggregated

I'd always put happy face then quit. The social pressure to put happy faces must be immense. Also being English I suspect the sarcastic smiley would be a recurring feature if implemented here.
I don't think there is any special process other then realizing that most feedback is personal and such should be taken. For example let's say you make a blue ball. You like it. blue is your favourite colour. Then someone comes around and tells you it's terrible because it should be yellow. Other will tell you it's nice. They are all expressing their opinion and it has as much value as yours. Once you start collecting a lot of feedback you can maybe start to think that your opinion being only in a minority might not be the best choice.

There are extremes in everything and also some people give strong negative feedback because they want to see an improvement, some give good feedback because they don't want to make you feel bad. You need to think about it, put in perspective to what you think and try to extract only the relevant information.
Indeed! I think I missed that in the original algorithm it doesn't wait for all slots to be zero, just that each slot go to zero. In that way it is just like waiting for each reader to go through a period of quiescence. This is a lot like the the version of rcu where the writer shuttles itself across cpus to use syscalls returns as a proxy for knowing that a particular cpu is not in any read side critical sections.

If there were a nice way to swap out the counters then summing would work, unfortunately that introduces an even bigger race :-(

Thanks for the correction!
I last tried the bootcamp/vmware setup with a Vista partition; it really confused the activation system and kept de-activating.
Niche? C and Java are the most used languages in the world!
No need to panic, nobody is coming to take your precious pointer arithmetic away. If you want to write unsafe code, go ahead. But we also have to acknowledge that we as a profession are not able to write secure code in C/C++. We're talking about classes of security bugs that just don't exist in managed languages. Bugs that can't happen in languages like Rust either because it forces programmers to indicate ownership and lifetime of memory.

There's always a trade-off between performance and security, but with better tooling support the price for secure code will be very low. Right now security is bad because we look at security as a feature. As something that is added to a project, instead of as something that guides the entire design.

Your suggestion that static analysis can fix this is wildly optimistic, because C/C++ code for a modern browser uses memory pools, pointer arithmetic, just-in-time compilation, and shared memory between object instances, threads and processes and so on. It's hugely complex, and correctness can't be verified with some sort of static analyzer or with added runtime checks.
"scared of" is not an acceptable synonym of "opposed to".
That problem has been solved (look at the animation on https://en.m.wikipedia.org/wiki/Paternoster). I guess it had been solved before the first paternoster got installed. If so, it never was a real problem.
Deep dream online generator for sale
Yes, that "garage" reference was pretty stupid and completely unwarranted in an otherwise interesting article.
I do appreciate a good troll once in a while but they shouldn't rise to the top page of HN. It gives them ideas above their station.

I have a burning question tough, What pray tell safe language would you use to write the original garbage collector, because Garbage collecting is only a form of abstracting good pointer practices away, helping programmers write complex programs easily.
Hmm true, we could have a new 'safe' keyword (or even #pragma) which would switch off 'unsafe' language features (basically the opposite of Rust's 'unsafe' enforce a stricter, more restrictive code style which is easier for the static analyzer to reason about). The majority of even high-performance C/C++ apps only needs to twiddle bits in very small areas of the code. That's still a lot better then trying to rewrite basically all software that has been written in the last 50 years ;)
As a follow up if there are some cultural differences - whenever someone asks how you are here, you always say "not bad" or "fine" (even if you're on fire).
I quite like sagetex: http://doc.sagemath.org/html/en/tutorial/sagetex.html

A python like mathematica clone.
Several answers to this challenge

1) It's doable
http://smallcultfollowing.com/babysteps/blog/2015/04/06/mode...

2) Which attack surface would you rather deal with... the small fraction of your graph library that deals with mutability... or all of Adobe Flash?

3) The fact is that "unsafe" doesn't mean unsafe, it means "trust the programmer that this is safe". It's reasonable to assume that safety can be maintained in Rust libraries that use the unsafe keyword.
> Linux now has better game support than Windows XP.

That is probably only roughly true if you look at a small subset of the games market and limit it to the past few years.
Who said anything about a garbage collector?

https://www.rust-lang.org/
found your site on this by the way

https://www.sideprojectors.com/project/project/3000/classroo...
First of all a graph library does not communicate with the outside world.

My point was that even for the ubiquitous task of implementing a graph structure, unsafe is necessary.

So while Rust may provide a clean separation between unsafe and safe code (enforced by the type system), the original problem remains: How do we ensure correctness of the unsafe parts of the code.
Has nothing to do with git, or committing, it just applies VT100 control codes that work anywhere in a compatible terminal.
Not trying to be cynical, but i am kinda glad that backbone is "over" for me. Been with it for about 5 years or more and i have seen big projects fall apart. You don't see the tree behind all the leafs after a year of coding.

With flux/react/angular around development is a lot more fun again. I can't imagine going back.
An unpaid internship at the UN left a 22-year-old homeless in Geneva
Would you buy a Chromebook for your business?
13 Mistakes That Can Ruin Your Tests in the Field
One drawback is that deleted files take disk space permanently.
>According to this, the answer is yes.

But how? Since you don't have the actual key, how does it work?
That was my impression, as well.
That's pretty much what I've come to. Linux is the way forward. Not Windows, and not Mac.

Most of my toolchain exists in Linux, and much of it is developed and tested in Linux before anywhere else. WINE allows most windows programs to run, and do so well. WINE plus X allows x tunneling like Citrix, but over ssh.

And if I need a Windows VM, I can spin one up relatively easily. Admittedly, I just get a recent TPB Win10 install with activation removed/emulated, so I can do whatever meager testing I need to do.
How do you dig a 200 foot well by yourself?

You don't - you just live in a place where you don't need to dig one. For example, in my family's village in northern Spain, you have springs with reasonably clean water all year long; it's just a matter of walking a couple of miles with a jug.

(Yes, I realize this is not realistic for the majority of the population. That doesn't mean "self-sufficiency" should lose its meaning)
This is the most obvious that comes to mind:

current :: IO String : = do
d <- Date.new () -- reads system timer, hence IO
d.toString

...or for something that works better with a really huge type signature or list of arguments, you could extend it like this

myFunctionFoo :: Int -> Int -> Int -> Int
: a b c =
2*a + 3*b + 4*c
The only downside...well _a_ downside to this: I repurposed my Vsphere machine for games. Do you have any idea how long it takes to update 4 year old Windows 7 install media enough that it'll take SP1, IE11 and qualify for the win10 upgrade? (about 350 patches and 6-7 hours)
Simple Wi-fi attack grabs BMW, Mercedes and Chrysler cars’ virtual keys
Tracking the geographical location and movements of Facebook Friends