HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rhengles

no profile record

Submissions

Show HN: Windows 8 inspired transfer speed graph

speed-transfer.arijs.org
2 points·by rhengles·vor 2 Monaten·0 comments

Astro and Mitosis: run the same component in 4 frameworks

github.com
2 points·by rhengles·vor 4 Jahren·0 comments

Node.js script to make an average of corrupted file copies

github.com
1 points·by rhengles·vor 5 Jahren·0 comments

comments

rhengles
·vor 2 Monaten·discuss
[flagged]
rhengles
·vor 11 Monaten·discuss
Didn't we have flying birds before even the dinosaurs, let alone the Homo Sapiens ? So we had physical evidence that flight was possible.
rhengles
·vor 4 Jahren·discuss
Source ? Also, have you seen the former ministry of environment Ricardo Salles in the April 22, 2020 video of the ministries meeting with Bolsonaro ?
rhengles
·vor 4 Jahren·discuss
+1. I also recommend this template[1] based on Vitesse, a starter project created by one member of Vue core team. It includes the NaiveUI library with many advanced components ready.

[1] https://github.com/arijs/vitesse-modular-naiveui
rhengles
·vor 4 Jahren·discuss
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.
rhengles
·vor 4 Jahren·discuss
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.
rhengles
·vor 4 Jahren·discuss
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...
rhengles
·vor 4 Jahren·discuss
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...
rhengles
·vor 4 Jahren·discuss
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).
rhengles
·vor 4 Jahren·discuss
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
rhengles
·vor 4 Jahren·discuss
Would it require too much energy to spin it away from earth instead of towards it ?
rhengles
·vor 4 Jahren·discuss
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?
rhengles
·vor 5 Jahren·discuss
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.
rhengles
·vor 5 Jahren·discuss
CSS - Yes. JS - Not since 2015, I'll admit that is somewhat recent. HTML IDs - IDs are only good if they're unique. Since HTML had no notion of scope, they became global. Shadow DOM is the web platform answer for modularization, however any JS framework will allow you to slice your CSS and HTML in components.
rhengles
·vor 5 Jahren·discuss
Maybe those users simply aren't interested enough in your product? I think adding a simple note "click on the labels to see a demo" should be enough discoverability.
rhengles
·vor 5 Jahren·discuss
This depends a little on the taste of each person, but personally the most elegant way of doing PHP apps I ever found is with Siler: https://siler.leocavalcante.dev/v/main/ and Create Siler App: https://github.com/leocavalcante/create-siler-app
rhengles
·vor 5 Jahren·discuss
That's a kinda chicken and egg problem. I could argue that the more financing you give to people, the more they're gonna be willing to pay, so this actually drive prices up.
rhengles
·vor 5 Jahren·discuss
The best example I ever saw, and a great UI framework/component library on top of it, it's NaiveUI - www.naiveui.com . The code is all in JSX + Typescript, I didn't find a single component with html templates.
rhengles
·vor 5 Jahren·discuss
If you have a Windows 10 license, you already have a Windows 11 "license", since the update is free.
rhengles
·vor 5 Jahren·discuss
They tried that with Windows 8, the backslash was so enormous that I think they will be on the safe side and stick with 'familiarity' for the foreseeable future.