skysight-inc/HackerNews huggingface dataset:
With great power comes great responsibility :) Having the flexibility to build persistence yourself is great, it comes at the cost and responsibility of continuously maintaining it! We have run into so, so many edge cases. Here are some examples:

1. What do you do when a user with email "foo@example.org" has already signed up, and now is trying to sign up using Google with "foo@example.org"?

2. How do you ensure that a user can update sensitive information (e.g. their recovery email address, or linking additional "Sign in with" providers) while keeping a balance between security and user experience?

3. What if you now want to add biometric auth for native mobile apps, or 2FA?

The complexity in building your own is not starting with the first 10%. As your app and business grows, teams are faced with ever increasing requirements. Leaning on an established open source provider built by experts in the area just saves you so much time, headaches, and potential security oversights!

> What Db does Ory use? Should we set up our own.?

We support all prominent SQL systems - so PostgreSQL, MySQL, CockroachDB, SQLite, ... - and of course all cloud SQL vendors. You can also choose to run Ory in Ory Cloud, then we take care of all of this for you!

> Also, authentication and authorization are core for an app. If we do authentication here, how does authorization work? Can I bring my own authorization like oso etc.

Absolutely! We have a project for this also: https://github.com/ory/keto

Hope this clarifies your questions!
I'm based in HK so prices are definitely lower since I can order directly from taobao. The purifier was around 350 usd, it's the Mijia Air Purifier MAX Enhanced Edition.

For the sensor, I used an ESP32 with a small eink screen (from lilygo) with a sensirion SPS30 sensor for detecting particles (see this very good teardown https://www.mistywest.com/posts/teardown-sensirion-particle-...), a sensirion SGP30 sensor for detecting VOCs and a BME280 to measure temperature, humidity and air pressure. I think total cost is roughly 60 usd. ESPHome makes it relatively easy, see this guide for a similar setup https://neon.ninja/2021/11/breathe-better-with-this-indoor-a...

Hope that helps, it's a fun project to figure things out (it was my first project with ESP32).
If the source here is The Sun then we should really not take it at all seriously. The Sun are about as reliable as Reddit comments for factual accuracy.
Are there compression algorithms that take longer than O(n)? My impression is that even two-pass encoding is O(n) with a large constant factor in front of it, but I’ve never actually thought this much about it.
Web3 has to solve the problem of aggregator-wins
>So why can't Visual Studio compile to something that works by default on the Windows of the target audience without requiring them to install those additional DLLs?

Since Windows 10 it ships with Universal C Runtime, which is used by VS2015+. System software uses these runtimes too. For Win7+ it was added as system update, though MS later relented and said it was fine to copy-paste all the api-ms* libraries from the SDK into your application directory so it also works on outdated installations.

In the past it was different though, as system software was compiled against MSVCRT.DLL, but you wasn't supposed to use it and instead use version specific DLLs shipped in "Visual C++ Redistributables". Though going back to Windows 9x there was a time when MSVCRT.DLL was the library that was supposed to be used by applications. See http://bytepointer.com/resources/old_new_thing/20140411_092_...
I'm in the USA. I generally think of Americans as incredibly selfish when compared to other cultures. But I was homeless and hungry and I've been surprised at the generosity of strangers to help me out.
Arch Linux running alongside Windows XP on the same FAT32 partition
Which is why the author is positioning it as an alternative to PNG, not JPEG.
You can expect a core dump.
To Mr. Adams - what sort of games would you make today if you were starting from scratch?
(Non-native English speaker).

In an optimization problem, there can be global optimum and local optimums. He says that global optimum is not enough for supply chain, because lower layers money will be sucked by upper layers and chain will break, because owner of sucked business will park his money somewhere else, so each level must operate at a local optimum.
Oh my god!!! Sorry to react like this... Other people already commented that... That is sooooo much disconnected from reality it shows you never went to a factory floor. You never seen anything being produced in mass scale. Even the poster wall robot arms doing welding work need hundreds of people taking care of their set up, maintenance and much more. And those are complex machines. Even simpler machines such as steel presses that take in steel rolls and make steal parts of all shapes and sizes (e.g. car breaks, fridge doors, anything with steel actually) take a huge amount of set up work, management and maintenance. In Germany (which I know well) you see plenty of kids (18yos) in factories learning all these detaild skills from older workers. Takes them some years to become good and they are very sought after. Companies do worry if can get good high school kids to take their aprentiships. This has ZERO to do with higher math or bachelor's degree engeneiring education.
Well, llvm-config is 719 lines with few comments. At least it doesn't have to use COM and the registry, though.
I worked at Lutron my first two years after getting my EE. I wasn't on the wireless products but we did do crazy amounts of fussing over fall back behaviors and corner cases. We very much developed the software with the attitude of hardware: we knew what we shipped had to work for years and field updates were unacceptable.

I've been gone from Coopersburg for 15 years but I still practice the engineering culture I learned there.

Fun fact: I don't know what they do today but when I was there it was a long standing tradition that engineers put in some time on the customer support phones. That way you get direct (and sometimes very unfiltered) feedback from users and their expectations on your product and understanding of the instructions you wrote. So if you call the 800 number it's not going to India and you might get to talk to one of the (lower level) engineers that made the product!
There is a music band named "A" (literally just one letter name). Good luck finding them.
Absolute gc throughput and overhead.
No. Select books for K-12 curriculum or school libraries is far far away from banning books. Please stop the fear-mongering.
Or buy them online for $15

https://www.sparkfun.com/products/12708

Following hobbyist-directed instructions that are, also, readily available online

https://create.arduino.cc/projecthub/embeddedlab786/real-tim...
UC is 'solving' this by using 13 factors, allowing them to pick students without reference to objective criteria:

https://admission.universityofcalifornia.edu/how-to-apply/ap...

This will allow them to achieve any desired demographic/ethnic mix.
Yes, but it seems that the terms give the VC the power to do whatever they want, and so you are really just hoping they won't hurt you, and you have no way to protect yourself if they choose to. Why would a VC not strike a deal with a founder, fund 2 years of your blood/sweat/tears and then when they feel like they've got enough value from you, simply take away your equity and fire you? Isn't that just good business? They get to have their cake and eat it too. If the only thing preventing this from happening is the good will of your counterparty, when would it ever be a deal worth making? Even if you like your investor, or they like you, they could always sell their interest to someone who doesn't.
An employer is a soulless construct that exists for the purpose of extracting as much value from the world as possible in order to deliver it to shareholders. I hesitate to call it 'psychopathic' but it's not at all bound by human morals.

Trusting any given company is akin to trusting a snake not to bite you if your hand smells like a mouse. You might like to think there is some affection there, but you're simply anthropomorphizing something which is incapable of more than its nature.
As someone who knows nothing about aviation or engineering I’m a little surprised that a “rain cover” for a fighter jet engine is even a thing. Does that mean these jets can’t fly in the rain?
Only so that I could check the box on forms to say I had a High School Diploma/GED.
I think this is sort of like how male nurses are (I think) more common in India than the US. When the availability of high paying jobs is limited, then the desire for a high paying job trumps both nature and nurture and people pursue it. When there is the possibility of high paying jobs in a variety of fields, then people act more on preferences which are grounded both in nature and nurture to varying degrees.
Agreed. In the past, people have been sucked into the intake of jets on a carrier, I don't think a canvas rain cover is going to be able to block the intake. At worst maybe it'll scratch up the blades on the way through. Hell, I half expect the covers are designed exactly so they aren't substantial enough to damage the engine if they get sucked in by accident.
I'm not sure that's true.

Gamblers often have various reasons for continuing to gamble, but very few of them EXPECT their next hand to be a royal flush. For most of them it is exactly the case that 'if I keep going, eventually I will get a big win that offsets my losses'.

That I suppose is a type of taking risk, but I think OP was not being quite as blunt.

In a situation where you have 10 companies each with a 1/10 chance of 20x growth (and a possibility for better) or 1000 companies, each with 1/1000 chance of 5000x growth, which would you pick?

While theoretically, the two situations are similar, and given an infinite amount of money and investment opportunities, the second situation pays off better, the first is more likely to yield returns in the real world. Most people would probably call the first one 'taking risk' and the second 'gambling'.
The Lutron Pico line is really nice, probably because it’s a commercial grade lighting controls line.
Why did you cause me to have childhood nightmares about chiggers? I didn't even know what they were, growing up in New England, but they scared the heck out of me at six years old. Thanks for that! Actually, honestly, thanks for sparking my imagination enough to want to code my own text adventures, which began my life long love of programming.
None of it makes any sense at all.. there's no way one of those covers can stay on during engine startup without a million warning lights going crazy in the cockpit, there's no way the cover could possibly not get ingested during an engine runup.

And this was a carrier takeoff, so the engines would have been held at maximum thrust prior to launching off a catapult and possibly would have been run at afterburner as well. The inlet flow for that would develop far more than 14psi as the volume of air ingested is enormous. The mass of air ingested is measure in tons per second.

I think this is just incompetent journalists. Not that I've ever done pre-flight on an F-35 but there are probably MANY protective covers that have to be removed during preflight.

It most likely was another cover left on which did not impede takeoff but threw the systems for a loop after takeoff and the pilot wasn't well trained enough to figure out an emergency procedure on such short notice.
Nobody’s calling for banning books. They are calling for not using certain books in curriculum, which is very different and not allowing certain books is necessary for any school system. I wouldn’t want my kid to write “A kid’s version of Algebra” and then have it used in schools. I wouldn’t want a flat-earther to have his Science book in schools. Who wants Trump’s guide to Civics? That’s super different than “banning books” like it’s 1940s Germany or something.

EDIT: Some are saying that this would also apply to the school library. This, in my view, doesn’t negate the schools need to discriminate between content in the least. I would not want a flat earther science book in the curriculum or in the library.
> California’s COVID transmission rate is higher than many states in the South, most of which have fewer pandemic restrictions, according to data from the CDC. As of November 21, California’s seven-case average was more than twice that of Florida, despite Governor Ron Desantis’ state orders banning mask and vaccine mandates. Similarly, as of November 11, California’s seven-day death rate per 1 million people was eleven times higher than Florida’s.
The article links to a Sun tabloid news article as a source, and the BBC article/a defense minister who said:

> Mr Wallace added that operational and training flights onboard HMS Queen Elizabeth are continuing despite the incident.

and presumed the root cause was well-known.

Since they used the Sun, maybe take it with a grain silo of salt.
Natural proclivities is a post hoc rationalization using the sociological process of reification. The process of gaining knowledge assuming a social construct will always suffer from a tautological fallacy. Any attempt to break the cycle is a epistemological illusion.
I was answering a question about grades, not tests.

Also "demonstrate rigor" absolutely does not imply tests. In my undergrad (math) the level of rigor of tests was uniformly (and necessarily) much lower than homework and other assignments without the same time pressure. I would expect the same to be true in many other fields.
MMFewShot-A New Member of OpenMMLab
We're excited to announce a new member of OpenMMLab, MMFewShot! MMFewShot is the first @Pytorch -based few-shot learning toolbox that unifies extensive few-shot learning algorithms into a structuralized framework.
See how you can use MMFewshot to power up your research.https://github.com/open-mmlab/mmfewshot
Possibly you answered your own Q there? ;). Using scripts, Linux plentifully in a front-end job, might indicate being a bit more full-stack than you call yourselves, and hence, you've got some long-life skills alongside the Angular/React/whatever. I'm not saying everyone ages out of it, just I'd seen it as a thing for some people. I speak as someone now a bit old for tech (late 40s) , yet somehow managing to have a marketable skillset, some of which is ancient yet always applicable. Maybe being a purely front-end dev is safe as long as you become a vim expert in the process. ;). (not entirely joking here actually!)
Ultimately, anything above basic necessities (food, shelter, clean drinking water) are toys, or supporting the creation of toys.
one huge issue with a lot of technical and product debt is that any re-write gets saddled with a huge dam of expectation bursting. Many people who have been told they can't have their feature for years because the volition of the software team has been close to zero (hence the rewrite) for so long suddenly push their demands onto the new product. Its hard for a re-write to focus on an MVP as a consequence.

Arguably it can be better to float a completely different boat and see if it swims but that can result in a product positioning problem where you then have two versions of the same product but with an uneven feature set.
It didn't state 99th percentile on the form. It specifically says 99%. And at the bottom it explains that 99% is the highest mark and the results go from 0% to 99%.
I was approached by Byte Magazine to do a feature article for them. I included my game source code in it as I wanted to share the technology I had developed with others.

Sadly there were a number of typos when they transcribed it into the magazine. Yet many people were able to press through and debug it to get it work which was pretty amazing.

My thought was we are all standing on the shoulder's of those who went before us. By helping each other we build towards a better future.

I have received a load of fan mail over the years from folks who have now gone from being fans to being friends. One of the major threads in most of the emails was how my games or gaming systems made a big impact on their life.

There are literally a number of very well known gaming companies now, who's founders have written me about how my early games were an ispiration for them.

I had no idea at the time, but God was using me through the gift He gave me to inpsire others. It is wonderful to be able to see that happen!
Literally the only two things leadership should do to be above the mean:

1. Clearly define a vision for the future/ goal(s) that should be achieved

2. Get out of the fucking way of your minions, and trust that you hired correctly, to let them figure out how to get to the finish line

Bonus Points:

3. Your temperament is in the Goldilocks' zone of neither being too much of a spendthrift, nor too much of a miser, when setting budgets, i.e. you're not some rando without P&L experience that was tied to your bonuses.
Why won't Tom include this in his estimates to begin with? Did Tom forget?
The military is bored and loves to spend money on shinies.

Everyone works hard to un-learn the most important lesson of war: In war, more of something beats less of something.

And it isn't simply a "morer is betterer" argument, even strategically if you can place assets in multiple concurrent locations even if those assets are "dumber" then you're forcing the enemy to split their force into multiple beachheads.

Embraer EMB 314 Super Tucano ($18M~) Vs. F-35A ($79M~). One F-35A obviously beats one Super Tucano but does it even have enough weapons onboard to beat 4.3? What if you split your Super Tucanos between two locations, which one is the F-35A going to defend?

And the Super Tucano is even the endgame here, the endgame is drone swarms. $1M~/ea and you have a 79-1 ratio, and it is indefensible and laughably so.
> When the pixel density of your screen is high enough, sub-pixel rendering stops making sense

I wonder if the prevalence of Retina displays across the Apple product line coupled with the prevalence of rotatable displays from iOS devices made them go towards something consistent across the board:

because 90deg rotations really doesn't play well with subpixel rendering, doubled down by having to handle four different orientations with a single font and have it display consistently on a single device, it makes sense to go with simplicity and walk the antialiasing route, and since you have Retina basically everywhere, well, just flick the switch everywhere as well.

I seem to recall (years ago, so memory may fail me) some blog post explaining how dropping subpixel rendering also allowed for some major cleanup in the Cocoa/CoreSomething rendering code.
The examples they provide for root cause analysis are actually trying to assign blame, rather than find the cause.
I can't really speak for the tax, but QoL is pretty good in London. Compared to the other cities I've lived in (>9mo in Glasgow, Portsmouth, Manchester, Sheffield, Southampton, Austin, Berlin, and Hamburg), the city has everything. It's more expensive than all those other cities, except maybe Berlin, but compared to similarly sized places it's not bad. Factoring size and location, the equivalent of my 1 bed flat in Clapham would be about 120% more in NYC.

London has one of the highest percentages of green space of any large city (33%), excellent public transport, some of the best music and theatre in the world, options in all British sports supplemented by regular visits from American leagues, excellent (though not leading) restaurants and speciality food markets, and more. You can't discount the English language either.

Regarding Brexit, at the moment it's kind of hard to say because COVID (and the ongoing collapse of the government) has muddled its economic impact so much.
If you examine the news he covers he’s pretty balanced with slightly more left than right (both hover around 40%).
The issue here isn't so much over or under-engineering, but rather "Are we building the right thing?" or "Are we building the thing right?"

In a startup you don't know if you're building the right thing so trying to build it right is premature optimization. Since you have limited resources you really have to focus on ensuring that you're building the right thing...if you aren't it doesn't matter how well designed or built it is no one is going to use it.

Once you've validated you're building the right thing you can start focusing on building it right, but by they you probably know where the pain points are and where you need to spend the effort.

The trick with this though is that everyone needs to be aligned on that approach and be honest about the fact that corners may be being cut to get something working fast. Where I've seen this go badly is where a crappy initial version was built to get to market fast, but then no time was made available to address the defencies in the initial release.
How much do you need to worry about the GC causing frame stuttering when writing games now? Object pools are still important?
My experience as an outsource partner with them 9 years ago. DBS only employed Project Manager and outsourced all their technical stuff.
Yes the working hours is very long.
Because: https://zachmortensen.files.wordpress.com/2013/08/microsoft-...

> Also, given that Windows comes with pre-installed programs that were written in C++, how did those programs get compiled to not require those Visual Studio dependencies, are MS not using Visual Studio themselves internally?

They do, iirc Windows pretty much always came with "unspecified" versions of the MSVCRT "for internal use only". Also, iirc, at some point Windows took some steps to remove those from the default search paths or something.
JPMorgan CEO Jamie Dimon Apologizes for CCP Joke
Now add the expected maintenance costs over the life of the aircraft.

- How many hours of flight can the F-35 do before it needs to be hangered?

- How long does it take in the hanger?

- Can the F-35 even go supersonic without ripping off its anti-radar coat (thus becoming more visible as soon as it decelerates?)

- given the cramped space, how capable are aircraft carriers at F-35 repair? How many can they do at a time? What is the duty cycle of the F-35 on a carrier?

- Is the plane even finished the design phase?

The US should have bought 500 F-22 and given the Navy its own carte blanc design skipping the F-35 altogether.
I'm sure you could train dogs, monkeys, or parrots to reasonably reliably perform logical operations. From that you could build a simple processor, but the error rate might be too high for it to scale much. It's not so much getting them to do the tasks, it's getting them all to reliably do them at the same time in synchronisation.

Of course as with the guy in the Chinese Room that doesn't speak Chinese, none of the individual animals would have any idea what the overall system was doing.