skysight-inc/HackerNews huggingface dataset:
.each_codepoint.size is more efficient than .codepoints.size, as it creates a sized Enumerator that avoids needing to build an intermediate Array. For strings with only single-byte characters it reduces to returning the already-stored stored byte length.

Same goes for .each_byte.size, but for that you have the faster .bytesize method that avoids the intermediate Enumerator.
If you're not using the GPIO it's a dreadfully slow and power inefficient phone anyway.
The J. B. S. Haldane essay he’s referring to is On Being the Right Size from 1926. It’s part of the anthology On Being the Right Size and Other Essays, which you can still find, and is still worth reading.
How do you then explain cases where shareholders do not approve executive compensation? For instance: https://time.com/6184355/ceo-pay-investors-workers/
Its not strictly satire...its meant as commentary

It is part of the 'Christmas edition' of the BMJ which is famous for things like this.
https://en.wikipedia.org/wiki/Kelo_v._City_of_New_London

"[The Court held, 5–4, that the use of eminent domain to transfer land from one private owner to another private owner to further economic development does not violate the Takings Clause of the Fifth Amendment."
won't this create a market for water rights? provided rights are limited and transferable, we would expect that higher value use cases would purchase the rights over time.
This is the killer aspect of the RPi, that there are tons of well supported drop-in software solutions for it. Other boards can be made to work, but the RPi will just work.
Oops, looks like I am the 18th person to post this in 12 years: https://hn.algolia.com/?q=why+do+game+eevelopers+prefer+wind...
We installed a three phase load shedding device for a school in January

It was just a Pi and relays

Tens of thousands of dollars
There is a switch in the Settings app to disable iMessage and just use SMS. This is an option for the built in messaging app, no need to “swap” or install another app.
As with everything, follow the money, pretty much.

There will be an ASIC as soon as serious money is being made from LLMs, most use cases atm seem to be in prototype/toy stage, but I imagine we'll start seeing that change.
Yes, but before, it was pretty easy to tell if the accusation is supportable or not. With LLMs, it won't be, so the accusation carries more weight.
No GPIO header ofc, unless they make ones with coprocessors, like the Lattepanda.
the point is that even if the signal was valid, the college admissions ploy described in the OP would still be true. fundamentally the signal should be in the actual quality of a specific candidate, not some approximate proxy for the school name.
When is the last time you used macOS? Command+Tab also switches to the previous window instantly. It only brings up the switcher when you hold it longer.
As someone that has always preferred Parker to Coltrane, I’d love to hear this. Are these widely distributed releases or something obscure I’ll need to search for?
What exactly am I missing with gestures on Windows vs macOS for this purpose? 3 finger gesture brings up my windows and allows me to drag windows to different workspaces. 4 finger swipes left and right allows me to switch workspaces.
Kusama has openly struggled with a fragile mental health condition, suffers from constant hallucinations, and has lived in a psychiatric hospital for the past 40 years.

That's why this story is vacuous.

The author, editors, and publisher knew all that going in.

But when the interview didn't happen, they chose to run clickbait instead of respecting Kusama.

And so Kusama's intuition turns out to be reasonable.
Why should drivers be video streaming? I'm just suggesting that regulators should compare accident rates of cars with and without automated breaking. I'm not saying we should spy on anybody, surely regulators already get this data.
I suppose the closest analog is when YouTube pays the music industry for music distributed on their platform? This isn't just about links, it's about the work being copied onto meta platforms and distributed there.

https://www.theglobeandmail.com/politics/article-bill-c18-on...

It's an interesting point, not sure how I feel about it...
Yeah. And the context often assumes that dollars are expensive, minutes are cheap, and knowledge is free.

Test prep certainly helps. Knowing that test prep helps is key knowledge that is suppressed by these studies. Having the time to engage in test prep is often a luxury. Having the skill and discipline to do effective test prep is a lot to ask.
Saying yes or no seems a lot less impactful than actually doing the work. Engineers without a CEO can still create something, a CEO without engineers is basically worthless.
> UTF-16 length is only useful if you are moving UTF-16 [...] Remember to pass on your condolences and look forward to a day when we don't do that any more.

Java/the JVM says hi!

Arguably, "how many bytes does this string occupy in memory/on disk (e.g. in class files)" is a pretty useful thing to be able to ask.
What’s the easiest, ocams razor solution here? Tort sounds easy
For over a decade I ran a very famous /r/ with ~2,000,000 subscribers...

I made it a point to have the sub remain Apolitical - total disaster to the point where the corrupt reddit admins got involved and kicked me out of the sub (admins have tons of alt accounts they use to get mod status in /r/'s)

Its very hard to be apolitical at all these days because the constant barrage of damage control and distractions used to shield US lawmakers from corruption scrutiny. And it affects our lives on a daily basis.

Look at the news cycle today. Literally today ; talking about 'running out of money and raising the debt ceiling' - but zero acknowledgement of the ~250 BILLION dollars we have thus far sent to Ukraine for another proxy war. Fuck that.

We have fucking zombies slurping off the government tit (feinstein) and a crap ton of geriatric long time sitters with dementia and corrupt insider activities

https://i.imgur.com/fRlfeB2.png

https://i.imgur.com/aNoLw7X.png

https://i.imgur.com/JRxXvsF.png

https://i.imgur.com/88zALUY.png
AMD invested significantly into OpenCL prior to 2016. It seemed like a safe bet -- the open industry standard usually ends up beating the proprietary standard in the long run.

Especially for something like this, with massive open source / open standard companies like Google as heavy users. It seems surprising to me that Google didn't ensure that open standards won in an area that they are so heavily dependent on.
What endless war?
Green steel could help rebuild America’s Rust Belt
The Dana runs PalmOS 4 (the closest thing that ever existed to a Palm laptop), so any Palm-compatible C compiler will do.
They're exporting 70% of their water in the form of agricultural products. That's really the only problem that needs fixing.
I have it disabled. One of the first things I do on a new install.
I thought these crazy Americans wouldn't surprise me anymore with another strange unit of measurement and here's the acrefoot
I have a work laptop with a 12850HX + 3080Ti and 128GB of ram for work - even if you remove all the cooling from it, all the components still take a huge amount of space inside. The 128GB CAMM module for ram alone is larger than the entire motherboard in macbooks. Also the cooling would need to be able to deal with ~200W of heat, even solid state cooling would be quite large for such an amount of heat.

https://imgur.com/a/L24ATjp

that green module on the right is just ram. And Dell is trying to make this the future standard for ram modules in laptops. (ignore the dust on fans, I was in the middle of cleaning it).
Is this not the logical conclusion to « just build your own X? »
Rewards are opt-in, not opt-out. The whole point of 'opt-in' is to give users a choice.

Besides, I'd rather have this level of adware than Chrome level of spyware.

It's also a lot better than any other mainstream browser out there. Firefox has tons of ads too and Chrome and Edge, let's not go there.
The Todd Howard bar.
> Done out of necessity because politically motivated people in power have decided to not service conservatives.

you realize conservatives did it first, right? First with segregation, no black people in my bar, then that wasn't allowed any more, but a bakery could deny baking a cake for a gay wedding. I mean, you could take it back to slavery even, which itself was an alternative economy of sorts. People being used as currency, etc...
Atomic Pi Dev board kit is $50 on Amazon. Also doesn't suffer from this weird trend that computers should only have USB power as an option.

My real point is once you are out of that "it's a cheap board I can get for $30" type territory it makes more sense to get something substantial.
Depends on what those two men are doing. If they're pointing guns at each other in a non-sexual manner, that's ok.
$240 Annum for 15GB mint mobile.
They should refurbish old, unused Pis for resale. It benefits the community by offering affordable options and promotes sustainability. The organization can generate revenue and attract new enthusiasts. Let's give those forgotten Pis a new life
I'm not biased. It's everyone else that is.
UCLA Library | User Experience (UX) Designer | Los Angeles, CA | REMOTE(US Only) or ONSITE | | Full Time | https://ucla.in/3KmMfYw

We at the University of California, Los Angeles Library are hiring for a User Experience (UX) Designer to join our 15-person software development team. This role works collaboratively with another UX designer, software developers, system administrators, librarians, staff, students, and faculty.

In this role you would help research, define, and create the user interfaces used by the variety of web applications developed by our team. Your work has an immediate powerful impact on how the academic community accesses the Library's resources. Our most recent example where the UX design team had a critical role was in the redesign of our main library website (https://www.library.ucla.edu). We transitioned away from Drupal to a custom static site using nuxt.js and a headless CMS.

We are remote-first team with members spread across all time zones within the United States. Come join our team and make a difference in academia. Apply here: https://ucla.in/3KmMfYw
I would think consumers annoyed by politics would gravitate to companies that attempt to remain entirely neutral and avoid making statements one way or the other.

However, the article describes consumers gravitating to companies that match their political beliefs. This implies that they aren't annoyed by companies who push political topics, just by companies that push politics they disagree with.
There is a mobile-only client called troddit.com that is really good. It shows what could have been possible with pure browser client on mobile. Not only is it waaaaaay faster, the UI is better too.
There doesn't seem to be a port for 16-bit CPUs. But maybe Linux in the form of ELKS if the memory allows.
--------------------------

Location: Austin, TX
Remote: Fine with anything, fully remote, hybrid, or full in-office
Willing to relocate: No
Technologies: Full-stack, TypeScript, React, Node.js/Deno, NestJs/Next.js, Docker, Software Architecture Design, AWS, Linux, Advanced Git, Relational Databases, DevOps, Leadership & Non-violent communication
Résumé/CV: See https://tim.zook.net
Email: See https://tim.zook.net
Interests: Open source, modern web platform innovation, progressive web apps, internet protocol design, programming language design, developer tooling, computer graphics, practical & down-to-earth engineering
Anti-interests: Crypto, blockchain

Hi there! I'm Tim, an independent creative thinker with over a decade of experience developing software using web technologies. As CTO for a web development agency for four years, I have solid insight into the business aspect of modern software development, but I have felt called recently to get back to my roots of actually coding and building great software myself. I'm passionate about innovating and proactively moving my projects forward rather than just doing the bare minimum, so I'm mostly interested in smaller companies where I feel like I can have a big impact on the overall success of the company. I have extensive full-stack development experience in a wide range of technologies, but I'm most interested in using React/TypeScript on the frontend and any modern statically typed language on the backend (TypeScript/Go/Rust/Kotlin/etc). I'm looking for companies that want to get a great deal on a highly versatile and productive team member in exchange for a non-standard work schedule, see my website for more details: https://tim.zook.net
Can you give an example of why?
I think there are solid state ignition coils which replace distributors. Also, there's at least one Speeduino model which does what you want [0].

[0]: https://wtmtronics.com/product/carbumate/
I have hardware out in the field deployed at breweries/pubs that have died over time and needed replacements. my own stock of pi3's is now depleted, and I've been looking for replacements daily.
You've had a Ryzen 7000 series CPU running for nearly 3 years already?
If the land it's being built on was previously thirsty farmland it may be a net positive in water usage
It's probably law degrees where schools (and clerkships) probably have the most sway--especially for big city law firms. For MBAs, schools probably carry out-sized weight for new grads in some specific areas like management consulting and investment banking.
If they are overwhelmed with usage requests and can't buy GPUs fast enough, the model could be the same but the amount of compute spent on the answer could be ramping down impacting the quality.

It would be really cool to quantify how much compute spend per interaction.

If this was visible, users could spend an arbitrary amount and modify how much they're willing to pay for 'better' responses. This is probably a better business model.
But on Linux they're superior to NVidia's closed source garbage.
So no agreements had previously been made then?

https://nsarchive.gwu.edu/briefing-book/russia-programs/2017...

I mean, I'm not supporting Russia's actions here, I'm saying the US (mainly) are just a bad an actor. They're essentially fighting a war with Russia (as their warmongers and military complex love to tell their shareholders about), Ukraine is just the pawn in the middle.

I should have said 'towards' the border, not 'on.' My bad.
It's a fine level when it comes to mergers and aquisitions though. Look into what Facebook did with Onavo.
And I personally want some method of detecting LLM output to help protect me in my own internet reading. Even a method that is imperfect would be welcome.
Yes, there's lot of projects out there, but most people just use off-the-shelf products.

Get yourself electronic ignition (Pertronix is a recommended brand) which replaces points and basically uses solid state electronics to fire the spark plugs, making them run much better and no more messing with points.

All engines need timing, but modern distributor-less motors do it automatically; timing should be a set it and forget it thing for the most part.

Then your carburetor is likely the issue for running rough, hard to start, etc. You could get a different more modern carburetor, but switching to fuel injection may be the way to go if you just want "turn the key and go". They make fuel injection systems that look and mount just like a carburetor but use more modern tech - look at FiTech, or Holley for solutions. Those are going to require you to add a sensor to the exhaust and a couple sensors around the motor (all included in the kit, but work to add), plus you'll probably need a new fuel pump that can put out much higher pressure (fuel injected cars use ~40-60psi fuel, carburetor is more like 3-5psi).

It stinks because it's burning raw fuel and you're not used to the smell of that thanks to today's cars with catalytic converters - they do sell them aftermarket that you could add in to your exhaust system as well.

At the end of the day, it's all very possible and there are open source projects like Megasquirt that could be a place to start, but going the open source route will be even MORE "fiddling around" than your current setup, so you may want to look at off-the-shelf EFI conversions. At least do yourself a favor and get Pertronix electronic ignition - it's a total game changer in terms of ease of starting, smoother running, and less hassle, and it doesn't cost much and is easy to do.
I think sim cards have been able to run java for quite a while[0], and who knows what else they can do. So I guess encrypted post cards it is.

[0] https://www.extremetech.com/defense/161870-the-humble-sim-ca...
The Apollo app lets me use Reddit while signed out. I can favorite some subreddits and browse through them with no fuss. The official Reddit app won't do anything until you sign in. Apollo also has a bunch of life improvement features that the Reddit app will never see such as auto collapsing pinned / auto mod comments, icons that identify newer accounts, and showing who deleted posts.
I recently hacked together a "parental control" filter (e.g. "block Roblox after 9PM) by way of PiHole and some shell scripts. As the name implies, these usually run on a RaspberryPi, which have been impossible to find.

I picked up an ODROID C4 from Ameridroid and have been really happy with it. It lacks WiFi, but it wasn't necessary for my purposes.

I'd love to be able to get Pi Zero W, but not enough to scour every third-party dealer's site hoping they're in stock.
> Instead, UTF-16 ruined Unicode for everyone with the abomination that is surrogates,

UTF-16 is a hack. Unicode originally thought 65,535 values should be enough to represent all human languages and so 16-bit fixed size characters would work. However, that proved incorrect. UTF-16 was a hack to try retrofit this onto systems that had already adopted this 16 bit character (Java, Windows NT, etc).

An entertaining summary of the situation is here:

https://www.theregister.com/2013/10/04/verity_stob_unicode/
So those millions of young people in developed wealthy countries who can't afford their own place to live are rich?

Please explain
> outflow from the black hole

So things flow out of black holes?
Definitely going to try this out. Looks like an interesting complement to Shiny for Python.
When markets melt down, these traders cash in
It's a good thing we don't have any of this foolishness on Hacker News! /s
how is this generally possible? In my simplified understanding, a text message is a hunk of data, but I know it's more complex than that.... it must be able to connect to all kinds of services and trigger all kinds of code running, right? Can't it be sanity checked sufficiently?
Can you provide a link to that ban threat story?
Another challenge is to get the AI generated output to fit in a page and preserve original formatting
I don't think it's about DRM and tracking as much as proving authenticity.
It switches to the previous _app_, not window. It will bring all of that app's windows to the front. A core feature a lot of folks want is fast, window-oriented focus switching.
I think I'd rather not have much of a difference between Oracle and Postgresql, if only because it would make it given "certain people" more arguments against switching from Oracle to Postgresql.
> name mangling

Can be turned off on demand for relevant symbols.

> larger gap between source code and ISA

There's already a huge gap between C code and machine code (see: Undefined Behavior). C hasn't been a "portable assembler" for a very long time.

> impedance mismatch when working with C APIs

C++ has no problem working with C APIs.
The world sees invasive seaweed. This gardener sees housing bricks
I feel like our country is extremely unprepared for what climate change is going to mean for everyone in a decade or two.

It starts with insurance not covering large areas of the coast, water scarcity in dry regions, etc. Pretty soon you have expensive energy, mass migrations, widespread shortages, and politicians yelling jingoistic chants at rallies.

Everyone acts like 20 years from now gas will be more expensive and we’ll get some coastal flooding. These people are hopelessly optimistic. it’s going to get really bad once the dominos start falling.
But this isn't something the C++ language provides, which is hilarious.

C++ keeps C's crap array type as its native array type. You need to reach into the C++ standard library to get this awkward library type, std::array<type,N> and then finally you get an array type that remembers how big it is and has some basic features like swap.
And probably triple the number of exploits burned on senseless misdirection.
Java loaded full unicode code point semantics into its standard `java.lang.String` class. These _are not guaranteed_ to have `O(1)` performance characteristics, because the underlying storage format is dynamically either a UTF-16-esque variant (with surrogate pairs for characters that don't fit in 16 bit), or a single-byte-per-char format if the string does not contain any non-ASCII. This has the advantage of being very very slightly more obvious, given that both methods exist and are documented:

void main() {
String x = "(that emoji here)";
System.out.println("Chars: " + x.length());
System.out.println("Codepoints: " + x.codePointCount(0, x.length()));
System.out.println("As stream of chars (= UTF16-esque with surrogate pairs):");
x.chars().forEach(System.out::println);
System.out.println("As a stream of codepoints:");
x.codePoints().forEach(System.out::println);
}

This ends up printing:

Chars: 7
Codepoints: 5
As stream of chars (= UTF16-esque with surrogate pairs):
55358
56614
55356
57340
8205
9794
65039
As a stream of codepoints:
129318
127996
8205
9794
65039

NB: Apparently many hackernews readers know java but don't use it all that often day-to-day. The provided java snippet is vanilla valid and can be executed with `java ThatFile.java` (no need to compile it first), though it does use preview features.

The fact that the codepoint counter is a very awkward `codePointCount` call has the dubious benefit of highlighting this method loops through and therefore would be quite slow on very large strings.
There's at least one Speeduino based model aimed at carbureted cars:

https://wtmtronics.com/product/carbumate/
> The bill is intended to shore up California’s struggling media outlets, including ethnic media and media serving so-called “news deserts.”

I think that this illustrate well the shameful impact of lobbying. Because of their mediocrity, media are dying. This is normal free market that is working well. Instead they use of their influence to steal income from other business.
Accurately assessed.

Marketed as "protecting Canadian culture". In reality it's oligarchs lobbying to keep the status quo and their margins fat.
Why would it be true? Colleges could, in fact, not reward the bullshit resume padding of wealthy families. They could also fire literally half the admin staff, which is approaching an astonishing 1:1 ratio of staff to students at a lot of these prestigious colleges.

They don't reward this bullshit resume padding because they are confused they do it because they want to.

The incentives for college administrators are basically all financial at this point, it's about tuition and donors. Like I said, academic culture has been overtaken by the culture of financialization.

Consider this thought experiment - what would you do if you wanted to publicly say you did "need blind" admissions where you really promise not to look at the actual financial status of applicants at all, but you actually wanted to avoid admitting too many people who weren't going to pay full price?

If those were the incentives you were facing, then you'd try to come up with signals to use as a proxy for just asking applicants if they are rich.

Can we see what's going on here now?