HNHacker News
TopNewBestAskShowJobs

2h

308 karma · joined January 15, 2023

Discord srpen6#6983

GitHub 2a.pages.dev

submissionscomments
2h··on Why not tell people to “simply” use pyenv, poetry or anaconda
100% agree. I use a programming language to get stuff done. and if the day ever comes that someone wants me to show them how I do what I do, I dont want to start that conversation with a sigh "well...", I want to start it with a "OK cool..." and all these Python "tools on top of tools" make me sad.

Personally I like Go. If someone wants to build my stuff, then I just say go here http://go.dev/dl and download Go, then set location to where the code is, and enter "go build". thats it. All languages should be that easy.

2h··on Universal Speech Model
agree on this. I wonder how threads like this even get off the ground. anyone who watches about 10 minutes of auto captioned videos can see how awful it is.
2h··on Android app from China executed 0-day exploit on millions of devices
I like how me wanting to run software that I wrote, on a device that I bought, suddenly makes me pro China. stop projecting.
2h··on Android app from China executed 0-day exploit on millions of devices
> I was trying to compile rust

why would you try to compile Rust? You can just download it already built.

> i was shocked to see that it connects to the internet during the build process to download crates

how else is it supposed to get that software? unless you want to manually download 100 crates and put them into the correct folders, this is a normal process.

2h··on Android app from China executed 0-day exploit on millions of devices
closed source:

https://catbox.moe/faq.php

2h··on Android app from China executed 0-day exploit on millions of devices
http://0x0.st

open source:

https://git.0x0.st/mia/0x0

2h··on Android app from China executed 0-day exploit on millions of devices
> I am really really afraid that by allowing third party app stores and sideloading

please stop it. I do not want my devices to become a toaster. I am a computer programmer. I would like the ability to write programs for my own personal use, and run those on my own devices THAT I PAID FOR. please stop pushing some narrative that will take this ability away from me.

2h··on Awk Technical Notes
I used AWK for many years, but one day I realized that I had pushed AWK beyond whats its meant for, same as the author here. classic red flag from the article:

    function NUMBER(    res) {
      return (tryParse1("-", res) || 1) &&
        (tryParse1("0", res) || tryParse1("123456789", res) && (tryParseDigits(res)||1)) &&
        (tryParse1(".", res) ? tryParseDigits(res) : 1) &&
        (tryParse1("eE", res) ? (tryParse1("-+",res)||1) && tryParseDigits(res) : 1) &&
        asm("number") && asm(res[0])
    }
why put yourself through this, when you can just do something like this instead:

    package parse
    
    import "strconv"
    
    func parse_float(s string) (float64, error) {
       return strconv.ParseFloat(s, 64)
    }
    
    func parse_int(s string) (int64, error) {
       return strconv.ParseInt(s, 10, 64)
    }
2h··on Are you ready for 13.3 or 9.1? (2001)
the point is, those two words are essentially fungible. regardless of who says they mean what, they are not right, unless their definition is that they are basically synonymous.
2h··on Are you ready for 13.3 or 9.1? (2001)
Right because the English language is maintained by the apt maintainers
2h··on Are you ready for 13.3 or 9.1? (2001)
> Upgrading is going from one major version to the next.

> Updating is increasing the minor version, including bug fixes and small patches.

I dont agree with this at all. You could swap the two words and still have a cogent paragraph. what reference do you have for these terms?

2h··on Call yourself titles
> Remember, it's not a lie if you believe it

poes law in full force here

https://wikipedia.org/wiki/Poe's_law

2h··on Call yourself titles
> calling ourselves with the new title very early in the process

AKA lying. I have total respect for someone who wants to improve their life, but you dont need to lie, just be honest with yourself and others. the author even admits to it:

> We become a runner when we start running a few days a week. An amateur one, a beginner in the world of runners, but a runner nonetheless.

so you are not a "runner". you are an "amateur runner". and thats totally fine! I personally am an amateur runner. I dont go around telling people I am a runner, because at the end of the day, all I would be doing is lying to others, and lying to myself. Its OK not to be perfect at something from the beginning. just stick to it and try hard. when you really feel you've stepped up to that next level, then sure, go ahead and remove the "amateur".

2h··on Typst, a new markup-based typesetting system, is now open source
looks like you have a font issue. looks good to me:

http://0x0.st/Hos6.pdf

2h··on Typst, a new markup-based typesetting system, is now open source
does not build for Windows:

https://github.com/typst/typst/issues/99

2h··on Typst, a new markup-based typesetting system, is now open source
can you comment or link to the syntax you used?
2h··on Pimoroni introduces Inky Frame with seven-color 4-inch E Ink display
Anyone else getting ads even with AdBlock?
2h··on The curious case of a memory leak in a Zig program
> anti-patterns

I agree with all that, but patternic is not a word.

2h··on The curious case of a memory leak in a Zig program
well for one, because the correct word "idiomatic" already exists:

https://wikipedia.org/wiki/Programming_idiom

2h··on The curious case of a memory leak in a Zig program
> anti-patternic

patternic is not a word.

2h··on Analyzing multi-gigabyte JSON files locally
Note the Go standard library has a streaming parser:

https://go.dev/play/p/O2WWn0qQrP6

2h··on We apologize. We did a terrible job announcing the end of Docker Free Teams
> Actually... they aren't contradictory.

you're on the Docker DevRel team, why are you talking like this? why do you feel the need to be confrontational? not a good look.

2h··on Lego violates GPL by keep Blender-based BrickLink Studio source closed (2021)
did you read what I quoted? It says the binary must be distributed with source code, or with an offer to distribute the source code. Lego did none of that.
2h··on Lego violates GPL by keep Blender-based BrickLink Studio source closed (2021)
maybe you should find out, before spreading misinformation:

> require that programs distributed as pre-compiled binaries be accompanied by a copy of the source code, a written offer to distribute the source code via the same mechanism as the pre-compiled binary, or the written offer to obtain the source code that the user got when they received the pre-compiled binary under the GPL.

https://wikipedia.org/wiki/GNU_General_Public_License#Terms_...

2h··on Lego violates GPL by keep Blender-based BrickLink Studio source closed (2021)
open source developers shouldn't have to police this, companies should just follow the licenses from the beginning.

GPL doesn't say you must provide source code once you get caught, it says you must publish it the moment you release a derivative work.

2h··on Miller: Like Awk, sed, cut, join, and sort for CSV, TSV, and tabular JSON
> simple case

that's just it though, the last example is not a simple case, hence why the last example is awkward by the commenters own admission. command line tools are fine, but you need to know when to set the hammer down and pick up the chainsaw.

2h··on Miller: Like Awk, sed, cut, join, and sort for CSV, TSV, and tabular JSON
> sorting with skipped headers is a mess

I like these command line tools, but I think they can cripple someone actually learning programming language. For example, here is a short program that does your last example:

https://go.dev/play/p/9bASZ97lLWv

2h··on (Don't) crank up the warnings to 11
Or, maybe stop doing pointer arithmetic? We have had some pretty good new languages appear in the last 7 years. I know people are averse to change, me included. But you may want to ask yourself if continuing to use a 50 year old language is the right answer.
2h··on Scrcpy 2.0 mirrors Android devices with audio forwarding
78,000 stars, 2096 commits, of which Romain has 87%, and he only has one GitHub sponsor:

https://github.com/sponsors/rom1v

and two LiberaPay sponsors:

https://liberapay.com/rom1v

who donate a combined 3 euro per month. If you can afford it, please send this guy some money, he has earned it many times over.

2h··on NordVPN library and client code open-sourced
> spoofing your geo-location

thats good enough for me. I am sick and tired of websites telling me what I can and cannot do based on my location. Its not the 90s anymore, I refuse to put up with geo blocking.

← PreviousPage 7 of 12Next →