skysight-inc/HackerNews huggingface dataset:
Often, great engineering products start out crisp and clean until the product manager, sales and marketing guys, growth managers and evangelists step in and start adding antipatterns. I am not surprised Ubuntu did it. I am surprised they did it so late. They were slow-cooking this for the last 5 years. And for anyone unwilling to see it: Ubuntu wasn't about building a solid engineering product like RHEL, Debian or Slackware. It was always cashing on making a fork (i.e Debian unstable) more usable. Their core interest is increasing number of installs everywhere, not bringing the next engineering marvel. Flatpak serves that cause beautifully. They only have to worry about sandbox & containers part for software others build.

Ubuntu has tried bold moves - like trying to replace Xorg with Mir. That failed because Mir was raw. But this one might just. Making deb packages second class citizens in a Debian derived OS is so unfortunate.
Can you point to the recent data that you mention, please?
Well, the simple (not to be confused with easy, or pleasant) solution is to stop listening to those people. Sometimes people need to be dragged into the current century kicking and screaming.
IMHO the original code wasn't written in a way that's particularly friendly to compilers. If you write it like this:

int run_switches_branchless(const char* s) {
int result = 0;
for (; *s; ++s) {
result += *s == 's';
result -= *s == 'p';
}
return result;
}

...the compiler will do all the branchless sete/cmov stuff as it sees fit. It will be the same speed as the optimized assembly in the post, +/- something insignificant. However it won't unroll and vectorize the loop. If you write it like this:

int run_switches_vectorized(const char* s, size_t size) {
int result = 0;
for (; size--; ++s) {
result += *s == 's';
result -= *s == 'p';
}
return result;
}

It will know the size of the loop, and will unroll it and use AVX-512 instructions if they're available. This will be substantially faster than the first loop for large inputs, although I'm too lazy to benchmark just how much faster it is.

Now, this requires knowing the size of your string in advance, and maybe you're the sort of C programmer who doesn't keep track of how big your strings are. I'm not your coworker, I don't review your code. Do what you want. But you really really probably shouldn't.

https://godbolt.org/z/rde51zMd8
Soon it will be the mandated noisemakers on EVs.
Sega Arrogant
> The Ctrl key can be easily pressed with edge of palm

What a funny, creative technique!

Is it still common to have the Ctrl key at the bottom left corner, though? It's been years since I've typed on a keyboard which was laid out that way.
Source? That sounds very backwards but also like something that ubuntu would do...
Excel, SAP, AutoCAD, Photoshop, and many many others. All require quite a bit of training even if you already know similar software.
Here's one example question that ChatGPT utterly fails at, but that this answers fine: "What is Amazon CodeCatalyst?"

ChatGPT: "I'm sorry, but as of my knowledge cut-off in September 2021, there was no service, tool, or product known as Amazon CodeCatalyst offered by Amazon Web Services (AWS). [...]"
ah yes, that classic proof, "I already proved it!" [with no citations, while entirely failing to respond to any clarifying questions]

can be applied in all cases!
Twitter threatens to sue Meta after rival app Threads gains traction
DVD player

Yeah. This was really a "killer app" for the PS2. That, plus Sega's self-destroyed reputation thanks to the SegaCD/32X/Saturn fiascos.
You're cheapening yourself by tolerating things like this.

Maybe your time is free. That's sad.
Because Zuck probably told his team to make this a few weeks ago to annoy Musk. Weird ego thing going on.

Python is likely faster to push out an app like this than say rust or even go.

Also why spend time optimising something that will be dead in a few months?
In order to avoid the really catastrophic scenarios, the goal is to get to zero CO2 emissions by 2050, not to reduce it as much as possible as quickly as possible. To do that, we need to be selling only pure EVs by ~2040 at the latest, hybrids will never get there unless we have a massive breakthrough in synthetic fuel.

The CO2 emission cost that goes into producing the battery is typically wildly overstated, it doesn't take very long to be recouped.
Nintendo happened to release one of the best games of all time at the launch of the switch. That had a huge amount to do with it.
I am almost not able to get anything done during the day anymore. My routine is going to bed super-early, waking up at 2-3AM, and doing deep-focus work then. Of course I have to crash later, but that effectively gives me two "mornings".
I am hopeful this will help mesa3d support with RISC-V SoCs such as JH7110 (and thus VisionFive2 and Star64) be excellent.
I mean... It depends?

You are just trying to host a llama server?

Matching the VRAM doesn't necessarily matter, get the most you can afford on a single card. Splitting beyond 2 cards doesn't work well at the moment.

Getting a non Nvidia card is a problem for certain backends (like exLLaMA) but fine for llama.cpp in the near future.

AFAIK most backends are not pipelined, the load jumps sequentially from one GPU to the next.
Native https://twitter.com/vinaygaba/status/1676968580712366080?s=6...
Sorry, I write 'gcc' purely out of force of habit. I'm using Clang/LLVM.

[17:23:00 user@boxer ~/looptest] $ uname -a
Darwin boxer.local 21.6.0 Darwin Kernel Version 21.6.0: Thu Jun 8 23:57:12 PDT 2023; root:xnu-8020.240.18.701.6~1/RELEASE_X86_64 x86_64
[17:23:47 user@boxer ~/looptest] $ cc -v
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: x86_64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Clang generates the sete instruction for me with the above code:

[17:23:49 user@boxer ~/looptest] $ gcc -c -O3 loop2.c
[17:25:00 user@boxer ~/looptest] $ objdump -d --symbolize-operands --x86-asm-syntax=intel --no-show-raw-insn loop2.o

loop2.o: file format mach-o 64-bit x86-64

Disassembly of section __TEXT,__text:

0000000000000000 <_run_switches>:
0: push rbp
1: mov rbp, rsp
4: xor eax, eax
6: nop word ptr cs:[rax + rax]
<L0>:
10: movzx ecx, byte ptr [rdi]
13: add rdi, 1
17: xor edx, edx
19: cmp cl, 115
1c: sete dl
1f: add eax, edx
21: xor edx, edx
23: cmp cl, 112
26: sete dl
29: sub eax, edx
2b: test cl, cl
2d: jne <L0>
2f: pop rbp
30: ret
> The folks objecting to this don't make much sense to me. The injunction forbids the gov't from doing the things that the plaintiff complains about. If the gov't isn't currently misbehaving, then the injunction is a No-Op: the government's claimed current state of doing nothing wrong will just continue as is (putatively) already is.

The argument being pushed is "The government didn't do those things and it's a good thing that it did." Makes perfect sense to me, in the correct context about the ideology of those pushing it.
https://pubmed.ncbi.nlm.nih.gov/32740163/

Compared to those who consumed <300 g/month tea leaves at ≤65°C, those who consumed more than 300 g/month tea leave at >65°C had a more than 1.8-fold higher risk of esophageal squamous cell carcinoma for both green tea and black tea.
This looks cool.

How does this work?
Shouldn't the compiler be able to do that, too?
Oh, crap. What do I install on the little laptops I use for single-purpose stuff. Is there still going to be XUbuntu? Can I get something that never "phones home"?
Powered by the snap store? That's the kind of bullshit that you purge in your "Fix Ubuntu" script.
It's kind of nice in cool climates. I've rented places where I never had to turn on the heat once all winter thanks to all the heat coming up from lower floors. Temps were almost always above 60F and usually above 65 which is perfectly fine for cozy sweaters and blankets.
MariaDB Receives NYSE Continued Listing Standards Notice
> On Wednesday, an attorney representing Twitter sent Meta CEO Mark Zuckerberg a letter that accused the company of trade secret theft through the hiring of former Twitter employees.

I can't imagine what trade secrets there would be for an app like this that FB of all companies would not already know through their own platform experience.
> But these companies are so big now that it would hurt someone's stock, 401k, and economy as a whole.

I'd think a "corporate death penalty" as a kind of creative destruction. I'm sure demise of Radio Shack hurt someone's stock stock or 401k, so that's tolerable. If it's not, I suppose part of the policy could be to reissue and return stock to certified "unsophisticated" investors (e.g. index funds open to the public and people with net worth below some middle-class cutoff). That reissued stock would still be valuable, since likely few of the company's fundamentals would have changed.

I also don't think such a thing would hurt the "economy as a whole" beyond a short-term blip, unless the company ceases to be a going concern. You'd only we wiping out the stockholders, it'd still service its customers, make debt payments, etc.
ChatGPT is not up to date unless you start using the plugins. This sort of indexing is based on vector databases and various intermediate prompting. If you want to get technical, the academic term is "Retrieval Augmented Generation".
One speculative thought about the purpose of Whisper is that this will help unlock additional high-quality training data that's only available in audio/video format.
Maybe you're a contractor. Maybe it's legacy code that has simply been archived. Maybe the network is down. Maybe there was a bad migration.

Sidecars generally suck because they get lost.
> So in short, what we have is an uncontested pattern of entering into what both parties knew and accepted to be valid and binding deferred delivery purchase contracts on a number of occasions. It is important to note that each time Kent added to the offered contract “Please confirm terms of durum contract” and Chris did so by succinctly texting “looks good”, “ok” or “yup”. The parties clearly understood these curt words were meant to be confirmation of the contract and not a mere acknowledgement of the receipt of the contract by Chris. There can be no other logical or creditable explanation because the proof is in the pudding. Chris delivered the grain as contracted and got paid. There was no evidence he was merely confirming the receipt of a contract and was left just wondering about a contract.

....

> I find this to be very similar to the durum contracts referred to above including Kent’s use of the phrase “Please confirm flax contract” (the only difference being the use of the word flax instead of the word durum) and this time instead of words like “ok”, “yup” or “looks good” being texted by Chris – a commonly used <thumbs up> emoji was texted by Chris.

This is the key finding in the Judgement[1] for how the judge resolved the ambiguity, including important context missing from TFA. The parties had done business together for ten years, and had executed contracts via text message on three previous occasions. In all three previous cases, the seller responded with something terse and then delivered on the contract.

[1] https://www.canlii.org/en/sk/skkb/doc/2023/2023skkb116/2023s...
I can’t imagine many engineers or others with actual talent are still sticking around there.
Just follow the installer log. It does the Ubuntu standard installation followed by removal of non-essential packages (office utilities, AV utilities etc.)
It would strike me as an arrogant thing to say, especially when they're better at management than I am. It would feel like I was crapping upon their skills and abilities.
First of all you shouldn't comment "finds a product from database by it's ID" because that's just what the function name already says.

Second, you're (I think) arguing that we shouldn't use comments because they might go out of date, which I think is throwing the baby out with the bath water.

> comments only make sense if they explain the -why-, not the -what- or -how-

That is the wrong heuristic. Comments make sense if they provide useful information that isn't self-evident from the code. Often that is the "why", but it can also be the "what" or the "how". Think about something like the fast inverse square root. A comment explaining how it works is very valuable.
It will be interesting. Some federal grants seem to have pay limit maximums lower than the new minimum pay requirement.

Maybe this will have the effect of sending more federal grant money to lower cost of living research institutes. That could be an interesting outcome.
Yeah, no thanks. I don't want all my packages to break when something fundamental like libpng updates. Again. Or for an update to break just because I didn't update for a month, and then I have to read multiple forum threads to figure out how to unfuck things.
Yep. Looks like our two weeks of Winter is already over. I was actually enjoying the cool mornings: 16C.
> Politician: What if we just added really annoying bike lanes to like 3 roads that will sit there empty because a dedicated lane wasn't what was stopping people from riding their bikes?

Three dedicated lanes won't be what was stopping people from riding bikes (in most cases) but a network of them sure would increase ridership.
> Facebook had hundreds of millions daily active users before writing a compiler.

In other words, Facebook felt compelled to write a compiler when they had hundreds of millions daily active users.
Millions of terabyte disks of storage. Then repeat the attack a couple thousand times.

In cryptography, you don't want "ludicrously" infeasible, as in the NSA can just about afford the hardware and do it, you want astronomically infeasible.
The Enhanced Games
"Temporary restraining orders" (TROs) are extremely preliminary. This is not a TRO.

This is a "preliminary injunction" (PI). A PI is a different phase of the case. Granting a PI is extremely an significant and consequential action by the judge. Think about it this way-- if the judge is right and conservative voices were suppressed-- the PI has the potential to change the political landscape in which the legal challenge occurs. So, in addition to the judge signaling that the plaintiffs are likely to succeed in getting permanent relief, in the meantime the judge also is tipping the playing field in their favor to undo the irremediable harms that are the subject of the litigation.
This is great example, and I think it’s a smaller version of the same problem.
I switched to mint linux for a few VMs that used to be ubuntu. So far it's working well where ubuntu just kind of stopped working for reasons I don't really have time for. Ubuntu changed some stuff and it's not really viable for me anymore.
That's a surprisingly complex question.

I started a PhD at NYU just as the graduate student unionization happened. IIRC, at NYU only graduate students who were actively teaching in a given semester or had a specific type of research grant were considered members of the union. First year PhDs at NYU were generally not covered, because in that case your salary was simply the generic PhD fellowship and you didn't count as a worker.

The union essentially negotiated on behalf of all students, and for example won an increase in the PhD stipend that applied to everyone. But there were some benefits (family cash assistance perhaps?) that you could only get if you were in the worker category.
Oh wow, you just got me hooked on a rabbit hole that i can't get out of - but in a good way! :-)

I love these sorts of easter egg-like things! I mean, they're not really easter eggs. But this /uses page, the /now pages, the humans.txt file that someone else mentioned (which i also use on my personal website), and other similar "info broadcast" mechanisms are always so much fun...Because they provide a little trail of breadcrumbs of discovery about people in a neat, old school sort of way. I miss the internet/web of old, and this sort of thing brings all that fun back! Thanks for sharing!
Why has everyone on here been comparing Threads to Twitter when threads.com literally says its a Slack alternative for makers? The product has absolutely nothing to do with a Twitter style social network.
internet is kind of The universal social network.
This (points up). I have a 120-mile-range i3 with the range extender. It's not enough of an extender for any long trip, and I don't need such a thing often enough to really care. I go to the gas station every six months to refill the tiny tank that's run down from the built-in maintenance cycle, and am struck every time by how much gasoline stinks. I think I'd rather have had extra battery.
Why has everyone on here been comparing Threads to Twitter when threads.com literally says its a Slack alternative for makers? The product has absolutely nothing to do with a Twitter style social network.

Edit: lol so FAANG just steals any and all actively used product names now. Got it.
They made the choice to discuss it in a public place. Should lip-readers be required to avert their eyes from everyone else in the park?
> Today all existing API developers with a history of successful payments can access the GPT-4 API with 8K context. We plan to open up access to new developers by the end of this month, and then start raising rate-limits after that depending on compute availability.

Same for me. I signed up only a few days ago and was excited to switch to "gpt-4" but I haven't paid the first bill (save the $5 capture) so I probably have to continue to wait for this.

I made a very simple command-line tool that calls the API. You run something like:

> ask "What's the opposite of false?"

https://github.com/codazoda/askai
Nice. The way I read the cmove version, it's more or less this except the trick line goes

res += (c == 's') ? 1 : (c == 'p') ? -1 : 0

I haven't done C in decades so I don't trust myself to performance test this but I'm curious how it compares. Pretty disappointed that TFA didn't go back and try that in C.
Interesting Twitter claiming Meta ‘poached’ staff. That would seem highly unlikely given the scale of firings Elon did… meta could have just picked up a few of the newly unemployed and that is NOT poaching
>> I mean I was literally in Latvia this past week - Riga and Liepaja - and spoke to cab drivers and others. I was struck by how many people speak Russian there and also how many people tell me (unprompted) the same things I’m saying here.

Russian colonists are hardly objective observers, "Russian cab driver in Riga" is a particularly meme-worthy benchmark. They are a brainwashed fifth column that Russia has tried throughout decades to pit against Latvia to weaken it and gain influence over Latvia and enslave it again. That's the main reason why Latvia is in NATO.

But even with a massive amounts of Russian colonists in Latvia, the support for Russia has dropped to 4% while 86% of Latvia's population is against. Even most colonists have come to their senses and shut up about "glorious Russia".

>> And even in the USA nearly all the experts whose job it was to know these things all predicted and warned for decades that NATO expansion would lead to exactly this outcome

Russia has invaded only countries that have not joined NATO. Ukraine didn't take the risk of invasion seriously (unlike Poland, for example), didn't join mutual defense pacts and tried to sit on both chairs and stay neutral, and that's what they got.

The invasion was indeed predictable, but for other reasons than you state. Here's Dudayev predicting in 1995 that Ukraine will see similar genocidal war as Chechnya was seeing then: https://www.youtube.com/watch?v=d7xJl3ZrFeI That war in 1995 was a breaking point that led to Eastern European countries speeding up their entry into NATO. The war proved that Russia would stop at nothing to enslave people. Those who moved quickly are now in NATO and relatively safe, several who didn't have been invaded by Russia.

>> So no, “little green men” has NOTHING AT ALL to do with Russia having “boots on the ground” in Donbas. Russia didn’t invade Donbas in 2015.

European Court of Human Rights has decided otherwise: "the Court found that areas in eastern Ukraine in separatist hands were, from 11 May 2014 and up to at least 26 January 2022, under the jurisdiction of the Russian Federation. It referred to the presence in eastern Ukraine of Russian military personnel from April 2014 and the large-scale deployment of Russian troops from August 2014 at the latest. It further found that the respondent State had a significant influence on the separatists’ military strategy; that it had provided weapons and other military equipment to separatists on a significant scale from the earliest days of the “DPR” and the “LPR” and over the following months and years; that it had carried out artillery attacks upon requests from the separatists; and that it had provided political and economic support to the separatists."

https://hudoc.echr.coe.int/eng?i=001-222889

>> Outside NATO countries, outside the bubble, people largely think what I am saying.

Most people in the world disapprove what Russia is doing. Disapproval skyrocketed in 2022, largest change towards disapproval was in Southern America. https://www.voanews.com/a/global-public-perception-of-russia...
that's *** brilliant I @#@#@ know that feeling
That was an amazing set. The first one I bought from my own hard-saved cash as a kid. Really fun to build and amazing (and informative) to see the working steering, differential, suspension, and gear train assemblies.

I have this set laying around, mostly complete. Should really rebuild it someday!
Whoops, should confirm, we’re using turbo 3.5, not 4.
If you don’t own the weights you don’t own anything. This is why open models are so crucial. I don’t understand any business who is building fine tuned models against closed models.
Well hold on now, how can we be sure they knew how to handle short text strings? I think this requires Meta and Twitter to spend all their money fighting one another in court.
If those plates are reported stolen, then yes. Are you suggesting we shouldn't use it or benefit from it because an aggressive criminal would still get past it?
I'd be willing to bet that less than half of this site's users are American. There is a huge software engineering community in Europe, for example, and there are more Europeans than Americans, let alone the large populations of Asia, Australia, New Zealand...

English is the dominant second language in the world.
Li-SOCl2 vs. LiPo in IoT Applications
iOS 17 Photos App Can Tell You What Those Confusing Laundry Symbols Mean
You mean it's not normal to tell people that it's their fault for driving their $80,000 electric car in heavy rain, because for many years you haven't bothered to properly seal your transmission's speed sensor?
This is a very strange decision. I wonder what's behind it?

It seems like it's more work for Ubuntu and it makes the installation process more intimidating and potentially confusing.

I'd think it's part of their weird inclination to force everyone to use snaps, but that can't be it either -- they can force that regardless.

So, I'm utterly baffled.
Hey doc. Well, I had consistently low WBC counts (leukopenia), skin infections, sinus infections, lung infections (and nodules), as well as recurrent fungal infections. Doctors offered no explanation.

In 2014 I had my genome run on 23andMe and through digging and getting a second genome run I confirmed that I was homozygous for rs1049564 (and other SNPs) in my PNP gene.

I was finally able to push for a PNP activity test which revealed low activity. I do not think the doctors would have ever tested for this.

Here is the paper that persuaded them to do the test:
https://www.researchgate.net/figure/Purine-nucleoside-phosph...

Since it is only a partial deficiency it did not cause catastrophic effects as a child, but as I got older it became worse.

Here is a paper talking about the partial deficiency:
https://pubmed.ncbi.nlm.nih.gov/32695102/

I also have neurological issues (mood disorder) that I blame on the same deficiency.