skysight-inc/HackerNews huggingface dataset:
Not many javascript stuff comes to mind, but you might find more implementations if you search for a specific problem you were trying to solve. The closing javascript thing that comes to mind is the letmegooglethatforyou site, an extreme way to point out the search button.....

From a personal point of view, Sometimes I would just email myself a link to a webpage if I wanted to view it later on mobile or vice versa.

In technical support over email, I used to send customers a link to a kb article or a pdf and a page number. I never had to go beyond something along the lines of, here is a link, you forgot to do step 4 or follow the instructions under the known resolution section.

From a bug reporting point of view, Most people would send a picture and send the dropbox link over slack/email.
Dropbox has a little popup with the link to the image after taking a screenshot so it is very easy and fast.

It reminds me of Onenote and Evernote feature to copy snippets from a webpage, though I never tried to share the content.

While not directly similar, The code for searching for specific parts of a webpage seems similar to some web scraping solutions. Ie, here is a webpage, I want to scrape this selection for all similar pages,etc.
Hard drives have a universal interface for reading out their contents without modification. Most jurors would understand that. Many jurors would equate drastically modifying a device as tampering. Chain of custody doesn't matter. What a juror thinks is what matters.
There are valid scenarios. Placing a certificate on something like an F5 or Citrix VPX appliance pretty well forces you down the email verification route.

Then you've got those appliances that take a power cycle and 30 minute outage to install such a certificate. Five year certs are very attractive for this situation.
The following is purely psychological armchair theorizing. I think that homework is part of a larger problem where the modern education system slams into children's brains that their time is worthless. Most elementary, middle, and high school homework is simply busywork. The very existence of the word busywork is telling. It's not just the wasted time that isn't valuable: it's the implicit message to a child that the best thing they can do is find something mind-numbing and pointless to do and just keep quiet.

You see this in lots of "nice" activities that kids do, which are actually just time sinks that they are pressured or cajoled into. The most prominent example is playing instruments. Like half of kids learn to play an instrument at some point, but hardly any of them keep up with it when they are adults. Some people lament this as though it were some loss of innocence, but if playing an instrument was really a good use of time for most people, adults would do it, and kids would do it willingly. After 18 or more years of this sort of thing, I think it really sinks in that your time is basically worthless, and that it's not worth carefully considering how you spend it.

Of course, the opposite is true. Your time is the most precious, and in fact the only, resource that you have. You should guard it jealously, and only spend it on worthwhile things.
Programming, do you speak it? A rant against programming fads
I'm buying a house, because downpayment + misc. costs are going to result in less monthly cost (mortgage + HOA + taxes) than the rent I pay now. The difference is bigger than what I'd obtain by just investing that money somewhere safe.

A year ago, with about the same salary but less savings, I wouldn't have been able to meet the 20% downpayment mark, so loan insurance would have make it not profitable. Before that, with even less savings to put as downpayment, just the monthly mortgage payment would have been higher than my rent.

I disagree with your premise that the poor can often get loans big enough to make an impact in their lives. And when they do, they tend to be predatory loans.
Not inaccurate, however.
I got really into IF about 6 years ago. It was a pretty good way to drop about 30 pounds of fat.

That said - at least for me - I'm not sure it helped my eating patterns in general.

For some background, I got up to about 305 lbs when I was ~19 (about 9 years ago), then lost a bunch of weight over a year and a half or so. Got down to about 180 (way too skinny). I really like food. I eat way too fast, and I eat way too much, and I love eating junk food.

So, for me, IF was kind of a way to compartmentalize what was essentially binge eating. I'd push my fasting periods further and further into the evenings, sometimes going til 4-7 PM, then having an absolute blowout meal.

Eventually I stopped doing IF. Well, kind of. I still don't eat breakfast. I got less extreme with it.
I'm skeptical too. But getting lots of homework unquestionably imposes a high cost on the children -- especially the younger ones. If you're forcing this cost on the most powerless people around, shouldn't we insist on clearly seeing the benefit?

Also, from my experience as a student my prior for that benefit is pretty low. I went to what turned out to be relatively good schools for the U.S., and I still think that before college they were mostly a waste of time that actively turned people off learning. What I mean by skeptical, above, is that hearing of these studies only shifts that opinion a little.
I thought most blackhat activities already implied the threat of jail-time...
When interviewing, I'm interested in seeing the process a candidate takes to get a result, not just the result. I like looking at code samples to get a feel for code quality and software engineering practices (everything from variable naming and program structure to Git commit messages)

Real-time coding during the interview shows me how good a candidate is at collaborating when solving a problem. One good indicator is asking follow-up questions to make sure requirements are clear. Other things to look for are, e.g. TDD, which can help solve a problem with predictable correctness and pace. I have interviewed quite a few candidates who throw a bunch of code into the editor and start pseudo-randomly tweaking the code to try to make it work -- this is not a recipe for successful problem solving. Some aspects of code quality can be evaluated during the interview as well, which probably explains why many interviewers don't bother looking at code samples.

It's important to ask for a solution that can be easily deduced -- trick questions are bad for both parties, because the candidate is often stumped, and the interviewer thinks they are bad because knowing the trick makes the question simple. Many classical algorithmic questions are "tricky" in this way.

The questions also have to be "real world". Like you mentioned, you can be a successful engineer and not know the specifics of inverting a tree. If you can correctly recognize the need for the algorithm and implement it from pseudocode, you have solved your problem, which is what engineers are paid to do.
Hasn't this phone been in FBI custody for months now?
@beachstartup Me too. In North SD. Want to work on med device security and take company retreats in the woods?
This winter's been pretty warm with little snowfall, I think we only had one real cold snap dropping below -20C, and only one major snowstorm in early january. But I like winter in the city. I live walking distance from a large park where I can cross country ski.

I heard last winter was much colder on average, though I was lucky anough to spend that time on the west coast. Coming from a few other places in Quebec, Montreal so far strikes me as having milder winter. Probably harsher than NY, though.
That's exactly what we do in one of our iPad apps.
I don't think that's quite fair. While the quote oversimplifies it, you too are oversimplifying it. If the boots situation existed your planned boots-loan would never work.

Because poor people are high-risk loans, you'd need to put a significant risk factor on that boots loan if you ever hoped to break even (there's a reason credit cards charge 20+% interest). So now the $100 boots are $130 or more.

Additionally, nobody not already in heaps of debt would ever take the loan, because people hawking predatory loans and money-for-nothing schemes are a dime a dozen in poor parts of cities (cash4gold! payday loans!) and those who don't lean quickly to ignore them all get screwed.

Finally, you're ignoring the psychological aversion to taking on debt, even if it's for the best. Even among fairly well-to-do university students the concept of business leverage seems to come as a bit of a shock, and takes a fair bit of explaining - "But why would you deliberately go into debt?". Imagine trying to explain to somebody below the poverty line that the boots are worth going into debt for!
will be visiting chattanooga soon. can you mail me more info at info [a] wprapido [dot] com please
When kids are accused of sex crimes
> There is so much innovation in 3.x, I could write for an hour and not list everything.

Could you give one big example? It all seems like nice to haves to me.
Maybe mastery, but enjoyment?

Einstein is quoted as "Never memorize what you can look up in a book."
You're right, I got that one detail wrong. Nonetheless, the substance of my post was correct. If every post that had a minor error like this was flagged to death the home page would be empty.
This analysis ignores inventory costs. Those who can afford to buy in bulk accrue a cost to holding inventory in their dwelling.

This can manifest in two ways: 1) the storage space physically necessary to hold the TP and 2) the capital tied up in owning this before you need it.

To put it another way, maybe poorer people can afford to buy in bulk, but in their apartments they have no place to put a gigantic package of toilet paper. Or, maybe they choose not to tie up $25 in securing future TP when they need that liquidity to ensure they can make a car payment this month.

In either way, they get something of value by not holding inventory in their house. That's why it costs more. It's not completely clear that they'd be better off if they could lock in low TP prices, even if they did have the cash on hand.
Resources for Amateur Compiler Writers
it's much easier for you US citizens to get work visas (and a permanent residence permit is automatic after 5 years) than it is for us EU citizens (or for a matter of fact, just about everyone except canadians and mexicans) to get a work permit in the US, while a green card is a tough call.

not sure about austria, but germany and spain give you a residence permit even as a freelancer / entrepreneur, so these are good options to look into for folks working remotely or working for themselves (freelancers, consultants, startup founders, ...) and the process is pretty straightforward

might be good non-US destinations for these looking for something different
Footnote on the graphic: *All payout amounts are chosen at the discretion of ZERODIUM and are subject to change or cancellation without notice.

Translation: "Show us what you got and then we'll screw you over."

Sounds like you're less likely to get screwed by an escrow service found on TOR.
I'll post this without any real citation, except the word of a high-school, then college teacher and neuroscientist i have known.

That teacher said: classes are not for real learning, but for getting the first contact, or solving doubts. Homework is where the magic happens. Small amount of (handwritten) homework, related to the same day class, and a good sleeping night.

He also advocated for less class time, some school time for homework, and more time of extra activities not related to TV watching or internet procrastination. Also, reading, reading and more reading.
Uber to train drivers in Pakistan about sexual harassment
8:30 to 3, plus the hour on either side to get to and from school, plus the 2 hours of homework, plus extracurriculars 2-3 days a week. It varies a lot, but it usually makes for long days.
Also, the cost of preventing the evil is not worth it. It would be more efficient to spend the money on what you're good at.
> The FBI cannot get past this layer

Yes, it can, and I explained exactly how in the original post. It's true I got some of the technical details wrong, but the substance of the post was and is correct.
FBI didn't demand help with that layer, it demanded a way to bypass auto erase. They intended to perform the brute force of the 4 digit PIN themselves. Sure, they wanted to be able to enter PINs electronically, but they could just as easily have an intern sit there and enumerate the 1000 combinations once auto erase was disabled.
Amazon founder Jeff Bezos has a surprising reason to explore space
Why are payday loans a real killer? Is it because you think short-term, high-interest loans to people with poor credit is bad for the people with poor credit, or are you OK with it in principle but think they should be more upfront about some of the shady things like hidden fees, deceptive tactics, etc.?
The story is trying to illustrate a specific dynamic: because of being unable to spend a little more in one month [1], you end up having to pay a lot more in later months.

You're supporting that by illustrating a situation where being able to come up with a lot of money over a year enables a savings later, which gives a different impression than "look how poor you become from not having $50 one time". I think your example supports my point: being poor has costs, but it doesn't look at all like the dynamic given.

>I disagree with your premise that the poor can often get loans big enough to make an impact in their lives. And when they do, they tend to be predatory loans.

But if the savings is so sharp, then even a predatory loan could reverse the cycle. In practice, it doesn't. So the theory is incomplete.

[1] though inflation since the writing makes the amount larger than it sounds now
Anyone up north in Santa Rosa, Rohnert Park, or Petaluma? What's it like up there? Any jobs?
So true, if only more users realized this. I for one really appreciate your work this.

Users don't understand that computer resources like CPU time and battery level are really their property. It is an awful like paying a hidden poor quality tax.

It is not unreasonable to expect software to not waste CPU and battery time.
Free International Calls via PopTox
Fat reserves won't help prevent muscle protein breakdown. The only way to help prevent muscle catabolism is by consuming protein, which if you are fasting you aren't doing. If your goal is to lose weight while maintaining as much muscle mass as possible it doesn't seem like IF would be the optimal choice for that. Its not physiologically possible to have muscle protein synthesis exceed muscle protein breakdown unless you consume protein. The body cannot produce essential amino acids and must obtain them from the diet.
My school (private) had nominal 8 hour days (8-4), but 4 to 4.5 hours of class. The remaining time was spread between two breaks (we only had 3 classes on a given day).
Like you said, you didn't read the article. It's usually better not to comment if you have not.

But I'll help you out:

Implied was that they had enough money to buy in bulk for multiple months, but had wasted it on other things by the time the end of the month came.

There was another class of people who could not do even that, and could only buy for that one month, they could not buy in bulk at any time. (Which is what you were imagining I was talking about.)
I checked the elementary schools around me, and they all seem to have a 6.5 hour school day which includes a 45 minute - 60 minute lunch and 3 hours/week of physical education/recess.

They have a 180 day year spread over 42 weeks, so that's 30 days off during that time. If extended for a full 52 week year, that'd be close to 37 days of vacation.

Which schools are in session 8 hours/day? I'm ignoring optional extracurricular activities since those are at the discression of students/parents.
Whenever Debian 7 and RHEL7 loose all support, at the minimum. Both shipped with 2.7 as the system interpreter.
I think 6 hours/day is pretty normal these days, based on my younger sibling and teacher relatives. Definitely less than a "normal" 40 hour workday.
Do you think it should be?
Bixa Color – the first chromatic font for the web
What is the significance of the "something laying not flat on top of something else" photos? I mean, a photo of a pancake on a bunny doesn't provide any meaningful evidence of superconductivity. Something to do with the Meissner effect?
I was living in LA for a while (5 years). I got a job as a photographer at a modeling agency. Pay was crap so I tried doing more programming work but most of the work wasn't very innovative and really boring compared to Silicon Valley so I moved back to the bay area where I'm originally from.

Going from being surrounded by models all day to living in Man Jose is quite the difference. Wish I could still be there.
Yes, Detroit is awesome, please move there
You could call it TwentyEight.
I'm convinced that if I hadn't done all that mindless arithmetic homework in elementary school, today I wouldn't be able to calculate a tip. Some material just has to be practiced so that it is properly internalized.

If all you do is absorb lessons without the underlying practice, the material will evaporate from your brain within a short time.

Imagine if you had only seen division or multiplication being done on the blackboard by the teacher, and never practiced it. Today, you'd at best have a faint, dim recollection of having seen such a thing, and you'd be powerless without a calculator when confronted with some matter involving two digit numbers.

We should also look at other things that impose a "high cost" on children: spending hours playing video games or noses constantly buried in mobile devices.
Building Bixa Color, a color font for the web
> FBI didn't demand help with that layer, it demanded a way to bypass auto erase.

...so that they could get past that layer of encryption by making lots of password attempts.
Is this the most important human-computer matchup of our lifetimes? Seems like it should be a bigger deal.
Also interesting is the default 'Balanced' power-saving settings for Windows Server 2008.

http://serverfault.com/questions/94212/does-cpu-power-manage...
The info is useful, but not sellable? The two seem deeply intertwined. If I can prove usefulness, I can sell it.

Actually, you say the info has "a use"... does that not directly imply worth?
Pivot Tables in RethinkDB
China's nightmarish citizen scores are a warning for Americans
At least write your own prime checking algorithm!
How about more things?

Credit, which was literally created to hose the poor.

How about goddamn product marketing which merely has the effect 1) robbing poor people of their time and 2) jacking up costs of goods at the expense of 1?

It's all wrong.
This is just my personal opinion, but I really appreciate it when things like this are desktop apps.

I like having my data stored locally and having full control over what's going on and who has what. I don't want to have to worry about whether or not someone's service will be there a few years down the line, or what their uptime is.

I also like that older desktop apps feel really snappy on modern hardware. Usually, depending on the file format, it's not too hard to work out my own sync'ing setup. If I'm the only one using it, dropbox or something like that normally works.

Of course there are also online apps I really like, such as trello etc. I realize I'm giving those short shrift, with my quick list, and that there are really established apps out there with great guarantees that sure don't look like they're going anywhere, but I think you can get a vague idea as to my preference from it.

I'll definitely check out TreeSheets tonight. Appreciate the work you've done on it.
WiFi Cable
The Death of the Statistical Tests of Hypotheses
Why only add 1? Why add anything at all?

game.check = function() {
this.streak = Number.MAX_VALUE;
this.next_n();
};

document.querySelector("#start").click();
document.querySelector("#yes").click();
>Because poor people are high-risk loans, you'd need to put a significant risk factor on that boots loan if you ever hoped to break even (there's a reason credit cards charge 20+% interest).

Well, yeah, but that's the point: it's not that they're $50 away from a perpetually self-reinforcing cycle of rising out of poverty. It's that even if you loaned them the money, and showed them the savings, they still won't take the rudimentary steps (pay back some of the easy savings). (Hence why my disproof involved the example of a charity program.)

But at that you'd you'd be using a very different theory of poverty than the Vimes one; it's not that the person couldn't find an extra $50 one time, it's that they are unwilling to plan ahead even when the seed money is given to them. That has a very different moral than the one in the excerpt.

>"But why would you deliberately go into debt?". Imagine trying to explain to somebody below the poverty line that the boots are worth going into debt for!

So wait, now you're saying the problem is that the poor are too unwilling to borrow?
Incidentally, even if you are using Newton's method to do square roots, it helps significantly to start with a guess of the right size. If your initial guess is way too large, each step will cut it down by about a factor of 1/2; if it's way too small, it's equivalent (for finding sqrt(N)) to choosing N/guess. Thus, if you're taking the square root of 2^64, and you start with 1, your subsequent guesses will be roughly 2^63, 2^62, 2^61, 2^60, ..., taking a total of 36 steps to reach the right integer; whereas if you started with 2^33, it takes (by my computation) only 5 steps to get to the right integer.

The effect is more significant with larger numbers:

arc> (newton-steps (round (* 3/2 (expt 2 1000))) 1)
508
arc> (newton-steps (round (* 3/2 (expt 2 1000))) (expt 2 500))
8
That's just a matter of habits and motivation. A well-off person who can't be bothered to price-compare toilet paper still could pay less if they wanted to, they just don't care to because they don't need to. The poor person stuck paying more doesn't have the option to pay less if they want to.
He initially did. Then decided to reuse the one already provided. The goal of cheating in this manner, after all, would be to match exactly the implementation the original programmer used. Even if it was buggy.
All of it up to 100k is exempt, it's called the Foreign Earned Income Exclusion and it goes up every year w/ inflation.
https://www.irs.gov/Individuals/International-Taxpayers/Fore...
Redbubble, 99designs, BugHerd and Flippa are some other international products/companies that come to mind.
Biased, but try Bulgaria. IMHO currently only Bucharest can (somewhat) compete as a SW/startup hub in the region. HW is generally weak throughout the Balkans, though.
UPX is not magic -- it compresses machine code and makes sure unpacking code is run every time the executable is loaded. So if you only care about the size of the binaries in transit, don't use UPX, just use eg NSIS with lzma compression. You'll probably end up with a smaller package this way.
What might happen if you encouraged her to skip homework? Is there any mitigation for whatever harms you'd see?

I'm just interested in ideas about this: I've been seeing schoolwork darken the life of my niece; her parents are trying to help, and all I can do is mention my opinion to my brother once or twice. I also think homeschooling would be better.
Seems like you could stick one of those stylus nubs on a 3d printer head and do the same thing but rapid fire. That would be pretty cool actually.
You might be right, I have only taken a quick look. Still useful if the implementation is easy to hack. There so many NER (named entity recognition) libraries, including Apache OpenNLP that I am surprised that NER was rolled in by default. I have my own NER as part of kbsportal.com
How's this: https://asmeurer.github.io/python3-presentation/slides.html