skysight-inc/HackerNews huggingface dataset:
I'm pretty sure that they buy a lot of these exploits as well. If you can trust the NSA, I don't think that keeping the exploits secret is such a big deal. There are other damaging vulnerabilities that even the state actors doesn't know about and are being exploited by organized crime. It's a cat and mouse game.
If the comments are ugly, the code is ugly
In latest Firefox, I keep getting it to show the real and fake cursor by switching tabs, hovering a link in another tab, and switching back. Doesn't work every time though.

http://i.imgur.com/eMg5tXR.png
Probably because "your" enemies use "your" software as well. If it makes you feel any better it looks like the NSA shared the vulnerabilities with Microsoft a month before they were leaked.
It only takes 1 user to download it, upload it elsewhere for N users to spread it from there. It's like exploits, it takes an expert to write one, but any scriptkiddy can attack thousands of systems once it has been written.
A curated list of blockchain-related academic papers
What is your first language if i may ask? Curious what other languages have a lot of movies? Hindi?
I've thought about, and used, two possibly opposing, strategies to make life easier for others:

(a) Insist on privacy especially when you have "nothing to hide". I once refused to send a photo with an application (which is still a thing with the really slow-to-adapt companies in my country). I'm square in the majority in any characteristic a photo may reveal, but I was hoping to give some cover to those who don't want to give a photo for whatever reason, and fear being judged just for that.

(b): I'm rather careless with some information that others would be afraid to reveal, hoping to normalize it ever so slightly. There are still too many things that are really really common, but taboo to mention because nobody knows how common they are because it's taboo... Examples may be mental health issues, being bisexual/poly/etc.

Also, if you are in high regard and can afford it, you can do everyone a favour by rejecting certain common but harmful practices: Are you no longer productive at 4pm because you didn't sleep well? Go home!
I think it's much more subtle point than buy-backs increase share price, otherwise it opens up some basic arbitrages. The point is, the share price already incorporates the value of the assets used for the buy-back, so buying back shares increases earnings per share but reduces asset values (and future earnings from leveraging those assets) and the two effects offset.

Simple example:

company A has 100 shares outstanding and only 1 asset: $100

The value of each share is $1.

It then decides a share buy-back is a good strategy, and buys back 50 shares for $50.

It now has 50 shares outstanding and $50 of assets.

The value of each share is still $1.

The buy-back has no effect on share price.
Extreme concentration of wealth reduces competition which is bad for the economy. Further, wealthy people tend to spend money on less economically scalable things. A paying a 5 star cook may move money around but you can't turn a 5 star cook into a factory the way you can automate a fast food kitchen.

Sure they invest, but that also tends to hurt the economy by driving up relistate prices etc without actually increasing output. They also tend to do vanity investing which is why VC firms for example average such terrible returns.
The sticky header is way too large on mobile - why do you even need it? I'm capable of reading the page headline and not forgetting it for 2 minutes. As it is, the page is just downright inconvenient to use.
South Korea itself had trade deals with its Northern neighbor until recently: https://en.wikipedia.org/wiki/Kaesong_Industrial_Region
Wholly disagree. Yes in Haskell you can define operators yourself (they are just functions but made out of special characters and placed after the first argument, e.g.: "Hi " ++ username); and this is often done by Haskellists. So you sometimes need to learn a few new operators that come with a library to WRITE code using that lib; but in order to READ code I rarely need to ref the docs, it is just evident from the context.

> it suffers from the Perl-ish woe of write-once and read-never.

My experience with Haskell is opposite, I think Haskell yields very maintainable code that is largely self documenting and allows me to confidently hack around old code bases.

My experience with Perl is the same. Very hard to read back, maintain or get productive on old code bases.
> Basically, their choices are keeping Cyrillic, and therefore implicitly culturally aligning themselves with Russia (or, to phrase it in a different way, exposing themselves to Russian cultural dominance); or switching to Latin, and implicitly culturally aligning themselves with Turkey.

Or, they can, simply make both official and let the people decide like we did in Serbia centuries ago.

Most nationalists or people aligned with Russian views use Cyrillic here and others use Latin. Having to learn both at young age (7 for Cyrillic, 8 for Latin) gives you more options in life. You can easily read anything on the Internet and learn western languages. On the other hand, you can go to Russia or Bulgaria and quickly find your way around. One can even argue that this opens up your views, so when you see Greek for the first time, it doesn't look like a bunch of weird characters but you start seeing similarities (esp. with capital letters) and it's makes you want to learn the ones that seem completely alien (like Sigma or Omega).
IMHO the helpful/harmful ratio of this is close to the one of popup windows.
A month before they were leaked to the public.
Not a month before they were leaked to another hostile actor.
I do have a bachelor's in my field. But I did not get my degree from Europe. That would not help, right?
Strange. On my end it does look like ReactDOM's 'render' method actually accepts HTMLElement | null, and therefore doesn't throw an error.
But the U.S. still has the most to suffer from them (as a country). But from NSA's point of view, even if the U.S. still has to suffer from those exploits, it's "worth it" because for every American that is getting harmed by those exploits, they can spy on 10 other foreigners. So it's not really a matter of "defending the country" but of "value of exploit".

Kind of how in the WW2 they used to allow one or two or five of their own ships to be sunk by the enemy just so they don't reveal that they intercepted their communications (which I guess the argument was the intelligence would've been more useful against more of the enemies' ships).

Also, this was a large batch of exploits, and the NSA knew eventually they would get released. So they might as well be the "heroes of the day" and get companies to fix them, especially if they can get the publicity for it. But for every one of these they fix there are probably dozens of others they don't want fixed, like for instance all the vulnerabilities in Chinese routers and smartphones and smart TVs and other electronics.

It's not that hard to verify that this is their logic. Look how they want to push backdoors and how they fight encryption, just to catch a few people, even if that harms everyone else. From their point of view "more security" is a bad thing. And I'm not even sure you can expect much else from a spy agency. When you have a hammer, you want every problem to be a nail. It should be up to everyone else to push back on that logic.
This could probably go under nsfw.
In firefox you can shift+rightclick to override site behavior. There also is a preference to disable the events completely.
SuperUser[1] might be a better audience for this question.

[1] https://superuser.com
Are nuclear warheads that heavy?
انتخاب انواع کف کاذب با توجه به محل استفاده
Executed but innocents
Intelligent debate can't happen if people don't actually, you know, debate.
Many countries dub Hollywood movies.
> your package manager or paid software product

I'd hope these don't use experimental libraries. Although as others pointed out to me, this is not an experimental library :) (which was the answer I was looking for)
Or that it got a lot harder/more expensive to further improve single core performance the further we go along, rather than intel/amd being lazy.
I imagine Inria has some influence there as well as FP is good to teach in college. It's always a tough balance choosing between what is more relevant as computer science (Lisp, Prolog, OCaml...etc) versus what will get students paid money (Java, JavaScript, C++, or Python). I'm glad you had a positive experience and as i asked below, do you have the course material? And outside of the basic things you learn in school/mention above, could you use it in your daily job? Is there enough library support?
Troppo a nord, dovrei parlare di zelten :)
I found the swearing more distracting, but then I'm apparently old-fashioned...

Rgds

Damon
I never new I wasn't alone. I've had this fantasy since moving to sunny California.
One person she knows takes care of himself and is successful. She doesn't take care of herself and she's not successful. Now she takes care of herself and we don't know if she's now successful but the added rest fixed some things in her life.

Seems like a small sample size. Luck helps some along more than others and it's spotty in its distribution.

She doesn't say if her friend is a business owner. She mentioned she wanted to start a business but she doesn't say if that was part of what she was working on.

Her friend doing 5 hours of coding in one day is a lot. It's probably more than a typical 9-5 office coder puts in. Especially working from home with relatively few distractions.

But when you own a business, once you have finished putting in your 5 hours of coding, you still have the rest of the business to take care of. One full time job is done, then you start the next one.
Ask HN: Best IRC channels?
What are the best IRC channel for help, startups, starting new business, discussing new idea, developers, security, networks, programming, general tech discussion, data science, and motivation?
Thanks, I'll take a look again. He has some sample chapters posted that look really short(3 pages), but I'm guessing that is just a chapter snippet as the book itself is 200 pages?
2017 Camera News
WebSite.com.ru – Делаем сайты быстро и качественно
> so who am I to have an opinion on protecting content.

How does it make even the slightest sense to allow only those who profit from a norm to have an opinion on it?

You've never owned a big chemical plant, so who are you to have an opinion on protecting chemical plants from environmental regulation?

You've never had an income over 100 million, so who are you to have an opinion on how that income should be taxed?

You've never had slaves, so who are you to have an opinion on protecting the property rights of slave owners?
I'm far less interested in "positive" news than in news that is relevant to me. So much of online news has become clickbait political nonsense. I'd really like a news reader that is human curated to filter out the fake nonsense that makes it into Google News, while using ML to pick out the stories that matter to me from publishers I trust.
Or any of the many other ways of downloading media like youtube-dl (or in your terms, of the CHROMIUM extensions), without bashing Firefox into others faces.
The other standout fact is they're all women, except one. Either it's genetic (woman's metabolism does something?) or women have some sort of interaction with the environment that helps them survive to old age.
Digital Art: Overdrive 2 by Titan (Sega Genesis / Mega Drive) (Revision 2017)
I got very confused for a while because I installed cachier with a c instead of cashier. Similar name, similar functionalities, different projects.
Digital Art: Logon’s Run – 3D Meets the Aging Bits (Amstrad) (Revision 2017)
I'm actually not a native speaker but nearly everything I do happens in English.
The question was about why buybacks are more tax efficient -- the answer is open-and-shut -- because benefit realization with buybacks is pushed to time of sale (in many cases far in the future), which is more advantageous than dividends which get taxed in the same tax year.

In any case -- to answer your question -- in your example, it would not have any effect on share price as it seems the company is just a holding company for $100. However, in the case of Apple they have other assets besides the cash (brand, intellectual property) and those assets produce more cash -- so all the cash the other assets generate in the future gets distributed to a smaller number of shareholders.
I'd be interested to learn how web-dev in OCaml->JS compares to web-dev with Scala.js. The latter has the amazing JVM eco-system to hand.

(I'm not interested in a Scala vs Ocaml language comparison. I know both languages very well. I'd be interested in the quality of JS support.)
> If it relied upon content hashes, then make would have to hash the files each time it ran (taking time---checking the timestamp is faster). For a large project, this might be too excessive.

You can combine timestamps with content hashes. Or if you have inotify integration, you only need to process a file when it changes.

> Just make the Makefile a dependency on each target. That problem solved.

You can override variables when invoking make without changing the Makefile. Problem not solved. Of course there are some hacks to add dependencies on variable values. The majority of Makefiles in the wild don't do this, requiring you to do 'make clean; make' if you change flags. Defaults matter.

> Just a question---do you have a project where reading the Makefile takes a non-negligible time?

At the moment, no.

But just to give you an idea of how it could become a problem: a simple C++ file including <iostream> leads to a 25KB .d file with 200 dependencies (generated by clang++ -MD). For a project with 1000 files, I made a 25MB file with one target and 20000 dependencies on the same file. Make took one second to process that. That is about the simplest Makefile to read. Throw in some includes, multiple Makefiles, variable expansions, and external shell invocations and that time will go up.

> inotify is a) Linux only (make, and specifically GNU Make, runs on nearly everything)

I should have said inotify or similar system (bsd has kqueue, I imagine Windows has something similar).

> b) it's an API, not a service that can be queried. Doing this implies that make will have to always be running checking all files for a project. Which project?

The one I'm working on. I'll start a daemon when I'm working on a project. As long as we're dreaming, it would be nice to have a filesystem that integrates Merkle trees and exposes an API you could query to see if anything has changed in a subdirectory.

Apple kludged something together with their file systems events API [1] that provides similar functionality. It provides an API to query what has changed in a directory subtree since a previous invocation. No need for a persistent process. They use it for their Time Machine backup software.

> After a certain number of files being tracked, I'm certain that checking "inotify" (a daemon perhaps?) is the same as checking "stat()" for file metadata.

No. With inotify the work is proportional to the number of changed files. With stat() you need to check every file, so the work is proportional to the total number of files in your project.

As I said elsewhere in this thread, most of the design decisions of Make make sense given its history. That doesn't mean they are still optimal today.

[1] https://developer.apple.com/library/content/documentation/Da...
I think the NSA spying/surveillancing harder on "us" then on "them" (the enemies).
And yet I didn't even notice the punctuation was missing until you mentioned it, since I enjoyed the story.
Setting Up a VM with PHP 7.0, MySQL, Apache 2 and PhpMyAdmin on Ubuntu
The article doesn't say this at all. It says that she used to eat more eggs - 3 raw, plus an omelette at lunch and chicken at dinner. She had cut down to 2 raw eggs a day and had added in some biscuits.

The poster could easily be correct.
In my opinion, Apple should buy TSMC (~100 billion) and Qualcomm (~100 billion). It would be a hell of competition for Intel and AMD, now that Moore Law seems to reach its limits.
Nope, there is yet another one: https://www.ratsit.se/18990601-Saro_Dursun_Vasteras/qEQWdEbn...

Not many left I guess...

EDIT: Stolen from some uncle comment which I have also plussed.
I didn't know that Di Modica still owns it. I suppose if he disagreed with what SHE has done, he could simply arrange to have the bull point the other way.
Snapchat ratings drop to 'one star' after Evan Spiegel's poor India comment
Does this only affect the Kazakh language or also the Russian language they speak there? I know a small handful of people from Kazakhstan, who identify as "Kazakh" nationally but as "Russian" ethnically, and they only speak Russian (+ English). The general response about Kazakh the language I remember is that they learned it at school, but as they lived in a heavily Russian speaking area they just never cared much about Kazakh and instead focused more on English when they got the chance.
MS has a long history of broking in zero-days. Could not find an article with sources quoted, but a lot of cases have come to light:

https://www.quora.com/Is-there-any-evidence-for-backdoors-in...
Bug Report: This comic is no longer accurate (xkcd)
Hey HN!

Coworkations lists coworking retreats worldwide – aiming to help digital nomads and remote workers differentiate between the various communities that now operate around the globe.

A coworkation can be many things, a lot of them combine coliving, coworking and activites, some do it whilst on a cruise ship or train , and some have particular themes such as entrepreneurship, sports or reconnecting with nature.

I created Coworkations because I want to help people find these groups, understand their offerings, and how they compare. I've been location independent for a year now and think these kinds of programs are a great way to jump into digital nomadism whilst surrounding yourself with the support of a community of like-minded people!

Explore the world without interrupting your career.

I welcome any and all feedback, suggestions and comments!

Many thanks!

Steve
> Or, they can, simply make both official and let the people decide like we did in Serbia centuries ago.

I disagree because current synchronic digraphia in Serbia is a mess. You have people using Cyrillic script in Latin documents, Latin script in Cyrillic documents. You have people religiously using Cyrillic and Latin. People who prefer Latin and make fun of people using Cyrillic.

You also have a large percentage of uneducated people online who use Latin without diacritics (secer, solja, casa instead of šećer, šolja, čaša).

Learning English (and it's alphabet) gives you mush more options in life than being a speaker of a language which uses a Latin based script (or Cyrillic, or any other script).
All invested/loaned money gets spent. That's the whole point of getting a loan or an investment - you need to spend the money.

Nobody gets a loan or sells their company in order to store the cash in their mattress. Nobody hoards cash. Nobody with any fiscal sensibility, that is.

Money in a mattress is not working, and wealthy people especially always put the money to work (otherwise they become not-wealthy). Putting the money to work means it gets spent.
Their current alphabet has 42 letters. Transitioning to Latin will either use variable length encoding for some sounds, or will eventually be reduced to the mere 26 letters. Thus I don't see using accent a good direction.

In Hungarian I see this a lot, and it is a shame. We have for example o ó ö ő for variations of the sound O in "lonely". We have a mixed model of variable length and accented characters.

ASCII and QWERTY are (the unintended) cultural equivalent of the Little Boy and the Fat Boy. Poor globalization throughout the IT industry made people adapt to it, instead of challenging it. This makes only variable length survive the "loss in translation".

Now when globalization is better, it became "cool" somehow in some subcultures (eg. UNIX related, programming related), as many ancient tools (Unix, C) lack proper support.
Vote for most valuable blockchain startup
Inserting JSONB data in PostgreSQL 9.6
Interesting trick. I was recently looking through Safari CSS Reference and thought using an image to replace the cursor wasn't allowed: "Although the CSS specification allows it, Safari does not support custom cursors." [0]

What are examples of legitimate use-cases for supporting custom cursors? If you're considering using a custom cursors, keep in mind that not all users keep the normal cursor size. At least on macOS, you can increase the size from the Accessibility panel.

Hopefully the web can start providing access to more built-in accessibility features. One such feature that was added recently is Reduced Motion Media Query [1]. Wouldn't it be great to have a media query for "Increase contrast"? I can't be the only one that's occasionally frustrated from websites that mix 50 shades of barely readable gray.

[0] https://developer.apple.com/library/content/documentation/Ap...

[1] https://developer.apple.com/library/content/releasenotes/Gen...
I started to write a toy compiler in OCaml. I had some previous experience with Haskell, but in no way an expert. I.e. no category theory background, only shallow exposure to monads.

My "problems" with OCaml started, when I wanted to "map" over a data structure I defined. I ended up having to define custom mapping functions for all container-like data structures I wrote and call them in a non-polymorphic fashion (where I would have just used fmap in Haskell).

Sure, in OCAML I needed to use a parser generator where I would have used megaparsec in haskell, but it was also a tolerable inconvenience.

Trouble started when I needed to track state in the compilation process. I.e. I was generating variable names for temporary results and values, and I needed to track a number that increased. In the end I used a mutable state for it, and it turned out nightmarish in my unit tests.

After a while, I just ported the code base to Haskell and never looked back. The State monad was an easy fix for my mutable state issues. Parser combinators made the parser much more elegant. And many code paths improved, became much more concise. It is hard to describe, but in direct comparison, OCaml felt much more procedural and Haskell much more declarative (and actually easier to read).

The only advantage of OCaml to me is the strict evaluation. I don't think lazy evaluation by default ins Haskell is a great idea.
I'm going to be downvoted for this.

While privacy is important, and a meritocracy is, well, meritocratic, these systems weren't formed overnight, and aren't even necessarily accepted as 'right' in many parts of the world. Historically, social barriers (e.g. discrimination against short people) are changed through exposure, discussion and sometimes fighting. Writing a post like this is only part of the answer. Taking the opportunity to understand the bias and discussing it with those who hold opposing viewpoints is another part of the answer.

Privacy is a right, don't use it as a crutch.
Have you ever used Franz? If so, is Rambox better, in your opinion? Franz doesn't seem to be much better in RAM than a browser, but I can't imagine what Rambox does to improve that.
1) Those loans are offered mainly to 18-22 year olds, not 13 year olds

2) Subsidized loans are far less prone to moral hazard than handing out large vouchers to everyone.

3) Yes there are already bad actors exploiting students with federal benefits. We don't want to make it any worse.