skysight-inc/HackerNews huggingface dataset:
> 100-line functions are absolutely readable most of the time, provided they were written by someone talented.

Readable, sure. Easily inspected for correctness, not in most cases. The 100 lines won't all interact, but you don't know this until you look. So much mental effort is spent navigating the 100 lines to match braces, find where variables are defined, where they are in scope, and whether they are mutated elsewhere within the function, comprehend how state changes as the lines progress, find where errors can occur and ensure they are handled within the right block and that control flow continues or exits appropriately, and so on. So little of this is actually about understanding the code's function, its about comprehending the incidental complexity due to its linear representation. This is bad. All of this incidental complexity makes it harder to reason about the code's correctness. Most of these incidental concerns can be eliminated through the proper use of abstractions.

The fact is, code is not written linearly nor is it executed linearly. Why should it be read linearly? There is a strong conceptual mismatch between how code is represented as linear files and its intrinsic structure as a DAG. Well structured abstractions help us move the needle of representation towards the intrinsic DAG structure. This is a win for comprehension.

>Functional/integration tests are usually significantly more informative and they target relevant bugs a lot more effectively - partly because the surface you need to cover is much smaller with larger units, so you can focus your attacks.

We do agree on something!
> Well, the "Smart" screen says that WinMerge and KDiff3 are malwares.

I've got WinMerge installed on my machines and I've never had that issue. Are you sure you're using trusted sources?
Threema Hit 10M Users
> AVR is still fine for many uses but it's a 16bit controller.

Isn't it 8-bit?
IDK, I like it, I would be one of those people that would complain about the 90's look if they didn't do this every now and then. But, people like you are ok with desktops like XFCE I guess, I like trying new paradigms, see what works, change what doesn't. I enjoy the occasional refresh in look and feel. Actually I think people like you are a minority, the majority just continues to enjoy evolutionary steps in design and never complains.
Specific criticism is very important and would lead to improvements in the script. However, all I'm seeing so far is general nay-saying.
Of course not, urbanisation is a thing the world over.
And then after 99 times they act all surprised there’s no users left. They are killing themselves by a thousand cuts.
For me, I really liked how it has "panel" functionality that also let me replace Simple Tab Groups, and how nicely that interacts with Multi-Account Containers. I have a panel for work, and when I'm done with work I can switch to another panel for another task and no longer have to look at my work tabs - then the next day I can have just those in my tab bar again.
Very interesting post. How did you deal with the fact that almost all subreddits have a pretty strict self-promotion policy?

I am always hesitant to post about my product on any subreddit, because as soon as I read the sidebar rules, one of the first things they say is to not do any self-promotion.

How did you get around that?
Have you tried googling the app identifier (grab it from the google play url) to find an APK download?
> At what point do we say "Fine, stay inside and live your life as a hermit, but the rest of us are returning to normal."?

Has this not already happened? Where I live all covid restrictions have been dropped, sports games are at full capacity, masks optional everywhere but public transit and hospitals, and so on
I need to separate work from home and home from work. My home is filled with distractions and the first couple of months of the pandemic were horrible becuase I couldn't get anything done. I started going back in to work in the summer (2-3 minute commute depending on the single traffic light along the route) and my productivity went back to normal. It was actually better than normal because work was mostly empty, so I had a big office building designed for 600 workers mostly to myself. Now, unfortunately starting today we are all back in the office, so I'm having the same transition issues as all the WFH people, but because my nice empty office building is now filled with people.
That seems like a circular argument. It's socialist because it gets described as socialist.
Do debit cards work? If so, maybe get a prepaid debit card, buy stuff with it until it has a very low balance, and from then on use it for age verification.
For quickly putting together a modular website, you could also try something I've built: https://pinkpigeon.co.uk

No-code and based on a range of modules that allow for arranging content in a variety of ways rapidly. You can then launch that to Cloudflare as well, if desired.

Admittedly, we probably offer less finely detailed control over the layout, but at the gain of speed when prototyping.
Atlassian to end sale and support of on-premise server products (2020)
Trying to cater to consumer whims and maintain relevancy (which is what influencers are doing) is a blurry moving target that multi-million dollar corporate marketing departments can't even consistently hit. The dumpster is practically deterministic by comparison.

Granted the income ceiling without adding skills is much lower but I would rather do a crappy job with trash than do a crappy job with consumers any day (and back when I worked such jobs I made that choice).
> I know people in general struggle with nuance, but come on - I'm making it easy here.

Your posts contain one personal attack after the other. Really: please take a step back and relax.
People need to speak with their wallet otherwise nothing will change.
>There are others who use them as a way to gain victim status in society

Can you elaborate on this?
I hope I won't be considered presumptuous, but I suspect you don't have children? It is simply impossible to monitor absolutely everything.
Docker Is a Compiler
> People with issues need help, not bullying.

Absolutely. True mental health issues need clinical diagnosis and treatment. Things like CBT and antipsychotics have saved the lives of many people with psychological disorders, and modern mental health treatment is as valid as any other area of medical science.

But the type of "therapy culture" the parent describes is absolutely obnoxious, self serving, and all pervading among the upper and middle class. People have been so convinced, jeered on by social media, of this pseudo-Freudian nonsense about deep seated emotional traumas requiring therapy, that the real issue of mental health has been conflated with feeling annoyed about having to respond to work emails or being bummed about a breakup.
So I've actually written about this in the past, but, responsibility is -actually effecting the entity-.

That is, "you're responsible for this" - if they do it, and it succeeds, what happens? If they don't do it, and it fails, what happens? If the answer is "nothing" in either of those cases, they're not actually responsible. If the result is too detached, they're also not actually responsible (i.e., if I decide not to do one of the ten tasks assigned to me, and I don't hear about it until review time, if at all, then I was never responsible).

Responsibility is innately tied with knowledge and empowerment, but without going on at length, and to just give an example - if I'm the one woken up by the pagerduty alarm when something breaks, I am responsible for that something, because its success or failure directly affects me. If, however, there is a separate ops team that has to deal with it, and I can slumber peacefully, responsibility has been diluted; you won't get as good a result.
> Missiles are not targeted at a location. They absolubtely do "lock on" and can track a moving target. They would simply not be able to function if that were not that case. Why even use a missile at all if it worked like that, just fire a big gun. Sure there are countermeasures, but manouvering a ship won't do anything on its own. The only way things like that help is when combined with chaff or heat signature dummies.

I don't think this is correct with ballistic missiles or these hypersonic missiles - please correct me if I'm wrong. My understanding is that it's not like a fighter jet locking on to a target and firing a missile. When these missiles are fired they are launched into a general area - in this case where the Chinese think the U.S. Navy ships are, and then after that the missiles will lock on to a target as they re-enter the atmosphere - they have a few seconds to adjust course and do so. They can miss.

> You seem to be vastly underestimating how well these missiles can manouver. They can't adjust "slightly", they can make sharp turns, with many times more g-forces than a regular plane - a ship has no chance to outmanouver them, any manouvers would only be to present a lower profile to a single missile or to try to confuse the missile's tracking system using some other countermeasures

What I'm not saying is the U.S. Navy can just run away or something from the missiles once they are in range, but the ships can move and the missiles can miss.

> as for reading articles about the millitary "sounding the alarm" how does the dod itself sound

It doesn't sound like anything - it's no different. These are just reports that come out form the bureaucracy. The DoD sounds the alarm on all sorts of things.

https://www.ausn.org/post/navy-sounds-the-alarm-on-biden-s-d...

> Finally cost. Yes these missiles are expensive but that is several orders of magnitude lower than an aircraft carrier. Heck, its orders of magnitude lower than a single plane on that carrier

Cheaper than a carrier but dunno about planes. Maybe the cost can come down over time if they aren't already cheaper.

Also in the grand scheme of things the US Navy can just stay out of their range and harass supply lines, and then U.S. forces in the region can attack these missile systems and destroy them, then the US Navy can move in.

The main concern really isn't these missiles. They present a problem, of course, because they make it difficult for the U.S. Navy to effectively operate in the region (and by effectively operate we mean unimpeded), but they aren't an ace in the hole or some sort of trump card that the Chinese have.
For good reason - design changes of a web browser might be the least of our troubles though.

This problem is everywhere. The last thing we should do when we need a problem solved is creating a department or office whose continued existence depends on the problem being there.
Even the back button is wrong in the new version. Previously it spanned up to the left edge of the window. Now it's moved to the right, lacks immediate feedback and then it is drawn to the right with some new empty space for no reason but to make it harder to hit the back button, the most used button of the interface.

The visual cue with the circle around it is also gone. Even the lines used to draw the arrow are thinner, making it less visible. Compare:

https://www.ghacks.net/2021/04/19/here-is-what-is-new-and-ch...

It's very distracting to me.
uBlock Origin works best on Firefox

https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-b...
Ken Shoemake’s 1985 Siggraph paper “Animation Rotation with Quaternion Curves”, that brought quaternions to computer graphics, covered this. The idea is to use quaternions as control points in a spline the same way you would use 3d points in a spline. You could have a series of quaternion orientations, and connect them with C_2 continuity by using a connected series of piecewise cubic Bezier splines.

The abstract mentions it: “This paper gives one answer by presenting a new kind of spline curve, created on a sphere, suitable for smoothly in-hetweening (i.e. interpolating) sequences of arbitrary rotations.” And the final punch line is section 4.3, then you can work through the details in the earlier sections.

https://www.cs.cmu.edu/~kiranb/animation/p245-shoemake.pdf
The humble bragging online about “my first haircut in 18 months” or “I’m going to a party for the first time since the pandemic and I don’t know if I’ll remember how to party!” can all roll into a ditch.
YT Premium subscribers also get this prompt. At least I did.
Where are you finding these $30 drill presses?

$21: https://www.amazon.com/Irwin-Tools-Drill-Press-226340/dp/B00...

$25: https://www.harborfreight.com/4-inch-jaw-capacity-drill-pres...

You don't need a high-dollar Kurt milling vise for a drill press, and you only need to constrain the part in one degree of freedom (rotation about Z axis). Just put a single fastener in your table and drop the slots in that vise over it. Gravity and quill pressure hold it in Z, the table holds it flat against rotation about X and Y, and you want it to have the ability to slide a bit in X and Y to let the drill find the center of your punch/pilot hole. If the drill catches, the torque will push against the stud and it can't move.
Seeing the incredibly inappropriate content the algorithm (tm) starts suggesting to actual children (I see you like numberblocks, maybe you'll enjoy this fake video of numberblocks killing each other and swearing or this extremely repetitive and epilepsy-inducing flashing video with a couple of numberblocks characters) it’s clear to me they don’t give a crap and just do the bare minimum to tick some legalese checkbox in some compliance form somewhere.
Helium cryptocurrency miners also utilize LoRaWAN to form a connected network
As an immigrant from the US, I find most of Quebec's government websites to be quite good actually. But maybe that's just my low standards.
The other side has to prove that they exist, not vice versa.
For us compact UI users, if you go into Customize Toolbar you'll see it still selected and listed, but it says "unsupported". It might be time to bite the bullet and go to the normal density setting since they'll likely rip it out in time anyway.

Which would be a mistake, not only did compact get slightly larger itself, but the now-unsupported compact mode merely match's Microsoft Edge's UI pixel usage. If it's just normal and tablet mode, Firefox is now larger than Edge. Edge is supposed to be the good-default browser, not the power user's choice.

It would make more sense to have compact (in reality this is desktop density), and tablet mode. Just remove "normal". At the rate they're going, may as well go whole hog and remove compact and normal, having everyone use tablet mode density. Burn the house down.

Compact mode looks so much better than normal it's not even funny. Mozilla needs to stop disrespecting our precious vertical pixels.

I don't think you'll win over the masses or power users with an oversized Fisher Price UI.
How to change a back button color in Flutter
Helium cryptocurrency miners also utilize LoRaWAN to form a connected network. You get paid in HNT to run these.
I was thinking along similar lines. A place to setup a short-term "team" of people interested in a topic, with or without a "teacher", to "study" said topic on their own - organizing, having discussions, distributing and presenting the work, sharing the learnings and disbanding. The social media platforms can be used for the organizing and coordinating parts. I am not into web-design but thought over this idea for a web-site just for publishing and discovering an interest or specific task. WOuld be something I would use if it exists. On a side note, even started a subreddit (teamdo) [0] which got zero traction (haven't advertized it anywhere) - wish it got some interest to try it out as a prototype.

[0] http://reddit.com/r/teamdo
I'm a long time user of FF.

I really don't like the UI changes in this upgrade, but setting:

"browser.proton.enabled" to false

"browser.uidensity" to 1

(while using the `System Theme`)

Seems to have done the trick, so, I can just ignore the UI changes (which is great)... fingers crossed in that this keeps working in the future.

UI changes are very much subjective, so, I think that it's great that some people like the new UI better and keep using it as long as there's also a way to not alienate existing users that like the existing UI.
Not only was this really enjoyable to watch, but it shares some interesting knowledge about squirrels and includes a bunch of creative applications of analog and digital tech.
If you consider that laws tend to be passed to support populism first, business interests second, and national security somewhere well down the hierarchy, and citizens right even lower than that... it's not really that surprising.

Only when populism happens to support issues such as national security or citizens rights do those issues tend to receive any attention. That's how the GDPR got in (and it also explains why it's so problematic for small business but less so much for large businesses). Stuff like privacy shield just don't make sense unless you consider that lobbying and business interests tend to rule the day-to-day decision making in Brussels just as much as in Washington.

Specifically, note that most of the major "US" tech companies are major economic players in the EU too, and will have influence therefore - and I'm using scare quotes because such corporations have legal entities in all kinds of jurisdictions, and revenue and business in all kinds of places. Thinking of them as being from one country exclusively is kind of misleading from the perspective of where they have influence.
I hate to be that guy, but is this legal?
Sounds good. Say I'm a non-technical parent that wants to give my child access to YouTube but not allow them to watch content that they're not old enough to consume on their own. How should I do this? I want to give them the freedom to explore topics they're interested in so downloading some pre-approved videos isn't going to work. And my kid is smart and will realize that any account-specific setting can trivially be bypassed by logging out.

What should I do? Not allowing my kids access to the internet at all is a non-answer in 2020. Hell it was a non-answer in 1995.
Would be interesting to see what correlation the ranking has with sugar content and also possibly generate a ranking normalized for sugar content.
> In April 2012, the Horizon-class frigate, Forbin, of the French Navy downed an American GQM-163 Coyote target simulating a sea-skimming supersonic anti-ship cruise missile traveling at Mach 2.5 (3000 km/h) with an altitude of less than 5 metres. It was the first time a European missile defence system destroyed a supersonic sea-skimming "missile". The trial was described as a "complex operational scenario".[1]

[1] https://en.wikipedia.org/wiki/Aster_(missile_family)

Seems that the sea-skimming abatement capacity increased from 3500 km/h to 8000 km/h.
Most of the time you don't want to use his SLERP function. You can even see what is wrong in his illustration video: the cube does 3/4s of a full rotation, while only 1/4 of a full rotation would have been sufficient. In other words, it's not always taking the shortest path between 2 rotations.

If you are not careful, this is what you may end up with: https://www.reddit.com/r/FIFA/comments/9gms3n/most_realistic...
Honestly, I believe it is much more about marketing than one might expect.
Emacs DWIM: do what *I* mean
GCC drops its copyright-assignment requirement
This article incorrectly states that gimbal lock is a property of Euler angles, and that using quaternions prevents it.

This is a common misconception.

Euler angles can be used to rotate an object exactly the same way as quaternions do with no gimbal lock. Similarly, you can apply quaternions in such a way that gimbal lock will happen (if you wanted to represent a physical system of gimbals with quaternions, where that is a physical property).

I wrote a short article demonstrating and clarifying this, hope it helps: https://omar-shehata.medium.com/how-to-fix-gimbal-lock-in-n-...
I sure hope masks will be mandatory in doctor's waiting rooms / hospitals.

Nothing better than being forced to go in person to a doctor to pick up a sick note for your employer (for a minor health issue like headache or whatever) and get sick while waiting in an unventilated room full of sick people coughing and sneezing.
This is clearly Google pushing $12/month youtube red.
How bad is Google Photos’ compression
EVs will be better in plenty of ways, lack of exhaust is good (though at the moment all of my electricity is produced by coal so.. not really a win in my opinion until that changes), regenerative braking is probably better than brake pad dust covering the roads... etc.

I am however pessimistic about the fiscal future of it. Yeah it's cheaper to operate now but it's only a matter of time before taxes from fuel drops to the point that they start charging us by the mile or mandating all EV charging be reported and taxed.
nice! I could see the predetermined set of options being useful to early beginners who just want to get something up and running - and I also respect the .co.uk given I'm from the UK myself!
Google needs trust to be pay-to-view. These anti-user practices will further erode their trust, not increase it.
I think the cat is out of the bag for the US at this point. My understanding is many (most?) states did not require ID and you could provide any name you wanted.

The vaccine cards are easily faked so at this point, what proof so people have they got the vaccine? If you got it at Kaiser or UCSF it’s probably in your records, but beyond that?

I’m guessing that people will need to get a vaccine antigen test to prove immunogenicity and then get that officially certified.
My issue is there is no alternative. I dont want to stop watching or hurt particular creators (not that one person would make much difference, but I enjoy their content) and Youtube is the only option. Even supporting them on Patreon the videos they share are still hosted on youtube... what am I to do about that? For a few (LTT for example has Floatplane) there are alternatives, but there is no app for it to allow me to cast to the TV... so either way I am screwed. The world desperately needs a YouTube competitor. I would be quite happy with a service like Floatplane where I can pick which creators to support, so long as there is a sort of 'preview tier' to help discover new creators which is add based and maybe even time limited.
I stopped working at the office in 2006. Since 2018 I've been working at stakeholder's location, which can be the prospect, customer, partner or event.

The key aspect I miss the most from my office days is networking, or the capacity to build and maintain a consistent network of contacts. Maybe because I'm latin working in Latin America. We are high touch by definition. But I really feel that remote work damaged my capacity to keep my network of contacts. Now I see myself with the mission to find a new job, and I'm not sure my current network will be enough help.
The tabs are more compact than they used to be
RISC-V Cross-Platform Debugging with QEMU and GDB
> Basically you can program your charger to charge the car when the electricity price is the cheapest and feed the energy back to your house (or the grid) when the price is high.

Taking the cost of battery wear into account, I'm not sure that would turn out profitable.
China Moves to Three-Child Policy to Boost Falling Birthrate
People who write these bait-and-switch marketing articles really need to learn that once you do it, you lose potential readers for a long time. There are so many interesting things to read every day - I'm not going to waste any of my precious attention on his writing again after that.