HNHacker News
TopNewBestAskShowJobs

Inviz

187 karma · joined April 25, 2010

submissionscomments
Inviz··on PostgreSQL views and materialized views and how they influenced TimescaleDB
It’s sad that timescale aggregates don’t work on top of other aggregates. Abstractions is leaking. The ticket is left unaddressed for a while
Inviz··on Maud: A Rust macro for writing HTML
I wish it was still the consensus among JS devs. People are putting css into JS files, on top of html
Inviz··on Ask HN: Is anyone else glad the crypto market is crashing?
Can you share how are these two things related?
Inviz··on What Is JSON Patch?
How about a library to enable operational transformation for this format? I wrote one once, but got really burned out with some of the stretch goals (log compression for 3+ participants).
Inviz··on Microsoft 3D Movie Maker Source Code
3D movie maker was one my first computer experiences ever. The maskot and the intros, the movies and the scenes, some creepy looking uncanny cg backgrounds and music. Peak 90s stuff. Amazing product!
Inviz··on Netflix loses subscribers for the first time in 10+ years
Bought my mom an Android TV and installed an apk that combines a movie catalog with torrent search. Can stream or download. Pretty neat stuff, although it's targeted for russian audience (searching russian trackers).
Inviz··on USB-C hubs and my slow descent into madness (2021)
I'm on the lookup for TB4 dock myself. Caldigit stuff is out of stock. Stumbled upon this promising cheap alternative https://www.aliexpress.com/item/1005001486390431.html?spm=a2... that is a little north of 100$ and has m2 slot. Not sure if drives dual 5k displays, but it seems it should.
Inviz··on Ask HN: Why do search engines not let you blacklist spam domains?
well that leaves blanks, right?
Inviz··on Ask HN: What is your recommended stack for real time chat?
How about NChan? https://github.com/slact/nchan

It is an nginx extension, that has supports all types of clients, channels, multiplexing, introspection, tens of thosuands connects, etc.

Inviz··on Migra: Diff for PostgreSQL schemas
I used this tool very successfully to auto-generate migrations. 1) I maintain "schema.sql" file that contains the schema I want to have 2) That file then is ran in a temporary empty database 3) Migra would run to compare old version of dev database against temporary database 4) Output of migra is wrapped into a conditional that has a guard check to see if database is already migrated to that version (as determined by timestamp in table description) and put into a file with timestamp as a name 5) Each time app restarts it scans all migrations in the directory and runs ones that it thinks it needs to run

Either way i had zero issues with this setup. And I used a lot of postgres things including triggers, complex indecies, extensions, etc. All migrations were source-controlled and could be verified before commits, so it was pretty safe. When I needed to migrate a data, i'd just add code into the same migration file as the schema change. Brilliant project! thanks @djrobstep

Inviz··on Littlefs – A little fail-safe filesystem designed for microcontrollers
Even STM32F4 which is sub-10$ can run SQLite decently. 4kb ram for stack is quite enough, and then whatever amount of working memory you can afford on it will make life easier. Using sram extension makes it trivial even.
Inviz··on Littlefs – A little fail-safe filesystem designed for microcontrollers
Yes, it only needs like 4 or 5 VFS hooks to be defined. No syscall malarkey
Inviz··on Littlefs – A little fail-safe filesystem designed for microcontrollers
Yeah, littlefs wear leveling can be turned off for this case. Protection against corruption, and posix like api at small size is still useful.
Inviz··on Littlefs – A little fail-safe filesystem designed for microcontrollers
Just integrated littlefs into my stm32 framework. Author has a helper library for coroutines, which can be used to plug in asynchronous hooks, making the fs non-blocking. My next step is to run SQLite on it.
Inviz··on PlayDate Fulfillment Delayed
I bought one from their site.
Inviz··on Chip shortage leads carmaker Opel to shut German plant until 2022
STM32s from China increased 3 to 5 times in price in last 6 months, biggest jump happened in last 6 weeks. STM32L family is especially hard to buy.
Inviz··on Working around a case where the Postgres planner is “not very smart”
Yeah, indeed there's that limitation of a single distinct column. But it works for 80% cases, and it does not require any changes, so it's good. Looks like the earliest time proper implementation could hit mainline is 1.5years away.
Inviz··on Working around a case where the Postgres planner is “not very smart”
Timescaledb adds a custom scan for speeding up distinct on out of the box. Just install extension, no extra work is needed.

https://blog.timescale.com/blog/how-we-made-distinct-queries...

I tried it and it really is that fast.

Inviz··on How Dwarf Fortress is built
Wait for steam version
Inviz··on Petite-Vue – 5kb subset of Vue optimized for progressive enhancement
Always surprised by lack of mention of preact in these threads. Preact is to react is what petite-vue, but with no compromises.
Inviz··on Elder.js – An Opinionated, SEO Focused, Svelte Framework
All opinionated-ness seems to be very arbitary. It's a nice way to say "magical api"
Inviz··on Ask HN: Who is hiring? (May 2021)
# Full-stack javascript engineer [REMOTE, FULL-TIME]

Remote position for an early full-stack engineer at a seed-stage startup, working on investment literacy. Role provides high level of autonomy and ownership building end-to-end features in a wrapped mobile javascript app (Preact, Node.js, PostgreSQL). Candidate should be able to identify 80% of impact that requires 20% work, and stay focused on the current needs and scope of the application.

At least 3-4 years of full stack development experience at a technology company (preferably consumer) is required. It would be important to understand how to build apps that work on multiple devices that have very little edge cases and weird states. Experience with react is strongly recommended.

Typically work happens during 7:00-15:00 EST timezone, at least 3-4h overlap is desirable.

Contact simon@getmedes.com

Archimedes is an early stage startup out to create a trusted platform for people to learn investing and make it a bigger part of their lives. Our users will learn in a fun and accessible manner through engaging content. We believe that the journey to become a more informed investor shouldn’t start on social media or google.

Read more: https://rb.gy/qxn8xr

Inviz··on Show HN: Become a better investor by playing a game with short lessons
Yes, currently it's a wrapped ios/android app. But the web app is in the making. Technically there are no limiting factors. It just helps us to concentrate on the mobile experience first. The reasoning goes that the lessons are bite sized, and really easy to consume on the go.
Inviz··on Show HN: Become a better investor by playing a game with short lessons
Hello HN! My name is Yaroslaff Fedin, and I’m a cofounder at Archimedes Finance, where we’ve been building the new kind of learning experience that helps people improve their investment and financial literacy.

The mobile app hosts a number of bite lessons, organized into courses. The big feature is the turn based game leading the player through different financial situations and opportunities. The game presents a simulation of stock market with different financial vessels, taxes, 401k, and a tiny bit of property market. It is aimed to cultivate informed investing, following and understanding market trends, and thinking long term. One of the interesting aspects of the game, is that it’s asynchronously competitive (leaderboards are normalized to game turns). The game story is about an EvilCorp corrupting the town, that can only be stopped with the help of friends and wise financial decisions. The player needs to stay alert to prevent tragedy from happening, and their local community dissolving.

Archimedes is a wrapped web-app, built on preact. We’ve built quite a cool pipeline for 3d assets, and a small engine based on three.js that plays animated scenes. I think it’s remarkable how many different aspects of learning we’ve managed to pack into a small package. We’ve tried to make the learning free, playful and accessible, without making compromise on the content.

Inviz··on Windows 10 20H2: ChkDsk damages filesystem on SSDs with KB4592438 installed
I have had exactly same issue, though with third party service. They replaced the screen, and when I came home it froze one time, and started beeping 3 times indicating ram problems. Because it was iMac, i had a chance to rearrange RAMs to boot up but it still was freezing up at times. I ran memcheck, found errors, and then figured out which ram planks was faulty.

The thing is that the issue started long before that, my Blender app would crash in tens of times a day, and same with Solidworks on windows.

So yeah, i recommend running memtest and replacing ram if necessary.

Inviz··on Mannequin.js: An Articulated Mannequin Figure Library
It is really unclear, why doesn't this use Skeleton system built into three.js, that supports playing animations, etc.
Inviz··on Ask HN: Did you delete your Facebook account in 2018?
Yes, didn't miss it. I also deleted twitter, which was far more useful, but still I think it was good idea.
Inviz··on PostgreSQL Features You May Not Have Tried but Should
select region, count(*) from projects, unnest(region_ids) as region GROUP BY 1;
Inviz··on Tell HN: Will design for food
How about consultancy work? That's what I did in US with B-1, and specificially I talked to border officer about this being legal.
Inviz··on Algebrite, a computer algebra system in JavaScript
It is possible to overload operators in JS through a horrible hack of valueOf():

http://webcache.googleusercontent.com/search?q=cache:DKKZb1P...

Discussion: https://news.ycombinator.com/item?id=8677721

← PreviousPage 5 of 6Next →