skysight-inc/HackerNews huggingface dataset:
I've read my share of cryptic JavaScript written by others and in that sense I agree that in multi-person long-term projects static typing no doubt will have its advantages.

My hunch is however that what is often overlooked in development with statically typed languages is that it takes considerable time and effort to come up with the right set of types. Many examples are written showing how types almost magically make programs easier to understand. But when you read such an example what is not stated is how much effort it took to come up with just those types.

One way of thinking about it is that type-definitions are really a "second program" you must write. They check upon the primary program and validate it. But that means you must write that second program as well. It's like building an unsinkable ship with two hulls one inside the other. The quality will be great but it does cost more.
This is a fantastic gish gallop of dubious claims backed by dubious sources.
What do you mean by "these incidents are meant to keep each other awake"? Why would you want to keep a competitor awake?
I think you are arguing from bad faith. Social Sciences has problems and it seems unwilling to do better.

You had to be shamed publicly and widely. People have a right to know social sciences are this broken.
It's perceived as a failure because it was a failure.

If anything, the US is still too restrictive when it comes to alcohol policy. I hope we see the drinking age lowered back to 18, and remove most geographic and time restrictions on the purchase of alcohol. (i.e. Dry counties, purchasing on Sundays)

It's funny, I don't see too many people championing the war on drugs as a public policy success.
I ask this question a lot from new clients coming in for marketing or ecommerce rebuilds who have this style pricing.

I get three answers

1. Not allowed ( manufacturer/vendor regs)

2. High Touch sales, "anyone who was over worried about price isn't likely a buyer/good match" real buyers know the price range and we need to customize/vet the buyer

3. Highly customizable product that they cant or won't invest into making possible to pre-price online, probably wont get added to a cart and shipped or sold without a buyer wanting to actually talk to someone)

( for example, a 150k Caterpillar with various attachment options)
That the task description is only posted at the start of the competition?
Oh trust me I smoke my share of dope.

So, when a business owner tries to protect his property, his son gets jumped, and then a university (which no doubt owes plenty of its success to govt backed loans) declares a witch hunt against him to the point where he loses business, employees and salary - it's going too far to call that despicable? Not calling any individual despicable, but the practice and mentality as a whole - that's not appropriate?

That's a pretty... Strange limitation IMHO. I sure as hell don't see a high level pattern that one ought to be following.
> Alcoholism is a disease

While this is true, it’s also a disease that impacts certain communities and demographics differently than others. Its a disease which therefore can be mediated by changing social environment and norms. So while I also don’t support incarceration of alcoholics, it’s not unreasonable to consider legal and political interventions to improve public health.
There are aspects of it which are extremely annoying to use, however - for example including and resizing an image could be a 10-20 minute googling session. Setting margins, headers, and footers not only requires including and invoking some package in exactly the right way, but actually choosing which package to use for the job as well. These are just a few examples, the list goes on and on.

LaTeX produces great looking documents, but I find it a giant pain to use.
> Do you think I should be able to successfully sue you for millions of dollars if you had SERIOUSLY just called me a racist?

If I damage you with lies in word or in print, you are entitled to be made whole. If I lied about you and it cost you millions of dollars as a result, yes, you should be allowed to sue me to get those millions back.

What problem do you have with this system?

Edit: and if the damages were done with malice, society is absolutely entitled to add punishment on top of correcting the harm that brought the case to court.
Fun fact the person you're replying to is the creator of D, I'm pretty sure he likes it. I've personally played around with D a bit and written maybe 1kloc in it and I like it.

It doesn't have good pattern matching or the borrow checker, but it does have much better metaprogramming than Rust. I think a lot of the metaprogramming used in the Python project could also be done basically as easily in D, which is a big accomplishment.
You still have the problem that the `my-dsl-macro` is a black box.

That macro can do anything it wants to the sub-AST. The problem is not about hygiene re: variables but about the meaning of symbols. A function application within it that doesn't obviously have anything to do with the DSL is also subject to the macro's will to have its meaning changed. This can make composition difficult. Who guarantees that if you combine `my-dsl-1-macro` with `my-dsl-2-macro` or simply with general purpose code, that they don't interfere in odd ways?

Granted, this is not a big concern for a well-designed and widely used macro. However, the bottom line is that the inherent freedom of the abstraction allows for issues to arise whose debugging require a deep understanding of the involved macros and their implementations.

You don't really have the same problem if there is only procedural abstraction. The boundaries are clearer there. Even if you do something like the Interpreter Pattern or Haskell style AST-constructing EDSLs, you have guarantees that whatever AST is constructed cannot inspect whatever non-DSL code you combined with it.
Tangentially - do you know how fast her compiler was compared to the compiled-language implementations? I have a vague sense that for many applications, interpreted languages are totally fine and reaching for a compiled language is premature optimization, but I'm curious how it actually holds up for a compiler, which is more computationally heavy than your average web app or CLI.
To be fair, I don’t think any Haskeller would actually write this project without attoparsec and maybe lens by choice. They’re basically base libraries for this sort of thing.
You know— it seems that’s exactly why they made it PYYC. I grew up on local music shows like that. Punk and indie and folk stuff.

You’re the target listener in that case. I felt guilty at the time, too. Now that I’m older I understand.

Don’t feel bad. It was intentional.
Perhaps, then, the authors should have published a critical review of existing social science literature and discussed flaws in methodology. That would be academically and ethically honest, and probably prompt a discussion and response from inside the field itself. Instead, they ran with their article to online news sites. Why would they do that first rather than trying to engage the academia themselves? Why did the researchers need to be shamed? See the quote I provided in my original comment by one of the reviewers who was fooled. She was personally embarrassed and thought the paper had come from a new entrant in the field, so she was charitable. Why is it acceptable that making people feel that way is the first course of action? It is not at all in the scientific spirit.

People have a right to know, of course - but so do researchers. Researchers in these fields have a right to know exactly what Boghossian and friends thought was wrong with their methodologies and research topics. Boghossian decided that was beneath him.
Right, so most people probably don't experience much prejudice. And yet, some people belong to marginalized classes and do experience it.

So most people should probably not cast dispersions about the validity of the claims made by the marginalized.
Thank you! I'm going to be out in SF this winter and I will definitely check it out.
> that the US reserves the right

From whom do they reserve that right?
Alcoholism can be a disease, but that involves a very different beast than what most people call alcoholism.

I'm not sure it is a helpful framing. I would certainly argue that the model promulgated by AA is very unhelpful, although it has polluted the popular consciousness heavily. In the USA at least. Other countries have more reasonable relationships with alcohol.
Isn't that what the issue says he will do?
What's the workaround to the new nyt ad blocker blocker?
Thanks again -- interesting to learn about this space! I wasn't aware of WMO.
https://news.ycombinator.com/item?id=17551514
I have the same experience with Java. But I would have expected languages that have type-inference like Haskell, Scala and OCaml to do much better. But maybe their advanced features in fact make programs written in them harder to understand, which slows down development. Don't know.
Never heard of Team Fortress 2?

DotA spawned from Starcraft custom map Aeon of Strife using new mechanics from WC3, DotA:Allstars/DOTA 2 is a heavy revamp of the original map. Between WoW and Hearthstone there was WoW TCG, not a video game.
Did you buy any back pain stuff at the pharmacy? Maybe it's tied to a store loyalty card or credit card.
Seems like a bit of a bold claim when the author themselves directly contradicts that in their own conclusion:

> I think my overall takeaway is that design decisions make a much larger difference than the language

After all, Scala was 0.7x the size and is one of the most strongly statically typed languages. So you could almost invert your conclusion and say the big result is

"Python only saved 20% code lines over fully statically typed language"
Discussed at the time: https://news.ycombinator.com/item?id=634001
Wow, you only read the thread title of the first link I gave you. Obviously you aren't interested in learning anything. If you change your mind, read a little further.

You claimed that it's impossible to read about the Opium Wars in Western media, I say I learned about it in high school history and give you one of thousands upon thousands of links about it that will come up when you search.

I never claimed the West was innocent, nor that they should be forgiven about anything. You're just adding all that stuff in to further muddle the discussion when you've been proven wrong.

I hope you learn to challenge your own beliefs, because after your comments I don't think it's a good use of my time to continue discussing things with you.
I recently purchased the 2019 Mazda 3 and absolutely love this about it. All controls are physical buttons/knobs that are sensibly placed so the driver can access them without reaching. The screen is nice and big without being obnoxious, and the built-in infotainment UI is very modern and easy to use. And it also supports CarPlay which is wonderful.
The USA is weird. There are still policies that have been shown to work elsewhere, which aren’t enforced in the USA, like taxation and ad bans, while policies with questionable success rate are (like high drinking age and consumption in a public place).
Quillette isn't a reputable source. Particularly in this area they specifically are well known to be advancing a "leftwing colleges are terrible" narrative.
I think this guy is pretty brave for admitting he listens to Pitbull's radio station. My skin crawled with embarrassment reading that.
I feel like what you're actually testing with this is "amongst the top percentile of programmers, what are the proclivities of people by choice of favourite language"

Because the implementations vary so much, that's the source of a lot of the LOC-difference. They effectively delivered more or less (if you count more stages as "more" which I would as it will make it easier to reason about/debug, and count a typesystem as "more", since it gives you more guarantees).

python - solves the problem brutally fast, some ugly shortcuts
haskell - solves the problem quite slowly/delivered the most
rust/c++ - intermediate
scala - solved fast, took shortcuts
ocaml - this is the one that surprised me I'd have expected it to be the shortest with python
Nope, I use GCP first
A small recent thread: https://news.ycombinator.com/item?id=20047527
In a former job where I was in applications engineering, the cost of getting the customer up to speed (from a support point of view) was many times the product price. In a couple hundred sales cycles, there was only one we would have made money on in qty 1.

And value based pricing...
I'd encourage your coworker to use a language where if/else is an expression and not a statement. :) Of the languages mentioned in the article, Rust, Haskell, Scala, and OCaml all have this as the only form of if/else: you can write something like x = if foo then bar else baz, so you can nest them with some parentheses for readability. Python's if/else is a statement, but it has a slightly different syntax for the if/else as an expression - bar if foo else baz - which is a little less readable but still workable.

It's only the Algol-syntax-family languages (C, C++, Java, JavaScript, etc.) that have the inscrutable ternary operator and if/else as a statement.
Yes! This is a great game and existed in ice rinks and other places in middle America while I was growing up in the 1980s and early 1990s.

EDIT: Ah, here it is! Turns out TFA says specifically the Moscow game is an exact clone of Sega Basketball:

https://www.youtube.com/watch?v=_Wv2hqhh2Zc
Countries in Europe have given up some sovereignty to the EU.

Example: https://en.m.wikipedia.org/wiki/R_(Factortame_Ltd)_v_Secreta...
People who mostly do that weird numeric stuff find themselves wishing they could be free from that python interop, for example when 99% of your code is unique rust and at the end all you want is a graph. Another use case is when you want to write an application like ImageJ, to be used by (not necessarily computer-y) scientists other than yourself, where you want fast startup times and all-around good performance. Being able to do away with the python interop won't shatter the Earth but it would be nice. Besides, I love Python, everybody loves Python, but it's not the final end state of programming language evolution (isn't Haskell? ;).
I mean, if you design an esolang for the competition task and implement an optimizing compiler that's faster than any general purpose language out there, that absolutely feels like something that should be rewarded by the spirit of the competition! So it's okay that it's allowed by the letter of the competition, too.
Not sure on multi core, but most of Photoshop is not gpu accelerated. And I think the benchmarks I have seen still out Intel ahead with Photoshop.
Unlike most diseases, alcoholism has direct and often violent effects on second parties. Sure, “think of the children” is a cliche, but it exists for a reason.

Second, you equate prison and taxes, and declare both to be morally unsound. It’s a neat rhetorical trick, but like my math instructor used to say: “show your work.” As far as I know, taxes work.

Additionally you assume that alcoholism (even treated as a disease) is the target of these policies. What about the cost of alcohol on non-addicts? The social drinker that misjudged their state and crashed a car? The kid who fucks up his liver because he took Tylenol to treat his hangover?

Even if a tax won’t deter an alcoholic it might work for the rest of society.
> The "objective" approach was never actually objective. It had just as many biases and issues as everything after it, but everyone sort of pretended it didn't.

On a related note, I often see similar issues with the A/B testing programs in many startups and large companies. It's not that the objective approach with A/B testing is in any way wrong, it's that the constraints of the tests and the business environment mean it often isn't testing what you think it's testing.

For example, I've seen more than one A/B test where the business goal was to reduce the number of users taking some action (e.g. calling customer service, for example). So instead of fixing the underlying problem, or making online help easier or better to use, the A/B test basically just tests making the customer service link as hard to find/obscure as possible. Run the test for a few weeks, and voila, see how it's a big A/B test winner because support calls are way down!

Not all examples are egregious as that, but fundamentally virtually all of the A/B tests I've seen are limited to a relatively short time period, but aren't really able to test the longer term, follow on effects to brand reputation or customer sentiment.
https://GitHub.com/minio/minio
When formatting a large document, those costs are amortized. In addition, many changes are set-it-and-forget-it. Once you set the right dimensions for an image, table, header text size, or margins, table of contents layout, bibliography style, etc., you wont have to mess with them again.

In a word processor, an image size can be changed by inadvertently clicking on something, the style of a text selection can be changed by moving the mouse scroll wheel on the font drop-down menu, page numbering may not refresh when working on a large document, inserting a figure may screw up table or image numbering, etc. You have to be constantly checking your multi page document to make sure everything is still ok.

As a teacher, my heuristic is simple: if I'm authoring a document that is less than 3 pages, I use Word. Otherwise, I use LaTeX.

For example, I write exams and syllabi in LaTeX. Quizzes, assignments and handouts in Word. It has worked well for me for a decade.
It's completely unsurprising that a social movement mirroring the attitude and values of the 1920s anti-saloon league would rediscover temperance as a cause they want to advance. There's always, in all societies, some group that wants to "fix" social ills by banning things and controlling people. These groups, when they get their way, do more harm than good.
I would quibble with the use of "contaminated" for something that's always been there.

In fact, the atmosphere had quite a lot of carbon dioxide a billion years before there was any significant quantity of oxygen.
The Russian new law which would be effective on Nov 1st would handle the operation of routing (you read correctly, patching ISP's BGP tables) of over-the-border links to a state-running body (in case of emergency which is basically whenever they'd want) so it's not a firewall, I'd like to call it the Red Internet Plug.
A biosandfilter [1] is not hard to design and build and removes the most common contaminants. Acid rain does not directly affect human health. [2]

[1] https://en.m.wikipedia.org/wiki/Biosand_filter

[2] https://en.m.wikipedia.org/wiki/Acid_rain#Human_health_effec...
Also, nobody gets sued for libel over honest debate. They do, however, face social repercussions for taking positions out of line with society's values. Freedom of speech isn't freedom from consequences.
I think thinking carefully about the abstractions is also key, ideally not while at the computer. Good abstractions should be obvious and not really requiring refactoring as per se.
Yes. I definitely want the companies of the US to come out on top. Or the companies of any country that has a decent human rights record.
It's all mixed up but when I hear that it was a 100 year family owned business the likely hood it is racist goes way up to me. I can't say for sure but the fact it's some kind of community staple hardly protects it from accusations of racism.

Remember: throwing the book at black shoplifters vs slaps on the wrist for white is definitely a key feature of racism.
Using Docker to Run MySQL Server in Your Development Environment
We've banned this account for breaking the site guidelines. You may not owe the New York Times better, but you do owe the community better if you want to post here.

If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future.

https://news.ycombinator.com/newsguidelines.html
The philosophical argument here is "To what extent is it the government's job to regulate substances?" The author seems to think that if it causes harm, it should be under the government's purview to curtail. The second-to-last paragraph demonstrates this position. We already have laws about driving while intoxicated and public drunkenness (among others such as carrying a firearm while intoxicated) which preserve individual freedom while punishing externalities.

The author's suggestion that we once again need to start molding what is "acceptable" leisure is simply backwards. Western liberalism is fairly good at solving these problems.
Though I drink occasionally, I support the rights of locals to decide whether to allow Sunday sales or to be a dry county. (I personally prefer no local restrictions and would vote against them, but would still defend the local communities to decide their relationship with alcohol sales.)
Some questions to ponder: how is a record of behavior (the focus of behavioral science) any less objective than heart rate, pupil dilation, etc? Also, is heart rate a measure of psychological state really? Hormone levels are a mess as a measure of psychobehavioral state. EEGs are useful but are opaque in terms of underlying mechanisms.

People do use all the things you mention, and they're certainly useful, but also have limitations.

If you want to know how someone feels about liberal politics, for example (I'll let you pick the US or Britain), it's far easier and more direct to ask them than to try to infer it from heart rate responses etc.

I'm not saying those other things are useless, only that there's a reason Likert scales continue to be used so much.

Some food for thought from the other side of the coin:

https://aeon.co/essays/the-blind-spot-of-science-is-the-negl...

In any event, my complaint about the piece is that it picks on the social sciences when biomedicine is ripe with corruption and irreproducibility itself. There's a kind of bullying that occurs with this; biomedicine is rife with problems so it takes them out on a scapegoat. (The social sciences do have many problems, but many of them apply equally well to other fields.)
The Scala result confirms my bias :P I love Scala because it strikes a great balance between being succinct and offering type safety.

I wish you would use Ruby instead of Python. Python is strangely inconsistent. For example, Python doesn't really offer a rich standard library; people have to resort to ugly solutions for a simple problem (here's an example: https://stackoverflow.com/questions/363944/python-idiom-to-r...)

Ruby would be better at an example of how a dynamic language can be more succinct.
A higher drinking age has been shown to lower drunk driving fatalities.

https://www.webmd.com/parenting/news/20080702/age-21-drinkin...
> What problem do you have with this system?

I think people define "racist" differently. Some see it in terms of systems. Some people think calling out racism is itself racist. Some view certain types of jokes as being a sign of being racist. There are as many definitions of the term as there are people.

I have repeatedly mentioned there are limits, but my problem with the system you laid out (which I'd argue is far more extreme than what was decided in this case) is that I'm a free speech guy who thinks we're better off when we can discuss issues openly.
> You're giving the average user too much credit.

It's not compelling to acknowledge that they understand and then turn around and say they need their hand held because they aren't responsible enough. This isn't a public safety issue.
Conveniently left out of reports like this is that while Greenland may have lost 2B tons of ice, it did not then lose 2B tons of the meltwater. Most of the meltwater will continue to sit there right where it is, and then turn back into ice in short order, or at least when the summer melt season ends. So the net loss of ice, if any, will be quite low.