HNHacker News
TopNewBestAskShowJobs

dontchooseanick

155 karma · joined May 13, 2017

submissionscomments
dontchooseanick··on Ask HN: How do I help a colleague who introduces a lot of typos?
Just copy-paste everything !

Bare with me - I may have had the same. Countless hours debugging. I had to copy Assembly (68000) in my early days.

Copy-paste is a life saver. Don't type this very long parameter if you can copy its name from the definition file.

dontchooseanick··on Server-Sent Events (SSE) Are Underrated
Because you're supposed to use a single connection with HTTP Pipelining for all your ressources [1]

When index.html loads 4 CSS and 5 JS : 10 ressources in HTTP 1.0 needed 10 connections, with 10 TLS negociations (unless one ressource loaded fast and you could reuse it's released connection)

With HTTP1.1 Pipelining you open only one connection, including a single TLS nego, and ask 10 ressources.

Why not only 1 per domain so ? IIRC it's because the 1st ressource index.html may take a lot of Time to complete and well race conditions suggest you use another one that the 'main thread' more or less. So basically 2 are sufficient.

[1] https://en.m.wikipedia.org/wiki/HTTP_pipelining

dontchooseanick··on Back To Atoms: Why we can stop building SaaS and build the future instead.
Came exactly to say this.

We often don't solve technical problems or write algorithm. We're here to understand a client who doesn't know what he wants. Good luck for the general purpose AI to solve this [1] "If Architects had to work like Programmers"

[1] https://archive.is/r4l6C

dontchooseanick··on Hacker News needs a Dark Mode
Is this one dark enough for you ? [0]

I call it `links https://news.ycombinator.com/item?id=36342085`

Oh and don't tell me you're a hacker if you've never tried Hacker News in the terminal emulator. Dark, Perfectly dark, Green-dark \o/

[0] https://ibb.co/QHLWHZm

dontchooseanick··on An Open Source Book That Teaches JavaScript
Commenting on the last exercise, "loops" on https://javascript.sumankunwar.com.np/

The average functional programmer writes this - and not a for loop :

    ````
    const fizzbuzz = (n)=>(n%15==0)?"FizzBuzz":(n%5==0)?"Buzz":(n%3==0)?"Fizz":n;
    Array(101).fill(0).map((_,i)=>fizzbuzz(i)) 
    ````
dontchooseanick··on Stop feeding the hype and start resisting
Congratulations !

A documented, opiniated, non-hype biased post about AIs. I've lived the 80's AI hype wave and the fall that followed. AFAICT we're on the same train here.

"Any sufficiently advanced technology is indistinguishable from magic" (Arthur C Clarke) and we're waiting for the masses to recognize what magic sparkles are : dust (ok, weighted barycenters of a huge database)

Side note : I often wonder how *GPT can deal with self-reference, like "What would you think of you if you were me ?" or "tell me something you were not programmed to think is plausible"

dontchooseanick··on Ask HN: Developers, how do you deal with socials, blogging, etc
Over-enthusiastic marketing. Sometimes it was HR promoting participating in social networks "for the company". Nobody ever threatened me, they were just really pushy, until the pushback
dontchooseanick··on Ask HN: Developers, how do you deal with socials, blogging, etc
Nope, 10 years, 2 years and 4 years resp.
dontchooseanick··on Ask HN: Developers, how do you deal with socials, blogging, etc
Perhaps I didn't explain it well. Those employers kept me ! and I didn't have to repeat it to other potential employers "shortly" later.

It just ended the conversation there. The crucial part being I'm not against publishing as a part of my job, but no way you're making it a personal requirement / on my behalf.

The outcome being "let's stay good friends", not "you're fired"/"don't get the job", I did get it. As such, not ending the conversation in 2 mins but letting them reviewing their argument is crucial : the constraints are yours, and you don't have anything to blame me for ..

dontchooseanick··on Ask HN: Developers, how do you deal with socials, blogging, etc
Simple

- No linkedin, no instagram, no fb, and afaic not even a google account (yes android works, rooted)

When my employer asks me to "publish", "have a presence" or "shine for the company" in any way I find the NDA, security rules and legalese I've signed and reply

1. This is against cybersecurity rules, can you sign me a paper stating you want me to break rule #37 and rule #61

2. Then I ask him to accept all the end-user agreements in the company name or its own personal name, and send me back the login+password so I can contribute daily BS - oh and buy me a company owned phone if such interactions involve using a MobileApp(tm), no way I'm mixing personal and work on my phone

The discussion stopped here, never got a reply, did this to 3 employers already

dontchooseanick··on Show HN: Vim online editor using WebAssembly, storing files using IndexedDB
+1

As a heavy vim user, I've literally been using gvim.exe every day on Windows for the past decade

https://www.vim.org/download.php#pc

dontchooseanick··on Show HN: Vim online editor using WebAssembly, storing files using IndexedDB
Does kinda work

Perfect :

* Using :left and V , set ts=4 sts=4 sw=4

* Recording macros with q

* Main vim combos - it's definitely vim

Fails :

* Typing { or } on a MacBook Air under Firefox - don't know which of this settings cause the bug. Reproducibly, { does not work

* Replaying a macro containing { or any error

Kudos for the compilation (emscripten ?) and Brace for impact (the incoming bugs) :)

dontchooseanick··on Ask HN: Have you stopped reading most news?
awfully sorry, I wanted to 1. underline that it's a shared opinion and 2. notice others that the "Current Events" portal was commented here.

I posted the exact same comment in all 4 positions talking about Wikipedia - if anyone feels offended or spammed just ler me know and I'll delete this superflous cross-reference

dontchooseanick··on Ask HN: Have you stopped reading most news?
Comments also promoting / proposing Wikipedia's Current Events [1] [2] [3] [4]

[1] https://news.ycombinator.com/item?id=33417715

[2] https://news.ycombinator.com/item?id=33417336

[3] https://news.ycombinator.com/item?id=33417454

[4] https://news.ycombinator.com/item?id=33417439

dontchooseanick··on Ask HN: Have you stopped reading most news?
Comments also promoting / proposing Wikipedia's Current Events [1] [2] [3] [4]

[1] https://news.ycombinator.com/item?id=33417715

[2] https://news.ycombinator.com/item?id=33417336

[3] https://news.ycombinator.com/item?id=33417454

[4] https://news.ycombinator.com/item?id=33417439

dontchooseanick··on Ask HN: Have you stopped reading most news?
Comments also promoting / proposing Wikipedia's Current Events [1] [2] [3] [4]

[1] https://news.ycombinator.com/item?id=33417715

[2] https://news.ycombinator.com/item?id=33417336

[3] https://news.ycombinator.com/item?id=33417454

[4] https://news.ycombinator.com/item?id=33417439

dontchooseanick··on Ask HN: Have you stopped reading most news?
Comments also promoting / proposing Wikipedia's Current Events [1] [2] [3] [4]

[1] https://news.ycombinator.com/item?id=33417715

[2] https://news.ycombinator.com/item?id=33417336

[3] https://news.ycombinator.com/item?id=33417454

[4] https://news.ycombinator.com/item?id=33417439

dontchooseanick··on Ask HN: Have you stopped reading most news?
I'll try to repeat ? read this : https://en.wikipedia.org/wiki/Portal:Current_events

> How do you find topics to read up on via Wikipedia?

The above link is the "News Portal" of Wikipedia. I'll assume that -like me at 1st- you didn't even imagine it could exist.

dontchooseanick··on Ask HN: Have you stopped reading most news?
Very opiniated answer here : I now rely mostly on Wikipedia, cf https://en.wikipedia.org/wiki/Portal:Current_events

Most news look to me as entertainment, not information. Articles detail what B.Spears has done or what hominous unacceptable sentence has been said by CongressMan X or Y.

Spoiler : I don't want entertainment, I don't want to be outraged (most people do and won't really admit it). I want the state of the world, at least a comprehensive and kinda global one.

Did you know there is a war in tigray (https://en.wikipedia.org/wiki/Tigray_War) ? Well wikipedia has been reporting it for a year. Most news outlet focus only on Ukraine (yes it's important) and on the latest hookup of celebrity Z.

> to what end does this actually benefit the individual?

Agreed, entertainment does not improve my global thinking. News does.

> For those that have experimented with “going dark” in a sense, how was it, what did you do and what’s a good balance?

Completely dark, no FB, no Insta, no twitter/reddit/name_it . It's almost boringly peaceful. Craving is only the first half a year. Now I feel like I can describe some "shape" of the world - but of course in parties I can't relate to the (useless) "Did you see this guy sneezing coca cola on tiktok - yeah right, gross, it was all over the news for a week".

PS: happy with it.

dontchooseanick··on Ask HN: Will AI-generated images flooding the web pollute future training data?
You're assuming a _voluntary_ action _can_ be done. This won't happen, Lazy humans will feed non-aware AIs.

The OP is asking if s.o has "already thought of such an issue"

dontchooseanick··on Selfhosting on Localhost
"Not reachable from outside my home.."

If your apps listen on IPV6, they _are_ reachable from outside your home (provided your mobile ISP does IPV6, but they mostly do AFAIK)

dontchooseanick··on I received a patent infringement email for my weekend project (2010)
In case the blog disappears

* https://archive.ph/kkebe OP blog, does not seem to infringe anything

* https://archive.ph/PjIVA Another blog, explains shazam

dontchooseanick··on Convert curl commands to code in several languages
Where is haskell :) ?
dontchooseanick··on Ask HN: How do you start researching for a project idea?
Alan kay has a brilliant [0] powerful idea about ideas :

- Complete the sentence "It would be stupid if in 20 years we didn't have ..." (flying cars ? direct brain interface ? biological self-healing computers ? pick one)

- Now imagine this 'obvious' invention and bring it back into the present (IIRC he was trying to invent the iPad and came up with the Apple II - and succeeded. IIRC he's involved in Object Oriented Programming, Apple II, TCP-IP and other revolutionary inventions)

[0] https://www.ted.com/talks/alan_kay_a_powerful_idea_about_ide...

dontchooseanick··on Log4j RCE Found
See the reddit netsec thread [0] . There is evidence of attackers having the exploit since April 2021, thus the disclosure.

> Was it spotted being abused.

No, not at 2021-12-10 AFAIK, just spotted being spread.

[0] https://reddit.com/r/netsec/comments/rcwws9/rce_0day_exploit...

dontchooseanick··on Google banned almost 120k spam developer accounts in 2020 for the play store
droidscript.org wasn't !

Legit, no (known) spam, 7y old, educational .. and destroyed by bots

dontchooseanick··on Hire me and pay what you want, just give me interesting work
Your comment reminds me of https://dilbert.com/strip/2016-08-07

:)

dontchooseanick··on Falsehoods Programmers Believe About Names (2010)
> I wish these things came with examples.

Pablo Diego José Francisco de Paula Juan Nepomuceno Crispín Crispiniano María Remedios de la Santísima Trinidad Ruiz Picasso : https://wikipedia.org/wiki/Pablo_Picasso

See ? First name ? Last name ? 2 components ? Uppercase ? Having faulty but tolerant systems does not mean they are right

dontchooseanick··on 10 Years of Open-Source Visualization: Did I learn anything from D3.js?
You're looking for https://c3js.org/ :)
dontchooseanick··on Block Facebook Servers
https://search.arin.net/rdap/?query=FACEBOOK

The links contain the IP ranges (4 and 6). Testing all those should be sufficient.

Page 1 of 3Next →