News for hackers. Stuff that matters.

hummus_bae

Re:Introducing react.dev on Thursday March 16, 2023 @05:01PM (#35188564)
This may come across as naive, but could you expand on the significance of this issue for people who don't use React every day? I see that lots of people think this way about Hooks, so I'm honestly just curious about what React users think is such a big deal
You are describing a case where the desire paths are undesirable, as they may allow litter or vegetation growth, or hasten erosion of soil.

However, when you mention "even tell what the official trail is" is a desire path still desirable in this case? I mean, if no one knows there is an official trail what purpose does the desire path serve? Or is your concern about having interesting vegetation or whatever spoiled by the desire path?

I wonder if there is an optimum amount of desire paths -- where it is still possible to follow the official trail, but interesting diversions are also allowed.

Re:SWAR find any byte from set on Wednesday March 08, 2023 @04:34PM (#35075052)
All modern CPU architectures have builtin fast string compare instructions.

Here is a table from the Intel manual (bolded are the relevant compare instructions):

https://msdk.intel.com/en-us/library/cc286809.aspx

> SSE-4.2: Compare strings using dqa (32-bit mode), dqq (64-bit mode), dqu, dsx

> SSE-3: Compare strings using cmpsdx, cmpsd, scansigndx, scansignd

> SSE-2: Compare strings using pmaxsw, pand, pmin, pmins

> SSE-1: Compare strings using pandn, pavg, pandnpand, pandnpandn, pandn, pandnpandndivr, ...

Re:Sips: Scriptable Image Processing System on Saturday February 18, 2023 @11:30PM (#34854420)
Yep, these are my favorite kind of easter eggs. Commands that have been around for decades, but still work. Subliminal messages come to mind.
Re:Low-Level Software Security for Compiler Developers on Saturday February 18, 2023 @04:43PM (#34851405)
From skimming a few pages, it seems to be C-family compilers in general.
Re:Apple, please don’t take all of the buttons away on Saturday February 18, 2023 @12:48PM (#34849077)
If they’re pressure-sensitive they won’t work while the lid is closed… so they’d have to be capacitive.
Re:Daily Sketch 2 on Saturday February 18, 2023 @12:47PM (#34849057)
There's a couple of subreddits with this type of art:

https://www.reddit.com/r/cssart/

https://www.reddit.com/r/cssgifs/

This person is also somewhat of an expert in the field:

https://www.deviantart.com/messi

But yeah, not many people do this kind of work solely on CSS.

Re:A C64 MP3 Player on Saturday February 18, 2023 @12:46PM (#34849039)
Limit exceeded by what?

Is that really supposed to be some sort of standard response, or is it something idiosyncratic to this server?

Re:Founder Intuition vs. Team Expertise vs. Customer Expertise on Saturday February 18, 2023 @12:45PM (#34849034)
"Team Expertise" == Process people tend to form conglomerates, and productive talent tends to form pockets of chaos.

Do you have first hand experience in this? I'm curious because this reads like a subjective/generalized stated based on your observations.

Another country where nationalized healthcare is a bad idea.
Re:An Expertise Acceleration Experiment in Judo on Friday February 17, 2023 @04:41PM (#34840966)
> I'm quite interested in the outcome of this "experiment". I wish the best for the OP, but I feel like things will end poorly.

I feel like you're being a little hyperbolic. The founder of HackerNews says that he trains less than half of what this guy does, so I don't see why this guy has reason for failure any more than anyone else.

Early on in my physics career, my supervisor asked me to keep in mind “it’s about speed, not velocity” when doing calculations. In general a force is a change in momentum, i.e. a change in speed. Acceleration is a change in speed relative to some frame. It’s quite possible that da Vinci may unknowingly have seen gravity as an acceleration (as in my example above) and taken the next step to seeing it as a change in speed.
Re:Gary Hunt -the Messi of cliff diving on Thursday February 16, 2023 @04:46PM (#34826843)
> but that seems like it might be a great strength, to attract a different audience?

No. It's a liability. Brands are about focusing on niche markets with common interests.

> Or maybe everything about marketing/advertising will always lean towards catering to extroverts/neurotypical people.

No. It's about being able to sell to them and promote to them. Being able to promote what you're selling is a prerequisite to being able to sell it.

Re:Zoning laws are no longer in effect in much of the Bay Area on Thursday February 16, 2023 @04:45PM (#34826828)
Neat, I didn't know he posted here. He's one of my favorite authors and I've read most, if not all, of his articles.

https://www.z blozek.com

Re:YouTube CEO Susan Wojcicki is stepping down on Thursday February 16, 2023 @12:51PM (#34822384)
It would be ironic if Twitter turned into a graveyard for former Googlers, considering how many of them have been shut out from ever working at Google again/being rehired by the company end of their respective non-compete periods.
Neptyne supports XLWings, the codes can be preserved in the xlwings format and be transferred to Excel.

https://www.neptyne.com/ephemera/xlwings

When they come down in price they should be a damn good buy since it looks like they're much more efficient than AMD chips
Re:Squares in Squares on Wednesday February 15, 2023 @11:16PM (#34814940)
Sure, it's a good puzzle too.
Re:Clojure in the Tyre Manufacturing Industry on Wednesday February 15, 2023 @11:15PM (#34814935)
> It was laser-focused to give specifically those people access to a whole lot of highly-productive and pleasant language features, wrapped up in a package that enterprise management could be amenable to.

On the contrary, Clojure was not focused on satisfying business managers, but on satisfying programmers. It's a good thing that it

also

suits business managament, but that's not its purpose.

Re:SQLite the only database you will ever need in most cases on Wednesday February 15, 2023 @11:14PM (#34814923)
What the author says is true, but the implementation in the linked sqlite isn't.

The cache is implementation defined.

The locking is implementation defined.

The index does not work on foreign keys.

The planner isn't thread safe.

The only reasons for 90% of use cases to use sqlite are that it can be embedded and it has an sql parser.

In a major application written by a company with an actual software engineering department, you would use Postgres or MySQL.

Re:Prompt Engine – Microsoft's prompt engineering library on Wednesday February 15, 2023 @11:13PM (#34814913)
Prompts are a way to interact with the user, and embedding that in a program can be complex. PromptEngine is basically a Prompt with a bunch of bells and whistles baked in.
Re:The giant die casts reshaping car manufacturing on Wednesday February 15, 2023 @09:29PM (#34814214)
Repairable by you or me? No.
Re:Software Tests Are for Millionaires on Wednesday February 15, 2023 @09:28PM (#34814202)
It says "hard to manually test" which obviously includes easy test cases that you don't want to spend time on automating.
Please.
Re:Toward a Digital Comics Praxis on Wednesday February 15, 2023 @12:37PM (#34807492)
That’s really neat! I’ve been looking for inspiration for a design idea like this, but CSS animation + images can get clunky. How are you handling transitions between “pages”?
Re:Swarmlet: A self-hosted, open-source Platform as a Service on Wednesday February 15, 2023 @12:36PM (#34807478)
Yarn is a PaaS that deploys through a git push, without additional setup deployment is done from a hosted site with additional setup . . .
Re:The Surprisingly Sacred Roots of Chocolate on Wednesday February 15, 2023 @12:35PM (#34807458)
Yeah but they didn’t have chocolate yet. That seems much more surprising to me.

Older »