skysight-inc/HackerNews huggingface dataset:
If I roll a die the chances are 1 in 6 yes, but every throw is another bite of the cherry. If I throw the die 10 times, the chances of one of those throws being a 6 is greater than 1 in 6. The same with this 'sorting' algorithm.

Yes you could add a random element to any sorting algorithm to make it slower. I suppose you could argue with my algorithm, the primary purpose of the random wasn't to slow the algorithm down, the algorithm would totally break!

I'm not sure it even matters though. My primary point was that a random algorithm can be worse than just a slow algorithm. With Worstsort, you can be fairly certain that the heat death of the universe will interupt you. My algorithm you don't know, it might be instant, it might never finish.

More concretely, do you want a game that runs at a steady 30fps, or a game that goes from 5fps to 30000fps, with an average of 60fps ?
Given the semantics of {}.update({}) and { * * {}, * * {}}, it is clear what is the preferred behavior, or at the very least the most commonly known one in Python.

Hence there is nothing hard or mysterious what the + operator should do. People are nit picking on this.
Well duh. We’ve been sold object oriented platforms for decades with the insistence that everything is an object, hiding its internals from the world. There was tepid support for representing plain data. At the heyday of the madness people were busy building object-over-network abominations like CORBA. Even today, the most popular enterprise platform, Java, does not support value types. In the free world, the widely used Python platform has added dataclasses only as recent as 3.7, the current version. No wonder OO style is widely overused.
Likewise. My parents raised myself and my siblings well, and somehow managed to give us all a good education and life despite both being on minimum wage.

As an adult, I'm angry at my younger self for being annoyed at the things I used to be annoyed at, now I realise I couldn't have done it any better (probably a lot worse).

Luckily, we are all doing well now, and we have a good relationship with them, and get to pay it back via buying them gadgets, sending them on holidays etc, and just being there for them.
It's different in every province. The Federal Government has a very narrow jurisdiction in Canada, and healthcare is not in it. In BC I pay for my prescriptions but it's heavily subsidized for most of them.
Yes it does matter. I have camera covers for my phone and laptop. In terms of microphones I keep the phone and laptop away from me when I have conversations about politics. Call me paranoid but we know that the potential for listening in is there and I just don't know who is recording what. Remember that only two generations ago my German jew grandparents were put in camps. I don't live in a constant state of fear or anything like that, these precautions have just become habit.
No I said that. It quite obviously meant that the actual body is more complicated then simple model you have in mind. Effectively, you are using big words to avoid dealing with real world complexity. Scientific approach is to take account of real world complexity, as many factors that influence the outcome as possible etc. Not just throw laws one vaguelly remembers from elementary school.

Lastly, either you want to play manipulative games where you twist words being said to mean what they dont, or you want to discuss actual topic.
2019 Anaconda State of Data Science Survey
Fox runs approx ~50% negative content on Trump. MSNBC run 92%+ negative [0] [1] [2]

If your view of Fox News was largely based from 2008 and The Daily Show - How could you know?

With a blanket statement like “Fox News is hate porn” you clearly aren’t seeking alternative viewpoints. This isn’t even getting into that you are lumping Fox NEWS and Fox News Channel Opinion Shows together which isn’t unfair to do so long as you do the same with CNN and MSNBC alike).

[0] https://www.investors.com/politics/editorials/media-trump-ha...

[1] https://www.npr.org/2017/10/02/555092743/study-news-coverage...

[2] https://www.chicagotribune.com/g00/news/columnists/kass/ct-t...
Right, I'm not suggesting you can't get a ticket for it (though that's never happened to me; the police always asked "is this your current address" and I'd say "nope" and give them my actual address and that'd be the end of it --- it is handy that I'm a middle-aged white dude, though). I'm just surprised by the idea you could get worse than a ticket.

I don't at all see how you could get in trouble for "refusing" to show your license. You'd just say you didn't realize you had it. (This is relevant to my interests; in Chicago, your DL is also your bond on tickets, and also, when you get a new license, you get a paper temp license day-of, good for several months, and the real license in the mail; I'm holding on to the paper temp and denying possession of the real one if I'm ever pulled over, because getting bonded DL's back is a giant pain.)

I'd be interested in knowing whether you could point me to a state that explicitly says not updating your address is a misdemeanor.
There is an active community of developers, who are keeping the Galaxy S4 alive by creating optimised versions of LineageOS. It might be easier to consult the guides and resources at XDA. If you feel it is a task you want to undertake - assuming the bootloader is not locked, decide which version you want to install based on the model you own i.e. i9505 or another variant and once you flash custom recovery (TWRP), it a fairly easy process.

You should expect to face some issues initially and will have to go through the forums/comments to trouble-shoot broken features etc., especially if you are picking the latest ROM.

https://forum.xda-developers.com/galaxy-s4
That’s interesting, my news feed these days is almost 100% free of any news.

Only really big topics make it through like the New Zealand shooting.

Have you tried curating your feed by unfollowing pages, groups, people who share things you don’t like?
Probably talking about Java’s implementation which takes a while to warm up
Every province has their own system, some provinces extort their population with all kinds of fees/deductibles and some don't depending on how shady the regional ruling regime is. This article is about Ontario's system but there's much worse, such as looking up the FVRD's policy of ordering hospital beds be turned faster by using a taxi to dump patients, sometimes in different jurisdictions https://globalnews.ca/news/5033260/chilliwack-mayor-fraser-h...
> not paying monthly fees,

It really gets my goat that some banks even charge monthly fees. Having a checking and savings account should be free. Withdrawing from and depositing to the account should be free. Writing checks and using a debit card should be free.

I am not a fan of overdraft fees, but I can see that they're at least justifiable.

Please don't patronize banks that have these fees.
> banks cannot refuse basic accounts to legal EU residents (unless they believe you're laundering money or financing terror groups).

This is little comfort if you're not a legal EU resident, or if they believe you're laundering money or financing terror groups (whether you actually are or not).

As long as there are any caveats to "cannot refuse bank accounts to all people" then switching to a cashless society would create an underclass of people who are just not allowed to have money.
The engineers concede that they can't technically explain exactly how the Atmos system works

LOL snake oil

There's a couple quotes in the article along the lines of "I barely had to use any EQ to mix the instruments" - but if the result is "headphone-compatible" with plain ol stereo headphones then Atmos is just a fancy UX on standard delay/compression/EQ.

IMO real spatial audio would require head-tracking to work the same way with headphones as with a fixed room speaker array.
The author wrote pretty much the same article in 2012 called Obamanomics https://www.nytimes.com/2012/09/30/sunday-review/obamanomics...
I'm not positive but I think one of the first examples of a game accommodating players in a more extreme sense was in Crash Bandicoot during the famous boulder chase level where Crash was running toward the screen / player. If the game detected you were having trouble clearing the stage each subsequent replay would slow the boulder down a bit. The goal was to ensure the player wouldn't rage quit thus allowing for longer play sessions.

If it's not the first it's at least one of the best early examples of this mechanic.
Clearly. A full page piece on a semantic argument. Most newspapers don't waste our time like that. There's nothing of value in that article.
Can't agree with his suggestion on long functions and comments.
My workplace has lots of parties counting on the "process" being in place.
> My new iPhone XR needs to be charged only once or twice per week.

It's not the only phone that does that and it's not a new feature. Even with older phones, you can simply get a battery case.

> with an excellent user interface

The user interface is terrible and all the core features are extremely limited with no extensibility whatsoever. Just about every other desktop OS has a better user interface.

> Apple makes money off me because I buy their products. I am myself not the product, their hardware is.

Actually, their iProducts are not even yours after you buy them. If you want to build an app for your own device you have to give Apple $100 every year just to be able to install it. So that puts them into a malignant category of their own.

> The iPad is truly a revolutionary best in class device...

...but only if you think iOS is any good or you don't value your own freedom.
Dude that article is funny as hell. "John is a native of St. Louis. He attended St. Louis Priory High School. For college, he attended Brown University, an Ivy League School and one of the top colleges in the country. He then attended Washington University Law School, where he graduated in the top of his class."
- "Buddy, anybody you have to tell that Brown is an IVY LEAGUE school and one of the “top colleges in the country” … is a person that does not care."
If you're not an EU resident, it's your own responsibility to have some valid means of payment from your home country. Which could also be cash you exchanged for the local currency, though if cash is all you have, some countries could prove difficult. Or you could find a local bank that will give you an account - they may of course do so even when not legally required.

But to take an extreme case, there's nothing preventing you from getting yourself into trouble due to a lack of valid payment methods. For example, Americans have visa-free access to the EU, so nobody will check their finances, and an American could theoretically land somewhere in the EU without a payment card and only carrying US dollars, which aren't legal tender.
Where does Domain Driven Design fall? DDD typically has service class that operates on multiple business objects in a pipe-line like fashion. Being business programming, there is always side-effects but usually handle via repository or db manager classes. I.e. no active record.
You are right, but that metric is even more meaningless.

Fox New Headline ”Immigration crisis confirmed as 70,000 illegals pass into USA in Feburary - CBP”

Guess what? People on the left and right both ‘ANGRY’ that for different reasons.
> Lightweight electric transport (ebikes, scooters, golf carts? etc.)

These already exist. But compared to an electric car they're less safe, slower, less comfortable, have less cargo capacity, etc. Their primary advantage is being less expensive. The reason they aren't already used more is some combination of not being able to meet the relevant safety standards and their cost advantage not overcoming their numerous disadvantages.

There is a reason hospital emergency rooms call motorcycles donor cycles. The fatality rate for that kind of transport is astoundingly high.
Sounds like normal usage to my British ears. ‘Too poor to go out this weekend’ for example.

Poor means you don’t have enough money. Too poor to do something means not enough money to do that thing.

Too poor to buy a super-yacht sounds normal usage to me even.
Brian's video is one of the most influential bits of wisdom I've received in my career. Up until this video I did not have a language for explaining the problems I ran into trying to build OO systems. It also helped me understand why writing procedural-functional code felt so natural and easy.

I was a die hard OO/UML guy. I even contributed to various open source software projects for a model-driven-architecture framework, a UML editor, and integrations with Rational Rose. I was an evangelist for good OO practices, SOLID, etc... As a development coach I was quite fervent.

Looking back on that I feel like a fool. When I read the code refactoring examples from Uncle Bob and others I see all the problems Brian talks about in his video (and more). OO was a nice idea but we got the granularity and implementation wrong.
It's also common on the West coast, at least in California and Oregon.
Top Stock Brokers
There are a limited (and contested) number of non-boring jobs. Eventually someone has to take out the garbage and clean the toilets.
I defined crapware as something which dilutes the space of good libraries, offers nothing new and pretends to solve non-existing problems. I made my case.
> Mathematics uses infix notation literally everywhere.

Mathematics uses prefix, infix, suffix, circumfix, and some more complex notations; basically any pattern any computer language uses probably is inspired from math even if math doesn't use the notation for the same operation or operator symbol.
Not in Utica, it's an Albany expression.
They probably didn't pay her very much.
The Internet is incredibly vast. The idea that these sites comprise the Internet is exactly the sentiment Stallman is intending to combat.
Then why not return the money or burn it in public protest?

If I would feel like him I would not want that money...I would want to put some weight behind my critism...
I definitely think it's an NYC thing too, the COL is pretty crazy here. Rent/Metro definitely cuts into my discretionary spending. All of my friends are in the same boat, we're just all young 20 somethings who are all cash poor paying student loans.
He specifically says inheritance and polymorphism are irrelevant in the video. His problem is with poor encapsulation which is not specific to OOP.
I don't think I'd be where I am today if I lived how Stallman lived. He is once again technically correct but I also think he has immense privilege others do not have.

It's almost like he can't change his principles either, because at this point his livelihood depends on it.
Which I never understood. USA provides free healthcare for people who are poor because they don't work and healthcare for people who are retired and don't work.

But the USA does not provide healthcare for people who work and keep machine turning.

Hmm... I wonder if it's a political lobbying by healthcare industry to get more money for people who wouldn't provide it on their own by extracting it from the tax payers who do work and can (barely) afford insurance, etc.
It is believable. But that doesn't mean they shouldn't be reamed like crazy for it, including fines. There's a difference between "this was an act of god accident" and "we created the environment where this accident was allowed to happen".

Let me throw this at you. They shipped hardware with an incomplete spec sheet. Probably by accident. What's the probability that they ship software with incorrect behavior? Like, say, the software on the device? Software which could engage the microphone and send it to a remote server? At their scale, this is possible to mess up, with all of the abstraction layers and number of customers they're dealing with.

Google is the most careless company to ever reach the level of success that they have, possibly tied with Facebook. They need to be slapped, HARD, by some government, or else we'll never see the true institutional change necessary for a company of their power.
"Who are you users?" would be the first question to ask. That would help on determining what questions to ask next. For example with most SaaS products, Ford's quote "If I had asked people what they wanted, they would have said faster horses" is very applicable, meaning people often a limited by their knowledge and personal experience and can't see solutions beyond those, so if you ask them what they want you won't hear what would make a good product. In other industries it can be pretty straightforward, if you are old enough you would remember questionnaires your parents used to fill in for exchange of free products (I think it was P&G) answering all sort of questions about what products they use in their daily life from soap to dishwashing liquid, what would they want improved, what's their favourite smell and whatever you can think of (that then went to phone and I imagine now online).

So my advice would be, ask who is your user first. Then pick the next question.
Thank you, I missed it
In your vending machine example, it is a transaction, not a tax, as you implied and I agree. However Apple taking cut of app's revenue is awfully a lot like corporate tax.
Seven Commandments for Event-Driven Architectures
You are referring to having children, which is only one example of having family.
That’s because true reflections are a feature of ray tracing, which other technologies cannot achieve.

It’s quite impressive for me to have a real time Ray tracer in my browser.
In 1997, Nasa's Pathfinder Unknowingly Landed Near Shores of Ancient Martian Sea
But would they revoke the degree years later too?
> World of Warcraft, Final Fantasy XI, Final Fantasy XIV, and EVE Online all still successfully use the subscription model (with varying levels of free trials).

The most recently released game in that list is Final Fantasy XIV, which was released in 2010, almost a decade ago, and the rest are about a decade older than that. A _lot_ more MMOs since then have tried the subscription model and failed. It may have worked in a few rare cases in the past, and some of those might still live on today through sheer inertia, but I think it's reasonable to claim that subscription is generally no longer considered a viable model for new MMOs.

I'm not saying some publishers won't find ways to extract more money from players by adding freemium features on top of subscription games if they could. Of course some would, greed knows no bounds. But I am saying that they can't afford to charge a subscription fee to begin with, if they want their game to become successful in today's climate, even if they intend to use that as their only source of funding, forgoing freemium features entirely.

> I don't find it difficult to fault exploitative behavior just because it's profitable.

I think I made it pretty clear I find those practices despicable too. But if your only option is the freemium model, you don't really have much of a choice but to discriminate based on who's willing to pay and how much. That's literally the only way the model can work, by definition.
That’s semantically not an “add”, it’s a “merge” or “update”
In theory this sounds great but in reality every major application, game, operating system and even website is written in an OOP style. Why is that? People should first answer that question.

Yeah, real existing software has flaws like every other thing in reality but at least it exists unlike a significant piece of fp style software. I like fp and I think it has a lot to teach but I think it's a bit presumptuous to advocate against a major paradigm that has actually proven itself with one that has failed to do so for decades.

And if OOP is so horrible why do so many people write OOP style PHP and javascript where they really don't have to?

Personally, I don't think OOP is bad per se, I just think the type systems of the main OOP languages are too limited and inflexible. Even so, you can accomplish amazing stuff in them. Just look at the Spring Framework and what it helps you do with so little code.
hey nice!!! I really appreciate that info. Definitely a game changer then. I know a guy who was going to checks cashed, every week, paying those fees, cash under the mattress etc etc etc. If only he know Bluebird was around the corner! He eventually got approved at Ally
The image aesthetic is emulating the appearance of a dot-matrix printer. It's just a low-tech motif to go with the publication.
Climate Change Champions
> unless they believe you're laundering money or financing terror groups

Do they have to prove this, or is their belief enough? And are we okay with the punishment for money laundering being death by starvation and homelessness?
Is this an actual phrase? "It’s impossible to underestimate the impact of the 45"

Seems like it means impossible to overestimate, easy to underestimate, or just impossible to estimate.
I've been using BPMN to unpick what businesses are doing and document it. It's been great to check assumptions like "We need software to do X in this way" -- which on inspection doesn't match with what needs to be done, but what has been done.

I've done the diagrams using the free Camunda Modeler [1], and they have an online version [2].

1. https://camunda.com/download/modeler/

2. https://bpmn.io/
if done improperly one ends up having to maintain backward compatibility in the parent object not just on the actual interface but also in the internal state. basically makes it too easy to violate incapsulation

one needs not to avoid it completely but need to be aware of the pitfalls
The explosion of variety has actually pushed the other way. It was expensive, but MVS shops could push out highly available apps with a consistent UI very quickly.

It seems we've really only made progress on unit cost and ubiquity.

I think this is roughly why cloud is popular. It's not cheap, but if you're using their standard pieces (RDS, lambda, ECS, ELB, CloudWatch etc), you're working in a defined box with fewer choices.
> I am sure v2 will be much better

FYI, Tesla doesn't really do "versions" like v2. They're always trying to improve "sw/hw issues, trim quality, gaps etc" over time. So those issues will get better over time without ever announcing a "v2".

And yes, I'm sure the first Model Ys will also have issues that should improve over time.
It is perfectly sensible, easier even, to apply DDD concepts to small functional services. Define a bounded context and aggregates. Under the hood (inside the context) there are a number of strategies for handling side effects, data structures, and state transitions.

I'm finding DDD + functional languages + serverless architectures work quite well together, so far.
I’m open minded to what you are saying - but if you don’t think there are “sides” or at least someone has a strong interest in promoting that idea - it may because you are too firmly planted in one side yourself.

I agree with GP, as someone with no clear cut political ideology, it’s obvious that wedge issues are formed and selected to fit divisions.

See no further than almost every establishment Democrat having talked about border security for years, even building a wall in comments, now voting against anything border related because “their side” has adopted that Trump wants border security so they must be fully against it. [0]

[0] https://www.youtube.com/watch?v=gISMNv3qm8M&app=desktop (just picked a “Democrat for Wall” result, my personal opinions on that completely aside. You could pick any wedge issue and find a more reasonable time for it)
Ublock Origin with all lists enabled deals with almost any ads (excluding some crazy js, Umatrix and Violentmonkey injections are more suitable for such stuff)
Vakil seems very fond of that quote, the full title of his notes is "The Rising Sea - Foundations of Algebraic Geometry"!
Some students pay to have papers written for them, and others have access to test banks. It's probably not parents paying off university staff at that point though.