skysight-inc/HackerNews huggingface dataset:
For those who don't know Chris Lattner[1], who wrote this post, is the primary author of LLVM and more recently of Swift, so he knows a bit about what he's talking about :)

[1]: https://en.wikipedia.org/wiki/Chris_Lattner
>> They were referring to how dramatically and chaotically it changed before the first stable release.

Exactly.
> The point here is not particularly about signedness

But in the case of C, that is what it is about since unsigned integers have defined behavior, so you can only have UB and the optimizations when you use a signed integer.
This would not be referring to the Model S, but something like the $20-30000 Model 3.
Let's start with stating a positive. You're enthusiastic about developing software. You have no idea how many software engineers dread writing code (and thus delivering bad software).

Luckily, there are tons of great resources out there to learn to make whatever you want. Don't be overwhelmed by what's out there. Although HN is a fantastic place to keep up with what's going on, it's very easy to get caught up in the noise.

Learning to write software is like learning to do anything else. All it requires is practice. I was fortunate that I went through a university and it opened my eyes to a lot of theoretical things, but I am where I am today because I spent a lot of time outside of university learning things that were more practical.

I can point you to a few resources to get started (there are plenty more that people here can recommend!)

Generic Programming:
https://www.codecademy.com/en/tracks/python
http://openbookproject.net/thinkcs/python/english3e/

Web:
Ruby on Rails - https://www.railstutorial.org/book
Railscasts - http://railscasts.com

At the end of the day it depends on what you're interested in and what you want to make. I find that when I want to learn something new I try to remake what someone else has already made. That way I'm thinking less about the idea and more about how that software should be constructed.
So this is legitimately interesting. I know that word has a very strong negative connotation in some parts of the world (US), but other parts of the world don't really seem to treat it as more than just another four letter word. I'm not commenting either way on my own feelings regarding the word, just being fascinated at (very small) culture clashes online.
You might be interested in the YNot[1] project, which is a library implementing Hoare-style axiomatic semantics in Coq. Just using Coq as the proof language answers a lot of your questions since Coq has well-understood limitations designed to make it useful for automatic proofs.

If you're not familiar with the idea of dependent types, it's definitely worth learning about them (and Coq is a good place to start) because they formalize the idea of arbitrary functions at the type level by letting types depend on values, giving you the ability to verify whatever invariants you like. A good place to start would be Benjamin Pierce's free Software Foundations[2] book.

There's a really rich theory here with a lot of both theoretical and practical problems worked out but, at the same time, lots of room to develop new ideas and approaches if this is something you're interested in.

[1]: http://ynot.cs.harvard.edu/

[2]: http://www.cis.upenn.edu/~bcpierce/sf/current/index.html
Or you have a drone that launches to chase the perp.
Netflix Hits a New All-Time High Ahead of Its Stock Split and Q2 Earnings
Maybe a used V8 model from 6-8 years ago. New ones go in the mid 100's to start.
Um, no. Don't reuse email addresses... and fucking enable two factor auth and none of this would have happened.
Show HN: Butter – Modern blog alternative for Rails and Django; stop using Tumblr
It's a very expensive car and the sentiment here is that the person had no empathy at all. Drove up in a car that cost as much as people's houses and fired a bunch of people without any thought beyond just the dollars saved (at least that's the impression I'm getting from the story).
I think I have built a video player for cats and it works
Is it too late to schedule January 1st, 2014 as EOL for Flash?
Yes, but more generally UB allows optimizations that wouldn't be allowed otherwise. The whole reason C has so many undefined behaviors is for the benefit of compiler writers.
There was a lead in the water pipes scare in Wasington DC when I lived there 10 years ago. Don't know what happened since.
Sorry, I was just talking about Stratfor.

> Of course it was also revealed that The Interview was a propaganda product aimed at destabilizing North Korea (in anticipation of the upcoming planned unification).

I missed all that–can you point me in the right direction?

> These sorts of things can only be found when there's wide access given to journalists.

Sure, but there's an argument to be made that the only way to end domestic violence is to place cameras inside all homes. Obviously that tradeoff is one most people aren't willing to make, and I don't think that leaking the private emails of employees of a private company is ultimately morally defensible.

Whistleblowing is one (very important) thing–bulk dumps of 99% of innocuous stuff became there's 1% of stuff in there that isn't great (but probably isn't all that bad, in the grand scheme of things) is both tactically questionable–leaking something with a 1:99 S/N ratio is a terrible way to get your message across–it's also morally suspect.

If Wikileaks & Co. truly wanted to change the world (and it wasn't about garnering attention and giving indiscriminate anger an outlet), they'd be approaching things differently.
This implies that any public performance on a stage of Happy Birthday to You recorded or not, is subject to licensing fees or fines. This is bloody nuts. Enough is enough!
> It's really interesting how OS X is the one that has a terminal emulator with the most features out there.

In my experience, the vast majority of web developers use OS X. Those of us doing server side and devops work spend a lot of time in the terminal
I wouldn't go so far as to call one of my former bosses a "cunt" but he owned a Porsche 911 and would park in the best spot all the time. Hearing him talk about how there was no budget for raises while seeing his $100k car outside was definitely a bit of cognitive dissonance. I know it's his company and it's not a charity, etc etc, but the impact of being told you can't have more money despite the job you're doing while seeing the fact that the person telling you this makes a LOT more than you definitely stirs up some emotions. They may not be entirely rational, but they're definitely real.
I think if you are "ripping code in/out of your app everytime you need to do something" for debugging you need to create a logging system with multiple log levels. In log4j you can turn on TRACE logging for a particular subsystem to find out more about what is going on in that system. It would help a lot if the standard Go logging package would support multiple log levels.
Write Structured, Tested REST Docs with Spring REST Doc 1.0.0M1
A Look at PPC Pricing Models – Why Charging Percentage of Spend Is Dead
I live in SF. Within 2 blocks of me 3 gas stations have shut down over the past few years, to be replaced with apartments/condos. Probably it's not related to electric cars per se; but it is probably related to the decline in personal driving.
Show HN: Cecile Ortlieb, a scammer in the startup world
Looks like mosh swallows OSC codes it doesn't know what to do with. I'll let them know.
>I don't know what it was but it probably wasn't coding.

You're right, I wasn't coding.

I waste a lot of time on the internet not being productive, so I'll change this. I signed up for a codecademy account recently, so I'll challenge myself by doing some exercises there daily.

>So now you have to ask yourself, what are you willing to give up?

I think I'm finally ready to give up all of my distractions. I'm getting sick of not making any progress.

>Look at Jennifer Dewalt (http://blog.jenniferdewalt.com/).

This is great. I bookmarked her website and I'll check out her work. Maybe I'll do something similar once I feel capable enough to build something.

>To be frank with you, start working, hard.

>Learn. Grow. Start right now.

Thank you :)
Spark and Hadoop Are Friends, Not Foes
The issue is the perception of commonness assumes that it's obviously public domain when it's not. Another nail in the coffin of ridiculous IP trolls.
Multithreading is somewhat unsafe in general. And so is ability to do most I/O, you might overwhelm the system.
Why would the damages caused by institutionalized racism be anything but ugly?
I own a retail store and have been wanting this type of data to quantify behavior, find correlations and discover patterns. In it's simplest form, it could help to quantify previously 'untrackable' advertising methods.

Other products like this are quite expensive to implement and are geared more towards large scale deployments, not small businesses. I even looked into building my own sensor for this, but I simply don't have time. Happy to see this product emerge.
Last I lived in flyover country, I bought a $162,000 house on a $55,000 salary, and owned a car a bit more expensive than a Leaf.

So yes, it does work. And that's the owning a house case. There's also the "renting an apartment at a modern complex" case.
A few years ago, the C++ standard didn't guarantee that the double-checked idiom would work. Even if your threading library had some way to insert the necessary memory barriers, it was possible that your compiler would optimize important things away.

C++11 changes that. The language now has standard ways to add memory barriers, and compiler optimizations can't remove them.
This is why if I ever own my own company I may just get something like a Ford Escape to drive to and from work and keep the toys at home.
Yes and no.

Under normal circumstances there's no one on the beach that would take it because I'm surfing on the Outer Beach (4x4 by special permit required or boat)[1].

Outside of summer, there's pretty much no one at any beach to take it, especially in the winter.

Of course anytime a friend is one the beach with our stuff I don't have to worry.

However, I don't take it on surf trips to Costa Rica or California. A GoPro is much easier to pack anyway.

[1] https://www.google.com/maps/place/Orleans+Parks+%26+Beaches/...
No we can't. This is the part where I politely call you a douchebag to prove a point. :)
> But none of those languages would let me do what I need to do: zero-copy writes from the network driver through to the RAID backend.

Why not?
I wrote this comment at a time when the submission was flagged, and subsequently could not submit it. I only post it now, so that anyone finding this discussion via Reginald's post may read it.

---

The phrase "slippery slope" is stereotypically used whenever free speech is the topic of focus, and for good reason. It is simply impossible to respect free speech (much less champion it), whilst simultaneously selectively censoring it. And that's the key word: selectively.

Imagine a scale from 0 to 100 which represents the level of offensiveness in any given comment. Now try to come up with a logical and ethical value which matches your implied "universally agreed upon" cutoff point for what should be allowed. Unfortunately, you won't ever be able to accomplish this feat, because your level of sensitivity is wholly unique to you. To impose your personal cutoff point on others is the exact opposite of free speech.

So now that we have established speech is free for a very legitimate reason, the question becomes: how do you, personally, decide where the slippery slope ends?

If you're going to publicly chastise and boycott a company such as Reddit for not censoring hateful speech, then you must also abandon your ISP, due to its insistence on making money from facilitating those comments in the subreddits you abhor. But you can't stop there. Don't forget to never buy any computers, tablets, phones or writing utensils ever again, because the companies making those products are facilitating the comments, too. Then you need to abandon any method of commercialized travel, as the companies who make planes, trains and automobiles are facilitating hate rallies and even violent hate crimes.

Eventually, all the way at the bottom of the slope, you find yourself withdrawn from all civilized society. Because the unfortunate reality is that governments are businesses, and if we're avoiding businesses who facilitate hate speech, then we can't live in any country in which people who hate others are allowed to verbalize it, or reside, or even live.

I don't know about you, but I'm keeping my car, my computer, my internet connection and my Reddit.
[Density founder here] Hey Animats, sorry it took me all day to get to your list of questions.

> which implies they're selling data to someone else. Who?

Typically our customers are startups who sell to SMBs (coffee shops, bars, restaurants, museums, etc). They charge merchants anywhere between $50-$500/mo/location for some kind of software or service. These are startups that sell POS systems, loyalty software, marketing services, discounts, handle logistics, and delivery.

> There's no privacy policy. No terms of service.

Frankly, it should have been there before launch but since people don't "buy" through our website, we decided to sacrifice legal thoroughness for speed to launch. Maybe a misstep but people seemed okay emailing us their request to order.

> How does the device tell how many people are present based on counting at a doorframe?

Two closely situated, parallel infrared distance sensors. We timestamp spikes in voltage as they come in allowing us to see o...1 = entrance. 1...0 = exit. Giving us the current count in a place.

> Is it counting people passing through the door? Direction?

Yes. Not the line outside. Although we can do line detection and estimate wait times. Yes.

> Is it good enough to estimate the number of people inside by subtracting out counts from in counts?

Yes. It's better than just an estimate.

> Will this work for wide entrances, such as malls? Is this a passive infrared sensor?

No. Our current model maxes out at roughly 90in -- that's with two sensors on either side of a double door facing one another. No it's AIR.

> 98% count accuracy ... If you already have surveillance cameras, you can often use them for counting.

You're right. We're just betting that customer-aversion to facial recognition and surveillance cameras is slowing adoption in the long tail of the market we're after - the various independent merchants and sellers that comprise a city and who are too busy making coffee and food to spend too much time on potential controversial technology. See: http://techcrunch.com/2014/05/29/philz-coffee-drops-euclid-a...

[edit: for readability]
No, sadly. In some cases (floating point) what happens is even implementation-dependent (though queryable with FLT_EVAL_METHOD).
You should probably use the prefix "Show HN:" since you are promoting your own project.
We got one of these for our office so the remote guys can hear during meetings and it is terrible. We'll all be sitting at a table, and the remote people can only hear every other person at the table. There are random empty spots where it doesn't hear, or it will put all of the focus on some people talking quietly on the other side of the room instead of the person talking right next to it. We've had the best luck with a Jabra microphone.

Perhaps it would work better in large rooms with only one person talking, but its hard to say. We also had good luck with the microphone on the dropcam, but people thought it was too much like a security camera and made them uncomfortable.
FYI you're probably getting downvoted because of gratuitous negativity, an ungenerous reading of the situation, and unsubstantiated moral claims. It's pretty hard to read the future and the CEO in question fully admits he fucked up.
Robin laid an egg

(Unfortunately, the melody is protected too because the parody defense requires a legitimate (subjective interpretation) parody.)
Shape-Shifting ‘Origami’ Pots That Grow Together with Your Plants
Everything that's old is new again... https://en.wikipedia.org/wiki/Web_counter
What would you preferred Rust have done to avoid this "reputation"?

I mean, as far as I can see, the options were "develop Rust in secret" or "make a language much less suited to this domain".
How do you negotiate your severance? I don't see the personbeing terminated as having much leverage. Are companies really that afraid that you'll bad mouth them? I'm struggling to imagine that conversation:

"Here is 8 weeks compensation, in return for signing this non-disparagement agreement"

"No, I want 12 weeks compensation or I won't sign your agreement"
"Equal protection" redress perhaps?
Way cool hardware! Kudos to the team putting this out.
I don't think there will be any more AI winters. Previous AI winters were largely the result of a crash in federal grant writing (DARPA/the Strategic Computing Initiative) to labs at research universities, which depend on them for cash.

This time, the ongoing AI/ML renaissance is funded by private industry, and the value they are extracting from it far outstrips the costs of keeping their in-house R&D labs operating. Even if there's a contraction in the market, I can't envision any possible world where Google/Facebook/etc stop working on AI, and they have the money to keep it up as long as they want.
My apologies for that. It was just a one off line but now the thread is discussing how/if the guy deserves the title and I appreciate it seems a little verbose.

Sorry for any offence caused.
You missed the most disruptive potential change that will decrease the number of cars needed: driverless cars. These cars can make car sharing so much easier and more efficient that the numbers of cars needed for getting people around will shrink dramatically.

Imagine all the traffic during the work hours will be taken care of by the cars used to sitting in the parking for a whole 8 hours long. And all the house car sitting in the garage during the traffic hours taking care of the people going to and off work. I wouldn't be surprised if the total number of cars shrink to one third without anyone feel any inconvenient.
A lot of websites are censored around the world, and it's not just from search results: you can't access the actual sites. In the middle east, it's porn. In China, no Facebook. In France, it's Netflix. I see no reason why this is on Microsoft.
Sorry. If you can email team AT density.io with a bug report or something that shows the latency that would be really helpful.
"Chip & signature" cards are surprisingly well-deployed already, at least on the card side. I've received several new cards in the last 6-12 months with a chip, but apparently no PIN. Walmart's payment terminal made me use the chip when I tried swiping (AmEx). I don't know if that behavior is selective based on transaction value or something, but that particular card may already be incompatible with Coin.
There's an old collection of games called Aviation Adventure that I was addicted to as a kid. One of the games that came with it was "F4U Sortie" (or something like that), involving having to fly an F4U Corsair through German radar defenses in order to deliver messages to people or something. That would be a fun one to play again.
The undefined behavior of C and C++ results in remote code execution to a degree completely unmatched by other languages.

Examples of dangerous UB in C always use deliberately sloppy code for pedagogical reasons. For real-world examples of problems, look at the CVE database.
Carmageddon!
Why are you interested in subcontracting as opposed to finding a full-time job? Subcontracting is very difficult even when you're experienced, more so if you're relatively junior.

Based on what I've seen around Denver/Boulder, most of the Python work is at software companies that don't do as much outsourcing as agencies. I put together a list of +80 web companies around Denver/Boulder, and only a couple work in Python: https://crowandraven.com/blog/web-design-development-agencie...
Under "Please create a backup plan for your property.", it would be nice to be able to have an option between an individual or a 501(c)(3) charity, with the UX flow asking for detailed info on either based on your selection.
That's just semantic framing. Non-technical is a word used from the point of view of engineers, the primary audience on "Hacker" News, who naturally value technical skills the most.

You could reframe the engineers as being non-revenue. Because businesses exist to generate revenue, suddenly they are less important than the business people. Plenty of Silicon Valley companies value revenue-side personnel more than engineers, like Oracle, Salesforce, Intuit.

True. Engineers should learn sales and marketing. Business people should learn how to code. But at the end of the day, having enough depth and expertise on your team to cover your bases is what's required, and really that requires specialization.

I'm a compsci who's a CMO now, so I understand people in the different roles.
I just wanted to say thanks to the author of this article (I hope they are reading this section). This post really made me think hard about reddit, and about my own personal values. I've decided, personally, to stay away from reddit because of this, and I appreciate the write up.

Maybe someday reddit will be a more inclusive place, but for now I agree with the author and will be voting with my feet, as they say.

This is not to say or imply that any of you should necessarily do the same, I think each person needs to come to their own conclusions (which can definitely be different for any number of great reasons)
This would require applying a patchset to the political-moral operating system. Bernie Sanders 2016. ;)
...or the supply limitations on SF's local real estate space
It's probably related to sitting on $2 million of land.
It is great that you have a goal and a direction, but you are pinning your hopes on something that you do not know very much about and you may not even like. It is easy to read about coding on the internet and think it is the answer: that you are going to lock yourself in a room for 6 months and when you come out your career and life will be sorted. This is a delusion, a common delusion many of us have to one degree or another. I switched careers to become a software developer and I'm already trying to figure out how to get to the next step. There was another post earlier today about a career switch and the poster seemed to be blaming it on the company. Becoming a software developer per se is not the answer. You need to focus on becoming a well-rounded person, part of which may involve becoming a software developer.

Being a dev involves a lot more than just coding; communication, organization, teamwork, etc. all go into development. These are skills that are harder to pick up from the internet than coding. It is for these reasons that I would recommend that you consider going to school as a good way to start your career. School is a clear cut path in a situation like yours where you are going from basically no experience to starting a career.

School is not the only way, but I personally would bet on it as the better outcome. Do not let math be a deterrent. You can learn it. Check out Barbara Oakley's book A Mind for Numbers and read Lockhart's Lament. It does not have to be an impediment. Finally, as you mentioned there are a lot of resources online. MIT Open courseware has a lot of awesome resources, especially the intro to programming with Python. Coursera is also obviously awesome. But if this career were as easy as spend 6 months or a year studying and come out making $100K then everyone would be doing it. You need a more realistic plan.

So you have a general direction: software development. Now make some short-term and long-term plans about how to lead a good life and do what you're interested in along the way.
Name any commercial or international airport without water fountains.