skysight-inc/HackerNews huggingface dataset:
To imply that she accused Feynman of cruelty because she enjoyed getting spanked sexually and then 'changed her mind' is not "asking the dangerous questions"... it is just weird and uncalled for. You're not doing a hero's work, you're just being mildly chauvinistic, and on top of it all trivializing sexual abuse.

Be critical of the basis of her claims all you like. I encourage scepticism. But learn from the others in this thread and keep the criticism relevant and appropriate.
Sounds like a new PHP in the making, someone even mentioned it in the link. I think it's the only language I have worked with that's so happy to chug along and ignore errors that arise in execution. And the exception system was just thrown on top of it in PHP5 as an afterthought. Ugh.
(Just curiosity, I'm from Argentina.)

Why Brazil? Why not another country?

Which level of education? Kids / secondary students / university students

IMHO it's very difficult to improve the education without a deep knowledge of the local culture and mores. Good luck.
How to Shine As an Introvert in the Business World
> I dislike this attitude that sees people as pawns that we should move around for political goals rather than as people who are just living their lives.

There were times, in my country, when they even dared to instruct women to make more children for the state (Eastern Europe, before 1989). It was their "patriotic duty" to make babies. Not to mention that university graduates were distributed by them to whatever city they wanted, at the end of the studies (married students were sent together though). Moving to another city was prohibited generally - for the same reason - they saw people as pawns to move around as they pleased.
I'm also eagerly awaiting the next Patrick Rothfuss Kingkiller Chronicle book.

You and me both... I'm champing at the bit for this book to come out. I haven't been this annoyed waiting for a book since the wait for book four of Stephen King's Dark Tower series to come out.
we may end up like the places where 40% of their income goes to food, instead of 4% that we currently enjoy in the US

Given the level of diet-related illness in the US, much of it a result of ultra cheap (through subsidies) sugars and grains, I can't help but wonder, "if people were paying 25% of their paychecks for food, would they make better choices?"

Of course, the issue there has nothing to do with organics and everything to do with subsidies.
Search engines had a lot of competition?
Yes. But going back to my original question, it was in response to the statement that there are "almost unbelievably benign" pesticides with regard to human and environmental impact.

So, while there was also an implication that we're talking about pesticides that might see practical use, I'm really not even holding out that requirement. I'm just inquiring into the names of those pesticides that are benign to both humans and the environment.
Thinking back to when I was a novice programmer, and the consequences of my mistakes when working on stuff that was probably over my head, "terminate with extreme prejudice" seems like the only acceptable option. No result and a call from a user seems better than a wrong result. Folks will use a tool for safety (personal or financial) critical tasks without really thinking about failure modes.

Things like pocket calculators, Excel, and even web forms, will cough up a lung and quit when they hit an exception. So I think that novices of today are probably amply familiar with this mode of operation, even before learning to program.
Some pesticides are pretty harmful some are really not.

There are many unrelated types of compounds we are talking about here... from severe (and generally now banned) biocides like Methyl Bromide gas all the way to a light camomile tea solution.

It's like your dad saying "drugs are bad!" then proceeding to drink a six pack. Dose and type mean everything. Not all pesticides are dangerous to man nor the general environment.
Considering that Feynman neither needed nor wanted any role which would require him to hold a security clearance, I think the case of Robert Oppenheimer would, if anything, have encouraged Feynman to thumb his nose at the establishment. He was always one for doing what he thought was right and ignoring the potential fallout -- witness his willingness to testify to spending time in a strip club.
Google.

Not to mention the free lunch at their office café, a wide variety of indoor gaming options and a lounge seating instead of traditional desk and chair as Google's workspace...

I also love the idea, that they have a weekly Thank God it’s Friday (TGIF) meeting where any employees can communicate freely and openly. They also have an annual satisfaction survey and I believe that transparency are a huge part of their success.
Yeah, but they usually just say that the result is undefined. At least that's what C and C++ do. And it's useful for optimizers, because they can assume more about basic arithmetic in signed types and do some neat tricks.
I did say that was my first thought -- the article makes a good case and I'm mostly convinced by it.
The design is absolutely incredible. I started using TicTrac [1] a little while ago, but it's not great. I hate that I have to set up and arrange everything myself. I really want to just wire up my accounts, and let a professional designer show me the information in a beautiful way. Other dashboards like Geckoboard [2] and TicTrac only let you dump a bunch of boxes on a page. The sports page on AprilZero is an amazing example of a cohesive design, where everything is laid out in a far more useful way.

For the last month, I've been tracking what I eat with MyFitnessPal, and have been tracking my weight every morning with a Withings wifi scale. It's extremely powerful when the data is collected effortlessly, and for the first time in my life, I'm on track to really change some unhealthy habits. Entering food in MFP is still a PITA, but I've managed to keep it up so far.

It's been one of my dream projects to design a personal dashboard like this, especially in the style of the Iron Man movies. This website has exceeded everything I imagined. I hope it becomes open source one day, and that I can contribute a ton of new integrations and sections.
Or if not, please let me pay to use this service!

[1]: https://tictrac.com

[2]: https://www.geckoboard.com
If I remember The Daily Kos wrote their own Scoop replacement in Python and Django or something. But at one time Scoop was very popular.

For example I have a 128M RAM Linux 3.X VPS with Apache2 and run Wordpress on it with MySQL and always seem to get out of RAM errors with the MySQL database. Scoop uses Linux 2.X and Apache1 and an old version of Perl but can run on a 64M Linux 2.X Apache1 VPS and never have out of RAM errors. For some strange reason this older software Scoop can be used on cheaper VPS hosts, which is why some people still want to use it.

I've tried Scoop replacements like Wordpress and PHPBB and others, and on a 128M VPS I always get out of RAM errors with MySQL and then I get "Cannot connect to Database" on my webpages and I am forced to log into SSH and reboot the VPS to fix it. My host won't increase the RAM for me to 256M even if I pay more, and I am stuck with 128M and my out of RAM errors.

I knew a few people who ported Scoop to Apache2 and modern Perl, one was named Ron Paul and ran NetMoneyChat but someone had hacked his server and then he was trolled and then he killed himself. There was a few others who did that but none of them ever released the code.

My interest in Scoop is that it has a low RAM profile, all of the modern CMS software seem to give me out of RAM errors with MySQL with only 128M of RAm on my VPS. But I cannot run Scoop because it is designed for older systems.

I might just end up writing my own CMS in PHP and make a Scoop or even Hacker News clone and hope it can run in 128M of RAM without out of memory errors.
The point here is: The website asked me about my beliefs. It did NOT ask me to work out the correct solution. And if i believe i cannot possibly give a useful estimate then that should be a viable answer i can give.

Your example is especially relevant since i don't even know what a gallon is. I guess it's maybe a liter or something? Who knows. Either way: Without actual research there is no more accurate modelling of my belief than "i don't know", period.
this. This https://www.youtube.com/watch?v=8Fm5NSeVPog about the Fed seems to be less sensational than others.
"Now, in Python 3, we finally have Unicode (utf-8) strings, and 2 byte classes: byte and bytearrays."

No, they are Unicode strings. utf-8 is an encoding, and only comes into play when you want to encode strings into bytes for sending them somewhere, or decode them from bytes when receiving them. The interpreter's internal representation of the string is either UCS-4 or an automatically selected encoding (http://legacy.python.org/dev/peps/pep-0393/), but that is an irrelevant implementation detail. Conceptually, the strings are sequences of Unicode characters, and it helps to think of them that way.

Here are the really important facts about Unicode handling differences between Python 2 and 3 (aside from the obvious str/unicode -> bytes/str move):

- There is no silent Unicode coercion in Python 3. Unlike Python 2, your bytes objects won't be decoded for you to str just because you happened to concatenate them with a Unicode string. Your Unicode strings won't be encoded silently if you write them to a byte stream (instead, Python 3 will fail with the cryptic error "TypeError: 'str' does not support the buffer interface").

- The default encoding in Python 3 is utf-8, instead of the insane ascii default in Python 2.

- All text I/O methods by default return decoded strings, except if you open a stream in binary mode (open(filename, "b")), which now actually means what you'd expect. See the documentation for the io module (https://docs.python.org/3.4/library/io.html) for more information. (You can use the io module in Python 2.7 to write code that is more forward-compatible with Python 3.)

- The above I/O semantics includes sys.argv, os.environ, and the standard streams (sys.stdin/stdout/stderr). The fact that all of these behave differently between Python 2 and 3 with respect to text encoding makes for a lot of fun hair pulling when trying to write code compatible with both.

I have built a small library of helper functions to help deal with this stuff in a sane way: https://github.com/kislyuk/eight. Another project that I can recommend that tries to lessen the pain of writing code that's compatible with both 2 and 3 is python-future: https://github.com/PythonCharmers/python-future.
To be fair, everyone (except Apple) misfired on music...
Or too failure-ridden.
Engineering Pizza Napoletana
Strongly reminded of South Park's 'accountabilibuddy'. Did not work so well.
I worked on a commercial tomato farm before.
You are both right.

What you get in grocery stores is a green tomato that has been gassed so the flavor isn't the same as truly ripe tomato. Also, the varieties planted that are good for mass productions, packing and shipping aren't necessarily the best tasting varieties.
> Yeah, but they usually just say that the result is undefined.

Just to clarify, I think you're talking about the INT_MIN / -1 case?

I think that floating-point division by zero is defined in C and C++.
I greatly dislike the language myself, but to be fair, it does allow the case where even a notice will terminate execution; and then to special-case functions that can safely fail with an @ prefix. Most people just turn all of that off with error_reporting()
Calling it undefned is a cute meta-exception, but the compiler (or runtime) still does something when hitting that code.
I agree! But that's a terrible example of it, IMO. Singular they should be used when the gender is unknown or not stated, or at least that's how I use it. It flows rather well in speech too for the most part, but if you know the gender then it causes a bit of cognitive dissonance.
It entirely depends on the application's role.

If it's used in a video game with no save slots, where a crash is just going to lose lots of progress, I'd rather attempt to keep going even if there's an error, but only in release builds. Crash in debug builds to try and alert the programmer.

If it's used to save important work, where the bad divide could lead to data corruption, it's probably better to crash than risk the corruption. Although if you have the capability to ask the user what to do, that would be ideal.

If it's to develop something that handles money or lives, or is eg deployed on a satellite, not even crashing is acceptable. In that case, I'd force the language to have the user test with something like Haskell's "Maybe". For instance:

if(result = x / y) { //x / y returns an object: maybe<int>
z = result.get()
} // } else { handle division by zero case }

(edit: of course even that isn't fool-proof if the user tries hard enough to work around your safeguards. But you can't blame the language if the user is actively thwarting it.)
They're very expensive. (Which is also the problem with current tin plasma sources. They work, but they just aren't cost effective.)

There are interesting ideas to downsize synchrotrons though, and if we can both make synchrotrons smaller and semiconductor factories bigger, then perhaps synchrotron sources could make sense. But even then, I worry that if a $20 billion semiconductor plant has only one $1 billion synchrotron source, there is a tremendous amount of risk concentrated in that single source. If the source goes down, the rest of the $20 billion plant goes idle.
http://www.scientificamerican.com/article/optical-circuits-s...
There has been some (very early) work done with photon transistors. One of its cool applications will be fibre-optic hardware, to achieve much lower processing latency, hence faster data transit.
AoP strikes me as one of those things where someone just invented a bunch of terminology around a really basic concept, for no good reason.

Aspect? Advice? Joinpoint? Pointcut? Really?

As far as I've been able to understand, AoP is just hooks. You can hook something before or after a function, or 'around' it which is a combination of both. Super useful, but really not that amazing or novel. Definitely does not warrant its treatment as some kind of separate type of programming.

...

Small nitpick with the article: In the example given, the call timing uses 'around', which measures the entire function as opposed to just the part of it that the initial function was measuring, right?
There's two competing software philosophies which are sometimes called "banker" and "moon rover." If you are writing a bank program, you want to catch errors immediately, to ensure that mistakes can't silently propagate. But if you are writing a moon rover, under no circumstances abort: keep going no matter what!

We have two Mars rovers right now, Opportunity and Curiosity. Fittingly, these use PowerPC chips, which are in the moon rover camp: divide-by-zero is zero. Really! Go get a PowerPC Mac, do a divide-by-zero, and you just silently get zero. Solution #1 baked into the ISA. Not many people seem to have noticed, so it can't have caused too much trouble.

(Apologies for reposting my reddit comment here)
Need sour patch kids
If you want to know more about what was going on at Nintendo at the time (and earlier), check out Game Over:
http://en.wikipedia.org/wiki/Game_Over_(book)

It was originally written in 1993, but received revisions up until 1999. I read the original version so I have no idea how the revised content stacks up.
Yep, this is also the case with some gaming systems; eg the SNES CPU's ALU, and also its Sony APU (SPC700). Division by zero continues on instead of crashing. They usually return 0 for the quotient, and ~0 ("-1") for the remainder.

So if it's not too much work, I'd like my language to give me the option based on the type of application I want. But if it were forced to be a choice, I'd probably err on the side of safety.
I just wish there was a control sequence keystroke like Ctrl+I to get programs to do that.
I'm interested in a source as well.

I have heard the argument that organic pesticides must be used in higher quantities, but never that they are more toxic than synthetics.

The latter statement seems nonsensical on its face. It's very difficult to believe that, given years of testing and research into both synthetic and organic pesticides, so many people are getting it so wrong as to conclude that organics are safer when they are exactly they opposite.

In fact, non-organic farming proponents aren't even making this claim to my knowledge. At most, they seem to advocate that non-organics aren't less healthy than organics.
I guess that's cool if you want to live in an airplane. But, for $220k??? He could have built a nice home instead. I'm kind of dismayed this didn't turn out to be an expose on frugal living.
It looks like it could easily fall off of it's front supports, it wouldn't be too difficult to build a concrete brace to hold that section up. It looks like it's tethered to prevent it from falling and rolling down the hill. It would probably survive, the occupant might be injured and everything in the aircraft broken though.

I would definitely turn the cockpit into an awesome office, rip out (and sell) most of the lower instruments and put a rounded desk. Clear out the trees in front of it a little so there is a nice view.

This one has an amazing view: http://www.costaverde.com/727.htm

Much more high-quality images of the original aircraft: http://airplanehome.com/Images/14Jun2003ImagesCatalog.htm

Also, he's willing to throw down 400k on a 747, is it possible to purchase them for that cheap? http://www.airplanehomev2.com/

http://www.globalplanesearch.com/usa/jets/airliners/boeing/7...

http://www.controller.com/list/list.aspx?catid=3&Manu=BOEING...

The freighter version would be great for building a home. The cost make it impractical but if you've got money to burn and really want to live in and maintain an aircraft then it would be very cool. The airplanehomev2.com site says there are several precautions that must be done such as keeping industrial dehumidifiers and things to clean up toxic fluid leaks.

Another: http://www.homeharmonizing.com/2014/02/08/engineer-construct...
It really reminds me of Wordpress' hook system... And that makes me want to run away screaming, as the maintenance and testing nightmare that that entails has easily removed a decade off my lifespan.
I Am My Father's Son
Free AngularJS Crash Course for the next 24 hours
4% is an average anyway. There are absolutely people in the US that must spend a notable portion of their income on food. I'm not in the best of situations, and I generally end up spending 20-30% on food, and I don't even eat enough.

Food is already hard enough to get for many Americans.
used coffee grinds, for one, make excellent pesticides for certain pests and are completely harmless for humans to handle.
The Internet wasn't built by private companies? Are you kidding? ARPANET might have been built by the DOD, but the Internet we use today is 100% built and owned by private companies.
So you didn't actually attend 4 bootcamps.
I would love to live in an airplane in the middle of the woods, but unlike Bruce, I am married and that's just not going to happen.
"Census data suggests that in 1980 a college graduate could expect to earn about 38 percent more than a worker with only a high-school diploma. Since then, the difference in their wages has only widened as our economy has shifted to bestow greater and greater rewards on the well-educated. By 2000, that number was about 57 percent. By 2011: 73 percent."

Regardless of how I feel about this, I wonder a bit what these numbers would look like if you took the one percent out of the equation. The distribution of wealth right now is totally nuts and concentrated at the very very top. If we were to remove them my suspicion is that it still would be trending up but maybe somewhat less severely.
"These results [his experiments] underscore the importance of shedding familiar ways of thinking in order to gain insight, Siegler contends, whether through personal intuitive force or by changing the structure of a problem."

- Robert S. Siegler, Carnegie Mellon University (http://airplanehome.com)
I thought that reddit had a different URL than hacker news.
I lived in Brazil recently. Their gov't doesn't support primary public education at all. I can also tell you where you can reach out to many Brazilians freely.
>Thoughts?

Is it any surprise that companies with little to no social media intuition would just jump onto the bandwagon of what was, at the time, the Next Big Thing™ in social media? Social media is (or at least it used to be) an inherently organic, grassroots thing. It's been shoehorned into an advertising platform but the grating experience of reading the latest spam from Coca Cola or whoever is absolutely due to the friction caused when people try to use a conversation platform to simply blast out their latest announcements. They treat it like an RSS feed that they can post to, not like an opportunity to actually interact with their market.

Your idea has merit, but would be better off being posted on a twitter suggestions page than HN, I think.
Need help on 16. I think I've figured out the first part from the hint, but I'm stuck on the second part. Any hints?
It's disappointing that a perspective with information from an insider (investor) is down-voted on Hacker News. It's such inside perspectives and unique insight that make Hacker News special.
> but is that really any more helpful than just reading the code and seeing that join is called on each subprocess and connecting the dots from there?

It isn't if you have been programming using threads before ,"join" is obvious then

But if you haven't and maybe you are a physicist trying to get something done in python, "p.join()" could mean anything -- "Join to what?", "Why is there no argument to join()?" "We are joining the data togther there like a list..." "It looks like we should be stopping the processes but the method is not called 'stop()' so that's not it"...

That is the problem of teaching this stuff by someone who has been programming for a while, this kind of stuff gets internalized and becomes obvious but it is not obvious to a beginner.
There is this precious little gem on page 16, paragraph 31.:

last <-- first; { cf. Matthew 19:30 }

https://en.wikipedia.org/wiki/Donald_Knuth#Religious_beliefs...

http://www.webofstories.com/play/donald.knuth/1
The `xrange` example suggests that in Python 3.x, `range `(which is equivalent to xrange in python 2.x is slower than range in python 2.x.

This is a double patently IMHO.

http://sebastianraschka.com/Articles/2014_python_2_3_key_dif...
Yes, I was talking about the signed integer overflow. Floating point division by zero is of course defined in C/C++, as per IEEE 754.
Refreshing the page shouldn't mark the task as completed.