skysight-inc/HackerNews huggingface dataset:
Why are there still those who think any advocate of OOP is an advocate of "OOP or Nothing! All things are Objects! All things are an instantiation of a class! All things must derive from a root class! etc."?

OOP is a tool. And generally a useful one. Every new programming paradigm at its inception was going to Save The World and make programming A Better Place. Turns out, every one if these paradigms is a tool with uses at various times.

So OOP might only be useful in a limited number of cases. I find it comfortable for categorizing functions: "Here's all the stuff you can do with a String" or "All windows behave like this..." And if your language is dynamic enough, you can add functionality to all Strings, not just your String subclass.

I don't typically find OOP useful for processing many records of data. Perhaps I might compose an object from a record of data so that a user might edit their profile in a GUI, but batch processing doesn't usually lend itself to OOP. But that's my experience and opinion; I bet someone has a good use case for using OOP while dealing with copious amounts of data.

Back to the topic at hand: Was OOP a failure? No more than lathes are failures. Not every handyman needs a lathe; not every programmer needs OOP. But when you do need it, it's a useful tool.
The tittle should be:

"How can I become a master procrastinator"

OR

"Websites that can steal all my free time"
Thing to understand is, if you tell someone you are a sociopath they dissociate with you more or less immediately.

I know this because it happened about two weeks ago. I was with a group of friends and we were discussing things and I brought the topic up to see what their response was. It was generally met with "no way you aren't," "only serial killers are like that" etc... but in the end the whole thing just became morose. I heard later that the other couples had gone to breakfast the next morning without me, and that the bulk of the conversation was about how everyone really got freaked out about it and didn't really know how to deal with me now.

When I talked with my wife about it a long time ago she basically said "Well, I had my suspicions but now that I know it's real I can't ignore it." It basically made her question every interaction we had. She said it turned into living with some kind of robot, where she didn't know what was real and what wasn't.

It taints literally everything once people know about it. So it's not in my long term interest to be open about that fact.
>"I hadn’t optimized for memory use in the first place."

It is git, it is made to grow and get into billions of string comparisons. Anyways...

C/c++ would have probably been a better language for his problem.

Simply prealocate as much as needed as a working buffer and eliminate the need to profile libc and patch your interpreter altogether.
At least writers of documentation for graphics drivers.
> distributed and diverse pools of public domain content

Like what Keybase is doing?
> I'm not sure what the actual answer is

I wouldn't say this is the actual answer, but it would go some way if browsers supported nicer default styling.

Businesses are always going to want their sites to look conspicuously "designed", because it signals to the user that it's a successful business that can afford to piss away money. But for the rest of us it would be nice if you could publish an unstyled website that looked a bit prettier / more modern than current unstyled HTML. Maybe with a modified doctype or meta tag or something to say "it's OK to render this with nice styling".
I wonder how they came up with that number. If it's via genetic testing on current humans, they wouldn't be able to tell whether it was actually just 40, or whether there might have been some other human populations at the time, that just didn't happen to leave any descendants. (But only died out much later.)
I hope this is a case of forgetting the Oxford comma.
Almost 50% of US citizens don't have enough money on the bank to replace a broken 400$ item.

How many would out of desperation i.e. healthcare costs for relatives sell an organ?

1: https://www.theatlantic.com/magazine/archive/2016/05/my-secr...
Hōshi: short film on the 1300y-old Hotel run by same family for 46 generations
Embrace PSR, option, pipe, phar
Does anyone else see as problem that web browsers are getting so feature-rich? That means that if anyone wants to write a new web browser he won't be able to.

Those who control the web browsers control the Internet. And web browsers have gotten so huge and hyper-complex that only wealthy corporations can afford to enter the market as new players.
What about matrix.org?
I get the sentiment but a lot of people do get life insurance through work.
It's called technical 'progress' - as technology progresses, you need bigger and more specialised teams of technicians. It reaches a point where huge entities like governments and corporates are the only groups with enough resources to compete.

It happens everywhere... a constant drive to improve by building on top of layers and layers of abstraction - to the point where even the experts give up and view it as, well, magic.
His points aren't OO. He claims overengineering. That can happen in any setting.
Any chance his sex drive is genetic? We might end up with islands filled with horny tortoises.
they are very similar. i would say js is easier for beginners.
Ask HN: Have you read any good “Cli-Fi” (climate fiction) books?
I'm looking for climate science fiction books -- especially ones that combine realistic hard science/technology with a dystopian, climate-changed future.

My goal is to emotionally convince myself of the need to act urgently on climate change. I am only intellectually committed.

I would love your recommendations!
Me neither. But that didn't stop them from fighting the previous conflict, in mostly identical countries.
You've got it wrong. He's not nearly as bad as some of the Apple commentators out there. He is consistent with his praise as well as his complaints. He close enough to the employees to add an accurate insight, but detached enough to maintain an in-bias view.

There isn't another Apple reviewer I trust more than Gruber.

Also the guy created Markdown. Show some respect. http://daringfireball.net
Cinnamon has similar "drag to edge" tiling as Windows, and you can also configure keyboard shortcuts for it - I have win+arrow keys configured to move windows to the edges/corners.
YOGA CHallENGE
>Defenders of dictatorships and monarchies, from Jeremy Corbyn (who had kind words for Castro)

What gives you the impression that Corbyn is against democracy? In fact, he participates in the 'democratic' system of his own party and of the UK. I personally refuse to participate at all in the bourgeois democracy, but that doesn't mean I'm against democracy as a principle.
Exactly. "Everything is an object" was an extremism (today's extremism is the crusade against 'mutable state'), but otherwise OoO has been useful. For example it has seen great success in GUIs.
Given the broad use of OpenSSH in business, it is shocking how little money OpenBSD gets.
I'm honestly not sure, and I'm not sure if it's even advantageous to "fix." It's like flying a rocket, dangerous and could blow up at any time but might just get you to the moon.

I do know that it seems like there is an impending "break" coming where it all falls apart, but I'm not really sure what that looks like practically.

I think I've learned the right emotional responses to situations and people, but the way people describe emotion to me is something I don't think I'll ever be able to learn.
Show HN: Favorites – a new tab page with your favorite bookmarks
You can disobey as long as you fit the narrative. This is an issue far beyond MIT even countries
I'd second this, reading books on raising children I found made me feel a bit of a failure until I got over the fact every child is different. In our case the particular thing that really got to me was that I was all ready for baby led weaning, with our son eating proper food as he felt, but he was completely uninterested in food. Years later we've finally got to the bottom of it and found he has food allergies which put him off trying new foods because so many gave him horrible stomach pain.

Having now accepted that I also accept that I'm not in fact a failure of a parent if all he wants to eat today is chicken nuggets and chips, and that we're making progress in helping him to try new things.

Don't subject yourself to ridiculous expectations, learn the basics, and then take solace that at least for the first few months if everyone is fed, clean, and clothed then you're winning.
One person's prison is another person's comfortable home. Many people do not perceive iOS as a prison, and would take issue with your choice of words to describe it as such. If you feel that it is, then of course there are alternatives available. You just also know what you're giving up and the risks you're taking.

(and, of course, Android is not so nice either without the magic non-Free bits from Google...)
Singapore works fairly well. They have an interesting system; but it's not strictly single-payer.
Was the word 'was' intended to suggest that OO has died off in some way?

Last I checked, nearly everyone is doing OOP.
I think you folks are actually no anomaly but the norm. Most people just don't act on it. The article even mentioned that most people's circadian rhythm is longer than 24 hours and that we force ourselves into a 24 hour rhythm. I think it's quite obvious. It's pretty easy to go to bed later and it's pretty easy to sleep too long for most people I know. (maybe it's just more noticeable though because people aren't late to work because they woke up too early or late too early because they need to sleep super early). I also find traveling west almost pleasant because you just have to stay up longer and wake up unusually early which is very interesting when traveling, especially to Asia. Traveling ready is a total nightmare without medication. You have to go to sleep before tired and wake up before you've sleep enough or you sleep through the whole morning.
Really? Not being able to edge-swipe to go back was one of my frustrations the last time I used Chrome (I think) on Android.

Taking up permanent space for a button that is not relevant in every app/situation seems like the worse design choice here, and a half-hearted one especially after you've made the decision to eliminate buttons in favor of touchscreens.
SAP in Germany was getting union representation just when I was doing an internship there about 10 year ago. The move wasn't popular with employees.
I had seen it before but didn't realize it included a WP theme builder. Thanks for the heads up!
How I wish someone would discover an actual Templar Cave!
You can have free without ads if the consumers shoulder the distrubtion themselves. Decentralized p2p content distribution is the key. The more people consume want it the more will contribute resources.
Ask HN: Former developers, what do you do now?
I view OO as analogous to the earliest control structures added to programming languages. We all remember "GOTO considered harmful", including generations of programmers who weren't alive when the letter was written, and may not have read it. Around that time, language designers realized that GOTOs were used to implement the same patterns over and over: Conditional execution, looping of various kinds. And we ended up with if statements, while loops, for loops, and so on.

Similarly, unfettered access to state was seen to be problematic. If you are implementing a skiplist, you don't want users of the list to be manipulating the links directly. You want to expose only the operations, and have the state accessible only to the implementation. That's encapsulation and modularization. And then inheritance provides a way to modify modularization slightly.

OO is really just a few ideas about organizing code and data, and you are free to use them or not, just as you are still free to use gotos. The hype got out of hand. I think OO madness was the first vastly overhyped software trend. Things got bad with all the Janitor ISA Employee examples got trotted out to explain OO to managers, and then some people believed OO was claiming to excuse programmers from actually developing efficient code. Anyone using, say, Java to build a complex software system realizes that OO is used to model internal things that never get anywhere near a customer-facing API.

There were zealots, there were AbstractFactoryFactoryAdapterFactory nuts, and the backlash against them is totally justified. But the core ideas of OO are just obviously good ones, and usable in non-OO languages too.
> The actor model is asynchronous by definition

For sure the independent execution of the actors internal logic is a fundamental property of an actor system. However I think communication APIs between actors don't have to be asynchronous by definition: In Akka they are, because blocking threads woul kill the performance. In Erlang synchronous communication between actors works fine. The C# Orleans framework also favors "synchronous" communication - yes, actor communication returns Task<T> results which can be awaited, so it's async unter the hood - but I consider that an implementation detail). Pony in contrast leans to purely async APIs. There's no way to actively wait for a response from another actor. The advantage is that deadlocks are not possible at all, whereas with synchronous actor communication you can deadlock when 2 actors are waiting upon each other. The drawback are callbacks and the need to model everything as a state machine.
Gopher (protocol)
Flaws in MAC address randomization implemented by vendors allow mobile tracking
SMART AUDIO OUT Now  See Below
I wish I could buy a house just to live in. A rental property would be a dream. However, buying a house still requires an initial investment and good credit, which is tough to get when you make $10/hr. Then you have to be able to afford maintenance, disaster insurance, and an emergency fund if something happens to your job. You've got to get a house in an area with enough housing demand that you can rent it out, which is getting harder due to the fact that most new jobs are only being created in a handful of cities like SF, Houston, and NYC. This creates a lot of demand in those areas, which makes buying a house there out of reach for most normal people. And even if you manage to get a good house in a moderately okay area, the value of a house depreciates on a long enough timeframe. All this means that real estate investment is only truly available to those with preexisting capital.
Interestingly enough, it's both.

With Psychopathy someone is born without the capacity for empathy with no environmental trigger necessary to "activate" psychopathy.

With Sociopathy it's generally that childhood trauma "triggers" the lack of empathy.

In both cases, the manifestations of the disorders (manipulation, ego-centrism, grandeur, deceit) are there to cope with the lack of empathy and connection with other people.
Dollar cost averaging doesn't really work. (There were a few studies about this. It's relatively easy to backtest these strategies with historical market prices.) Ie splitting up a lump sum buy into multiple buys.

(But buying shares as your money trickles in eg from wages instead of waiting can be a good idea, if the transactions costs are low enough.)
Thank you ! Interesting read. Although I was more interested about full time jobs, not consulting. But I guess nobody is really thinking about it, since probably not many doctors are trying to get hired in tech companies...
It seems like many people implicit assume that a union must involve a list a of traditional practices.

It's not an assumption that it must, it's a recognition that very likely, it will. Organizations aren't created in a vacuum, they require bringing in others, and if you're starting an union, you'll attract people who are already predisposed to all the ideas of what makes up a union, and you'll attract offers of help from existing unions, which will try to co-opt you. And there's no valid reason to believe that you'll be able to control that process. Finally, once that it created, it's not just a matter of distancing yourself; once a union grows, it affects every worker, even non-unionized - in some cases, even banning them outright from working.

So it's not surprising that workers which still have it pretty good aren't interest in opening that can of worms, and you must have a better reason to convince them why it won't be one.
https://mysteriouscode.io/blog/ - for stuff around AWS but also FreeBSD and general IT security.
drag to corners to get a quarter screen window, drag to sides to get half screen

Incidentally, that behaviour was one of the first things I had to figure out how to turn off in Windows, because I just wanted to move the window there; I did NOT want to resize it. I found it quite annoying.
The spread of misinformation is better countered by educating people about the potential and existence of misinformation, rather than policing the web.

Just like children learning and growing wiser about everyday social deception etc., as opposed to policing everything people do and say offline.
I thought about mentioning government bonds or term deposits, but I wanted to keep the post simple. My point is that the stock market isn't always the answer.

I don't know what interest rates on savings accounts look like in the US, but in the UK they're competitive with government bonds. Banks often use them as a loss-leader to sell more profitable products like credit cards and mortgages.

I'm curious to know what offers a better yield than a savings account with less risk than a stock or a bond. Even the US two year note has a negative real yield right now, so it's hard to see how to get an above-inflation return without taking significant risk. The five-year inflation-linked bond has a negligible yield, and means locking away your cash for a significant time [1].

[1] https://www.treasury.gov/resource-center/data-chart-center/i...
>Does anyone else see as problem that web browsers are getting so feature-rich?

No. It would be a shame if software were forced to be only ever be simple enough for a single programmer to trivially reproduce. We would never have gotten past the terminal in that case.

> That means that if anyone wants to write a new web browser he won't be able to

Anyone can, they just need a lot of domain knowledge and time. They can also fork and edit existing open source browsers, or develop browsers which aren't quite so feature rich. But the complexity of the modern web is the result of generations of iteration on previous work, and of giving people a platform to express themselves in the way they want.

Most people want the feature-rich modern web, and that's impossible without browsers complex enough to deliver it.
As somebody who works on many different OOP-projects, could somebody tell me how I should structure my software if not using OOP?
Even the FP languages that managed industry adoption, support some form of OOP.
Stop spending engineering effort solving problems you don’t have
The path to get here has been rocky, to put it mildly. The dividends of long-term relationships, especially marriage, are like compound interest. At first, sometimes it hardly seems worth it. Decades later, it's amazing how much little things done years earlier pay back to the enterprise.
I concur. If the memory allocator causes problems and you use a language with managed memory/a garbage collector, you're doing something wrong.
High ratio of salary to mundane work - either the work is interesting, or salary is large enough to compensate.
Inspire Planner gives away $45,000 in licenses
Inspire Planner is a Salesforce-native project management app and currently they are running a promo where they give away $45,000 in licenses to the new users (1,000 licenses, each new user can get up to 3 months free on top of their 30-day free trial). You can sign up for their promo at http://inspireplanner.com/

Inspire Planner is truly one of the best PM tools available for Salesforce. It's a Salesforce-native app, which among other features allows sharing projects with external contacts, supports multiple predecessors, syncs with native Salesforce tasks and all of these features come available in a familiar Drag and Drog interface. Definitely worth a try!
> The bad information all across the web is gimmicky and flashy click bait is everywhere.

That's the price you pay for a web that isn't controlled entirely by governments or the media. The alternative is some service like Facebook determining what the truth is on your behalf, and you becoming nothing more than a pig feeding at their trough.

People cite disinformation, bad information and "fake news" as evidence that the web is broken, but it's not. That's evidence the web is working as intended - the problem is with the humanity it's reflecting.
Alas, the superannuation is mostly restricted to fairly expensive options, ie high fees. That's because providers have to clear some regulatory hurdles keeping competition down. You can't just tell the government "Yeah, I'm using vanguard index funds for my mandatory 9.5%."

At the moment, Host Plus might be the best option (read 'cheapest option') for Australians. Not sure if that's still the case.
That's pretty much the same thing because it means that that population was cut off our current gene pool so they have no effect on our survival or possible extinction.
Can you give two or three practical real-world examples of where this line of thinking gives you some insight?

For example you use the U.S. and, sure, it can be useful to think of every country that isn't the U.S. So if someone says "C++" it can be useful to think of every computer language that isn't C++.

But the rest of your "-verses" didn't give me any reason to think of them in the future.

Can you give a few more real-world examples and the insight you gained? Why is this useful?
How+to+improve+LinkedIn+profile
Objects are useful. But shouldn't define an entire application unless it's useful to do it that way. In an enormous number of cases it's a better idea to use something else.

So, yes. OOP, being that absolutely everything needs to be an object is absurd and failed. But the people who take it the other direction and say nothing should be an object are just writing even more complicated, more difficult to reason code.

Use tools as tools and drop the ideologies, for a happier and brighter world.
222-60

Well, at least the majority of people bringing laws to this country are sane.

It would be interesting to see how it plays out in USA were bribing (lobby money) is legal. Insurance groups have the money to throw at this. It seems they want it really bad lately.
You seem to be implying that is a bad thing.

What is wrong with that? Allowing them to donate organs gives them more choices. Who owns a person's body?

And donating the organ helps people who needs organs. The person who donates and the person who receives do this voluntarily if they feel they benefit.

I think it's deplorable that people are dying from lack of organ donations while there are people with healthy organs who are poor. Legalizing organ donation would help both groups.

See https://blog.jaibot.com/the-copenhagen-interpretation-of-eth... .
Excellent company solving important issues for the entire military and veteran community with security and verification. Highly recommend
Feedly is still klunky, but the best I've found.
Exactly my approach. I only enable it for work (sometimes I actually need to do webdev) and web sites that I really need to use, like travel agencies.
>He goes on to try and prove that there cannot be two identical things in the universe, which I guess he must have done before anyone knew about fundamental particles.

Well, that's still right, whether there are same-ish fundamental particles or not.

Just a pair of particles being the same in all their aspects doesn't make them identical. For example they don't occupy the same place in space.
Chrome can do the opposite, white list per-domain.