skysight-inc/HackerNews huggingface dataset:
No, you aren't wrong.

"Almost all plastic in the ocean comes from just 10 rivers" [0]
- The source is Deutsche Welle, which appears to be Germany's equivalent of the BBC. [1]

"It turns out that about 90 percent of all the plastic that reaches the world's oceans gets flushed through just 10 rivers: The Yangtze, the Indus, Yellow River, Hai River, the Nile, the Ganges, Pearl River, Amur River, the Niger, and the Mekong (in that order).

These rivers have a few key things in common. All of them run through areas where a lot of people live — hundreds of millions of people in some cases. But what's more important is that these areas don't have adequate waste collection or recycling infrastructure. There is also little public awareness that plastic trash is a problem at all, so a lot of garbage, gets thrown into the river and conveniently disappears downstream."

Someone linked a great map of these 10 rivers in a past thread, but I can't seem to find it.

[0] http://www.dw.com/en/almost-all-plastic-in-the-ocean-comes-f...
[1] https://en.wikipedia.org/wiki/Deutsche_Welle
Therefore we must regulate the internet to the tastes of the most paranoid person in existence, because anyone less paranoid is clearly incompetent to give consent?
This is really good to see and has really improved the last couple of years. Here is 2016.

https://cdn.zmescience.com/wp-content/uploads/2017/12/articl...

Then now

https://dqbasmyouzti2.cloudfront.net/assets/content/cache/ma...

So went from about #14 or to #4.
But that doesn’t mean people who want desktop software aren’t browsing HN on their phone...
Do you have a summary for it?
Eh, I'm not convinced of that. I don't think you can take any person and teach them to think through problems logically. It seems simple enough, and you can certainly make them _better_ at it, but I really do believe we all have upper limits on our potential.
Heh, good question.

But seriously, the fact that there is a .gitmodules file lulls you into a sense that that file is "the configuration file". If you don't know about these other files, then it's natural to edit .gitmodules. When you make errors, the fixing those errors are pretty hard. There is no "git submodule remove x" or "git submodule set-url" or "git submodule mv".

For example, do you know how, on the top of your head, to get an existing submodule to track a branch?

How do you think someone who does not quite understand git would do it? Even with a pretty ok understanding of git infernal, you can put yourself deep in the gutter. (case in point, if you enter the submodule directory and push head to a new commit, you can just "git add submodule-directory" to get point the submodule to the new commit. But if you were to change upstream url or branch or something else in the submodule, you're screwed. That's not intuitive by a long shot)

Edit: git submodule sync is not enough by the way... You can fuck up your repo like crazy even if you sync the two configuration files.
Frankly, I have thought this more around books, music and patents than software. Obviously there should be some way to accommodate changing work, then.
Google (and the other portals) would probably shut down a service across all of Europe if it were losing money.

That might be the outcome publishers want. They might imagine that if they eliminate outside links to individual stories, people would be forced to use publisher's sites as portals to the news.
Well there are the A B C and D DTMF tones not sure if those technically count as numbers and from memory they are without the ITU spec for a phone numbers.
How did you calculate 130 Million?

An initial cost of 1000 USD, doubled every year, for 20 years is:

1000 * (2^20) (where ^ means exponentiation).

Or 1,048,576,000 USD - a wee bit over 1 billion dollars for the 20th year.
I go to the same cashier every Tuesday. Yesterday was Yolanda's "Friday," and she was very excited for the "weekend." She asked me how my camping trip went. She was going to have tacos for dinner.

If you choose to value relationships with the people around you then the world doesn't have to have changed very much at all.
Zero plans, sorry.

This is an internal tool that just happens to produce good looking graphs, so we released a build to let people play with it if they want to. It's not a beta of a product, more of a tech demo... if even that.
Yes. Learnable. But problem solving doesn't come easy. Critical thinking is another tough nut to crack.
Not referring to parent specifically. By "you", I'm referring to all python 2 hardliners out there.

Nobody's telling you to change your codebase. You're free to carry on using python 2.x. If it already works, it will continue to work in its current environment.

So why are you attempting to tell others in the python ecosystem, be it core maintainers, package authors or OS vendors, support your continued use of python 2 for free?

You want support beyond 2020, pay for it.
Vehicle safety regulations.
`Error establishing a database connection`

So is the joke that is this wouldn't happen if their blog was hosted on a dapp?
as defined in E.164 (https://en.wikipedia.org/wiki/E.164)
It also was in a minor version change 1.8 -> 1.9, but people moved on because 1.8 was declared EOL this is what Python was missing. Python 3 is 10 years old and 2.7 is still supported (bufixes, but still).

If you look at timing, Python 3 picked up for new projects in 2015, when PSF declared that no new features will be backported to Python 2 from 3.

I believe the industry will wait for 2020 to start migrating existing code after Python 2.7 will be declared EOL.
Mega large orgs have already moved, in some cases. They have the advantage of being able to throw significant resources into infrastructure to make switching easy.
We started using Slite http://slite.com/ 6 months ago with great success. We previously used Atlassian Confluence for our internal knowledge database, and it resulted in very static content and poor adoption. Slite is a much better choice: we use it for "static" company knowledge (like onboarding, processes, etc.), but also for most of our dynamic content (meeting notes, document drafting, sales support documentation, etc.).

Many people (including dev) use it on a daily basis, and most people on a weekly basis.

Definitely recommend.
Hi all,

What's In My Picture is a way for people to gain insight on what their images contain without seeing them. It allows people to detect human pose key points, face orientation and eye gaze direction, objects, nudity, and text from their images. It also provides a feedback functionality to measure the level of success of each image processed in order to do further improvements to the results.

Would really appreciate some feedback, it's still a work in progress.

Thanks,
Edgar
Not too thrown - I went from BASIC to Z80 assembler, and that just had labels...!
Two other important points:

1. Those command line programs weren't necessarily designed with an adversarial user in mind! Sanitizing input to prevent shell escape sequences is not enough. You really need to sandbox well.

2. For some tasks, it might be easy for a malicious user to guess which command-line tool you are using. You might be getting way less depth out of obscurity than you think you are.
When the first person goes to prison for restoring an iCloud backup, I hope we’ll collectively realize how insane that is.
This just reminds me that I miss something like iStat Menus [0] on Windows.

Process Explorer [1] can show some small graphs as tray icons but there is not much detail visible without opening the main application's window.

XMeters [2] does a little more but its configuration is very inflexible and clicking on any item just opens the plain Windows Taskmanager instead of showing additional details and graphs like iStat Menus.

[0] https://bjango.com/mac/istatmenus/

[1] https://docs.microsoft.com/en-us/sysinternals/downloads/proc...

[2] https://entropy6.com/xmeters/
As I said in another comment, the interesting part that I wanted to share is how the data is graphed, and not that there's an executable.
I’ve been doing flipped classrooms for nine years now. I teach mathematics at a community college. What I’ve found so that students drop out much sooner in my flipped classroom style versus traditional lecture style class. But the overall rate hasn’t changed.

Students can’t fake it in my flipped classroom style. If they come unprepared, and this is obvious when it happens, I don’t help them doing the problem sets in class. I only help the students who are prepared. The lectures they are supposed to watch have been created by me. I create my own content. The slackers die off quickly in my format. This makes for a much better end of semester for me and the remaining students.

There is no cure for apathy. If they don’t want to work they won’t. They’ll blame whatever they can regardless of format.

I do wonder how success is measured in the article. Is it passing rate? That’s easy to increase. Has the material been mastered better in alternative format classes? That should be the real test of success. To date I’ve never encountered an institution that measures success correctly.
Why? Pretty use to how Gmail is today and not really looking for a new redesign and learning the new way.
Good to see them pushing the boundaries. The payoff will be huge if they can achieve faster velocity of iterative improvements.
My bad, I should have been clearer. What I meant to say is each block of code was documented. So a logic change wasn't accompanied by line by line commenting rather a block comment explaining who, what, why and when of the change. The commenting guidelines were well defined too.
> Why there is no demand for this level of protection in the States by its citizens and representatives is crazy.

The U.S. is culturally much more opposed to government interference in citizens' interactions, compared to Europe. The U.S. started as a rebellion against an authoritarian government.

I suspect this is because a lot of the first Europeans who migrated to North America were the self-reliant type who actually would flourish best if left alone. What we see as help or protection, they see as interference. (This doesn't explain Canada. Inexplicability is one of Canada's many charms.)
I'm barely making it so retirement is not likely going to happen for me.
My take is that, while there is skill involved in picking venture investments, success in the field has more to do with social skills, status, and wealth than it does with skill. Only the richest have access to the deal flow of the best entrepreneurs.
Speaking in the larger context, this stick you feel you've been given comes at a high price. Unfortunately, it's only a matter of time before the powers that be will fashion a stick with which to beat you, too.
The only problem is I can think of many specific times in my life where another student asked a question, and I had the thought, "Fuck, that's a good question, I didn't even think of that," and I learn down a path that I had simply applied false assumptions to without realizing it.
That's why people only start caring now, at the very last minute. There's a difference between a law on paper, and a law with attached consequences, so I still expect meaningful change after May 25th.
FOSS and OSS are mostly the same. The Free in FOSS is not about the price.
Do you mean to say that being able to think in abstractions or keep a lot of state knowledge in short-term memory are skills that cannot be learned? So where did we acquire these skills, if not by learning?
I highly doubt that all the fishing vessels in the world are dumping more than 5% of the estimated plastic in the ocean.
My interpretation of the usage share is that Golang ate a bunch of lunch that would've otherwise gone to Python. That is, people moving from other languages (Perl, PhP) to something else for various reasons.

Absent Go, I suspect many current Gophers would've landed on Python. So in a sense, Python lost people to Go. But I've never seen anything to indicate that there was a large migration from Python to Go, and certainly not because of 2 to 3 or public perception--whatever that means in the context of a programming language.

Python 2 is still the mainstay for Data Scientists. I've seen more resistance to moving to 3 there than almost anywhere. Which is pretty funny because it's the easiest code to port assuming your data science libs support 3 (and all the big ones do.)

I think it's more accurate to say that Go ended up with some of Python's potential mindshare, not that it stole a significant amount of existing mindshare.
I am not entirely sure I agree. Maybe it's slightly paranoid, but I find it shocking how much information people share on the Internet.

I still abide by the old idea that you never share personal information on the Internet.
+1 Code is simply a tool. And dev tools are even further removed. Git is not problem solving. I'm certainly not going to belittle that skill. I have Git expert envy. However, hiring a problem solver for their experience with nearly irrelevant tools is comical. A red flag, but still comical.
For the record, Python 2.7 EOL was originally 2015. In 2014, it was moved later, likely because RedHat would continue to maintain it for free anyway.

https://legacy.python.org/dev/peps/pep-0373/#id2
Show HN: Crazy fast trie-based library for http routes lookup
A better target would be a Grafana plugin.
The video is unlistenable
As well as increase your exercise, mental stimulation/effort, and social life, which have been shown to help reduce the effects of the disease. Not all people heading towards Alzheimer's will walk the same path. Not even close.
Nice work. Do you plan to open source it?
you're exactly right. they're top phd's from the very top schools. hand-picked and referred out by professors who have relationships in the pvt sector. that's not to say there aren't guys who don't fit this description, but this is who gets recruited.
Question: When I was an undergrad, almost all the science and engineering courses involved lectures (to convey information), recitations (to review with a TA), and usually a lab (sometimes the same as recitations, to practice material).

Every time I see people saying lectures are outdated, I cannot think of an actual STEM course where I was just lectured to outside of one Calculus course (for whatever reason we didn't have recitations for that one, and the professor was the sort to write and erase at the same time).

Is the problem with courses that are too dependent on lectures (as the predominant or majority time of faculty/student interaction) or is it actually that lectures are ineffective?

Even my later CS and math courses that were too small to have a TA had very interactive "lectures" even if we didn't code or do exercises during them (very Q&A oriented). Perhaps this is also a difference between different schools and the faculty at them?

EDIT: Reading more of the comments here I'm realizing that I only had a couple classes that were "traditional" lecture-oriented courses with the instructor speaking at us for the hour. The vast majority weren't and I think that's part of my confusion with the anti-lecture movement that's happening. I consider a lecture to be a dialog (because that's most of what I experienced) and not a monologue. I would agree that monologue lectures are boring and dreadful if that's the majority of what you encounter in a class or school. Now I'm wondering what schools did that. I went to several universities (spanning the gamut from lower tier-2 to top of the country) and only at the top school (GA Tech) did I experience a traditional lecture, and only for a couple courses.
You're exactly right: The big publishers lobbying for this aren't particularly scared of that outcome. They'd prefer to just receive millions from FB & Google, but if those platforms get out of the news sector entirely, they expect their consolation prize to be regaining control over how people find news, renewed brand loyalty, increased front page traffic and an advantage over smaller and new competitors.
> It looks like Pijul fixes the conflict problem, but it still seems to keep the "quantum theory of patches" that requires an above-average developer to understand. If it has no bugs, then maybe the problem is moot, but in our industry, transparent, "self-repairable" tech seems to win in the long run over the esoteric, opaque and magical.

The patch theory is complex, but it isn't that complex. Especially since there is plenty of alternate implementations out there of Operational Transforms (OTs) and Conflict Free Replicated Data Types (CRDTs), it's relatives/cousins/descendants. In theory, any developer than can grok a blockchain or a Redis cache should be able to grok the patch theory.

Darcs suffered much more from being written in Haskell, I think, than from the actual complexity of its patch theory.

Pijul being written primarily in Rust maybe has a chance of also getting over that hump a bit easier than Darcs had. Though now it also has the uphill climb of competing against git's inertia.

> Git was on the verge of ventured into this territory with its (now discouraged) "merge commits"

Discouraged only by people that don't know `--first-parent` exists as a useful `git log` and other command arguments. The useful thing about a DAG is you can very easily slice it to create arbitrary "straight line" views. You don't have to constantly smash and squash history to artificially force your DAG into a straight line.
Actually I think more effective is the 'new student and the student-who-recently-completed the course' because the old student remembers his misconceptions. Whereas the professor suffers from the curse of knowledge:

https://en.wikipedia.org/wiki/Curse_of_knowledge
Works fine for me, no redirection.
If you believe programming is not a talent then you won't complain when your pay is not structured the same way that talent pay is.
The alternative to plastic in many or even most cases are items that generate more carbon to produce, and much more to ship.
I feel like a distinction needs to be made between soundness and precision. A sound type system never tells you something wrong while a precise type system tells you everything that needs to be said about a value. Gradual type systems are imprecise, because they could type something at some * type. There's nothing wrong with that. Unsoundness is bad on the other hand, it keeps you from omitting dynamic type checks in places where you would want to in your compiler. A natural thing to want to do is include dynamic checks expressly where you are downcasting from a * type, omitting them where the type is known precisely enough. That is how you reap a performance gain from your type system, and unsoundness prevents you doing that.

(Downcasting from * in a gradual type system is analogous to how C lets you cast from void* to any pointer type implicitly, except that RTTI checks that the cast is safe.)
In the original article linked above to which this is a comment("TFA" = "The Fine Article"), first one about a page down
Looks like a mistake there - obligatory is not an adverb, that's obligatorily.

UK is not even out of the EU and the level of English is already going down! /s
Sure. I wasn't looking to pump the book, it was just weird.

I have spent my career with technology teams, either 2 guys in a closet or 40-thousand people working on multi-year, multi-billion-dollar efforts.

Something weird happens between the 2-guys scenario and the 40k version: critical information stops moving around effectively. Many times big organizations seem to exist and profit more out of a sense of inertia than strategy.

Looking at this, over the last several years I've been trying to identify why some organizations do well in how they handle information flow and how some (most) organizations don't.

There is a ton of detail here. It encompasses everything from Lean Startup to Business Modeling and Extreme Programming. (Way too much for an HN comment, sadly!) There are a few folks talking about how to think about information at the meta level, but not a lot. Happy to point folks to some free online resources. Just let me know specifically what you're looking for.
Yes they would. The apocalyptic doomsaying that would have happened if Guido had said "oh hey guys we're going to stop developing python here in a bit" would have been off the fucking charts.
Transcript of Mark Zuckerberg’s Senate Hearing
I haven't taught a class in a non-traditional format, but was just talking yesterday to a colleague who has been teaching in an active learning (AL) style. (Not flipped as yours was.) Her conclusions were similar: the good students liked AL, but she does get students who complain that "she isn't teaching us anything" and "she isn't telling us what to do." The second type of comments is telling, I think.
Pretty normal in coastal areas. I recently interviewed at FAANG and these are the offers I received. I have 6 years of experience as a standard software engineer, I consider myself a solid contributor but nothing special:

- Facebook (SV): ~380k (60% salary, 40% stocks)

- Google (SV): ~310k (60% salary, 40% stocks)

- Netflix (SV): ~410k (100% salary)

- Hedge fund (NYC): ~450k (40% salary, 60% bonus)

Everything is per year, I divided the stock part by the grant period (4 years).

If you're wondering, I did not take any of these offers. My current compensation at a series C startup is ~280k (80% salary, 20% cash performance bonus) and I have ~3M worth of stock options (based on the last preferred valuation, though I am granted common so definitely more at risk to get screwed) of which I currently vested 50%. I hope will be able to get liquid in a couple years or so, though I'm not fully counting on it and I'm taking the risk.
Very excited for this. When "Inbox" came out I was excited for a lot of the modern amenities but it was so dumbed down from gmail and missing a lot of core features, that ultimately switched back to using the classic Gmail interface, even though it hasn't received much love in a while.

Since they have a separate Inbox product, hopefully they will be able to refresh it with all the new modern bits, without removing any of the advanced power user functionality we have all come to love and relay on.
You mean blockchain ain't useful to create better iced tea?
Is this going to be part of Bvckup 2 by any chance?
Excel makes proper CSVs insofar as when you say that you allow people to import CSV files into your application, the vast vast majority will be using Excel to create / manipulate those CSV files (and if they don't, whatever tool they DO use will have made efforts to work consistently with Excel).

What any other spec actually says is irrelevant. For most non-technical users, anything Excel outputs as a CSV is a CSV file (and anything you output that doesn't work with Excel is not)
We use G Suite at work and I'm not a fan of the new calendar design. Material design works nicely on a tiny phone screen but on a 32" 4k display it just seems like there's a lot of unused space. That's probably the ridiculous size of the panel, to some degree, but frankly, I just don't think Google's done a great job of designing desktop user interfaces that aren't search.

For folks interested in avoiding your email provider also being an advertising company, I switched to Fastmail* last year. They've got gmail import and full IMAP push support (something gmail canned years ago).

I'd also love to see other hosted alternatives to gmail. I looked into rolling my own on EC2 but decided I didn't have the expertise to do it "right"

* https://www.fastmail.com/