skysight-inc/HackerNews huggingface dataset:
> 1. But you won't need to port the bash script, it'll likely just work.

Well, Python 2 code will likely just work too.

> 2. Bash is not that complex of a language; it mostly just has somewhat arcane shorthands, like `$@` and `-n` and such. So, yes, you need the manual, but it's not a lot of mental effort.

If you're only counting bash qua bash then yes, but in practice most of the logic of a "bash script" will be in (non-standardised) commands that are invoked from it rather than the script itself.
They're moving slow parts to Go.
The big problem here is documentation.

Most beginner Haskell resources go into complicated monad explanations very early on, instead of just showing how to use them like a tool. Intermediate resources are even worse.
well, it's not directly related to browser/app development (which is still the purpose of the non-profit Mozilla foundation???), but instead it's all part of the rebranding of Mozilla as a consumer SaaS-company which is currently taking place. And there is no cause for that, except politics around the internet together with an influx of people who are trying to do their marketing shitshow the righteous way this time. Integrating pocket was basically the idea of the CIO? coming from traditional dead-tree press in germany... I also shuddered when I saw right under layoff-press that the marketing VP comes straight out of facebook.
Instead of building a beacon of a non-commercial, individual and free web, it seems that people at Mozilla are more concerned with having just another carreer but with a better image up front (facebook is evil, everyone knows. but the foundation needlessly transforming into the same type of service business is ok, you know. they are doing it for good!)
I check my carry on for free every time I fly. I tend to be on Alaska, United, or Delta.
Also they won't do this because business flyers usually don't check bags. That way they won't be lost (by the airline) and so control over their destiny is retained by the flyer. I've done quite a few international trips, even week long trips, without checked luggage. Having your luggage get lost can be a real time consuming hassle and one you don't want to deal with when on a business trip.
great idea, but I bounced as soon as I saw I needed to download an app...
Wirecutter No Longer Recommends Ring Doorbells, and It’s About Time
This is a great strategy in many ways, because after a couple of years the 'this solves every problem' hype has mostly settled and the good, practical uses for the newer pattern are usually fairly clear from consensus.

I'd say use this to your advantage with hooks. They're amazing and much nicer for some things, but don't go in thinking of HOCs, render props, even class components with lifecycle methods, as something that should be replaced entirely because hooks are universally better at everything they can do.

The latter are indeed cleaner than hooks, simpler, less hassle, etc in many situations - and truly, honestly, a lot of the time it's nothing more than personal preference anyway.
Tip #3 -- Parents, never use the pre-board

https://edition.cnn.com/travel/article/samantha-brown-travel...
I can see where it's an attractive example for cleanup behavior, for sure. But I do think the distinction between code-level cleanup and domain-level cleanup is important. You can see the fixture management as part of the test code and then they align much more closely. It's usually better to not couple that way, though, and to think of automation as something that fulfills a test instead of being the test.

I also know there's a lot of debate over xUnit patterns and, in particular, setup/teardown. My take is that the perceived value depends on a lot on background and how much experience one has actually maintaining automation strategies over time. One of the bigger dangers is losing track of what you're testing so thoroughly that any confidence you might have rests essentially in magical belief instead of periodic review. That especially hits unit tests since they're added from multiple sources, and makes things like standardized fixtures/setup/teardowns pretty useful for alignment.

I'll keep a look out for future blog posts. I'm interested in your take.
>She has directly authored many foundational pieces of Mozilla and (arguably) the internet.

This statement is a fabrication. She was trained and worked as a lawyer. She went to Berkeley, not to study computer science or electrical engineering, but to study law. She graduated and went to a San Francisco law firm that specialized in intellectual property and had many clients in Silicon Valley. She eventually left and worked for Sun in the legal department. Netscape recruited her to help set up their legal department and that is how she became an executive at a technology company. She stayed at Netscape when it was bought by AOL to work on policy issues, but was eventually fired during a series of layoffs.

The only "foundational" piece of Mozilla she authored was the Mozilla Public License.

Any company that lost that much market share would have fired their CEO. At a minimum, she should take a deep pay cut and her compensation needs to be tied to performance.
I’m pretty sure fares for each person fluctuate greatly depending on when they purchase and what terms they had and what discount or upgrades they have.
Do you know what? I don't care if they aren't contributing, I still want us to address it and funnel money into it.
How do you know whether these companies are thinking about it? There is nothing in the article about this.
I appreciate your positive encouragement and that you took the time to write. I'm glad that you jumped in at the deep end and that it worked out so well for you :-)

I'm still not convinced that it would be good for my wellbeing and happiness, given that I've experienced PP for a couple of weeks on and off (not anywhere near 6 months like you!).

I do like to collaborate with co-workers to solve problems, for sure, and we will often share screens and benefit from putting our minds together. But PP for 6 ... 8 hours a day, without periods of quiet contemplation, spent with my own thoughts? When I think about it like that, my heart sinks.
They are platforms and content marketplaces (where the currency is attention). This is entirely different than run of the mill publishers that can't drive attention at scale.

Google and Facebook can leverage their power to put entire industries out of business.
Hmmm, so far it sounds like a kitchen sink with too much going on and yet not enough to differentiate from others to attract users. I would highly recommend reading this:

https://www.eugenewei.com/blog/2019/2/19/status-as-a-service
Capabilities of Intel 8008
> I wish people put as much energy into shutting down eco-deniers as they do policing other eco-advocates.

Everyone is an eco advocate today. If you check out the bp home page you find pictures of solar deployments on green meadows. If you check out shell's website you see a statement by the CEO how climate activists "give me hope". Should bp and shell be policed? Absolutely.

As for the "traditional" eco advocates, many of them are often the first to protest when you want to build a dam or a wind turbine, explaining how precious the nature is that you are destroying. This is actively harmful to the goal of stopping climate change. The more protests, the more requirements that the activists push through, the larger the cost of the project, and the longer it takes. Increased prices of the renewable energy you are providing ultimately slows down the expansion of renewable energy generation due to market effects as well as population.

The risk of climate change is far greater than the risks of fairly small ecosystem disruption to fight it. Many eco advocates don't want to realize this and believe that everyone should live like a monk and go vegan or something. They are completely removed from reality. In itself, it's good for the climate to have more vegan people, but when those advocates protest construction projects to provide green energy for the people who do not want to live like monks, they should step aside instead of standing in the way.
Have you found any good ePub reader?

Zathura and Calibre are insanely bloated. FBreader is just no. Emacs works, but has similar functionality to FBreader.
Another open source "realtime" database, which supports joins, has a nice admin interface, sharding, and realtime queries:

https://rethinkdb.com

It's what mongo should have been from the beginning -- they won the correctness battlew hile mongo won the marketing war.

I should mention that I've had some colleagues run into problems with scaling it so it's not all roses but a database that scales painlessly in every case is AFAIK a fantasy.
AKA how movies and TV get made
I think it will be bad for different reasons. Will Chrome not comply with the spec. Nope because the spec follows what the browsers actually do, and Chrome is the browsers.

Will it have bugs that make the web unusable? Probably not. What makes it bad? The world's biggest ad company is in charge of it, so privacy is at risk.
Being a 30-something BigTech employee who knows a lot of other 30-something BigTech employees, they would choose any of those places depending on what stage of life they are in, what their commute is like and what their preferences are. Some like the mission, some loathe it, same with menlo park. Some will live in SF and take long commutes to menlo park, some will live in sunnyvale and take long commutes to SF! I know all of these types personally.

But almost nobody will live in Reno, Salt Lake and commute daily via airplane to menlo park. You might find the 3 outliers on the news who do this, but I've never met or found anyone who actually does. The ones that have a life in a city that is a flight away will tend to rent a room in the work city and fly over once a week, thus participating in the local housing market.

This commute distance limitation creates the city labor and housing market, and thus people who work in Mountain View would consider living in Santa Cruz, Berkley or San Jose, but they won't actually live in New York and fly over daily to make a silly example.

Within any city itself, local variations exist. There are bad neighborhoods, nice neighborhoods. Party ones, not party ones. Big mansions and small studio apartments. Places close to lucrative jobs (mountain view) and ones that are far away but still commutable for the price a very long commute (Stockton). They will all be available in a housing market, but because they all participate in the same market, the supply / demand equation will still apply and thus set them all within a certain range of each other. An identical mansion in reno is a lot cheaper than the mansion in atherton for very good reasons.

Jobs are what determine the demand for housing in a city, and interaction of that demand with the supply of housing available is what sets the price of housing in a place.

Have you ever taken a economics class? I would suggest reading a book like order without design (twitter preview: https://twitter.com/devonzuegel/status/1079407914715103232 ) to understand how cities work and to take some sort of econmics 101 class with the many online resources out there.
I enjoyed it as a super cheap depth camera, and never used it for gaming.
Part of the issue is the weird way airlines label the groups. If you're not familiar with Delta's process and have "boarding group 1" printed on your boarding pass, why wouldn't you go up first? (I think boarding group 1 boards seventh, after people needing extra time, active duty military, first/Diamond, business, Comfort+, Sky Priority. It's possible that some of those are combined; I'm not entirely sure.)
Google plans to drop Chrome support for tracking cookies by 2022
Personally I'd pipe up if someone asked me to watch a laptop and another person made a move on it. In a crowded store full of witnesses, that's all it would take to deter a thief.
I really like your second idea!
There is quite a lot missing in TypeScript types (e.g. integer or uint types would help a lot in typical tasks such as accessing an array or iterating a loop; even if they are stored as floats, I want to make sure someone won't take 2.5 element of a list to get undefined).

Still, for me, TS is a day and night difference with JavaScript. While it does not solve everything, at least I know what is code about. E.g. when I see `volume` in plain JS the first question I ask myself is: is it a number, plain object, instance of a class, a simple boolean, or what?

It is not only about tests. It is also about readability.
I would take less money to get to work like this. The isolation is what I find hardest about being a developer. I work far better in a team with people relying on me. Direct interaction like that makes the days so much more enjoyable. I really hope to one day find an employer willing to adopt this practice.

If anyone is hiring I'll apply.
I think you (and others in this thread) will enjoy CGP Grey's video about this: https://www.youtube.com/watch?v=oAHbLRjF0vo
Oh lol, almost forgot about your terminal stack.
Is that true? I thought we were still below a degree, but had just reached the point where 1.5 was inevitable later due to delayed effects. That was depressing when I figured out that even if the world became carbon-neutral tomorrow we'd still be getting warmer for a while.
Sure, of you have be careful to not be taken advantage off, focus on the prize, if you truly do not see any opportunity then yes bail out but keep your options open.
Read more carefully:

1. The increase was in 2017, reported per IRS regs in Mozilla Foundation's Form 990 filing (which must list all comp to board members even if they work for the for-profit Mozilla Corporation subsidiary).

2. The "one guy" is Mitchell Baker, and she is chair of both foundation and corporation boards.

But nice try attempting to pin blame on market share slide these last almost six years on me.
Is getting randomly stopped and searched a concern?
Bankers Flooding JPMorgan Event Bemoan San Francisco Squalor
I think a well-designed carbon tax would be useful for converting environmental returns into economic returns.
As a "senior" the thing I find about pair programming is that it forces code review - it's waaay too easy to blip over code in a review. It really is higher quality code review

but boy it smashes productivity with a frying pan and keeps hitting it.

Pair programming - bad for startups that want to hammer out quick code, bad for enterprises that want to hit deadlines on stretched resources.

It's a tough one to argue for.

Edit: Things I want to try - Tennis Programming - sit next to each other, one writes the tests, one writes the code, swap round often, run on shared disk space or something. Spending ages watching someone else code is just being a human syntax checker. Swapping and diving in to code after ten minutes might be more interesting.

It's like writing a joke or a scene in a movie then handing the paper to your writing partner. You need fast feedback.
Been there, done that - wish it upon no one.

If anyone ever brings up the idea of building out oauth or even vaguely user management, I try to point them to at least try a POC (Proof of Concept) with https://www.keycloak.org/ (Apache 2.0 License) or https://www.gluu.org/ (MIT License) before they considering building.
For such a person, short periods of pair programming might be sustainable, but beyond that you'd expect two reactions: either the become combative as they reach the end of their rope, or they shut down, at which point they are just the chauffeur and the other party is calling all the shots. One of those is immediately and obviously detrimental to teamwork, the other is just as bad because it's insidious.

Neither is improving productivity or buy-in. I think pair programming works best when, upon discovering any two independent tasks, you have the pair split up for a while, do the task, and bring back the code to share. This is not about going faster, it's about getting a break from one socially and mentally intense activity. It's similar to the reason I vehemently insist on a 'bathroom break' for any meeting over 90 minutes. Get some air. You'll get to the outcome faster, and often a better outcome.

I know a few people who'd go so far as to suggest that these practices (being volun-told into all-day pair programming, or god help you, mob programming) are discriminatory. I'm not sure I'd go that far but if one wanted to argue that I'm not gonna stop them.
Sounds like a pretty clueless layoff, I guess I expected better from Mozilla than usual corporate derp. If there was truly no dead weight, surely the management could have scaled back their own comp for misdirecting the company? Very few people understand what it means to be a leader in corporate world.
No. While that was part of it, a larger part was access to device capabilities. Much of those things are addressed now by standard web platform APIs.
Besides the fact tech skews much higher, especially tech in SV, Mozilla doesn't have stock or equity to pass around, so has historically had relatively high cash compensation for its size instead.

I think that has become less true over the years, but it does tend to inflate salary or salary+bonus numbers unless you compare to total comp elsewhere (including parachutes and other bonuses that may not make these sheets).
Scientists Discovered ‘Mini-Computers’ in Human Neurons – Great News for AI
China-made UOS operating system may sell for more than $58
Boeing Mocked Lion Air Calls for More 737 Max Training Before Crash
> In other words, we tend to respect people who think like we do. Did you ever hear someone say, "I think Bob's a genius, and he thinks my views are all wrong"? That's something few people would ever say. No, we tend to think highly of people whose opinions mirror ours.

This doesn't seem like a very good explanation, because we can and in many cases do change our views in the face of arguments from people we respect as geniuses. It doesn't have to be a coincidence or evidence of bias if the people you respect the most in some area of work also share your views about that area, because if you respected someone else more then you would change your views to those views.
I think it was mishandled. There was a lack of compelling software, particularly when compared to Nintendo’s Wii output that also relied on motion controls.

Then the next revision was included with the Xbox One, increasing the overall price of the console while still lacking compelling software.

If Microsoft had positioned it as an entirely optional accessory with a great library of exclusive titles, maybe it would have found an audience.
> So we won't solve it because we're just not capable of globalism as a species

We already have globalism and globalism is what cause climate change. Economic globalism is why we are where we are. How do you think oil, coal, natural gas, etc from one side of the world gets to the other side of the world? How do you think saudi oil gets to the US or australian coal gets to china or russian gas gets to germany? How do you think mexican avovados gets to france and norwegian salmon gets to japan or argentinian beef gets to canada all the while spewing toxic fumes into the atmosphere? Globalism. How can globalism be the solution when globalism is the cause of the problem.

It's like fuel causing your house fire, so you want to throw more fuel on the fire.
the decline of Mozilla has nothing to do with a "rabid cultural witch-hunt" including the illegal (?) dismissal of (male) Brendan Eich for supporting traditional marriage ? and post-mortum vilification of Gervase Markham ? pure coincidence ?
Though don’t get a false sense of complacency; the crime rate is low but not zero. My friends had a couple of snowboards stolen from a hotel luggage concierge.
You still can, obviously.

It's simply more probable that I would prefer a site that contains expert analysis of a topic/subject first.
It's quite common for fueling operations to be done with passengers on board for trans-oceanic flights (more fuel to load and longer boarding process).
Strange, I don't remember any Mozilla employees organizing and rallying for political causes in the 1990s, and Mozilla was certainly around, if not the dominant platform at the time. Gay rights was no less of an issue then than it is today, it simply hadn't been popularized by the media and endorsed by politicians and corporations.

Personally I find it abhorrent that anyone was so quick to rally against Brendan Eich. If we keep going down this path, all we'll be left with are people that change their opinions on a whim and flip flop on issues so quickly that they resemble politicians. I'd rather have a good leader I don't agree with on every issue, than a poor leader who's trying to pretend to be on the right side of whatever political stance is in-vogue.
Thanks again. Another question, just to figure out how medicine is an odd industry: how inelastic is doctors’ preference for an upper middle class lifestyle, especially at the cost of 70-hour workweeks?

I can see why hospital administration would drive doctors with that inelastic preference to work long hours. But if there is a sizable pool of doctors who’d rather get paid less to work less, that suggests some firm can come along, make such a hospital, hire those people and do ok, maybe even better since their doctors are not as overworked.

What prevents that?
Except in the Paris Accord countries set their own emissions targets and also contributions. So it's more like a charity. As for climate change, I guarantee you you ain't seen nothin' yet. Buckle up!
Nice deflection. I'm a founder of mozilla.org, Mitchell joined 8 months after, we worked closely for 15+ years. She set the salaries with board approval, always made somewhat more than I did, I never complained. Neither of us was making more than high six figures, until after I left. Something changed, and it is not generic to "industries". No excuses!
Apple is known for how small their teams are.

WebKit runs on macOS, iOS, iPadOS and watchOS across Intel and ARM architectures.

WebKit provides the web views for countless 3rd party apps, including Mail, Calendar, iTunes, etc.

Apple certainly has fewer people who get paid to write code for Safari/WebKit than Google has on Chrome/Blink. I wouldn’t be surprised if Mozilla has more people too, especially since they’re rewriting pieces of the browser engine at the same time.
"Doing it any other way would be wasteful on an actual multi-user machine."

On Windows at least, UWP apps are deduplicated across all users on the same system so when user #2 installs the same app already installed by user #1, it will just point to the same existing shared instance of the app's files. I don't know much about MacOS but I'd guess there's a similar packaging system. These systems also incorporate sandboxes which address the other problems you mentioned in your last paragraph.

The problem is just when the OS teams can't convince other developers (even ones inside the same company in Microsoft's case) to actually use their packaging and sandbox systems.
This reminds me of the book The Goal by Eli Goldratt. It's fictional, but there's a story about a boy scout troop that goes on a hike, and there's an overweight kid named Herbie who hikes the slowest. The troop leader teaches everyone that the entire group as a whole will reach the top faster (and stay together) if they keep Herbie in the front.

When you have a bottleneck step in your process, the whole end-to-end process will run the most smoothly if everything else matches pace with the bottleneck.
Why would you want the cops to be overly aggressive to someone who, even in your hypothetical, hasn't committed a crime? Do you foresee any consequences that might arise from encouraging this behavior from cops towards the most powerless struggling members of our community?
Fantastic project!

For someone looking to learn more about signals and audio processing DFTs FFTs etc any good material people can recommend?
I've completely forgotten my Uni CompEng Signals and want to revisit it.