News for hackers. Stuff that matters.

ty___ler

Re:Writing JavaScript without a build system on Thursday February 16, 2023 @06:11PM (#34828045)
Already being proposed! Would be really cool https://devblogs.microsoft.com/typescript/a-proposal-for-typ...
Re:StreetPass: Find Your People on Mastodon on Tuesday February 07, 2023 @09:37AM (#34693300)
Hey everyone creators here! The Fediverse Report recently posted a really good thread about the product if you’re interested in learning more https://mastodon.social/@fediversereport/109813142639096272
Re:DuckDuckGo Traffic on Saturday January 08, 2022 @11:56AM (#29853493)
Something happened the past few years where DDG image search feels like a functionally better product than google image search. I think it's a combination of a simpler frontend, and maybe a simpler "keyword-based" search algorithm (vs google which feels more ML-leaning). Note: I can't prove this claim at all – just a general feeling I have as someone who uses image search a lot.
Re:How we improved app performance by upgrading React Navigation on Thursday September 30, 2021 @02:42PM (#28709633)
Hey everyone! I'm the author of this post and super excited to finally be sharing it with the community. Feel free to ask any questions in the comments.

I'm particularly excited about the typed routing system we were able to achieve with some new typescript language features such as Variadic Tuples[1] and Template Literal Types[2].

[1] https://www.typescriptlang.org/docs/handbook/2/template-lite...

[2] https://www.typescriptlang.org/docs/handbook/release-notes/t...

If apple can be coerced by governments to scan photos on the serverside then what is the operational purpose of a frontend scan, given what apple is publicly saying they are trying to do? This is the most confusing aspect for me.
Re:Etsy to buy fashion reseller Depop for $1.63B on Wednesday June 02, 2021 @02:02PM (#27371934)
I think you have bigger fish to fry than a niche reseller app. www.walmart.com
Re:Jeffrey Epstein and MIT: FAQs on Friday January 10, 2020 @09:05PM (#22017555)
He trafficked underage sex slaves
Re:You probably don’t need input type=“number” on Sunday March 24, 2019 @10:35PM (#19479950)
My favorite input type=number quirk is you can type the letter ‘e’ into it for compatibility with scientific notation!
Re:How Poetry and Math Intersect on Friday April 27, 2018 @06:37PM (#16944985)
This is a great description, thanks for sharing
Nice, awesome work!
I’m pretty excited to see how the api could interop with some new native features of js, like for ex async class functions are now possible and I bet a setup like this could remove a lot of IO overhead in the future

  class Test {
    async render() {}
  }
Kind of hard to come up with a concrete use-case with how little we know about the new features. Still super interesting though!
Re:From Bootstrap to CSS Grid on Friday December 29, 2017 @03:48PM (#16031882)
My breakthrough moment for grid UI development was realizing that all of my layout code for a component is contained in the parent – rather than spread around the children.

For example, in bootstrap or some other older layout framework every "column" would need to contain some class or id to style it correctly. So for a 3 column grid you would need to give each element a class setup of something like "column-third".

With grid, all that layout logic is moved into a single container "display: grid" element, making it so much easier to add/remove/edit grid items. Even padding is declared in the container element with the "grid-gap" property! It's a small improvement that has immensely increased my developer experience building grid-like UI.

Re:Off-Main-Thread painting on Wednesday December 06, 2017 @05:09AM (#15859929)
I remember hearing that Firefox’s recent engineering work is actually directly based off game development.
Re:AMP Is What HTML Should Have Been on Friday August 12, 2016 @12:38AM (#12273424)
You can set an amp image to be responsive which resizes it to the declared dimension's aspect ratio!