skysight-inc/HackerNews huggingface dataset:
You can get maybe 80% of the way there, but non-FP dependencies can still hurt you. That's also a problem with clojure dependencies on Java libraries, but less so because at least the clojure ecosystem mostly buys into the FP paradigm.
The problem with placing operator overloads within the definition of one object is — which object do you look to when trying to add two different types of objects and the assumption is TypeA.+(TypeB) is the same as TypeB.+(TypeA)? You put them in an inheritance perhaps, but that might unnecessarily complicate your type classification. Okay, so you use some sort of interface, perhaps with a default implementation. Well, interfaces aren’t unique to OOP, but they do add a bit of confusion — when looking for an implementation you might now have 3 places to look (Possibly 4 mentions if default implementations aren’t allowed).

Really there’s an easy conclusion to this — allowing and preferring user defined operators or operator overloads is a hotly debated topic and one where there appears to be no right answer — about the only conclusion you can draw then, is that operator overload is not exclusive to OOP: https://softwareengineering.stackexchange.com/questions/1809...

I’d also suggest that with functional programs, there are limits to how much you should cram in to one program, and that a smart way to modularize your code would be to, for example, follow the Redux reducer pattern and build or compose larger state objects and operations from functions that operate on just parts of the state object—this way you isolate written changes in a similar way to private OOP variables, where it’s just not expected (or even “in scope”) to modify other parts of the global state. Additionally, you can as in OOP control access to state by encouraging the use of “selector functions” or not directly accessing state. You could make your functions take smaller typed structs of state, really, functional programming is at least as expressive as OOP programming. I’ll say that both allow you to make mistakes like mix concerns, or use lots of globals, perform magic with meta-programming or overloading, or not be expressive enough to create your own DSL in—OOP or Functional, these concerns are in my experience shared by basically any language.
unlike the last elections, when the opposition boycotted the election then declared itself interim government
My close friend is opening a gym, part of this includes purchasing these thick rubber mats from Chinese suppliers. The new tariffs made it unprofitable when buying from china. His equipment supplier is currently negotiating with a US supplier. My friend is fine with waiting a few weeks.
I make things out of wood with a laser cutter and sell them on etsy. Mainly things from an MMO I play but also other games and tv shows. So far it covers the cost of materials and laser time. It won't ever comes close to my day job in terms of income (I did the math) but it's interesting as a side thing that's not engineering. I optimize the process and marketing (since I find that interesting) but don't stress over income from it.
that's called a well-connected private GP, or, if you are rich enough - physician in chief of a large hospital/center.
I’m sorry, I misread. I was aware of CRDTs and I thought that they were taught in some class.
If you mark all fields and variables in Java as final, you get pretty much this experience?

If I could go back in time and unilaterally make one change to Java, it would be to make `final` default. But if you just get in the habit of using it (the IDE helps), non-final variables look broken. And once objects have all-final fields, immutability just starts spreading upward in your code.
> Please... please don't imply that the book of Genesis, or any similar religious work, holds some hidden insight into modern science.

I didn't. Nor was that my intent. I only wanted to point out that there was something interesting and relevant to the above post.
Show HN: An algo based approach to beating the market
> If you want to reuse (or test) a functional banana, you don’t have to set up a stateful gorilla to hold the banana first.

...& if you don't want the stateful gorilla?
Many people don't believe you can time the market, or beat index fund investing. Statistically hedge fund managers struggle to beat index returns with all their custom tools as well and their large informational data-sets. Our algo based approach can grow portfolios using options trading and outperform the market.

This week, we have opened our Discord channels as all of our posting has been automated so now people can see the plans we get into, the time we get in and out.

We are currently in MTCH/DIS/LULU/HD and will look to get into AAPL tomorrow, if the plan requirements are met.

http://plans.marketgodfathers.com/stockimages/9002466145cbd2...

Our algo selects the best plans we can get into on a given day, then we curate those manually and generate trades to take. We put the same amount into each plan except the weekly trades have less invested into them.

I posted in the past about starting a service for my project and then another post to sign up and test-drive via a free trial, however, at that time it wasn't as detailed so it was hard to see what we were doing. With the channel open for the week, maybe longer, we hope people can see our results from July 03, 2018 until today.
The support of the military and by being a not so well known narcostate. If the situation would come to light properly maybe then we will see massive change. I am surprised nothing is done about it honestly.
I don't think he would say it's ethically problematic for him to own a phone. He just prefers not to because he doesn't want to own a device that he cannot control. No Kantian issues, others need not share his preference.
I agree that regions & languages are one way to classify data, but there are other more meaningful sub-culture categories.

I tried to simplify all data into ~30 categories. My own interests fit into 16, so I drew a visual representation of them.
https://github.com/peterburk/sortlikes

Next, I need to figure out the sub-categories. Genres for music, countries for travel, etc.

What interests me most is the cross-cultural connections. For example, Taiwanese punk rock (Fire Ex), or Mongolian folk metal (Nine Treasures, Hanggai). I like that music because it's the same sub-category I'm interested in (Music/Rock).

It's also possible to model the flow of finance around the world through this categorisation. Some of the categories are innately human and don't seem to exist in animals (music, cooking).

Email me if you'd like to chat more about how to categorise culture - I think it's important and I've got lots of ideas about it, but I haven't yet met any other people with this same passion.
The inflation rate is 2688670%, they are refusing aid, they are having widespread electricity outages and food shortages, it seems like their leader has become a despot.

At what point is it reasonable for an outside intervention?
Simple+Tree+Structure+Menu+in+MVC+4+with+Razor+Engine
This is one of many cases that UBI could “solve”. If you can house and feed your family, don’t have to worry about healthcare/education costs, etc, you are freed to work on projects like that (either on your own, or associating with others) that benefit society as a whole but are not neatly solved by “the free market”.
I would say "more on theory than on empirical evidence". It's entirely reasonable; the way your eye "thinks" is entirely different from how your higher cognition "thinks", but you need both. If you want something more concrete, here's a recent experiment done by MIT in this realm:

https://news.mit.edu/2019/teaching-machines-to-reason-about-...

We aren't an ML shop ourselves; we don't claim to be. Given that we have around 100 people, we focus on what we have that's special instead of trying to compete in an overcrowded market. The idea of hybrid AI is something we see as a future part for us to play in the bigger picture of machine intelligence.
Technically, China was a democracy for a brief period after the Xinhai Revolution at the start of the 20th century.

Democracy was also one of the major themes of the May Fourth Movement of 1919. In these decades, China was busy importing Western ideas because they believed that was the key to rejuvenate China.

The Communist Party eventually won power in China, but it was only following the Korean War that all hope was lost that China could transition to a democracy.

Still, the spectre of democracy remains. The Chinese Communist Party still talks about democracy positively sometimes and the Chinese constitution describes China as a democracy. They do this partly by ignoring what democracy means (the constitution also guarantees "freedom of speech, of the press, of assembly, of association, of procession and of demonstration"), and partly by redefining what democracy means. It's Western-style democracy that the CCP treats as an unambiguously bad and dangerous idea.
To expand, as I understand it, the Kantian ethical categorical imperative is something like, "behave as if what you do will be universal." Stallman's behavior requires enough people to not do what he does that he is not inconvenienced.

If he's advocating not carrying a phone under the current situation, he shouldn't be asking to use someone else's.
Not all Chinese stuff is bad, but there's so much bad stuff that it's hard to know what's good. "Chinesium" is an accurate description of the situation.
Getters and setters make more sense in languages where you can't override attribute lookup.
> that centralized planning doesnt work is just wrong :) look to walmart and amazon as examples of efficient central planning.

Walmart is one of many players in the economy and it reacts to consumer demand when it decides what to produce and sell. That is not a form of central planning.

An example of central planning would be the government ordering Walmart to produce ten million bicycles per year and to sell them for $80 each -- regardless of how many people actually want to buy bicycles and how much they are willing to pay.
If your prices are so much more reasonable than competition, why are they not published publicly on your site? “Contact us and we’ll tell you the price” is shady for a service that claims to be “very very very affordable.”
In the original JavaBeans spec, getters and setters served two purposes:

1. By declaring a getter without a setter, you could make a field read-only.

2. A setter could trigger other side effects. Specifically, the JavaBeans spec allowed for an arbitrary number of listeners to register callbacks that trigger whenever a value gets changed.

Of course, nobody actually understood or correctly implemented all this, and it all got cargo culted to hell.
This goes on all over the country. For every rotten officer that steals, there is a whole bushel back at the station that turn a blind eye and happily have bbqs with them on the weekends. Did you also know that when the police record an interview they do not have to preserve the tapes, the officers summary of the conversation is often taken as fact.
Venezuela IS NOT a Socialist country! https://www.youtube.com/watch?v=le86H7Xfjrc Even the United States has a larger state apparatus compared to the whole economy (38%). Add to that an insanely well-armed military and a president with almost unlimited power to do whatever the hell he wants using executive orders...

Wrt the downvotes, people on HN have become big cry babies who downvote anything they disagree with. It sucks and it is destroying the site by stymieing rational discourse.
> New Jersey guy locked up for stealing cars

“I always feel the same way about people breaking into the cars and driving through my garage with them.”
> I still think OO provides a pretty easy mental framework for programming. You can get good results.

The problem is that OOP is a slate of something like 18 characteristics and no language ever picks the same choices.

That having been said, the big problem with (especially early) OOP is that "Is"/"IsA" (aka structural inheritance) is the primary abstraction. Unfortunately, "Is"/"IsA" is a particularly lousy choice--practically anything ("Contains" or "Accesses" or ...) is better.

Most of the modern languages designed in the past 10-20 years reflect this--"Traits"/"Interfaces" seems to be what everybody has settled around.
I think it would be better to assume that any service you offer could be exploited, than to think otherwise. Lots of places run deals and sales on items with the condition "limit x per person per day" for that exact reason. Or an "unlimited" high-speed phone plan might have a restriction in the fine print where you're throttled after some amount.

Also "expected behavior" seems like it could be pretty subjective. Different cultures have wildly different values.
E-Whoring: A Guide to the Worst Job on the Internet
>Yet I know for a fact that if you dropped them in Southside Chicago, where my family is from, they would suddenly know better than to behave like this. They wouldn't toss their gang signs around or speak that word… ever. And that is because they know that these things would undoubtedly be met with confrontation, and they only get away with their actions because of the lack of African presence in this community.

I can't be the only one who thinks the racist you know is better than the racist you don't.

Also, the sentiment here that people wouldn't dare use the word if there were more blacks around, in fear of intimidation and violence in return, doesn't paint a very good picture of black people.
1) have you ever had psychometric testing done?
2) what are you non-medication coping techniques?

Genuinely interested in hearing your story.
It really should be noted that years later Joe changed his mind about OO and came to the realization that perhaps Erlang is the only object-oriented language :) From a 2010 interview:

..."I wrote a an article, a blog thing, years ago - Why object oriented programming is silly. I mainly wanted to provoke people with it. They had a quite interesting response to that and I managed to annoy a lot of people, which was part of the intention actually. I started wondering about what object oriented programming was and I thought Erlang wasn't object oriented, it was a functional programming language.

Then, my thesis supervisor said "But you're wrong, Erlang is extremely object oriented". He said object oriented languages aren't object oriented. I might think, though I'm not quite sure if I believe this or not, but Erlang might be the only object oriented language because the 3 tenets of object oriented programming are that it's based on message passing, that you have isolation between objects and have polymorphism.

Alan Kay himself wrote this famous thing and said "The notion of object oriented programming is completely misunderstood. It's not about objects and classes, it's all about messages". He wrote that and he said that the initial reaction to object oriented programming was to overemphasize the classes and methods and under emphasize the messages and if we talk much more about messages then it would be a lot nicer. The original Smalltalk was always talking about objects and you sent messages to them and they responded by sending messages back."

See https://www.infoq.com/interviews/johnson-armstrong-oop (2010) for the full answer (and more), it's worth a read.
Agreed, but objects are the implementation used in OO. (My point was not that they are the only implementation).
To clarify the above:

"Cyc gains an intuition about what kinds of paths of reasoning to follow when searching for conclusions"

The possible paths come purely from symbolics. But that creates a massive tree of possibilities to explore, so ML is used simply to prioritize among those subtrees.
I had an idea about a new indexing algorithm that would only need static file hosting (e.g. Github) for searching.

https://news.ycombinator.com/item?id=17548623

If you like, I can try implementing that with my next data analysis project. Right now I'm studying the MySpace Dragon Hoard, and I'll soon write a blog post with maps of music genres around the world.
the aid is a charade :)
Clojure.

If I'm stuck in JVM-land, Clojure followed by straight, modern Java would be my choices.
The decline im Venezuela was quite rapid from a high place. The people there must be in shock and desperate. I'm not wishing for violence, but it seems like the rare kind of scenario where violence might be successful. And Chavez was clearly concerned about it enough to disarm people before the collapse happened.

I'm not saying you're wrong, but I hear the theory often that armed civilians can't effect positive change, and I don't know where the certainty comes from. Surely it's a longshot, like all violence is because of the ensuing chaos, but it seems plausible when the people at least remember something better.
If you mainly backend dev, you should just install Ember CLI, create a new Ember app and start building.

Super simple, super modern and easy to use. You will love it and forget those hyped madness what others do...

Additionally, Ember.js devs get the highest salary in frontend world. ;)

https://emberjs.com |
https://yoember.com
I think this is pretty insightful.

It's easy to hate on OO because of something along the lines of it not being a neat mathematical formalism, which can facilely be argued as strictly a deficiency: if you don't look too closely, it certainly appears as only a deficiency.

I think a deeper look inevitably runs into two things:

(1) certain domains are more easily approached through spare mathematical formalisms than others. E.g. if the domain you're modeling is already most easily thought about in terms of compositions of mathematical transformations, you should probably model it functionally.

(2) Finding a declarative characterization of the results you'd like, or a neat chain of functional compositions which produce it, typically takes more work up front. (For many projects, the initial work up front is worth it—but for lots and lots of others, it's essentially over engineering.)

OO is often not 'ideal,' but frequently, solidly pragmatic.

As a paradigm, the aesthetic behind it reminds me of TypeScript's designers intentionally foregoing soundness of the type system.
What to Do If You’re Way Too Stoned and Freaking Out
Not really, remember how it turned out that the NSA was breaking the law? Nobody is really a first-world country, especially when the public isn't watching. The US is just first world more often than average. It probably has something to do with the fact that the public watches most of what's going on, at least on the basic level. Anywhere the public is confused (often the case for consumer and environmental issues) or deliberately kept in the dark (you-know-who) corruption runs rampant.
As I’ve gotten older, I find the capitalist/corporatist vs. collectivism argument incredibly tired. We now have 100 years of very well documented history that clearly shows regardless of which system is in place, a group of ruling elite entrench themselves and orient the system to benefit their circle. Doesn’t matter if the person doing it is a CEO or a Communist party official.

Btw, if a country goes socialist the same sociopaths that would be CEOs would just worm their way up the government ladder and find a way to be in charge.

We should be looking at systems that curb the power of elites in both government and business.

Yes there is merit is discussing reforms, and capitalism vs. socialism, but until we figure out how to break the elite without just creating a new class of elites, the argument divides us and helps them.
Looking at the photos in the paper, that's the first ML-camouflage pattern that actually seems practical. I could see someone wearing a shirt with this "adversarial patch" looking totally unremarkable in public.

Other types of ML-camouflage, like https://cvdazzle.com/, make the wearer stand out far too much to actually be useful as anything but an art project.
If everyone boycotted mobile phones, they’d probably pay for a landline or have pay phones available again.

It’s only been the last ten years or so where pay phones have disappeared from public spaces. And with the increased proliferation of WiFi, making a VoIP call from a laptop or whatever will likely become more and more practical in the future.
Even if it is, which I doubt, that is like the least important thing that I listed.
It's frustrating to read this thread and your comment kind of crystallized this for me so I'll respond to you.

Using an array without having to (manually) calculate the size of the objects contained within is like the major triumph of OO. This is a getter that you almost certainly use constantly.

Please try to consider your statements and potential counter factuals before spraying nonsense into the void
J2cl (successor to GWT) produces even smaller code.
We don't butcher sewer rats for food in the US...
Spark is really decent
Malware protection isn’t a signal though, it’s an active process of deleting and blocking. No need or even possibility to interpret it.

The analogy in the tracking space would be something like Safari ITP, not DNT.
A toy example of this would be keeping a diary in a text file in a git repo. The journal entry dates in the text file are independent of the commit dates.
"Never" is an overstatement, since both Rome and Greece had some forms of democracy.
Both Alan Kay and Joe Armstrong struck me as having had the same attitude of trying to capitalize on the topic of object oriented programming, failing to recognize its importance, and then later trying to appropriate it by redefining it.

Not the best moment of these otherwise two bright minds.
And in the most recent version, it appeared to install more of an update behind the scenes, so there was less waiting if a reboot was required. As to why it’s more visible than Apple updates, I blame the lack of good, settled power management strategies for overnight wake-from-sleep use cases that Apple can specifically include parts and driver tuning for but that Microsoft seems to have a hard time with... oh and they refused to break legacy apps by introducing new APIs that restore app state after a reboot, which Apple introduced back in 10.7 Lion if I recall correctly.
conversely, people still don’t talk about what can happen if one continues to chronically smoke modern, high thc marijuana. Cannaboid Hyperemesis Syndrome (CHS) is a very real thing, it causes incredible stomach pain (ER trip type) and constant GI issues amongst heavy smokers. Loss of appetite, daily nausea and side affects associated with an unhealthy GI are all caused by how THC mixes with other hormones in the gut. Weed has become this untouchable, solve all problems type of drug and no one wants to hear this now.
> As I've pointed out there is already a anti-China story on the frontpage. Isn't one enough?

Two different posts about unrelated subjects concerning China is one too many to you? Do you think there is a quota or something? We share and upvote things we find interesting. If there were ten posts on the front page covering ten different anti-Chinese-government subjects that would still in no way support your claim that these posts are the result of a US trade war conspiracy. It speaks more to the breadth of startling activities being performed by the Chinese government than anything else.

I also find it interesting that you call discussion of oppressive actions undertaken by the Chinese -government- to be "anti-China." A subtle but meaningful distinction. I wanted to give you the benefit of the doubt but you are making it difficult.