HNHacker News
TopNewBestAskShowJobs

alright2565

1,700 karma · joined January 9, 2021

submissionscomments
alright2565··on Gigantic heat caverns in Mustikkamaa have now been filled with water (2021)
They have a massive desalination and pipeline operation to create lakes throughout the country?

Or is it the the sun and rain that created the lakes?

alright2565··on Sharing Screen with GPT 4 vision
Try FreeCAD :)

A few days ago, I tried to have it produce an o-ring. It didn't work out so well https://i.imgur.com/zYDJXpT.png

Having it use Python behaved much better: https://i.imgur.com/8uQSFtZ.png

I also gave it a more complicated problem, and it didn't do too bad before it forgot all about the instructions. It clearly lacks 3d understanding, but I don't know if I could do better given what it was given: https://imgur.com/a/8GCjmlo

While doing this, I got a lot of "There was an error generating a response" responses, especially when the screen was mostly full of nothing. I don't know how to avoid this, but it definitely struggled picking out the few pixels of relevant detail from a mostly-irrelevant screen.

alright2565··on Seeing like a bank
no, this is too cynical. just give them a call, authenticate yourself, and they'll happily raise the limit for you.

maybe if you're moving 50k/week they'll try and get you on a business account, but at that point you're already not using the account for the purposed you claimed when you opened the account.

alright2565··on Why Cities: Skylines 2 performs poorly
The author calls out render passes that take 100us, and considers this pass too fast to give a number to.

Why does it matter if it's 5 render calls or 500? The developers clearly have plenty of work to do optimizing the other 70ms, it doesn't make sense for them to spend any time working on this.

alright2565··on Montreal’s new rapid transit line saved millions per mile
This is why there's so much of a push for bus rapid transit in my city.

Unfortunately, this has disadvantages as well:

- lack of enforcement for bus lanes

- needing to share travel lanes with personal cars occasionally, making keeping the timetable harder

- low cost also means no long-term permanency. would you want to invest in transit-oriented development around a platform that could go away anytime?

alright2565··on Discord will switch to temporary file links to block malware delivery
They're not deleting old files, they're just using signed per-user urls to serve them on.

You'll still see old files.

alright2565··on Pix2tex: Using a ViT to convert images of equations into LaTeX code
Huh yeah it looks like it. I checked the python code when I was using this & that is correctly parenthesized.
alright2565··on Pix2tex: Using a ViT to convert images of equations into LaTeX code
It is excellent. https://imgur.com/a/1YMSl9s
alright2565··on Copying Angry Birds with nothing but AI
This article is about replacing programmers with AI.

I, personally, will celebrate, since it'll allow me to explore opportunities I would not have time for on my own. And I'm not worried for my career, since 99% of people will still be unable to think and write coherently enough to use the AI tools.

And I think the reality here is not so much being unwilling to pay artists as the budget being extremely low. If I've got an art budget of $10 for a quick experiment like this, I'm not going to hire an artist, I'm just going to use the circle tool in GIMP.

alright2565··on Internal slides on the work of the Google "Ads Quality" team
This is also a 2008 document, at a much younger Google.
alright2565··on Let me tell you about me Gear Fabrication Syndrome
I relate a lot with this. Especially cables--what an absolute nightmare, especially when you need to interface with commercial devices that have standardized on a different cabling standard!

I have learned about Mini-PV connectors, which are compatible with P=2.54mm headers and do not loosen up over time: https://www.mattmillman.com/info/crimpconnectors/dupont-and-...

> When I first saw a commercial install made of random Amazon modules, I thought "They shoulda made a PCB" and I had all these ideas.... but then I realized that when the random Amazon modules breaks, I can swap it in a few minutes, and fix it later if I want.

I can see this, and I've definitely created custom circuit boards for devices that I only need one of & would be straightforward to build with random modules.

But at the same time, for a commercial product or a product where quantities of > 10 exist, making a circuit board makes a lot of sense, introduces a lot of reliability and saves significant cost. It's really not hard anymore to make a PCB, and there's so much opportunity for error & poor connections when assembling things from Amazon crap.

alright2565··on The cost of cloud, a trillion dollar paradox (2021)
Using cpubenchmark.net

- a Intel 3770K was released in 2012 for $330 retail, or 20 CPUMark/2012$. - a AMD 7800X3D was released in 2022 for $450 retail ($330 in 2012 dollars), or 105 CPUMark/2012$ or 77 CPUMark/2023$

Looks like consumer performance/price has improved by 5.3x.

I'm not sure what exactly the math works out here for cloud hardware, since I don't really have any performance numbers. I'd still expect it to be quite a bit less improvement, since it "feels" like server CPUs have gotten better at cramming more cores on a die, rather than increase each core's performance. Looking at Xeon Platinum 8480+ (2023, MSRP $10k), there's 56 cores@3154 ST CPU Mark, vs. Xeon E7-8890 v2 (2014, MSRP $6.8k) has 15 cores@2175 ST CPU Mark.

Assuming your cloud prices are correct, and with these rough performance figures, you're getting a 4.5x cloud performance/price improvement, significantly worse than with real hardware.

alright2565··on Shopify files lawsuit over DMCA abuse
They'd have to take it up with congress then, because the law very clearly states that a physical address and a phone number should be required: https://www.law.cornell.edu/uscode/text/17/512#c_3_A_iv
alright2565··on Beginners guide to building a hardware hacking lab
It's also possible to cheap out on the meter while still getting a quality product. I like to look here for good reviews/tests of multimeters: https://lygte-info.dk/info/DMMReviews.html
alright2565··on Fractional Factorial Experiment Design: There Are Too Many Experiments to Do
By coincidence, I just watched this video on this same topic: https://m.youtube.com/watch?v=5oULEuOoRd0

The visualizations and the real problem solving demonstrated made it much easier (for me) to intuitively understand than any amount of reading

alright2565··on Stack Overflow is laying off another 28%
They do do this! When you're on a question, for example https://stackoverflow.com/questions/30081275, click on the answer sort order drop-down and select trending.

I've also seen the trending sort automatically applied on certain questions.

alright2565··on A California hedge fund bulldozed state labor laws, imposed harshest noncompetes
That's not it at all. The problem is that Voleon is being dishonest around their non-compete agreements.

A Voleon spokesman:

> Those who sign it will receive a paid garden leave.

Voleon ex-employees:

> Voleon ex-employees who spoke to Insider said their noncompete agreements did not provide paid leave. Ex-employees and other sources close to the firm said the unpaid noncompetes have been applied broadly — including to people who say they had little exposure to the firm's secret sauce.

According to a Voleon ex-employee, which also matches my understanding of this industry:

> They will defend that noncompete by saying more and more firms have two years. The trick is: And yes, they pay you something when they make you sit out of your career.

alright2565··on Ron Patrick's Street-Legal Jet Powered Volkswagen Beetle (2006)
I don't think so. In another part he mentions

> This is a helicopter turboshaft engine that was converted to a jet engine

I can't see a way to get rotary power out of this engine after the modifications.

alright2565··on ROCm is AMD's priority, executive says
Hope you don't mind, but I have a rant I need to get out. I decided to give this another try now that you've mentioned it.

Let's get things started the way the arch wiki suggests:

    $ sudo pacman -S rocm-hip-sdk
    $ /opt/rocm/bin/clinfo
    ERROR: clGetPlatformIDs(-1001)
    $ sudo /opt/rocm/bin/clinfo
    ...
      Board name:     AMD Radeon RX 6600 XT
    ...
Ok, I wonder what's wrong. maybe it's this? https://stackoverflow.com/questions/4959621/error-1001-in-cl...

Nope. Anything about this on the arch wiki? Nope

This bug report[2] from 2021? Maybe I need to update my groups.

[2]: https://github.com/RadeonOpenCompute/ROCm/issues/1411

    $ ls -la /dev/kfd
    crw-rw-rw- 1 root render 237, 0 Sep 26 20:33 /dev/kfd
    $ sudo usermod -aG render $(whoami)
    $ # relogin
    $ /opt/rocm/bin/clinfo
    ERROR: clGetPlatformIDs(-1001)
Ok, I'm a pretty advanced linux user, I'll just jump right in:

    $ strace /opt/rocm/bin/clinfo
    ...
    openat(AT_FDCWD, "rusticl.icd", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
Apparently I have some leftover environment variables (OCL_ICD_VENDORS) from last time I spent half a day trying to get this to work. I can fix that. After all, it'd be entirely unreasonable to expect rocm to give me a better error, like "Could not open opencl icd `rusticl.icd`".

Success:

    $ /opt/rocm/bin/clinfo
    Number of platforms:    1
    ...
      Board name:     AMD Radeon RX 6600 XT
Well, let's run some apps!

    $ darktable -d opencl
    ...
    [dt_opencl_device_init]
       DEVICE:                   0: 'gfx1032'
       PLATFORM NAME & VENDOR:   AMD Accelerated Parallel Processing, Advanced Micro Devices, Inc.
    ...
    PHI node has multiple entries for the same basic block with different incoming values!
      %967 = phi float [ %largephi.extractslice0, %sw.default ], [ %largephi.extractslice055, %sw.bb667 ], [ %largephi.extractslice059, %sw.bb663 ], [ %largephi.extractslice063, %sw.bb659 ], [ %largephi.extractslice067, %sw.bb655 ], [ %largephi.extractslice071, %sw.bb646 ], [ %largephi.extractslice075, %_Z4fmodff.exit16 ], [ %largephi.extractslice079, %_Z4fmodff.exit13 ], [ %largephi.extractslice083, %_Z4fmodff.exit ], [ %largephi.extractslice087, %sw.bb562 ], [ %largephi.extractslice091, %sw.bb555 ], [ %largephi.extractslice095, %sw.bb533 ], [ %largephi.extractslice099, %if.then502 ], [ %largephi.extractslice0103, %if.else517 ], [ %largephi.extractslice0107, %if.then456 ], [ %largephi.extractslice0111, %if.else471 ], [ %largephi.extractslice0115, %if.then393 ], [ %largephi.extractslice0119, %if.else408 ], [ %largephi.extractslice0123, %if.then338 ], [ %largephi.extractslice0127, %if.else353 ], [ %largephi.extractslice0131, %if.then283 ], [ %largephi.extractslice0135, %if.else298 ], [ %largephi.extractslice0139, %if.then224 ], [ %largephi.extractslice0143, %if.else241 ], [ %largephi.extractslice0147, %sw.bb193 ], [ %largephi.extractslice0151, %sw.bb180 ], [ %largephi.extractslice0155, %sw.bb168 ], [ %largephi.extractslice0159, %sw.bb158 ], [ %largephi.extractslice0163, %sw.bb147 ], [ %largephi.extractslice0167, %if.then116 ], [ %largephi.extractslice0171, %if.else131 ], [ %largephi.extractslice0175, %sw.bb71 ], [ %largephi.extractslice0179, %sw.bb ], [ %largephi.extractslice0183, %if.end ], [ %largephi.extractslice0187, %if.end ], [ %largephi.extractslice0191, %if.end ], [ %largephi.extractslice0195, %if.end ], [ %largephi.extractslice0199, %if.end ]
    label %if.end
      %largephi.extractslice0183 = extractelement <4 x float> %div, i64 0
      %largephi.extractslice0191 = extractelement <4 x float> %div, i64 0
    in function blendop_Lab
    LLVM ERROR: Broken function found, compilation aborted!
    [1]    27586 IOT instruction (core dumped)  darktable -d opencl
uh that's great. Maybe blender?

It worked! Not too bad for 2 minutes render: https://i.imgur.com/FD1SsQG.png

What about pytorch? It prompted this whole thing anyway:

    $ sudo pacman -S python-pytorch-rocm python-torchvision
    $ python neural_style/neural_style.py eval --content-image ../../2min.png --model ./saved_models/mosaic.pth --output-image out.png --cuda 1
    [1]    32471 segmentation fault (core dumped)  python neural_style/neural_style.py eval --content-image ../../2min.png
    $ sudo dmesg --follow
    [ 2467.536713] python[33309]: segfault at 68 ip 00007f12c5504d5d sp 00007ffc8f539c20 error 4 in libamdhip64.so.5.6.31062[7f12c541e000+357000] likely on CPU 14 (core 7, socket 0)
    [ 2467.536727] Code: ec 78 48 89 bd 78 ff ff ff 64 48 8b 04 25 28 00 00 00 48 89 45 c8 31 c0 85 f6 0f 88 09 03 00 00 48 8b 85 78 ff ff ff 48 63 de <48> 8b 50 68 48 8b 40 70 48 89 85 70 ff ff ff 48 29 d0 48 c1 f8 03
uh oh. Maybe I can crack some passwords?

    $ hashcat -m 0 -a 0 -o cracked.txt target_hashes.txt /usr/share/dict/american-english
    ...
    hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

    error: unknown argument: '-flegacy-pass-manager'
    1 error generated when compiling for gfx1032.

    * Device #1: Kernel /usr/share/hashcat/OpenCL/shared.cl build failed.
Well, so much for that.

Best I can get to work with rocm is 1/4 apps.

alright2565··on The Philips Hue ecosystem is collapsing
Grow lights are by actual power draw & generally also come with efficiency specs.
alright2565··on Apache Open Office as an unmaintained project?
I'm sorry, I missed the important context here.

Yeah I don't think anyone is doing anything nefarious here, and I definitely don't want to accuse anyone of acting in that way. I have my own weird hobbies.

I still don't think it's in the project's interest to have these changes merged in, they just confuse the history & make it harder to track down relevant context.

alright2565··on Apache Open Office as an unmaintained project?
Are there so few bugs and issues in OpenOffice that, for months, the most pressing matter is to fix the incorrect use of "its" in comments?

I mean this person is German (their Github bio). Even if they're not a programmer, why don't they instead take the time to translate some of the many german source files to english, like Libreoffice did back in 2013[1]?

[1]: https://blog.documentfoundation.org/blog/2013/02/07/the-docu...

alright2565··on The elderly are becoming homeless at a rate not seen since the Great Depression
> the greater problem is the ability of large companies to buy up whatever is on the market, which they then immediately turn into a rental

Homeownership rates haven't changed by more than a couple percentage points since the 1960s: https://fred.stlouisfed.org/series/RHORUSQ156N

alright2565··on Texas death row inmate at mercy of supreme court, and junk science
I don't even think it matters if he shook this infant or not.

The doctors failed to diagnose the infant with severe pneumonia and prescribed it medications that are no longer considered safe for children. This seems like plenty of doubt to not convict him.

alright2565··on Docuseal: Open-source DocuSign alternative
I'm skeptical--are there any court cases where they've actually testified about this?
alright2565··on DIY Neurotech: Making BCI open-source thrusts brain-signal into a maker’s world
This is a really bad idea. There's a direct conductive path between the power supply and the person. Knowing users, the PSU will be a $2 Shenzhen special wall wart rather than a battery pack.

At least the other dev kits they compare themselves to have a prominent warning they should only be operated off battery.

← PreviousPage 10 of 10