<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: tmpfile</title><link>https://news.ycombinator.com/user?id=tmpfile</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 15 Apr 2026 10:42:13 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=tmpfile" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by tmpfile in "Temporal: The 9-year journey to fix time in JavaScript"]]></title><description><![CDATA[
<p>I’d like to have interval types for example<p><pre><code>   const D = new Temporal()
   const t = new Interval({minutes:5})
   const v = D.add(t)</code></pre></p>
]]></description><pubDate>Wed, 11 Mar 2026 22:51:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=47343469</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=47343469</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47343469</guid></item><item><title><![CDATA[New comment by tmpfile in "Temporal: The 9-year journey to fix time in JavaScript"]]></title><description><![CDATA[
<p>Or const now = new Temporal();</p>
]]></description><pubDate>Wed, 11 Mar 2026 22:48:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=47343430</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=47343430</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47343430</guid></item><item><title><![CDATA[New comment by tmpfile in "Tracking developer build times to decide if the M3 MacBook is worth upgrading"]]></title><description><![CDATA[
<p>If you find your compiles are slow, I found a bug in vscode  where builds would compile significantly faster when the status bar and panel are hidden. Compiles that took 20s would take 4s with those panels hidden.<p><a href="https://github.com/microsoft/vscode/issues/160118">https://github.com/microsoft/vscode/issues/160118</a></p>
]]></description><pubDate>Fri, 29 Dec 2023 21:39:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=38810517</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=38810517</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38810517</guid></item><item><title><![CDATA[New comment by tmpfile in "The surprising impact of medium-size texts on PostgreSQL performance (2020)"]]></title><description><![CDATA[
<p>You could write a pl/pgsql function that does that mapping for you. For example, <i>insert into some_table values (intern(str), …)</i> where <i>intern</i> can insert and return the intern_id from your intern_table. For select statements and joins you could use <i>interned(str)</i> that only does select without insert.</p>
]]></description><pubDate>Thu, 31 Aug 2023 03:35:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=37332165</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=37332165</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37332165</guid></item><item><title><![CDATA[New comment by tmpfile in "Joins 13 Ways"]]></title><description><![CDATA[
<p>Great article. Side note: his normalization example reminded me how I used to design tables using a numeric primary key thinking they were more performant than strings. But then I’d have a meaningless id which required a join to get the unique value I actually wanted. One day I realized I could use the same unique key in both tables and save a join.<p>Simple realization. Big payoff</p>
]]></description><pubDate>Tue, 04 Jul 2023 04:37:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=36582291</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=36582291</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36582291</guid></item><item><title><![CDATA[New comment by tmpfile in "Illegal Life Pro Tip: Want to ruin your competitor's business?"]]></title><description><![CDATA[
<p>You:<p>> You may be surprised to know that, when doing a "conventional" CC transaction, you are most certainly not giving any stranger information that would allow them to perform a transaction in your name on another merchant.<p>How do you know as a client the merchant doesn’t have a skimmer embedded in their payment page? Or that they don’t post directly to their servers (whether accidentally or not)? Are the PCI police going to catch them? Maybe they want to store cards to process later and don’t know or care about pci.<p>The problem is using the same details for every transaction in a loosely authorized way.<p>In a perfect world the merchant won’t have access to the card details (like with one-time payments) and everything would go thru a provider with a preauthorized payment. But we don’t live in that world right now.</p>
]]></description><pubDate>Tue, 04 Jul 2023 01:23:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=36580986</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=36580986</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36580986</guid></item><item><title><![CDATA[New comment by tmpfile in "Illegal Life Pro Tip: Want to ruin your competitor's business?"]]></title><description><![CDATA[
<p>I’m not sure what you’re replying to?<p>He says:<p>> You shouldn't share a secret that someone else could use to generate payments. You should share some type of payload that is only valid for the payment you're making.<p>He’s advocating for a more secure one-time way of making a payment.<p>It would be more secure since it’s one-time and could not be reused even if the merchant didn’t use a pci compliant design</p>
]]></description><pubDate>Tue, 04 Jul 2023 01:13:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=36580916</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=36580916</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36580916</guid></item><item><title><![CDATA[New comment by tmpfile in "Illegal Life Pro Tip: Want to ruin your competitor's business?"]]></title><description><![CDATA[
<p>You’re arguing that using a PCI compliant PSP solves the problem of credit card number harvesting, but that’s not correct unless the entire transaction takes place on the psp (like PayPal). Once the payment details are collected in environments outside the psp’s control, it’s not protected.  For example, payment info could be skimmed by devs with access to payment pages using js like in the NewEgg Magecart attack</p>
]]></description><pubDate>Mon, 03 Jul 2023 16:06:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=36574932</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=36574932</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36574932</guid></item><item><title><![CDATA[New comment by tmpfile in "Illegal Life Pro Tip: Want to ruin your competitor's business?"]]></title><description><![CDATA[
<p>> You may be surprised to know that, when doing a "conventional" CC transaction, you are most certainly not giving any stranger information that would allow them to perform a transaction in your name on another merchant.<p>No. In best case, you’re giving your payment details to a PSP. A couple years ago NewEgg had a javascript skimmer on their checkout page that harvested all their customers payment details for months. Obviously anyone with access and intent could do the same for any payment page.</p>
]]></description><pubDate>Mon, 03 Jul 2023 15:53:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=36574710</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=36574710</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36574710</guid></item><item><title><![CDATA[New comment by tmpfile in "SQLite the only database you will ever need in most cases (2021)"]]></title><description><![CDATA[
<p>The output is apples and oranges tho. Since I was downvoted by someone I'll added a simple example to show the difference between the two interfaces. I shouldn't have assumed anyone here was familiar with the respective representations.<p>Sample data:<p><pre><code>    CREATE TABLE users (user_id serial, name text);
    CREATE TABLE comments (comment_id serial, user_id int, comment text unique);
    CREATE VIEW user_comment_view as select u.user_id, u.name, c.comment from users u, comments c where u.user_id = c.user_id;
    INSERT INTO users VALUES (1, 'Bob');
    INSERT INTO users VALUES (2, 'Sally');
</code></pre>
SQLITE3 OUTPUT<p><pre><code>    sqlite> .schema
    CREATE TABLE users (user_id serial, name text);
    CREATE TABLE comments (comment_id serial, user_id int, comment text unique);
    CREATE VIEW user_comment_view as select u.user_id, u.name, c.comment from users u, comments c where u.user_id = c.user_id
    /* user_comment_view(user_id,comment) */;


    sqlite> .schema users
    CREATE TABLE users (user_id serial, name text);


    sqlite> select * from users;
    1|Bob
    2|Sally

</code></pre>
POSTGRESQL OUTPUT<p><pre><code>    test=# \d
                    List of relations
     Schema |          Name           |   Type   |  Owner   
    --------+-------------------------+----------+----------
     public | comments                | table    | postgres
     public | comments_comment_id_seq | sequence | postgres
     public | user_comment_view       | view     | postgres
     public | users                   | table    | postgres
     public | users_user_id_seq       | sequence | postgres
    (5 rows)


    test=# \d users
                                Table "public.users"
     Column  |  Type   | Collation | Nullable |                Default                 
    ---------+---------+-----------+----------+----------------------------------------
     user_id | integer |           | not null | nextval('users_user_id_seq'::regclass)
     name    | text    |           |          | 


    test=# select * from users;
     user_id | name  
    ---------+-------
           1 | Bob
           2 | Sally
    (2 rows)

</code></pre>
Postgres also supports adding + to commands to get additional extended information, eg, \d+. You can also filter by tables (\dt), filter by views (\dv), filter by functions (\df), etc. It's allows much more natural enumeration of the DB which I wish sqlite had as well.</p>
]]></description><pubDate>Fri, 17 Feb 2023 06:35:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=34831544</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=34831544</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34831544</guid></item><item><title><![CDATA[New comment by tmpfile in "Bug Bypass: Build your VSCode project 4x faster with no changes"]]></title><description><![CDATA[
<p>Hopefully others benefit from the improved compile times! I went from 45s builds to 12s.</p>
]]></description><pubDate>Thu, 16 Feb 2023 22:41:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=34827594</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=34827594</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34827594</guid></item><item><title><![CDATA[New comment by tmpfile in "Bug Bypass: Build your VSCode project 4x faster with no changes"]]></title><description><![CDATA[
<p>It appears to be a bot they use for automated responses. The issue was closed and reopened multiple times before realizing it wasn't a duplicate bug so there's a couple automated responses from the triage bot.</p>
]]></description><pubDate>Thu, 16 Feb 2023 22:39:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=34827572</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=34827572</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34827572</guid></item><item><title><![CDATA[Bug Bypass: Build your VSCode project 4x faster with no changes]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/microsoft/vscode/issues/160118">https://github.com/microsoft/vscode/issues/160118</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=34825514">https://news.ycombinator.com/item?id=34825514</a></p>
<p>Points: 1</p>
<p># Comments: 3</p>
]]></description><pubDate>Thu, 16 Feb 2023 20:30:04 +0000</pubDate><link>https://github.com/microsoft/vscode/issues/160118</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=34825514</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34825514</guid></item><item><title><![CDATA[New comment by tmpfile in "SQLite the only database you will ever need in most cases (2021)"]]></title><description><![CDATA[
<p>I wish sqlite made their terminal interface a bit more robust or emulated psql’s interface. Simple things like \d tablename would be great.</p>
]]></description><pubDate>Thu, 16 Feb 2023 03:07:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=34814494</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=34814494</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34814494</guid></item><item><title><![CDATA[New comment by tmpfile in "Ask HN: Is TypeScript worth it?"]]></title><description><![CDATA[
<p>That's fair. It appears his issue is more related to libraries with broken, undocumented types and typescript's opaque errors when an error occurs in said library. Unfortunately I think he's conflating typescript's role and a library with broken type definitions (I have no idea whether the type definitions he's had problems with are provided by the library or a community effort that may not keep pace with the official library). When the type definitions don't match the official library it can definitely cause a tremendous amount of frustration and make one doubt the usefulness of types.</p>
]]></description><pubDate>Fri, 13 Jan 2023 20:23:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=34373383</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=34373383</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34373383</guid></item><item><title><![CDATA[New comment by tmpfile in "Ask HN: Is TypeScript worth it?"]]></title><description><![CDATA[
<p>> Is Typescript worth it?
> I want to skip over the static typing benefits argument…<p>Typescript, as the name implies, adds types to your script. If you don’t see the benefits of types then typescript may not be for you.<p>> My issue is with the amount of extra work it places on developers… and doesn't deliver all that much value.<p>If you think adding types doesn't add much value then typescript may not be for you. In my experience, types are defined once then provide a lifetime of value.<p>> you are at the whim of TypeScript developers and how they decide to progress with the language.<p>This is true of any library, programming language, operating system, hardware, etc. But adding types isn’t somewhere I’d worry about backward compatibility being broken. All the newer versions of typescript are backward compatible. If you have a library that requires a newer version of ts then upgrading ts won’t break anything dependent on earlier versions.</p>
]]></description><pubDate>Fri, 13 Jan 2023 05:07:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=34364174</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=34364174</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34364174</guid></item><item><title><![CDATA[New comment by tmpfile in "Day.js – Fast 2kB alternative to Moment.js with the same modern API"]]></title><description><![CDATA[
<p>Pet peeve: would be nice if they offered a Chapter View or Single Page View or PDF of their documentation.</p>
]]></description><pubDate>Sun, 09 Oct 2022 06:40:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=33138738</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=33138738</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33138738</guid></item><item><title><![CDATA[New comment by tmpfile in "SimulaVR Has Been Subpoenaed by Meta Platforms, Inc"]]></title><description><![CDATA[
<p>Couldn't SimulaVR request all the same documents from Meta in response? Or is it a one-way process?<p>I'm sure Meta's legal team would find reasons why they wouldn't have to be responsive or other ways narrow the scope. SimulaVR in turn could use the same arguments against Meta.</p>
]]></description><pubDate>Thu, 06 Oct 2022 17:16:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=33111074</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=33111074</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33111074</guid></item><item><title><![CDATA[New comment by tmpfile in "Ask HN: Compiling VSCode project substantially faster with Panel closed"]]></title><description><![CDATA[
<p>Nope. It's only compiling relevant files. Nothing is output during the build. Can you confirm faster builds with the panel hidden too?</p>
]]></description><pubDate>Tue, 06 Sep 2022 15:49:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=32738782</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=32738782</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32738782</guid></item><item><title><![CDATA[New comment by tmpfile in "Ask HN: Compiling VSCode project substantially faster with Panel closed"]]></title><description><![CDATA[
<p>Wanted to add a little more detail and make the link accessible [0] which also shows the output from --extendedDiagnostics. The Panel is the window where the output from a build is shown [1]. It is displayed automatically on build. It's visibility can be toggled with CTRL+J (I'm on Linux) or from View > Appearance > Panel. When it's hidden the build is x5 faster with no other changes.<p>Wondering if anyone else can confirm faster builds with it hidden?<p>[0] <a href="https://github.com/microsoft/vscode/issues/160118" rel="nofollow">https://github.com/microsoft/vscode/issues/160118</a><p>[1] <a href="https://code.visualstudio.com/docs/editor/tasks" rel="nofollow">https://code.visualstudio.com/docs/editor/tasks</a></p>
]]></description><pubDate>Mon, 05 Sep 2022 22:24:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=32730223</link><dc:creator>tmpfile</dc:creator><comments>https://news.ycombinator.com/item?id=32730223</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32730223</guid></item></channel></rss>