skysight-inc/HackerNews huggingface dataset:
That's interesting - never heard anything like that. Where did you go to high school? The idea of elite schools saying not to bother doesn't sit right with me - a lot of the top schools pride themselves on finding diamonds in the rough, and that would run counter to that.
Tools for analyzing Node.js programs with SystemTap
Because if the engine only examined each character at most once, then it would not be a backtracking RE engine.
Android has this built into the OS already. It will even turn off cellular data once a cap has been hit.
Oh my that is some hilarious content. It reminds me of me circa 2005-08. I had so many jugs of protein laying around the office that they call me Mr. Wizard. Of course I should have showed my dominance and ridiculed them and demanded they call me Mr. Warlock goddamn it :)
I'm glad someone is pointing out something that nagged away at me for a long time. With every other cost-of-living product, we celebrate when their prices go down, because we recognize that a lower cost-of-living translates to better qualify-of-life, at the aggregate. So why is it that we do the exact opposite with housing.

Imagine if house prices tomorrow were to increase by 10% across the board, throughout the country. Who exactly would that help? Not the vast majority of home-owners who own a single home. They're still going to continue living in their house, and will be unaffected by the 10% increase in any meaningful way. And if they ever decide to sell the house and claim the 10% increase as profit, where are they going to live next? They will just have to buy/rent another house, where their earlier profit will be going entirely towards paying the higher housing prices for their new home.

So what you really have is a situation where all the renters face dramatically higher costs of living, the single home owners are mostly neutral, and the upper-class with multiple homes suddenly find themselves with a windfall. And we think this is cause for celebration?

Personally, I can't wait for the next housing crash.
The code is still the contract. The code says that the majority of mining determines the state of the blockchain. That hasn't changed.

The logic of "the code is the contract" is that whatever happens is in and of itself legal. You cannot break the law, you can only mold the law to conform to your current reality.
I guess it was just:

- login to server

- make dump of all threads stack traces

- see that something like Regexp.match present in all stacks

- find function that called this regexp.
Isn't asking content-providers to subsidize the cost of data for the users of their app contrary to network neutrality (which all three of the representatives signing this letter voted in favor of)?
1. Tab state is presentation state, so generally belongs in the component rather than in Flux which is generally for business state.

2. If you do have a tabs reducer, it should be considered part of your tabs component. Use a good boilerplate that sets it up that way, like https://github.com/mxstbr/react-boilerplate
In this case the comment appeared trollish, and appearance of trollishness becomes reality in threads like this.

More generally in case you're interested, the thing we look for in moderating this sort of thread—i.e the sort that usually turns into a flamewar—is whether the discussion is staying concrete or whether it is veering into generic ideological disputes, which have the gravitational pull of black holes and are about as interesting to look at. I posted a bit more about this here:
https://news.ycombinator.com/item?id=12132109.
Chairman Elon's Great Leap Forward
Houses build equity, I'm not sure if they have been expected to be a good investment that beats inflation. This was pushed hard though by multiple industries during the mortgage bubble
Thanks for the answer! Shortly said I feel the same. Angular 2.x would bring fairly marginal value to an existing project. Considering the amount of refactoring it's not worth it yet.
>use a FAT partition to store downloaded files

Do you never download anything bigger than or equal to 4 GiB?
That's the investopedia definition.

Here's an alternate definition (and you'd adjust based on a given industry or company)

Start with Net income
+ expenses not using cash (such as depreciation and amortization)
- revenues not providing cash (such as recognition of deferred revenues)
- increase in working capital or + decrease in working capital
- increase in required cash balances or + decrease in required cash balances
+ interest paid in cash (recall that all firms must disclose this number)
- interest tax shield (the tax “savings” from financing charges due to the tax deductibility of interest)
- long term capital investment (including, but not limited to capital expenditures or “CAPEX”)
+ cash from sales of assets (including sales of PPE)

= Free Cash Flows to the Unlevered Firm

You'd continue on with more calculations to get to free cash flows to common equity or whatever you're interested in.
3 trillion trees on Earth (2015)
ZFS don't really need ECC that much, just FUD.

Most likely someone got bitten by faulty RAM, got corrupted data, which stopped after getting ECC RAM. => "ZFS wants ECC" myth, but in reality you just need stable hardware.

At the same time, if you are running like 30-40 TB pool, you probably want that ECC RAM, it will cost only small fraction of total storage box price and will save you from rebuilding a pool if shit happens.
There definitely are many problems and things that could be improved, however, the point is that even if all of those problems would be fixed, there would be a gender disparity in choice of occupations.

The GP statement "If there is no gender parity, there is a problem" is strictly false, even in an ideal world managed by fairies where all these problems are totally fixed, we would not observe gender parity - it would for most professions be much closer to 50/50 than nowadays, that's true, but it would not be at 50/50.
I think you're missing an important point though. The article's proof is guaranteed to be verifiable in a known finite amount of time. Your example does not so it's hard to take commentary from it onto the article's subject.
i feel like they're trying to stay ahead by focusing sights on niantic before the public shows up at the telcos with pitchforks. lame overall.
This is crazy "Many collectors consider VHS to be the vinyl of analog video recording, and think the future could see them hoarded just as enthusiastically"

I can sort of get the melancholy/nostalgia for vinyl records, despite the crackles and pops... But low def video? How can someone think it's superior to modern alternatives? I can understand not being enamored with seeing people's warts on high def... But aside from faces, high def is demonstrably better, no?
Very old code, hard to say what the thinking was at the time. That is why we are doing an audit looking for any unneeded regexes, or regexes that are susceptible to backtracking
The scan function is the core of all programming
I think we're quibbling over semantics here. I disagree about you being a bad person: if you said stupid, hurtful things to someone, then yes, you were a bad person, at that moment in time. But that doesn't mean you're always bad, or that you'll always be bad. But bad behavior is bad behavior, and people who behave badly are bad people. We've all been bad people at some point in our lives. We need to be educated and corrected so that we can be better people. But again, this is semantics I think. It's kinda like how all governments are bad governments, but some are a lot better than others. Or that all operating systems suck, but some suck worse than others.
I'm surprised that a developer was able to fix StackOverflow without being able to look up the error message on StackOverflow.
Yes. What's more you actually change the direction above a certain speed like 5km/h or so.

Prior to that you turn the bar into the direction you want to go, above that you do the opposite. The cerebellum rules.

When riding a motorcycle it's very noticeable. Just tipping the handlebar with the finger at 100km/h and it will lean into the other direction.
The original idea on the Macintosh was to have some place to put non-code assets - icons, images, etc - that came with an application. So MacOS files had a "data fork" and a "resource fork". The "resource fork" was a tree structure managed by the Resource Manager.

The problem was that the original Macintosh had limited memory and only a floppy disk, and the implementation of writing to the resource fork wasn't very good. Many programs wrote to their own resource fork for preferences and such. The tree structure wasn't updated fully until the program was closed, because writing to the floppy was so slow. If the program exited abnormally, the resource fork's links were broken. This gave the resource fork approach a bad reputation.

Since Windows programs had to run on DOS, which didn't have resource forks, Windows never used this much. Windows put non-code assets in the executable as read-only objects.

NT, which was supposed to do everything (originally it had POSIX and OS/2 compatibility, and ran on MIPS, Alpha, and x86) added generalized support for resource forks, just in case. But since most applications were written for Windows 3.1/95/ME, they didn't use those facilities.

So that's how we got here.
Seems like there is still no better way to deal with these kind of mistakes than preemptive Erlang-style lightweight processes.
You make a valid point. Either their analysis is dodgy, or the regex engine is very, very poor.
I looked at that module a while back. The goto statements make it very difficult to analyze. It seems to integrate well with the signals module, which could be used to interrupt a large class of ReDoS attempts, but determining whether all potential regexps could be interrupted using signals, with the goto statements, is a difficult task.
>Many collectors consider VHS to be the vinyl of analog video recording

Except the horrible quality issues associated with the tapes wearing out was the main reason for switching. People listen to vinyl because it doesn't suffer from compression artifacts.
If you are really using a state machine and every match in the regex is at the end of the haystack, then you can reverse the state machine and use the same algorithm you described in reverse. :-)

(Rust's regex engine does this.)
Admittedly, once you know that statement P is true it's proof is even easier: P =>P.
Haha, really!

Maybe I'm less-experienced (1.5 yrs), but it would have taken me significantly more than the 15 mins(was it?) that it took them to diagnose the problem.

Props to the team, and Thank All 0.33G Gods I was not on call!
The concept I try to go for with that status check is 'Can this node connect to everything so it can successfully respond to http requests'. However my approach wouldn't identify an overloaded server, which might be a good thing if we need to scale up - taking down an overloaded server is just going to make the other servers that much more overloaded.

I'm aways up for hearing about other ways people solve health checks.
I can get 30Mbit/s (3.75MB/s) to my handset and they're worried about _10-20MB per hour?_ The problem here isn't the data usage by Niantic: it's the carrier rate plans.
I've been running it for over 8 years on Arch Linux using the AUR packages, from FUSE through to the kernel driver. I run a RAIDZ2 pool that is now upgraded to ~4TB capacity from 4 2TB disks. I have had no known data loss. I did once lose my (non-ZFS) boot drive to hardware failure and the zpool mounted right up with a fresh installation.
Temporarily ignore a file with git
But... how did they search for a fix without resorting to Stack Overflow? :)
Using dir normally does not display anything related to the alternate data streams, but if you use the /r option, their names and sizes will be shown.
Not implementing the fork would be an official no-fork position, enforced on everyone running the client. Implementing the fork gives users the ability to choose.

The default was set pro-fork, but that was clearly the most popular option before the software was released. The real decision was made by the miners, and I think it'd be hard to argue that the miners weren't aware of the issue, or didn't have the technical chops to set the option however they liked.
I had a tough time reproducing it in Perl, although I think I managed to get it.

% perl -v
This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi
% ls -l testfile
125380092 Jul 20 16:41 testfile
% time ./regextest testfile
./regextest testfile 0.36s user 0.03s system 99% cpu 0.398 total
(Remove the a at the end)
% time ./regextest testfile
./regextest testfile 0.13s user 0.03s system 99% cpu 0.156 total

I had to make a much larger input file than I expected before I was able to really see the difference. Given the O(n^2) nature of the bug, I was expecting it to take much longer.
LogDNA (YC W15) – Logging in the cloud raises 1.3M from Skype co-founder
Here's a Federal checkpoint that's made out of grass and sticks.

https://www.google.com/maps/@16.0751514,-91.0688863,3a,75y,1...

How much of a wall were you hoping for? Most of their border consists of nothing but a graded road through the forest, much like the American border with Canada.
> I'd rather Niantic cache more to reduce load on servers.

While it is always possible that they just massively suck at infrastructure, I suspect that cheating is the issue preventing more caching.

By keeping everything on their servers, the types of cheating you have to police are massively reduced.

And people who play Pokemon will do ANYTHING to catch 'em all.
This regular expression has been replaced with a substring function.

God I wish all my bugs were this easy to fix and deploy
Unfortunately without the help of Adobe itself, this project is DOA. It won't run most flash content out there. Flash content HAS to be specifically designed to run on shumway. Adobe should have open sourced flash years ago, it didn't. Well at least that's a lesson for developers, don't use proprietary techs on the web.
But millions of developers also go "I don't get how it works, just make it world-writable". Not sure they understand either.
I think it'd be possible to inject this kind of thing into your code if you're just starting out with vim, aren't cognisant of all commands you invoke, and then copy/paste all code straight into a browser.
"Who exactly would that help?"

The banks. I don't even think they pretend otherwise at this point?
Hey! Lee here (CTO / co-founder) wanted to say thanks for all the feedback when we launched in February. We're constantly adding new features weekly and if there's anything we can help with, I'm happy to answer any questions!
Something I feel passionate about. One of my very few regrets is that I didn't start my daily journal until my 30's. Chatting to friends who are about to become parents, the only advice I could think of was to take the pictures/videos (which you will do) and keep a simple journal - it's the little stuff which years later provides so much joy.

I started a basic journal in my early 20's but it was really just a list of important things that happened to me, no embellishment or feelings, I should have taken the time to do more.

My journals are private, I use Evernote now but could do the same in a .txt file which I used to do. The technology is not important, setting aside a little time each day to document what happened and what you thought about it is. Start today people!
They never claimed VHS is “superior to modern alternatives”, they claimed it is “the vinyl of analog video recording”.
hah! The catch 22
I wanted to figure that out. I found a meta post stating the SO uses C#, so that might narrow it down.
It's a little unfair to complain that they're slower than 30 year old regex engines when the old regex engines were so feature limited that they were nearly useless.
This isn't true; they're both general purpose programming languages with strong static type systems and decent async I/O stories. You can write a web app or a server in either language, though Dart has a better ecosystem for frontend development, and Go has a better ecosystem for backend development.
Cool project! As many games lack APIs, you could potentially analyze the raw audio and the graphics in real time, and use machine learning for detecting certain events, such as goals in rocket league
What if you're the lowest common denominator?
I'm surprised it's a problem even when the suffix .udl is present.
Same here. I was hoping that the acquisition of Mojang would quickly fix that. Now I do not have much hope anymore.
When I'm at my grandparents I get a kick out of watching VHS movies on their old CRT TV. Plus I get to watch the unadulterated version of 'A New Hope'.

After about 10 minutes I forget what I'm watching on anyway.

I'm not going to set that up at home though..
His ad networks have historically delivered too much malware.

We blocked it at work during one such episode many, many years ago, and got crazy complaints from the call centers about IT being part of a vast left wing conspiracy. Funny thing is that our boss was a county conservative party chairperson.
I used CP/M with a Z80 coprocessor card on an Apple II. I didn't know RSX-11 also had pip, though.
Niantic is free to ignore this letter. Stifling would be if laws were passed on how Pokemon Go could be played. This isn't that.

That said, these questions should be posed to the carriers rather than Niantic.
This chain of logic is particularly pernicious.

Given the absence of more data, it's equally likely that the events reported were true, and went unreported for the reasons stated. There was some guy, recently, who wasn't even a Boss, or particularly powerful or influential in his own right, who beat and assaulted a woman, and experienced relatively minimal consequences for doing so?

Oh, yeah, this guy - https://en.wikipedia.org/wiki/People_v._Turner

Certainly, the woman in question in that case is not now retired off the millions she earned for reporting what happened her to the police.

So, why would you expect a different outcome, or why should someone who has experienced such abuse expect a different outcome, when the perpetrator does have direct influence over their livelihood (and thus, ability to continue doing things like live indoors or eat food regularly)? And, expecting no real justice, why go through the public spectacle and (as frequently happens) accusations of being a liar (etc), possible public shaming and ostracization, etc, for no reason?

So, why jump to your conclusion? I anyone harmed by giving poeple who claim to have been hurt the benefit of the doubt?
I can understand not wanting a high quality signal of something not meant to be high quality. But DVDs can hold a low-quality video just fine. I've got some SD DVDs.

And VCRs are generally substantially lower quality than the "original" since VCR tapes are much lower resolution than NTSC, so that doesn't really work well.

Really, none of the vinyl arguments apply here.

(Full disclosure, I don't really buy the vinyl arguments either. My personal suspicion is that vinyl has historically been thought to be better not because of vinyl advantages but because vinyl mixes weren't participating in the loudness war. I'll buy that a non-war'ed vinyl might sound better than a war'ed CD, but I'd rather have a non-war'ed CD.)
> This jumping

Not sure where you perceive this jump as having occurred. My point is just that force is a part of any government, arguably a necessary part, which is why fledgling governments often focus on it.
Yeah that was a bummer to see in the alpha and I was holding out that they'd expose that data at release date (as IBM Watson has), but maybe they want to limit the ability for competitors to easily appropriate the sound-to-transcribed-word data.
Nice bug. I tried to replicate this and indeed, the time to notice that no match is found is growing very fast with the length of the input.
Using a substring check is a good fix, but I tried to change the regex to fix this and: if instead of an end anchor, you can add an optional non-whitespace character at the end of the pattern, then you only have to check whether the optional part is empty. Testing with very long strings which respectively match and don't match shows that the result is immediate in both cases.

(defparameter *scanner*
(ppcre:create-scanner
'(:sequence
(:register
(:greedy-repetition 1 nil :whitespace-char-class))
(:register
(:greedy-repetition 0 1 :non-whitespace-char-class)))))

(let ((length 40000))
(defparameter *no-match*
(let ((string (make-string length :initial-element #\space)))
(setf (char string (1- (length string))) #\+)
string))

(defparameter *match* (make-string length :initial-element #\space)))

(defun end-white-match (string)
(ppcre:do-scans (ms me rs re *scanner* string)
(when (and ms
(= (aref re 1) (aref rs 1)))
(return (values ms me)))))

(time (end-white-match *match*))
0, 40000
;; Evaluation took:
;; 0.000 seconds of real time
;; 0.000000 seconds of total run time (0.000000 user, 0.000000 system)
;; 100.00% CPU
;; 25,139,832 processor cycles
;; 0 bytes consed

(time (end-white-match *no-match*))
NIL
;; Evaluation took:
;; 0.000 seconds of real time
;; 0.000000 seconds of total run time (0.000000 user, 0.000000 system)
;; 100.00% CPU
;; 11,105,364 processor cycles
;; 0 bytes consed
Also implemented in the go stdlib https://golang.org/pkg/regexp
> Keep whining though. Maybe you'll be able to prevent the spread of the dreaded females into yet another bastion of male dominance.

I didn't say there was no problem; I said you were wrong about its cause. From that you conclude that I'm a sexist who is actively trying to keep women out of tech?

Jesus man, I know this is a contentious issue, but get a hold on yourself. I've hired and promoted female software engineers. When I left my last job, I spent nine months grooming a woman on my team to take over my job (not because she was a woman, or even because she was clearly the most qualified, but because she was the one who expressed interest in it and busted ass to learn it and took classes to improve in areas she was weak in.) I may be a sexist or I may not be, but you're not in a position to judge based on a comment in a forum you didn't like. Maybe take a breath and remember that there are real people behind these handles, eh?
FWIW, the conversion from NFA (non-deterministic, i.e. backtracking) to DFA (deterministic, linear time) can take exponential space. So there's another avenue for DDOS; it's a lot harder to exploit, though, because it requires the attacker to control the input (i.e. regular expression) to the NFA->DFA transformation, rather than merely provide a string that takes a long time for an NFA to recognize.
I really wonder if one day (perhaps in a distant future) HTML will end up on a graveyard, just like Flash, and what we can do now to make this event less painful.
ZFS can run on pretty low specs unless it's being pushed hard. I use a low-power AMD Sempron to keep things quiet. These specs are enough for all my backup and video streaming needs:

$ head -1 /proc/meminfo
MemTotal: 1967672 kB

$ grep model.name /proc/cpuinfo | head -1
model name: AMD Sempron(tm) 145 Processor
So you have the classic NFA and DFA engines, and these more modern NSH (non-deterministic space heater) engines.

At least they keep you warm. Sometimes.

How can it not be a feature that you can heat more space the more spaces you feed it?
"As the new shorter proof is the compressed representation + the decompression program." A proof is a sequence of deductions, not a program that generates a sequence of deductions.
Harsh? You're kidding. I love my bike (2008 Trek Madone 5.7, I think? The one with the integrated bottom bracket, the 'lowest' model with that but is made in the US).

The first time I rode carbon, I knew it had to be all carbon. It's so smooth, like butter. Not even a contest vs aluminum. I haven't ridden steel in ages, but based on weight alone, yeah, carbon.
Launching a crowdfunding campaign in 7 days or less