HNHacker News
TopNewBestAskShowJobs

G_o_D

24 karma · joined October 4, 2024

submissionscomments
G_o_D··on An overengineered solution to `sort | uniq -c` with 25x throughput (hist)
why no mention of awk ? awk '!a[$0]++'
G_o_D··on Armed police swarm student after AI mistakes bag of Doritos for a weapon
its not gun detection that ai is racist just like its white creators
G_o_D··on Do not accept terms and conditions
i don't understand people believe it whether you accept or deny, does it matter if i had to log i will its not my site will have to pass all test about malpractice before being publish, or on everyday basis

Those prompt are not real prompts from browser permission system itself that if you deny will prevent site from accesing any data

those are dummy

G_o_D··on IDEs we had 30 years ago and lost (2023)
Been setteled on https://scintilla.org/SciTE.html It has simplicity + extensible for any language, you can create your own linter + highlighter

Its nothing bloated, its not embedded ide like vscode and all

Rather scite is just gui frontend for cli based binaries, it uses programming environments you have installed on your os

Just like old time on cmd or sh, we used compilers eg javac or cpp

Now scite just make it easy, its exactly same as borland turbo, you add path to your compiler binaries in scite and done you click compile or run,

Plus its lightweight and portable, carry it in usb and run on any computer by just setting paths to compiler and executor binaries

G_o_D··on Ask HN: Abandoned/dead projects you think died before their time and why?
JavaScript Style Sheets (JSS) Introduced by netscape navigator 4, never came into mainstream as people were reluctant to give up CSS
G_o_D··on Is it possible to allow sideloading and keep users safe?
I create apps just for myself, just started learning, self taught, not a student taking programming course in university, not professional

Apps created by me for my routine,

Does that mean i would not be able to install my apps ??

G_o_D··on Debounce
Debounce -> Like when we throw a ball once on ground, but it keeps bouncing, To prevent that

Human interaction with circuits, sensors, receptors, occur like that

When we click a keyboard key or switch circuit switch the receptors are very sensitive

we feel we did once but during that one press our fingers hands are vibrating multiple times hence the event get registered multiple times due to pulsating, hence all after first event, the second useful event that can be considered legitimate if the idle period between both matches desired debounce delay

in terms of web and software programming or network request handling

it is used as a term to debounce to push away someone something aggresive

Example wise

a gate and a queue Throttling -> gate get opened every 5 min and let one person in, no matter what

Debounce -> if the persons in queue are deliberately being aggressive thrashing at door to make it open we push them away Now instead of 5 min, we tell them you have to wait another 5 min since you are harassing, if before that they try again, we again tell them to wait another 5 min Thus debounce is to prevent aggresive behaviour

In terms of say client server request over network

We can throttle requests processed by server, let say server will only process requests that happen every 5 min like how apis have limit, during that before 5min no matter how many request made they will be ignored

But if client is aggressive like they keep clicking submit button, keep making 100s of requests that even after throttling server would suffer kind of ddos

so at client side we add debounce to button click event

so even if user keep clicking it being impatient, unnecessary network request will not be made to server unless user stop

G_o_D··on The Chrome Speculation Rules API allows the browser to preload and prerender
https://github.com/GoogleChromeLabs/quicklink https://criticalcss.com/ Been using this for years
G_o_D··on A proposal to restrict sites from accessing a users’ local network
Browser should just allow per-site settings or global allow/deny all to allow deny permission to localhost

So thats user will be in control

cant just write a extension that blocks access to domains based on origin

So user can just add facebook.com as origin to block all facebook* sites from sending any request to any registered url in these case localhost/127.0.0.1 domains

DNR api allows blocking based on initiatorDomains

G_o_D··on A proposal to restrict sites from accessing a users’ local network
Cors doesnt stop POST request also not fetch with 'no-cors'supplied in javascript its that you cant read response that doesnt mean request is not sent by browser

Then again local app can run server with proxy that adds adds CORS headers to the proxied request and you can access any site via js fetch/xmlhttprequest interface, even extension is able to modify headers to bypass cors

Cors bypassing is just matter of editing headers whats really hard to or impossible to bypass in CSP rules,

Now facebook app itself is running such cors server proxy even without it an normal http or websocket server is enought to send metrics

Chrome already has flag to prevent locahost access still as said websocket can be used

Completely banning localhost is detrimental

Many users are using self hosted bookmarking, note app, pass managers like solutions that rely on local server

G_o_D··on Show HN: PunchCard Key Backup
Plus just place punch card on paper apply a paint with brush of better spray and you printed your holes will be printed on paper share anyone (Softcopy ツ)

alternatively for fun use photographic chemical film paper and dark room, place plate on light source flash and capture holes on film

Steganography ideas Another fun-> divide cut plate into puzzle give pieces to different people only when puzzle combined reveals full datà

Another -> Have two or more plates with extraa binary bits holes and masking plates, when they are superimposed/stacked in proper order or aligment then uncessary bits will be masked revealing useful bits

G_o_D··on Show HN: I created snapDOM to capture DOM nodes as images with exceptional speed
It doesnt load, snapdom dont appear in my devtools had to copy paste script

Plus it just struck at pending promise dont work

Plus css is messed up, i cant call it a snapshot, if it dont look same

domtoimage lib works for me and is fast whole html body node captured within second

G_o_D··on Fastest and Minimalist Note Taking App
data: text/html, <html contenteditable>
G_o_D··on Tiniest Flying Robot (Wingspan <1cm) Soars Thanks to Magnets
Just place magnetic strips coil inside outer ring and wings connected through inner ridge with tinient ball bearings that allows inner wing fan to move and copper coils inside fan design and they will start deflecting spinning and it will lift up
G_o_D··on Today Google bricked my Chromebook by force-installing a hidden extension
Just wait till google and youtube uses ai to access camera and track your eye movements to detect whether you are actually watching ads or not, when ad comes and you place your phone away or move your eye away for time being ad gets complete, ai will detect you are not watching ad and pause it, thus when you return it will play again, thereby forcing us to watch ads
G_o_D··on Show HN: Trick to remove auto-translated Reddit posts from Google results
And after 3-4 searches google will start flooding you with captchas Any modification addition/removal of query parameters or dorking causes googe to throw captchas
G_o_D··on Introducing command And commandfor In HTML
<style> #my-popover { display: none; border: 1px solid black; padding: 10px; margin-top: 10px; } #toggle:checked + #my-popover { display: block; } </style> <body>

<label for="toggle" id="my-button">Toggle Popover</label> <input type="checkbox" id="toggle" style="display: none;"> <div id="my-popover">My content!</div>

</body> Wont this work a toggle popup with html+css only no js yet interactive with label

G_o_D··on Introducing command And commandfor In HTML
Already a thing of past http://www.w3.org/Submission/1996/1/WD-jsss-960822 Netscape Communicator 4

JavaScript Style Sheets (JSSS) alternative to CSS, a "Programmable CSS"

Never got spotlight because stubborn people werent ready to let go of css

G_o_D··on Mozilla flamed by Firefox fans after reneging on promises to not sell their data
Brave as a browser sucks !!! Most sites dont load on it Most sites appear blank brave cannot render unless repeatedly refresh like in 90s Even with 60 tabs opened in android it lags as hell, both opening and switching tabs takes 30s to 1min or more

No reliability over sync, lost my bookmarks many time cannot easily run bookmarklets

and much more

Its now just a hunk of paid crypto AI VPN servicea

G_o_D··on Ask HN: If I build another note taking app, would you use it, if not why?
Only if you combine all features spanned/scattered over existing apps into one then only,

There are currently 3 kind of note taking apps as per me

1) Simple Basic (Just fulfills note creation) Nothing Advance features (Like keep)

2) Advance Extremely feature rich (But lacks the basic features the ui rapid note taking)

3)Extendable Apps

4) Apps with ingenious features like networked note taking tagging, graphical trees, backlinking (Like roam, reflect, capacities) Full featured apps exist for desktop while their android counterparts are limited, all features reside in their desktop app and on android app you can only view no create no sync etc

If you combine all (Next to impossible)

I am better with notepad on windows and vim on linux and keep on android

G_o_D··on Calendar.txt
cli access to keep --> no its unofficial api gkeepapi would not trust with my gmail credentials

Though limited android keep app has one simple intent using which i create all my notes

G_o_D··on Show HN: I created a language called AntiLang – breaking all the conventions
Make it like urdu language which is written in reverse
G_o_D··on YouTube turns 20 years old today
Happy 20th birthday, YouTube! From a platform that once felt like a treasure trove of creativity to a glorified ad machine where genuine content gets buried under an avalanche of nonsense shit vulgar feeds from indian users,,destroying my day if i take a glimpse of youtube in morning, with someone posting pissing video on youtube and it gets recommemdrd on my feed early morning o open youtube and such vulgar video got imprinted in my memory cant rid of. Cheers to the nostalgia of a better time
G_o_D··on Show HN: Seen: rendering 1,000,000+ notes in <1s. speed, by default
i have created one such in past, though not <1s but one note - 167239 character long, total 662 notes takes 10s on initial load from server and rendering then its fast, CRUD operations doesnt lag, + filtering live search also fast enough fiktering 662 notes, only 2s
G_o_D··on I Blog with Raw HTML
What do you mean by raw html ?? Using js and stylesheet in your head tag, well you didn't mean pure html only site
G_o_D··on Meta torrented & seeded 81.7 TB dataset containing copyrighted data
Money speaks ! Money buys !
G_o_D··on Linux Running in a PDF
Still you will need reader to open that pdf
G_o_D··on Motion sickness accessibility in video games
10 mins of playing gta caused 1hr of headache
G_o_D··on Microsoft Is Dead (2007)
Now that windows 10 EOL has already been commited, forcing users to buy expensive new desktop/laptops to run heavy and extremely slow/laggy 'Shady' windows 11

They are doomed

Since advent of smartphone, its been 13 yrs my desktop/laptop are unused covered in dust,

All my needs are fulfilled by hybrid android+linux ecosystem

Who among average users needs laptop, for daily usage when phone can be thrice fast and 100times more features

G_o_D··on Show HN: I convert videos to printed flipbooks for living
Waste of paper and ink and space, for 1 minute clip getting 60 frames and printing 60 cards to flip 60fps
← PreviousPage 2 of 3Next →