skysight-inc/HackerNews huggingface dataset:
I'd put it a little differently: it's the job of the prosecutor to ensure that public order is upheld. Americans tend to get distracted by the ambiguous notion of "justice" and what is or isn't "just" (even when the two are orthogonal).

Justice is for the courts to decide, not the prosecutor. But whether enforcing a law serves to uphold the public order is up to the prosecutor. And enforcing bullshit laws is just as problematic as being inconsistent in what laws you do enforce.
I have a dream that one day this nation will rise up and live out the true meaning of its creed: "We hold these truths to be self-evident, that all men are created equal."

...

I have a dream that my four little children will one day live in a nation where they will not be judged by the color of their skin, but by the content of their character.

...

Except for black people... who are innocent without capable of being guilty. And Chinese who deserve a 10% increase in jail-time for being better at math. White people deserve a minimum sentence of 5 years, hard labor, for millenia of whiteprivildge.
> Judges and juries are only allowed to be the same race as the defendant.

So if a white cop shoots a black person and is arrested for it, the judge and jury should all be white? Sounds about right.

They do say "jury of your peers", so a jury of white cops would be ideal in this case.
"The state is not business friendly"

90% of times when people say this, they mean that business is not allowed to run roughshod over anything it wants.
What work? There are no jobs in Bumfuck, and not enough companies that hire remote workers for this to scale.

As i understand it, the situation in the US is that there is Silicon Valley, where the salaries are high and the rents higher, and then half a dozen other places where there are significant concentrations of software jobs, and more reasonable living costs.

This is not really the case in the UK. There's London, there's a ring of big corporate offices just outside London (Guildford, Cheshunt, places like that), and that's more or less it. You pretty much need to live in London or its commuter belt to work non-remotely in software.
I have a bunch of little open source, public service sorts of things too

Don't know what I'm going to do with them. They're useless if they're not up 24/7, but I can't justify wasting $84 a year on them either.
Not the op but I'll comment on this. I have no degree. I have applied to all of the big names and never got any further than a rejection email (even that is rare).
I get interviews from startups and medium size companies so my resume can't be that awful, and I know they aren't looking at my portfolio or repos (because that can be easily verified).
It would seem small businesses disagree with you.

http://techcrunch.com/2010/03/17/complaints-against-yelps-ex...

http://arstechnica.com/business/2014/04/yelp-stock-falls-as-...

http://www.latimes.com/business/la-fi-lazarus-20140404-colum...
Yep, we had a bit of a brouhaha over the original update to our patents file and clarified the language afterwards, I think it's a bit more straightforward now!
Let's just hope that when they do die, their link database is given to archive.org - http://www.archiveteam.org/index.php?title=URLTeam#Dead_or_B...

URL shorteners are a terrible idea.
On that note, when I went to the page, I thought I was on Lexus's site, because of the huge ad at the top of the page.
Thanks for the explanation! I'm not sure I personally want to rely on semantic versioning, but if you have a hierarchy of dependencies like that I see how that would be pretty useful.
I think this is a duplicate: https://news.ycombinator.com/item?id=9490843
> Mobile is here to stay. It will keep morphing and completely remove desktop computing as we know it. The same way desktop computers removed mainframes and terminals.

We've largely circled back to the mainframe/terminal model, except with a prettier face. Your mobile device is the terminal, and the server cloud is the mainframe.
Social Media Reactions to U.K Election
Matthew Flannery, co-founder of Kiva.org, Announces Branch.co
It's true, as others have explained, that for many of the most common uses of macros, you can get the same effect with a higher-order function.

But since macros operate at the syntax level, they can do things functions can't do. For example, they can generate and manipulate declarations. Say you're working with abstract syntax trees (assembly trees in a CAD app might be another example). These trees are built from nodes, where each node is of some class corresponding to a syntactic construct: if-statement, addition-expression, etc. etc. There's some functionality you want to have on every node class; a common example is a "children" method that gathers up all the node's child slots into a set and returns it. It is very convenient to have a 'define-node-class' macro that automatically generates the 'children' method, so that when you add a child slot, the method is updated automatically; there's no need for manual effort to keep them in sync.

In this case, the macro is expanding to multiple top-level declarations: the class declaration along with the method declaration (probably, in practice, several methods). Higher-order functions don't begin to let you do stuff like this.
Show HN: Daily Curated news for designers
Better, make a script that sends that back as a packet to every government IP that attempts a connection with your computer. Eventually, somebody is going to look at a logfile.
I agree that in the majority of cases it will cause bugs. But what I'm saying is that there are cases where it can legitimately not cause a bug.

The problem I have is this: this testing framework explicitly states the following:

> The quality of your tests can be gauged from the percentage of mutations killed

So, you write your tests to test that there is a consistent ordering, it changes the "<" to a ">", finds that all tests still pass (because, as you said, you're only testing if there is a consistent ordering, because that's the only thing that matters in this case), and considers your tests lower-quality because of that.

This is a flaw most mutation testing - and, for that matter, test driven design - suffers.

For another flaw: there are many things that end up along the lines of a bunch of shortcut "fast paths" at the start, with a slow path at the end that does slow but exhaustive checking.

For example, if you're checking that two objects are equal you may insert a check at the start to see if they are the same pointer, and if so return `true`. If you're doing division in software you may check if you're dividing by 1 instead of doing the computation. That sort of thing.

Any mutation that introduces false negatives into the shortcuts (but no false positives) won't be flagged by mutation testing.
Meh: http://quoderat.megginson.com/2007/01/03/all-markup-ends-up-...
> Sounds like real names have power, then, no?

It does prevent honest feedback. What's the value in using your real name? As a user I get zero benefit/upside from it, and huge potential downside.
Do you get paid by the hour? If not, why does having work life balance mean you can't have a nice condo in a major city?
افكار رائعه للتخزين بالمطبخ
Macros are what made lisp, not parentheses.

The parentheses are huge, though. It enables "Code is data" and "Data is code" in a powerful way.

About Lisp, people always say "Macros are great" and "Code is data" and "Data is code", but it's hard to see what they mean without good examples. I mean, you can write code that writes code in any language that has a `print` statement. And obviously code is data, so what is that aside from some pseudo-philosophic BS?

There's a lot of discussion in this thread about macros - so here's an example of Code and Data Being One, for those that are unconvinced. I hope it'll shed some light.

I have a slang dictionary website. It's backed by a database now, but it used to be statically-generated HTML. I represented the data as XML. It looked something like this:

<Term term="slick">
<PartOfSpeech pos="adj">
<Definition>
impressive.
</Definition>
<Definition>
smart.
</Definition>
</PartOfSpeech>
</Term>

So then I needed an XML parser to parse the data. Maybe it parsed the XML into a object model that the code would navigate and output the appropriate HTML. Or maybe the code got callbacks according to node type and would output the appropriate HTML then.

XML is a pretty verbose format, so - this being a Lisp example - we could probably save some typing if we represented the data as an S-expression. The above XML would become something like this:

(Term "slick"
(PartOfSpeech "adj"
(Definition
"impressive."
)
(Definition
"smart."
)
)
)

But that's an idiosyncratic style.

So, let's lowercase the node types, use hyphens rather than camelCase, and remove the unnecessary line breaks. Now the data looks like this:

(term "slick"
(part-of-speech "adj"
(definition "impressive.")
(definition "smart.")))

Great. We've got our data.

Now we need to write the Lisp code to convert that S-expression data into the appropriate HTML output.

We'll need some Lisp functions to handle the nodes and their attributes (such as the definition text and part of speech) and write the HTML for them. We could use an S-expression parser library to load the data, and then walk through it and call those functions. But that's not necessarily the best way. We can simplify it by creating exactly 3 functions that take some arguments and output HTML: term, part-of-speech, and definition.

Since Lisp code is - like the data - also represented as S-expressions, once we've written those 3 functions, the data is literally executable Lisp code.
> What we value is brevity, but basic information theory tells we can only make expressing some things more terse by making others more verbose.

But the reverse is not necessarily true. It's possible for a badly-designed serialization format to be longer in all cases than some other format.

And, in particular, I suspect that for the same data, XML is longer in all cases than S expressions.
Yeah, that case would be simple. But I'm thinking more about the plots that had half of their land move a couple feet, while the other half remains stationary.

Before: After:
--------o-------- --------o--------
| o | | o |
| Hatfld o McCoy | | Hatfld o McCoy |
| o | | o |
| o | | o |
--------o-------- --------o--------

(the o's are the block wall)

Do the McCoys now own half that wall? What if their house was in the top half of the property, and their driveway was along the western edge of the bottom half? Keeping old property shapes would allow them to re-pour a new driveway to line up with the garage, but first they have to demolish the the Hatfields' stupid wall.

BTW, this is gold:

> ...most people see problems as tools they can use as a reason to talk to other people.

I hope my choice of plot labels signals my agreement
Record Number Give Up U.S. Citizenship
The Secret Service is routinely called in for complicated computer crime cases; they are historically the federal government's computer crimes expertise center.

The fact that the case was prosecuted federally is notable, but the USSS's involvement isn't.
The point of piping is that output shouldn't ever be as complicated as this...
Dye-sensitized solar cell
Do you know if the attaching to a remote instance is available in Racket? I spent some time learning racket a year or two ago, but was under the impression they took out some of the really cool features (or I never discovered them)
Can you (or anyone else who feels the same way) elaborate on that?
How did the housing crisis affect millenials?
The Secret Sauce of Silicon Valley
Why is our first response to new technology one of fear? This is a device designed to find alien life, the article is about it being used to save human lives, but all you see is a tool to find and attack you.

This isn't meant personally; you see this "Dystopia ex Technology" in Hollywood movies and popular novels. For every "Pacific Rim" we have, there's several "Matrix" clones ready to tear down our confidence in machines.
Timeline of Emerging Science and Technology: A visual framework [pdf]
Docker executes builds as root which provides a build the opportunity to escape the container and become root on the host machine. In containerfactory.io's current hosted setup, there are no guarantees that the machine an image is being built on hasn't already been compromised by a previous build. Quay.io has traditionally worked around this problem by patching user namespaces into docker, but they come with their own set of incompatibilities. As a result, we have found the best solution is to never trust the build machines given the risk of credentials being taken or builds being manipulated. Hosting your own copy completely avoids this issue, if you trust the people you work with ;)
I know Yelp gets a lot of criticism (and some of it deservedly), but I always respected how they did their best to provide an honest platform for reviews. Compared to other competitor sites (Ex: CitySearch, which basically allowed & many times encouraged businesses to post their own fake reviews on their own companies), I think Yelp is very ahead of the pack.
I think the answer to this scenario is simpler. Tell them, "Sorry, God just screwed you out of 1/4 of your land. Man that must suck. At least your property taxes will be reduced!"
I'm relatively sure Google doesn't look at resumes for initial screening. They do work samples: http://www.wired.com/2015/04/hire-like-google/
I was thinking X-Men. In the last movie, didn't they have robots to detect mutants underground? LOL.
The goal is not to prevent lying, it's the find people who are good a particular job. This is not the same set of people who are good at writing an entirely truthful, impressive resume. There's some overlap but not as much as I would have guessed.
I think we're trying to say the same thing. I am not suggesting that anyone should need supernormal amounts of merit to escape their condition.
Just go via websites, travel to few conferences and you're all set.
Imagine this insanely fast drone hunting you down
SwiftKey's new Android Keyboard built using Clojure
Mozilla’s Mitchell Baker offers alternatives to zero-rating like Internet.org
One thing I think the state of California does very well (where De Anza is located), is the transition from community college to world-leading universities (Ex: UC Berkeley, etc.) is very good (I think much better than other states). I knew many students who attended a community college for 2 years, and then went to UCLA or Berkeley (the college admissions seem very open to this), and they ended up saving money and doing very well after.
Google Ready to Give Android Users More Privacy Controls
There's a twitter guy[1] whose entire raison d’être is to "save you a click" by giving you the gist. Problem is, there is nearly an infinite supply of these articles.

For example, here's a recent tweet of his:

Top 5: Warby Parker, Apple, Alibaba,
Google, Instagram. RT @FastCompany:
The most innovative companies of 2015:

[1] https://twitter.com/SavedYouAClick
I was never a flickr user, but I was always impressed by the devotion of those who were. I rarely encountered passive flickr users — they were always deeply in to it. The growing frustration with the neglect of the service seemed logical with such a devoted core userbase.

I'd be really curious to hear from someone who was part of that loyal following. This really doesn't grab me — but how does it look to someone who used to be a core user?
"Gone are the days of having to create albums,"
says Aditya Kashyap, the product lead for Camera
Roll. "We’re doing the hard work for you."

I guess Flickr really is abandoning pros and pro-ams. That's a pity, especially given that 500px still feels really cliquey.
Yeah. If someone passionately wants to, say, write code for robotics, they might commit to their employer if they work at, say, Boston Dynamics.

But yes, Zenefits is a relatively bad example for this kind of passion, I assume.
Hope support for R-markdown is next!
Suicidal depression can be intractable, and we should be careful about assertions of how avoidable any given suicide is. This is a motherfucker of a group of diseases we're talking about.
The Earl Grey programming language
same problem here. need to make it aware of my aliases :\
ages ago @zo1, I do see similar problems now if I shift from *nux/vim toolchain to win/idle which by default uses 'Python standard: 4 spaces!' but still throws random format error parsing on default code edits.

I don't like the fact python code stops working randomly if I write it in one environment then touch (edit) in another. Never have this problem with C or JS.
Turn any phone into a megaphone using your smartwatch
I know a few people that upload all their photos to flickr.
Browsing albums is great and sharing them except for the occasional "Forbes style ads" that come up.

But for 1 TB free space, a few ads seem to make sense.

I personally use icloud because it's seamless and I don't have to think about it.
My photos get uploaded to Dropbox as well.
But still I don't feel like there is one authoritative place I can go to access all my photos.

Most people i know still store their photos on their local PC with no backup.

It's a problem people have but not pressing enough to address it immediately.
You can't list those first three things and then also -in the last one. The last one encompasses the first three.
You're accusing Hal Abelson of deliberately deceiving the public? Or is there a better way to interpret what you wrote?
Part of the point of jury-of-your-peers trials is so people can use their biases to make subjective decisions based on their life experience. The tone/inflection/appearance of the defendant plays into all of that. What you are suggesting would eliminate that. Why have juries at all, then?
I find myself wary of these types of articles.

As people become desensitized to clicking on ads, these articles seem to be the new ads.
You're missing the point. You're absolutely right that "consent" is only _technically_ present when the alternative is something terrible, but the flaw is in blaming the less-bad alternative.

To use your example, if I force you out of your house at gunpoint and you're forced to live under a freeway, the problem isn't "this overpass isn't a very nice place to live", the problem is _the guy holding you at gunpoint_. (That example is trivially modifiable to describe homelessness: the real problem is the lack of adequate housing provided to those who can't afford it).

In the case of Uber, the problem is not that Uber is provided an alternative means of employment that's suboptimal, it's that people are forced into taking what they can get because our social safety net is such garbage.
I'm 57 and still programming for a living. Currently I'm involved with a startup building an iOS app, and am building am Apple Watch app on the site. I've been programmimg for 41 years, starting in high school with FORTRAN IV and IBM mainframes, then PDP-11 minicomputers in BASIC and assembly, then the Apple II and 6502 assembly. And then all the other hot technologies of the decades - Windows 3.1/C, Mac/C, .Net, C#, ActionScript/Flash, Java, and now Objective-C and Swift. Did some short stints with COBOL and RPG-II, Lisp, Prolog, and even Forth.

I had no problems securing the position I have now, and last year, while looking for full-time work, recruiters who were less than half my age were interviewing me, and i did get to some initial phone interviews. I didn't see any evidence of ageism - not from recruiters and not from companies interested in speaking initially on the phone with me.

I think what really helps is to be current in the technologies, be a self-starting continuous learner, never being afraid to try something new and different, and demonstrating exactly how you can add value to any employer or client who's interested in you. Knowing more than tech is hugely important: You have to have outstanding social and emotional skills as well.

I intend to program until my last day on this planet. Can't think of a better vocation and avocation - to start with a blank IDE screen and, after a few weeks or months, have an application working for a client or fielded in the market.

So, don't despair, focus on all the other experiences you've accumulated, and demonstrate - don't just tell about - your abilities and how hiring you would add value to any organization.
You omitted that from your comment, but I agree. I was just pointing out the option, because it didn't sound as if you had tried it.

I did not mean to endorse anything.
I'm excited to see this. My big outstanding wish is reliable reduplication. My flickr is a mess of duplicate uploads from various attempts at organization and upload.
Interaction in a sense acts as a method of preventing over-fitting. If you can't interact and are given a fixed batch to learn from you can find trivial overfitted good predictive models (e.g. the identity model).

One way of reproducing this aspect of interactions is simply using standard ML techniques to prevent overfitting, such as cross validation.

There's another aspect that's more difficult to reproduce that is the "online learning" aspect of interactions. If you can interact, you can form hypothesis in real time, test and modify them. This can greatly enhance learning efficiency I suppose -- you may directly explore fails in your models and improve in an optimal way.

This aspect also might be reproduced I believe simply through a large enough dataset. The learner could be given some capability to explore this dataset in a non-sequential way and look for informative results in it.

Interesting stuff.
Isn't "unconscious bias" merely humans using their instinctual bayesian reasoning systems as priors? I don't see how it's possible to eliminate that, nor that the outcome would necessarily be desirable. Educating people that there are certain biases they shouldn't bring into the courtroom is a proposed solution, but I don't think it gets us anywhere closer to the platonic ideal of objective justice. It just mucks with the bayesian priors in a way that favored activists desire.
That's pretty much the entire point - the upside is that there's a downside for writing bad review (and by 'bad review' I mean from an objective perspective - terribly written content, content doesn't match rating, etc. Not a negative review of the restaurant).
GOOPS[0] in guile is definitely hugely inspired by CLOS, which also has generic functions with multi-method dispatch.

I highly recommend guile to anyone who wants the battery included nature of common lisp. I know that racket is also a great choice here, I just have little experience with it.
> An example is any instance of language extension where, say, the maintainers of the compiler for a functional language have to ship a new compiler to the users to get them to use the new feature.

> Functional languages with lazy evaluation are not finished, right? They are developed actively.

Agreed, they are actively developed.

Correct me if I'm wrong, but you seem to be saying "many interesting features can be implemented in a Lisp language with a macro, therefore Lisp programmers don't need to wait for a new release of their programming language when they want these features".

I'm not convinced this is the case, or rather, that this is such a relevant case. Aren't Lisps actively developed too? Why is there such a multitude of Lisp implementations? Is any relevant real-world feature truly implementable with Lisp macros? Why is that more convenient than implementing them with functions in languages with lazy evaluation?

Maybe I'm falling prey to the Blub paradox. I'm only passingly familiar with Racket, thanks to a course in Coursera, where they introduce macros and why they are so powerful in Lisp. But I still don't see the compelling "killer example"...
You can also check this one http://defaultproject.com/ Based on Goji and Mongo.

This site uses it http://gifuk.com/
gb doesn't know which ranges of versions for dependencies and transitive dependencies are compatible with each other.