skysight-inc/HackerNews huggingface dataset:
If you don't specify types at all, is that really opting out? This is valid TypeScript code:

function foo(a, b) {
if (a != 3) {
return a + b
} else {
return "hello"
}
}

console.log(foo(2, 5)); //prints 7

console.log(foo(3, 5)); //prints "hello"

You can compile it and run it on the typescript playground: https://www.typescriptlang.org/play/

This is not like C#, where would be required to specify that every type is "dynamic". Here, you can optionally choose to specify that the types are "Any", but it's still gradual typing.

EDIT: you said "implicit opt-out"... which sounds like a synonym for "opt-in". I don't think "implicit opt-out" is a term.
Demystifying Hugo Conditionals
By the time the new UI has loaded in and stopped churning, I'm up to 225 requests, pulling down over 5mb. Most of these seem to be tiny pngs for button icons... Why aren't these spritesheeted?

Basic view is 9 requests for 24 kb...
Your comment is fallacious in several ways:

1. You're citing a specific anecdote (some people... java1.5) and trying to generalize. What matters is not some people, but the average case, which "some people" will not tell you.

2. "easy to upgrade" is not being argued; "easier in general" is. Just because it's easier to upgrade in a statically typed language doesn't make it easy, just easier than for a dynamically typed one.

In effect, you're saying "there are people using statically typed languages who didn't update, so it must not be easy to update".

A statement that makes a similar fallacious jump is: "There are some people who still type slowly on computers so I can't see how anyone could claim typing on computers is generally faster than typing on typewriters".

Anyway, the fact that the compiler catches more errors at compile-time means it should be obvious that it's easier to upgrade a statically typed language.

If I have a method in ruby "user.get_id" which used to return an int, but now returns a uuid in a new version of the framework, for a statically typed language my code just won't compile on the new framework until I handle that, regardless of test coverage... where-as in ruby, I'll need to have test coverage of that path or read the upgrade notes or something.

There are valid arguments to be had about dynamic vs static typing, but whether it's safer/easier to perform an upgrade of a library/framework is not an argument that dynamic typing can win easily.
Ask HN: I lost years of bookmarks because of Chrome's new design
I was on a vacation and didn't realize Google added an "auto-login" feature to chrome, I work with sensitive data so naturally I tried to logout and accidentally deleted the person #1 on my browser, and just like that with no warnings I lost 7+ years of bookmarks.

Chrome used to create a bookmarks.bak file, I can't find it anymore.
I had very important bookmarks there, what should I do.
I have been searching for answers all morning and they all point to previous versions of chrome.

EDIT: I was able to recover my bookmarks because google synced (without my consent) all my browsing history and bookmarks yesterday at 3:20pm aparently, I don't know how to feel right now.
Java is very verbouse, that's why I picked on it. You would simply have to write a lot more LOC, which would take more time, be more code to maintain, and so on. It's not a matter of static vs. dynamic, Haskell for instance is probably at least as succinct as Ruby (though I doubt you'll find a Hasekll web framework as productive as Rails).
The prestige most definitely exists and is especially relevant for people who dont have a strong public portfolio to show off their talent. An average developer from Google/FB etc. has an easier time getting access to opportunities than even an outstanding developer at a no-name company. Companies/Hiring managers go through an implicit thought process along the lines of "if she/he go through google she/he must be good" which opens doors and helps in salary negotiations.
There's a lot to this. But in addition, the basic quality of journalism in papers like NYT and WaPo have fallen dramatically in the last few years. On any given day, I encounter a headline that simply does not match the story it's attached to. Usually it's a click-baity or ideological exaggeration.

Or a piece not marked as "opinion" is obviously not factual reporting. A not-uncommon example is "fact" pieces that assume the mental state or thought processes of various public officials with no quotes or really anything to back them up.

Perhaps journalists were always often dishonest. But these days they often seem not to even be trying to make those deceptions convincing.
Has anyone liked a UI redesign of anything anywhere?
The link could arguably be changed to the relevant press release.

https://csrc.nist.gov/News/2018/nist-releases-draft-nistir-7...
Here's how I had been using the old Gmail UI or HTML view for several years now. Simply login to your Gmail account. You should see a URL similar to https://mail.google.com/mail/mu/... in your browser address bar, just simply change the mu to h and hit enter. You will be taken to the old UI or html view.
You can only trigger a crawl on your own verified property, AFAIK.
I liked previous Gmail versions. I could see why people may dislike them, but they were fine for me and worked well (especially after setting up a dark theme and compact view density). Now it's so unbearably slow and ugly that I switched to HTML view and consider it an improvement.
Facebook admits security breach affecting 50M accounts
Where is it not cheap and easy to get an ID card?
So why haven't they been developed by the time Facebook came around?
I seem to still have it given I use G Suite.
I think you missed an article detailing how big a problem porn sites have accepting payments: https://news.ycombinator.com/item?id=17756219

In short they're losing a lot of money since they need to go roundabout ways as credit card companies wants to avoid them.

Cash is however not digital, cryptocurrencies are. The term "digital cash" gets thrown around sometimes.
Art and Soul
When I realized I can't go back to normal UI, I immediatly downloaded Thunderbird and went back to e-mail clients. I won't bother with the new gmail. Fonts look horrible, it is slower and in the end there is less information density.
Got the invite and looked around for a bit, I'm impressed with this. This actually works very well, the terminal web emulator is especially impressive compared with the things I'm used to seeing.
Journalism is dead in America. We have clickbait and we have people who share videos typically the length of a vine maybe a bit longer. Traditional journalism has been vilified by expensive slavic viral marketing firms quite successfully. Footage of forest fires is shown on national news every time it happens because its engaging to the typical video clip consumer. Anything spectacular. If a fireworks factory in China explodes its a top headline but if were engaged in a very serious trade war with China that's just nerd stuff left to the eggheads on public media(reviled by at least 30% of the country and even more would see it defunded). Also internationalism has been vilified to the point it is despised by at least 30% of the country probably more. Also many content providers have been scrambling to pander to the emerging Nu Right demographic who explicitly don't care about the achievements of Chinamen.
I'd love to see YC or someone release a definitive recommendation on fair equity distribution among the employees of the company. Maybe there'd be a few variations on it to handle differing scenarios, and even if it's really hard to have a one-size-fits-all I think it'd be similar to their SAFE note which tries to offer a pretty good deal to all involved.
Are You Really Ready to Start Adding Business Logic?
Yes, Twitter is also to blame.

It is a problem inherent in the structure of most social media companies. And Facebook is the most significant social media company, and thus contributor to the problem.
I'm sick of this stuff. CBS keeps shutting down works of love from fans of their show. This is due to Copyright law being too draconian. Star Trek is a cultural heritage and shouldn't be used by CBS to attack fans any more.
That's just how the news cycle goes. When things are happening, important stories get pushed aside. When nothing is happening, less 'important' stories get featured.
If it leaks, there is a direct impact on users monetary expenses.
One of the examples:
FB may know their user's lifestyle - eating habits, drinking habits etc. (based on the content/media users upload) If this info is leaked to insurance companies, it'll have direct impact on the premium you pay.
Stripe is great and all, but they're no Ginkgo Bioworks.
Same, I reverted to the old UI a month ago or so but yesterday I was forced back to the new UI with no option to revert again.
As a CO native, cash is only the easiest option because they literally can't accept credit cards. I'm sure most stores would rather not tell customers they need to go find an ATM and come back when they do.
I think we have come a full circle.

I remember a time when search engines, web based emails and other such things were so painfully slow and cluttered. Then there was this upstart with a funny name and single box to type in your search term. I switched because the air was fresh there.

There used to be a lot of noise about why don't they use that hot new eye candy, much like we have the same question asked about HN. Eventually they won.

On the lookout for the next plot of fresh air.
Correct, and I fundamentally disagree with that pattern. If it's more than a single expression, it's doing something complex enough to deserve a name or to be mocked in tests, etc.
Rome: Eternal City by Ferdinand Addis review – myth, mess and magic
Exclusive Facebook Security Breach, 50Ms Users Affected
You already have to have an ID to get a job. Who can't do this once in their life?
For me (I'm in Italy) the best part was the request: " would you like to switch now or in two weeks?".
I use the same with my kids: "would you like one portion of broccoli or two portions?".
This approach gives the perception of being able to choose.
If you've got proof that they're actually discriminating against conservatives for conservative opinions, and not for expressing bigotry, then I'd like to see it. Cause just about every one of these cases that I've seen is someone claiming that they're expressing "conservative" opinions, when in reality they're expressing anti-LGBT equality or anti-women views. I'm not seeing anyone get fired over their opinions on the capital gains tax, for example.
Any information that gets to us via some alien friends will have to travel even further than photons from those stars. By the time we got the alien signal, we would have seen photons from those stars already.
The main highlight is a new version of AllReduce native to TensorFlow. This, like Horovod, builds a ring and has both native and NCCL implementations. Early results (albeit on a single host) show that it outperforms Horovod:
https://groups.google.com/a/tensorflow.org/forum/#!topic/dis...
“13th” kind of a history of about the 13th Amendment and mass incarceration.
Are you having sex with mosquitos? No? Then you'll be fine.

As for any kind of bizarre viral-mediated horizontal gene transfer scenario, there's no more risk of this happening than for any other harmful bit of another species' genome. This is the kind of thing that can, in particular circumstances quite unlike these, occur over evolutionary time.

But on the face of it, it's absurd; there's tons of potentially harmful genetic material out there, just oodles of all manner of virus even, that can't infect humans for the simple reason that .. it can't. This isn't unknowable magic.

In the infinitely more likely scenario that gene drive is used maliciously, it would still be quite easy to do genetic screening, and thus fairly easy to avoid having compromised offspring.

The 'doomsday' scenario for gene drive is malicious use for ecological destruction.
In case of basic HTML - yes. In case of new update - it's pretty CPU intensive (and GPU too, at least on my laptop's Haswell iGPU with hidpi screen).
Show HN: Sec.Today – A searchable archive for all things infosec
We are a small group of security researchers. We are building a site to make everything searchable in the area of infosec.

https://Sec.Today

Every year there are more than a few dozen security conferences, hundreds if not thousands of infosec talks are given around the world. But when it comes to the daily work of security research, valuable information buried in past talks are often hard to find. Each conference has its own address, style, format for its talk archives and speaker information.

By aggregating and indexing all the major conferences and metadata, this site made all the talks and speakers searchable. It's like Everything or Spotlight in the area of infosec.

More than that. We also cross-referenced MITRE, NVD, and multiple other data sources, to collect information about high risk vulnerabilities that are being discovered each month.

By "cross-reference" I mean we know the exact finder of each vulnerability, attributing it to a team or person. We even made a monthly ranking based on this information.

This site also links everything together. From a security conference you have a list of all speakers. You can click a speaker's name to find out his/her past talks on other conferences, vulnerabilities he/she discovered, etc.

A few examples:

James Forshaw
https://sec.today/humans/5cb6f83a-3823-4058-8e17-45ea55db3a0...

Patrick Wardle
https://sec.today/humans/4e61f3cc-433e-4269-a1d7-1809a3668d6...

Palo Alto Networks
https://sec.today/humans/641d97c3-f725-4527-ae19-e3d1460056a...

Black Hat USA 2018
https://sec.today/events/3c9c8539-596d-4958-87e1-fe0e41b924e...

macOS (Search)
https://sec.today/search/?q=macOS

Let me know what you think. If you like it, please help spread the word.

Follow us at https://twitter.com/TodaySec
Why do they need https for a static page?
Because Fortran was listed as x.xxx, I figured I'd try it.
Taking the minimum of 100 runs of gcc/gfortran, 200 runs of g++, and 4 runs of Julia 1.1-dev:

gcc: 3.4866

g++: 3.4428

gfortran: 3.4953

Julia: 8.0378

I was doing other things while the benchmarks ran, which added noise. For the first run of g++, the mean was slightly higher than C's mean, while the standard deviation was much higher than C or Fortran's. So I reran it for C++, and then decided to just report the minimums for everything instead, because the minimum is probably the least biased measure.

So long as there are no allocations that occasionally get cleaned up by a garbage collector. If there were, the GC cost should get amortized over all the runs that contributed to it. We don't have to worry about this here.

While the C and C++ assembly for the fib function was the same, Fortran's was different.

Julia's assembly was extremely brief in comparison, because it doesn't have any recursion optimizations -- it is just the check and then two calls to itself.
Creating a Faster Jekyll
My personal favorite is their Wireshark in a browser lab- fascinating: https://public.attackdefense.com/listing?labtype=forensics&s... Try one of these.
So basically, "wait for Moore's law to catch up", web edition?

Your network connection might be aggravating the issue, as quick look at the Network tab show it issues a metric crapton of small requests (on my machine lasting for more than a minute after opening the page). But I do have a decent enough pipe, and still get ridiculous load time + performance problems. And so seem other people commenting here about performance.

The problems of today's SPAs are mostly self-inflicted.
I mean compute/memory for the workers... just a rough comparison of what that might look like. Will probably sign up for the early access and play around with it soon.
What are you talking about? They launched a totally new version a little less than two years ago, and new features keep coming so they seem to be continuing investment in it...

https://www.blog.google/products/g-suite/totally-rebuilt-sit...
Breaking benchmarks... Is that like the time I fiddled with the corresponding C program trying to get it to run at least in the same ballpark as the Rust version? That was until I determined that the Rust optimizer noted that the results of the 'meat' of the test were never used so it just optimized the whole thing away. :) (I thought it was a little disingenuous for the Rust folks to use this as an example of how performant Rust was.)
Oh wow, I'm saving this. If I ever have a company with a physical office this goes on the wall.

FWIW though, investors can be fooled.
According to current cosmological thought, the laws of physics at that shell are very close to if not identical to the laws of physics here. And yet, that shell is retreating from us faster than the speed of light. The shell is ever expanding, but we shall never see what that current shell will look like when it is 10 billion years.

How can that be, you ask? It is quite simple. The speed of light is a limit on how fast light can travel through the universe. But the universe is expanding. Light trying to get to us is like a bug crawling over an expanding balloon. If the balloon is expanding faster than the bug is crawling, it can crawl forever but never reach the point it is trying to crawl to.

So there is a fundamental epistemological limit - we can't actually know that our current models are correct. But within existing theory, the location of "the farthest we can see" is not particularly meaningful physically.
The security update was written by.. a VP of product management[1]. I would have thought they'd have a bigger bench for their security team.

[1] https://newsroom.fb.com/news/2018/09/security-update/
You're obviously not the target market.
You are right. "pieces of eight" seems to come from the phrase pieces of eight reals, with the real being the Spanish unit of silver money. Although I would guess and this site states that they did get cut up from time to time to make change[1].

[1]https://www.history.org/history/teaching/enewsletter/volume3...
https://news.ycombinator.com/item?id=18094823
Firefox's "container tabs" feature is a blessing for these kinds of situations.
You can't make C++ simpler but you can make some C++ simpler, as in the programs written in it. C++, the language, is too old and too widely used to be made simple.
Earthlings. It goes into detail about how non-human animals are used to create animal products, and what our alternatives are.

My only note is that the narration is hit or miss in some parts.
If you destroy the Earth, we're all dead.

If you destroy Facebook, Google+ gets some more users.
It doesn’t look like these guys (or most “affiliates”) are actually promoting the site or driving traffic. They’re just dipping their spoons in the existing money river.
It's tempting to think that without Facebook they would get involved in cancer research or interplanetary travel, but given the Silicon Valley's funding cycles, they would be more likely to end up building yet another food delivery startup or revolutionizing something by putting it on blockchain.

Also, a bunch of recruiting venues exploited by Facebook are not that accessible to smaller startups.

E.g. one of the top previous employers for Facebook employees was Google (or some other outfit within Alphabet group, like YouTube). Most likely those people would've stayed at Google.

Another hiring source was university recruiting, which involves participating at job fairs at various universities, exhaustive days of back-to-back interviews, flying candidates for on-campus interviews, and eventually covering relocation costs (and potentially visas and immigration paperwork) for someone moving from Pittsburgh, Waterloo or Romania.

Would a smaller startup have the financial oomph to run a similar recruiting pipeline?
it's good he'll release the content into the community since they funded it. Someone might pick it up and finish it.
It protects the user from content injected by a malicious third party, e.g. their ISP.
> Unfortunately we can’t all have a custom UI written exactly to our specifications.

This isn't what most people are asking for though, they just want Google to not make the UX worse. Increasing the page load time and making a bunch of styling changes for no appreciable benefit makes the app worse, not better. If a lot of people are wishing the dev team had just done nothing, it's probably a sign that the changes aren't warranted.
I think today's founders care about being equipped for success. The Y combinator in the lambda calculus is about what it enables you express, not itself.
Many users are still going to use the same password for their FB account and email account. All the security in the world won't fix people.
Do the IMAP or SMTP/POP3 options still work in GMail? If so, maybe it's time for a proxy WebMail UI hosted on a tiny VPS that simply acts as the mail client for you, whilst gmail still does all the heavy lifting of spam filtering and trusted sending.
"current admin believes “ fake news” rather than “the press” are the enemy of the people."

But they also define "fake news" to be any outlet that isn't praising them constantly.
It's not either/or, it's both/and.

Yes, foreign interference was a problem, and we need to do better to prevent it. And simple majority rule on referendums leads to hotheaded spur-of-the-moment decisions, even without foreign interference.
I never get this argument. With current state of IDEs, there is maybe more LOC in the end but many of those lines are written for you and if you know your way around, it is actually very fast to write Java.
Nothing is, but you learn that only when it finally fails ;)
I did this a few hours ago. Without a coupon I moved on.
This article made me wonder: if you had 900 books, how would you ever be able to reference anything in those books?

For example, today, I might think "Let me look up that quote in one of the books in my Kindle app. I know I highlighted it so I can just search those."

Back then, did people have their own mini card catalogs or notebooks with quote-book-page data?
Why is there a difference between inside and outside the tech community?
You could do that in python as well:

def fib(a, b, n):
return a if n == 0 else fib(b, a+b, n-1)

You'll get x300 speed. The test cases are much more revealing without such constructions.
> Other languages have much simpler and nicer constructs and seem to work just fine.

If you mean ML/Haskell, then I agree.

If you mean other languages filling the same void then I don't. Idiomatic C++ uses templates: They're objectively safer than what preceded them, for one.
Is lying the only alternative you can think of in this context? What about "truth" meaning the source of a bug or the best solution, with the alternative being merely ignorance of same? Seems like you're stretching pretty far to make this point.
And some similar discussion on "Shopify now on Rails 5.0. started 12 years ago on 0.5, the First version released" https://news.ycombinator.com/item?id=13448219
The code one writes does get simpler. Unfortunately, the code some dozen developers write ends up with all imaginable ways of writing the same thing. That's my biggest pain with C++.
Like a dedicated security UI person? Or a security writer? What kind of role are you imagining?
Two years ago? That's old in google land. It will be shutdown soon.
Head to AOL now. Please leave Gmail.
Mostly right :). He actually thought it better to be involved in creating an internet company. This led to the founding of Zip2 (a kind of precursor to Yelp whose pivots ended up trying to help newspapers get online). The money from that led to the founding of X (think, transaction), which later took over and ultimately merged with its competitor, PayPal.

I second the recommendation of watching the interview. There is way too much misinformation surrounding Tesla and Elon Musk.