skysight-inc/HackerNews huggingface dataset:
Have you tried writing a PS1 which shows all the info that's demonstrated on the linked page?

I have. It's a decent chunk of work. It's a whole lot more work to do it well. Did you remember to handle the situation where the git repo is so gigantic that running `git status` takes half a minute? Or the case where there is a .git folder somewhere but permissions are wrong or it crosses a mount barrier so `git status` prints a page of text to stderr? Does the way you're finding the current branch handle the case where HEAD doesn't point to a branch?

The only way your prompt "already does" this stuff is if you've spent a whole lot of time configuring it and tuning it, or if you're already using something like oh-my-zsh. And if you're already using something like oh-my-zsh, well, starship is just a competitor to (the prompt portion of) that.
That's a horrendously hard to parse definition. Couldn't they say "3 squares away but not on the same rank/file/diagonal" or something a bit easier?
There are only a few standard system fonts that can be omitted from a PDF file and the document assumes that whatever fonts will be used for rendering match in metrics the traditional Times, Helvetica, Courier, etc., typefaces. Therefore with compatible system fonts there should be no changes in the layout of the rendered document. There are of course examples of system fonts which are advertised as compatible in metrics with the ancient Adobe PostScript fonts, but which nonetheless have subtle differences.

Except for the small number of standard system fonts, for the other fonts the PDF document normally includes only a small subset of their glyphs, corresponding to the characters that are actually used in the text that is to be rendered with that font.
android just checks every app for safety (play protect) and isolates every app at system level. solutions for sideloading are actually very simple.

so, is it "safer"? what's "safer" about it? or is it really just a meme apple has successfully perpetuated about it's limitations?
The bigger issue that people always miss is that NSA is not law enforcement so they do not need a warrant. The Census Bureau does not need a warrant to gather information on Americans either, but for some weird reason people find the NSA controversial but not the census.
> the minute care the authors have put into making the books pedagogical works of art. That's true love!

Works of art. True love! That's very high praise.
What's wrong with cancelling Amazon Prime? I did it recently and it took less than a minute. I even had the option to cancel immediately and have them refund my money, even though my yearly subscription was still running for half a year, which AFAIK is not possible for App Store subscriptions. I'm in EU so might be different to US.
Matrix Multiplication: Optimizing the code from 6 hours to 1 SEC
VC backed startup sells user data on open market.
VS Code Killer Just Went Open Source (Written in Rust BTW) [video]
Because a ton of people only have one reasonable option.
It is too complex compared to Markdown and hasn't got enough features to be comparable to Latex. And I still (almost) use the samé Latex templates that I used at university, 25 years ago.
For some codebases, if you are lucky, you can trust commit messages from specific trustworthy people. Diffs might not lie, but they take much more space and time to read than 'git log --oneline'.
Notarization has added nothing but another mandatory fee to develop for Apple's platforms. Your app can also get banned if it doesn't distribute malware. It will be abused as means of censorship (porn, drugs, gambling, etc.)

https://www.macrumors.com/2020/08/31/apple-repeatedly-approv...

https://news.ycombinator.com/item?id=29569561
Plenty of tools, assuming one doesn't come to Windows with an UNIX mindset, or wants freeloading.

Now those folks have a home in WSL.
Nvidia's RTX GPUs can now upgrade SDR content to HDR using AI
The key here is "proportionate". Notarization surely adds to the security of the platform, but it may be misused by Apple easily ...
Nor the "promotion" of a pawn that has marched across the board to begin a new life as... a pawn (or anything else that isn't a king -- this almost means a queen, but a promotion to knight can also be useful).

Displaying usual the moves on the pieces is certainly super-handy for beginners to understand the moves, but as you've pointed out: Chess also has other nuances.

---

I was showing off one night and, at the tail end of an end game, and promoted a pawn to a pawn once it reached the far rank. It didn't really help in that game (although I can envision corner cases where it could be helpful as a blocker, but any other promotion is equally useful a blocker), but I had a move that I could afford to burn and it was fun to do so I did it.

It was a fun game. 10/10, did repeat other fun (and absurd) chess games.
Unfortunately, from what I can tell, Apple is only being forced to open up iOS (iPhone), not any other platforms like iPadOS, and they’re not doing a jot more than they have to here.
Show HN: Freeter 2 – Free open source organizer for those who work on computer
>If user just paid for the hardware, locking down the hardware and forcing the user to use iOS is interference with the user’s property, potentially a crime.

sounds good to me. But I don't think anyone's really arguing that here.

>You can’t force someone to accept a gift, now you have to sell me iPhone without iOS!

I mean, for Windows OEMs the licensing cost of windows is bundled in the price. Apple can do the same here. they are buying hardware plus a software OS. they aren't buying the entire app store as those apps each have separate costs assossiated with them. This is more like you can sell me IOS without the App Store (which again no one is really asking for. Just a reasonable option to sideload other stores).
That's really a matter of whether the adults in your vicinity will call child services when they spot unsupervised kids.
From Russian perspective, everybody is trespassing on our lands. We tried voluntary giving independence to these regions, which belonged to Russia by right, on assumption they respond with gratitude and uphold the rights of Russians and living there and Russian culture. Here they are now, telling tales about how they were genocided and enslaved. Now the prevailing idea is that we should take that independence back whether possible.

One teeny tiny examples, Russian Empire has secured the lands which are now contested Southern Ukraine, from Donetsk to Odessa. These were nomad-raided steppes with barely any population. Russian Empire secured them and let Ukrainians settle these new lands alongside other ethnicities (Greeks, Jews and of course Russians), and just two centuries later, Ukrainians refuse to acknowledge that and seek to forcibly assimilate all other ethnicities there. Now it is obvious that Ukrainian autonomy during the USSR was a costly mistake. They were gifted these lands for settlement and now they tell fairy tales about centuries of genocide. They were permitted to settle there among others and now they have driven everybody else away.

But the situation with Baltic states is in fact even worse. What happened to Baltic Jews? Baltic Germans? Baltic Russians? :))
Some anecdata from daily cold booting my MacBook Pro 16' 2019:

- Slack is very reactive, displays a spinner in <2s, takes a few seconds (<10s) to fully load and draw - perfectly acceptable

- Outlook (new experience mode) is a bit slower, takes a few seconds extra to draw, but is still reasonably fast and manageable considering the amount of data it handles - still reasonable, although a bit laggy at times

- New Teams ® (released somewhen Q3-Q4 2023) takes >15s to open or display anything, >15s to draw, >5s to switch across organizations, >1s switching chat tabs in the same org

I'm not spending 3k$ every 2-3 years because "my computer is the problem".

We need to force devs to use and test on non-workstation machines, that don't have 64GB of RAM and the latest CPU/NVMe drive, especially for Electron apps, which open an entire browser copy for each application.
Did you even read the article? He clearly states it was a side project done next to his full time job...
Bingo. This combination is underappreciated.
Where are you getting from that anyone was tricked?

To me, it seems more like the obvious-with-hindsight observation that when you delegate your side of the negotiations to someone else (the guidance counselor) it's not enough to offer a good deal to the counterparty, you also need to motivate your own negotiator.

E.g. one possible explanation for the observed effect is that the guidance counselors without incentive plan points simply failed to mention the enlistment bonus, rendering it ineffective.
"Some weird reason" being that the Census Bureau hasn't engaged in cyber attacks such as Stuxnet
Because the Third Committee of the General Assembly adopted a resolution to do so by a recorded vote of 88 to 58, with 34 abstentions[1].

[1] https://documents-dds-ny.un.org/doc/UNDOC/GEN/N19/383/43/PDF...
Important Python Topics for Data Engineering
> With hardware, the EU can demand adherence to standards like USB-C.

Not picking sides here, just curious; if a better standard comes along, do we all have to wait for the EU to turn it into a law before companies can change to that new standard?
Apologies. Not my intention to be rude.
> But then the state is telling someone what to do with their body.

I don't think that's a problem for 95% of people. Pretty much every state on the planet tells people what to do with their bodies all the time. If you eat/smoke/whatever certain plants that are found in nature, they can lock you in a cage and steal your livelihood. I think it's heinous and wrong, but it is the current status (even though it ought not to be).
How do MBTs materially change a conflict where every participant has (tens of) millions of landmines ready for deployment?

What good do MBTs do in isolation against attack helicopters with 15km-range ATGMs?
Unleash Your Creative Potential with Ssebowa: Open-Source Generative AI Library
For example: writing complicated expression invovling calculus/matrix.
That's not something I need everyday, though.
Knights are objectively nowhere near as powerful as queens. However they're underrated in blitz chess, where their visually hard to see moves often catch people unaware.

Even grandmasters fall for knight forks in blitz games quite often.
yeah, count on it.

we live in a world where energy is in dire need. we have countries that pump oil from the ground.

and you seriously think you can do anything about it ? those in need of that oil will tell those producing countries : pump it, we'll pay it.

and that's it.

as long as we do not have fusion available
and as long there is oil under the ground
those countries that want oil will ask the producing ones for that oil
and if part of all of the occidental world no longer uses oil, all that oil will be enbraced with open arms by everyone else on the planet.

you want fossil fuels to end ?
put money into fusion and make it work.
I really just deeply do not care about the code of conduct but the game seems cool. I mean, the writing is very bad, but the thing's got spirit
Buy and Sell Micro Startups
You’re on HackerNews. Doesn’t quite scream “regular user”.
China is great thanks to, and not despite, its communist leadership.
They are slowly transitioning to a socialist mode of production, which is why the growth of its production apparatus is also slowing down. One has to keep in mind GDP isn't the only metric one has to account for when it comes to the betterment of human life.
> does he mean that as long as the task at hand is solved it doesn't matter how we categorize it.

Yes
The failed promise of Domain-Driven Design – part 3
ABIs are not enough, it is a huge pain in the ass to setup the function invocations, especially cross-platform. Having separate compiling and linking steps for each part of the codebase and stuff is a huge pain.

I think Bun (NodeJS-compatible runtime) was planning to add native support for importing C and Zig code directly from JS with typescript codegen. But even that is still a bit meh, you also need some data-exchange format so you can pass complex data structures without paying a serialisation/deserialisation cost.
Well, they're sometimes outright overt. Here's Spanish defense ministry trying to extort 100.000$ from an 18 year old kid because he made a tasteless joke in a message to his friend> https://www.businessinsider.com/passenger-faces-120k-fines-a...
Both is possible. I do sometimes make vacations unplanned with no return flight ticket and just enjoy the time there as long as I feel to.

But then there are specialized holidays, where you need people to be with you. One example is my hobby being a diver. Going on a private diving safari needs planning and documents. Depending where you go are the documents, but you still need a boat, a crew and a dive guide and/or trainer.

It's still very enjoyable for me, as I love diving, but it also needs planning.
The EU have it way better, like one or two clicks and it's done.

I sincerely feel sorry for you and how fucked up it is to cancel subscriptions in places with weaker customer protection.
Indeed, EPUB3 provides all the features that the author wishes. His "portable EPUB" format is just a loosely specified subset. It's unclear if some extra features are included in the format as they are in his "Bene" tool, like the rendering of references (i.e. links with a data-target attribute).

The EPUB3 standard is much more complex than EPUB2 (media overlays, mixing fixed layout with reflowed, MathML…). In my experience the implementations are much more varying, and most of them aren't complete. So a "Portable EPUB" may not render as expected because the reader tool lacks some specific feature. The author also requires full JS support, which I supose does not help with portability.
The thing is that social/religious/ethnic/racial radicalization and extremism which endangered civil order, threatened civil debate, and came from places of willful ignorance, always existed prior to the internet. But it existed it pockets of time and place, and its spread was limited. Moreover, most ordinary uneducated people had no chance to post back to amplify its content, even if that content was spread on radio as in Rwanda or nazi Germany. Therefore the bulk of people whose opinions should never have had purchase had no sense that their opinions mattered. Which was a good thing.

Even more to the point, their inane debates (see: Fox News and MSNBC comments sections, Twitter, etc) wouldn't have generated advertising money. Their comments are not something that a sane civilization with a sense of self-preservation would wish to elevate to be seen by other people. The perversion of social media writ large is to make itself a Tribune of the People and compete with malevolent force of riot against protagonists of rhetoric. It is an insurgency in every sense of the word. Many of us who used to relish the idea of anarchist speech have realized that this insurgency is itself manipulated, that no free speech actually exists on these platforms but that they are simply used to whip the proletariat into frenzied riot on behalf of whoever controls them.

Not dissimilar to any religious cult that, in trying to attain power, allows its adherents to incite violence while simultaneously denying its own culpability.
If you use home-manager, installing starship is as simple as adding `programs.starship.enable = true;`.

https://github.com/srid/nixos-config/blob/master/home/starsh...

Incidentally, starship also gives a visual indication of whether you are in the nix shell or not, which is pretty handy when using direnv:

https://nixos.asia/en/direnv
Arch – The Multi-Tenant Data Platform as a Service for Consultants
O_O

Why in the world would you ever ban international travel????

Out of all the opinions I've read on HN, that must be the most insane one....

As someone who basically lives the lifestyle of a digital nomad, and has been internationally traveling since I was a kid, I think it's the one thing people should do more of.
Might as well yolo it at this point
Ripped from my .emacs:

(setq gc-cons-threshold (\* 100 1024 1024) ;; GC sometime after allocating 100Mb
read-process-output-max (\* 1024 1024)
company-idle-delay 0.0 ;; company completions should be fast
company-minimum-prefix-length 1
lsp-idle-delay 0.1) ;; clangd is fast
(run-with-idle-timer 2 t (lambda () (garbage-collect))) ;; Trigger a GC after 5s of idle time

This is something of a hack of course, but it works & memory is cheap. You might want to push the GC threshold back down after emacs startup - a GC that fires early is a GC that does less work per invocation & is therefore less likely to cause perceptible stutter.
Elevator Pitch Generator
Quickly create a powerful elevator pitch for your startup using our AI tool. Designed for founders, it turns your concepts into persuasive pitches in seconds. Elevate your pitch, engage investors, and convey your vision with clarity and impact – all in a matter of seconds.
Ok, but the attack direction is the easiest part of chess to learn. I learnt the rules of chess as a child and despite having played less than 20 games in my life I remember them entirely, including things like en passant.
I forced myself to use it recently, I mostly found it to be both limited (cannot have part of a link in bold or italics) and inconvenient (each line of inline code must be indented).
W3C standards basically always build on top of other existing W3C standards.
This is a standard feature of the PDF format.

Normally all PDF documents include only the glyphs corresponding to the code points actually used in the text rendered with that font.

That is why you can go for instance to any site of a vendor of fonts and you can download freely a PDF sample text of an expensive font. You can easily extract the font from the sample PDF, but it will be useless, as it will contain only the few letters that had been used in the sample text.
The research does not match the title. C is performant/energy efficient, but C isn't a very green choice for an average project because you require more programmers who cost a ton of money and are likely to spend it on flight trips, SUVs et cetera.
The old terms lock you into the App Store, no?
So buggy for me.
Those activities were socially acceptable in the UK 50 years ago.
You do know that except for arguably Hungary (and even that's slowly being worked on... it's just really hard), all EU members are democracies and the EU itself is a democratic institution?
You cannot just look at the cost and energy expenditure of running the program, you should also look at the development, which is a lot more expensive for C. And more importantly you should look at the opportunity cost of the programs not being written and improving the world due to the use of a less productive language.
I mean it. Both books are free, and PLAI has an interactive tutorial on the language used in the book called SMoL [1] done by one of Shriram's students. The tutorial is not a passive one by any means; it forces you to think and highlights pitfalls students often fall into when reading the material.

This whole ethos on readers learning is in stark contrast to books that feel like the authors show off how smart and clever and profound they are instead of caring about their readers comprehension. I include very highly praised books even on HN.

[1] https://www.plai.org/#direct-links-to-the-tutor

N.B. The author of this post, portable EPUBs, also works on language learning. A whole ethos...
https://arxiv.org/abs/2401.01257
See, I don't care about the society here, just my own n=2 sample. There is an optimal policy with regards to risk taking, it surely involves taking more risks than socially acceptable, but how much? Is my question.
We ought to frame this sequence. ;-)
Orion supports Firefox extensions on iOS while using webkit, so there is an existence proof that it's possible to at least have limited support for them.
I know you and GP haven't said anything else about this, and I don't want to put words in your mouth by assuming your opinion. So this is not aimed at you specifically, but I'm sure there are plenty of people on the side of the photographer who would agree completely with you. For those people:

Are we seriously holding in mind that publicity isn't worth anything to artists so you should never say that, while also saying that the tattoo artist (whose compensation is only publicity on social media because she did this tat for free) has profited illegally from a copyrighted image and therefore should be sued for damages? I don't see how both of those could possibly be true.
The point was splitting up so it would be one app per EU country.. One for Germany, one for France, and so on.
document.body.onclick=()=>"document.location='www.google.com'";
Computers are simple machines. The simpler your output assembly is, your code will be faster. The less safeguards your language or compiler forces on your output assembly, your code will be again faster.

C has the least number of safeguards, and most foot-guns by default, unless you opt-in to more. Same is for C++.

There are very legitimate reasons where you don't want bound checking in your arrays in some applications, and you can realize these in C and go really fast if you need to.

Tangentially, FORTRAN is a "FORmula TRANslator", so it's good and fast at math too. Because it is designed to do that. If you think FORTRAN and C are obsolete. Come to HPC domain, where you push languages and hardware to the limits without leaking memory and crashing randomly.
I was replying to this:

> First of all, muscle memory is not contained in your muscles or "distributed" throughout your body but is known to reside in your cerebellum and basal ganglia. The nerves going down to your muscles are simply a conduit for actuation, a wire, nothing more.
Yes, for example Rust has significantly more detailed aliasing information than C++, since Rust has the borrow checker while C++ has to get by with weird type-based heuristics (and doesn't even have a way to override that in the standard, though most compilers allow restrict in C++ mode as an extension)
you just need to read the article:

> The good news is that the bad apps in question have since been removed from Google’s official Android app store. However, the cybercriminals behind this campaign are also using a separate set of 12 malicious apps on unofficial third-party app stores to spread the Xamalicious malware. These apps need to be sideloaded onto your smartphone though as they are installed via an APK file.

i mean, this isn't really news, is it?
Finally firefox + extensions will be able to reach ios.

I find it a bit puzzling and amusing how so many people in the other threads are acting like this is the end of safety on apple and yada yada, while 1 - you're free to stay well within the walled garden if you so desire, stepping out is a personal choice (but now is a choice for the user, instead of banning him from doing something apple doesn't like), 2 - we have the example of android to know apps won't each flock to their own little store, 3 - the whole pretense of "the curating of the store allows them to ensure high quality safety" is frankly not in line with reality, the app store being full of crap and spam while blocking updates to apps that apple don't like (spotify for example).

I'm flabbergasted at "tech oriented users" ability to forget what they know when it come to certain brands they like.
Rust in the FreeBSD Base-System