HNHacker News
TopNewBestAskShowJobs

torgard

279 karma · joined October 2, 2017

coolboyyy
submissionscomments
torgard··on What's Inside the EU Green Pass QR Code?
For one thing, GDPR. It's illegal.

Apps can also be configured to prohibit (or at least make it harder make) screenshots/screen-recordings. It can of course be circumvented, but still. It's illegal.

I would consider it as safe as showing my ID to a bartender/bouncer. Safer, even, as they don't get as much data.

torgard··on JPEG XL
Great point!
torgard··on JPEG XL
I'd say JXL Medium is slightly better than WebP Small - compare e.g. the racket, face, and left hand.

But it's also slightly worse than WepB Medium, e.g. with the corner of her mouth.

torgard··on Why Prefetch Is Broken
Ah yes, of course. I was thinking with a perspective of a user who has full control of the site, as they are the owner too.

The cache-key idea would only work if the user themselves could specify it for every resource.

torgard··on Why Prefetch Is Broken
This is quite interesting. I didn't know this was a thing.

A primary issue, as I see it, is caching of third-party assets (as dmkil posted elsewhere, think jQuery, Google Fonts, Facebook Pixel, etc).

Could this not be solved using the Cache-Control header, or maybe some HTML attribute variation of this? Maybe something like:

  <!-- Use a site-specific cache for its stylesheet, default behavior --> 
  <link rel=spreadsheet href=index.css cache-key="private">

  <!-- Use a global cache for jQuery -->
  <script
    src="https://code.jquery.com/jquery-3.6.0.slim.min.js"
    integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI="
    crossorigin="anonymous"
    cache-key="public" 
  ></script>
torgard··on Why Prefetch Is Broken
That's interesting.

Just so I understand it correctly: * The iframe loads resources, e.g. /static/bundle.js and /public/index.css (does this include user-defined resources?). * But due to the iframe being embedded on sub**.framercanvas.com, the cache key includes the subdomain. So all resources are fetched again for all projects?

torgard··on Coq searches for alternative name
I read that as some women turned away, and other women were harassed.
torgard··on Coq searches for alternative name
Wow what a bold take, brave
torgard··on “I’ll Finish It This Week” and Other Lies
If a company chose to fire me for that, I would not want to work at that company anyhow.

I know this is somewhat naive; not everyone is in a position where they can pick and choose what companies they wish to work at. But still, such a company would be a terrible company to work at.

torgard··on Coq searches for alternative name
Roqc is a fantastic name, hope they go with that.
torgard··on “I’ll Finish It This Week” and Other Lies
I go with a) every time. I would find anything else to be unprofessional.

I don't "effectively suck", I disagree with them on the timing. I'll explain my reasoning, and if they cannot accept that, then it's out of my hands; they have chosen to cut corners.

torgard··on RegEx Crossword
What a game! Thanks for this.

It took me close to three hours to solve this, hahaha

torgard··on I followed my dreams to get demoted to software developer
Thanks for sharing! I had not heard about him.
torgard··on Rust Foundation: Hello, World
actix-web seems really interesting, just from some cursory reading.

Also, from a performance standpoint, it seems to be _really_ good: https://www.techempower.com/benchmarks/

This example in particular piqued my interest: https://github.com/actix/examples/blob/master/async_pg/src/m...

I have no experience in Rust whatsoever, but I feel inspired to try it out.

torgard··on After spending $57M on Facebook ads, I was kicked off
They do? I was under the impression that they don't.

I specifically remember submitting an app, and getting denied. The response we got was relatively vague, saying it was breaking ToS. No screenshots, no call or anything of the sort.

This was the first submission though.

torgard··on Figma: The product design team’s process
As a developer, I found Figma to be amazing, but that may be due to the designer I worked with.

At a previous job, I would just get PNGs or PDFs of some design, and I had to try to implement it. Often ended up with inflexible, hard-coded shit, guessing sizes ("8px padding? I think so??"), guessing colors, whatever.

At another job, the designer I worked with just gave me a link to a Figma file, and I had everything I needed. I could shit out front-end stuff quickly, without any issues.

I used to think I was just a bad at front-end, and therefore preferred the back-end. Turns out I'm just not that good a designer, and with a tool like Figma, building the actual designer's vision was easy and joyful.

torgard··on How bad is your Spotify?
It played Don't Stop Believing by Journey, and then made fun of me for liking it loool
torgard··on How bad is your Spotify?
This made me laugh a couple of times. Pretty good :)

Really well written. Unique responses to many (I thought) relatively unknown songs and artists.

The final score, a rambling "BAD" rating, was very funny.

Great job!

torgard··on Comic Mono
I legitimately like it. No joke.
torgard··on Zero-click, wormable, cross-platform remote code execution in Microsoft Teams
Windows XP is still seen in the wild.
torgard··on Faroe Island roundabout under the Atlantic Ocean
> why not build that tunnel in a big city

The Faroe Islands are _tiny_. Land area of about 1,399km²

Just a little bit larger than New York City, which is 1212km².

Long Island, NY more than twice as big.

torgard··on Faroe Island roundabout under the Atlantic Ocean
They've been working day and night! :)

A friend of mine was department lead at a concrete company, the company responsible for providing and pouring the concrete for the tunnel.

At times he had insane, practically 24-hour work days, for weeks on end. A lot of overtime payments, sure. But he never had any free time, and was "on call" all hours of the day.

We would be drinking a couple of beers, and halfway through his first one, his phone rings; duty calls, gotta go.

Thankfully, he quit back in May. Now he drives trucks for a furniture company.

torgard··on Faroe Island roundabout under the Atlantic Ocean
You used to have to take a large detour to get to Klaksvík - which is the second largest town - from Tórshavn (the capital). By taking the tunnel, you shave off 27 minutes.

Travel time to almost all of the north-eastern islands, and the towns on these islands, has been cut down by half an hour.

It is also safer. They also argue that it is cheaper, but I don't know about that.

Ignoring industry, that's just quality of life.

But consider a car accident; the ambulances have to get there in a hurry. Minutes might save lives here.

torgard··on Building Your Color Palette
> The last bit is culture. Color in each culture is widely different.

One thing that confused me a great deal when I was younger: In the political system that I was familiar with, a "red" party is left-leaning. But in the United States, "red" is right-leaning.

Apparently, this convention is also extremely recent; only since the 2000 elections has red-is-Republican and blue-is-Democrat been agreed upon.[0]

[0]: https://en.wikipedia.org/wiki/Red_states_and_blue_states#Con...

torgard··on To find great remote employees, prioritize candidates with strong writing skills
Subscribed! You are indeed a great writer.
torgard··on Let's Make the Web Weird Again [audio]
No, not as far as I can tell. It's just an MP3. I guess the DRM requirement is site-wide or something.
torgard··on Blink: Intent to Remove: HTTP/2 and gQUIC server push
I think you're mistaking that person for someone else
torgard··on An updated daily front page of The New York Times as artwork on your wall
If we're playing the small-gripes-game, well at least yours is actually listed! Unlike the Faroe Islands, which are frequently missing. Okay not that much these days, but it still happens sometimes!

I could probably pick Denmark instead, but then my package would most likely never be delivered.

torgard··on 1Password for Linux development preview
Fantastic! I'm really looking forward to trying this out.

Great to see them put effort into supporting Linux.

torgard··on The Cost of Free Doughnuts: 70 Years of Regret
> there's really no actual reason why they couldn't serve the regular site without cookies all the same.

Well, handling it may be difficult on the frontend, depending on implementation. May very well be easier to just serve it as plaintext.

← PreviousPage 2 of 4Next →