skysight-inc/HackerNews huggingface dataset:
IMO something like this is the future of AI. I've been trying to crack it for a while as a hobby. I also use vision tasks as test but unfortunately my algorithms get stuck in local maximums or coarse representation of images.

I'm not sure this paper's algorithm is that powerful either. It seem to start with a squiggly line grammar that is already close the the final written text-like characters it is trying to learn. This narrows the model space very much and makes the problem easier.

It would be more impressive if it started with an SVG like grammar and learned to draw any kind of image. This is the approach I try to take anyways even if I can't seem to get very far.

The problem is that the search space is so large and so irregular with regards to output that you can't brute force it. You need to somehow cluster similar generative rules of different complexity together then get your algorithm to search the model space in a way that it tries simpler rules first, then goes on to try generating more complex rules but prioritize the ones that are known to have similar output to the simpler ones.

Basically you have to cluster your generative rules into an taxonomy that your algorithm can navigate from the top. It's exponentially inefficient to try to generate "dog" until you have recognized that the simpler "animal" is a good approximation.

I also think that in the ultimate solution, the output leaf statements of the grammar will be parametrized like a normal programming language, so that for example, the algorithm can generate a color, a radius and then generate 100 circles referencing this single color and radius to represent repeated patterns without having to learn their size and color individually when they are clearly homogeneous or invariant across a bunch. The bayesian, occam's razor, solution to a bunch of similar things that you don't have a category for yet is shared parameters. These parameters is how you learn with very few examples. You don't have to learn a full new category to make good predictions, the algorithm can simply notice the homogeneity in a part of a scene and extrapolate immediately.
Santa Please Get Me a College
In my experience, having an extreme opinion of a problem's importance (very important, not important whatsoever) is correlated with having an extreme opinion of a solution (love it, hate it).
I replied to myself - but meant to reply to you:

>Haha yeah I have at least ten of those... They do not work on certain glass surfaces, namely any shiny black granite desk.
I don't think publishing is as easy as consuming. Have you heard of the 1% rule[1]? Out of 100 people approximately only one is willing to create anything. People are generally lazy, they want to consume content rather than publish. Therefore non-technical people would probably not be happy to rewrite things they got used to.

1: https://en.wikipedia.org/wiki/1%25_rule_%28Internet_culture%...
I am still waiting for the application that kills email and the need for clients..
NASA hiring Astronauts – Apply
How to Make Python Run as Fast as Julia
America’s Hatred of Socialism Is Hypocritical and Unjustified
I don't know about "state of the art", but they are tried and true for lexing and parsing respectively.

If you are looking for something more exotic or a very specific use-case, I'd say use something like Ragel[0].

[0]http://www.colm.net/open-source/ragel/
Ugh. s/learn/remember/ for your use case then. The cards you need to remember a concept will be totally different than the cards I need to remember a concept and so on. Creating the cards isn't "tedium", it's reinforcing the concepts you decide you need to be reinforced while presumably not things that you definitely know and will never forget because you initially overlearned (this is a technical term) them.
Calculate Integer Factorials in Constant Time Using Overflow
Doesn't this assume a single-threaded application? The example of a clerk's service time and people waiting in line is oversimplified. Modern systems have maybe 100 clerks per store, and many stores; how do you perform a "Ctrl+Z" test in this case? Even if you had a perfectly divided line of people waiting at each cashier in each store (machine), the worst case would be experienced people in line for the store or clerk with a reduced service time. Thus, for accuracy, you would need to measure queue depth at the maximum latency per thread (clerk) and add that latency to each subsequent request until you serve the number of reuqests in your queue. This kind of math requires constant sampling that would slow down any system so dramatically it would defeat the purpose. I think this becomes even more clear when you consider that most such systems have load balancing strategies that further mitigate queue depths such that they are intentionally distributed based on which backend services have the lowest historical latencies (and yes, I realize these algorithms are likely plagued by the same "omission conspiracy" mentioned -- but they certainly don't uniformly distribute requests).

In summary, let's focus on the max latency, home in on which backend exhibited said latency, identify the depth of the queue at the time that latency was experienced, and use that information to model the impact to users. From this, I expect you can draw some meaningful percentiles in terms of latency distributions, and without having to measure more data points than feasible without decreasing latency further.

Am I misunderstanding something? I'm no math whiz, this is mostly intuition.
The basic analogy is that an api is like the pointy end of a drill bit. Google and Oracle want to help people drill in screws or hex keys. Sun started selling flat screw bits, and google, in order for handymen (developers) to be able to use the same skills, also started selling flat bits (or flat head screws if you prefer).

The one distinction complicating this a little is more thought and creativity goes into designing an api then designing the interface between a drill bit and screw.
Grade Book that can calculate Grade Points Average using percentage marks
Problem Statement
Create an electronic Grade Book that can calculate Grade Points Average using percentage marks in each course. Electronic Grade Books are used by teachers to store grades of individual course and to calculate students’ overall GPA.
For example, the computer science class could grade with a grading system by defining Grade and Grade Point Average. Following is the details:
1.	Marks Obtained: This is a total number of marks obtained by the student in each course. Obtained marks consist of student’s assignments, quizzes, midterm and final term marks.

2.	Grade: Grade of a course is awarded based on its obtained marks, recorded as evaluative and their symbols/letters used are listed below under the Table column Grade. There are five letter grades A, B, C, D and F. Letter grade is awarded against a range of obtained marks. E.g. grade B will be awarded to a percentage marks, range of 65% to 79%.

3.	Grade Point Average (GPA): It is widely accepted as a measure of academic achievement. GPA is calculated by dividing the total number of grade points earned by the total number of letter graded credit hours attempted. Each grade has a point value as follows: A=4, B=3, C=2, D=1, and F=0
Formula to Calculate GPA : Sum of all the Grade Points / Divided by number of subjects

Procedure:
Your program will take Course Code and Obtained Marks for each course
Maximum grade point average = 4.00

Grade	Marks Obtained	Remarks
A	80-100 %	Excellent
B	65-79 %	Good
C	50-64 %	Satisfactory
D	40-49 %	Pass
F	Below 40 %	Fail

Here is an example for GPA calculation:

You need to make input screens for the Percentage Marks obtained, and then show student Grade Book for all subjects, GPA and remarks.
In English English 'gaffer' means 'boss'.
Babel and ES2015 workflow – GitHub
I feel somewhat terrible for thinking this… but, to me this story seems like a sad example of why responsible financial planning is important. It seems like they had plenty of opportunity to build equity into their house over time. Taking out multiple mortgages and refinancing seems like dangerous behavior.

Also, why is living in a van preferable to moving somewhere where they can afford the housing?
And pay $5 per bird.
Upstream PHP has gained to about the same speed, and added many of the features (e.g. gradual strict typing and generators). I don't think Facebook would have made the same decision today.
Rdio Farewell. Export your collection and playlists
> We will create a self-hosted device with Western Digital hardware and ownCloud software, to be made available for on-line purchase in early 2016. In preparation for this we’re looking for people who want to help us lower the barrier to self hosting and help turn this dream into reality.

Maybe I'm being cynical, but the way the first paragraph is worded seems a bit odd. Is the goal of this project to act like free R & D for ways to deploy this or make it compartmentalized? It seems like it. Why would you send 10 developer units out, require proposals, etc.? No compensation is offered -- just a devkit.

> This is where you come in! We’re looking for concrete proposals and offers for help. Can you build a disk image which boots up and allows a laptop to find it over the local network? Can you create a setup optimized for performance on the Pi? Can you write a simple web interface to finish configuring the Pi or to check how it is running? Develop a backup tool? We’re looking for creativity here!

Fantastic, that sounds a lot like crowdsourcing your product development.

> Sometime in February or March you can expect ownCloud and Western Digital Labs to release a goodie – and you will be there with a big thank-you in the manual!

A thank-you in the manual. My goodness!

> This is a project of the ownCloud community, not ownCloud, Inc.

But who's going to be shipping the final product, with the fixes that someone makes, and gets the thank-you in the manual? The ownCloud community?
Taking your IP addresses somewhere means you need PI space, no? How common is it for people to have that?
> Although, to be fair, PEG (Packrat) do support left recursion [1]

Unfortunately it sometimes generates the wrong parse: http://tratt.net/laurie/research/pubs/papers/tratt__direct_l...
Here's one of the quarter-tone preludes:

https://www.youtube.com/watch?v=B9WPfkXQa_Y

The idea that this music was going to take mankind to the next level of spiritual evolution is... quite odd.
Ask HN: Can I have heterogenous lists in a Lisp while preserving type inference?
Trying to see if I can implement type inference on a toy Lisp, but can't figure out what the type of (car '(x y z)) should be in compile time. For those with experience in dealing with types and Lisp, can I keep these heterogenous lists and Hindley-Milner's algorithm W at the same time - or will they naturally run at odds (which is what I'm thinking)?
At this point, are there any major tech organizations who haven't jumped on the Backend-as-a-service bandwagon?

Kinto - Mozilla, CloudKit - Apple, Parse - Facebook, Firebase - Google, Azure Mobile Services - Microsoft, Mobile Hub - Amazon, Usergrid - Apache Foundation

... and many, many startups.
Graph isomorphism is quasi-polynomial time by Laci Babai
All of the problems you recognise exist with 99% of large scale internal solutions too.
I live in a van in SF and I'm a software engineer. I park in the Sunset and ride a bike to work. I have a gym membership with towel service at a major gym chain. I have two comped meals a day at the office. I make more than $150K, but less than $200K. I go out drinking every night and wind up at a bar in the Sunset with clean bathrooms. On weekends I drive out of town and camp somewhere scenic. I'm saving 80% of my take home pay. I have been doing this for six months. I date regularly. On the first date I state that my place is a no-go. Camping is a good second or third date. If they are special, I explain that I live in a van.

My van was towed once when I was out of town and construction notices were placed after a few days. That stung. Otherwise, it has been fine. If everything in the van was stolen I'd be out $1,000.
I think you're looking for the term 'Chinese Math':

http://www.fastcompany.com/1710460/chinese-math-or-1-mistake...
> recruiters

Dude, that right there is the problem. They make a commission off your starting salary, so OF COURSE their primary concern is your past and future financials.

This is why I hate recruiters.
There are 35k homeless people in the Bay Area [1]
7-15k of them in SF.
There are ~7M people living here.

While those numbers sound at first high. It's not such a crazy high amount of people. (from what i know cities like Vienna or London also have at least a forth of that number (couldnt find stats))

The "homelessness situation" is next to cost of living the #1 thing i hear from people who don't want to relocate here. And tbh it's also the reason why i dont plan to stay in SF for longer term.

I know there is no easy answer to the problem of homelessness in the bay area - but it doesnt sound unsolvable.

[1]: http://www.myphilanthropedia.org/top-nonprofits/bay-area/hom...
Moringa School | Nairobi, Kenya | Onsite, full-time

Curriculum/Tech Lead (Python and Android)

Moringa School is a four-month program that transforms ambitious amateurs to coding professionals. 99% of our graduates are now working as software engineers. Moringa School's mission is twofold: to empower people and to transform education through rapid-iteration teaching. Students train 11 hours a day, 5 days a week, over 16 weeks in a curriculum focused on computer science fundamentals, Python and Android.

Employees enjoy a fun, collegial startup environment genuinely committed to employee health and wellness, and filled with talented, hard-working and fun people. You will be surrounded by friendly, brilliant, and mission-driven professionals who work hard to provide the best student experience of its kind in the world.

We are looking for a talented, organized, systems-oriented thinker to provide management, leadership, and accountability to a high performance team in support of the mission and core values of the company. The ideal candidate has demonstrated experience keeping instruction teams running effectively, even in a chaotic environment. The provost role provides the management and supervision necessary to ensure that instruction team has the proper operational controls, administrative and reporting procedures, and people systems in place to effectively provide an incredible educational experience to students while maintaining operating efficiency.

http://www.moringaschool.com

Curriculum/Tech Lead: http://bit.ly/1NQpM3G
Or just do what a driverless car would do: call the authorities or turn around and proceed by another route.
The Chromebook method (to disable write protect) requires you to open the device and remove a specific screw, it's beyond just blindly following instructions.
Seconded. The commenter knows next to nothing about the medical history but feels no compunction about telling him what to do. I wish there were a drug to arrest that malady.
But they aren't filling the article with useful facts or details. It's all intellectual popcorn. Mention that something big is coming up, then mention what the main engineer ate for breakfast, then pause to lament the fact that people often skip breakfast, and finally reach your big reveal.

Then claim the fact that it rambles is proof of good writing.
Why we can't process Emoji anymore (2012)
If only there were a technology which was screen and font size agnostic that could display text interspersed with diagrams in various ways including alternative layouts.
Gruber hosts Federighi and Siracusa
While this might be true in this individual case. We also dont know all the factors.

If there is a factor of luck or context somewhere involved in their last X years it would mean statistically mean that there are people in similar situations who did everything right on their end.
That is genious.

Absolute genious. There are likely to be less problems on a smaller codebase and when there are its much easier to recommend a rewrite of 1k than 10k
I would be interested in those notes.
well, first auto-car, then auto-truck, then auto-truck-train. (3-10 trailers with one tractor, and possibly hub motors suitable for long hauls with no turns)
Then electric cars pas gas based cars. Then electric trucks with droppable battery packs - full charged in 2 minutes by changing it. Then they will get into local driving and delivery, into large mechanical drop boxes at houses and businesses. Deliveries 24-7. The box can be a wall port with a live floor = lots of space.
The beginning of the robot age. The last thing they will invent, before people are gone, will be the robot consumer...
This entrepreneur funded his way into Harvard and a new startup in the US
Airplanes have far higher top speeds then drones.

Drones are basically birds when it comes down to this.
> That homelessness persists in Silicon Valley has puzzled me.

The reason is (as the paragraphs just below this line indicate) in fact the same reason for a great deal of issues in the Bay Area: lack of regional planning.

Planning in the Bay Area is far too localized. Cities constantly pawn off problems on each other. There are cities that approve thousands of new units of office space but zero housing. Transit systems don't connect to each other. Sports stadiums are constructed with no thought as to how people will arrive. Freeways have lanes that appear and disappear at various county boundaries, causing dangerous congestion. On and on. It's also why so many cities don't have enough shelters and just seem to expect (as the article states) that other nearby cities will pick up the slack.

What is needed is for the disparate cities of the Bay Area to stop passing the buck and come together as a region and plan together. Continuing to hope someone else does the hard work of solving problems will continue to result in them not getting solved.
I'm not exactly sure. I think they may be at odds. Scala can handle AnyTypes in lists, but I think you have to decide whether you want compile time type checking or run time dynamic type checking as from my knowledge you can't have heterogenous lists in languages like OCaml (and from the little I know of Haskell, Haskell as well).
That's exactly why I actually liked Buzz... It was integrated with Gmail.
It seems like they are making a recruitment push (http://www.theinquirer.net/inquirer/news/2435685/gchq-is-usi...) and are trying to repair their reputation a bit.
another barrier is that clearcut value-generation or employment opportunities don't exist. you say that you'd like to see open source software- how is that profitable? by the way, check out the latest kaggle competition: "Transforming How We Diagnose Heart Disease"
On my next to last landing at my home airport, I was warned of "remote controlled aircraft" on the final approach path, 1.5 miles from the runway. At that point on a 3* approach path, I'm a little over 400' above the touchdown zone and the land rises slightly in this direction, so I'm a little under 400' above ground.

Care to guess whether that was a zero or non-zero distraction as I passed the affected area?
I don't see why the cost would be any higher than it is today. If anything, driver-less cars would have lower insurance premiums. So if you can afford/justify your insurance today, you could still afford it in the future.

I could even see all insurance getting cheaper, since the risk of accidents for all cars should decrease as the mix of cars gets more and more automated.
> std::rand has global state. Specifying the algorithm doesn't fix that.

Adding other functions also doesn't fix std:rand. People use std::rand. They will continue to use std::rand, unless it's removed. And even then they'll keep using it, because implementations will add it back in for compatibility.

There's already a simple, half baked, crude random number generator. It's possible to fix it so that it provides at least acceptable randomness, and isn't complete junk. Doing this breaks nothing.

Why add another similar function with similar API issues?
I find the dates a bit suspect (referenced ECMA script standard was June 1997, book was late 1996, so how did this all happen twenty years ago, just months following the official release of JavaScript in May 95?), but guess that's not the point. Maybe I'm alone, but implausible details distract me from an otherwise great story that can teach a lesson many should learn.
Shell script interpreters like bash do. You can change a bash script while it's running (append, or truncate and re-write) and it'll keep going from the same offset.

But then again, shell script is in a different class of language I'd say.

#!/bin/bash
COUNTER=0
addmore() {
echo hi $COUNTER
((COUNTER++))
echo "addmore" >>$0
sleep 1
}
addmore
Early (1990) Mario Brothers Clone from Id Software
I dunno. When I first joined, I felt on the outside and like I wasn't a "real" programmer or whatever. Then I realized I felt that way because I wasn't making anything, just reading. So I started making things and spending more time programming. After doing that, I found I didn't care as much about what all the Bay-area startups are doing or getting a job at the next unicorn - it's just not who I am. And I'm happy now. I learn about new tools here, I learn about new ways of doing things, I find new software I can use and new products to make my life better. And that makes me happy. I'd love to be over in the Bay area, barely able to afford rent despite my 5-6 figure programming job; I'd also love to be a trust fund baby who had no idea what having a job was even like.
You know, I'm not really sure I buy this. I worked for a storage company in the past, and I put a simple checksumming algorithm in our code sort of like the zfs one. Turns out that two or three obscure software bugs later that thing stopped firing randomly, and started picking out kernel bugs. Once we nailed a few of those the errors became "harder". By that I mean that, we stopped getting data that the drives claimed was good but we thought was bad.

Modern drives are ECC'ed to hell and back, on a enterprise systems (aka ones with ECC RAM and ECC'ed buses) a sector that comes back bad is likely the result of a software/firmware bug somewhere, and in many cases was written (or simply not written) bad.

Put another way, if you read a sector off a disk and conclude that it was bad, and a reread returns the same data, it was probably written bad. The fun part is then taking the resulting "bad" data and looking at it.

Reminds me of early in my career a linux machine we were running a CVS server on once or twice a year reported corrupted CVS files, and when looking at them, I often found data from other files stuck in the middle, often in 4k sized regions.
"I am 35 years old, I work as a software engineer at a startup that just got $20 mil in venture capital, and I live in a VAN DOWN BY THE RIVER."

Sign of the times.
Reduced gain in the lower frequencies is a feature, not a bug, of the original TS808 circuit. It was meant to keep the distortion from getting muddy. The original clipping stage includes a little resistor/capacitor snubber that rolls off frequencies below ~720Hz.
[1] should be https://www.facebook.com/me/allactivity?log_filter=search - I noticed only after I missed the edit cutoff.