skysight-inc/HackerNews huggingface dataset:
Probably written a bot to submit all stories from a few top sites.

As others submit the same stories, the first poster has their story upvoted.

Result is that this user is credited nearly all of the upvotes from a few core sites that have content of interest to the HN audience.
Thanks for the helpful critique. Your proposed algorithm is reasonable and much, much faster than simulated annealing, and I appreciate the live demo. It looks like your algorithm is deterministic (except for tie-breaking of a pair of columns that have the same difference?), so it doesn't matter which way the image is shuffled.

You are also correct that I overstated how hard the problem is; in retrospect it isn't that hard at all to unshred clean digital images (as opposed to paper scans).

On your web page:

> It takes roughly the same amount of time to run but correctly reconstructs all of the images.

This is not true, but is very close to correct. The image "Blue Hour in Paris" has some disturbances in the lower part of the sky, "Alaska Railroad" has a single wrong column on one side of the image, and "Abstract Light Painting" sometimes has a few incorrect columns on the edge. At least that's what I could spot by eye at a glance; I didn't rigorously compare them against the original images.
Honestly, it is probably better for him to become a computer engineer than a software engineer. This might be a fun place to start https://sites.google.com/site/kotukotuzimiti/Paper_Processor
A light introductory college text on "Symbolic Logic" with exercises and answers if possible.

The way of thinking that such a text gives is nearly identical to the thinking needed for coding.

Just one example: We coders sometimes forget that a conditional like "if (not (A and B)) or C then..." is utterly incomprehensible to the bulk of humanity. Go through a logic book and that stuff will be second nature.

Also it helps lifelong with clarity of thinking which is nice too.
A programmer is someone who puts himself above phenomena that he observes around him. So programming isn't intrinsically related to a computer.

He needs to find interesting things around him, and just make plans. Write it down. Without a computer he can use a paper and pencil.
Uber, in its most profitable market, currently makes an average of $.19 per ride[1]. These regulations would substantially more than destroy that margin.

And that isn't even addressing the fact that driver liquidity would be worse because it'd be harder for people to start/stop ubering at will. Which would create inefficiencies whereby they'd have to probably maintain an oversupply of drivers just to meet demand, further compounding their profitability problem.

[1] http://www.businessinsider.com/uber-says-its-profitable-in-t...
Then it gets frustrating;

DAMMIT where the heck is it!!!
Not even sure it can be called hacking, he used the credentials that was apparently showed at the billboard at one point...

> Reports suggest the man hacked into the system after seeing log-in details displayed on the billboard.
Land of the free. Rectal feeding for national security, can't make that up.
Although the travelling salesman problem is NP-hard, and it’s possible to construct hard-to-solve instances, there are algorithms that work very well for most instances.

I just tried using LKH[0] to reconstruct these scrambled images, and it does it perfectly in a fraction of a second.

[0] http://webhotel4.ruc.dk/~keld/research/LKH/
So you're saying that we have to rely on a magic wizard to guess our future capacity?

Whatever. We'll just redo the collo vs GCE comparison accounting for the wizard fee and a margin of error on his future guess:

- Should be at least $200k/year (USA) or £100k/year (UK) for that kind of skill. How many of such wizard do we need? This price is only for one.

- Add 100% on the expected hardware costs. Because hardware is cheap, what is expensive is buying the wrong hardware and having to buy it again.
As an aside, if you're doing something on the internet that your nation(or another) deems illegal, using only TOR shouldn't be considered 'safe'(since before this incident).

Always be going through at least a burner VPN purchased with prepaid-card(bought with cash) or bitcoin.

I'd still recommend connecting to a box you can scrap, again, purchased anonymously, or 'found'(but not by an IP associated with you unless you plan to scrap it) before routing traffic through TOR.

generally:

-Don't keep old boxes.

-Don't save shit you don't need, ever.

-Don't do anything 'bad' from home or work, if absolutely necessary to be done in those locations use cash bought 3G.

-Additional layers does not help if you can't add them with assured anonymity. If a box has been touched by anything that can trace back to yourself, it's dirty.

Lastly, by 'illegal' things I mean leaking information that could get you killed, purchasing substances that are currently illegal, generally interfacing with the internet anonymously.

If you're a pedo, get help; if you're producing pedo-porn, consider suicide.
If you have to ask, you're prob not that excited about the startup. I'd go with DoE.
>A business no long gets distracted with pension, drug, medical

Unless that business was in the pension, drug, or medical industries.

My point is that it's not super clear where to draw the line between common public services and businesses, and people's perspective is usually determined by the nature of their own business.

For example, provide gov't healthcare and pensions so my smartphone company can focus on making great devices instead of worrying about health care.

Or... provide gov't smartphones so my social media app company can focus on making great apps rather than worrying about what mobile OS to support.

Or... provide gov't social media apps so my independent media company can focus on generating content rather than worrying about distributing it across many social media platforms.
* Most facilities have really crappy electrical systems, so they are restrictive about appliances.

* Many appliances can be great hiding spots for drugs, makeshift weapons, etc - in Texas all of the allowed appliances were clear for this reason, and had to purchased from the prison

* Paranoia about Internet access (yes, I know a typical laptop can't connect, but try to get into the mind of undereducated, paranoid staff that has to answer to a frightened public)

* Use of computers for illegal activities in prison - like gambling rings, etc - anything in prison is searchable, and paper is inherently more searchable than GB of texts for low-end guards)
Note that Soylent bars aren't unflavoured -- they're caramel. Liquid soylent has a strong flavour of soy and flour, and tastes quite a bit like drinking pancake batter.

As for other bars, I suspect you will find that most energy bars are not healthy at all. Granola bars are mostly sugar/carbs. The only bar that I know that competes with Soylent in terms of being low-carb, high-fiber, high-protein is Quest. Like Soylent, they use isomalto-oligosaccharides (a whole lot of fiber), just more of it. Quest uses mostly natural sweeteners such as stevia and erythritol, though some contain sucralose. The average Quest bar (60g) has just around 5g carbohydrates.
On the other hand, I have first had experience of two companies who used C to solve these problems due to performance and maintenance of the logic. One in classroom scheduling, the other in hospital staff scheduling. Both of these are some of the examples most cited as useful. I still have The Art of Promoting on the shelf next to me. Fun but useless.
Pardon if I misunderstood, or misinterpreted your post, but you seemed to be saying that premiums must be more than the claims or they wouldn't/couldn't be in business. That is not true.

Even if an insurance company has claims greater than its premiums it could exist, and even be profitable, because of its ability to earn additional revenue through investing its float. You seemed to omit this consideration, which is significant because investment returns on billions of dollars can be significant.
"Well... you implemented a compiler. And hey, that's a great thing. I've implemented several myself. But I doubt that you proved that it was correct, or that it was a large-enough language that many people would want to use it directly. :-)."

You got me there. Nobody wanted to pay me for it or anything haha.

"but as you note, you're also focusing on shorter-term wins... they're just different shorter-term approaches for for different goals. And that's okay."

Fair enough. I'm going to continue on my route for this topic, though, given there's already a lot of attention on the other ones. Parallel searches sometimes bear fruit. If it goes nowhere, you can bet I still have a copy of your papers and the reproducible build stuff so I can jump on that. :)
Oatmeal and milk in a thermos, add some flavored protein powder. Shake. Drink on the way to work. Healthy, tasty, satiating and does not get any easier.
I'd strongly recommend The Little Schemer (Friedman and Felleisen). It's written without the expectation that you have access to a computer. It's also written in a very approachable way - it assumes no prior familiarity with programming or even math, and it's in a simple question and response format.
I don't see anything too alarming here. Predicting social uprisings 3-5 days in advance is easy, as long as you're happy with a few hundred false positives for every solid hit. Signal-boosting is only useful to the extent that it doesn't equally boost noise.

Besides, I'm quite sure that this other initiative is producing far more actionable data, even if it's hardly breaking news: https://www.youtube.com/watch?v=juQcZO_WnsI (2011)
> carefully chosen mutation/recombination operators

A job for a meta-genetic algorithm maybe? Where the mutation operators are themselves evolved.
Here's the way to make homemade Quest bars, using the same powder (isomalto-oligosaccharides, brand name BioNeutra VitaFiber) which allows for high fiber content: http://www.busybuthealthy.com/homemade-quest-protein-bars/
Nice work by the O.P.

Amusingly a year or so ago I took the Stanford Dependency parser and fed its output tree into a Prolog system to try to pull out the semantics. It was used to analyze business news (getting at the who's, what's and why's).

The easiest approach was to wrap a very simple DSL around Prolog (which, BTW, Prolog is great at). Then in the DSL (which still retained logical variables and backtracking) you could write things like:

%% Simple statements -- root is an announcement word whose subject and object tell the story.
%% 'IBM announced a new computer today'
announce(Who, About, What) ==>
s+root(['announc', 'releas', 'introduc','launch', 'unveil', 'reveal', 'agre']),
#Dep1,
subject(Who),
Dep1 >> object(About, What).

%% 'IBM has announced a partnership ...' is caught by the above. But 'IBM has entered into a partnership ...' needs
%% a little more work
announce(Who, About, announcement) ==>
s+root(['enter']),
#Obj,
subject(Who),
Obj >> prep_pobj_chain(PPC),
{PPC = [Prep|About]}.

I think a Prolog-based query planner as a front end to Sparql on Wikidata could be quite interesting.

Alanl
Is there any real spiritual value here? It appears to me to be misguided if the objective is to preserve oneself for later reanimation.
DONALD TRUMP HOT MIC AUDIO SCANDAL “GRAB 'EM BY THE PUSSY” LEAKED
I had to teach CS in Africa with very few resources e.g. electricity and working pc's.

The best thing I found http://csunplugged.org/
I am trying to use it right now but on the time input, I get a numbers keyboard which means I can't use ":" so I can't type a time in..

I am using an LG G4
I 100% agree with your post and I have similar experience in my life. While in real life, we build some kind of background via the way we communicate, get things done and how we come across. All of this is missing online. At dating sites, most of people play with prejudice. I think women do not feel safe at these dating sites so they keep their options reserved.
Computer Power Supplies and Protection
I would agree that the US government should have a role in funding pure research.

What I find discouraging though is when uber-rich people like Gates and Buffet advocate lots of government, and lots of taxes because they've made theirs. And because of their wealth, high-profile, and connections with big government figures, they consider themselves "part of government.
Twitter Sale Process Said Almost Dead as Suitors Bow Out
The subtle shill penetrates the shield
So my experience and how it feels for an average to less then average guy in looks(I'm causcasin ..5'10..170.. fit)to be on all these damn apps.

Basically we all want something hot and or attractive to us. I feel for women who are less to average in looks have it better then guys. Probably sign into these apps and get bombarded by guys.

I definitely date using match and plenty of fish(15 different dates a year) Tinder to me is crickets. I'm well aware of why and oh well that's how it goes but it does suck.

Though I've then tried Grindr and other bi apps. I've found both attractive yet if I had found some chick who I liked in my 20s(in my 30s I was in a long term relationship with a chick) and settled down I would most likely have never explored my interest in guys. Would have just kept it to the normal curious fun a lot of us guys have with each other in our teens.

Well using Grindr and others I now know what it feels like to be a chick... sign on and get tons of messages and choose which one catches your eye. This happens each time you open the app. Hey if your into both it's a great way to beat loniless, meet new friends and have fun here/there.

Overall I just wanted to point out one mans use of these dating apps. I'm sure I'm not alone in my struggle with finding the women I want and they want me too. If Tinder keeps you busy your one lucky dude! Probably alone in using those other apps or maybe not and that could be another thing these apps are changing how/who we date and meet?
The other problem I've noticed is that most women don't have a problem finding a date. They can go to a bar, club, library, grocery store and men ask them out. Why do they need to go online in the first place? They are either too picky or have some other major issue.

Before I was married, I found dates online all the time. 99% of the women I dated had issues or were too picky. I didn't end up finding my wife until I joined some local meetup groups and met her IRL.
As someone who grew up in a Christian culture that cherishes life, I find this sort of thing deeply disturbing. But I don't want to dismiss Buddhism. Even though I'm an atheist, I admire Buddhism's focus on compassion, and I think it has a beneficial effect on Buddhist cultures.
This comes up approximately annually. I used to answer at length. But now at 69 brevity seems more productive. I am probably nearing the end of my accidental unplanned drunkard's walk career, one that start in 1967 when I was dropped (unskilled 19 yr old college hippie drop-out) into the inside (literally) of a mainframe and told to "make it work". wandered subsequently through probably every computing field, and lately do audio DSP work inside game consoles. Inside the inside of a current SOC inside a black box.

My conclusion: there is no formula for staying relevant. Perhaps an understanding of the roots and rapid skill acquisition, but beyond that every second I spent learning a new framework just because has been a second wasted. By the timne I was somewhere it was poossibly relevant, it was already dead and replaced or I was too far ahead of the time and had to write my own.

Further, and sadly, after 50 some years in the biz, I still understand the insides of current SOC chips, and I shouldn't - no progress has been made in practical computing thoeretics at all. Lots of embellishment, lots of band-aids, nothing really different. Otherwise I would not be able to do this job.

Yes, really, brief this time. $0.01 instead of a full $.
First off, thanks a lot for posting this and you did a great job with it! It was fun to play around with and it obviously inspired me enough to dig into the code and try my own variation.

You're right about them not matching exactly; I did it in a hurry and wasn't looking closely enough. I removed that incorrect statement (though it does seem to generally outperform the simulated annealing).

The tie breaking for pairs with equal differences and the parity of the image is essentially random. It is deterministic in the code, because it won't replace a candidate unless it's strictly better, but it's totally arbitrary which is found first.
I don't think "too much choice" is really a problem. I think having no idea how to find a good match plus too much choice is problematic. If you have no idea what you are looking for, it is incredibly time consuming to sort through your choices. But more options are good -- IF you know what you want/need. Many people just don't.
I want to echo the suggestion that several others have made, to start with a good book on just about any programming language that has a lot of sample programs in it, and learn to read that code and execute it with pencil and paper.

This will be much more productive than trying to learn to write code from scratch while also learning a language and learning how to execute the code with pencil and paper.

I would start by going through the exercise yourself: pick out a book and use one of the first sample programs, and set up a "debugger" on a pad of paper.

I used to do this kind of debugging myself: when I first learned BASIC back around 1969, I spent some time in my grandmother's basement with two pads of paper, one with my code and one for the debugger. The debugger pad had columns across the top:

Line number One variable Another variable Another one

Then I would step through my code, adding a row on the debugger for each line I executed, with the current line number in the first column and each new variable value in the other columns.

After going through this exercise with one program, send your friend the "debugger" pad along with the book, so he has a place to start with this idea. He can then go through the same example and follow along with your debugging steps.

That way he has a solid place to start when exploring the other sample programs in the book.

Please feel free to email me if you'd like to kick this idea around - address is in my profile. And I strongly suspect that everyone else in this thread would be happy to extend you the same offer.

I also heartily endorse the suggestion to read Charles Petzold's _Code_. It's a wonderful book!
Bah -- try again so it is readable !!

%% Simple statements -- root is an announcement word whose subject and object tell the story.
%% 'IBM announced a new computer today'
announce(Who, About, What) ==>
s+root(['announc', 'releas', 'introduc','launch', 'unveil', 'reveal', agre']),
#Dep1,
subject(Who),
Dep1 >> object(About, What).

%% 'IBM has announced a partnership ...' is caught by the above. But 'IBM has entered into a partnership ...' needs
%% a little more work
announce(Who, About, announcement) ==>
s+root(['enter']),
#Obj,
subject(Who),
Obj >> prep_pobj_chain(PPC),
{PPC = [Prep|About]}.
Aftermarket Autonomous Vehicle Race Heats Up
This seems very impersonal and I don't think it will help in terms of team building.
Your anecdote rings with how there are many people who hold racist tendencies, but exclude their friends of said race from those tendencies. Essentially when they think 'all X' they mean 'all X besides those whom I know'
20 minutes to clean up? Huh. I just wipe down the stove with a rag and wipe down the skillet and I'm done. (If I'm feeling very lazy, I'll use a paper plate and just chuck it, but I'd rather not so in the dishwasher it goes.)

Eating time...well, that's a personal thing. =) I do WFH, so I am more relaxed on that, but I tend to scarf food down, so, eh.
I would consider if focusing learning CS or fundamentals is the right approach. What is the plan when he gets out? I'm not sure there's a lot of beginner CS or C jobs around without credentials. Is he going to try and go to school afterward and is that actually feasible?

Otherwise I would suggest combining CS with more applied programming with smaller scope (like a web stack), developer methodologies (designing, methodology, testing) or design (interaction, interfaces, experience). Those would be things that he could more easily be practice as he gets out, aren't as focused on credentials and would more likely land him some sort of job.
If you redefine the word "businessperson" to include everyone who has ever taken or pursued work as an employee, the meaning is both at odds with common English usage and so broad as to be nearly meaningless.
I think the hardest part was that my office didn't have any natural light at all because it was in the middle of the building (and given that it was Seattle, there wasn't exactly very much light to begin with even if you were in a spot that received some sunlight coming in from the outside windows).

I wasn't distracted all that often with a single officemate, but I did have to buy daylight spectrum lamps because I have S.A.D. and vitamin D deficiency.
Definitely. Avoid "news" that caters to your morbid curiousity. Don't get drawn in. Find sites that cater instead to your intellectual curiousity.
True, though you could also create lists freely. I remember writing an artillery game (using the equations learned in our physics class!) and storing the player information in a list each.
>secret court directing Yahoo to scan all its users' incoming email...

>it appeared to involve new interpretations of at least two important legal issues.

>order from the Foreign Intelligence Surveillance Court, a secret tribunal...

Very sketchy. Shades of Lavabit / Snowden
Honest question: where's the 20 minutes of cleaning?

I don't use a dishwasher, so every bowl, dish, cup, plate, and utensil I use gets handwashed.

Even so, boiling an egg, making a slice of toast, and then having a piece of fruit costs me <3 minutes of cleanup time: rinsing 1 plate, 1 pot, and a spoon.

To be fair, I do this more or less every day, so I have plenty of practice.