Recent submissions

Comment · 1 year ago
Didn't we have flying birds before even the dinosaurs, let alone the Homo Sapiens ? So we had physical evidence that flight was possible.
Comment · 4 years ago
Source ? Also, have you seen the former ministry of environment Ricardo Salles in the April 22, 2020 video of the ministries meeting with Bolsonaro ?
Comment · 4 years ago
Comment · 4 years ago
I'm rewriting a ERP system my late father wrote in Delphi (with my help when I was a teenager), to be a modern system in PHP (to be hosted for dirt cheap) with a GraphQL api. As I don't have the manpower to write this API manually, I wrote a JS code to read and parse a MySQL Workbench diagram file, where I define the tables and relationships in the visual editor, and then I parse the XML config file to create the GraphQL Schemas and Resolvers.

This API is already working with queries, filters (conditions for the 'where' clause in sql) and forward and reverse relationships (depending on which table points to the other). This system already create 'create' mutations, but I still have to do 'update's and 'delete's. And the entire frontend still.

Comment · 4 years ago
One of the ideas I have, but will not have time to do, it's to make a site or browser extension to allow users to send extra content, reactions, memes, pictures, etc on Hacker News submissions and comments without having fear of the downvotes.

There's many many times that I wanted to post a funny reply but I'm certain that I'd get many downvotes from it.

Comment · 4 years ago
I did a little proof-of-concept a long time ago using Mozilla Rhino + SWT apis and managed to get a small window on the screen with a few buttons with only javascript, but I couldn't figure out the api to make a simple http call...
Comment · 4 years ago
I simply created a throwaway account during installation. However, I ended up using a fake birth date that was under 18 yo. So later I ended up having to create _another_ fake account with the age of an adult to allow me to create a local account with admin priviledges...
Comment · 4 years ago
I can't edit my post anymore but I found the solution. All I had to do was to convert the random input value (X above) to an uint32 using (X >>> 0).
Comment · 4 years ago
Forgive me for replying here, I couldn't find an option to DM you. And I cannot find any implementation of this in javascript, nor anyone else able to help me.

Can you shed some light here why I'm getting these differences?

https://jsfiddle.net/7kf15dje/

Here is an example of the output I'm getting:

  //       X  A  B           X^1         X^-1 :: Difference
   471490377  6 13 =  1365552781 =  471490377 :: 0
  1528396978  9 11 = -1576695076 = 1528396978 :: -0
  1592322722  9 20 =   622346385 = 1592322722 :: -0
  1214152986  8 16 = -1748578289 = 1214152985 :: -1
  1193897367  2 16 =   907713766 = 1193897366 :: -1
   335642564  9 10 =   318891964 =  335642564 :: -0
   486208953 16 23 =   894211128 =  486208952 :: -1
   629577059 13 14 =  1383225523 =  629577058 :: -1
  1609442937  8 18 =   674046110 = 1609442937 :: -0
   234450967  6 12 =  -459008694 =  234450966 :: -1
  1840721644 19 28 =  -602984005 = 1840721644 :: -0
Comment · 4 years ago
Would it require too much energy to spin it away from earth instead of towards it ?
Comment · 4 years ago
Reading only the title, I thought "I am having this problem exactly now!". However, it is not about lack of security updates (it's an old Motorola phone). It is a smartphone that belonged to my late father who passed away in 2020. He had a google account with password and the phone has a pattern to draw in the lock screen.

I know Google and the phone manufacturers are concerned with the stealing of phones, so they make it as hard as they can to use a phone without authorization, even if you try to reset the phone and erase all user data. Does anyone know if there is a process to remove a google account from a phone even if I have to prove to Google that he died of natural causes?

Comment · 4 years ago
One thing that always put me off about webpack is the default way it compiles your code. One of the ways is(was?) compiling code as _eval_(!!) statements and code as string. It is absolutely impossible to debug such code.

You were meant to rely on sourcemaps to get something on your debugger, but despite using the latest Chrome and developer tools at the time, I could never get it to work to actually debug sites.

I know Rollup, Vite and etc had a much easier time providing an easier developer experience because they rely on the browser's native ESM support, but I never could understand why webpack decided to mangle the code so badly.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton