HN user

philliphaydon

7,580 karma

[ my public key: https://keybase.io/philliphaydon; my proof: https://keybase.io/philliphaydon/sigs/XM7xJbSYbUseBU04HxZ_e5o7Z5N2Zpbtm5swo2yNXhI ]

Posts124
Comments3,101
View on HN
twitter.com 3y ago

Bard is an experimental conversational AI service, powered by LaMDA

philliphaydon
2pts0
www.youtube.com 3y ago

The Remarkable Story Behind the Most Important Algorithm of All Time

philliphaydon
3pts0
twitter.com 3y ago

Trump stole the images of his trading cards from stock photos

philliphaydon
12pts0
www.khadas.com 3y ago

Edge2 Rockchip RK3588S ARM PC with 6 Tops NPU and 8K Display

philliphaydon
19pts6
www.prageru.com 3y ago

The Biggest Bully in School: Why Public Education Is Failing in America

philliphaydon
1pts0
www.youtube.com 3y ago

USB4 Is a Glorious Mess

philliphaydon
8pts0
www.youtube.com 3y ago

Mechanical Principles Combined in a Useless Lego Machine

philliphaydon
1pts0
www.jetbrains.com 3y ago

JetBrains Aqua – A powerful IDE for test automation

philliphaydon
7pts1
www.youtube.com 3y ago

JetBrains Fleet – Public Preview Launch Demo

philliphaydon
3pts0
blog.jetbrains.com 3y ago

Rider 2022.3 EAP 2: New UI, Improved Unit Testing, and More

philliphaydon
2pts0
www.latimes.com 3y ago

Arrest made in breach of L.A. County election worker data

philliphaydon
1pts0
www.youtube.com 3y ago

Khadas Edge2 Pro

philliphaydon
1pts0
www.nytimes.com 3y ago

Russian Soldiers Phone Calls

philliphaydon
14pts0
www.i-programmer.info 3y ago

Running PostgreSQL Inside the Browser

philliphaydon
2pts0
goteleport.com 3y ago

Teleport – The easiest, most secure way to access infrastructure

philliphaydon
1pts1
postgresml.org 3y ago

Postgres Full Text Search Is Awesome

philliphaydon
3pts0
classicuo.org 3y ago

Ultima Online for Web Browsers

philliphaydon
18pts4
npmtrends.com 4y ago

NPM trends: parcel vs. snowpack vs. vite

philliphaydon
1pts0
twitter.com 4y ago

Microsoft prohibits selling open source / free apps on windows store

philliphaydon
57pts15
www.youtube.com 4y ago

Why This Accidental Battery Breakthrough Matters

philliphaydon
2pts0
www.roji.org 4y ago

Mapping .NET Timestamps to PostgreSQL

philliphaydon
6pts0
twitter.com 4y ago

Sharing the good Elon Musk has done

philliphaydon
2pts0
www.inc.com 4y ago

Satya Nadella Warns This 1 Remote-Work Habit Is Destroying Our Well-Being

philliphaydon
3pts1
www.bellingcat.com 4y ago

Experts Debunk Staged Pre-War ‘Provocation’ in the Donbas

philliphaydon
10pts0
twitter.com 4y ago

Russian state TV channels have been hacked by Anonymous to broadcast the truth

philliphaydon
8pts1
www.youtube.com 4y ago

Confronting Newegg Face-to-Face

philliphaydon
11pts3
www.reuters.com 4y ago

China conditionally approves AMD's $35 bln deal for Xilinx

philliphaydon
2pts0
www.wionews.com 4y ago

To mute criticism, China ordered Amazon to block reviews on Xi Jinping’s book

philliphaydon
15pts0
www.svgator.com 4y ago

Svgator – The Easiest Way to Animate SVG

philliphaydon
2pts0
www.pcworld.com 4y ago

Intel CEO says AMD’s time is ‘over’

philliphaydon
2pts1

Sure. Sometimes it’s wrong. But I spend less time finding an answer on ChatGPT than Google. For example I’m not a c++ developer but I’ve inherited some c++ code work to do. So I’m like wow this vector thing is only ever looking for this 1 value. It would be better to use a dictionary or hash map or something. So I ask ChatGPT and it recommended unordered_map, and I asked why the existing code snippet I gave it had a lock around it, and it explained the thread safety with read/write etc. So fixing that all up shaved off 700ms in processing time in my test scenario.

I can ask it what’s the difference between 2 lists. I asked it about concurrent_unordered_set and it told me that it only exists in VisualC++ but if I want it cross platform I can look at Boost or TBB.

None of this information is easy as a non C++ developer to find on Google.

I partially agree.

The only thing I've used google for in the last 2 weeks is to quickly search for a wikipedia page or imdb page for an actor and movie.

Everything else is in ChatGPT now. The information from ChatGPT, even tho sometimes wrong, is far FAR superior to google now.

There's nothing inherently stopping people from writing clean react projects. But I've never seen one. But watching people fumble around trying to find where they need to make a change when things are so overly abstracted, and STILL try to justify that react is good, is baffling.

People break tables up into ~50+ files. It's crazy, and everyone does this, and its an absolute nightmare to maintain. Its 100% engrained into react culture that this is the right path forward.

React will never get better if people accept over abstraction as the right path forward.

This is just an example, obviously you can write this better in React.

The issue is people write SO much conditional logic into their react templates. Not that disabled is boolean and can be written better.

The saving grace of JSX is that it allows the creation of multiple small components inside a single file.

That's definitely not the saving grace of JSX. As I said, every react project is soooooooo overly abstracted into the tiniest little components. It's no wonder people /think/ react is slow.

JSX forces you into small tiny components because anything of any decent size becomes unmanageable. There's way too much mixing of JS into the template.

Vue you can do

    <button :disabled="!isFormValid">Submit</button>
In React I've seen people do:
    if (!props.isFormValid) {
        return <button>Submit</button>;
    }

    return <button disabled="disabled">Submit</button>;
This is just an example, obviously you can write this better in React. My point is there's /always/ so much conditional markup like this in every react project I've come across or worked on.

Edit: I donno how to format code on here sorry. (oh figured it out, bunch of spaces)

There's 2 things that I hate about react.

1) JSX - It's terrible. Svelte, Vue, Riot... they all got it right. JSX, mixing a weird syntax of HTML and JS together is just inferior to HTML with additional markup.

2) I don't know why but every react project has crazy levels of abstraction. Everything is 15 layers deep and making any sort of change requires way too much effort to navigate 15 files and code reading to make the most mundane changes. Other libraries seem to suffer from this to a far smaller scale.

See what I mean, you care more about saving face than the people suffering. "none of its true, I can dispute it, its you who is wrong"

Look, I don't know why you keep replying to me. No one buys your propaganda and conspiracy theories and whataboutism. You can keep getting upset all you want but it doesn't change the fact you're doing nothing more than attempting to protect the CCP.

But JetBrains has a whole suite of tools, supporting many plugins, creating their own jvm lang, with support team who actually respond and verify tickets.

Atlassian on the other hand lol.

So you're essentially saying that it's okay to attack Asians in the west

You seem to care alot more about how Chinese people are perceived abroad than you are at home. While covid coming from China caused increased racism against Asian people in the west, it pales in comparison to the human rights violations that occur on a daily basis in China.

Tho I guess welding people into their homes, separating children, killing animals, genocide against an entire ethnic population, social credit system, millions of homes forclosed, banks stealing money and destorying peoples lives, etc. It's all fake western news.

We know this is all fake because harvard released a paper detailing the results of a survey done by a chinese company in a country where all research and surveys must be reviewed by the CCP before being released told us that 98% of the country loves the CCP.

Every argument you make on China is defending it from any form of criticism. Half the time your defence is whataboutism. Obviously there’s no debate to be had with you when any sort of criticism causes you to go into straight up denial.

You feel like it’s your right to defend your country but it’s strange you want to defend your country and not your people. Majority of people here opening admit the faults in their own countries yet when it comes to China you pop out your red scarf and make sure your family back home don’t get a call. But you call that weird and hypocrisy.

shrug

Edit: as a side note my original message was criticism of the CCP, not China.

Just because they can lie and fudge statistics doesn’t mean they are poor or weak. If it’s so great why aren’t you there though?

The thing about Chinas GDP is we don’t know their real GDP. We only know what we have been told.

Just like COVID. We are told there’s very few COVID deaths, but we don’t know how many deaths there are and no one talks about the days long queues for cremation.

I don't think Trump is patient enough to sit and read. It's more likely he wanted people to tell him what's important that he needs to know about.

I'm speculating of course but if you think about it, can you imagine him sitting patiently reading documents first thing in the morning? He would get bored so quickly he would end up on twitter to complain or gloat.