skysight-inc/HackerNews huggingface dataset:
I agree with the general point here (though I think some of the dynamic patterns, e.g. reflection and exceptions, are more often anti-patterns than they are necessary and useful).

In particular, I feel like statically typed languages force you to have a much more concrete and complete picture of the program you want to write in your head before you can make any progress writing it. In dynamic languages, I'll often start with a kind of half-formed picture and get bits and pieces working and then refactoring later isn't a big deal. But in static languages, I have to express a big chunk of the type/trait/etc. hierarchy that I'm going to be working with right off the bat, before I can write any functions that make use of those types. Then the surface area of code that needs to be refactored if my picture of the underlying type hierarchy changes seems to always be much larger. In the end, for complex programs, I tend to find the benefits of static analysis make this worth it - it's just definitely harder to get started in a static language.

Thoughts:

1. All the examples here tend to have to do with basic language features or very low-level patterns. I'd love to see some higher level examples of larger architectural patterns. As I describe above, a lot of the pain points of working with static languages come when refactoring something complex, so it'd be cool to see a kind of walkthrough of such an instance.

2. In a lot of ways, once I've finished the prototyping stage for something in a dynamic language, my code is pretty similar to how it would be if written in a static language - tend to refactor a little to tighten things up after getting the core working. I wonder how feasible it would be to create a language with a dual syntax/semantics that allowed you to prototype in a dynamic interpreted setting with fewer constraints/type annotations, then switch to a strict static mode that required you to go back and fill in everything needed to statically compile?
Priority is the wrong way to think about it. Given all the sources of bursts on the internet today, fair queuing (or "flow queuing") has become the way to turn flows back into packets.

there's an awful lot of lit on FQ, what we do with fq_codel is to not only interleave packets better but apply congestion control signals at the right time so competing tcp flows don't overwhelm the link (with under 10ms of buffering (v seconds common on fifo ISP links)).

https://en.wikipedia.org/wiki/Fair_queuing

Of course, being perfectly fair to flows is sometimes undesirable, but making something strictly higher priority[1] is fraught with peril as you end up with a classification nightmare.

Having fq gives you the best shot at smaller flows completing sooner, and of big flows sharing better with each other.

Having vastly reduced buffering improves the responsiveness of competing TCP flows a lot, grabbing bandwidth whenever available, faster.

My take on folk that want "prioritization" is ask them to try some variant of sqm with just fq and codel and get back to us. being fair with well managed buffers works really well.[2]

[1] making something lower priority than best effort is actually a good idea.
[2] but if you really want some flows or devices prioritized, see the sch_cake work mentioned on this thread. I still tend to think per host FQ is what many want rather than attempting to raise the priority of certain flows from certain services.

https://arxiv.org/abs/1804.07617
5 Time Tested Tips That Will Help You to Get 100 Customers for Your New Startup
It's true that the word comes from those roots, but the Oxford dictionary you cite says plainly that the definition of the word as it is used today is:

> Courageous behaviour or character.

https://en.oxforddictionaries.com/definition/bravery

Just as long as we all agree that cave diving is not about being that ridiculous Hollywood stereotype dude who deliberately breaks all the rules for no damn reason and it works out because he broke all the rules for no damn reason.
> I can read through the 5 lines of Python code implementing insertion code, and be reasonably sure that it's correct.

Binary search is possibly one of the simplest and most basic CS algorithms, and yet, it took people who were "reasonably sure" 10 years to find that bug.

> I would have a much harder time verifying that 300 lines of Idris are specifying what was intended.

Then don't use Idris?

> I'm saying that you have diminishing returns.

I agree. However, that was not your argument. Your argument was that tests subsume proofs, and that's obviously wrong.

Also, types vs tests is a false dichotomy. Personally, I find a strongly typed language + QuickCheck to be the most practical way of developing complex software. YMMV, and that's fine.
Ha, she really does have an action figure!

https://mcphee.com/products/librarian-action-figure
I really like the interface Mazda came up with. Right by the shifter there's a knob that controls everything on the screen, which is as easy to glance at as the speedometer. Muscle memory still works to an extent
I thought Consider Phlebas was pretty good. Maybe I should give this one more of a chance.
The making of the Cooperative Cloud
I have a car with voice control and it's terrible for navigation with my 4 year old in the back seat. Seems it can't understand the phrase, "Drive to home why are you saying that daddy what did you say are you talking to the car daddy why?"
I'm not sure that's really much of a "but". The EU making it impossible for the UK population to hold their own government to account for what they did with the power given to them by the populace seems like a good reason to leave.

In order for the government to achieve something at the national level, it would have to have to convince its MPs to publicly vote in support of it and risk losing their seats over it at the next election. The power in the EU rests with people appointed by people appointed by the people we vote for, and that completely diffuses all responsibility. (The elected European Parliament are pretty toothless compared to the unelected appointees.)
Because most major websites are in US. I can totally see Google, Twitter and Yahoo making huge profit from that law. They host insane amount of contents, both text and multimedia. Someone will offer an API where EU services will be able to upload picture, video or text to get estimate if that content is copyrighted. Sounds like ContentID that YouTube already has. That's just another law that will export money and business from EU to US.

https://news.ycombinator.com/item?id=17195493
Google may not be reading your e-mails, but many others are
Interesting history, thanks. If you can find any sort of cite (maybe a short interview or forum link) I bet you could add this context to the Wikipedia article in a few minutes, it's missing it now.
Awesome! It sounds like browser support may currently be an issue, but I really like the idea :)
AFAIK this isn't allowed in firefox extensions
Just saw this. Mr. Nisanyan's book "Aslanli Yol" has a section claiming all the wine in Sirince is made outside Sirince, but they're just branded as Sirince wine for marketin purposes.
Or maybe you just can't afford it and are looking for a reason to make yourself feel better. :D How far long do you think before Tesla will support voice control? Or perhaps ML driven system that knows how to adjust the climate based on the passengers? Tesla is a computer/car hybrid ya know?
Given that this change seems to have been pushed by the Diversity team, I think they were probably finding that minority and female demographics were severely underrepresented in the demonstrated interest category and probably did much poorer in alumni interviews as well. Eliminating those factors makes it more likely that minority and female candidates will get in on general academic merit and then hopefully make the choice to pursue engineering once they get there.

Basically, I'm reading this as a diversity play, not a rich/poor play. Whether it will actually work or not is another question that's hard to answer without seeing their data. I can pretty much guarantee that on the male/female side, though, demonstrated interest massively favors male applicants. Female students just aren't encouraged to do (or maybe don't have as much interest in) the kinds of things that impress admissions committees in that category, regardless of what they may end up wanting to study by the time they graduate.
Industrial scale pumps certainly exist, but they aren't exactly small and easily portable. I'm not familiar with the one Holland sent England, but I suspect it was pre-assembled on a ship?

The highest capacity pumps in New Orleans can move roughly 10,000 gallons a second, but they require a supply "hose" that's ~8-10 feet in diameter to reach that volume. You'd need to get an enormous hose to a low point of the cave system, which may not be near the entrance.

Then there's the question of what to do with the water you pump out. Maybe there's a river nearby that can absorb it?

It is doable, but it's neither simple, not particularly quick.
I really liked them.
He didn't just build Basecamp in those days. He also built Rails.
Excellence! The README reads:
"I really like the clean look of SVG animations and I also wanted to see how this solution would hold out against other attempts at terminal recording such as asciinema."

But how does it compare? Is the size smaller, is it more efficient?
I don't know about 'most people'. I start reading a book immediately after buying it.
I don't understand what your point is.
Generally caves have elevated CO2 levels not because of human respiration, but because of outgassing - they're generally eroded out of carbonate minerals, and so the water flowing in carries CO2 inside at higher concentrations than the outside world. The smaller the subsystem the human is isolated in, the faster they perturb that equilibrium toward an even higher CO2 level.

The ESA, of all groups, has a pretty good write-up on this: http://blogs.esa.int/caves/2014/11/19/the-science-of-caves-e... They use cave exploration for astronaut team-building, process/workflow training, and acculturation.
Seems to me the most secure messengers are probably those that don't make a big deal about it. One of the most intriguing secure messengers, in my opinion, is Semaphor -- https://spideroak.com/semaphor/ -- and they publish the encryption code for inspection and analysis (though not the keys, obviously).
> You don't need to be a bank or an institution to start using Ripple.

Sure, but I'm not going to stop transacting using my bank or my national currency any time soon, for a huge variety of reasons. Ripple is angling to be an inter-bank service (see the first sentence in this thread), which doesn't solve the problem of banks playing exchange-rate shenanigans.
I miss that feature in multiple occasion list comprehension.
I hacked through that with
for x in [expr]
but it never fell right.
It would be nice if in Python you could define new operators instead of overloading existing ones. It would make matrix multiplication look nicer.

I'm thinking it could look like this:

import numpy as np

def M1 %*% M2 with same precedence as *:
return M1.matmul(M2)

foo_matrix = np.matrix([[1,1],[1,1]])
bar_matrix = np.matrix([[2,2],[2,2]])
print(foo_matrix %*% bar_matrix)

Also, it would be nice to have a pipe operator `%>%` such that

foo %>% f()

is equivalent to

f(foo)

The alternative is to make f a method of foo, and then you can write

foo.f()

But what happens if I don't want f to be a method? I just want the style of writing the f after the foo, but I don't want the baggage of OOP. Is that anti-Pythonic?
BlueLabs Analytics, Inc | Software Engineers, DevOps Engineers | Washington, DC | ONSITE | http://www.bluelabs.com/jobs/

BlueLabs helps organizations personalize their engagements with individuals, optimize communications, and achieve their strategic goals through data science. Our team of more than 40 data scientists, engineers, and strategists come from diverse backgrounds but share a passion for using data to solve the world’s greatest social and analytical challenges. Our clients range from political campaigns and advocacy organizations, to government agencies, to startups and fortune 500 companies in a range of industries. Through our work, we’ve directly and measurably improved the health and financial security of millions of Americans.

We are hiring Software and DevOps Engineers to work across a range of projects including developing the data science platform we deploy internally and for our clients, and building and managing complex data pipelines for our clients. We're looking for engineers who want to work collaboratively, learn new things, and take projects from conception to production.

We're excited to work with any engineer who is curious and committed, regardless of specific experience-- but we're particularly interested in folks with several years of experience with Python, Kubernetes, Airflow, Spark, React+Javascript, Terraform, or Ansible.

Apply at http://www.bluelabs.com/jobs/
The secret world of disabled gamers
Text Coherence Analysis Based on Deep Neural Network
Laws mandating backup cameras on cars have helped spread touchscreens, as that video screen takes up dashboard real estate. In my relatively new Outback it's only for the radio, and I have steering wheel controls (as well as a physical volume and tuner knob), but it's still a regression to some degree.

Don't get me wrong, with cars getting taller it's good to have backup cameras (and indeed it was part of my thinking in selecting the car, having recently had a nephew reach walking age), but the desire to make it multitask creates the touchscreen urge.
This is cool, I appreciate the minimal aesthetic. Having the ability to persist and retrieve would be a value-add for me.
SNES Pi – 3D Printed Raspberry Pi Mini SNES
It should have shown you being in Singapore. At least, when I was working there (st the Beijing office), we were directly wired up to Singapore.
Von Braun never was an astronaut, much less traveled to the moon. And, I presume Nazi Germany used metric.
Animated SVG animations (really just an svg element + animated css) are significantly smaller, more efficient, and crisper than equivalent GIF animations. I wrote about the difference between the two here: https://hackernoon.com/presenting-your-code-beautifully-fdba...

As I explained in the above article, this is already possible with asciinema + svg-term-cli (https://github.com/marionebl/svg-term-cli).

The one downside with animated SVGs is that they're not as compatible to be included anywhere as GIFs since they're really just html snippets.
> but shorthand used to be very common and it's funny to see it now observed as a curiosity on HN and referenced on Wikipedia

That was indeed my point.
Thanks for the idea, a writeup or screenshots would be helpful. Maybe we can rebuild it using multiple data sources.
Similar issue for me, redesign kept logging me out over and over again
I can't understood the appeal of fishing. I grew up fishing with my grandfather which was a lot of fun, but since then I've always found it mind-numbingly boring. When someone takes me fishing now (or to a baseball game, which is equally tedious), I always bring a book to read. I wish I could tune in to why people like these activities, but I seem not to have the gene for it.
Setting yourself up for failure - Scary, crazy, upside-down truths in Lean UX
Firefox is in the right here. I absolutely do not ever want extensions to automatically get new permissions automatically just because I accepted an old version's lesser permissions.

If you want more permissions, then ask for more permissions.

And don't be surprised when people say NO.

Not everyone wants to grant the permissions to your update even if the update fixes bugs in older versions. Not everyone will want your new feature in the first place. Denying permissions is an easy way to eliminate the risk of having to go through and figure out whether or not the new feature is trustworthy.

And if you're not adding a new feature, then why do you need more permissions?
This is an oft-repeated falsehood. The majority of cryptos I have looked at (the big, non-pre-mined ones in particular) are not and will not be for many, many years. They are disinflationary. They experience inflation at a decreasing rate over time. Eventually, yes, they will become deflationary. Bitcoin will become deflationary on or before (effectively owing to "lost" coins) 2140, but until then the monetary supply increases. That is called: inflation.
To add to Vlad's comment above: The major win was in being able to create a simple API which inherently computes update -> cache invalidation probability taking into account the semantics of the item being cached and its relevance to the query. To be able to do this explicitly via heuristics leads to bespoke effort for each new and modified query.

With Spiral, we were able to approach this top down as a classification problem.

e.g.

If you have a cached query for "Friends that liked my post", the Spiral classifier quickly learns that "Post Last Viewed At" or "Post Last Modified At" is not relevant to this via the feedback from the caching code.

Pre-spiral, this was expressed via a curated blacklist/whitelist which had to be recreated if the query characteristics changed.
Well yes. The government didn't want Brexit, and are now doing their best to sabotage it to punish the peons for voting wrong.
Solo Stove Bonfire Fire Pit – Outdoor Fire Pit for Patio and Backyard
A better question is 'did this book have to be written?' and with most of what you see in the bookshop window the answer is 'no'.

If the answer is 'yes' then I can tolerate the single idea taking up a whole book.

If the author then goes on to write a second, third, fourth book then they have probably crossed over from writing books that needed to be written to just regurgitating the same idea, based on the fame of the first book.

Publishing is an industry and they know how to do marketing.
They lead off saying all of the buzz words about diversity which always rings hollow with me personally, and this decision is based on increasing diversity according to them.

Honest question: why should diversity (as they use it) ever be a goal? Immutable characteristics of a person should not be a consideration in any application to life unless the application is explicitly for that (tall people in basketball for instance). Meritocracy should be the paramount consideration in all things, and possibly a small consideration of diversity of ideas and beliefs, but not diversity of skin color or genitalia.

If all of the most brilliant astrophysicist minds in the world happen to be Japanese women, why shouldn't they be preferred over all others in getting into prestigious colleges to study astrophysics? Why do we care if we have a certain number of European males in that situation? The right answer is that we don't care how many European males enter that field (which is true today but for different reasons that I am not trying to get into).
It's complicated. https://en.wikipedia.org/wiki/Transition_zone_(Earth)
It would be interesting to know if the people who showed demonstrated interest tended to be more likely to become successful graduates or not.
I went into this thinking they were using old AMD K8s clustered into a budget supercomputer.
> And by the way, I include myself and many other white richy type immigrants living in the country in the issue of not identifying with the culture. You cannot fix that by physically mixing everyone in (I already live around mostly native Dutch).

Describe that "Dutch culture" please. I take issue when people start talking about culture of a country as if the whole country shares one.
Have not (yet) read this article.

Nonetheless, I'm a 34-year-old American who has been lighting matches since probably the age of 5 or 6...
Thanks for your feedback, will look into saving to Google Drive or other storage options.
I used to be, too. Here are the two easy steps I took to break that habit:

1. Start reading Atlas Shrugged. When John Galt starts making his speech, skip to the next chapter. You have now gained the ability to skip pieces of a book that are really, incredibly tedious.

2. Start reading Twilight. When it starts feeling like torture to continue, stop. Use the rest as fire starters for your grill. You have gained the ability to not read books you discover that you don't like.

Take those unfinished off the shelf and get rid of them. Sell them to the used independent. Donate them. Burn them. Landfill them. Whatever. You can reclaim that shelf space for books you not only want to finish, but re-read and finish again.
What's the pulse on 2018 university startup financing trends?
Does this bring anything that is not part of https://standardnotes.org?

I'm in no way affiliated with this project but that's what I use to write and I absolutely love it, but I'm always open to trying other tools should it make sense.
Sounds like a solid plan to me. One sec while I grab my pith helmet and elephant gun.
If the site loads tons of crapware then the site is broken regardless of whether or not uMatrix blocked things.
It sounds like you're trying to reinvent something like Perl's "taint" bit, but for privacy specifically? No one does that. It really didn't even work as much of a security barrier for Perl CGI scripts in 1996...
Well... https://en.wikipedia.org/wiki/Lunokhod_programme
Ha. The scope and enforcement of these actions and their predecessors make me want to write a new children's book entitled, "The Boy Who Cried 'Follow This Large Internet Law'".
6 Reasons Why Tesla's Stock Is Tanking Since “Hitting” Its Production Goal
Amazing stuff. And in very readable Python!
I’ve done many FX wire transfers in China, and they’ll transfer USD directly if you have it. If not, they convert to USD first, well, since it is from RMB you need lots of documentation to do that anyways. If you receive USD, it stays as USD until you want to change it tonight RMB. They actually just can’t auto convert it either way since the RMB is not fully convertible.

Same is true for CHF, Euro, any other fully convertible currency.
How about using a text editor?
It's the ideal the whole industry segment is founded on. Just like every other ideal, it's attainable only by the extremely lucky. Everybody else has to deal with the externalities.

Strip the ideal away and people will leave in droves. Without a differentiator, startups are just like everything else.
How about: what if an equitable share of the brilliant astrophysicist minds are women of many ethnicities? And are underrepresented due to high selection factors in the admission process for alumni, coached applicants and so forth?

Which is far more likely the case than some hunky-doodle strawman meant to justify continued bias.
"I need to share it with 4-6 others."

That's not an open office. That's a team room and they are fantastic.

Open office where you share the same hall like space with tens of other people, are constantly interrupted by random guffaw and noise from people you hardly would have any need to interact in any way, and people constantly navigate around your space on their way to somewhere.
I like the UI.

Couple of ideas to think about:

* remove save/restore and save on every keystroke

* create new URL for each new document, restore when visited

* save content in localStorage only, if it's not meant for sharing
Everywhere I go, people are begging for more, better devs.

They cry that the market is dry, that the GAFAS bough all the best and that only fizz-buzz worth students remain.

I doubt the whole industry would refuse to hire an expert based on age when they are so much desperate for one.

But I'm young so I have to way to check this yet.
Really innovative
The US uses SI and has for a long time. This is ridiculous propaganda. Source: Personal experience - I took high school science classes in the US, in the first half of the 90s. I've also owned metric tools purchased in the US, and several cars with metric measurements on the gauges.