skysight-inc/HackerNews huggingface dataset:
Write a relatively complex system without any external code and, preferably, without any previous training...

It will suck, it will break, and eventually, it will be near impossible to add or change anything at all. But you will have experienced what the patterns n' principles authors (better) have and, I bet, even "accidentally" used a few of them.

In my opinion, design principle = minimize dependency. Oh and, if you do follow my suggestion, use a language that isn't object oriented... at the least you will, like me, wonder why "object-oriented something" isn't explicitly defined by gof elsewhere and, at better, might "accidentally" implement some sort of custom object system

I am gonna go ahead and say it... REINVENTING THE WHEEL IS A GOOD AND NECESSARY THING... if done for the right reasons, in the right circumstances...
Dominant players over time
I wasn't aware that if you decided to rent some of your property, that you had to do so in perpetuity until the end of time. Did rental agreements 50 years ago not include a right of termination for both parties? Did they not need to be renewed annually like virtually all do now? Or are they only doing this because they want her out a few months earlier than agreed?
http://landoflisp.com/ is a nicely informal book on learning lisp that is easy to get into. Pretty sure I've seen it highlighted here a few times.
>Honestly, I'm not sure that police involvement for this stuff is a bad thing. Schools are no longer equipped to handle violence between students, and it's questionable whether they ever were.

I don't know, they are perfecty fine to "handle violence between students" in Western Europe, and without metal detectors and police on site.

Perhaps it's time for the society to recheck it's course, instead of throwing jail time at the problem?
This is so awesome. I'd like to see similar for golf, cycling, baseball ...
Maybe it would be cool to improve upon flex/bison/jison and make it easier for everyone to create or modify the programming language of their choice with platform plugins that let people connect their own programming language to the platform of their choice (JVM, .Net, straight up compiled into a binary). I'm really mostly thinking about syntax of the language really, but you could go further and customize the typing system and how scopes work and go all the way down the rabbit hole as much as you want. As long as the underlying base system is there, and it runs on the things you want it to run on, it would be fine.

Basically: Custom language -> some intermediary form which would probably end up having some restrictions on language design -> to the thing you want it to run on.
I find it interesting that I know no one in any of my immediate or extended family who has ever been arrested and I'm 62 years old. The closest I ever had that happening to me is when I was 20 and didn't know I was breaking a law* .

I'm no preacher's kid. I just live my life and try to enjoy myself. I don't bother anyone even when others bother me. I just don't get it.

* I was working at a place that went on strike. Picketers took our picture when we walked into the building so they could show who was crossing their line. To be funny, one morning I took their picture. They called the police to say I was harassing them. One young, rookie cop came in ready to haul me off until his sergeant showed up and had a conference with my boss.
I'd go with MAMP (or XAMPP, both are solid). Everything is configured out of the box for the most part, so you shouldn't run into any sysadmin issues. If you go the manual route, you'll be spending a lot of time configuring .ini files, ports, and other crap that takes from your development time!
They wrote that they use "Clozure Common Lisp compiler" [1]

[1] http://ccl.clozure.com/
If you'd like to download the raw data that this study is based on, I think you can grab it here: https://www.nlsinfo.org/investigator/pages/search.jsp?s=NLSY...

It's a fairly convoluted set of forms you have to work your way through, but in the end you can download a CSV that includes the arrest counts (or a ton of other variables) for all of the nearly 9k people in the study (although not all of them continued to submit data to the survey through the years).

More about the National Longitudinal Survey of Youth 1997 (NLSY97): http://www.nlsinfo.org/content/cohorts/nlsy97
It's not a loophole.
Lyft defies New York City taxi agency’s ban, to launch Friday
The thing is that there is no competition to Dropbox that works equally well. It's like saying 'BMW is feeling the heat from all those Dacia's being sold'. No they're not, they're in different markets, providing a premium product for a premium price. People who care about 10$ / month for something that they presumably use every day are customers you need to drop asap anyway.
Rental agreements carry a no-fault termination option or option to elect to not renew after the lease has expired virtually everywhere in the US except California (and New York City, maybe?), where tenant's rights legislation is very, very toothy.

It is largely an artifact of rent control. You can't have effective rent control if a market for the use of the property exists, so rent-controlled jurisdictions respond by making markets illegal. (And then they are shocked, shocked when they fail to clear.)
Judge was misled by MS; they implied No-IP were witting participants in malware distribution, which MS have now admitted was not true.

I'm surprised they accepted a settlement. 8 digits?
AFAIK they're not showing health results at all anymore because of the FDA decision.
It's the spanish word that means 'socket'.
Thanks for the feedback, we'll push some fixes for the orientation bug tonight
Anyone want to summarize for this novice what this means for me, if anything? Do I still need to go out and buy a cert?
That was my first Lisp book 30 years ago already.
that's what we've done with our API: we have a meta-resource /multi that takes in an ordered array of Request objects, each with a URI, (HTTP)Method, and Parameters. The /multi service then splits these Requests out, sends them off to the "real" server in order (GETs, of course, being parallelizable when next to each other in the provided order), and then composes the responses back into one array of Response objects which gets passed back to the client.

It's honestly amazing to work with, as we can be very strict about our separation of concerns on the backend, while letting the frontend combine bits and pieces as makes sense for a given client interface.
I think its very clever. I really like how your example takes me through the steps first, then asks to sign me up for an account.

Much better than asking to create an account first, then walk me through the app.
RWO does an excellent job in introducing OCaml's main features in a simple and pragmatic way. It really does show the strength of the language and demonstrates the building blocks one can use to write high quality software.

One aspect that I think could be explored deeper is how to architecture complex applications with the language. How the module system can be used to build abstractions and protocols for not-trivial systems? For example how one could build a database with it, or even an operating system? I'm in the process of learning OCaml and what is really difficult for me is to understand what are the most idiomatic and efficient ways of modelling application domains. Although there are many open-source projects one can learn from (like JaneStreet's libraries, Nymote sub-projects, etc), the concepts and practices they use are sometimes hard to understand just reading the source.
This example doesn't need a right to be forgotten, it needs a right to not be noted in the first place.

For arrests w/o conviction, the person has done nothing that would justify a violation of his privacy - what right or excuse could there be to allow the police to publish their names or other personally identifiable info in the first place? Especially for minors (as for the curfew issues)?

You need to keep the private info private, that's it.
Tolstoy, we're almost halfway there.
In scale of awesomeness, 99.9% of silicon valley is closer to "Goldman Sachs" than "The Apollo Project" (if not below both). If a Goldman Sachs analyst spends his Christmas eve looking at charts, claiming he's furthering the wealth of mankind, you'd probably laugh.
of course not, you do it every month or so through proxy voting...

seriously though, wouldn't it be considered a gift? if so and my thinking is correct and gifts are taxable then... just be sure to pay your taxes
I'm not one of the best programmers in the world, no shock there.

I'm learning and enjoying clojure, though!
xkcd 364 is close: https://xkcd.com/364/
Related: http://www.ted.com/talks/amanda_palmer_the_art_of_asking

The people's responses to the comment are telling. The Kickstarter said he'd make a potato salad. He probably has. He asked, and people gave, why do people rage about this? It just so happened that lots of people thought it was funny / wanted to give money / whatever. Who cares? The proverbial you could have thought of it too.

I don't understand the stink people have over this :/
Dwarf Fortress 0.40.02 (July 10, 2014)
These are really not very strong arguments:

Prong Design (probably the strongest of the bunch): I'll grant that it is possible to accidentally electrocute oneself with North American plugs, but I've never heard of this happening to anyone in real life. I'd be curious to know how many injuries or deaths can actually be attributed to this design before declaring the extra complication and expense of the British design to be worth the trouble.

Socket Design: We have shuttered outlets in the US, too, and they work the same way. Sure, not every building has them (particularly old buildings), but they are available at any hardware store and easy to install. In any case, shuttered outlets are not specific to the the British plug.

Built-in Fuses: This really had me scratching my head. How is it a good thing that English houses don't have fuses to protect the infrastructure? What happens when a wire shorts inside the wall? Don't worry! Your vacuum cleaner will be completely safe as your house is burning to the ground around it! Maybe the author just didn't express his point very well, but this frankly sounds downright dangerous.

Circuit Design: This is a standard feature on the regular NEMA 5-15 plugs we use in the US (at least for the replacement plugs you can buy at the hardware store). The lug for the ground pin is closer to the cord end so that the ground wire will have more slack than the live and neutral wires. Again, not specific to British plugs.
The Run Rate Trap
The problem is you don't want to generate all the DOM nodes with a long list, ideally you want to have only the visible ones created.

On iOS for example, the default implementation of table, UITableView does this by reusing cells which are no longer in view to show new cells.

On web, there are some libraries that do this (airbnb had one I think, implementations for react, angular etc can be found too) but there is no clear winner.
http://levine.sscnet.ucla.edu/general/intellectual/againstfi...
Cruise (YC W14) is hiring robotics engineers
I built some of those early prototype lights. It was nothing remotely close to cost effective at the time, but I was doing a lot of work with LEDs and thought it would be interesting to see how the power consumption and heat management problems would improve using LEDs. It was enough to convince me that LED grow lights were absolutely the way of the future.

Now that cannabis growing is legal here in Washington, though, it will be interesting to see whether outdoor growing can compete. The advantage of being able to precisely control your plant's growth cycle is pretty significant even compared to getting your power for free from the sun.
As mentioned elsewhere, the journal article on which this is based specifically found that the difference in rates among women was not significant enough to make a statement about women arrest rates based on race. So the data provided in this article are based on a restricted sample size and it is challenging to make statements about the overall population saying that "white females are arrested at a higher rate than black females". That might be true but we simply can't be confident in saying that that is true unless more data is gathered. Speculation on why such a difference could occur is harder still.
How about, so long labels and snake oil, hello independent thought.

Work out a process that suits your project and team members, evolve, drop the buzz.
Show HN: My debut iOS game – Pixel Burger
I think the comparison is absolutely essential. I always want a guide to the resources about a topic so that I can find out where to look to learn the way I want to learn.

But the judgment is probably strong. Right now, my immediate reason to learn OCaml is because Types and Programming Languages uses it for its type checkers. For that purpose, I might just want quicker tutorials that don't cover the runtime. Ditto if my primary goal is to learn more about using types for good API design. On the other hand, if I learn and continue with the language, or want to put it into production, the runtime is essential. There's lots of use cases out there.
Ask HN: Is it worth continuing my computer science degree?
Hey HN,

Pardon me if this has been asked before but I am at a sort of crossroads in my life and would like some outside feedback.

I'm a (going into) 2nd year university student majoring in computer science. For the last 4 and a half years, I've self taught myself iOS development, web development, and a wide variety of other computer related topics. For over 3 years, I've been doing iOS consulting for multiple international companies and startups and have racked up a pretty sizeable portfolio for my age.

Recently I was choosing my courses for second year and became discouraged at the electives required to continue in the computer science program. I'm forced to take things that don't interest me like psychology, basic marketing, etc. This made me question whether it is even worth spending the money to get a degree when half of the work that I put in won't even be relating to my field.

In my consulting jobs I've worked with and kept up with individuals that have over 15 years of experience in the field with degrees. In addition, I feel like it could almost be better to consult for 3 more years and even land a full time tech job in my field instead of spending time at university. In addition, during these 3 years I could optimize for my specific niche: iOS development. However, I don't know if the jobs that I've worked at so far are because of my experience alone or the fact that I have experience and am "still in school".

Every adult that I talk to (all of whom have degrees) swear by them and say how they're such a great fallback but I'm having a hard time connecting the value, especially in the field of computer science. I suppose for more traditional jobs it would be beneficial but with the boom in startups lately, a degree is seldom necessary.

Essentially, is it worth continuing my degree?
Zócalo means socket, socle, or baseboard, depending on the context.

Socket is assumed if no context.

I have never heard of it used as 'tile'. A tile is 'baldoza'.
lxc is lighter weight. just like 5% page size saves millions in bandwidth. 5% cpu overhead saves in electricity and hardware costs. Assuming all other things being equal (I know they aren't - but security, tooling, and management can be improved) vmware has inherent overhead of the hypervisor that's not an issue with lxc.
Google's official Webmaster Central blog actually lists out a very good & SEO-friendly method of setting up infinite scrolling that solves the core goal (retaining a scrolling position) of "scrollFrame" and doesn't require iFrames.

http://googlewebmastercentral.blogspot.ca/2014/02/infinite-s...
Well, sure, if all your programs need is the OS and common libraries, deployment is easy.

But this only restates the point. It's easy because those things are popular. Try deploying an executable that requires a shared library that you can't download with your package manager, and you're pretty much back into the same pain.

Using the C ABI helps if you want to link against other code that uses it, though it isn't strictly necessary (pretty much all these language implementations have foreign call mechanisms). But this is a development issue, not a deployment issue.

ECL does make it convenient to build standalone executables, but most CL implementations can also do this.
I don't know if it's disingenuous, but I'll agree that it may not be good marketing :-)
This view only makes sense if you believe one language is enough. One language that has it all figured out, one language that is the right solution for any task.

Even if such a language existed (be it Lisp or not), which is unrealistic, there is still a second aspect to the whole thing: programmers' brains. Different languages map differently to different kinds of brains, and that's a very good reason to explore multiple concepts in itself.

The Split is the natural way to explore a large search space using different strategies. It happens all over nature, and it's the way human-powered research works as well. Monocultures don't perform nearly as well. Yes, there is some effort wasted, but you can rarely ever come to an objective consensus where this waste actually occurs - except, typically, in hindsight.

Also, there is quite a bit of cross-pollination of ideas happening among different environments and languages, so advantageous traits do get passed around beyond their initial ecosystem.

I imagine cross compilers and common runtimes will get more popular, too, now that we have the processing power - and that's also a good strategy do deduplicate effort.

The only thing that really strikes me as a bad strategy is militantly advocating one programming language as the master race. You're not even doing the "pure" in-community a favor by denying that concepts from the outside world might occasionally be useful. Instead members are reduced to armchair criticism along the line of "yeah, nice library, but you didn't write it in Lisp, so at the end of the day nothing at all was achieved."
I wonder if it would be better opsec for security oriented companies to have policies that encourage employees not to reveal their employer. You have 3000+ karma with a significant posting history, which I think translates into an increased surface area for social engineering attacks.

The more someone knows about you the more they could either find a way through you into the company, and eventually on to the servers.

Like for instance you might reveal something in your posts that could be used to find out more about you online and eventually get access to your amazon account, or paypal account, or your gmail account and use this to get access to your work email or enough information to impersonate you or impersonate someone who pretends to know you, until eventually they get in and find access to things Silent Circle doesn't want people to access.

Relevant: http://xkcd.com/538/
As a latino, I don't want to hear someone saying 'tzacallow'
I like Land of Lisp, and I own the ebook+paperback, but I don't think that it's well suited to beginning programmers. I think the "let's make a game" approach actually works better for programmers who are coming from a different language and trying to understand concept translations, rather than novel concepts themselves.

edit : I can't reply to you, but re-read what I said. I am making the point that I believe Land of Lisp to be for people coming from other languages, whereas I think that "learn X the hard way" is better for people new to programming altogether.

The parent of my reply is pointing out to zedshaw that "Land of Lisp" is a good beginners book. I am adding that it's my opinion that it's a good "beginner at lisp" book, and not an overall "good-for-beginner-programmers" book.
Yes, but the correct interpretation of that is not that the variance is too small, but that the population is too small.

The correct conclusion to reach here (and appears to match what the study says) is that there is a huge gender gap, amongst males there is a statistically significant racial gap, and amongst females the sample size was too small to detect if a similar gap exists.

The female racial gap may not be statistically significant, so you can't say for sure if it is there, but it is possible that it is actually much more significant than the male racial gap. The article says there is "little race variation in arrest rates among females", which is not true. There is more variation than amongst the male population --it just might not be statistically significant.

At best you can say, "despite even bigger variance between races in the female arrest data, the sample of female arrests was too small for it to be conclusive".
for one thing, you are forgetting that people are human. this is what that workflow would more realisticly look like:

cd /yor/src/dir
bash: cd: /yor/src/dir: No such file or directory

examines closely to look for typo
cd /your/src/dir

<edit stuff>

git diff

git comit -m "edited stuff"
Did you mean this? git: 'comit' is not a git command. See 'git --help'.

Did you mean this?
commit
git commit -m "edited stuff"

I think this is enough to get the picture.
You nailed it with "The proverbial you could have thought of it too", people are just envious.
Cool stuff, is this Amazon's answer to Google Drive and Dropbox?
If it was a startup, the name would be fine. But it's amazon, and from a branding perspective, in terms of the cloud computing services they offer, zocalo just doesn't fit.

Amazon Web Services
Elastic Cloud Compute (EC2)
Simple Storage Service (S3)
Elastic Block Store (EBS)
Relational Database Service (RDS)
Amazon WorkSpaces.

And then there is Zocalo.

Sure, Elastic Beanstalk is less "enterprise professional" compared to the others, but the name is incredibly descriptive, they are comparing the service to a magical beanstalk that grows and grows, like with the service, your app will autoscale.

Zocalo doesn't have the "enterprise professional" sound of the major services, nor the descriptive nature of the more fun named services. So while it may not be _awful_, I have no qualms in saying it is not good.
well, the JVM is used in that way. So is the CLR in .Net.

But it sounds like you're implying another level of abstraction / interface that would be shared between the CLR and JVM etc.
I don't use this, but have used GitHub for Windows. I can see it being useful for those less technically inclined, or 'afraid' of the command line.

Personally, I don't have an issue with using the command line for Git, but I get by just fine with SourceTree.

It's helpful in visualising Git concepts with its tree graph, and I don't have to remember commands. I also realise this goes counter to the command-line culture of HN :)
Sounds like marketing and psychology could prove very useful in the long term. And a CS degree is great to cleanup the hands-on experience you have. So based on what you described, I'd say: yes, continue your degree.
The link says that is about a single provider. Just because Dropbox is more expensive than a competitor doesn't mean it's price discrimination.
I've had this idea too. I think this can be more than a VC perk though - maybe a marketplace that fosters equity swaps between early stage startups.
Yeah, I agree, I was probably too hard on LYAH. But, even if my goals didn't match your goals, I am hoping that the information I am giving you is sort of useful either way. The emphasis is really on the reasoning, rather than the conclusion.
Haha! If I'd known, I would have used that myself.