Ask HN: What are you doing now to profit from the current or upcoming recession?
20 by carabiner | 12 comments on Hacker News.
I see comments on HN once in a while about how they did [clever thing X] during a recession years ago and made money. With volatility comes profit potential, and it seems clear to everyone that rough seas are ahead. What are people doing now to potentially profit, or at least insulate themselves, during this? I liquidated my discretionary equities portfolio (not much in it anyway) about a year ago already. Still have my retirement in its roboadvisor mix of bonds, equities and don't plan to touch it. Wondering if it might be worthwhile to invest in short ETFs like SH, SQQQ.
Friday, September 30, 2022
New top story on Hacker News: Show HN: uFuzzy.js – A tiny, efficient fuzzy search that doesn't suck
Show HN: uFuzzy.js – A tiny, efficient fuzzy search that doesn't suck
13 by leeoniya | 0 comments on Hacker News.
Hello HN! I became frustrated with the unpredictible/poor match quality and opaqueness of "relevance scores" in existing fuzzy and fulltext search libs, so I tried something different and this is the result. The main selling point is the result quality / ordering, with best-in-class memory overhead and excellent performance being bonuses. The API is pretty stable at this point, but looking for feedback before committing to 1.0. TL;DR The test corpus is a 4MB json file with 162k words/phrases, so give it a second for initial download. You can also drag/drop your own text/json corpus into the UI to try it against your own dataset. Live demo/compare with a few other libs (there are many more in the codebase, in various states of completion, WIP): https://ift.tt/xUYcTCe... In isolation for perf assessment: https://ift.tt/xUYcTCe... To increase fuzziness and get broader results, try setting intraMax=1 (core) and enable outOfOrder (userland): https://ift.tt/xUYcTCe... Also play with the sortPreset selector to swap out the default Array.sort() for one in userland that prioritizes typehead-ness (the resultset remains identical). Still TODO: - Example of stripping diacritics - Example of using non-latin charsets - Example of prefix-caching to improve typeahead perf even further - Example of poor man's document search (matching multiple object properties) That's all, thanks!
13 by leeoniya | 0 comments on Hacker News.
Hello HN! I became frustrated with the unpredictible/poor match quality and opaqueness of "relevance scores" in existing fuzzy and fulltext search libs, so I tried something different and this is the result. The main selling point is the result quality / ordering, with best-in-class memory overhead and excellent performance being bonuses. The API is pretty stable at this point, but looking for feedback before committing to 1.0. TL;DR The test corpus is a 4MB json file with 162k words/phrases, so give it a second for initial download. You can also drag/drop your own text/json corpus into the UI to try it against your own dataset. Live demo/compare with a few other libs (there are many more in the codebase, in various states of completion, WIP): https://ift.tt/xUYcTCe... In isolation for perf assessment: https://ift.tt/xUYcTCe... To increase fuzziness and get broader results, try setting intraMax=1 (core) and enable outOfOrder (userland): https://ift.tt/xUYcTCe... Also play with the sortPreset selector to swap out the default Array.sort() for one in userland that prioritizes typehead-ness (the resultset remains identical). Still TODO: - Example of stripping diacritics - Example of using non-latin charsets - Example of prefix-caching to improve typeahead perf even further - Example of poor man's document search (matching multiple object properties) That's all, thanks!
Thursday, September 29, 2022
New top story on Hacker News: Ask HN: Has the Apple Silicon excessive disk read/write issue been fixed?
Ask HN: Has the Apple Silicon excessive disk read/write issue been fixed?
30 by cool_hw | 11 comments on Hacker News.
This was a discussion when M1 macbooks were launched, and Apple supposedly addressed it in an OS update (macOS 11.4). But I'm seeing really high read/write numbers. I'm aware that SSD lifespans are long and TBW spec is pretty generous. Still, compared to my linux machines, this seems extraordinarily high. On my newish M1 MBA, with the latest updates, with barely any use, 98%+ sleep, I'm seeing about 3 to 5 GB reads per day and 2 to 4 GB writes per day. Latest report from smartctl. ---------------------------------------------------- === START OF SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED SMART/Health Information (NVMe Log 0x02) Critical Warning: 0x00 Temperature: 27 Celsius Available Spare: 100% Available Spare Threshold: 99% Percentage Used: 0% Data Units Read: 716,195 [366 GB] Data Units Written: 616,232 [315 GB] Host Read Commands: 9,108,273 Host Write Commands: 6,947,397 Controller Busy Time: 0 Power Cycles: 95 Power On Hours: 5 Unsafe Shutdowns: 11 Media and Data Integrity Errors: 0 Error Information Log Entries: 0 ---------------------------------------------------- M1 Air 16GB 1TB. Is this normal?
30 by cool_hw | 11 comments on Hacker News.
This was a discussion when M1 macbooks were launched, and Apple supposedly addressed it in an OS update (macOS 11.4). But I'm seeing really high read/write numbers. I'm aware that SSD lifespans are long and TBW spec is pretty generous. Still, compared to my linux machines, this seems extraordinarily high. On my newish M1 MBA, with the latest updates, with barely any use, 98%+ sleep, I'm seeing about 3 to 5 GB reads per day and 2 to 4 GB writes per day. Latest report from smartctl. ---------------------------------------------------- === START OF SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED SMART/Health Information (NVMe Log 0x02) Critical Warning: 0x00 Temperature: 27 Celsius Available Spare: 100% Available Spare Threshold: 99% Percentage Used: 0% Data Units Read: 716,195 [366 GB] Data Units Written: 616,232 [315 GB] Host Read Commands: 9,108,273 Host Write Commands: 6,947,397 Controller Busy Time: 0 Power Cycles: 95 Power On Hours: 5 Unsafe Shutdowns: 11 Media and Data Integrity Errors: 0 Error Information Log Entries: 0 ---------------------------------------------------- M1 Air 16GB 1TB. Is this normal?
Wednesday, September 28, 2022
New top story on Hacker News: Ask HN: Seriously, steelman this please. 7,400 employees at Docusign?
Ask HN: Seriously, steelman this please. 7,400 employees at Docusign?
17 by tomcam | 10 comments on Hacker News.
This article did not shock me at all but somehow looking up the numbers on Docusign made me wonder, seriously, and with all due respect: how would you get to 7,400 employees at Docusign? I literally can't do back-of-the-napkin calculations that make it plausible. https://ift.tt/YQuF6al
17 by tomcam | 10 comments on Hacker News.
This article did not shock me at all but somehow looking up the numbers on Docusign made me wonder, seriously, and with all due respect: how would you get to 7,400 employees at Docusign? I literally can't do back-of-the-napkin calculations that make it plausible. https://ift.tt/YQuF6al
Tuesday, September 27, 2022
Monday, September 26, 2022
Sunday, September 25, 2022
Kohli-Rohit Sharma Had a Wholesome Reaction to India's Win. 'Toxic Fans' Can Go Home
Virat Kohli and Rohit Sharma fans really dislike each other. A lot. But the two cricketers are besties, on and off the field.
from Top Buzz News- News18.com https://ift.tt/6J9o8NF
via IFTTT
from Top Buzz News- News18.com https://ift.tt/6J9o8NF
via IFTTT
Saturday, September 24, 2022
New top story on Hacker News: Ask HN: Books on designing disk-optimized data structures?
Ask HN: Books on designing disk-optimized data structures?
6 by memset | 4 comments on Hacker News.
Are there canonical books, resources, or readings for how to design data structures that will be primarily read and written to a disk rather than memory? Most of what I learned in school about big-O assumes that, for example, random access is O(1). However, random disk reads are really slow due to spacial locality. People who write databases obviously have solutions to this problem - for example, DuckDB is based on a number of papers that have come out over the years on this topic. If I wanted to design, ie, a tree structure which was intended to be read/written from a disk, are there general principles or patterns the have been developed to take advantage of locality of reference, minimize random reads, or decrease the overhead of writes, that I could familiarize myself with? What is the CLRS for disk?
6 by memset | 4 comments on Hacker News.
Are there canonical books, resources, or readings for how to design data structures that will be primarily read and written to a disk rather than memory? Most of what I learned in school about big-O assumes that, for example, random access is O(1). However, random disk reads are really slow due to spacial locality. People who write databases obviously have solutions to this problem - for example, DuckDB is based on a number of papers that have come out over the years on this topic. If I wanted to design, ie, a tree structure which was intended to be read/written from a disk, are there general principles or patterns the have been developed to take advantage of locality of reference, minimize random reads, or decrease the overhead of writes, that I could familiarize myself with? What is the CLRS for disk?
Friday, September 23, 2022
Thursday, September 22, 2022
New top story on Hacker News: Migration came to Early Medieval England, study finds
Migration came to Early Medieval England, study finds
6 by BerislavLopac | 0 comments on Hacker News.
6 by BerislavLopac | 0 comments on Hacker News.
New top story on Hacker News: Tell HN: Reddit shadowban account upon creation
Tell HN: Reddit shadowban account upon creation
28 by boundchecked | 20 comments on Hacker News.
Sharing this funny story so that people won't feel alone when it happen to them. It seems my first and only reddit account created two hours ago is shadow-banned since the very beginning, tried one comment on /r/cpp and one post on /r/rust, nobody ever seen them other than one kind mod that confirmed there's nothing they can do. Even funnier is that there is a subreddit /r/ShadowBan dedicated to test shadowban and some obvious spam-bot accounts are not banned yet mine is. related: [1] https://ift.tt/WbQFae4 [2] https://ift.tt/m3q8nRt
28 by boundchecked | 20 comments on Hacker News.
Sharing this funny story so that people won't feel alone when it happen to them. It seems my first and only reddit account created two hours ago is shadow-banned since the very beginning, tried one comment on /r/cpp and one post on /r/rust, nobody ever seen them other than one kind mod that confirmed there's nothing they can do. Even funnier is that there is a subreddit /r/ShadowBan dedicated to test shadowban and some obvious spam-bot accounts are not banned yet mine is. related: [1] https://ift.tt/WbQFae4 [2] https://ift.tt/m3q8nRt
Wednesday, September 21, 2022
Tuesday, September 20, 2022
New top story on Hacker News: Show HN: TaskTXT, plain text task-timing notepad
Show HN: TaskTXT, plain text task-timing notepad
10 by trafnar | 6 comments on Hacker News.
I built TaskTXT.com based on my experience timing my tasks. I found that committing to a task before I start helps with my focus, and guessing how long it will take, then timing it prevents me from wanting to give in to distractions because I'm "on the clock". Video Overview: https://www.youtube.com/watch?v=HOYO0c_D6w0 There's also a Mac app which you can download here: https://ift.tt/R6HtKbM Video overview of the Mac app: https://www.youtube.com/watch?v=qMs-V5v5gZY But I didn't want the tool to be distracting, so its based on plain text. That means the UI is very familiar and you can use it for generic notes in any structure you like. When you work in TaskTXT you are working directly on its data format, I made a video about this concept here: https://www.youtube.com/watch?v=kZdBgVZn5NI I think this tool is uniquely suited for programmers, so I'd be interested to hear any feedback about the product, or its viability as a business.
10 by trafnar | 6 comments on Hacker News.
I built TaskTXT.com based on my experience timing my tasks. I found that committing to a task before I start helps with my focus, and guessing how long it will take, then timing it prevents me from wanting to give in to distractions because I'm "on the clock". Video Overview: https://www.youtube.com/watch?v=HOYO0c_D6w0 There's also a Mac app which you can download here: https://ift.tt/R6HtKbM Video overview of the Mac app: https://www.youtube.com/watch?v=qMs-V5v5gZY But I didn't want the tool to be distracting, so its based on plain text. That means the UI is very familiar and you can use it for generic notes in any structure you like. When you work in TaskTXT you are working directly on its data format, I made a video about this concept here: https://www.youtube.com/watch?v=kZdBgVZn5NI I think this tool is uniquely suited for programmers, so I'd be interested to hear any feedback about the product, or its viability as a business.
Virat Kohli's Silent Stare at India's Dismal Bowling Against Australia in First T20I Was All of Us
Kohli watched on in disbelief as Cameron Green kicked off his innings with consecutive fours against Umesh Yadav in the India Vs Australia T20I encounter in Mohali.
from Top Buzz News- News18.com https://ift.tt/niJLIjO
via IFTTT
from Top Buzz News- News18.com https://ift.tt/niJLIjO
via IFTTT
Monday, September 19, 2022
New top story on Hacker News: ‘When Eero Met His Match’ Review: Making Saarinen Soar
‘When Eero Met His Match’ Review: Making Saarinen Soar
6 by tintinnabula | 0 comments on Hacker News.
6 by tintinnabula | 0 comments on Hacker News.
Sunday, September 18, 2022
Saturday, September 17, 2022
Friday, September 16, 2022
Thursday, September 15, 2022
Wednesday, September 14, 2022
Tuesday, September 13, 2022
Monday, September 12, 2022
Sunday, September 11, 2022
New top story on Hacker News: Common Lisp Names All Sixteen Possible Binary Logic Gates
Common Lisp Names All Sixteen Possible Binary Logic Gates
7 by optimalsolver | 0 comments on Hacker News.
7 by optimalsolver | 0 comments on Hacker News.
Pakistani Fans Thrashing Their Own Team During Asia Cup Final Against Sri Lanka is Peak Internet
Sri Lanka put up a combined team effort to defeat Pakistan by 23 runs in the Asia Cup 2022 finals in Dubai on Sunday.
from Top Buzz News- News18.com https://ift.tt/Koruvsd
via IFTTT
from Top Buzz News- News18.com https://ift.tt/Koruvsd
via IFTTT
Saturday, September 10, 2022
Friday, September 9, 2022
Thursday, September 8, 2022
Wednesday, September 7, 2022
Pakistani Twitter Had a Meltdown During Nail-biting Match Over Afghanistan and We are Here for it
Pakistan's thrilling win over Afghanistan in the Asia Cup clash at Sharjah on Wednesday was complimented by Pakistani Twitter's live commentary.
from Top Buzz News- News18.com https://ift.tt/hFxCTWz
via IFTTT
from Top Buzz News- News18.com https://ift.tt/hFxCTWz
via IFTTT
Tuesday, September 6, 2022
India Lost to Sri Lanka in Asia Cup But Desi Twitter Kept Spirits Up With Consolation Memes
Sri Lanka defeated India in a thrilling run chase in Asia Cup 2022 on Tuesday night. Indian fans responded with memes.
from Top Buzz News- News18.com https://ift.tt/px7zPjS
via IFTTT
from Top Buzz News- News18.com https://ift.tt/px7zPjS
via IFTTT
Monday, September 5, 2022
Sunday, September 4, 2022
Saturday, September 3, 2022
Friday, September 2, 2022
Thursday, September 1, 2022
New top story on Hacker News: Ask HN: Who wants to be hired? (September 2022)
Ask HN: Who wants to be hired? (September 2022)
38 by whoishiring | 102 comments on Hacker News.
Share your information if you are looking for work. Please use this format: Location: Remote: Willing to relocate: Technologies: Résumé/CV: Email: Readers: please only email these addresses to discuss work opportunities. Searchers: try https://ift.tt/RVdOvxP or https://ift.tt/RaKqnuf .
38 by whoishiring | 102 comments on Hacker News.
Share your information if you are looking for work. Please use this format: Location: Remote: Willing to relocate: Technologies: Résumé/CV: Email: Readers: please only email these addresses to discuss work opportunities. Searchers: try https://ift.tt/RVdOvxP or https://ift.tt/RaKqnuf .
Subscribe to:
Posts (Atom)