skysight-inc/HackerNews huggingface dataset:
There's a W3C rule, that each browser needs their own implementation. If everybody uses the same code, it's considered a Monoculture security risk [1].

1. https://www.schneier.com/blog/archives/2010/12/software_mono...
Our disagreement may be definitional - your original response was succinct and clear, but did not make an argument, merely an assertion.

A) I see no reason that 'being made up of units which are intelligent' ought to classify a system as intelligent.

B) I see no way in which you can usefully talk about anything without intentional behavior as a 'maximizing intelligence'.

You can't call 'capitalism' the 'driver of our economy' for the same reason you can't call 'ecology' the 'driver of natural selection' or 'conflict' the 'driver of our military conquests'. You are conflating a system with the units in the system, and talking about an ecology of intelligent units as if it is satisfying some behavioral utility function.

'Capitalism' doesn't have a utility function, because it doesn't have decision-making capacity, which is pretty much the only prerequisite for intelligent behavior. It doesn't drive our economy, it is our economy. The actors in the system are corporations and humans (and governments, unions, and a few other united organizational structures), therefore those are the things which can exhibit intelligence.
Have you used Varnish before? Should solve your problem almost instantly.
Your comment is killing the layout of this page. Can you please fix the formatting of your message? HN does not support arbitrary markdown. And even if it did indenting by four spaces would yield pre-formatting not an ordered list.
or just Varnish :P
YC style companies are great for consumer software, but BB is directed at financial companies, which are very conservative and put a lot of value in support. There is no way to win in that space by being cheap, you need a lot of investment to provide mature code and high-quality support by real people.
What do you mean? It sounded sensible to me.
I'm suggesting closing the avenues during the daytime, especially rush hours. Deliveries and garbage pickup can happen early morning or in the evening (which is already the case for garbage pickup).
> Does dartfmt handle this? If not, do you have ideas on how it might?

Yes, it does! Correct indentation based for nested expressions is a vital feature for helping the reader understand the structure of the code.

The basic idea is fairly simple. Any place a line break may appear, you mark it with a number representing how deeply nested in the expression it is. So in code like:

function(outer(inner(first, second), third));

You would get chunks whose expression nesting level is like:

function( 1
outer( 2
inner( 3
first, 3
second), 2
third));

When you line break, you ensure that its nesting level gets assigned a correct indentation level. Deeper nesting means deeper indentation:

function(
outer(
inner(
first,
second),
third));

There are a bunch of interesting edge cases, though. Some times a nesting level doesn't happen on a line break, so it doesn't need to get an indentation level associated with it:

function(outer(inner(
first,
second), third));

Here, levels 1 and 2 don't appear in line breaks, so we give the first indentation level to nesting level 3. There are stranger cases where you may assign a deeper level before a shallower one like:

function(outer(inner(
first,
second),
third));

Shaking out all of the bugs requires a lot of work and a really big test suite.

> Also, how does it handle invalid input? I may want to reindent my code before it's correct.

If the code doesn't parse, it just exits with an error. Being able to run it on incomplete input would be useful, but I decided it was out of scope.

> Also, did you explore constraint solvers instead of a graph traversal?

Good question! I have a little experience with them. I think the line between the two is sort of fuzzy. I didn't approach it directly like a constraint solving problem, but it does have some features in common.
But bring a boat in case of a Katrina 2 coming in
I ask myself the same thing regarding the file system API. It's like Mozilla and co are against serious offline apps that would have taken advantage of these 2 features heavily. And no , IndexedDB is not a replacement for these.
Page not loading.

Edit: there we go. Now loaded. Ha ha.

He sounds like Simon Cowell but with a lothario sensibility. This guy should be narrating romantic novels for chicks.
Honestly. I put this together in about 25 mins. Didn't think too hard haha. Thanks for the link though, shall check it out.
Arizona gets a bad rep as super hot, but Tucson is not nearly as hot due to being slightly higher altitude. Also, the government tends to be "smaller" and less intrusive than other states such as say Illinois. I lived there 2 years when stationed at Ft Huachuca during my UAV training, loved the state and would live there again if given a chance.
I'm not a Python developer but what I've seen and find frustrating is the slow migration of libraries to Python 3. Some projects have switched to 3 and some are sticking with 2 for now. Some applications are using 2 because they have dependencies using 2, but as those dependencies switch applications have to deal with combining Python 2 and Python 3 dependencies.

I know each issue is easy in isolation, but we're talking about old 25M line codebases here. If such things exist in Python it can be a maintenance problem.

I'm in favor of languages making breaking changes occasionally but there is something to be said for languages like Java or Fortran that are intended to keep compatibility forever.
Workspace of Garrett Galayda. An UX director by day and audiopreneur by night.
Are they statisticians by any chance? Their domain knowledge would be much more important than programming experience. Conversely, for a programmer experienced in a classical PL (FORTRAN, LISP, C, Java), SAS is quite a shock. Data-oriented computation models (like SAS has) are not so common any more.
About 1300 people actively on the site right now. Maybe why.
Probably not the language itself, but the quivering mass of libraries with moving APIs and bolted-on design fads. Numerics is numerics--functions, matrices, linear algebra and indexing isn't going to change any time soon.

That Fortran gets bashed and Lisp is worshiped seems quite incongruous.
The list behind that link says "LCD non-glare" but are those really matte? I see a lot of touchscreens in that list. And I have yet to see a matte touchscreen laptop.
Coming!!!
This is good for people used to sql but I personally find the way that IndexDB stores data to be superior. You just have to get used to the NoSQL way of persisting objects. Making one technology look like another is never efficient for an app.
Austin has a huge startup culture, the Mayor of Chicago is trying really hard to bootstrap a similar ecosystem with tax incentives, and Portland is really just a smaller and slightly cheaper SF.
So dogs and wolves are the same species? I know that different species usually cannot interbreed, but I don't think that's the sole criterion.
Can I just say: Cost of living ONLY matters if you're compensated from out of state.

A lot of people look at CoL and think "wow for the $120K I make in NYC I could live like a king in Oklahoma!" But the reality is that places with lower CoL also have lower salaries, so a $120K NYC salary might be $60K in other states, with the same job, same responsibilities, etc. It is relative.

Oregon has a lowish CoL and a low amount of snow. Ditto with Ohio. No clue on startup culture. Utah (yes, that one) seems to be an up-and-comer in terms of startup culture, and while it does get a lot of snow, they're very pro-active in clearing it which is nice.
Also Electron apps. It's currently pretty painful getting sqlite working with Electron, this could be a nice alternative.
This needs to be added.
Wrong as in unethical or prohibited by common licensing? Or just your opinion of the tactic?
> Did you know that Go doesn't have a line limit and gofmt doesn't wrap lines?

Yup.

My feeling is that this keeps gofmt much simpler, but it kind of punts the problem onto users. I wanted a more complete solution, even though the result is a lot more complex.
Maybe write an article linking and describing the different projects, maybe give some current perspective, and then submit that?
Some realities are impossible to accept fully.
> if you can get a copy of the password hash from a database dump is it not pretty much game-over anyway?

Only if you are using a weak hash like MD5. The primary point of hashing a user's password is to make so that it cannot be easily cracked in the event of a DB breach/leak. Stronger hashes require much more time, energy and computing power to crack...far more than what is realistically available today.

> If you're able to perform SQL injection against the DB, would you not be able to change the password in order to gain access to the system, or grant admin privileges to your own accoun

Depends. You would need to know what hashing algos/processes, initialization vectors, etc that are in place to create the DB hashes. For example, if they are "salting" the passwords, you would also need to have the salt token on hand.
I made a news timeline of McAfee if you'd like to catch up: http://newslines.org/john-mcafee/?order=ASC
Thanks, I was stuck on byte code.
You can't use such a literal-minded interpretation in the real world. The real world is complex and fuzzy.

For instance, in species with sexual differentiation, two males or two females cannot mate, but are considered the same species.

For a more precise definition, you would have to, say, look at the probability that a pair of organisms of the appropriate sex from two different populations would be able to mate, and produce viable offspring (that is, offspring that could themselves mate and produce more offspring).

Asking about a single organism that happens to be infertile, or a single pair that happens not to be able to mate or produce viable offspring, is not particularly interesting, but at a population level you could use a statistical test to get a probability distribution, rather than a yes or no answer.

See https://en.wikipedia.org/wiki/Species#Difficulty_defining_or... for more information.

Note also that it can be the case that two different species can mate, and produce offspring, but the offspring itself is not viable (cannot mate and produce offspring). This happens in the case of mating two closely related species, such as when mating a horse and donkey to get a mule (https://en.wikipedia.org/wiki/Mule), or a lion and a tiger to get a liger (https://en.wikipedia.org/wiki/Liger).
I believe he said he lives in Australia.
aluminium, yankee!
Love it! We need more quotes!
Fil: Live coding in your browser (Redux App)
> I've seen plenty of projects with separate front end and back end developers fuck up because the front end developers try to solve "back end problems" on the front end and vice versa.

I totally agree, but even if you have a front-end and back-end communicating well, sometimes the front-end developers throw too much over the wall to the back-end, like when the front-end "thinks it is more intuitive if the request looked like this" instead of something else that would be just as easy to create and would be much less work on the back-end. And I'm sure the opposite is true as well with back-end putting too much work on the front-end.

And, in the argument against a single full-stack developer being the solution to this problem, I've seen extremely talented full-stack developers create some terrible user interfaces, and some who created great user interfaces that would struggle to create adequately performant server-side services to back them.
Rise in ocean level increases the surface area of the ocean, because most coastlines are not vertical cliffs. What is the average slope of dry land between 0m and 10m above sea level?

Reviewing the math, I concede that I may have been off by a factor of 4. But not 6.6!

The estimate for the amount of water needed to cover all land but the summit of Everest is easier, since the upper limit is an ellipsoidal shell 8848m thick. That's about 4.5x10^9 km^3, which is 3.4 times the current ocean volume. Then it's just a matter of estimating how much of that volume is already full of solid matter, and reducing the amount of water needed by the rock that is already there.
Hi, this is Michael, I work at ClusterHQ. We don't support running Flocker with a Google persistent disk backend yet, but would like to. If you add that idea here, it will help us prioritize https://feedback.clusterhq.com/forums/305266-feedback-for-fl...
I think I agree. There are a lot of great things about Go, but (currently) library versioning is not one of them.

This doesn't contradict much of what the author writes: it really is true that two different versions of one library are actually two different libraries; it really is true that sometimes copy-and-paste is better than generalising (when the cost of being general obscures the meaning of the code itself); it really is true that many libraries should just specify and implement an API, then stop.

The issue with libraries in versions in Go could probably be resolved with a more flexible import syntax. It'd be sweet to be able to write 'import foo.invalid/bar@94d0ef312881e694ded9ff38e33a2c07fb398eb8' and know that I'd always either get the exact version that I specified. It'd be even cooler to have some way to specify 'I want the latest version of library X which offers the exact API I'm using'; in principal this would be possible by calculating some deterministic ordering of the used, exposed API and hashing that, but the details would be tricky (as an example, consider a case where Foo() and Bar() still exist, with the same signatures, but in version 2.0 Bar() can only run properly if Baz() has been called previously—there's no way in Go to express that sort of contract to the compiler.
What professional purposes?
The amoebas alive today are still here because they are still here and are alive. The great great grandparents we share with the amoebas alive to day are not alive today they have died a long long time ago.
Yes, the applications are publicly accessible by default, just like the Cedar-based ones.
How the Iran Deal Affects Ordinary People’s Lives in Iran
> Maybe they did it so they could have independent backends (instead of having to share session keys across load balanced api servers).

Since at some point the loginkey was based on the unencrypted password that means that they either had to store the PW in clear (and fetch them from the DB) or generate the key at account creation and fetch it from the DB anyway.

A good strategy to check the token validity without reaching the DB is to sign it cryptographically. The loginKey can be $randomString+sign($randomString). The endpoint can check the signature before doing more costly things like a network request.
Fascinating !

https://en.wikipedia.org/wiki/Ring_species
This is a fallacious line of thinking. Nature does not have agency and was not "trying" anything.
I absolutely agree with your assessment that this shows the real terrifying gifts of the human brain.

What we have to consider when comparing this work to pre-industrial societies, is that he had not to concern himself with getting enough food for the next day.

The tremendous powers of the brain can only be unlocked once the body gets sufficient nutrition.
Why is a t-test necessary given that we have the z-test?
The beauty of evergreen browsers
Hadoop co-founder Mike Cafarella: “the Pete Best of big data”
The NYC subway isn't a commuter rail system, it's a metro, which means stops are spaced closely together - the standard interval is every 0.5 mi.

A maglev train is of pretty marginal benefit here - it'd be a smoother ride, but there is simply no way with the station spacing you can get up to the kinds of speeds where maglev shines. Not to mention having to account for standing passengers means stricter bounds on permissible acceleration, which further knocks down your speed gains.

So sure, hypothetically a maglev train line from Inwood to the Financial District would get you there in 15 minutes... without stopping, but I don't think it's a stretch to say that's not a particularly useful mass transit system ;)

> "You could also build the bus station 10 miles outside of the city, near the stadium, for example, and quickly get everyone into Manhattan."

Right, and this is also why maglev, while being an interesting thought exercise, ignores practically all other constraints.

The bottleneck getting people from NJ into Manhattan isn't the speed of the trains, it's the fact that all rail traffic must pass through Amtrak's aging tunnels that suffer from poor signaling and deteriorating conditions - both of which cause frequent delays. The fact that you're squeezing all this traffic into two tubes itself puts a pretty hard cap on the amount of capacity you have.

NJ-Manhattan rail links are constrained not by speed but by overall capacity. Faster moving trains present an extremely marginal gain on overall capacity, especially when they have to share space/schedules/speeds with non-maglev (is that even possible?) traffic.

There have frequently been thoughts of moving the PABT out to Secaucus where commuters can catch a frequent, fast train to transfer to Penn (or in the future, GCT), but the reality is that the Amtrak tunnels are already operating at capacity so adding a frequent shuttle service is really just a pipe dream at this point.

If NYC/NJ suddenly got a big truckload of cash to invest in infrastructure, "maglev trains" are very, very, very far down the list. Much higher on the list (if not the very top item) would be "build the damn Gateway tunnel", which will double rail capacity under the Hudson and into NJ, and make adding new NJ-Manhattan train service even a possibility.
> Their CEO was probably the single most selfish douchebag I'd ever met.

He ran a website for men wishing to cheat on their wives. The one follows the other as night follows the day.
Doesn't appear to support it, but the source is on github and in theory they're just a different google-flavoured ebs.
People would be really surprised how much of the critical infrastructure of this country in government and enterprise runs on technologies around half a century old. This is nothing new. The IRS still uses millions of lines of COBOL to process our tax returns, the VA uses millions of lines of MUMPS (M) to store and process health and benefits records, and the list goes on and on. It's not going anywhere soon, either.

People skilled in these legacy languages and technology stacks are also amongst the highest paid and most in-demand in the country, at least here on the east coast in places like New York and DC.
The perk of a beta is getting to try it first. The purpose of a beta is for Apple to get test-users that are willing to provide feedback that they can use to perfect the official release of the final version. The final version is the only one that is going to have all the 'perks'.
Jonyjive
Microsoft Design
What's the risk of using plaintext passwords if we assume every user is employing long, random, unique passwords?

This assumption is known to be false. We should not design systems around this assumption. If we do, popping a random startup will give up Gmail accounts, by the thousands to tens of thousands, and since we've settled on email accounts as The One Ring To Your Identity that imperils their brokerages, domain registrars, employers, World of Warcraft characters, physical safety, privacy, cat photos, etc.
This is great. I've seen this tool before, but now that I'm considering a new laptop I find it really helpful. I found a couple laptops I hadn't been aware of, which will make me much more confident that I've made a good decision with whatever I do end up buying.

That said, all of the >>>check details and availability links I've clicked (~5 so far) have 404ed. Is something broken, or are these just expired links?
Oh, come on. You don't need a 3D printer for this. All you need is a piece of sheet metal and a CNC milling machine (or heck, even a manual milling machine and some skill at using it), that every moderately equipped machine shop has on hand.

You can't prevent people from having tools that can be used to manufacture things, and no one is seriously going to try.
That doesn't solve anything because you still have to write a parser and formatter. Once you have one it's easier to run the formatter when writing to disk and the parser when loading. A sufficiently smart editor could reformat the code in an alternate style for editing and format back again to the standard style on save.
I'd be surprised if it was. Children's toys get tested for lead and just breathing it in is dangerous for kids.

Also, lead has a certain look and feel to it. When I open up toys and gadgets, the weight in there doesn't look like lead to me. No idea what it is, but I'd guess a zinc or iron alloy.
Why almost all of them look like they were made in the 90's?
The funny thing is that whomever becomes head of state, most of the system and it's influential players stay the same. Basically, the way I see it nothing changes, just a different face on the news.
I understand "never roll your own encryption" -- history is full of examples why and we all know that encryption is hard.

But who makes encryption in the first place -- groups?
On the other hand, your worst fragmented case still gets ~200MB/s with a random read, which is around the best case with a sequential read for most HDDs today. A 4k random read on a HDD will be 1-2MB/s at most.

Relatively speaking the SSD slows down to ~50% of its max speed with fragmentation, but the HDD will be down to around 1%. So fragmentation affects SSDs somewhat, but HDDs are affected much more severely.

(Which SSD was it, and how was the test setup? That's important for comparison purposes, as the layout of the filesystem blocks and how they correspond to the NAND eraseblocks/pages has a huge effect on what fragmentation will do.)
You don't need a report to tell you that. I ride the subway every day, just go down there and take a look and you'll find that the phrase "it's falling apart" is very literal. Cracks in the walls, floor, and ceiling. Tiles falling off the walls. Railings falling down. Doors hanging by a single hinge. Lights that burnt out years ago and will never be replaced. And lets not get started on the dirt and grime. Or the piles of trash littering the tracks. New York's subway might be great in terms of keeping cars off the road but it's an absolute maintenance disaster.
> Anyway, that raises a philosophical question: if your troops and their supplies need to be delivered across the water, and if your enemy is controlling that water, how much are you controlling the land behind?

Depends on how much that is true. Replacements are definitely a problem, but medieval armies had significant ability to supply locally. On top of this, the Toyotomi army was never blockaded on the peninsula; Yi's actions significantly disrupted the sea lines of communication but never truly cut or controlled them.

Without the Ming army to fight Toyotomi would not have been under significant strain. Even with a Ming army on the field and Yi disrupting his SLOC Toyotomi was still able to extract a truce while he held the southern half of the peninsula.

Regardless, what the Joseon navy was able to accomplish it did because Yi was a badass admiral, not because of turtle ships or other special weapons. That was the original point.
The most efficient ambient sound generator :

setInterval(function(){$('#btn'+(1+Math.floor(Math.random()*21))).trigger('click');},1000)

Very powerful, remarkably simple to use.
Interesting comparison, though the source for the docopt refactoring got mangled. Looks like it may have been double-pasted inside itself.
Someone claiming to be the site's creator is replying to these comments, but for some reason his (pretty new) account is dead, so nobody can see his comments unless they have showdead on :\