skysight-inc/HackerNews huggingface dataset:
One of the domains that identifies and drops evil bit packets -- Kaspersky.com ... Smart, Kaspersky, smart.
The future of Wordpress is JavaScript
> That doesn't say much in itself though. Such infrastructure for "earthquake notification" could just be a few thousand lines or even mostly "glue" code.

In total Openstack encompasses around +4M SLOC written in Python. How much is deployed in a given cloud depends on the configuration. However the community must still shepherd and manage all of that code and make regular, stable releases on a six-month cadence.

It's not "just" glue code.

> As you say "It does rely on systems written in static languages and is itself written in one" which kind of refutes the whole argument, doesn't it?

Not necessarily. Awk was necessarily written because querying unstructured input is a huge pain in plain C. Kernighan gave a recent example of this in one of his recent talks on programming language design.

The caveat is there is a limit at which adding more lines to an awk program becomes counter-productive. It's essentially a good DSL but a terrible language. I think Python defies that -- with the millions of lines of code managed by the community of thousands of developers a large system written in a dynamic language isn't impossible or necessarily hindered by its lack of static type analysis.

> For those cases couldn't one just use a DSL or at worse an sandboxed isolated dynamic language from inside a STL talking care for the rest of the system?

In some sense this is how I view Python and languages of its kind... but I think in practice it's more of a philosophical viewpoint. In practice dynamic languages are general purpose and much suited to certain kinds of programming that static languages are not.

Common Lisp and Smalltalk are great examples of dynamic languages kicking butt. Starting in the debugger and developing self-introspecting systems has a peculiar effect on the programmer. One tends to develop a domain language for solving a class of problems in order to make them tractable. One thing I dislike however is how divorced it can be from the machine. Some Common Lisp compilers can produce really awesome code but it does take a little more burden from the programmer to gain such efficiency from the compiler (compared to the tactical omissions of defined behavior from languages like C which allow almost trivial optimizations... with the trade off that certain errors are quite likely on my part if I'm not careful).

I think there is room for both in the world. I really enjoy OCaml, C, Python, and Common Lisp... and I would seriously consider the problem before the language. Our job after all is to transform data and not spend time writing pretty, elegant, or clever code for the code's sake.

update: grammar.
the author is Miod Vallat, an OpenBSD developer who has "nurtured" many "alternative" architectures' support.
Implementing a Smart Login Modal with Redux, Reselect and ReactJS
It's not just about replacing meat, it's about alternative sources of food.

Imagine mass extinction events, global war disrupting supply chains, space colonies, etc.

These are instances where you would go.. "thank goodness we developed some decent insect food".
Question is, how many real-world cases there are where duck typing is super beneficial. Usually if you need a bunch of differently-typed objects to fulfill the same contract, you can just make them implement an interface (said interface can also be documented, etc., it makes the intent very explicit).

I do believe there are cases where dynamic typing is genuinely useful, but those make up a very small portion of real-world problems.
Actually the Japanese and also many Chinese are running into problems with health because of high salt and such. Soy not as much, and I don't really believe the breast cancer stuff or east asian countries would be the no.1 place for those kinds of cancers.
I assure you that even if you wrote it in Haskell you'd have a few unit tests and integration tests in there.
Some confused people accuse young Abe Lincoln of being homo because he shared a bed with a male housemate in his 20s. That was right around the era where solo beds were becoming a norm instead of a luxury. Before the industrial age it was pretty common for a whole family just to have one or two beds- parents and childrens. And if you stayed at a hotel or army barracks you shared a bed rack with a row of strangers.
My japanese is pretty elementary, but it's quite fun how most "conceptual" things like verbs, adjectives, and nouns are expressed via kanji, and they're related to each other via conjugation with hiragana, particle tagging also in hiragana. And on top of that, foreign words or emphasis are expressed in katakana.

So for example, 私の名前はロデリックです。The words for "I" and "name" are expressed in "complex" kanji (私、名前), connectors
and grammatical stuff in hiragana (の、は、です). And my name, transliterated, in katakana (ロデリック).

I've read somewhere that, as a result, japanese is painful to write, but a pleasure to read. I'm not there yet but I can sort of see it.
Sure, they're reliant on money. But since they have multiple options, then they're no longer reliant on Google money. It's a big step forward for them.
What you usually end up with is roads with tolls that don't subsidize mass transit (are usually just used for road O&M), and are often the main route to get to where the mass transit starts. Which then has its own fares and fees.
Sweeping statements like "X programming language/paradigm has won" do an injustice to the wealth of uses of programming. You wouldn't use the same programming language to write code for an Arduino, a startup MVP web application, an enterprise desktop application etc. and there's no reason you should.

Personally I developed most of my web apps in C# but I find Python great for prototyping and data analysis tasks. Why is there a need to declare a winner?
It was pretty unambiguous to me.
How fast do most users of a PRNG really need it do be? I think it's not unreasonable to pick something like ChaCha20 as a default PRNG (cryptographically secure, huge seed space, much smaller state than MT19937), and let people who need millions of random numbers for simulations use something else.
Interesting and creative, but this guy is reading waaaaay too much into what cards people pick. My guess is that in reality, most people don't give a crap because they're going to put the contact info into their phones and then throw the card away.
The problem is that far too often, what we align ourselves with is far more to do with cultural identity and supporting of viewpoints which dovetail with our own, than out of any desire to believe what's actually correct.

I don't say this about America, but about people in general. We care far more about our egos and not challenging the beliefs we hold, than we do about being correct.

For myself, I can't help but look at this, and the rise of the micro-aggression culture and see links. There's something odd that's happened, where opinion and niceness has become sacrosanct, beyond truth. It's a tribalistic, and ultimately dangerous thing.
He patched the IP stack, so the checksum should be correct.
So did MS, which is why IE often does better than others on Windows.
It's come up 12 times now apparently, I wonder if that's the highest number of HN submissions for a single article:

https://hn.algolia.com/?query=The%20TTY%20demystified&sort=b...
“(Startup) Employer hasn't paid in two months. I haven't eaten for days”
This view gets rather dim at the end. From where is this from?
And it has an armv7. But no builtin display adapter?
> Too much carbohydrates are supposed to be bad.

Carbohydrates are your body and brain's preferred energy source. What makes you think consuming too many is, "bad"? If derived from whole plant sources, carbs are fantastic and shouldn't be restricted.
After 5 Years there's a new 7zip non-beta release
Buy magazine, get a free computer. It's a pretty good time to be alive.
In which case, you could equally use v1 or v5 UUIDs.

Plus a UUID can be generated by a source outside your network -- eg, client side, with the ability to treat them as quasi-nonces for replay detection.

Or inside your network, during long-running partitions.

The bigger question is: why would I install, manage, update, monitor zookeeper/etcd and write my own custom ID generator and all the storage mechanisms around it, when I can just use UUIDs?
Having colors for different classes of code fragment just helps to reduce the amount of processing of the code in the brain. Seems to me that this is a win, at least it is for me.

In daily life I use a very colorful scheme (darcula on steroids) and just thinking about monochrome makes my head hurt.
Things like this, with quirks due to decades and decades of history, always make me wonder what things would be like if we started over, with a clean slate. In so many places, when you start digging, you find something that references the way mainframes worked in the sixties or teletypes way before that etc. I mean, it's probably not practical, and it would probably be killed by committee or reimplemented in JavaScript anyway, but you can't help but wonder...
In fact I did not mention my business card holder ;-)
Yeah, with that network, no wonder it's slow.

For comparison, here's Budapest: http://www.hungarybudapestguide.com/wp-content/uploads/detai...
I wonder if on a fresh install with no previous data to work with if it chooses the word alphabetically? RV does come before TV.
It sounds like you've decided I'm wrong, and now you're trying to tell me what mistake I've made, without attempting to understand what I actually believe or why I believe it. AKA https://en.wikipedia.org/wiki/Bulverism

As such, I'm going to reply, but then I'm done. You're irritating, and I'm not interested in having a prolonged discussion with you.

I'm not conflating consciousness with the ability to suffer, or with intelligence. I don't know exactly what it is. But far as I understand, humans and dolphins and some other species seem to be aware of their own existence, in a way that cows aren't. (The mirror test is one tool we use to try to judge this.) Humans and dolphins are capable of wanting not to die, in a way that cows aren't. That's what makes it wrong to kill humans and dolphins. Meanwhile, humans and dolphins and cows are capable of suffering, in a way that rocks and (I assume) mosquitos aren't. That's what makes it wrong to torture a human or dolphin or cow, and impossible to torture a rock or mosquito.

> How do you reconcile that slaughterhouse conditions are torturous

Reconcile with what? I specifically said it's wrong to torture a cow. I don't like slaughterhouses. I'm mostly vegetarian.

I didn't say anything about pigs, because I don't know where I'd place them. My understanding is that they seem to be somewhere between cows and dolphins, probably closer to cows.
How to Add Real Time Synchronization for Your Express Web Apps with WebSockets
GitHub awesome incident response tools
> Some soy is fine, but if we're talking as completely replacing your meat, it could be too much estrogen like compounds.

Are you aware there's estrogen found in virtually all animal products, in concentrations and potency many times greater than any phytoestrogens could possibly deliver?

> Hence breasts in men and an increased risk of breast cancer in women.

Your source for this claim? I've only found evidence to the contrary, e.g.,

"Thus, the evidence to date, based largely on case–control studies, suggest that soy food intake in the amount consumed in Asian populations may have protective effects against breast cancer. Overall data based on Asian women, mainly derived from case–control studies, show a dose-dependent, statistically significant association between soy food intake and breast cancer risk reduction. There was an approximately 16% risk reduction per 10 mg of isoflavones intake per day."

https://www.ncbi.nlm.nih.gov/pubmed/18182974

"This nested case-control study found an inverse association between plasma genistein and the risk of breast cancer in Japan."

https://www.ncbi.nlm.nih.gov/pubmed/18316793

"Soy isoflavones consumed at levels comparable to those in Asian populations may reduce the risk of cancer recurrence in women receiving tamoxifen therapy and moreover, appears not to interfere with tamoxifen efficacy."

https://www.ncbi.nlm.nih.gov/pubmed/19221874

"In summary, this follow-up study among a population-based sample of breast cancer patients suggests that there may be a beneficial effect of high intake of flavones and isoflavones on all-cause mortality."

https://www.ncbi.nlm.nih.gov/pubmed/18006917

"Our study is the third epidemiologic study to report no adverse effects of soy foods on breast cancer prognosis."

https://www.ncbi.nlm.nih.gov/pubmed/21357380
Actually, none of the controversy comes from applying CRISPR-Cas, since that's just a boring technology part that simplifies something which could have been done using more tedious mechanisms.

It's the gene drive part that's controversial.
"Optical" and "PoE" do not go together?
I guess the kid was a sociopath- the one one in twenty or so who dont give an eff about anyone else.
Some anonymous posters are sociopaths.
Very interesting! Still loving my early Raspberry Pi boards.
And it's the first computer magazine to come with a computer (right?)
Just that makes it worth getting
The C/C++ people aren't paranoid (JPL coders excepted). Otherwise they would be using something else.

Ada users are paranoid and Java users are concerned about project cost.
Wow, 2x CPU, better Wi-Fi and they even managed to add BLE into this? I have just one question: how? :O.
I just bought 2 magpi to get 2 raspiberry pi zero but connecting then to a android charger (without and with sdcard http://director.downloads.raspberrypi.org/raspbian_lite/imag...) none of then lights the green led to indicate power on.

Someone have a different experience or can tell something about this ?
Agreed
However, as a lambda user, by buying an android phone and following the default "init procedure" you would have a G+ account without really asking it..
If you disable it, if you try to do something on YouTube, your G+ account will come back as herpes comes back...

The problem is not really what is possible to do but how much effort is needed to protect his privacy using google tools.
It's a tradeoff. If you want to live in a low density area and have to drive everywhere, then no, you're not likely to have any mass transit other than a suburb commuter train to go downtown. The alternative is living in smaller, high density housing where there are two grocery stores, three coffee shops, a half dozen restaurants, a pharmacy, a metro station and so on within a five minute walking radius, and have a fifteen minute commute to work by foot or five minutes by bike, so there's not that much transit required.

The funny thing is, if we go back to the point that started this discussion, the city of Montréal actually has a decent public transit system, a bike share system, 400 miles of bike paths and is one of the most bike-friendly cities in North America (depending on what source you believe).

For those US cities that have low density sprawl (such as LA), there's no real way to have a transportation infrastructure that makes sense; people who are from LA will say it's fine, you just drive wherever you want, whereas Europeans will say it's not a city that you can live in because you spend your life in a car and can't go out and grab a coffee or pastry with a short walk.

Self driving cars don't really solve that problem, because you'll still have thousands of people going to work at roughly the same time, and even though self-driving cars can have higher density and traffic fluidity than human-controlled ones, they still pale in comparison to mass transit systems.

For example, look at Tokyo; it has at least five train stations that have a ridership over one million passengers per day and has a ridership of over forty million (granted, that number counts people switching transit systems multiple times). If you assume that the minimum surface area that a self-driving car could have is nine square feet (3x3), slightly more than a chair moving around would have, and that you need 5 million of them to have an adequate amount of service, just the surface area of all of these cars, bumper to bumper, is 1.6 square miles. Assuming you put them back to back, eight cars wide, that's 355.1 miles long worth of cars, which is about 40% of the length of freeways and highways in LA county.
hm, as a European I miss radio news more. not dedicated channels like here, but the mandated news breaks every radio channel needs to broadcast. no one can escape getting at least a tiny amount of information. it is so easy to be completely oblivious over here in the US.

that being said, i don't think it is that bad. trump is an old, white rich guy - what exactly did you think is going in his head? its amazing that he is restraining himself from ranting about "niggers, chinks and wetbacks". you know he talks like that in private, like any other of his profile. that is how he grew up, in a segregated US.

black president, gay marriage - all signs that society overall is moving in the right direction, the old guard simply dying off. like that crazy aunt you'll meet at thanksgiving who only rants about "the jews".

happy thanksgiving.
Most of this is the case for using one Pi, but not a stack of Pies. Unless you have some sort of micro-AWS which turns off the 99% unused ones. Ten boards drawing 100mW at idle are the same as one board drawing 1W at idle.
Pocket is making money with their database of what people read and when they read it. This isn't insignificant.

Even if there isn't some sort of payola deal going on to feed that money back to Mozilla, this is clearly being done for profit. Maybe it's some sort of indirect benefit, maybe it's someone doing a favor for a friend.

The alternative isn't any better: if there isn't any benefit for Mozilla, they are letting for-profit businesses insert themselves as a feature dependency.
"That initial mistrust was a common theme for each of the following 13 days – in which she tried to offer strangers an umbrella on a rainy day, pay for someone’s parking ticket, and let fellow shoppers jump ahead of her in checkout queues. “Suspicion was the strongest reaction throughout,” she says. Each time, it was only when she offered a rational explanation – such as the fact she was waiting for someone at the checkout – that people would accept her offers. Looking back, Mann now explains it as “stranger danger”. “We’re brought up to expect strangers to put one over us,” she says."

However the deeper premise goes unexamined: all the correlative studies between gi ving and lon term happiness and health and not one discussion of whether healthier, happier people give more.
Availability of an interpreter has been one of the major advantages of programming in dynamic languages. With languages like Haskell, Scala coming with first class interpreters, this advantage is being lost to a certain extent. I think it should be possible to build interpreters even for mainstream static langs like C++ and Java, they probably exist already, though I'm not sure why they haven't found larger acceptance.

I believe the biggest advantage with a good static type system is that programmers can design good datatypes and specify their relationships - and the compiler can then detect any inconsistencies(ideally anyway).
I would say that the GUI related to that is sufficiently unclear for making you doing that without wanting it.

Moreover, If it was only me, I would say that I'm too stupid for understanding how it works but this happened to friends of mine also who are way too smart for doing that :)
Interesting possibilities! How granular can the calendar entries get?
Firewalls and other middleboxes are notorious about doing very bad things like this to the detriment of the internet as a whole. See PMTU discovery, why it was impossible to deploy TCP RED or SCTP, etc.
> There's something odd that's happened, where opinion and niceness has become sacrosanct, beyond truth.

That could be an adaptation to the information (and globalisation) age. Since you're more likely to meet with more (and more different) opinions and have no way of instantly checking the facts behind them ,with the sea of information available, you have to first be nice. You are forced to accept the possibility that your opinion might be wrong because you can not possibly have access to all of the facts.
> they don't revolt when taxed.

I hear an incredible amount of screaming from capitalists when it comes to taxes.
Alas, sold out :(
When Cupid Is a Prying Journalist
T7.js: alternative to JSX that compiles template literals into vDOM objects
Agreed, but maybe the other side (or any of the hops in between) have some weird and/or incorrect implementation on which the CRC/Checksum fails because the bit is set? I'm not sure what would happen if the bit is excluded from the CRC calculation but included in the check against/with the CRC for example. Would be a nice edge-case to test and, ofcourse, shouldn't fail. But who knows, maybe it does somewhere along the line?

Also, as barosl observes (https://news.ycombinator.com/item?id=10633361): "but I guess if one is following the RFC rigorously, dropping packets with the reserved bit enabled is the correct"
Java take too much boilerplate. Who wants to use it in an interpeter?

I do use a interpreter with both scala and python a lot.
The second part is certainly true: cards get thrown away in no time.
32bit x86 even got some new devices last year through the Intel Quark family. As these devices don't MMX and other stuff, they have an even older instruction set then the Atoms. And yet they are brand new.
Great blog post. One point, though: the reason that you got a segfault with your FillChar on the array isn't because you used a dynamic array instead of static array. Dynamic arrays are just like pointers in terms of how the compiler handles them (the element count is a negative offset from the actual start of the elements, and there are other things like reference counts there also). The reason you got the segfault is because FillChar operates directly on the passed variable. In other words, your FillChar zeroed out the first 4 bytes of the pointer (not good) and then kept right on zeroing out memory that didn't belong to it (definitely not good). The reason the:

array[0]

notation worked is because subscript references are equivalent to referencing the first element in the array like a variable. Therefore the FillChar started from there and properly filled the rest of the array.
https://www.foresight.org/news/negativeComments.html

And the sad thing is, that even if your logic is more strict, if you argue scientifically, people still think you are a nutjob just because you see things from a different perspective.

I just hope guy mcphearson is wrong, I so hope.
http://guymcpherson.com/recent-video/

He is a meta climate scientist, he looks at the output of all the others and combines them - what comes out is very dark perspective but the points he brings up are very real.

I can give you a very long list of what they will find out sooner or later to be wrong, but I collected enough negative points with my physics views the last days ;)
(Tedious disclaimer: not speaking for anybody else, my opinion only, etc. I'm an SRE at Google.)

> All phones comes preloaded with Google Chrome

That's not true. There's still a fair bit of Android Browser out there - it's up to the OEM whether they ship Chrome or their own customised version of Android Browser.

> (apart from sending your every keystroke to the mothership)

I don't believe you. Here's the source, show me where it does this: https://chromium.googlesource.com/chromium/src.git

Here's the privacy policy, which explains what it actually sends: https://www.google.co.uk/chrome/browser/privacy/

(Perhaps you're thinking of the instant search feature? That's quite a long way from "every keystroke", and the page above explains how to turn it off if you don't like it.)