HNHacker News
TopNewBestAskShowJobs

unlog

377 karma · joined February 26, 2020

submissionscomments
unlog··on Show HN: I created a tool to generate socket.io project structures quickly
I got tired of socket.io impossible documentation, API changes and frequent "ping timeout nonsense". So I made my own, you may want to check it out. I never got to document how rooms work tho. I will do some day https://github.com/titoBouzout/angelia.io
unlog··on Yes, I can connect to a DB in CSS
I believe the purpose of the article is to expose the paint API, rather than trying to claim that has been done with CSS alone. Which in some part is true, as CSS is allowing this at all in the first place.
unlog··on Show HN: RandomCoin – A cryptocurrency that changes its price every second
Yes, but you have to code for it. I guess you mean you want to "kill the process" in some way, and that's not possible as far as I know.

One easy way is to add a flag

        let working = true;
        (function work() {
          console.log("running");
          if (working) requestAnimationFrame(work);
          else console.log("stopped");
        })();
Programmatically, you have the function cancelAnimationFrame that you give as parameter what requestAnimationFrame returns. The same as setTimeout and clearTimeout
unlog··on Framework Raises $18M Series A
That's what's good of the Framework. Definitely, the keyboard and screen are the first filters, then specifications. There's really not many options for powerful laptops outside gaming now. The keyboard on this one, it's wonderful.

With a friend, we had an idea of making custom keyboards for all laptops. With a 3d printer you may get away dealing with most of the covers. We desisted from the idea noticing that to change the keyboards you have to practically disassembly the complete laptop, testing would be very expensive too.

unlog··on Framework Raises $18M Series A
I remember finding this laptop when searching for a new one. I loved it, but I wanted AMD instead of Intel. I ended buying an Asus G713QR, gaming laptop, but very powerful and with an amazing screen.
unlog··on Show HN: RandomCoin – A cryptocurrency that changes its price every second
Wrote a bot for it, very constructive experience.

Something that I didn't expect is that is not that easy as "buy low" and "sell high". I had to cap the buying price for the bot to make money at all, else the "bought at" will get so high, that you won't have a chance to buy much.

    let bougthAt = 0;

    let fn = { click: () => {} };
    let buy = document.querySelector("#buy");
    let sell = document.querySelector("#sell");

    (function work() {

      let founds = +document.querySelector("#funds-fiat").innerText;
      let coins = +document.querySelector("#funds-coin").innerText;
      let price = +document.querySelector("#price").innerText;

      if (founds > price && price < 5000) {
        fn = buy;
        bougthAt = price;
        console.log("bougthAt", bougthAt);
      } else if (price > bougthAt && coins > 0) {
        fn = sell;
        console.log("sellingAt", price);
      }
      fn.click();
      requestAnimationFrame(work);
    })();
unlog··on To my surprise and elation, the Webb Space Telescope is going to work
That's an overly negative comment for a project that yourself said learned from Hubble mistakes. They are exactly trying to avoid Hubble mistakes by being able to correct mirrors in absurd units, and much more. I get the idea that failure levels are so high that "everyone" get a drug shot from them. I just expected better. Hope, if you wanna call it in some way, with evidence that indicates that things are going good.
unlog··on Ask HN: What if submitting a story cost 1 karma?
Putting scores to things encourages system gaming, leading to unwanted side effects. See pagerank for example.
unlog··on Use deep fake tech to say stuff with your favorite characters
Disclaimer: I know nothing about AI.

I think the AI is now capable to reply to "how likely this will mean this other thing if you say it this way", that applies to text, pictures, videos, whatever, you name it. Is not intelligent in any way, but still gives meaningful responses back, which is useful for the use cases to which it is applied, search, games, etc. That been said, I have no doubts, that with time, it will reach understanding resolving basically almost any problem... but.. we always have doubts, and you can't just divine the future, look at the James Webb Telescope, we launch it to get some answers, so doesn't matter how intelligent a system may be, we would need more research, and the system will need it too, even if it's an AI, (because its needs to know things, to learn from them, in case that wasn't obvious)

unlog··on Use deep fake tech to say stuff with your favorite characters
This got me thinking that it would be nice to have some sort of recursive processing in which if you say, that Flanders is personalizing Obama, then when you quote "My fellow Americans", you should hear an attempt of Flanders saying that the Obama's way. A way to detect fake voices, I guess :P
unlog··on Ask HN: Alternatives to Windows?
Thanks, but Im not panicking, I really wish there were a reliable and worthy alternative that I can actually use for work.
unlog··on Ask HN: Alternatives to Windows?
It seems a lot of CPUs are not supported, regardless of TPM being enabled or not in BIOS, etc, what we should do to trash our laptops?

Edit: Also Windows 10 end of life It's just too soon...

unlog··on WD My Book users wake up to find their data deleted
Could this happen if your router is not open to the world? I dont get it to be honest, maybe the device sends queries commands home? that seems unlikely
unlog··on Ask HN: etc./letsencrypt/ had past five years of data
oh, Thank you!
unlog··on Garry Kasparov launches a community-first chess platform
lichess has very big problems with the chat, so I won't call it "community first", it's nice if you are just there to play chess, but playing chess with your actual friends its a problem, the chat is heavily censured so having any casual conversation while playing it's hard. To give some examples they ban chat messages that look "similar" to the previous one, so lets say you type a2, and then you type a3 (... a chess position) the last message won't be displayed which is very annoying. This "solution" solves nothing and causes problems, because anyone trying to say something will just try till the message goes through(if you ever noticed that what you typed didnt reach the chat...). Did you make a typo on your phone number/birthdate/address? you can't fix it if it's just the fix to the number, they seem to have been trying to solve with the computer social issues that cant really be solved that way. Besides, there's a very lengthy list of censured words that you can't type, even if you are playing with your actual friends, with people that you may even know in real life, it's insane. I maintain sites frequented by teens and their language is not the best but thats the way teens talk, lichess doesn't welcome the young by doing what its doing now. They are dictating what you can say and not. The funny thing is that I believe the chat is logged forever on their server and there's no indication on the screen of that actually happening, I really wish for my chat history to be deleted, specially because I was not informed about it. Don't get me wrong, I love lichess, but I have pretty much stopped playing when I discovered these things.
unlog··on AdGuard publishes a list of 6K+ trackers abusing the CNAME cloaking technique
They mean the link won't work unless it has the id, which could be as mentioned indistinguishable
unlog··on Show HN: UrlRoulette – Pass a URL to the next visitor
They should have grouped the urls by the referrer, so you only get suggestions from the circle you come from.
unlog··on How I bypassed Cloudflare's SQL Injection filter
If you ever need this or something like this, then it means you don't trust 100% how input is handled. I think my projects reached this point, even with some little flaws in between, to expect this from any company that isn't organised enough to handle security properly.. sounds unteslistic. From there it just depends at which cost you add this additional layer of "security", I learned from cloudbleed to avoid as much as posible anything that could modify the document in some way.
unlog··on We didn't encrypt your password, we hashed it
Question, is it good to hash passwords as = password + email (so changing email requires input of password) + site wide long random string (this string is same for every user), thoughts?
unlog··on Gmail blocks access to custom “webview/browsers”
> Google's stance is that you need to use a browser they approve of to access your account

Yeah thats the crazy up situation..... I could maybe access via a imap client, Guess they will ask for an "insecure app password" (I forgot the name of this)

But the thing that blows my mind is that you cannot make your own browser! Thats the problem..... because I was considering to do just that, my own browser, wow, I cannot do it without google approval..... I will need to think about it....

unlog··on Gmail blocks access to custom “webview/browsers”
Mmmh, I considered a MITM attack an interception. While maybe making a custom browser (that obviously have access to the webpage) could be considered as "In the Middle" I do not think the definition sticks to it, but they seem to do, given your link. I understand the reasoning but I dont share it, it sort of make sense, but doesnt. If someone got to install a "Chrome Embedded Framework" then they already bypassed the "(in)secure screen", but I see how this could be a problem..
unlog··on Ask HN: What knowledge or skills do you hope your kids to have?
A secondary language is a must-have if possible when you are young. It doesn't only allow you to speak with people, it introduces you to other cultures, opens your mind on how things could be so differently. I'm from a Spanish speaker country and learned English alone. Music also. What I consider the most important thing is that learning shouldn't feel like an obligation.
unlog··on Can't you just right click?
How do you ad-hoc from windows? I run into this just yesterday and had to explain people to CTRL+CLICK. I'm not planning to give apple anything and the users already know that. Whats funny is that on windows you can also get an app signed via a third party(not sure if this applies this day) and avoid this kind of scary dialogues.. just because you paid someone.
unlog··on Tesla touchscreen wiper controls land driver with fine after crash
Could also be same as I said but very long press to spray cleaner.
unlog··on Tesla touchscreen wiper controls land driver with fine after crash
Theres seem to be a hardware button to turn these on and off. The solution should be simple: - Long press to turn on and off. - Press many times to change speed.
← PreviousPage 3 of 3