skysight-inc/HackerNews huggingface dataset:
Yes, RuboCop would be awful if you're only running it as part of the CI build.

I've been using RuboCop very heavily for the last few years. I've found it very useful as a solo developer, but it also makes it much easier to work with other developers since we never have to waste time talking about style issues.

Here's all the ways I've integrated RuboCop and made it an amazing experience:

I use VS Code with the ruby-rubocop extension, and I've enabled the "Format On Save" option. (This uses Prettier for most other file formats.) This would be unbearably slow with vanilla RuboCop, but I get a huge speed boost with rubocop-daemon. (Especially with the bash wrapper script that I wrote [2].) So now every time I save a Ruby file, the file is auto-formatted instantly to correct any warnings. In case it can't automatically fix a warning, I'll still the warning right in my editor, so I can immediately fix it before moving on.

The second step is a git hook script in `.git/hooks/commit-msg`. I set this up to run RuboCop for Ruby, plus prettier and eslint for JavaScript. If RuboCop fails with a warning, the script retries with `rubocop -A` to automatically correct any errors. Then I run `git diff` to make sure everything looks good before committing the changes.

The final step is to run `rubocop` as part of my CI build, to make sure I didn't miss any warnings (or for any developers who haven't set this up on their machines.) This almost always passes, because the previous two steps usually catch everything first.

I disagree with a lot of the default cops, so I just disable lots of them. But I'm pretty happy with my current setup and RuboCop configuration.

I totally agree that linters would be awful when you have a very slow feedback loop, and you have to wait anywhere from 10 - 60 minutes before you get a notification for a failed build. But they can be really pleasant experience when the feedback loops are under 100ms and most of the warnings are automatically fixed for you. I now lean on it really heavily, and I've even started to take some shortcuts and save keystrokes, because I know how the auto-formatter will tidy up the code.

[1] https://github.com/fohte/rubocop-daemon

[2] https://github.com/fohte/rubocop-daemon#more-speed
> ask for reverse DNS of that IP to still get a good idea of what you are doing

these days, this will be mostly some *.amazonws.com domain.
Edit: I need to emphasise that the ads were occasional, and probably YouTube will be more agressive this time. I've also realised that many of you are using some sort of ad-blocker, so you might not felt the changes when it was (silently) rolled out years ago, but this is from my experience using YouTube on devices which I cannot install an ad-blocker (like in some instructional videos for certain robots which some companies decided to use YouTube for). I have put this edit on top because it seems that some HN commenters do not read beyond a few sentence.

Original text: I'm sorry if I seem dismissive, but isn't this the status quo already (like years ago)? I don't necessarily endorse it, but from what I've read on the article and the announcement it seems that it has rewritten the terms to clarify that YouTube/Google can monetise videos outside of YPP programme (and some other changes that are not in scope of the argument), so is this just net zero?

(Also: if a YPP creator has decided to not monetize a video, the video gets less ads which its proceeds goes directly to Google. This has been the status quo at least 2016(?)ish so this might be just to clarify that this indeed happens.)
This almost touches the field of A-Life, rather than neural methods for 3D geometry. There's OpenAI's humanoid walker, that taught itself bi-pedal motion. But as far as I know there is no MeshNet or ShaderNet, analogous to Imagenet. The research data sets like ShapeNet consist of CAD models for object detection and scene understanding.

Chimera Painter demo itself is unbelievably fun. When AI Dungeon and GPT-3 launched the observation was made that we are all "prompt engineers" now. It's the quality of the input that differentiates final results ;)
Refactoring a Loop That Was Trying Too Hard
Not exactly spent, but I gave up $40k/year in salary to go work at a company that I respect, with people that I respect, with a lot of nice benefits and proper work/life balance. I’m much happier with my career now.
One issue. Overhead.

Explained in their own words from [0]:

> I can't tell you how cool that is; there is so much emulation going on under the covers. Imagine - a 32-bit Windows Intel binary, running in a 32-to-64 bridge in Wine / CrossOver on top of macOS, on an ARM CPU that is emulating x86 - and it works! This is just so cool.

And...

> Now it isn't perfect; Team Fortress 2 showed some lag. I think we've got some work to do on that front.

[0] https://www.codeweavers.com/blog/jwhite/2020/11/18/okay-im-o...
Pedantic nitpick on floats: floats are exact. The issues with them are:

- they are binary rather than decimal, so rounding behavior doesn’t match what humans expect

- some floating point operations have rounding/error accumulation

You can multiply and divide a float by 2 all day long and every result will be exact, with no error accumulation. However, adding floats together is a different story :-)

That said, decimal types are still much preferable for anything that needs to be “exact” for human usage. It’s very easy to make a mistake with floats, even if they could support your use case.
Makes me wonder if he's considered putting anything in the code to prevent it... Perhaps someone should test a few racist phrases with wireshark on?
I'd love to drop Python and go all in with a true array language (i.e. not Matlab), but you only really have 4 options:

Dyalog APL, J, Kdb+, Shakti.

All of those are closed source and expensive (Dyalog is fairly affordable, but still a paid product) with the exception of J. J is a cool language, but isn't quite my cup of tea.

So if one of the new projects ever picked up steam and got a decent sized community with hooks into all the same numeric libraries as Numpy, and some decent charting libraries...then we would have something nice.
> Beware of value attribution and hindsight bias.

It's not. It's a general observation that holds true in many place, certainly Europe (and thus the West in general) and, say, China. The amount of meat eaten was constrained by the value of animals and most people simply could not afford to eat more meat than they did.

Likewise for cars. It seems to be an ideological take to claim that people do not prefer comfort and ease of transport...
> Right, and I don't see the HTML and the CSS as separate concerns when the HTML describes a GUI, not a document.

You know that you can create themes in GTK (a Desktop GUI) using CSS nowadays, right? Whether a document or a GUI, behavior (how it works) and presentation (how it looks) are still separate concerns.

> (Multiple styles)'s not a thing I've ever needed to worry about.

Yeah, others have though - both as consumers and as integrators. If you are okay with the idea of re-inventing wheels every time you want to have a different color, plenty of people are not.

> I'm not afraid of touching the HTML

It's not a matter of being afraid to touch HTML. It's a matter of not being able to! Whether in terms of ability (some marketing person that is putting together a wordpress or Shopify store and can only go with different artifacts provided to them) or from the nature of the source code (e.g, imagine you want to make a RSS/Atom feed reader, embed a Tweet on your site with a custom styling or use an OSM tile editor), if you are not able to touch the code but you can select different styles, then it is fundamental that the data is separated from the style definition.

You might not think that this is important for you to do your job, but I think that is extremely short-sighted. What made the web as interesting as an application platform was the idea that the user agent could be extended. It is in our interests as users to keep the web open and able to be tinkered with, and the easier it is to separate the layers that people want to improve, the better.
Sorry if I am being obtuse but I don't think that Toys R Us lent the PE firm money to buy Toys R Us. But somehow Toys R Us was responsible for paying back the debt that the PE firm took on to buy Toys R Us.

The PE firm should have more skin in the game, if they take out a loan to buy Toys R Us, they should be responsible if the company fails.
>Be aware that Qt's widget library isn't exactly well-suited for mobile usage

How so? It's my understanding that QT has been the industry standard for embedded systems.
Nobody said you can't count those deaths as COVID deaths when they actually were, that's not the argument at all.

The argument is that (a) not all excess deaths were caused by COVID, only some and (b) excess deaths are very low compared to the apocalypse that was promised, in fact Swedish excess deaths are totally normal and if the modellers had never showed up and told people the world was going to end unless we all lock down, nobody would have thought anything was happening in Sweden. There might have been a few press stories about an unusual form of pneumonia or a new coronavirus but it wouldn't have got more attention than the bad flu year of 2017 did in the USA.

It is possible in 3 years we look back 4 years and find no excess deaths over that time period

Right. The point I'm making is you don't have to wait 4 years. The data to make that call is already in: Swedish excess deaths for 2020 are on track to be normal. Very unlikely there'll be a sudden massive surge in the last month of 2020 given Sweden's near-zero COVID-linked death rate. Outside of the first wave excess death in 2020 has been lower than average for Sweden so it's already balanced out.

My personal belief is Sweden saw larger deaths than Denmark/Norway in part due to their COVID policies, but they did not experience the complete disaster many predicted in March. Whether the trade off was worth it will be debated by public policy experts for years, and ultimately no one will agree.

I feel the Danish economist's analysis is convincing w.r.t. "dry tinder". I fully agree with the last sentence though!
Ukraine showed the need for having serous conventional arms.

Nukes are so taboo, that so long as you don’t push too hard, you can get away with a lot.

I do think that drone carriers will be the future. A single command fighter alongside dozens of drones that do most of the fighting.
Naive q: given this, can we [begin to] relax other performance-impacting security measures aka re-enable SMT features?

https://www.extremetech.com/computing/276138-is-hyper-thread...
I think I see your point about inaccurate Halo weapons, but as I recall the Halo 1 pistol has sniper-like accuracy (even a scope!)

Maybe that's the exception that proves the rule?
The Vore still gives me nightmares several decades later.
Interesting to note that back in April, when COVID-19 had only just been declared a pandemic, Dolly Parton donated $1m to research into a vaccine. That research effort eventually became the Moderna vaccine. [0]

[0]https://edition.cnn.com/2020/11/17/entertainment/dolly-parto...
This could be useful for teachers grading student answers during remote learning periods.
Shows you what I know. I thought I had tested this. I guess it keeps only a certain amount of precision.
We are just developing our "global civilizational immune system". Life is dangerous for humans. We can die many ways. How can we become safer?

Assume people everywhere are good, just like body tissues, but sometimes, like disease, people or a group of people "turn bad" for "no reason". The bad things, like diseases, have ways to attack the good tissues. The good things, healthy tissues, need ways to fight back against the diseases, the ways being the immune system, which needs to develop "bad ways" to get rid of the "bad tissues".

There will always be random bad things happening in the body, "for no reason", cosmic rays, aged-related decline. Immune system needs ways to get rid of bad stuff. So the immune system has to develop "bad ways" to overpower and get rid of the "bad stuff", to protect the "good stuff", the healthy tissues.

That's like society, and humanity as a whole.

Does that mean that the diseases won't steal (horizontal gene transfer, independently evolve) the same "bad ways" the immune system uses to protect the good? No. But that happens. If immune system said, "No, we can no longer protect the good tissues because our weapons against the bad may fall into the wrong hands," obviously the body would die.

It's because of our advances that many humans find "war" to be this strange, foreign, nonsensical thing. Precisely because we have been able to craft "citadels of peace", can people have this "post-urban" perspective that separates the "means of peace production" from the daily experience of people. This perspective is a historical anomaly. Everything we have today is built on a deep foundation of blood and death, which in the past, was a lot more "in the face" of everyday people.

The only accurate, historical conclusion is that weaponry and war have been a necessary and ever present part of our development.

I think one day "human global village" will evolve to where we don't want to fight or kill each other anymore. But, then, we will encounter "hostile alien species", and we will need weapons to protect us from them. Unfortunately the need for weapons and defenses is ever present.

War is just a fact of civilization, the contemporary surprise with which is a testament to how successful we have been at building civilizations that can let people feel a sense of peace. That success is based, in part, on weaponry and war.

One success of civilization is how peaceful it can become, but a major means of civilization is, war and weaponry.
> one lottery ticket for free

One lottery ticket for free for each property you own. I guess it could be ten, or zero.

I don't know what happens when a property is being rented though. E.g. Alice rents a house to Bob, they just signed the papers, suddenly they hear a crash and a meteorite lands on the table. Who can claim it?

Edit: I've found the answer at https://www.spacelegalissues.com/space-law-meteorites-and-th...

"What about meteorites and their legal status? Legal solutions similar to the French one can be found in Morocco (the meteorites belong to those who find them), in Japan (the property of meteorites can be acquired by occupation), in England (the meteorite belongs to the landowner) or in the United States of America. However, any meteorite that has fallen on any part of the U.S. federal land (lands in the United States of America owned by the federal government) is insusceptible of private property, since it belongs de jure to the federal government."
Well done Apple. You’re innovative again on the PC market.
You do understand that if someone declares bankruptcy, you as a lender, would get $0. A newly minted graduate, now saddled with $100k in debt to you... why wouldn’t they declare bankruptcy immediately? Your willingness to lend either implies that you believe 22 year olds with $100k in debt aren’t willing to take 7 years of bad credit score, or you think people are inherently good, and wouldn’t declare bankruptcy because it’s not a moral thing to do?

Where do you expect to find these students who are adverse to 7 years of bad credit, or with exceptional upbringing and ethics?

I’m assuming you care about being repaid. Maybe you’re willing to take a loss on 99% of your loans?

Maybe if you’re wealthy you can afford to make 10 of these loans a year instead of buying a new yacht?

I don’t see how this scales beyond a few wealthy philanthropists.
I know there are several content creators (such as Jim Sterling) that have their videos ad-free as a perk for their supporters (since he's supported enough via Patreon). He's pretty angry about this change.

I somewhat understand Google's stance on this, as it's a service that should be allowed to make money even on people who don't want to make money. They don't really have such a way to opt out of pretty much any other service of theirs that has monetization.

But at the same time, there are people who have so heavily invested into the YouTube ecosystem with certain expectations for a very long time, and pretty much have their entire business on there, so they can't very easily take their business elsewhere if they're unhappy with the change.

This isn't a 'Netflix raising their subscription cost' scenario, where users can just cancel their subscription and sign up for a different service. It would be a massive undertaking to shift their backlog of videos onto another service, and they'd lose all their existing subscribers and have to build it up elsewhere.

So in that respect, it's kind of a shitty move by Google.
"You have been locked out of the G-Suite because a username closely affiliated with your IP address was discovered on the downside of a controversial reddit thread."
Personal mortgages are non-recourse in most states. You can get whatever value you can out of the house, then walk away, and the lender gets to keep the house but they can't come after you.
> It's silly, it's lazy, it's inefficient, it's everything I dislike about software engineering but at this point it feels like preaching in the wind.

It may not be conceptually beautiful but it is one of the most practical and useful technologies we've ever created, like C compared to lisp. The Web is the new "Worse is Better"
Maybe more context can explain the "unexpectedness": from the New York Times article covering the event in 2004:

"Prime Minister Jan Peter Balkenende called for calm and asked people to let investigators do their job before jumping to conclusions. "Nothing is known about the motive," he said in written statement."

https://www.nytimes.com/2004/11/03/world/europe/dutch-filmma...

And even more context, the transcript of a 2005 speech by George W. Bush, mentioning that event:

https://www.washingtonpost.com/wp-srv/politics/administratio...

"In a courtroom in the Netherlands, the killer of Theo Van Gogh turned to the victim's grieving mother and said, "I do not feel your pain because I believe you are an infidel."

And in spite of this veneer of religious rhetoric, most of the victims claimed by the militants are fellow Muslims.

BUSH: When 25 Iraqi children are killed in a bombing or Iraqi teachers are executed at their school or hospital workers are killed caring for the wounded, this is murder, pure and simple; the total rejection of justice and honor and moral and religion.

These militants are not just the enemies of America or the enemies of Iraq, they are the enemies of Islam and the enemies of humanity.

(APPLAUSE)"
> would rather only use double quotes when necessary, otherwise use single quotes

So in that case, they're not used randomly according to the individual user's preference. There's a consistent rule. It's helpful for readability, too. And not sure about Rubocop in Ruby, but many linters in other languages can pick up on these different applications.
Because it's on Russia's doorstep, was part of Russia for 400 years until 1991, has a large Russian minority, the Russian Black Sea fleet is based in Sevastopol, the Russia-friendly government had just been toppled in a coup backed by the US and Western European powers, and Russia didn't want another NATO member on its doorstep.

I can't see what would possibly lead to a Russian invasion of Denmark.
Sounds like a good premise for a comedy.
After 6 years away from being "all in" on Apple, yesterday my base spec MacBook Air M1 arrived.

Battery life is the key takeaway for me. Performance is fine but I'm used to a powerful desktop so it's not blowing me away but the battery life definitely is blowing me away.

To run things under rosetta there's an arch command: e.g. arch -x86_64 brew install xxx - the arch preference is inherited by sub processes. I'm kind of amazed how well intel binaries run here. I can't tell the difference in usage and it just works, even games like Cuphead from steam seem fine.
That is the primary goal of the changes yes.
I used to be like you but I started to (wo)man up and read the emacs tutorial with the fantastic doom-emacs and now I can get myself around with Emacs and do OK with it!

(on a second thought I do miss n-pp)
It is not just this, Disney is a corporate asshole in far too many dimensions to list. I've had the opportunity to work there multiple times, and never pursued them simply because everyone I know there either has or must develop corporate prey/predator attitudes, have a higher up corporate protector, or be destroyed.
“What's a PC?”
AB-Joins with Stumpy (Time Series Analysis)
"AB-Joins" are like SQL Joins but for two time series data sets. In this new post, we use STUMPY to analyze and compare Queen/Bowie's song "Under Pressure" with Vanilla Ice's "Ice Ice Baby" and discover remarkable similarities in the bass line:

https://towardsdatascience.com/part-8-ab-joins-with-stumpy-af985e12e391
I wonder if you enjoy The Bikini Bottom Horror fanfic
Any time someone says they have a design for a prototype that includes aerodynamic aspects, and at the end they say "now scale up by 10" ... there is reason for a strong degree of skepticism.
Interview with Facebook AI SWAV first author, (SOTA in Self-supervised learning)
You sound burned out. I had a familiar experience a few years ago. I was extremely tired of my job. It wasn't a hard job, but I didn't connect with my coworkers. Also, I didn't find interest in what I was doing. So, it was soul crushingly exhausting. Btw, I'm not putting all the blame on my environment. It was as much me, as it was them.

Anyways, I took some time off to travel and unwind like you. I remember the day I came back to work-- all the stress and horrible feelings I had immediately came back like I never took a break. So, I left.

I didn't quit the tech industry, but I took a year break from working. I was lucky, because I had a SO that could support me. So, I didn't have to worry about money too much. I still missed the stability of a job though. The break did a couple of things for me. It gave me time to develop new habits and it renewed my curiosity. I started tinkering again. It's really hard to care about new developments or technologies when you're drowning. However, if you're able to take care of yourself, I believe you'll find the curiosity that led you down to being a developer in the first place.

If you're a developer or if you're in tech. You're constantly learning. If you don't naturally like learning, it's going to be tough.
it’s a great sign that someone at Apple cares about this; hopefully they eventually support PyTorch as well.

there are a lot of use cases (smaller networks, non-deep-learning numerical algorithms) where having acceleration on a laptop is really nice — it would add friction to go to a remote machine.

The old Nvidia Macbook Pro used to be great for this. Having something like that, but also it somehow miraculously runs cool and is light, would be pretty great.
I don't think this infrastructure you're relying on exists. A great deal of software isn't maintained at all. It was built once by a contractor and has been plodding along doing its work for decades.

Major software vendors won't have any particular trouble, but neither did they have any trouble in 2000. It's all the tail-end stuff which is in danger of breaking.
Ok so now I'm introduced to "Sunshine," and I still have absolutely no fucking idea what that is.

Great "introduction."
Young people still like Macs. It’s only older folks who ask who moved their cheese.
gedit in linux is gret tho!
Sure, I can see that argument. But the larger point is that that can't be universally applied to every case that Rubocop flags.