HNHacker News
TopNewBestAskShowJobs

_lce0

1 karma · joined June 26, 2021

submissionscomments
_lce0··on Wolfram Alpha: {y = Re(sqrt(abs(x)(1-abs(x)))), y = Re(-sqrt(1-sqrt(abs(x))))}
Thanks for sharing!

I turned those functions into an area: https://www.desmos.com/calculator/ya8gxv1hzo

_lce0··on A PHP Compiler, a.k.a. the FFI Rabbit Hole
Not sure how long .. but the chain can be quite long!!

    $x = 'y';
    $y = 'x';
    echo $$$$$$$$$$$$$y;
I've tested with 1500 `$` and it still works :)
_lce0··on Social networks are no longer social
> I can’t see people wanting to manage their own homepage. But then again, I remember we all did in high school for MySpace... maybe we will again.

The keyboard was what allowed such interaction.. How are nowadays' teens to manage such designs if their main device is a touchscreen?

_lce0··on Domain Registrar Can Be Held Liable for Pirate Site, German Court Rules
> The case in question was filed by Universal Music over Robin Thicke's album Blurred Lines.

Incredible. The same guys that were found guilty of copying that song ..

> Robin Thicke has lost the "Blurred Lines" lawsuit he has been engaged in with the Marvin Gaye estate. Robin Thicke, Pharrell to Pay $7.2 Million in 'Blurred Lines'

https://www.rollingstone.com/music/music-news/robin-thicke-p...

_lce0··on Show HN: Hacker News Classics
ahh was about to publish something in BC just to see what happens ;)
_lce0··on 5 months of /r/place at my elementary school (One pixel per student per day)
It is really interesting how the following order seems to naturally follow itself:

1. disorder and chaos

2. patterns and backgrounds start to appear

3. the battle for the main background, spreading

4. totally background pattern, the war is over

5. group art creations start to appear

_lce0··on Evolution of <img>: Gif without the GIF
Also volume control on mobile is completely broken.

You cannot easily control the volume until the video starts playing; not even when the video is still loading.

https://xkcd.com/1884/

_lce0··on Cortana is really bad
oh my, I'm not alone! ;)

Anybody knows how to get that "calc" thing working as expected?

_lce0··on Firefox 57.0 Released
The TagGroups is so part of my daily basis that I went back to the v56.0

I cannot stress enough how it helps me to switch between contexts. It's one of those things that you just did not know that you needed so much.

What options do we have?

_lce0··on Slack is offline
Why CPU goes like crazy every time slack loses connectivity?

You can easily test this by disconnecting from wifi. As soon as you're offline the fan starts spinning until you get your connection back.

_lce0··on Firefox Multi-Account Containers
CTRL+clicking the "+" sign will open a new tab on the same container!!

It's a bit awkward although it works, until they get the CTRL+T solved.

_lce0··on Sublime Text 3.0
> [...] that you probably utilize for thousands of hours over a given year

Assuming 4hs net per day, 20 days/month, 12 months .. thats 960 hours/year

And that's assuming that you spent all those 4 hours _entirely_ on your text editor; no cli, no browser, no nothing.. only text editor.

I'd say that on avg we should be doing ~200 hours per year.. Are there any study about this?

_lce0··on Alexa and Cortana now work together
Alexa, please ask Cortana to ask Alexa this exact same question.
_lce0··on URL obfuscation (2002)
I used to use http://127.1 for laziness until I've found that I was able to use http://0 which is even lazier :)
_lce0··on Show HN: RESTful Doom – HTTP+JSON API inside Doom
Most certainly your machine will suddenly reboot to a newly installed arch ;)
_lce0··on Show HN: Unix-like personal webpage
So are you saying that bash is not actually executed but the characters are being printed on the screen and they looks as if the animation were still playing?

What I cannot understand from that explanation is how the animation time works. It should display the animation in chunks, with really fast frames, followed by pauses while it waits for data to be received.

_lce0··on Show HN: Unix-like personal webpage
wat it just started to run.

I thought it was supposed to be piped for bash to be executed.

Are all `curl` just exposed to bash injections?

_lce0··on Unix Time 1500M – Friday July 14 02:40UTC
> Friday May 15 2015 02:09:25 GMT

That was 0x55555555 or b01010101010101010101010101010101

_lce0··on Commander Keen Level Maps
aand we broke it.

Web archive to the rescue: https://web.archive.org/web/20170628072214/www.commander-kee...

_lce0··on Functional programming in JavaScript is an antipattern
I really agree with you. Think that there's a tension between how a computer works and how a functions operate on data.

Immutability and Referential Transparency help reduce that friction, but in the end we still have not found a real solution. That's why languages like Haskell require a bunch of gymnastics just to allow IO to be seen as pure functions.

_lce0··on Functional programming in JavaScript is an antipattern
Mathematically a Function is a Relation that has two special properties: uniqueness and existence.

(these properties names can be wrong as I've not study calculus in English)

So on the machine, Immutability plays an important role on the first piece, uniqueness, so it tries to guarantee that results are not just "equal objects, but different instances", which breaks the function definition.

Of course that functions that return a new object for the same arguments, even if it's immutable, are not true math functions.

_lce0··on Ask HN: How can I get better at bash?
http://www.shellcheck.net/

https://packagecontrol.io/packages/SublimeLinter-shellcheck

_lce0··on Mars, Moon on Google Maps
To make this work on Firefox mobile, first activate desktop mode, and then click on any link.

Can't really understand why a perfectly capable device is access denied without such trick, it clearly works.

_lce0··on Base65536 encoding
It's funny how this is really close to when celebrities tweet about how good a brand is.
_lce0··on Improving advertising on the web
> Due to these poor ad experiences, the usage of extensions that block ads across the web continues to rise, up about 30% from just last year. This reduces the ability for publishers to continue creating free content and threatens the sustainability of the web ecosystem.

Is this the first step to remove ad blockers from Chrome? I guess that 30% also affects Google.

_lce0··on Google Earth Redesigned
I know I know stupidity beats malice .. but when I first saw that same message I thought: nice marketing stunt, well played Google
_lce0··on Sublime Text 3 dev build 3128 released
you can still download the old one, just replace the version on the build url ;)
_lce0··on Ask HN: Where are you located?
Buenos Aires, Argentina.
_lce0··on [dead]
I guess they dont know about the `Location` header?

    ↪ curl --verbose http://thefailingnytimes.com/
    *   Trying 54.231.83.9...
    * Connected to thefailingnytimes.com (54.231.83.9) port 80 (#0)
    > GET / HTTP/1.1
    > Host: thefailingnytimes.com
    > User-Agent: curl/7.50.1
    > Accept: */*
    > 
    < HTTP/1.1 200 OK
    < x-amz-id-2: 3/A2c4uv6C9ElXBmvw5hzPDNSG0fYwiDfyeHxobE8eqiwy7p+lFdQwFGx92B7Yg+EJtfOr+c1yI=
    < x-amz-request-id: B58F8E66505B6259
    < Date: Fri, 17 Feb 2017 06:03:57 GMT
    < Last-Modified: Sun, 29 Jan 2017 05:39:59 GMT
    < ETag: "58ca9e6b05c3b8f082825624638ecc61"
    < Content-Type: text/html
    < Content-Length: 111
    < Server: AmazonS3
    < 

    <script>
    document.location.href='https://www.nytimes.com/subscriptions/Multiproduct/lp8HYKU.html';
    </script>

    * Connection #0 to host thefailingnytimes.com left intact
_lce0··on The lost art of 3D rendering without shaders
Thanks for bringing back my own memories!!

I had forget about this but at my first year and while the algebra professor was drawing 3D vectors to explain the lecture, I was thinking "that is a 2D surface, so there should be a linear transformation between the two worlds".

Later at home, I've found such space transformation and built a small 3D world that you can walk, using only vectors and plain triangles :)

Page 1 of 18Next →