skysight-inc/HackerNews huggingface dataset:
Gorskys color photos add a new perspective to life in these areas. 1910 in these places would not have been drastically different from life a few centuries earlier. Most of the world still did not have access to the modern technologies of the age.
Rust is able to be almost (unsafe blocks) free of segfaults without runtime overhead. That's the core feature that Rust provides with lifetimes.

The Rust compiler can (and does) have bugs, but they get weeded out over time. But so can whatever proof system or proof checker is used on SEL4.

As for integer overflow, yeah...that's a hard problem with Rust, and unfortunately, unlikely to be fixed.
How would you know they're prostitutes?

If you can perform the same action and have it not be a crime, but for your inner thoughts, whereas if you do think those thoughts the action is then a crime, then we're what we're really talking about is thoughtcrime.

Doesn't that bother you slightly?

> as a business, commonly known as "running a brothel."

We're not talking about brothels, but specifically about a sort of motel that you must be familiar with if only hypothetically. They use the floorplan of those shitty 1970s motels, there's no parlor, no madam who points at the girls and tells you to pick out one, and often enough an antagonist relationship between the owners and the hookers.

These are real places, they aren't rare, and trying to shift the conversation to something else earns you no credit for honesty.

Renting rooms to hookers is no crime. Motel clerks aren't deputized by the state to perform law enforcement and even if they were it's the hooker's crimes that are illegal, not the hooker herself. She still has a right to rent a room.

> But again, you seem to choose to employ metaphors

Wasn't a metaphor at all. Are you so dimwitted that you can't tell?
Brings back old memories of Moon Patrol. Thanks!
Might as well be an infected PC wandering around looking for vulnerabilities (i.e. recent Wordpress comment hack). When I was developing Internet facing device, I had seen tons of scans, loging attempts etc. daily.
... and any number of other topics that are still controversial in some way or another. That's one of the reasons I really am loth to see politics on this site - it tends to be kind of boring in that it's pretty much the same old stuff.
Sadly, the fastest route to martyrdom is quite literally by biting a bullet, so no, AK-47's all round. Keyboards don't have quite the same sacrificial qualities.
Ask HN: Amount of time needed to become a competent programmer?
Hello HN, I have a twofold question. I've always been interested in entrepreneurship and tech entrepreneurship always seemed like the more accessible platform. My problem is that I don't know how to code, and it's a little too late to pursue a CS major (I'm a Bio major). (1) What's a realistic amount of time for a beginner to become competent in iOS app development, and would it be feasible for a busy University student?

(2) If it is feasible, how would I go about starting? I previously thought I would need to learn Objective-C, but then I started reading about it's successor Swift. What's the deal with that? Would it still be okay to learn Objective-C, or should I just start learning Swift?

Thanks
The diagram itself (http://research.swtch.com/tcpviz.png ) looks like an optical illusion - does anyone else feel like the horizontal stripes are actually sloping downwards?
My experience applies to Dallas/Houston/Boulder, which was probably very different from Silicon Valley.

Before:
* Pay increases of 10-50% each year or two as you changed jobs.
* Finding a job was a matter of sending your resume to 1 or 2 decent recruiters, then fielding the endless calls about opportunities.
* High quality, challenging technical interviews from senior developers and engineers.

After:
* No significant pay increases anymore.
* Recruiters that never answered emails or calls (explained below).
* Low quality interviews given by hiring managers, or in some cases by contractors with little experience of their own.
* H1-B visas bringing in floods of people who largely could not solve problems and who needed to be given every solution just short of typing the code.

Prior to dot-com bust, recruiters were professionals who had a fair grasp of the technologies and industries they were involved in. They seemed to treat their jobs as actual professions rather than as temporary stepping stones to something else.

After the bust, companies reigned in their (perhaps overly aggressive) hiring and IT growth, leading to perhaps an over-abundance of recruiting firms. But at the same time, new recruiting firms emerged staffed by low (no) quality keyword-searching resume-pushing monkeys who would work for peanuts. Thus, the real recruiting firms cut staff so severely that the remaining few were buried under resumes of all the IT people displaced (let go).

Companies still had positions open, even advertising them, but hiring managers were very reluctant to actually fill those positions. Despite approvals to hire, nobody wanted to take the risk of actually spending the money on more staff.

This led to the growth in low skill H1-B labor, which further reduced the need for quality recruiters. It all became a game of numbers, a race to the lowest common denominator.

When that didn't produce positive results for industries, corporate management (who could count money but could not judge IT quality) made the next obvious step - offshoring. This further ruined the environment.

Basically there was an 8-10 year dark age in IT (unless perhaps you were in Silicon Valley... I can't speak for that). It still hasn't recovered fully, and it probably never will.
Plain threads are the GOTO of todays computing [video]
Voice commands would be a lot simpler, and familiar to many ex-taxi drivers.
Show HN: reddiText: filter imgur out of reddit
Since you are familiar with web languages already, you should go check out impactjs. Very cool little javascript game engine with a lot of flexibility. Has been used for small and big projects, one person even recently produced an infinite-sandbox mmo with it! Unfortunately, it does cost $99.

http://www.impactjs.com/
1 in 6 Food Charities Could Close Down Soon
Put this together using bootstrap and angular.js, looking for feedback, thanks!
> Write code in whatever you are good at, and ship.

Provided that you're not writing operating system code, or crypto code, or code with an inherently large attack surface (web browsers etc), or code which outright needs to be performant or it's useless (databases etc), or code which manages physical processes or lives, or code which deals with sensitive information (such as identifying details of real people).

If it can cost someone's job, or leak someone's identity attached to some data, or worse - lose a human life - if it breaks, writing code in "whatever you're good at" isn't good enough.
Hi guys,

I am looking for quick feedback on this. Primarily on the design and UI flow.

Thanks!
That L4 kernel is in the air link CPU of most cell phones.
Hi,

What is your goal?

Do you have an idea and you are trying to build a prototype?

If you are a sales / marketing person one option is to find a tech co-founder. Learning tech from scratch takes a long time although there are plenty of resources available online.

Hope this helps.
Are you speaking from experience writing system components in these languages? Lots of very high-quality software is written in C. Go and especially Rust are still moving targets. Depending on a separate compiler or runtime can hinder adoption and introduce errors when versions are out of sync.
Analysis of some of the IP addresses in the Sony hack
The vast majority of crimes have included mental state elements as well as conduct elements for quite a long time (strict liability crimes -- the only kind that don't include mental state elements -- are a much smaller set.)

Thoughtcrime is not any crime that includes a mental state component, thoughtcrime is a crime that is thought alone (specifically, politically unorthodox thought alone) as a crime.
I decided to visit one of my previously good recruiters in person to see why they weren't answering my emails or calls. What I saw was amazing... I saw their normal large office, empty of people. There was a receptionist, and there was one recruiter. There were about 15 empty desks.

The one desk with a person had a stack nearly 2 feet high of resumes. I spoke to her, and she said she just couldn't read all the resumes coming in, and she was also having to handle the client side (which meant endless calls to companies, trying to find open positions).

That's when I knew the old system (glory days) were over.
If you ever find yourself back in Python land, give Conda (Miniconda is the barebones install, Anaconda is the complete version, if you don't know that you want Anaconda, starts with Miniconda)

It's replaced virtual_env and friends for me, and with some more experimentation it might also replace apt for my own packages deployed to other machines. It's written in Python and for Python, but it's much less python-centric than you might expect, and it is nothing short of excellent.
I would reccommend looking at www.codeacademy.com and getting a good introductory grip on js (javascript). A lot may disagree, but learning Objective-C can be a long process compared and there are more and more frameworks out there to develop mobile apps with native-like performance with web languages (html5/css3/js).

Check out the AppGyver Supersonic framework, they have a awesome platform called Steroids that allows you to do cross-platform apps with the same codebase.

http://www.appgyver.com/

Hope this helps have a good one.
What Rust code needs to be unsafe, other than the sharing primitives? Rust has really come together well over the past year, and no doubt with 1.0 providing a serious release, a lot of gaps will get filled in. That said, I've found it pretty easy to get running with Rust, and the IRC channel is one of the best I've been in.
"To this day, Europeans rarely put ice in their drinks, but Americans do."

What? Where did this come from? I live in Europe and can hardly imagine a cocktail without an ice. Well yes, nobody is going to put a good scotch "on rocks" (at least nobody who knows the basics of whiskey), but that's a different story.
So did AltaVista.

And, AltaVista actually showed you a clustermap of results keywords that you could refine.

So, if you typed in "python" you would see a clustermap of results that included a bunch of herpetology in that cluster and a bunch of computer science in that cluster, etc.

I still miss that.
Aren't bounds checks and unwinding examples of non-free safety code in Rust?
Digital Health Weekly #37: Smart helmets, data ownership, christmas lists, &more
> The erratic price prevents it from being a store of value

Not true in itself. Consider the stock market: it's value has been unstable for the past two decades, yet it is still one of America's most popular stores of value. Consider also gold and housing, two other popular stores of value that also have unstable pricing.

The erratic price does however prevent it from being a unit of account.
> I wonder where the code that is running inside the drones today comes from.

I interviewed a candidate for a job once who wrote code for military drones. He didn't think it was bad that they were used to kill innocent people. In fact, he thought it was awesome. There are a lot of coders who have a low moral bar and will code anything for money. These are the people who write this kind of software.
Reminds me of todo.txt, a rather popular and similar CLI for task management storing the todos in a plain text file as well - see http://todotxt.com/. It has been around since 2009, with source code at https://github.com/ginatrapani/todo.txt-cli.

Todo.txt also has iOS and Android apps, possibly connecting to a shared task file in a Dropbox.
While randomizing the id's etc sounds like a good idea, if the structure of the code is always the same it is still possible to create a bit, just find the first/second/nth form on the page, first will input be username second password and done.

Also patent pending? What a great way to contribute to security, want to use my method? Pay me. This should not be patented.
https://github.com/rust-lang/rust/wiki/Rust-for-CXX-programm...

There's also
http://featherweightmusings.blogspot.com/2014/04/rust-for-c-...
which is longer, but not as useful.

Rust has roughly the feature set and memory model of C++. The difference is that in Rust, the safety issues C++ sweeps under the rug are addressed. As I point out occasionally, the three big problems in C/C++ are "who owns it", "how big it it", and "who locks it". C fails to deal with any of those issues. C++ sometimes deals with "how big is it". Rust deals with all of them.

In Rust you have to deal with most of the memory management headaches you have in C++, but they're detected at compile time, not after the product ships.
C programs are still much smaller than something written in many of the newer languages. This still matters for embedded software.

The portability of C is also huge because you want this running on a large number of hardware platforms. Everything from tiny home routers to the biggest server imaginable.

For something like an ntpd daemon you also want a language that many developers read and understand. C is used by more developers than pretty much any of the newer safer languages.

It might be old and weird, but C is still really hard to beat.
To be honest, calling Java and .NET boring and laughing at these is just a hipster's indulgence.
She wouldn't have needed a helmet if she had heeded the stop sign and the fact that the car had right of way. I don't know if it's a regional thing, but a disturbing number of cyclists in the Bay Area ride like idiots. I've had numerous near-misses with bikes as a pedestrian, and I've seen some astonishingly bad behavior by riders who caused minor accidents and then tried to blame the driver of the car they careened into. I intervened in one such situation (where the rider was screaming racist obscenities are a car full of elderly passengers that he had just plowed into and threatening them with arrest and legal action) to point out that not only had he been going far faster than the car he hit, which was pulling in to park, his bike had no brakes. 'I own several bicycles,' he puffed 'and my other ones have brakes. I'll just show one of those to the police when I file the incident report.' He was less than pleased when I took a picture of him with his bike and told him to try it.

I don't think I have an anti-bike bias - I don't own one now, but I rode for years and the only motor vehicle I've owned was a motorcycle; I don't like driving a car unless I have to.
Well, he makes a living from that code. It looks like he made a mistake with the license but I don't think is morally right to sabotage his source of income just for that mistake.
Looks good! I found this to be a great resource on Maze generation:

http://weblog.jamisbuck.org/2011/2/7/maze-generation-algorit...
Thank you for reminding me of one of my most favorite job postings from the era.

I remember one that said "Websphere only. Don't even think about applying if you've used Weblogic!"

Some of all of it was in caps.
Agreed. (I only shared those because they were the newest posts when I visited.)
Surely it just does that, otherwise it would be dropping all the cognitive overhead of lifetime management that we pay (happily) in Rust, without losing safety? If that was possible you'd think it was already in the Rust specs...
It would be nice to have a demo where you don’t have to sign up (or install your own instance), or maybe at least screenshots.
Off Topic: But out of curiosity what does a Tor hidden service keep in memory? Would there be any information that would uniquely identify the services it's running?

Given that they're often run in datacentres (either colocated or within a VM) - wouldn't a USB device capable of scraping RAM and dumping a list hosted .onions be quite practical for law enforcement purposes?

They're obviously finite amount of datacenters in each country/jurisdiction that accept bitcoin or sell VPSs.
Which nodes are gov run?
OCaml offered the same proposition for 10+ years. No-one was interested. Oddly enough, now that Go and Rust are getting attention, people seem to also be taking a second look at OCaml. What's that, if not fashion?
You can do it in a couple of months. I saw it first-hand with some of the students in the original class of App Academy, back when they focused on iOS instead of Rails.

That said, they were living it and breathing it, not studying as a hobby on the side as busy uni students. In your case, a couple of years is probably more realistic.
I thought the advanced warning was related to directory servers, not exit nodes.
I used Dogpile, which searched about 5 engines and gave you the results for all of them.
Both answers are not helpfull for a non dev ;)
Suggesting that reference librarianship is "easy for humans" is sort of... ridiculously wrong. There's a reason it requires a master's degree.
Somewhat related, I find that if I am feeling stressed, I often write a list of all the things that are cycling through my mind. I find that I often have up to 20-30 items to process and the stress results from not being able to hold them in my head att he same time.

Writing them down means the stress dissipates and I can get on with getting things done. So saving information "off-head" clearly makes me more productive, as I can focus on one thing at the time.
I was a Unix sysadmin and in 2000 I could land a 100k job with 6 skills. 2002 I considered myself lucky if I could land a 60k job with 10 new skills. Since then every year I made it a point to tackle 4-5 new technologies. So far it has served me well.
Because EVERYONE in the Netherlands rides a bike, not just the super healthy sport types.
Weow that's pretty passive aggressive and toxic, maybe you should check yourself before that attitude hurts you.
2000 I thought IT was the king. 2002 I knew business was the king.
yes,thats a good idea. Just to ensure this method provides similar output like useradd command. thanks!
Is this just a joke, or is the language and/or function actually limited such that a meaningful return value can be computed?
It might be possible to restore lost memories
> One thing that has always bothered me with the NTP project, is the lack of a separate daemon and client.

> In most cases, such as on my laptop, workstations, and embedded systems, I don't want the complexities of a full blown daemon running

Pretty confused. Why would you care about a code path that isn't executed? Are upset about losing a few kb of disk space? What is the alternative to "a full blown daemon". Can you demonstrate how that is an issue for anyone?

Your comment also shows a fundamental misunderstanding of NTP. It's a peer-to-peer protocol in many use cases, as is PTP so instances have to run as client & server.
Steve Jobs Did More Than Invent That iPhone
Even with all what you say, do you really believe that there should exist any agreement that can never be annulled, no matter why? That if you agree with something not knowing full effects, somebody actually has the right to find you "guilty" for not knowing better? Do you really agree with the world where everybody who ever manages to trick somebody else is absolutely guaranteed to win?
I don't know if stocks themselves are really stores of value. There are synthetic products based on the value of certain stocks (index funds, hedged futures, options, etc.) that are stores of value, though. Which makes me think that you could probably build stable stores of value on top of BTC if you wanted, without losing the decentralization of BTC. You could even take the price of one of those products as a unit of account.
Most stocks are a poor store of value. That is why people widely diversify. This makes Bitcoin more of a hedge against failings of our bank systems.
Scraping Vine Videos from the Twitter API in Java
This is a nice post and transactional memory is great!

Worth noting about the particular implementation on Intel chips:

In August 2014 Intel announced a bug in the TSX implementation on current steppings of Haswell, Haswell-E, Haswell-EP and early Broadwell CPUs, which resulted in disabling the TSX feature on affected CPUs via a microcode update.

(http://en.wikipedia.org/wiki/Transactional_Synchronization_E...)
Watches with heart rate monitors have been available for a while, and you can use them when running, or walking, or sitting on your ass.

Built into handlebars seems limiting, and error prone--what happens when you're wearing gloves, or braking
One of the most popular site that came into existence during the crisis was called fuckedcompanies.com which published layoff memos from all the companies. It wad that bad.
That's a good idea, but people will steal them anyways. Sometimes things get stolen for no reason ~ e.g. my bike seat got stolen. I'm pretty sure they didn't need it.
>Who might these be?

The geneticists, molecular biologists, and chemists in your average biotechnology company.
Personally, I don't agree with that because it makes things harder to read. I always use is_something (or isSomething, depending on the style used) form for functions that do some check and return a boolean value. It's really easy to notice such functions when reading code and understand their intend. Proposed computer_on_fire() is by far the worst example, the intention of such function is not clear by it's name and I would have to look it's definition/description to understand what it does. TL;DR using prefixes like is, set, get makes code much more readable.

EDIT: for your random number function I'd simply use get_random_number(x, y) too.
I think this article is a fantastic example of how you can blend prose with working interactive examples. The examples make you really trance out watching dungeons being carved out of nothing.

I think an often-discounted aspect of JavaScript's appeal is its ability to breathe life into a bunch of fascinating but otherwise dry concepts. Another terrific example is this page by the prolific Mike Bostock: http://bost.ocks.org/mike/algorithms/
alternating between spacebar and up arrow is helpful to not trigger double jumps.
> They can't write good C so no one can!

This is an accurate parody of my opinion. I'm unable to say "good C" with a straight face.

> I seriously think the C-hater crowd on HN is just disappointed that they can't reason well about pointers.

Let's be (hopefully) pessimistic and assume I'm a bottom 10th percentile programmer, and assume (I believe optimistically) that every programmer half an iota better than me is physically incapable of writing a single solitary buffer overflow, double free, use-after-free, or other pointer usage related bug. Perhaps they are robots!

I'm of the opinion that the remaining bottom 10th percentile remains a significant problem and security hazard. My continued employment with C++ seems to indicate we lack either the technology to detect, or the will to fire, this bottom 10th percentile. I feel that a hatred of C is a pragmatic step in helping reduce this problem, by reducing the usage of C by my fellow incompetents, by reducing the usage of C in general. Do you disagree? (I extend this stance to C++, despite it being my day job.)

http://www.cvedetails.com/vulnerabilities-by-types.php

Continuing the assumption - I'm disappointed that I can't reason well about pointers. I'm a bit more bummed about being in the bottom 10th percentile. I'm significantly more distressed that people can't reason well about people who can reason well about pointers - that, by virtue of being human, even they will make mistakes.

Being slightly less pessimistic: I'm fucking awesome. C isn't. What Dunning–Kruger effect?
Flambda optimisation pass for OCaml
Some screens and description would be helpfull.
So i cant see for what i should sign-up.
Or, change the title to 'Show the subset of HN that has docker installed: My Personal Hacker News Reader'?