Thursday, January 27, 2022

Wednesday, January 26, 2022

Show HN: I reduced my shower time from 30 minutes to 5 with an app I built https://ift.tt/3u33Nm2


Show HN: I reduced my shower time from 30 minutes to 5 with an app I built https://ift.tt/3u33Nm2 https://ift.tt/3tZuJmn

Show HN: Electric Tables – an experiment in personal databases https://ift.tt/3G86bKq

Show HN: Electric Tables – an experiment in personal databases https://ift.tt/3IF3rpv January 27, 2022 at 12:16AM

Show HN: Replace “NFT” with “silly JPEG” while browsing https://ift.tt/3r26xxM


Show HN: Replace “NFT” with “silly JPEG” while browsing https://ift.tt/3r26xxM https://ift.tt/3AC905b

Show HN: I reduced my shower time from 30 minutes to 5 with an app I built https://ift.tt/3u33Nm2


Show HN: I reduced my shower time from 30 minutes to 5 with an app I built https://ift.tt/3u33Nm2 https://ift.tt/3r59VrG

Show HN: Replace “NFT” with “silly JPEG” while browsing https://ift.tt/3r26xxM

Show HN: Replace “NFT” with “silly JPEG” while browsing Hey HN, Years ago PanicSteve wrote a hilarious Chrome extension to replace all instances of "Cloud" with "Butt". This year, I got annoyed at seeing inane NFT articles everywhere. Thus, NFT-to-Silly-JPEG was born. Repo above or Chrome Web Store: https://ift.tt/3r35v4T... https://ift.tt/33RTAhq January 26, 2022 at 11:02PM

Show HN: I reduced my shower time from 30 minutes to 5 with an app I built https://ift.tt/3u33Nm2

Show HN: I reduced my shower time from 30 minutes to 5 with an app I built https://ift.tt/3H6jsEu January 26, 2022 at 09:58PM

Tuesday, January 25, 2022

Show HN: Random Data Generator for arbitrary data types https://ift.tt/345RVob

Show HN: Random Data Generator for arbitrary data types Datasino is a command line tool that can come handy when load testing a service or database. Give it a data schema (many compound types supported, including recursive types), an encoding (JSON, CSV or ClickHouse) and a target (a file or a Kafka partition) and a data rate and it will generate a reasonably optimized (native code) random data source. See the top of the README for some examples. If you have any ideas on how to extend this tool so that it's useful to more people, please let me know. https://ift.tt/3IBKh42 January 26, 2022 at 05:08AM

मुंबई-न्यूयॉर्क बंधक संकट के पीड़ित के परिवार का मामला:हाईकोर्ट ने पूछा- अमेरिका से मिले मुआवजे पर टैक्स कैसे लग सकता है; अमेरिका ने 34.24 लाख रुपए दिया था मुआवजा


via देश | दैनिक भास्कर https://ift.tt/3r0Ae2t

Show HN: SPyQL – SQL with Python in the middle https://ift.tt/3H67TgS

Show HN: SPyQL – SQL with Python in the middle SPyQL ( https://ift.tt/3rJfzPE ) is SQL with Python in the middle, an open-source project fully written in Python for making command-line data processing more intuitive, readable and powerful. Try mixing in the same pot: a SQL SELECT for providing the structure, Python expressions for defining transformations and conditions, the essence of awk as a data-processing language, and the JSON handling capabilities of jq. How does a SPyQL query looks like? $ spyql “ IMPORT pendulum AS p SELECT (p.now() - p.from_timestamp(purchase_ts)).in_days() AS days_ago, sum_agg(price * quantity) AS total FROM csv WHERE department.upper() == 'IT' and purchase_ts is not Null GROUP BY 1 ORDER BY 1 TO json” < my_purchases.csv In a single statement we are 1) reading a CSV (of purchases) with automatic header detection, dialect detection, type inference and casting, 2) filtering out records that do not belong to the IT department or do not have a purchase timestamp 3) summing the total purchases and grouping by how many days ago they happened, 4) sorting from the most to the least recent day and 5) writing the result in JSON format. All this without loading the full dataset into memory. The Readme is loaded with recipes and there is also a demo video: https://vimeo.com/danielcmoura/spyqldemo Any feedback is welcomed! Thank you. https://github.com/dcmoura/spyql January 25, 2022 at 10:59PM

Show HN: Run NPM Scripts with .envs https://ift.tt/3nXtFfa

Show HN: Run NPM Scripts with .envs https://ift.tt/385BtDS January 26, 2022 at 12:49AM

Show HN: A full AR helicopter action game built as a Snap lens https://ift.tt/3tYNAOp

Show HN: A full AR helicopter action game built as a Snap lens I built a complete game using Snap's AR platform in about 6 weeks. I'd been intrigued by Snap's AR ambitions and wanted to kick the tires on their platform. The YouTube video description contains a link to the Lens: https://ift.tt/3nYHo5b... How to play: - Joypad y axis moves the helicopter along the ray pointing from the camera. You can therefore tilt the phone up to fly "up". - Altitude is also controlled by aiming the phone. The helicopter tries to match the altitude of a point that is fixed in front of the camera. So you can move up by aiming up or by actually lifting the phone higher. - Joypad x axis strafes. - If you lose track of the helicopter, a blue arrow will appear after about 5 seconds. - Blow up enemies and try to stay alive :) How it works under the hood: - Loads of JavaScript. Lenses are surprisingly programmer-friendly. As a non-artist, this is great. Almost everything can be driven completely by code, although most creators opt to use pre-made components with minimal scripting. - The game uses a custom physics engine with OBB-based collision detections that I wrote from scratch. Snap now has integrated physics that seem to be based on PhysX (i.e., the same as Unity's) but this was released well into my development process after I had already rolled my own. - I opted not to use environmental mesh reconstruction because it is performance intensive and gives dubious results on lower-end phones. When I started development, it was only enabled for Lidar-based phones but is since available everywhere. - I instead detect horizontal planes using an API that Snap hasn't really documented. I found a snippet of code in their API docs and opened up the Lens Studio .exe to find the names of the other plane events I needed. - Planes are used to create collision boxes that extend to the floor so the helicopter can bump into furniture. - AI-controlled enemy helicopters plot routes using a heightmap generated from the plane data to avoid colliding with obstacles when possible. Takeaways: - This has arguably become my favorite AR prototyping platform. Much faster idea-to-PoC iteration time than anything else out there. - The platform is surprisingly full-featured. - The Lens Studio Editor is remarkably polished and, despite some bugs here and there, is very stable. - The deployment story is second to none. Deploying to the phone involves a single click and is done over the Internet (no need for any tethering or wireless pairing). - Debugging on-device is still challenging (all you can do is log a few lines) but I was assured that an actual debugger is coming soon. - Economic viability: unfortunately, it is not really possible to directly monetize lenses. Most creators contract with brands to create branded lenses. Future plans: - I'll definitely be keeping an eye on Snap's ecosystem. - No plans for any more full-fledged lenses but I do have some ideas for prototypes I'd like to try in anticipation of commercially viable mixed reality HMDs hitting the market soon (e.g., Meta's Project Cambria). - I may update the game with a tutorial mode and a co-located multiplayer mode (co-op play or PvP) provided I get the necessary support from the Snap dev team. Hope you enjoy and are inspired to dive into AR if you haven't already :D https://www.youtube.com/watch?v=O_1dJ_x7vXw January 26, 2022 at 12:57AM

Show HN: Moderator,lightweight peer4peer anon forum https://ift.tt/3fZSDGl

Show HN: Moderator,lightweight peer4peer anon forum hello all! here's a link to my little pinteresting like forum that stores no data on the server and uses IPFS for image storage. The design aesthetic is that everything would in 64kb of memory so we're going for a collapse-proof low bandwidth experience. this makes moderator really fast. https://moderator.rocks is the web preview, a flutter client is in the works at https://ift.tt/32wqdRb take a look, post something fun, ask questions. I'm also on twitter @moderatorium in case interested. Have fun! January 25, 2022 at 11:53PM

Show HN: My new platform. Check it out https://ift.tt/3AvRHTq

Show HN: My new platform. Check it out This platform is an experimental social network solely based on soundclips. SONAR is meant to encourage genuine conversation and entertainment. I believe audio culture in the form of this app could create a community that is safe, smart, and more human than many of the current social media platforms. https://ift.tt/3H3weUf January 25, 2022 at 10:25PM

MP समेत 8 राज्यों में 5 डिग्री तक गिरेगा पारा:दिल्ली में 9 साल बाद सीजन का सबसे ठंडा दिन, 26 जनवरी के बाद शीतलहर और तेज होगी


via देश | दैनिक भास्कर https://ift.tt/3Av7e61

Show HN: tltv – Federation protocol for 24/7 TV channels https://ift.tt/KMVr6Ng

Show HN: tltv – Federation protocol for 24/7 TV channels I spent six years trying to build a tv channel server. rewrote it eight times. flas...