skysight-inc/HackerNews huggingface dataset:
I think this is a very good point, but I also think good code organization can come a long way in addressing it.

In my opinion, a good test suite should contain mostly module level test[1]. You stub out interactions with other modules (if you both read and write to another module you should use a handwritten test double rather than a mock) but leave your own module mostly unchanged. Perhaps you replace some configuration (like changing the DB driver to run against an in-memory database), perhaps you replace the entire peristence layer, but that should be about it.

The points where your module interact with other modules and external systems can be isolated to a single file or package. Sometimes this means just aliasing a function or class, sometimes it means writing a proper facade. This makes it easy to figure out what needs to change when testing.

I also don't think that this is a problem that dependency injection frameworks are helpful in addressing. Looking at constructors is not much better than reading the method implementations -- you still have to look at every file in the codebase. Manual dependency injection with handwritten or generated (ala Dagger) factories does solve the problem completely though.

[1] I think proper unit tests should be reserved for functions that are computational or algorithmic in nature and complicated calculations/algorithms are rare in the domain I'm currently working in, though this would be different in other domains. You'll also always want some real system level tests, but not too many since they're darn slow.
Part two – desperate need for software engineers
>you should also be sure that Brexiteers, the yellow vest protestors, and the Catalonian independent movement show that European government is fucked.

That's exactly what they show.

Whether these groups favored solutions to the fuck-ness are the correct solutions totally tangential to that. When people take to the streets something ain't right.
They are right; it works that way now. Maybe the "relatiation" is in anticipation of a bad review?
Meet this guy!: https://news.ycombinator.com/item?id=21411467
If you wish to "securely" wipe an encrypted drive, it's best to write over the old data a few times using randomly generated keys, tossing the keys each time you do a write over.
Linux Has a Marketing Problem
And yes, in most companies, it is
the PR department that determines
the company's political stance

Do you imagine Apple's PR department gets to decide whether Apple's iphone production buys Chinese-made components?

I can assure you, it is not within the power of the PR department to make that decision.
There's a weird fundamental flaw in social groups which is this:

1. Trusting trustworthy people increases efficiency. The less checking and verification you have to do, the less redundant work there is and the more easily things go.

2. As the number of trustworthy people in a group increases, the value of choosing to trust a random person increases. The odds get greater that they will be trustworthy, letting you reap the greater efficiency of trusting them.

3. As the number of trusting people in a group increases, the relative value of malice increases. The more likely a con artist is to be trusted, the more likely they are to be successful at their goal.

So there's this weird trust graph where as you approach 100% trustworthiness, you also approach 100% exploitability. The group gradually turns itself into a honeypot. So the stable equilibrium point is somewhere less of 100%.
Some of that money is Vision money, some of it is Softbank.
I like having my neck and ears touched. Should we ban those too?
I have kids, one that is grown and finishing college and another in high school right now. My son who is grown went towards computers early and did his high school in one of the better public school robotics programs. I underestimated his sophistication & level of knowledge in his sophomore year of HS, primarily in his ability to get around the internet controls and filters I had setup. Honestly they were not primarily there for him anyhow, more so for his younger sister, but there was one that was aimed squarely at him which was a time limiter. I forced off time for all internet/electronic activities for him because if I didn't the kid would've been a vampire in his bedroom and turned pasty, which living in a sunny sub-tropical state wouldn't work out well for him.

Nothing I had setup initially was that difficult to defeat, but I realized pretty quick I had to step up my security as he was learning quite a bit as he was going through school, more than I expected him to at least. I never told him not to try or punished him for trying, in fact my wife was upset with me for a short time because I encouraged him to try. My thought was if he was trying to best me he'd learn something, and if he got past me I'd learn something. So to me, win-win.
I am one the developers of the game. Improving the anti-cheat capabilities is certainly one of our long time goals. The game server currently lacks a complete simulation of the game, so most of the important logic is handled only in the clients.

The first big step would be isolating the simulation logic into its own library. Then both the client and server can share that library. We would be able to move some of the decisions to the server, or at the very least verify if the client's decision make sense.
Flexplot in Jamovi
A static micro blog / site generator [0]. There is a Python and a Perl version. Both generate the same site given the same input. Example site: http://plurrrr.com/

[0] https://github.com/john-bokma/tumblelog
I'm not sure that principle applies well to JavaScript. It was popular almost from the get-go, being the only language of the Web. A lot of bad practises were popular in the early days.

JavaScript has changed a lot as a language over time -- ECMAScript 2019 makes it a lot easier to write good code than the original JavaScript. It's now better understood how to write JavaScript code, and how not to.
At least with Zenimax there is no ambiguity about being evil.
Yes and no. There are many repeat actions in SC but at peak they can definitely reach that high. Microing units while simultaneously performing larger macro actions at the same time is a staple of any decent player and is really obvious at the higher levels. I personally play on an average of 100-120 APM for the game but regularly see 200+ in Platinum/Diamond.
This just seems like an advert for a mailing list and some ML platform I've never heard of, the article content doesn't offer anything new over the million other beginner sklearn tutorials out there.
I’ve had several occasions where a coworker in a meeting said words to the effect of “if someone offers us money we’re gonna take it.”

Blurting out, “so you’re a whore then” in a staff meeting? Not okay. So I just stared.

If I could stand to look at Zuck I’d be staring right now.
MacOS seems to turn on Do Not Disturb when plugged into unusual external displays or sharing my screen online, which has always been a big help.
If a group wants to write an article, they can just write an article. Newspapers increase the reach of those with money. That is exactly what they do and nothing more. Why would we want to further amplify the voice of those who have money?
I wouldn't compare Go to Rust. Their sensible usecases rarely intersect.

They are quite far apart in many spectrums.
The Global Fertility Crash
Dad shares moment his daughter hears for the first time
Not that i know if, he's u/UltraMarathonMan on reddit you could try hitting him up there
This seems to suggest that the content moderation policy is rather arbitrary, which makes sense if you recall that Facebook uses underpaid contractors in struggling countries to do a lot of this work.
I'm a long time Arq user too. I looked at Restic but was a little disappointed it didn't support compression. There is an old, still open issue with a ton of comments: https://github.com/restic/restic/issues/21
find, grep
I mostly agree with you - there is a little bit of a fine line though. I can learn from my opponents strategy playing against someone a little bit better than me. Maybe i lost because i need more or less of X? Tough to learn from when the opponent is creating the illusion of playing well, rather than playing well.
I couldn’t agree with you more. I’m currently involved in a small startup where loads of administrative, transactional data is contained and manipulated by hand in an ever-growing Excel spreadsheet.

I’m a Mac user but there’s plenty of Windows machines with Office lying around, and my first gut instinct was to start throwing something together and importing the Excel file to populate the DB, and construct ‘robust’(er) queries & scripts for interacting with and getting reports from the data.

Perfect? No way. But within a couple of days I was able to get something working more reliably and (albeit temporarily) “shored up” a major calamity waiting to happen. Am I proud of my work? Absolutely not. But it was quick, cheap, and cheerful. Eventually when urgency has lessened and there’s more budget (in terms of mind-space, time, money) we can start looking for developers that will take my kludge and make it into something more bullet-proof.

For now, the leap from Excel to Access has been a huge leap forward (the kind that the physically illiterate offhandedly describe as a “quantum loop”, not realising that quantum leaps, though discrete in nature, are tiny).
I assume the backups are incremental, so you cannot just toss old encrypted files without losing backed up files.
If Saudis can chop a journalist at their embassy just imagine what they are going to do to Son.
Garmin Announces Emergency Autoland
You can create a free account or a site on blogspot or Wordpress with significantly less friction. That is still a full-fledged website, and not an IG page or Twitter that's a walled garden serving only logged in users.

In this day and age, nobody is going to bother with writing HTML markup when they've used rich text editors to compose everything from emails to Tumblr posts.

Back in the early 2000s I used to write music reviews for a site called Epinions. They didn't have a rich text editor, so if you wanted to do bold, you needed to wrap those words in a <b></b> tag, or <i> tag for italics. It was extremely irritating to have to do that, especially if you were pasting in the content from a pre-existing Word doc that already had all the proper formatting.
I love that this game is still going on. I had a similar experience; logging onto random servers was an absolute madhouse of learning new rules on the fly.
Python programming language creator retires
I do agree to an extent, but the USA has a way more prudish stance on nudity than anywhere in most of the western world.
The 8086 introduced the abomination of segment registers.

That created many software limitations for much of the 80's.

Compilers with 64 K limits on array sizes, or code segment sizes, and similar.

By comparison the 680x0 on classic Mac was a pleasure to program. A nice large simple flat address space.
Lots of guns aren’t designed to kill people either.
One paradox of Google's era is that we needed it when the web was full of websites like this that would pick our curiosity and feel good but hard to find. That's why we all flocked to it .. it made it easy. But it shaped the system to make people please search engines now that the web is a socio-economic platform and everything is formatted and structured for ROI... making Google's original job meaningless.
I explained why I mentioned the Inquisition in https://news.ycombinator.com/item?id=21401525. "Portraying the Catalans at the right side of history" is not the reason I brought it up, nor could anyone plausibly believe that was the reason. Furthermore, I called the Catalan separatists "nationalist clowns" in https://news.ycombinator.com/item?id=21402190 and predicted that their success would bring "dark days" to Catalunya. Both of these comments were posted before yours. Your attempts at amateur psychology are laughably incompetent. I suggest you engage with the substance of what I wrote instead of seeking the flimsiest excuses for dismissing it by insulting me.

There is a thoroughly-substantiated and fairly comprehensive list of library burnings at the link in the comment above yours that you have apparently failed to read. Nearly every single one of them was committed by a government; one of the few exceptions was committed by Nazis.

The argument you are using here could as easily, and as falsely, prove that heart attacks do not kill people; it reads like a satire of illogical reasoning from anecdotes. "My heart attack didn't kill any people. There's a person right across the street from me, and while she's ugly, she's not dying of a heart attack." Still, about one out of five humans eventually die of a heart attack, and when libraries are burned, nearly always a government is the culprit.

Moreover, the entire reason we are discussing governments burning libraries is an attack by the current Spanish government on GitHub, an electronic library that is one of the greatest libraries humanity has ever created; among its endless collections of worthless trivia, it contains comprehensive repositories of mathematical, algorithmic, electronic, chemical, and physics knowledge, amounting to a substantial fraction of what humankind can be said to know.

This attack perhaps does not amount to a burning of a library, only a bookshelf within it — and a failed burning at that, since evidently the information has been preserved intact and remains available. But it takes a particularly extreme kind of arrogant foolishness to interpret that situation as demonstrating the nonexistence of the menace rather than its omnipresence.

In short, your vicious comment is simultaneously intentionally insulting, diametrically opposed to well-documented objective facts that you knew or should have known (which is to say, it is a lie), and very poorly reasoned. You should not have posted it.
You see this often when programmers comment on physics, neuroscience or even philosophy. Everything is understood in terms of computer science and the successes of the computer industry, because obviously reality is fundamentally what programmers spend most of their time on. Which is something Jaron Lanier pointed out a while back.

Of course I only mean some programmers, and I'm sure mathematicians and physicists aren't immune to the same temptation. It's natural to understand the world through the lens of what you understand best, but there are other big fields of human knowledge out there.
Yes and the bait and switch from business for flowers?

And K-means??? Why not HDBSCAN?
And Cirrus announced the same thing. This isn’t type specific but a characteristic of the new Garmin G3000.
When my fiance and I stayed at a place in Paia on Maui, the place looked immaculate from the pictures. But when we got there it was full of cockroaches. We had literally just gotten in at like 4 pm, put groceries down on the counter, and the little buggers were on them almost immediately.

We were exhausted and didn't have the energy to really do anything after our 6 hour plane flight. The hosts came in and tried to resolve things first by removing all the appliances and then by offering us a bribe. I had documented all of this on the AirBnB website via private messages, taken pictures of the cockroaches, and found a can of bug spray(the hosts knew they had an ongoing problem and still rented to us!) to spray the roaches with. They were falling out of every crevice that I sprayed in the kitchen.

We ended up spending a very restless night there, and in the morning I found a single roach in the bathroom. We were going to move out the next day, but ended up scrambling to find a hotel room in Maui that afternoon after driving the road to Hana.

When I called AirBnB to report the cockroaches the representative basically said he couldn't guarantee me any kind of refund, and moreover that I should be used to staying in "less than clean conditions" as a bachelor who has traveled for business. I was flabbergasted.

They eventually got us a refund but I have never had such a terrible customer service experience from any company, period. I will never stay in AirBnB again. Evidently they don't enforce any standards of cleanliness and they take all hosts at their words as to the fitness of the property. The CSR that initially handled my case was a huge asshole and made me feel like he didn't care about me at all. The later CSRs were better. Staying in an AirBnB was the most stressful vacation experience I have ever had and I will never trust them again.

As an aside, you should make it a point to call their support line during the hours of business in the EST or CST timezones. Their day shift CSRs actually seemed to care about the problem. But their night shift appears to be an overseas call center, and they treated me like shit.
I did a back of the paper calculation as to how much fb would earn via me as a user. I noticed a user like me spends about 15 mins a day on facebook and see around 6 sponsored posts. Internally FB ads are all CPM based, at about $4-5 per CPM, no matter the optimization advertisers choose. In a year he would have seen about 2000 impressions, and hence minimum price would be around $10 per year. (There are many users who spends a lot more time and hence the revenue multiple will be higher)

But there is more revenue than just that. FB allows advertisers to reach specific audiences, and even create lookalikes, so overall, there will be a %age of the users seeing more ads than me, potentially personalized for them, and average revenue per user would be higher.
> A democracy where all candidates are liars is no better than Russian democracy where there are no candidates

In every democracy "all candidates are liars", if you call a liar anybody whose views can be contradicted by somebody else. Most of what candidates talk about aren't scientific facts, they are opinions and projections and moral judgements. Even about scientific facts there is considerable disagreement - what was considered a healthy diet a decade ago, is seen as a nutritional disaster now, so would a candidate that advocates old diet be called a liar? What about advocating current one - would such a candidate be a liar in a couple of years? Some economists think rent control and minimal wage are a disaster, others think they are a very reasonable and beneficial measures. If a politician agrees with some of them but not others - is she a liar? There's not a lot in what politicians say that can be scientifically and robustly verified as true or false - and those things that really can are largely inconsequential - even if some politician decides to proclaim pi equals 4, it's unlikely any actual policy would be influenced by that. So it would devolve into partisan bickering and gotcha hunting. Which you can amply witness on multitude of "factchecking" sites, which devolved very quickly from objective observers into presenting opinions as facts on one side into "factchecking" internet memes and obvious marked satire on the other.
You also have to understand that small-scale models need the time dimension to be slowed down by X too in order to get the same dynamics.
Yea great point, we have to figure out what matters, meaningful change in the broader perspective!
> Most of the XAML I've seen (in non-trivial apps) has a lot of code-like constructs in it.

Those code-like constructs are UI behavior (e.g. how to transition from checked to unchecked for a checkbox). While they do take learning, they are not strictly code.

Also, Expression Blend can interact with every part of XAML in full-fidelity. Designers need not worry about the code-like parts of XAML at all.

> If you don't know what's going on under the hood

I suppose the workflow is that the design team would log a ticket for the development team, who would expose said binding and add it to the UI as a placeholder. I'm not sure exactly how this is supposed to work, but Microsoft did have a project which combined Unity and WPF to solve this exact workflow (I forget the name), and they were using it internally.

---

Personally, I can see the benefit as I do work at a product company. Developers get bugs pretty often to do with "element X is 1 pixel off," usually from the design team (one designer was known to open screenshots in paint to measure distances). If you can empower the designers to just create real UIs instead of mockups, it would get done correctly in the first place. Vue SFCs come close to achieving this, but fall short in terms of state (you still need JS to add/remove CSS classes).

Either way, it isn't fair to compare Swift UI to XAML as Swift UI doesn't seem to attempt to solve this at all (even if XAML doesn't solve it perfectly). Swift UI is closer to System.Windows.Forms.
Christian student challenged a school history lesson on Islam and lost in court
No, the entire thing is a single large molecule, despite however many kilograms it weighs.
The stupid quip about sufficiently advanced compilers has actually been true until relatively recently, and shipping shared libraries has also been a thing for a while until recently (we basically ship shared libraries as statically linked these days, aka containers)
How NSO Group helps countries hack targets
WeWork Appears to Be Investing in Esports
I am not shocked. Ate you shocked that fb profits from mayhem? No because we know the character of the founder. Airbnb also has no moral character thus it's users also know they can profit from morally corrupt practices.

Just as you said, the whole stack is corrupt. There will be more of this to come.

They profit by knowingly breaking the law. They are criminals.

It is appalling that this can happen in a country built on a system of laws.
I'm actually with you on the dynamics thing- the actual oscillations are slower and smaller, but they're cubically harder to deal with. A small oscillation in a full-scale orbital rocket can shred the skin like gossamer.

However, the issue is much worse for the general problem of rockets, as the term in the rocket equation[1] is logarithmic. The difficulty takes off so quickly that rockets go from club sport difficulty (eg copenhagen suborbitals) to national research programs when the rocket is just a few times taller. It gets said semi-regularly, but if the earth was just a little bit bigger (again- gravity rises approximately with radius^3) then we would never have visited space.

[1]: https://en.wikipedia.org/wiki/Tsiolkovsky_rocket_equation
Why?

This is an economy where content competes for clicks, not clicks competing for content. The author of that content wants me to see it, Medium doesn't want me to see it. I don't care enough to try to circumvent their arrangement.

Given the number of votes on my root comment, it seems neither do most people.
Exactly! At least with an actual customer dataset,that it implied at first that it was going to use, it would have been slightly useful.