HNHacker News
TopNewBestAskShowJobs

2h

308 karma · joined January 15, 2023

Discord srpen6#6983

GitHub 2a.pages.dev

submissionscomments
2h··on In Erlang/OTP 27, +0.0 will no longer be exactly equal to -0.0
who said anything about Python?
2h··on In Erlang/OTP 27, +0.0 will no longer be exactly equal to -0.0
not sure what you hoped to accomplish with that. yes all documents are a byte array. this is not the same thing a the STRING type. this JSON document:

    0
and this JSON document:

    0.0
might compose a different stream of bytes, but by your own admission, they get parsed as the same type and value, 0. the only way to distinguish the difference in a parsed document, would be to present a string type as the input document:

    ["0", "0.0"]
but even then, you're only retaining difference in meaning after parsing, BECAUSE the values are strings, not numbers. so your comments have only proven that some byte arrays are different, and some resultant strings are different than others. so congrats?
2h··on In Erlang/OTP 27, +0.0 will no longer be exactly equal to -0.0
> JSON document "0" vs the JSON document "0.0"

nope. both those documents are a STRING type, not a number type.

2h··on In Erlang/OTP 27, +0.0 will no longer be exactly equal to -0.0
> Zero is a quantity approaching to zero

no, its not. zero is zero, its nothing. "a quantity approaching to zero" is "a quantity approaching to zero". its easy to remember because zero is not a quantity, its a lack of quantity, by definition.

these are two distinct concepts, which some people mistake as the same item.

2h··on In Erlang/OTP 27, +0.0 will no longer be exactly equal to -0.0
there is no such thing as -0.

if you want to say "zero approaching from negative one", fine, say that. but that IS NOT the same thing as -0. zero is just zero, it doesn't have a sign.

some people just want everything to fit in a nice neat box, and sometimes folks, life is not like that. this is an awful change, injecting meaning where there is no room for it.

2h··on From XON/XOFF to Forward Incremental Search (2022)
I asked a question about this years ago:

https://unix.stackexchange.com/questions/355749/terminfo-dis...

2h··on New Playground: Integer.exposed
if Julia is here, the HTML has an error:

"style" element between "head" and "body"

2h··on When “free forever” means “free for the next 4 months”
doesn't seem like much of a loss to lose that "business":

a user who hops from free service to free service, and is so opposed to spending money that they will badmouth any business that wants to actually charge for its service.

2h··on Heisting $20M of Magic: The Gathering Cards in a Single Request
> Hack the planet!

Honestly this reads as "how do you do, fellow kids?"

You found a cool bug, then immediately reported it. That's not what the movie is about at all. Please don't corporatize hacker culture.

2h··on Rebuilding a featured news section with modern CSS: Vox news
2.7% of ALL browser usage is still a significant number, and certainly more than one person.
2h··on Rebuilding a featured news section with modern CSS: Vox news
> I've spent enough time doing my job and enough time on CanIUse to know that the era of worrying about browser compatibility is behind us.

Its not. Its just that many developers have stopped caring about it. Google is releasing new APIs at a ridiculous pace, many of which are not needed for a huge chunk of websites. if developers want, they can avoid using newer APIs, or use them but add fallbacks for older browsers.

> for anything other than Opera.

sure, if you look at the current version of major browsers, support is pretty good for everything. but some users are locked to an old version, either out of personal preference, or work mandates. so its helpful if web developers dont use assume everyone is one the latest browser version. they dont need to support every version of every browser, but I think its reasonable to expect a two year old browser to work with most current websites, and more and more that is not the case.

2h··on Rebuilding a featured news section with modern CSS: Vox news
> Then that's on you.

you say that like I am the only person who does this.

> When 90% of users are on the newest version within a couple weeks, that's not "bleeding edge".

[citation needed]

2h··on Rebuilding a featured news section with modern CSS: Vox news
its not a problem with the software, its a problem with the web site adding features that only work with the newest browser, without any fallback for older browsers.
2h··on Rebuilding a featured news section with modern CSS: Vox news
not sure about Chrome, but you can turn off update on Firefox. I do this, and for good reason. I dont like the constant churn of browser UI moving around and changing every few months.

So users in that situation should not be punished by web devs who only support the bleeding edge browser versions.

2h··on Rebuilding a featured news section with modern CSS: Vox news
Totally agree. As long as it works in current Chrome, that's all that matters.

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

2h··on Rebuilding a featured news section with modern CSS: Vox news
The fact that most browsers aggressively push or even force updates should not be used as a justification for this.

You're essentially saying "I want to use this months old API, and fuck you if you still have a browser from last year." People used to respect some amount of backward compatibility.

2h··on The Egison Programming Language

    def twinPrimes :=
      matchAll primes as list integer with
        | _ ++ $p :: #(p + 2) :: _ -> (p, p + 2)
why do people do this? this is unreadable to me. what is the second line, a comment? then they somehow found a way to cram 11 symbols in a single line after that. bravo?
2h··on Live Starlink Satellite and Coverage Map
> $120/mo for service and $599 for hardware

Noope. no thank you.

https://www.starlink.com/

2h··on You probably don't know how to do Prompt Engineering
True "prompt engineering" is not a thing. its just a misuse of the word engineering by some tech bros.
2h··on You probably don't know how to do Prompt Engineering
> written by yours truly

Who else would have written it?

2h··on Linen.dev: A 500 kb Slack alternative
seems private chats are not a thing. which is a dealbreaker for me coming from Discord. I asked in support so I guess we will see.
2h··on Statement on EU-US Cooperation on Turning Public Opinion Against Encryption
great idea. while we are at it, we should also require that the police have a key to your house and vehicle, as well as your debit card pin number and, email password, and bank password.

its necessary security, so you agree with this correct?

2h··on Bing Jail
because thats not the right way to do that. just look at the site you are on right now:

    > curl -i http://news.ycombinator.com/
    HTTP/1.1 301 Moved Permanently
    Location: https://news.ycombinator.com/
2h··on JSON vs. XML with Douglas Crockford
Exactly, they could have added an extra wire type to signify messages without costing any extra bytes. Nothing is stopping ProtoBuf from being self describing except incompetence.
2h··on JSON vs. XML with Douglas Crockford
> If one needs better performance or better guarantees about serialized data types, I guess one should use Protobuf

ProtoBuf is a horrible format. its not self describing like JSON, when it easily could be, without costing any extra bytes.

2h··on Hetzner’s New AX102 Dedicated Server with AMD Ryzen 9 7950X3D
I tried to sign up for a basic VPS on Hetzner, they said my information was suspect, even after already purchasing VPS with these companies:

Amazon Lightsail

Atlantic.Net

DigitalOcean

Google Compute Engine

Linode Shared

Vultr

kamatera

lunanode

upcloud

I tried to give them the benefit of the doubt, but once they asked for a photo of my drivers license, I gave up. no thanks, I will just stick with Digital Ocean.

2h··on CATL has announced a new “condensed” battery with 500 Wh/kg
> 3x as energy dense but only a 1/2 as volumetrically efficient (so, a given capacity battery will weigh 1/3 less

It would weigh 1/3, not 1/3 less.

2h··on Lightweight SQLite Editor for Windows
What a selfish comment. Shame on you. It's open source. You don't like it, you're welcome to add support for another OS, or use something else.
2h··on Samsung considers moving to Bing as default search engine
> AWS or Azure

I was recently in the market for a basic VPS, and Azure is absolutely awful for this use. The most bloated complicated signup and setup process I have experienced in a long time. Google was tolerable. Of the three amazon lightsail was the best, but even that loses to something like digital ocean

2h··on WebGPU Fundamentals
because I want limited scope tools. if I want something on the GPU, I can just write a native tool. I dont need the browser to do anything beyond web browsing.
← PreviousPage 5 of 12Next →