skysight-inc/HackerNews huggingface dataset:
Why young shoppers are cool with counterfeits
Honestly this looks like programming style from 90s. Why not design UIs in an editor that saves layout to XML?
I mean no offense to the egui people because they have done amazing work, but it isn't that it isn't native, it is that it doesn't look good enough to ship something with it (other than a science/medical/gaming UI perhaps, but certainly not a business app). Gtk won't look native either on anything but Linux...at all, but at least is very professional looking in its default theme. Obviously what looks "good enough" is highly subjective.

UPDATE: True, it is themable, I just wish the default was a little more polished
and so most people using tailwind don’t do that and redefine everything every time. Ignoring or ignorant of the elegance and power of css.
Good but results are US related. Probably needs to guess location? You will get these sorts of comments at this time of day!
I don’t know how Google Pay works but when the payment terminal is ready for payment and you put your iPhone near it, it automatically turns on and waits for you confirm the payment.

A lot of people have multiple credit cards. Mobile payment means you can leave those at home. Credit card taps also don’t work 100% of the time. I’m sure everyone has had times when there’s something wrong with the terminal and you give it a second shot by inserting the card.
A perfect example of A/B testing and its effects and limitations. The article reports that it is less comfortable for users to use but increases sales. It also reports that this may or may not decrease sales in the long term but in the short-term it works great.
Probably not, but it's fun to think about.

And like the old saying goes: "A watched red supergiant never goes supernova"
> The hands are often a tell-tale sign of the incompetence of an A.I. program.

Curiously prescient: it was the hands of the robots in the original film, Westworld (1973), that were a tell-tale sign that they were not living.
Show HN: Ngrams – A search engine for the Google Books Ngram Dataset v3
NGRAMS is a search engine and REST API for quick inquiries into the Google Books Ngram Dataset v3 — the largest publicly available source of ngram data. The service is intended for all kinds of applications related to language processing, research, teaching, and modeling. It can be used free of charge, for both commercial and non-commercial purposes.

I built this service as an alternative to Google Books Ngram Viewer. Advantages are a wildcard query language that returns an entire result set, not only the first top 10 matches as with Ngram Viewer, and an API that serves JSON data for third-party integration.

NGRAMS was in the works for the last few years after v3 of the Google Books Ngram Dataset came out in 2020. Before I built https://phrasefinder.io for the v2 dataset.

Hope you like it!
Yeah, the median can be measured, I never said it couldn't, it's just not a useful measure.
Home Prices Rose in February for First Time Since June
Another front page thread is about how in demand electricians are. Maybe there is some way you can make get money out of it?
That technology was available in the 1990s.

Clearcase ran on a file system that recorded what files the build using clearmake looked at so your makefile just needed to know how to make a .o from a ,c file and all the dependencies were calculated. The build was on a server so you could get the results of other peoples (or automated) builds if they used the same dependencies.

We stopped using that as the filesystem had to be on a server and so the builds were slower as involved network access and we did not have large repos where this might have been offset by a large number of build artifacts. (plus we did more on Windows)
I will add that soon!!!
As long as they actually look at it which I don't expect them to, especially after revision 15 of a multi-page document.
There's also waste heat from nuclear power and fossil plants. There's even some warming from the lower albedo of black solar panels. All of it is a tiny effect compared to the warming from greenhouse gases.
No, it's way, way older. As in "Hapsburg portraits" and "Ming Dynasty scrolls" old.

And let's not forget the last time a technology came around that could "fool history"; how many people still believe the moon landing was shot on a sound stage?

The notion that historians only care about images, without caring about their provenance, is absurd.
> If he really wants to help people, getting them on e-bikes, if it's practical to do so, would be a huge money savings for them.

On-brand HN technosolutionism. Henson already admitted the naivete and idealism that led him working for people he shouldn't have; what he's doing is confronting the unfortunate reality of his region's car-first infrastructure and addressing existing problems with existing means.
It certainly doesn't offer the performance, and Android phones never have. If I look at the 6a, it offers marginally better performance than the iPhone X, and that came out in 2018.

https://browser.geekbench.com/v5/cpu/compare/21110537?baseli...

and using your example an iPhone 12 Pro is much faster:

https://browser.geekbench.com/v5/cpu/compare/21107401?baseli...
You can skin it fully though. I have an app that looks nothing like the default theme. Customize it to your taste.

Note: I did have to implement some missing features for my purpose, so when I say “fully” I mean I had to spend a couple hours putting the features I wanted together. But in the end, it was a great result. Maybe this work should be turned into a PR, I dunno.
I’m hesitant to comment on this because we are so far off topic.

But I’m not sure this is the take I would have on Hunter Biden.

> Unless you think you can use politician children against them.

As a senator, Joseph Biden went through tough on crime phases and his hands are not clean in the war on drugs.

There are a lot of single family houses in the U.S. whose children grew up talking to dad through a plexiglass window, all over hookers and powder.

These policies have ruined families, ruined childhoods, and destroyed communities. And Senator Joseph Biden was, and continues to be, a part of that damage by shaping the policies that sent dads to jail.

Then hookers and powder show up on his back porch. Now it’s a different story. His grandchildren don’t have to talk to dad through a plexiglass window. His grandchildren don’t have to grow up in a single parent household.

I’m not saying we should do that to his grandchildren, that would be awful. I’m saying send those dads you locked up for hookers and powder home to their families.
We already have proprietary forks of LLVM. That's the whole reason Apple etc. started it instead of continuing with GCC.

It's unclear to me what negatives a new, independent, Free implementation brings.

On the other hand, the positives of it seem clear: an independent, Free implementation helps establish Rust the language and differentiate the language from a specific implementation of it.
I can’t speak to 1 but for 2 the routine is auth first, tap later. Double click, hold up to face, then hold to reader.

Also two things: if you’re willing to accept a less secure Face ID you can turn off attention (1). And if you’re paying for transit, you can turn on Express transit if supported on your provider — then it’s just tap, no need to auth.

(1) https://support.apple.com/guide/iphone/face-id-attention-iph...
RIP 100s of domain names registered in the last 4 months.
> Some of my peers have a hard time communicating in complete sentences and instead send a constant stream of word pellets.

I never had a word for this, but word pellets is perfect. You get pinged by someone (breaking your train of thought and forcing a context switch) and then have wait for them to send you 10 messages to get their thought across.
I’ve supercharged a 2018 100kw Model S over 100k miles the past five years and only have 6% degradation.
You can google it, but the short answer is Enterprise Edition is on the order of tens of thousands of dollars per CPU.
I've known about LSOF and about kill but I've never put them together like this. I find his tool compelling simply because now I don't have to remember all this stuff.

What we really need is a tool like this for Windows. Find the process that keeps this file open and kill it. It's so annoying when I can't delete a file because some process has it open but I can't tell which one.
When I see statements like "garbage-generating machine", I immediately think that the person making such a statement may not be aware of the capabilities of GPT-4.
Obviously with forever I mean within the lifespan of the service, not literally forever as in a trillion years.

So yes, your 2008 Facebook post is still going to be there.
IMO they're just less mature than the one's you've listed. I'd expect them to get all the bells and whistles in due course (assuming that the projects suceed in general).
At this rate programming languages will reinvent GUI builders from Delphi/Lazarus in 2050
> app developers could offer lower prices to users who sideload, to offset the higher price paid for iPhones in the EU

So app developers should bear the brunt of Apple's hardware price strategy? Seems unfair.

One of the complaints about Apple from app developers is the cost of doing business on the App Store (15% or 30% or whatever it is this week). So you're suggesting app developers charge less for side loaded apps: isn't that just accepting that the apple fees are fair?
> I do not understand how they jumped directly to matter being the solution to the gravitational oddities

This never happened. "Dark Matter" is just a name for a phenomenon. Galaxies rotate as if they have a bunch of matter in them that can't be accounted for by looking at the light coming from them. So it's "dark" matter. Get it?

No one has a "solution" here. It's a problem, and it needs a name. What would you prefer?
Couldn't read this because Dark Reader did not manage to make it dark.

Talk about dark and cozy.
can you please explain what you mean by this with some examples? there are worker-owned cooperatives that run as efficiently as businesses when considering expenses and profit.
If you mean whether `nix develop` shells stack then yes.
The code in that blog article has a bug in it that
I reported to the author like 6 months ago and hasn't fixed

it should be

char *strxcpy(char *restrict dst, const char *restrict src, size_t len)
{
char *end = memccpy(dst, src, '\0', len);
if (!end && len > 0) { dst[len - 1] = '\0';}
return end;
}

Not the end of the world but just another subtly bugged implementation..

This illustrates the issue..

Notice in the code below how it wipes
out the dest string at char 0 when we supply buf[1]

if we didn't supply buf[1] the zero gets written at buf[size_t_max]

#include <stdio.h>
#include "string.h"

char *strxcpy(char *restrict dst, const char *restrict src, size_t len) {
char *end = memccpy(dst, src, '\0', len);
if (!end) { dst[len - 1] = '\0';}
return end;
}

int main()
{
char buf[3] = "??";
printf("Hello World%s", buf);
strxcpy(&buf[1], "test", 0);
printf("Hello World%s", buf);

return 0;
}
I’m sure you could work that out with aws. Just send them more than the bill x100 to cover you for life.
I expect the parent is thinking of why strncpy is the way it is, and the people who built that were glad if their terminal had both uppercase and lowercase letters, they didn't have Unicode, or grapheme clusters, their concern wasn't "will this string fit in this many pixels on my 24" flat panel?" but "Will this string fit in these 10 bytes where the filename needs to go in the directory data structure of the filesystem?".
What happens when a Congress member uses Chat GPT to draft a public statement and it accidentally includes their resignation? Will we suddenly find that AI is a danger to society and must be regulated?
An oldie but goodie: https://www.davar.net/HUMOR/STORIES/MS-CUISN.HTM
I've been working on mix of ML performance and abstraction for a while and this is a breath of fresh air. Zig is truly a fascinating language, and the semantics revealed in this post are surprisingly powerful.

"By hard coding the forward and backward methods at comptime we have some more comfort with the general correctness and expected errors we would receive if we passed in incorrectly shaped data at runtime."

This solves the issues of shape checking incredibly cleanly. Python libraries have been struggling with this for a decade. It seems like you could also extending comptime usage to also calculate allocations ahead of time.

Honestly, this whole thing makes me want to invest quite a bit of time into using Zig. Great post!
Be it enacted by the Senate and House of Representatives of the United States of America in Congress assembled,

SECTION 1. SHORT TITLE.

This Act may be cited as the “As an AI language model, I can’t ...”
> Is return noticeably better than other institutions?

It is on the higher end compared to other HYSAs. The highest I've seen is 4.81% compared to Apple's 4.15, but that's still better than 3.x% offered by a lot of HYSAs. And of course it's better than the .35% average for regular savings accounts. [1]

> Why Apple is doing it at all?

It's another mechanism to lock people into their ecosystem. You won't switch to Android if you've got funds in an Apple savings account.

1: https://www.cnbc.com/select/best-high-yield-savings-accounts...
It doesn't matter how they practice, it matters how they vote.
Right. I can understand making it illegal to delete your posts as a public servant. That applies to YOU, but I don't see how not being able to block a troll in Portugal posing as someone else is helpful.

There is no standard for verification in social media.
I recall there being a thing about a drum machine app, as well, and iirc F.lux had faced anti competitive behavior as well.
Some people feel threatened by AI because it makes their skills or creations seem outdated, and they blame AI for their problems. They see AI as the enemy. It's hard for them to accept, but AI is here to stay. Eventually, they will have to come to terms with it. Once they let go of their pride and stop focusing on the wrong things, everyone will realize the incredible benefits AI can offer humanity. It's worrisome that some individuals would rather hold onto their own importance than embrace the potential of AI to help everyone. This mindset is unfortunate.
Last year, a German court fined a website for using Google Fonts as it was providing the IP address to Google without authorization and without a legitimate reason for doing so.

It seems likely that the same reasoning will apply here.
> - You can speed up, by a huge margin, big string indices with md5/hash index (only relevant for exact match)

Do you mean a https://www.postgresql.org/docs/current/indexes-types.html#I... index? It's a 32-bit hash (but which hash is it, is it CRC32?). How to do a MD5 index?

Anyway, MD5 is slow, does Postgres offer fast hashes like SipHash (DoS resistant) or FNV (not DoS resistant)?
you can easily add a lot of Oceania to that too.
This is the way. A combination of the two would be prototyping in the language you know best (b), and then once you have it working rewriting it in (a). That way you’re only dealing with one novel thing at a time.

For me that’s Python (b) and any shiny object (a), respectively.
Battery life is actually 1.5 days for Series 7, and whatever routine one has with smartphone charging, one can implement the same with Watch. I tend to shower daily but I know a lot of Northern Europeans have different ideas about that so charging at bed time works too.
Right, but apps should not have that data.

If location is not enabled, or is not permitted for that application, they shouldn't have that data.

IP addresses are a thing of course, and VPNs can help marginally but not entirely.
I also wonder if an AI evaluator would score AI generated with higher than human generated work if the AI was trained in the same input data.

So for instance I'm using an AI to evaluate college application essays, trained on a big database of them someone is selling.

The grading AI will grade essays similar to the best rated training essays high, and the essay generating AI that naughty applicant is using will generate an essay as similar as possible to the training data in the ways an AI cares about (word frequencies?).

However a human applicant writing an equally good essay will get a lower grade from the AI because it is looking for similarity not "goodness" exactly.

This creates a situation where you need to pay for the most popular AI in order to win contracts, get jobs, planning permission, grants... it's a network effect like social media.
Wow excellent point. It’s like that show the handmaids tale were eventually you get to that full lockdown.
Make tools devs use have better Developer Experience (DX) in order to improve the process of making software. Author includes programming language and type annotations as tools too.

Some have too much friction: hard to use, cryptic output, and increases time to deliver.
My house is old - 100 years or so. And I have uncovered so many hack jobs it's not even funny. Any time I open something up to fix or update what I think is a small thing I uncover new surprises that often turn those small jobs into capital-P Projects.

That said, I bought the place as-is and will probably end up selling it that way someday. I know enough about electrical work and codes (and where to look them up) that when I do something, I am confident that what I do is bringing things more up to code than they were.

And that's my logic - I may not be getting a permit every time I do some minor upgrade or change, but when I do something, it ends up in better shape than it was when I found it.

(seriously...the number of times I've found romex or old conduit wiring just wire-nutted together in the wall or between joists makes me wonder how this place hasn't burned down already)
To respond to this story, get the free Medium app
Why are companies pushing so hard for apps while the website is often better. Is it to push advertisement? Extract more information? It's a disturbing trend if you ask me.
can probably be used to explore massive bills as well.
Agreed, I'm also fine with the subscription since it's so little, and also found the Electron switch to be just fine in terms of performance and usability.
I need very flexible charting. While egui has some basic stuff builtin, I need something closer to what imgui-charts has (which makes imgui-rs a candidate for me, but probably not egui). A webview would also work as a fallback with a JS charting lib, but egui can't do that either.
Conversely , I disagree and think garbage generating machine is funny and on point in this serious context. Just for the record I love chatgpt but don’t tell me it also doesn’t produce garbage as per OP.
https://archive.md/L1SeH
I am not blocking a person, I am blocking a random handle on the Internet.
I generally would agree, but be careful. You don't know what you don't know, and that could be dangerous. As one example, I would guess that the vast majority of folks are not familiar with what an MWBC is and how they work, however they're extremely common, especially in older buildings. As another example, most folks have never heard of box fill and will just try to shove wires into a box until it fits.

I'm not an electrician and would definitely encourage folks to learn to do this work themselves, but be careful and if you encounter something that is not familiar, pause and learn until you understand what you're looking at, even if that means putting it back the way it was for a bit and doing some research.
>>> Elected representatives should not be able to block real citizens [1].

I think both the question within the context of current law, and the wider question of "what should be true, beyond current law" is a very interesting one that deserves more thought than a simple "it should not be possible"

On the face of it, it sounds like a noble principle. But even if we sidestep the issue of harassing, it raises the question why it should be so.

If it is about the citizen being heard by the representative? That's not happening anyways. For a reasonably powerful representative, a social media coordinator will likely pre-filter what they see (and should - I'd like my representatives to work, not read their twitter feed all day)

If it is about having a public voice, you can reasonably argue that being blocked by an individual doesn't deprive you of your public voice, even if you can't talk to a single specific person via a single specific medium.

If it is about having the platform granted by being in front of the wider audience the representative has, I'm not sure that currently is a guaranteed right, and I'm not sure it needs to or should.

The one point I find most naturally resonating is the idea that public representatives should be afforded limited to no ability speaking to a semi-public audience without a recording of what they said. This would suggest shadow-banning instead of blocking as the most useful tool.

You can of course argue that it's the state censoring a private citizen, but I'm not sure that holds in current circumstances. The state is allowed to censor in many well-circumscribed circumstances based on harm vs benefit.

And even if we accept that this is censorship, we still have the second important question, does a representative speaking on social media function as an individual, or as a representative of the state. (And I'd expect that if we pick door number two here, we'll sooner or later get to interesting questions like "can you commingle private and public function", and more specifically "can you commingle governmental and campaign function")

There's a lot of (important) nuance that gets lost when we phrase this in terms of absolutes.
I still find it quite sad that the pinnacle of GUI programming tools was reached over 20 years ago, when Delphi 6 was released, and we've been going more or less downhill ever since.
What's the issue with search, instead of just saying it's "unusable"?
"and I think it's naive to wish so hard for this all to fail. It's convenient & easy to say it'll never work."

I do not wish for it to fail, I'm observing that it cannot succeed within the scope of our discussion, which was Mastodon as a "big social" replacement. We're talking 0.5-2B MAU.
It's also a global issue too, lots of autocrats rising up around the world all over south america, europe, and asia
Yes, human is easy to be manipulated with enough tricks. The brain is such a mysteria.
WSL was essential to keeping people using Windows which they then use to railroad you with dark patterns into using their Cloud services and browser. On first install and every significant update they make it very difficult to not use their cloud services. With Edge they don't let you turn off the spammy trashy ads on the new tab page unless you're a pro user or corporation or something.

Anything MS does that seems nice like TypeScript, C#, VSCode etc is the exception not the rule.
I think this is the wrong way of looking at it. If you're doing the whole stack, sure you will end up implementing quite a few things.

But consider that you can write a generic ActivityStreams server without supporting any of the ActivityPub activities. Now you have a generic platform to build on.

Tack on a tiny bit of support for e.g. addressing etc. as found in ActivityPub and you have what you need for federation.

With that generic platform, doing what you're suggesting is a matter of implementing a handful of Activities that mutates Objects and Collections.

What the author did is the equivalent of implementing a mailing-list manager by first writing a mail server from scratch instead of just writing the bits managing the list and sends, because he didn't have that lower level layer to build on.

There is indeed a lot of missing tooling to work with ActivityStreams/ActivityPub, that makes it painful now, and unfortunately a lot of ActivityPub implementers takes the same tack as the author and builds one big monolith instead of first building that lower layer.