skysight-inc/HackerNews huggingface dataset:
Big-O is a way to talk about scaling, but in general, the average CS program does a disservice by not talking more about the critical question: "of what?" Bright students will connect their algorithm course with their systems course and recognize that, maybe, ALU ops aren't a very useful measure in a real world context. Interested students may take a rigorous complexity theory class that will get into various computation models and their nuanced interaction with time/space/communication complexity. However, enough students seem to go through a CS program without learning this that I'm convinced this is a failing of the curriculum and not the students.
While the performance of Erlang was not the best between the contenders, I really like the behavior of Erlang here: load makes almost no difference in latency, so while you're serving less clients, you're guarantee to be serving them well.

This is a much better behavior than having random spikes in latency, which translates to a small but significative amount of users complaining about that your application is slow. Erlang is the contrary, every user should have the same experience, nonetheless of the load of the server.
Getting hit by a car is the leading cause of death of children[1]. Its not helicopter parenting its knowing that more kids die from cars then by any preventable cause. Anyone with kids knows the danger having kids on or near busy roads, and because people insist that they _need_ to have the convenience of a car right now and not in 5 minutes we make it so our kids can't walk to school or the park without them getting hit by a car going too fast in a residential neighborhood.

1. https://www.qualityhealth.com/childrens-health-and-parenting...
This is good advice. Execs usually don’t notice until people are gone more than two weeks.
Another great question. So Airflow is used at Lyft for ETL. I think for traditional ETL it still is a good fit. But, there is an effort to not just migrate, but rethink how we can leverage Flyte's capabilities to improve our ETL experience.

But, as it exists, we have a FlyteAirflowOperator, so that users can easily connect their Airflow pipelines with Flyte and write the new ones on Flyte alone.

Stay tuned for developments on this front :)
Well maybe all you need to do is survive the Avian flu from the bird poop transplant...
Haha, thanks. Too much political investigation news for me these days. What the hell does working at FAANG in your 40s have to do with the Intelligence Community?
"So there is an information-theoretical limit that is still worth thinking about"

So, technically, sure, but doesn't the busy beaver sequence imply the potential of anything more complicated than a 5 state turing machine is literally unimaginable? I mean, unimaginably huge even as a multiple of the size of the universe.

https://en.wikipedia.org/wiki/Busy_beaver
Monitoring performance the easy way: HAProxy to the rescue
Ironically, the section labeled "What FloatX is NOT" tells you more about what it is than what it isn't.

Its a system for emulating narrower precision floating-point arithmetic using native machine-width floating point. The author's claim that its much faster than using the integer unit for this purpose.

Boost::multiprecision and MPFR are libraries to execute higher-precision arithmetic, commonly using the integer hardware to do so.
it seems like every day there is a new 737/747 plane headline on hn. what gives? is it that interesting??
Interesting timing to say the least.
So far (been about 9 months), I like being an IC a lot. I still get to be a leader and mentor, but have a lot less paperwork to fill out come review time! I always enjoyed the coding part of the startup CTO job more than the manager part anyhow. I feel that if I ever want to get back in to management, either at my current employer or somewhere else, I'll be able to make that transition pretty easily.

But if I go full-time manager, I don't know how easy it would be to flip back to dev / IC.
If you squint very (very) hard, Kotlin can fill that role. You've got algebraic data types via sealed classes, a weaker form of pattern matching via `when` expressions, and decent facilities for higher-order functions.
737-800, not a MAX. ALJazeera has better detail than the linked story.

https://www.aljazeera.com/news/2020/01/ukrainian-airliner-cr...

Here's the specific tail number / aircraft: https://www.flightera.net/planes/UR-PSR

Crash site photo: https://twitter.com/isna_farsi/status/1214762556289667077
Because we've been brainwashed into thinking we aren't brainwashed and only others have been brainwashed. Also, people love to feel superior and enjoy paternalistic condescension.
The Miseducation of the American Boy (2019)
This is crash just happened.
Europeans plundered and enslaved the world for centuries and now act incredulous that anyone does not have the wealth at their disposal to dole out to their unproductive citizens.
What a bingo card of an article. Iran, Ukraine, 737.

Synchronicity (or pareidolia?) makes me want to think there's intentionality here, when in reality it's probably just a tragedy.
Headlines aren't crashes. Not much info on this accident so far. If that was 737 Max 8, things are going to get MUCH worse for Boeing.

Edit: Max 8 is still grounded, my bad.
My MDR V6 might be the perfect headphone. It's the only pair I've tried that are pretty flat and have perfect separation. Shitty mastering can't hide from these cans.

The only problems are the original pleather earcups wear off ($15 replacements are everywhere online), and the cord is pretty long since these are studio headphones. Some people cut the cord by the earpiece and splice a female end, but that's a little beyond my skill set.
No matter what happened, it is a tragedy.
Iraq, UAE and Saudi Arabia are the ones I'm aware of, with the situation between Iran and Iraq being complicated but not directly hostile.
As if things could not get even worse for Boeing. Double the attention from the press, and I'm sure it'll also be misreported to hell and back. They might even have to fire the bean counter CEO they've just appointed.
Considering the current climate, be interesting to see who was on the plane and/ or what the fallout from this is.

Assuming this isn't some kind of political attack, you have to wonder how much this is due to Iran's inability to trade due to sanction would impact its airlines ability to get updates to their aircraft. (Update: Not an Iranian jet so likely not an issue)

Which suggests Russia might be at the heart of this. Back to the original question about who was on the plane.
I think I'd rather solve real problems than some basic algo I'd never bother to write myself. If Google just wants basic algos and will likely filter me out during interview because of that, I'd sooner not bother. This is probably why big companies complain of talent shortages. Also why they forget real people and start going on very strange tangents. Stupid filters. Good.

I'll stick with creating actual solutions for real people with real problems. So much easier. shrug
Am I the only one here that doesn't have any problem with my home SONOS system? My family constantly plays music in most rooms of the house using a Spotify premium account. It's been a godsend, and it truly makes me feel like we are living in the future. All the sueing and inter-corporate politics is a little annoying to hear about, but I still listen to the speakers daily without giving it all much thought.
The low hanging CRUD apps may have been done but there are still less low hanging CRUD apps like Flexport (rails) and the advance of AI is opening up loads of new opportunities.
I wonder if the "technical" issue would have anything to do with measures we (the US) may currently be taking against Iran?

Could just be a Boeing related error, but that is definitely one of the hottest places in the world tonight.

Edit:

Just so this isn't misconstrued as me implying that the US shot down the plane or something, I meant some sort of passive signal scrambling type thing that would confuse instruments on the plane.

Not knowing a lot about the technical possibilities of all this, just wondering.
Apple issues wired headphone with each iPhone. They connect through Lightning (the same slot you use to charge and sync the phone).
Are you seriously implying the reason America doesn't have public transport or the other public amenities Europe does is because they don't have the money?
If a company has recurring troubleshooting issues, eg. "we need to know which process is taking all the CPU/RAM/IO", why wouldn't they add a script when they provision their machines with puppet or whatever tool they use?

Then instead of having to remember how to check all these things, they just run "find_resource_hogs.sh" and voila. It also enables other people to troubleshoot without specific knowledge.

Of course you don't want to put anything in there just because it might save 10 seconds, but then https://xkcd.com/1205/
I can walk where I want when I want. I can bike where I want when I want. I can take a train or a bus where I want when I want, I guess with the exception of like the middle of the night.

Your argument is kinda bad.
Yes. The 737-MAX breaks a history decades of planes not generally not crashing, and introduces instead a plane that tries very hard to crash with hundreds of people onboard. The process and leadership errors and regulatory capture that led to that afflict tech companies as much as any other. It’s going to remain news for some time to come.

ps. I flagged this post. It has no content and doesn’t deserve to be on HN yet.
Interesting to note, that software is in the process of eating the automobile industry.
There's almost no information here—not nearly enough for a substantive discussion. We should wait until more becomes available.

On HN, there's no harm in waiting: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
Because about 100 years ago, the auto industry responded to a surge in murder by the new automobiles by forming auto associations and using those to change local laws to outlaw behaviors leading the victims to die. Like the newly-minted term "jay walking." And over several generations that became such a firm part of the status quo that we can't even imagine it some other way.

Compare with electricity, a danger that Edison terrified everyone into enshrouding in standard safety features to protect the public.

Both were set in place by a popular sentiment driven by industry manipulation. That's why. Next question.
It'd get much worse because they aren't even supposed to be flying currently.
SEEKING WORK | Dubuque, IA USA | REMOTE ONLY Full snack JavaScript developer well versed in React.js, Vue.js, Node.js, GraphQL, React-Native, Webpack, Docker, and Dokku.

I eat sleep and breathe JavaScript. So much so that my license plate is NODEJS https://twitter.com/joshmanders/status/853640782460456960

I've contributed heavily to open source both in tools I use, and my own code being open sourced. You can see my github profiles at https://github.com/joshmanders (personal) and https://github.com/aniftyco (my company org)

I'm building an application performance monitoring service on top of Google Lighthouse you can see at https://appmetrics.co

I'm available for whatever you need. If I don't know it, I can pick up on it quickly to get the job done.

Email me josh@joshmanders.com make sure to mention this thread.
You said 20ms of latency is fine for media playback.

In my actual use case, IT IS NOT. I'm playing ALONG with that music. And that music is piped into the SAME SET OF HEADPHONES as my guitar is also run into the computer. The latency of what I will hear music-wise, try to time along to, play, and then hear my guitar played back to me, would be roughly 40 or 50ms because of the additional input lags. Absolutely unacceptable to any serious musician. Add another 150ms or so if you're trying to hear your guitar by simply selecting the garbage "Listen to this device" option in the Windows Sound Mixer of any vintage after XP, as opposed to trying to listen to your guitar and time it with everything by unmuting in your sound card drivers for practically zero latency (if they even offer that option. It seems to be getting rarer and this was bog-standard on regular onboard audio back in the day.)

I've already tried this with Bluetooth before. This is why I already know about this in such depth, and have a mixer board hooked up to my computer, where everything is hard-wired and pretty much latency-free. Bluetooth simply isn't there, and likely will not be any time soon.
737-800 https://news.ycombinator.com/item?id=21988137
Not sure yet, but it looks like it might be this flight:
https://flightaware.com/live/flight/AUI752

no further data updates and last reported altitude of 7,350ft at 277kts. Keep in mind the airport is at 3,305ft
Integration and Unit Tests with TDD in Rails
Ok, we'll add 800 to the title above.
I'm totally aware of Rustler :) but it's a nice tool to share! I was mostly trying to speak to the real world environment where you have a simple routine or interface already prepackaged and you want access to it... Not that you can't use Rustler, but just being able to access the C interface directly is comforting (and sometimes easier than adding another compilation step between them even if it is _safer_ (e.g. prototyping)).
It's funny to see how different the various people here have on the definition of "trivial". 10 years ago, I generated MD5 collisions in a few minutes with a tiny little executable I downloaded. That's what I call trivial.

If I had some DES-encrypted files that I'd lost the key to, and they were important enough that I needed their contents, I would probably be happy that I could crack the key today and recover them if I spent enough, but doing so would still not be "trivial".
If you can afford them, cars are just better than public transportation. They are faster and it’s much easier to handle children, luggage, or groceries in a car. Uber also solves the parking problem. It would be nice to have zero road deaths, but getting there by renouncing cars is going backwards. Instead, we should have safer cars through better technology.
If you include any Murdoch property in that list, you need to revisit your list.
Seriously.

180 people crashed in an airliner. Even for HN, have a little compassion.
It really is. I don't know where anything is in the settings submenus anymore.
A plane crash from an american constructor in a country that was just attacked by US army is rather interesting. Then maybe it is not related to any "hacker" topic, but the potential engineering fails behind the boeing 737 Max is probaly rather interesting for "hackers".
Try going camping in a remote area with those methods. Won’t work. Different people have different transportation needs.
Better technology can't patch human issues unless you're able to remove the human. Self driving cars are still not here.
JFK Moon Speach
For me, a media server:

(1) Pulls media metadata automatically

(2) Can serve content to a variety of clients, including smart phones

(3) Provides user access controls for when you want to share your content with others

(4) Can transcode media on the fly for clients that don’t natively support a media format

(5) Allows you to logically split up your content into libraries

(6) Provides powerful search capabilities using metadata (e.g., by actor, by genre, by director)

(7) Provides support for audio as well as video content
Roberto, this is absolutely one of our goals. When we started, it was with python2.7 still around. We would love contributions, ofcourse we will work with you and adapt it
What's so "abrasive" about non-lethal border security?
Some people have larger distances to cover. I can’t walk to Carrizo Plains on a weekend. Can’t bike there either. No busses, and definitely no trains. If I want to go where I want to go, I need a car to get there.
(Oh no!) If the truck almost hit, the airplane actually hit.

(Oh yeah!) If the WTC was standing maybe oil would be cheaper.

(Oh no!) But, if oil were cheaper, we would be that much further away from adopting alternate energy sources like solar.

Reminds me of the quote (forget the source) -

Nothing is bad.
Nothing is good.
Everything just is.
We have a decades of prior history knowing that Apple doesn’t sell much of anything without a large profit margin.

Besides there are plenty of almost as good knock offs st half the price.
This is fascinating, but also somewhat orthogonal to the argument, assuming there was nothing I missed when skimming that paper.

The paper itself describes farming practices that are more sustainable, and possibly more efficient after introducing a new formula to measure efficiency. I'm not sufficiently well-informed to critically assess the formula given, although on the surface it seems fine.

To clarify my original assertion, modern farming equipment with the latest technology as employed by corporate farms increase the efficiency of industrial farming methods vs. farming equipment being used that's 30-40 years old.

There are a few common metrics that I use to base my assertion on, that is gallons of fuel used per cultivated acre, as well as yield per acre. From those, one can derive yield per gallon of fuel and subsequently carbon emissions as a result.

I'm not suggesting that represents a lifecycle analysis of the entire crop, but I think it's still sufficient to evaluate the impact of modern equipment vs. aging equipment.
> You trust your processor/chipset/mobo enough to do your bidding and not leak the sensitive plaintext data your app is processing.

But you don’t trust that hardware enough to give you entropy via RDRAND?

Yes, because hardware that "leaks" app data would have to do it in ways that are easily detectable (for example, if an instruction to write a certain byte to one memory location also wrote it to some other location, or to an I/O port or a device driver). Whereas a compromised RDRAND can be undetectable--the bits it yields look random and pass all the tests I can give them for randomness, but are still predictable by the attacker.
Can you illuminate me as to how I am “using the term fact so casually”?

The facts in this case are easy to discern: they are numbers reported by NSW Police. The basis for those numbers is irrelevant: the only fact here is a media release from the police containing certain statements, and the claims made by certain agencies reporting on that media release,
It's easier to browse and stream to other devices. It can also help organize your files and retrieve metadata about them.
If that were true, sure. But I don't think it's so much better than other sensors for that to be a plausible scenario. Not my field though, so take it with a grain of salt.
There is money, yes, but unlike in Europe the people who have money had to work for it.
How exactly would this particular trade-off increase total deaths? Do you think this is happening in Oslo?
Facebook security threats and their prevention
https://www.flightstats.com/v2/flight-tracker/PS/752?year=20...

Interesting it's showing as en-route.

n/m. Bloomberg updated it with better tracker.
https://www.flightradar24.com/data/flights/ps752#23732569
None of the tested webservers were returning 503.
More subtly quality of life decreases need to be accounted for.

How many marginal person-years spent in traffic, or on less efficient alternative transport, is each road death worth? How many dollars per capita per fatality is appropriate (for e.g. infrastructure improvements.)?[1] Such absolutist and naive policy motives run the strong risk of making society worse, not better.

[1] I make no claim that we are at any optimum value, only that the optimum value is not 'no one dies on the roads, costs be damned'
Flashy movie posters you can idly browse through while you are curling up against your significant other.

There's a real emotional difference in clicking on a movie poster rather than squinting at text in a list of folder contents.

Additionally the media server will generally pull lists of actors, directors, and other related works, as well as holding your place in the episode or series if you are working your way through a TV series on the weekend. "What episode where we on?" becomes a rhetorical question rather than a debate.
Any recommendations for a remote control when using it as a HTPC? Didn't see anything on the site but it's not specific to Jellyfin and IMO that's just as important as the media software itself.
Sadly, this is true generally in tech whenever an implementation evolves past the abstraction. The alternative is that CPUs get faster, but only if all programs are rewritten for the new architecture. Arguably, this has happened already on a market-by-market basis, several times, with no end in sight :)
On one hand yes, on the other the company wouldn't exist. Regulators are important, but they also serve incumbent interests as they raise the barrier to entry for newcomers. It's a way to pull the ladder up behind you once you've achieved success. I don't know how we can better balance those seemingly conflicting aspects.
Grabs metadata for shows and movies (episode titles, actors, summaries, thumbnails, etc)

Handles organization and searching for various media

Additionally, clients available for smartphones and Android TV devices.

And most importantly for some people is being an endpoint for accessing their media remotely
The default hash functions in most C++ implementations are surprisingly slow—implementations tend to aim for hash quality rather than speed.

I can be totally wrong, but I suggest trying a simpler hash such as FNV. It might outperform the sort-based approach.

I also suggest replacing the hash table implementation with something better, such as absl::flat_hash_map. The C++ std::unordered_map is hampered by compatibility requirements: the designers wanted these unordered containers to be a good substitute for the preexisting std::map, and necessitated certains design decisions such as pointer stability which is not necessary for most applications.
I switched to ff a couples years ago and up until the last few months everything has been great. Now a lot of important sites don't work because the content security policy is completely inflexible. It should allow me to make exceptions on sites I chose. I've had to install chrome just for a couple sites and now its just easier to make chrome my daily driver again. The ff team should consider making the CSP flexible.
I have them and absolutely hate them. Syncing issues a third of the time that are not easily remedied. I usually just use the wired version, which also gives me volume control.
> Cars only represent freedom when you live in poorly designed suburbs.

No, cars represent freedom if you live anywhere other than a dense city. Which is most of the usable land area of the planet.
Compiler Construction Using Java, JavaCC, and Yacc
Book by Anthony J. Dos Reis

Uses similar approach with much more details on theory and implementation. I learned so much from this book. It teaches you to write a hand written compiler and by using tools like javacc/yacc as well. But I really love how the author explains the knots and bolts on creating a hand written compiler. Get this book if you're interested in creating your own parser/compiler/interpreter. Improve your programming skills by answering the exercises at the end of each chapter. I promise, you'll learn so much from this book. Good luck.
Memory latency is everything once a hash table gets big enough. Anytime you see 100ns you should think, random read from main memory!
I was going to comment the same thing. I moved from F# to kotlin and have about 80% of what I want / used from F#. With more tools eco system that makes management happy. Arrow adds to that, with it's library and compiler additions.

I have also been building type providers in Kotlin. Where a gradle plugin scans a file / schema then generates types and DSLs off of it. It's a pragmatic functional language.

The biggest catch to me. Is there are very few places using Kotlin in a fully functional style. On the back end more often than not you'll find Spring. Which undoes a lot of these features / patterns.