Better HN
topnewbestaskshowjobs
Log inSign up

dontchooseanick

155 karma · joined May 13, 2017 (9y ago) · 67 submissions

Submissions

comment 11mo ago · link · parent

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.

comment 1y ago · link · parent

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

comment 2y ago · link · parent

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

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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)) 
    ````

comment 3y ago · link · parent

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"

comment 3y ago · link · parent

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

comment 3y ago · link · parent

Nope, 10 years, 2 years and 4 years resp.

comment 3y ago · link · parent

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 ..

comment 3y ago · link · parent

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

comment 3y ago · link · parent

+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

comment 3y ago · link · parent

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) :)

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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"

comment 4y ago · link · parent

"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)

comment 4y ago · link · parent

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

comment 4y ago · link · parent

Where is haskell :) ?

comment 4y ago · link · parent

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...

comment 4y ago · link · parent

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...

comment 5y ago · link · parent

droidscript.org wasn't !

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

comment 5y ago · link · parent

Your comment reminds me of https://dilbert.com/strip/2016-08-07

:)

comment 5y ago · link · parent

> 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

123