skysight-inc/HackerNews huggingface dataset:
I guess the mental block I have with Wolfram/Mathematica is that there's this feeling that you don't know how to do it until you know how to do it. As opposed to languages where you can learn a smaller number of principles and then use those principles to reason your way to how to do it.

Like, the third slide of the introduction:

Range[20]

Why not just something like List[1..20] ? Maybe List[1..20] works in Wolfram, but then it's weird that you have this Range function that serves no other purpose than to define a Range.

Same with NestList[f, x, 5]. I don't offhand know the way to create its output in something like Scala or Haskell but I imagine it's pretty concise, but meanwhile, in this case... if it's possible to get the effect without using NestList, then why use it? And if it's not possible to get the effect without using NestList, then how would you ever find out that you can use NestList?

It just seems like the actual programming experience would be a lot more about hunting-and-pecking through documentation and google searches, rather than reasoning your way to solution.

I'd love to hear from someone skilled with Wolfram to offer some clarity. Are you just basically thumbing through the documentation all the time to find that one perfect function call?
It's a somewhat artificial distinction, since the user of a piece of software becomes a developer to modify it.

And to preclude modifications which prevent him from effectively monetizing his labour is to infringe on his freedom.

Prehaps it would not be if money (etc.) didnt exist. It's always the way, however, with idealists to prescribe policies that make people free in their utopia but cause chaos in our reality.
As much as some of us may gripe, social conventions are usually established because they're for the best.

--

I slept and dreamt /
That life was joy.

I awoke and saw /
That life was duty.

I acted, and behold— /
Duty was joy. [0]

--

(Wish HN treated single line breaks appropriately.)

[0] http://workingwithwords.blogspot.com/2009/12/on-duty-and-joy...
That is genius. A huge market opportunity for sure.

The question is whether they have the economics right to earn a nice profit; could be tricky, but I guess if you do it day in and day out you get it dialed in pretty well.
Designs have been, but have actual chips been?
> What service did you render to Square to earn the payment you claim to deserve?

the service rendered was he made public the details of the invention. Whether Square read or did not choose to read the patent is beside the point.

> Did they get the idea for their product from your patent? Did they learn how to implement their process from patent?

You are assuming that Square did not read his patent - which if true suggests that Square inefficiently re-invented the wheel. You know, that whole standing on the shoulders of giants thing.

However, what we find happening lately is the concept of efficient infringement where large corporations have found it more cost effective to infringe and fight with their lawyer muscle than to pay inventors their due rights.
that is not real truthful..

As subsidies increased the upswing in HS students attending college happen..

1970s 25% HS students went to college

2000s 85% HS students went to college

Its not the subsidies that increased its the shear numbers of students per college campus increased beyond what the US state budgets for college could weather..

The correct term would be that US Federal subsidies had a side effect of de-funding public colleges at the State levels.
Underrated Marketing Tactics – Part 1
We registered with the FAA's drone registry so everyone could see how it works
There's no reason to expect a language like English which evolved organically to have an elegant or efficient design.
Yeah, whether I agree with it or not, I'm not suggesting he doesn't have a reasonable point to make. I'm just saying he's an asshole, and to some extent, that is working against his own goals.
It is there to measure engagement. People who click the "read more" link are measured as engaged readers, and people who don't are measured essentially as bounces.

I doubt that it is there for a usability reason. The browser window effectively hides content in a standard and predictable way. Additional content hiding rarely improves usability.
I'm curious about how you can deal with security/authentication in these SMS APIs. In theory, sending spoofed SMS messages to Trim would let you cancel someone else's sbuscriptions.
> And to preclude modifications which prevent him from effectively monetizing his labour is to infringe on his freedom.

This sounds a lot like the people saying that adblocker software is infringing the freedom of people trying to monetize their websites (or maybe even "stealing" from them). And I think the same response applies: the fact that your business model isn't compatible with adblocker software, or with my choice of software license, isn't my problem.

Plus it seems extra presumptuous to claim some kind of inherent right to profit off derivative works of my software. You can only distribute derivative works of it at all because I've granted you a license. A royalty-free one at that! With the only condition being the copyleft condition: that you keep any derived works as open as the original. If you don't like that condition, we can negotiate a commercial license on whatever terms you want, with appropriate payment. Or you can write your own software...
But it's not 100 LOC if you don't reinvent the wheel! /s
But it's not requiring Symfony.
Ideally, you'd want to keep RAW + JPEG. I'd be worried about reading some of the more obscure camera RAW formats in the far future. JPEG seems like a good backup (at the cost of the data loss you mentioned).
I dunno, I think bit shifting a string to write to a file is pretty unreadable, not to mention C already has rock-solid string formatting options. It's an miasma of operator abuse built into "hello world".
Not if you're in the company of people who like intractable game theory problems.
>Lots of off-the shelf "smart plugs" these days, with varying degrees of open-ness and convenience to their APIs

What are some good ones?

> Or for DIY, a cheap micro plus a opto-isolated relay board.

What does "micro" mean in this context? Microcontroller?
Yeah, it's not ideal. We are actively working on making it easier to do these kinds of things; it's not well documented, to be honest.
Personal opinion, obviously, but I also find Rails to be way too magical sometimes.
Tesla partners with Spotify for integrated in-car music system
Images are broken in GitHub emails because cloud-to-butt extension went rogue
NL 100K euros.

http://www.dnb.nl/over-dnb/de-consument-en-dnb/de-consument-...

Subject to some fine print so it can take some work to get your accounts set up in such a way that you would qualify.

Bank mergers are a risk to be aware of here.
Nothing in GPL prevents monetization, this is one of the major myths. I assume your one of those people that believes it is impossible to make money off "free" code

Further it is not about developer not making money off his/her code, but not exploiting the work of others with and denying follow on developers the work of others.
How the online hate mob set its sights on me
Shopify gave it's employees $1m to spend on Shopify stores
i like http://www.mkdocs.org, it's also python based.
You're generalizing in just the same way that the GP is. Whether learning to read and write is a chore or an enjoyable pursuit at that age varies from kid to kid. If it's an enjoyable pursuit, that's great. If it's a chore, then forcing that kid to do it because of some arbitrary standard applied to all kids might end up being a net negative. The gains from being able to read and write earlier might be outweighed by increased negative feelings associated with learning and teachers and school. As the OP said, this can cause students to become disengaged and actually fall behind others with whom a more patient approach was taken. It's basically a form of burnout, before the poor kids even reach double digits.
Show HN: Geminee – Transfer files between colocated devices
Hi HN,

I noticed I often have the need to send files or urls between devices (of myself and others) which are within arms reach, so I decided to build something which allows me to do just that: geminee. Of course I hope this isn't of use to just myself but to others as well, so I welcome you to try geminee at https://gemin.ee . If you want to read more about it first you can also have a look at https://about.gemin.ee . I'm hoping to receive feedback and am happy to answer any questions!

Thanks!

// Also, a previous discussion ( https://news.ycombinator.com/item?id=10733534 ) was around the time of the Geminids meteor shower, but unfortunately it went somewhat unnoticed.
There was such a thing as a mechanical television:

https://en.wikipedia.org/wiki/Mechanical_television
See my response to soylentcola
When we tried using clang for Android compiling C++ code half a year ago it caused problems, which disappeared when we switched to GCC.

> If you have problems with Clang, please file bugs!

Filing compiler bugs is really hard with a closed source project.
If you have the design, and you have access to FPGAs, I'd say that's got you pretty close already.

Edit: We were talking about CPUs, not complete systems. And yes, the performance would be poor, but RMS has already strongly established that in his book performance is a distant runner-up to free.
I was taught to read before school, not in kindergarten, but at home. I feel like it didn't do any harm, and my reading comprehension was top of my class until I entered high school, when I more or less stopped reading for pleasure altogether. I wasn't bored in class, because we picked our own books to read, so you could read at your own level.

I think that being taught some stuff at home might have stunted the development of my time management skills, because I could always complete the work in a very small part of the assigned time.

Mum had taught me some basic mathematical manipulations and "short-cuts", and I remember for a while I was ahead of the class in that too, again I wasn't bored though, because I just completed the problems quickly and then did my own thing. The problem was, when the level of difficulty caught up to my skill level again in high school, I was used to having time to muck around in class, and I never put in enough time and effort to finish the assigned work.

When I eventually have kids, I'll teach them anything they ask about, or need help with, but I'm going to trust their teachers with their core subjects by default.

The way I see it, the school material will be pretty straightforward, and easily remediated, but soft skills and self discipline are developed early on, and should not be interrupted for the sake of knowing how to simplify a fraction a year early.

edit:

Thinking about it more, it probably wasn't just my Mum that had made class too easy, the pace was probably a bit too slow for me anyway. When I entered high school, I was put into the advanced stream/track, but by that time my poor study habits were already formed. Perhaps there should have been multiple streams in primary school also.
I see it as the natural consequence of the shift in mindset as to the primary beneficiary of a college education that happened during the Reagan era. It may seem bizarre to us now but, prior to that, students having a college education was viewed as being beneficial to society first and to the student second. And the funding model where states paid for almost everything followed from that.

But once you make the mental leap from it being about a public good to it being about an individual good, the arbitrage starts, just as it does for any item where the cost is significantly below its value. Colleges would have faced a massive backlash if they'd tried to just adjust directly to the point of equilibrium, so they've been moving to that point over the past ~30 years.
Agreed - I read through their website, and I saw no mention of eliminating undefined behavior.
And thus, given the large amount of effective communication that occurs in English, there's no reason to expect that there is much of a downside in eschewing this particular language design approach that you propose.
By pretty close you mean no where near a usable system then you'd be correct. If you're not a hardware person, as I'm not, I don't think I could go from blank fpga and parts to a working laptop with a keyboard, trackpoint, and lcd screen in any reasonable amount of time, nor with any certainty that it would work and not be error-prone.
'The IMDb of horror'? Not yet launched, anything else out there like it?
Well (and this is only an opinion) having to separate each field makes it harder to edit manually, and a new file extension will be a hassle for non-technical users who want to use their favorite editor.

(I went with .txt/.md/.textile to support multiple markup engines and make it easier for people to edit with literally anything)
MVVM is Exceptionally OK
That's only feasible if you have limits large enough to put the whole balance on.

Also, the interest will kill you unless you actually plan on declaring bankruptcy, in which case say goodbye to any chance of buying a house in the next seven years.

I would think that in your early twenties, defaulting on student debt and declaring bankruptcy would have roughly the same net impact on your life.
Pandora for Realtime Radio
Android is already so far from the FSF ideal that I really don't expect much of a response from them here.
The NSA is already working on this. So is every other government with a halfway competent intelligence agency. So are researchers.
I thought this aspect of android was all open source? I may be mistaken.

In any event, you can file bugs here: https://code.google.com/p/android/issues/list?q=label:Compon...
IMHO: You shouldn't have claimed to be "asking for a friend" when the reason for this post is clearly commercial.
Facebook IS terrorism
Obviously everyone has different situations. But if all you need are security updates, the Rails team has historically been very good about providing patches even for unsupported releases. If they don't, porting is often fairly trivial anyway. I often see ronin [1] implementations of exploits very soon after a CVE so you can even test against your own app.

Unfortunately, my point was more that you can't just not upgrade Rails. Eventually everything else you use will require newer Rails and upgrading at that point becomes extraordinarily difficult. E.g., ActiveRecord plugins often just monkeypatch the internals, which are naturally free to change from release to release. However, most gem authors don't want to test against multiple versions, so the latest becomes the only supported one and you have to upgrade "just because."

[1] -- https://github.com/ronin-ruby/ronin/
That is not true at all, I know many non-developers that will compile source code themselves, one that is done often would be FFMPEG where you have several compile flags that will make the software preform differently based on the options you select, This is an example of Source Code being useful to non-developers.
On BSD there's a fun little command called `watch` which lets me watch everything on any given TTY or even interact with it.

Great when working on a system with a jr. team member who isn't familiar as you can both have hands-on a system.
Who knows?

Apple almost never announces features until they have a firm delivery date. They are listed in the participants in the Vulkan spec (see the PDF https://www.khronos.org/assets/uploads/developers/library/ov..., page 19), and no one has said that Apple won't support Vulkan either.
Right, because if you have more capitalism, the poor just die off like they're supposed to. The system works!
RMS' use of "free" is very well defined in terms of software (see: https://www.gnu.org/philosophy/free-sw.html). You are arguing his definition of free, but that isn't up for debate here. RMS may be pedantic, but I'd disagree that makes him an asshole.
also interesting is reTTY http://pasky.or.cz//dev/retty/

it lets you "steal" the tty of a running process. benefits of this include starting tmux, then yanking an already running process into it
So the only implementations are Wolfram and the cloud Wolfram, both of which can go away or change incompatibly at any point, making my software worthless. I fail to see why I should invest a lot of time in this, given that I'd then have the Sword of Damocles hanging over my head in that fashion.
Maybe, maybe not. That's sort of the French approach, and French society is very classist with rule by elite. Mass literacy has turned out to be economically better than having only the upper and professional classes able to read, I'd say. This seems like the sort of thing you should be able to experiment with a simulation environment.
On the other hand, it's very difficult to build a design for an FPGA using only free software. (Until very recently, it was outright impossible; now, it's merely very difficult, and requires that you use certain very specific FPGAs.)
Bacteria that resist 'last antibiotic' found in UK
Heh, your comment makes me laugh. You are correct, but I was shocked to see 1:20 ratio. My elementary ratios were ~1:30
> In Lisp a procedure tends to accept many options which configure its behaviour. This is known as monolithism, or to make procedures like a kitchen-sink, or a Swiss-army knife.

This is the case in some areas of the Common Lisp language; it is not true of the Lisp, as a family of dialects.

There are plenty of examples of Lisp functions or operators that just do one thing: `cons`, `car`, the `lambda` macro operator.

;; CL
(remove-if-not #'p xs :count 5 :start 3)

;; Haskell
take 5 . filter p . drop 3

;; TXR Lisp: a dialect with ties to CL:
(take 5 [keep-if p (drop 3 list)])

;; Compose the functions using opip macro
;; (result is a function object):
(opip (drop 3) (keep-if p) (take 5))

TXR Lisp's library functions don't have the :count, :start and whatnot. In fact, there are no keyword parameters, only optionals. If you want to default an optional on the left and specify a value of one on the right, you can pass the colon keyword to explicitly default:

(defun opt (a : (b 1) (c 2)) ;; two optional args
)

(opt 4 : 5) ;; b takes 1, c takes 5.

The colon is just the symbol whose name is the empty string "", in the keyword package. It makes for nice sugar and has a couple of uses in the language. Note how in the defun it separates required args from optionals.

(Anyone else cringe at "UNIX philosophy"; how silly! This is the Unix philosophy: let's reduce everything to a string in between processing stages and parse it all over again, with simplifying assumptions that it always has exactly the format we are looking for without actually validating it.)
>By pretty close you mean no where near a usable system then you'd be correct. If you're not a hardware person, as I'm not, I don't think I could go from blank fpga and parts to a working laptop with a keyboard, trackpoint, and lcd screen in any reasonable amount of time, nor with any certainty that it would work and not be error-prone.

The exact same argument can be made about the operating system.
Qz's “Chart of the Year” for 2015 announced
My.mlh.io – hackathon participant data
Introduction to x64 Assembly (2011) [pdf]
Hackers access over 100m patient records
this was a great movie just like there are other great movies. All i can say is that I really enjoyed it and it was worth going to the movies to see the movie. :)
> Well (and this is only an opinion) having to separate each field makes it harder to edit manually, and a new file extension will be a hassle for non-technical users who want to use their favorite editor.

A non technical user would use the admin interface.

Obviously a custom file extension is not particularly nice but there is really not that much one can do around that. Renaming the file to `.md` will not magically make things better because the contents are just wrong and the Markdown format just does not do what Lektor needs.
your statement is contradictory - you claim large corps increased IP protection yet what we see today is that patents are the weakest they've ever been.
"perfectly fine" does not depend on the processor alone, it depends on the compiler. A compiler for x86 can assume dereferencing a NULL pointer is undefined behavior, and optimize your code in ways you perhaps didn't expect.

Or it could document and provide a well defined behavior of derefrencing a NULL pointer.

(e.g. gcc provides -fdelete-null-pointer-checks to control this)
I wouldn't call myself lazy, but extremely apathetic. If it involves effort on my part for something I really don't care about. I'm not going to do it because I actually value my time and would rather spend my time on something I actually care about.

Plus I'm not the home owner.

I don't feel like calling the estate management for them to contact the home owner to get permission to tear out the yards and put in a chip or rock then have to go through the hassle of calling a place to order chip/rock, killing off the grass, and... eh.. I just don't care. That's already 5 steps too many to change something I don't care about. Without even getting into the cost of doing so (which is just another layer of "I don't care enough to pay to have this changed")
And thus given the large amount of effective websites that are programmed in PHP, there's no reason to expect that there is much of a downside in using this particular design.
But effects do need to satisfy the laws if the "natural" way of writing them is to make sense, so I'd rather that were enforced (compare the confusing results one gets when using Set in a scala for/yield, because it doesn't obey the monad laws). Unless you're restricting the "interpreters" such that the implementation of a given action is necessarily monadic?

(Have you seen the "freer monad, more extensible effects" paper? I think they end up in a similar place, though from the opposite direction - using a single structure typed by a (type-level) list of possible effects to represent an effectful operation, and then you supply an interpretation for each effect to run it)
User as a developer. Not a 3rd party developer.
>POSIX is not SCO UNIX (UNIX(tm) is effectively a trademark and nothing more at this point)

UNIX is more than just a trademark, more importantly it is the test suite you have to pass to be allowed to use the trademark. And the trademark doesn't belong to SCO, it belongs to The Open Group, a not-for-profit industry consortium (successor to X/Open and the Open Software Foundation.)

Does it matter that much? I'm sure it makes it easier to port a package to a certified UNIX, since you know a certain collection of APIs must be there (putting aside the fact that some parts of the UNIX standard are optional)
The syntactical building blocks might be similar but the execution model differs. While you could obviously achieve any sort of term evaluation with a metainterpreter, the TRS in Mathematica offers a rather smart rewriting system.

It can easily express things like associative and commutative operators (esp. useful if you have a pattern that matches on a use of that operator), and alternate evaluation orders (outside-in, mixed, lazy, held, &c). These are hard to trivially implement w/o very different kind of interpreter.

In this sense, most Lisp implementations pick a static evaluation strategy and leave implementing alternatives to a metainterpreter, which isn't exactly what's happening in Mathematica.
Integer overflow in memchr
LOL, didn't even realize this was a historical piece going in. I was about to be impressed if someone in the modern era created some means of achieving a college degree equivalent for the stated price tag. I was envisioning some sort of online thing, but too good to be true.