skysight-inc/HackerNews huggingface dataset:
I am really suggesting to try some classic Scheme course first, like my favorite CS61A by Brian Harvey, or that wonderful Racket-based course (what's the difference?) on Coursera by Gregor Kiczales (which is worth watching even if you are mere a brainwashed Java dev).

Another way is through pg's books, especially, of course, "On Lisp" and Arc tutorial and then arc.arc (original version from the 2009 arc3.tar which isn't cluttered with silly docstrings and other nonsense).

There is also the way of CL. For that there is pg's ANSI CL, but before that a much better "CL Language Concepts" from Symbolics (pdfs are available from bitsavers).

Then, perhaps, one will have slightly different view of what Clojure is really. Yes, it is a real marvel of software craftsmanship, especially that it was originally a solo effort, but no, there is no miracles in it.)
Thank you for the kind words, msane.
sounds like apple paid these guys to do this report...
This is a good guide to some of the ways that evercookie uses to live on even after you've cleared cookies:

https://github.com/samyk/evercookie
All I'm saying is this is the worst kind of discrimination. The kind against me!
Go generate
Doesn't have to be just a dream, check out HN's Who's Hiring for September, plenty of opportunities to have your everyday work be in Clojure out there, including our company.
"I used an onion as my scripting language, which was the style at the time."
There's a good chance that something like the Speak n Spell during that era stored its program in mask-programmed ROM. That's where the program is fabricated into the IC itself, and specified when you order a batch of chips.
Just anyone else is wondering, it's:

http://tracker.bundles.bittorrent.com/tracker/{a whole lot of hex}
Codeity
I don't see why whether you can bend the phone with your hands is relevant, unless you actually plan to try to bend your phone with your hands. I could probably break my laptop's screen by bending it with my hands. I can tear the pages out of a book. I can rip apart my clothes. But whether or not I can break these items with my bare hands has almost no bearing on their actual lifespan. I'm much more likely to break my laptop by dropping it, destroy my book by getting it wet, and ruin my clothes by staining them.

Things that are stronger generally tend to last better under use by humans or non-humans, but whether you can bend it with your hands is not a good benchmark. But if it bends in your pocket when you're not intentionally stressing it for the benefit of your YouTube audience, that's more troubling.
I'm not sure how long this feature has been around, but C-c C-b will abort any running evaluation(s)... I've used it more than once to save a non-responsive cider repl session.
You had me at hypervisor. ;)

(Thanks! That's all I wanted to know.)
FYI: Captchas are generally considered "broken" at between 1% and 10% rates of success with automated approaches, because attackers can run hundreds of thousands of requests, generally "for free" at the margin. There is no practical difference in the amount of abuse suffered by a site with a 90% captcha and a 9% captcha -- the first one just requires 10X as many HTTP requests to abuse.

This is one of the unfortunate "math favors the bad guy" consequences in a lot of anti-abuse filtering tasks. (Anti-spam research has similar problems, which is why the main innovation wasn't making filters better but radically increasing the cost of getting caught, via burning the reputation of the offending IP. IP addresses are a lot more expensive to acquire in quantity than packets.)
The New Stack hackers meetup event 10/1 in sf
join us for our first event 10/1 in sf. topics: docker, container ecosystems, orchestration: http://bit.ly/Zh0xSq pwd: firstmeetup
I just imported a movie list with the names and year into a table. I want to automagically import the description from IMDB. What would be the best way to do that without going fully into manual mode?
The timing of this announcement stinks. 2130 PDT on a Friday night, long after most folks have gone home. Making it even more painful, Rackspace is providing 1 hour advance notification. For those of us hosted in the US, there's a rolling reboot window that starts at 0400 PDT on Sunday morning. So, if you're a Rackspace customer and care that your app shuts down cleanly and restarts properly, you get to wake up at 0400 PDT and check your email and stay near your laptop and internet at least once an hour, every hour, until (potentially) 0400 PDT on Monday morning. Hooray, my Sunday plans are fucked!

They suggest taking backups/snapshots of your instances before the reboot window. Given the throughput required to push multi-hundred GB images from public cloud servers to Cloud Files for storage, I am willing to bet that the backup network is maxed out and will stay maxed out until the outage.

I wonder if Rackspace found out about the rumored Xen exploit from the same people that told Amazon, or if Amazon told Rackspace but waited a little bit to make it more painful for Rackspace's customers...
Those of you who are good at sysadminning don't need this advice, but for the fellow people who are only borderline competent in the room, pay particular attention to this reboot if you recently did "apt-get update" or similar to take care of the bash problem. I've shot myself in the foot before and accepted new updates to e.g. mysql that caused the existing config file to raise a hard error on load, which was only discovered the next time the server was restarted. As you can imagine, inability to boot the database has unpleasant consequences for web apps connected to it.
I'd say its possible but unlikely that someone reprogrammed their Speak n Spell. The first tricky thing is the TMS5100 voice synthesis chip uses a complex LPC-10 encoding to encode the sound with a very low bit rate (1100 bits/sec). Basically it's modeling the filter characteristics of the vocal tract. So the first problem is you have to convert your audio signal into this representation, which is going to be really, really hard unless you have access to the TI system that does this conversion.

The second problem is the speech data is stored in a TMS6100 ROM which is kind of a strange chip: the 14-bit address is loaded 4 bits at a time, and then the ROM steps sequentially through memory from there. The point is that you can't reprogram this chip (since it's a ROM), and emulating it with a standard EPROM would be a big pain.

I should point out that I don't have firsthand experience with these chips (apart from using a Speak n Spell years ago). But I happen to have been studying them in detail a couple weeks ago for random reasons.

For more information on this chipset, the datasheets are at http://www.datasheet-pdf.com/datasheet-html/T/M/S/TMS5100_Te... and http://www.ti99.com/exelvision/website/telechargement/tms610...

I just did a search and found someone who hacked new words into a Speak n Spell a couple years ago. But he needed to use a CPLD (like a FPGA) to simulate the ROM, and a Windows LPC encoding program, so this wouldn't have been possible in the 80s. http://furrtek.free.fr/index.php?a=speakandspell&ss=1&i=2
Not really, it speaks highly of their SOC.
The machine and example configurations:

http://www.instron.us/wa/acc_catalog/prod_list.aspx?cid=833&...

http://www.instron.us/wa/applications/test_types/flexure/con...

---

My attempt at a "for dummies" summary of the issue here:

If you look carefully, the Consumer Reports tests involve placing end supports roughly 1/4" from either edge of each phone. Basically, all the phones are different sizes and thus have varying amounts of material and torque being applied between the supports and the part of the machine pressing down. A particularly long phone which yields at 70lb of force has actually performed better than a stubby one which yields at 70lb in this case. Hopefully I didn't just say anything too wrong or confusing, because I'm not going to notice until the morning...
I was once flipping through channels and stumbled on the channel that records the meetings for the local government. There were people sitting on some raised platform and for 10 minutes straight they were just shuffling papers back and forth between themselves. They were quite literally paper-pushers for those 10 minutes. I laughed for a little bit and then felt really sad that this was actually my own town government.

On a more technological side of things we have APIs and APIs for APIs. I have spent non-trivial amount of time trying to build something usable on top of AWS and OpenStack APIs. Same goes for various ecommerce APIs. The situation is so bad that there are entire companies built around making horrible APIs more usable. See channeladvisor and sellbrite. Horrible APIs are the equivalent of inefficient bureaucracies for programmers and quite literally keep them employed. More than once I've had the thought that if some API was more usable then I would not have a job.
> If a function is only called from a single place, consider inlining it.

Funny because it's backward. If a code is duplicated, consider to make a function if the pieces of code are the same semantically. (Two pieces of code which are the same at a given time can diverge over time and you don't want to miss that. Only analyzing the sense of what you're doing (=semantic) gives you the answer.)

Never add fancy things (like adding a function which is not a function) in your code because code is not fancy, it causes bugs.

> If a function is called from multiple places, see if it is possible to arrange for the work to be done in a single place, perhaps with flags, and inline that.

Well yeah, fix the semantic if it needs to else do nothing.

> If there are multiple versions of a function, consider making a single function with more, possibly defaulted, parameters.

Well yeah, fix the semantic if it needs to else do nothing.

>Minimize control flow complexity and "area under ifs", favoring consistent execution paths and times over "optimally" avoiding unnecessary work.

The right thing to do is to never optimize unless it's to slow and you've identified the first bottleneck. "Never optimize" means: write the naive code correctly (without performance aberation like adding element in an array).

> To sum up:

Stop fancy. Stop optimization. Stop thinking about code syntactically (=the succession of operation gives the good result). Think constantly about your code semantically.
Ask HN: What if existence is a PLL?
Has anyone ever pondered the idea of living the same life over and over in different ways? I am more or less convinced that this is the nature of human existence.
Using Python, LXC and Linux to Create a Mass VM Hosting
Even if they didn't do that, I'm sure they could successfully argue that for that position, attractiveness is a bona-fide occupational qualification.
Show HN: I'm filming the folks building a lunar elevator
http://www.bunniestudios.com/blog/?tag=novena
It's for the civil service. Office jobs. Museum workers. The article lists "women might be afraid of the dark, so we can't hire them for a job that would have night shifts" as a reason.

That's wrong.
You haven't shown that it isn't class leading. You've only shown that one phone beats it in one category and not by a lot, two categories if we count pounds to deform.

The Anandtech link above shows the new iPhones basically among the leaders in every category. The displaymate reviews extend that. How you spin that into merly above average and last years quality is beyond me.
Used to have my phone in my front pocket, but the iPhone 4s made ugly "phone marks" on my jeans! So moved it to my back pocket where it appears to not do the same amount of damage.
Choosing a different android device to trump each separate specification of the iPhone just proves that there is no single android device that is as good overall.
You don't think the bending reports are paid for by someone?
What the Tortoise Said to Achilles (1895)
Canadian Online Retailer Surprising Women on the Streets of Downtown Toronto
Great idea, so simple yet no IDE provide this feature out of the box.
A couple years ago, I spent a year as an English teacher in Guangxi Province, China. Hiring on the basis of physical or racial characteristics was very blatant in that area and industry. It's difficult for non-white laowai to get ESL positions, because many training centers choose not to hire those who don't "look like a native English speaker" -- either because the school administrators believe this, or they think it'll drive away parents/customers who think their child isn't getting a "real education" from a "real English-speaking foreigner."

It was a new and very uncomfortable feeling to be so blatantly valued (and used in marketing) for being little more than a white-faced billboard by the school/business I was working at.
When I was at Columbia, we used an interesting website called CULPA ("Columbia Undergraduate Listing of Professor Ability"; http://culpa.info/). The site is interesting is that unlike many other sites, students can only give written evaluations and there are no numerical scores. Reviews are generally thoughtful and, in some cases, were particularly useful in choosing a professor for a course.
I got tired of the hype. How's the following code for a mitigation?

Basically, if some program does invoke /bin/bash, control first passes to this code which truncates suspicious environment variables. (and it dumps messages to the system log if/when it finds anything...)

The check should match for any variety of white space:

=(){

=() {

= ( ) {

etc... but feel free to update it for whatever other stupid things bash allows.

The code is at http://ad5ey.net/bash_shock_fix.c

Simple usage:

cd /bin

gcc -std=c11 -Wall -Wextra bash_shock_fix.c -o bash_shock_fix

mv bash bash.real

ln -s bash_shock_fix bash

phoenix(pts/1):~bin# ls -al bash*

lrwxrwxrwx 1 root root 14 Sep 27 00:23 bash -> bash_shock_fix

-rwxr-xr-x 1 root root 1029624 Sep 24 14:51 bash.real

-rwxr-xr-x 1 root root 9555 Sep 27 00:23 bash_shock_fix

-rw-r--r-- 1 root root 2990 Sep 27 00:23 bash_shock_fix.c

phoenix(pts/1):~bin#
Yes, the Java stack traces are probably the worst "ugly" thing in Clojure but from my experience the simplicity of syntax (not to be confused with familiarity, familiar != simple) makes it much easier for someone who's never programmed before to start writing Clojure code vs many other languages where there's a lot of syntax to that you simply need to "know" to get going.

Also, on a more advanced note, I've used https://github.com/ptaoussanis/timbre with great success to get nicely formatted and colored Clojure errors and stack traces.
Very valuable concept regurgitated with [flavour–of–the–year] Docker as the focus.

The article seems to portray Docker as the _cause_ of this anti–pattern without any sort of context for why Docker and not xyz or why not your implementation of xyz.
They also publicly display everything you do with it.
The point is things got worse from iPhone 5 -> 6 .. the case got less resilient. So its a downgrade.
The Youtube video made by the guy who bends the 6 Plus with his hands shows that the weak point is at the volume slot. I think its a bit disappointing that ConsumerReports didn't go into more detail.
Luckily you're a programmer, and can easily change a python script!
Everything in life is kind of arbitrary. We apply meaning to events. There are certain events that we apply special meaning to. The first day of school is bigger for parents than kids. Its a sign of their child growing up. But I had a friend who played basketball. His dad never came to see him play through about 100 HS games because of work. To him these were milestones, and to this day (20 years later) he holds this against his dad.
clBLAS
Maybe we wouldn't have so many enemies if we didn't keep so many secrets.
Galaxy S5 is as well.
I would like to second a lot of you're thinking here. I know it's a bit cliched to bring up rails, but I believe this is why a lot of the magic trips people up. It seems to me that the higher level the abstraction the more you end up NEEDING to know about it as you start straying from the tutorials. Nobody cares how puts gets text to the screen, but it doesn't take long before all the magic relationship and routing stuff becomes nagging issue, particularly for new comers and non full-timers. And thus, micro frameworks are becoming super popular for many and especially those jumping between languages/ecosystems regularly.

Also, open source projects could seriously do with some dev docs. A UML diagram or two wouldn't hurt either.
Standing Desks for Schoolkids Make Fitter Adults
The timing of this and the wording of their announcement leads me to think that they weren't included in the select group of people who are brought up to speed with the Xen security update before it's released.

The next question then is, who does have access to this? It definitely needs to be kept wrapped-up at least until the large vendors are patched, but who gets to decide who's a large vendor?
MOCL is garbage, commercial garbage at that.
No thanks.
No, iPhone's A8 is optimized for single-core performance, which is way more meaningful in real applications than combined multi-core performance. 99% of apps run on single core. Although, A8's combined multi-core performance is also on par with other high-end smartphones.

See comparison to SGS5 in Geekbench 3: http://www.phonesreview.co.uk/wp-content/phoneimages/iPhone-...
It means you can damage it with human scale strength. That's an important durability criteria. If you want something that will outlast cows, you make it stronger than a cow. Likewise for any animal or desired user. Humans are not a special exception in engineering terms. That's why roads aren't made of paper and golf gloves should last more than a couple swings. Likewise a phone should be able to handle reasonable human uses.
I often question the wisdom of breaking things down into micro functions. Usually when I'm delving into a Ruby code base where they have taken DRY to the extreme(I'm looking at you Chef). There is so much indirection occurring in the most basic of operations that it becomes a huge PITA trying to get your head around what's happening. An IDE that could interpose the source in the method call could be handy in such situations... I also feel that people conflate duplicating code with duplicating behaviour, which is what DRY is really about.
My biggest issue with Apple's response is they have not revealed their policy on what will happen if I come into apple care with a malformed phone. Will they blame me for putting it in my pocket wrong...or assure me that they can either replace it or give me some kind of case that lessens the risk of curving
In the show, one of the characters works for TI, so has access to all kinds of internal tools for the task. Its not unrealistic to imagine they could do it; details were omitted though, as to how they did it.
I can choose not to bend/break my phone with my bare hands. That's good enough for me.
You can do more than 18 years obligation free. It's just people want more money.

I'd argue we have it backwards. More free time as we get older and more structure when we're younger. Not 100% scheduled, but not loafing around all day.
Have you actually looked at how Google Analytics tracks users?

It's very straight forward, nothing like almost anything on this list.
A simple mechanism to introduce delays between similar jobs
Nokia Lumia 900(Windows Phone 7.8)

and I am very disappointed.
The Xen pre-disclosure list is public, and Rackspace is on it:

http://www.xenproject.org/security-policy.html

They also spell out the policy for who is eligible.
Ideas about a new programming language for games
Lol, we actually tested this in the office after seeing this. The glaxaxy and htc one is considerably harder to bend. I sit on my HTC every day in my back pocket, which is a lot mor repetive stress that an iPhone bending in your front pocket.
Who's afraid of bromine?
Thanks for the link. Given that Amazon was notifying customers as early as two days ago, we can assume that Rackspace received notification from Xen at least two days ago. They waited until Friday night to announce this? Awful.
Non-numerical evaluations make much more sense.

It's funny how most of the good universities in the US started out as being explicitly Christian, but over the last couple centuries the Christianity has been pretty much wholesale replaced with numerology -- student grades, teacher evaluations, impact factors, statistical significance, etc. The entire system is built upon the worship of numbers, and every phenomenon is assigned some sort of numerical value (to of course be aggregated and statistically 'analyzed') even if it's plainly non-quantitative in nature.

You've got to wonder whether this is some sort of temporary societal blind spot, or whether this ideology is so toxic and so subtle and complex to refute that it will just be around forever as the endpoint of scientific history.
I'm talking about companies selling products (or services), not about companies giving out content for free.

Facebook is a feed-reader (and many other things rolled into one). Not a good place to sell, that's my point.
Sounds like it'd be a good idea to perform a deliberate reboot during off-peak hours and preemptively fix any issues.
Phabricator offers this functionality via it's blame feature and shades of green

https://secure.phabricator.com/diffusion/ARC/browse/master/s...
Sure, before I knew how to write maintainable code. Before I cared to understand my own code months later.

My first best-seller was Apple Writer (1979) (http://en.wikipedia.org/wiki/Apple_Writer), written in assembly language. Even then I tried to create structure and namespaces where none existed, with modest success.
I don't think apple would ever influence online content to say that they are not as bendy. That would be unfair. Give them a break guys! Consumer report isnt making any money on this.
The problem is a bit more subtle than that. If you're highly vested into the iOS ecosystem, and you need a new phone, you want to get the latest and greatest, but the 6 is just too big for some people.

My wife and I stopped in the Apple store today, and she saw the 6 and 6+ for the first time. She has a 4s (4.5") vs the iP6 @ 5.4" is quite large by comparison. "Nope, too big. I want the same size as mine but that thin" was all she had to say about it. It's a bit sad that her 4s is starting to show its age, and instead of a 6 she's likely get a 5s instead.

I think a lot of people are wishing for a 5-sized 6. I'm hoping my 5 will last two more years and that Apple will have a new release by then that's < 5".
Lol My Thesis: 2,640 sarcastic submissions and counting