skysight-inc/HackerNews huggingface dataset:
That's a fair question. The shell has been around for > 8 years (and been my primary shell for around 5 of those years) so it made sense to integrate it into the shell because I could then leverage the existing code that transparently handles different data formats. That shell also sends metadata about the documents being piped which means you effectively have typed pipes (like Powershell but backwards compatible with POSIX tools). So it means you can do more with the table afterwards too.

And since the shell is already good for handling structured data (like `jq` et al but not limited to JSON) it also made sense to allow inlining of SQL for when you're working with relational data.

An example of this last point is a recent problem I had at work where I wanted to see which users had 2FA enabled. Unfortunately this service provided a user list API (returns a complex JSON document) and a separate user meta data API (again JSON). The meta data didn't have names on it and the user list didn't have 2FA details on it. So I had two JSON documents that weren't tables but ostensibly held relational data. Using the shell I could convert the two JSON documents into two tables and then use the SQL inlining `select` command to do the relational query. The whole thing was 3 lines of code whereas to do the equivalent in Python / Typescript / etc would have been much more verbose.
No. The PRNG does not take an arbitrary large input and generates a digest/checksum.

The PRNG accepts a single (short) input - a seed used to set the initial state. And can then generate a large number of values by updating the state.

This is almost the opposite of a hash function.

You could build the state update function using a hash function. But that does not make the PRNG a hash function.
Ok, but how do you get a job then?
I hate those take home assignments as well. I work for over a decade in the industry, if they don't believe me that I can do basic stuff, it's just annoying.
But I am not aware if any company who does not do that.
They all just copy the hiring process of the big companies. "What works for Google must work for us too".
And that's just not true.
Google has thousands of applicants per day, the average shitty company can be happy if they get one or two qualified candidates.
For Google, I'd gladly to a several hour assignment, but not for an average company - because it is not Google.
puts() returns 13 with no pipe and with pipe to /dev/full, which I just learned is due to buffering.

What worked for me initially was the POSIX write() function:

#include <stdlib.h>
#include <unistd.h>

int main(void)
{
int status;
status = write(1, "Hello World!\n", 13);
if (status < 0) { return EXIT_FAILURE; }
return EXIT_SUCCESS;
}

-----

As someone else commented, fflush() gives the desired error response.

#include <stdio.h>
#include <stdlib.h>

int main(void)
{
int status;
puts("Hello World!");
status = fflush(stdout);
if (status < 0) { return EXIT_FAILURE; }
return EXIT_SUCCESS;
}

-----

andreyv probably has the best alternative[1], which is checking fflush() and ferror() at the program's end and calling perror(). It's better because it outputs an actual error message on the current terminal, and you don't need to write a special error checking wrapper.

[1] https://news.ycombinator.com/item?id=30611924
Yeap. Same dilema here, splitting in two or three when coding doesn't look good in my LG 27" 4k monitor. Is either full screen or nothing. For the case, instead of buying 2 32" apple pro monitors buying 3 of the 27 would make it better.
#include <stdio.h>

int main(void)
{
return !(puts("Hello, new world!") == EOF); /* return 0 unless a rare I/O error occurs */
}
> You misuse words so that others that have learned the material cannot understand what you're writing.

> Calling an m-tuple a coefficient and then calling the column span the "coefficient span" does not show understanding of the material.

So… I'm not wrong; I just don't know the words? Sounds like I actually do understand the mathematical concepts. (Maybe I'd find the words easier if mathematicians named stuff sensibly… and yes, I know I'm using English to write that sentence. I'm a hypocrite, but that's no excuse for the naming conventions in abstract algebra and category theory.)

> No, it is a fundamental property of the linear transformation. Gaussian elimination is but one of many ways to compute it.

So why does every textbook, every lecture, and Wikipedia talk incessantly about Gaussian elimination (an algorithm for inverting matrices!) when talking about rank? Rank's only useful as a property of the vector spaces, so why treat it like a separate concept?

> It is also true that the row span = the column span = the rank, which is also not immediately obvious.

The size of the row / column span is the rank, surely? Unless I'm misunderstanding the terminology.

And that's because we have several different concepts to describe the same property, for no reason that I can see. That relationship was immediately obvious to me as soon as I worked out what “rank” was, because I'd done my own investigations into linear algebra before I ever got taught it. (Investigations that I wouldn't've thought to do had I not known about the concepts of linear functions, multi-variate functions and inverses, so I'm not claiming to have independently invented linear alegbra.) There's no way they could be different, because it's about the linear independence (which regions of n- or m-dimensional space are reachable by a linear combination of the… you don't want me to say “coefficients”).

Likewise, I don't think we should be using “row” and “column” to describe linear mappings. “We sometimes write numbers in a grid to represent the function” isn't fundamental.

> And no one calls that m-tuple a coefficient.

But it is a coefficient, if you write the transformation the way I wrote it. Why is that wronger than talking about the “rows” and “columns” of a function? Other than convention, of course.

> None of this is in the book above. Zero.

To be fair, the book does purport to teach statistics; it uses, but does not claim to teach, basic linear algebra. A solid grasp of linear algebra is a prerequisite to understanding the book, so if you understand the book you probably understand linear algebra.
Without having checked it out properly outside of the landing page, here's a brain-dump of things that competitors get wrong and you can improve by a lot:

1. Support self-custodied 2FA: TOTP/U2F. Do not require phone-number/SMS "for your own protection".
2. Be honest with your customers and users. Don't succumb to dark UX for the sake of control, engagement and growth. Allow setting separate notification settings for marketing/"news"/functionality/security, and don't silently add and enable new marketing channels.
3. Full functionality even on devices without Google Play Services/SafetyNet/Apple. Preferably I should be able to do everything through the web UI, without requiring involvement of a native iOS/Android app.
4. Adhere to a strict interpretation of the GDPR, regardless of where users/customers are geographically residing or located; No sharing PII with third-parties (above what you are legally required to do). No loading assets from third-party servers.
5. Allow access over anonymized channels (mainly tor/paid VPNs)

A pinky promise on the above would make me sign up and recommend you to my network in a heartbeat. Would also be very curious to hear if you agree with me that the above are completely reasonable requirements/requests or if any of them stand out as something you may not be able or willing to do.

It looks like you're aiming for a USP of competitive fees but I think I'm not alone in being very happy to not get the absolutely cheapest rate compared to Wise/Revolut/Paypal/N26/PS/MG et al if you stay aligned with the above.

/ Someone who's fed up with the existing landscape
That's also wrong, unless you want to claim WSJ, ABC news, Fortune.com and CNBC (just what I could find in 2 minutes) aren't "MSM"? Yes, of course it didn't get the same attention it does today, but I don't think "they didn't make a big deal out of every arms deal the US makes" is that much of a criticism.

Again, why do people keep claiming "wasn't reported" for things you can just go look up?! "I don't remember seeing reporting" is not the same as "wasn't reported"...
> Using the example above, there's nothing stopping that person from bringing their whole self to board game night.

Not true, unless they're hosting.
Still facing several bugs in pipewire/wireplumber on Alpine. Not entirely sure if I missed some configuration (it's a bit confusing) or just buggy, though I've def seen some other user reports with the same bugs as me. Probably going back to pulse to get working audio/bluetooth again.

Linux is a real trip, man. Bluetooth was introduced 24 years ago and we can still barely make it work. Seems to work on Windows, Android, Mac.
You can't have bugs if you don't have a specification. [insert meme here]
12-megapixel ƒ/1.8 is an unchanged camera from 2020 SE. They are running with iPhone 8 cameras for another few years and trying to fix the image quality with software.
I tried the GBP-EUR pair and saw almost the same rates 1.199 on Revolut and 1.1993 on their site.

I guess, their service is cheaper if you are converting hundreds of thousands of dollars and more and can wait, but this would be few normal people.
This always have been the case, I think. If not with IT then with other jobs in the world. Teachers and healthcare workers have been criminally underpaid, and yet they don't all quit. Which really sucks but shows that the issue is not that simple.
I don't think Americans understand how Europeans are experiencing this attitude of appeasing. We have seen this story. It doesn't stop with Ukraine.

We have drastically increased our defense spending but it will take at least 5 years for Europe to be able to take on Russia by itself (with enough dominance that it will not destroy everything). Russia on the other hand is also not ready. And with the sanctions they can't afford to become ready.

Any American calling for appeasement or somehow suggesting this is all actually the US fault's. It's not at all. It's not about NATO, it's not about America.

It's about Russia being run as an authoritarian imperialistic etno state. The true demand is: we govern you and you join our war against the west: economically, politically and militarily. You either speak Russian or you die. You either become the property of the FSB, the oliargs and Putin or you die. Poland, Czech Republic, Slovakie, Latvia, Finland.. they are all next in line. And they are not making a secret of this!

The idea that there is anything but a full out war that will stop the Russians is ridiculous. We have no chill for more appeasement or supposed neutrality or diplomacy. You are not negotiating with a France or an America. You are negotiating with people who see any type of 'giving in' as weakness and encouragement to take more. We are not going to wait until the Russians our on our front doors as well.

At this rate within the next decade Europe will be spending more on its defenses than the US. That may be a good thing. But please, Americans, understand, this is a loyalty check for Europe and a strenght check for all your enemies. Don't blink. When talking about Russia only growl.

Everytime the US appeases, Russia is encouraged to do more violence, more aggression. The more clarity the US gives on when and how it will enter war, the less likely it is for the war to take place. And we really just need you guys to have the discpline for the next few years, and then we won't ever need US soldiers patrolling our borders, which seems fair and important (because there are more threats in this world than just the Russians!)
I think in Argentina they're expensive than brazil. Argentina has a lockdown on dollars actives so it's hard to get dollars to buy such imported products.
For me, on several machines, the _only_ way I could get Bluetooth devices to connect, behave, and to use their high quality codecs was switching to PipeWire.

As it stands, between my desktop (Manjaro), laptop (NixOS/Ubuntu) and work laptop (Ubuntu 20.04), I have one single issue with Pipewire; on my work laptop if I have audio output set to HDMI (monitor speakers), when I plug in a wired headset to join a conference call it doesn't switch to the headset. If it's set to internal speakers first, it _does_ switch. So, if I have a conference call and I was using the monitor speakers, I have to jump into the Gnome sound control and switch to headset manually.
`puts` has a return value indicating success or failure.

edit: https://cigix.me/c17#7.21.7.9.p3
A test suite that takes under 2m to run under Linux docker takes over 4m when I run it on the M1. Yet the M1 is marginally faster than this i7-1185g7. For regular development reloading apps etc it's similarly sluggish. "Just fine" sure, but that time adds up.

The M1 is an interesting CPU, but OSX is less popular than Linux for software development. Apple working to support Linux on the M1 would increase sales, though realistically with the other high margin product sales they do not really _need_ extra sales.
Info Stealer in a Batch File
> Israeli oppression and war crimes against Palestinians

The US likes Israel and it hates Russia. You don't need to look deeper than that.
So the solution is credentialism? Because that's what you usually rely on for those professions.
I still have PDFs stutter even today and it aggravates me.
If you require knowing "an address belongs to whitehouse", why not just serve some content on that "address" (let's say "whitehouse.gov").

Or just sign a message and serve the signed message.

Oh no... that nail did not require the blockchain hammer.
Not surprised - I've had a bad feeling about Elementary ever since they tried to guilt people into paying for it:

https://www.infoworld.com/article/2883114/should-you-pay-for...
Would it have happened if the Ukrainian president had collaborated with Russia from the start?
>Yeah no. Plenty of companies do this in the EU as well

True, but it really depends on the region and local market. If you go to an over-hyped place like Berlin for example, where there's tons of low quality start-ups claiming they're the next Google, and tons of both ambitious and low-quality candidates pouring in from abroad with inflated resumes trying to break into the market, then yeah, the hiring process will be broken from all the effort needed to filter out the posers and chancers from the candidates who can actually deliver results, especially if you don't have a strong network of contacts you can leverage.

But in my small city that nobody from abroad has heard of, hiring is much more sane, since there's much less noise you need to filter out. Granted, the number of opportunities and the pay is also much lower than in places like Berlin so that's the trade-off for sane interviews since the small market attracts less posers and chancers.
Sure, if I were to buy one today I'd go for the new one no doubt, especially since the UF isn't for sale anymore. But I'd hardly "upgrade" from a UF.
Not clear from which side you are speaking!
But do you really run it all year round?
Oh yeah I forgot about that, had to jump through some hoops to get mine.
From Wikipedia about the ship:

> Every detail of her construction had been scrupulously planned to ensure maximum durability: for example, every joint and fitting was cross-braced for maximum strength.

> ...

> Though her hull looked from the outside like that of any other vessel of a comparable size, it was not. She was designed for polar conditions with a very sturdy construction. Her keel members were four pieces of solid oak, one above the other, adding up to a thickness of 85 inches (2,200 mm), while its sides were between 30 inches (760 mm) and 18 inches (460 mm) thick, with twice as many frames as normal and the frames being of double thickness. She was built of planks of oak and Norwegian fir up to 30 inches (760 mm) thick, sheathed in greenheart, an exceptionally strong and heavy wood. The bow, which would meet the ice head-on, had been given special attention. Each timber had been made from a single oak tree chosen for its shape so that its natural shape followed the curve of the ship's design. When put together, these pieces had a thickness of 52 inches (1,300 mm).

So I guess if you build a ship that way for that purpose, it probably will survive for quite a while relatively unscathed (apart from that it has been crushed a bit by the ice).
Interesting to me that Shackelton and the Endurance keep popping up on HN. I happened to read "South" some years ago and it had a big impact on me as someone who loves the outdoors.

I just didn't expect it to keep popping up in a technology focussed community. Yet I can see the appeal. The sheer determination of Shackelton and crew should be inspiring to all people.
Interesting how so many of their benchmarks are based on the number of 8k stream they can playback or edit at once but OSX doesn't support outputting to 8K resolution. Most likely crippled until Apple come up with their own 8K monitors.
because it's very easy to use and works good
Pipewire is a blessing. It fixed so many things I can't really start listing them. Funnily, in my experience, it is a arguably better PulseAudio implementation than PulseAudio itself.
On their standard plan, with the first £1k you're not paying for currency conversion, but you're paying a fee for the "international payment". I think that's a 0.3% fee capped at £5, but for a £1k transfer, that's a £3 fee right there. You can see this in their fee structure.

https://www.revolut.com/legal/standard-fees ("A fee applies for international payments on our Standard and Plus plans")

https://assets.revolut.com/legal/terms/International_Payment...

If you're a die-hard Revolut user that subscribes for other reasons or do all your global banking with them, it's possible you'll end up with better overall economics with them. That segment of customers is fairly narrow and we're excited to offer everyone else a world-leading service.
https://www.revolut.com/en-DE/money-transfers

Slightly better for bigger transfers if you don't get a Revolut subscription, that seems to be true.

£1000 to EUR

Atlantic: €1,195.77, Revolut: €1.198,50

£2000 to EUR

Atlantic: €2,395.14, Revolut: €2.391,02
Pipewire was started by Wim Taymans, one of the gstreamer people. Originally it was supposed to allow video-streams in sandboxed environments like flatpak (and was known as "pulsevideo"), but then he noticed that it could be extended to do audio as well.

Since pulseaudio's architecture isn't well-suited to incorporate sandboxing, that project continued and it turned out that it could handle compatibility with both pulseaudio (the sound server for "consumerist" needs) and jack (the one for "pro audio" people where low latency is paramount).

You can even use programs like QJackCtl, which was written for Jack, to perform audio routing and stuff with pipewire!

So now, we have a sound server that

1. is much nicer to configure than pulseaudio

2. is compatible with sandboxing

3. is compatible with pulseaudio, jack and the older alsa
APIs and features

4. is developed much more quickly than either of the others

See also https://fedoraproject.org/wiki/Changes/DefaultPipeWire
>but wondering if it's really helpful

No, it is not.

Too much formalization brings the power dynamic imbalance front-and-center and leads to people telling you what they think you want to hear.
> Google Trends is not the place to be looking.

It isn't. Author here. That is why I wrote the post and included many more sources, stackoverflow insights, Tiobe, rubygems.org, github etc. I'm sorry If I did not put this forward more clearly. The initial graph was mostly a hook, and not so much proof, as I mentioned in the first paragraph.

I presume you did not read the article, but if you did, could you help me write better articles next time, by showing me how I could put this point more forward? I did include it in the first paragraph, but maybe that gets overlooked?
> "Men wanted for hazardous journey. Low wages, bitter cold, long hours of complete darkness. Safe return doubtful. Honour and recognition in event of success."

Well, he wasn't wrong. Reminds me of some job openings.
Better linking to the live canonical URL instead:

https://slashdot.org/story/99/02/12/1429236/ask-slashdot-how...
This should easily offset any economic damage the sanctions may have caused in Russia.
0 issues with PipeWire and Bluetooth audio in my experience. Try setting `bluetoothd` logs to debug and look a bit on what's happening.
> There is no hatred of a people in Putin (just fear of Nato).

Clearly, you didn't watch Russian inner propaganda. And you don't know people in general. Hate is the main source of energy that fuels authoritarians in their crack on people who don't comply. Putin is just quite good in restraining emotions within himself, in public appearances. Still, there are videos of him when you can see the hate.
"Magic Mouse lays on its back, its belly baking in the hot sun, beating its legs, trying to turn itself over but it can't, not without your help. But you're not helping."
No offense, but it's hard to monetize FOSS operating systems.
I've yet to see a scalable business model.
All FOSS OS's rely on either donations or consulting/support for revenue.
There's just no money to be made there, unless someone comes up with something innovative.
At MicroCenter you would be hard pressed to pay more then $250 on their PC building service, you'll even get water coling installed and tested for this price. https://www.microcenter.com/site/service/instore-custom-pc-b...
I am using Firefox 78.15.0esr (64-bit) and had no problem getting to the URL with the above link. Arrived at: https://www.economist.com/briefing/2022/03/05/vladimir-putin...
If the ratios are 10% success and 90% failure, then we need to write 10x as many negative words as the article author wrote positive words so that the reader later recalls random positive/negative points in the correct ratio.
Well don't I stand corrected, Thanks for calling me out.
RedHat?
I deliberately avoided the word "dead", and did my very best to make the nuanced, based in many sourced numbers and compare it to other technology that is old or older yet does continue to run on.

To cite the last paragraph, in case you did not read all the way through:

> Does that mean learning Ruby or Rails is a poor career choice? Certainly not! The demand for Rails and Ruby developers is high as ever, if only because general demand for developers is ever increasing. And all that SAAS, built since 2008, needs developers for the coming decades. But be aware of the risk of becoming the COBOL or Perl developer maintaining some dusty legacy if the downward trend for Ruby continues as it did last decade.
Minus the last phrase.
"> Google has never lost one of these cases."

Perhaps they settled every single case. Show us one that went to trial.
This is already known for a long time already. You would have to actively choose to not listen to AMD news to not know.
The current internet is terrible at archiving anything it creates. Dead links, impossible to find videos if they get deleted for some reason, news articles that get memory-holed, easier to find archives of paper newspapers than of online newspapers... That's why so many people tweet screenshots of other tweets rather than linking them directly, the network relationship may break at any moment, so better just to post an image rather than link information.

In the Napster/Torrent era once I found a video, document or audio I was interested in, it was very easy to find again without having to worry about archiving it myself.
I can't test this and the original blog post seems to be missing, but someone has a Github gist where they create a full ramdisk on OSX:

https://gist.github.com/koral--/12a6cdda22ffbd82f28ecc93e0b5...
Co-founders can be brutal when greedy. Best to them.