Recent submissions

Comment · 1 year ago
Sure, DBT (Data Build Tool) has been around for a while. It's a way to manage SQL (and also Python) data pipelines - the "T" in ELT. Home page for DBT Core is here https://docs.getdbt.com/ (there is also a hosted DBT cloud premium offering). There are some good books on Data Engineering with DBT - I particularly liked "Data Engineering with dbt: A practical guide to building a cloud-based, pragmatic, and dependable data platform with SQL" by Roberto Zagni.
Comment · 1 year ago
Loving this list. One thing I would totally recommend though is to look at tools like DBT, as this supports a lot of these patterns out of the box (snapshots, materialized views, seeds for 'system tables' etc.). It also addresses the concerns with views and schema management.
Comment · 1 year ago
One question that springs to mind is the in-browser "playground" and hosted coding use-case. I assume WASM will be used in that scenario. I'm wondering what the overhead is there.
Comment · 2 years ago
For example, Apache Iceberg is exactly this. Complete with bitemporal query support.
Comment · 2 years ago
Hi Slig, just wanted to say that my family has been obsessing over these puzzles since you posted these. Thanks for the putting this together.

I would suggest you add some sort of share button, for bragging and viral spreading. And maybe some sort of local state for tracking streaks.

Comment · 2 years ago
Comment · 4 years ago
This is great. Looks really nice on mobile.
Comment · 5 years ago
One problem will be deciding on when tomorrow is. If your work day starts at 9pm, you have lunch at midnight, do you then go home the next day? We could lose lots of complexity of timezones, but swap in the complexity of dates. Financial transactions and trading sessions could get really complicated fast.
Comment · 9 years ago
I think it depends on the type of application, and how much code you want to reuse. Assuming this a fairly large scale app and long term maintainability is a consideration:

* If some of the code is likely to be reused with an associated website I would go for Electron. Using ReactJS.

* If an associated mobile app is also possible, I would take a look at React-Native, which have some embryonic desktop technology counterparts. This option can be combined with a webview.

* Worth also looking at Xamarin, especially if there's existing investment and skills in .NET (e.g. existing Windows app being migrated).

Comment · 10 years ago
Comment · 10 years ago
The best answer is to use a tool that saves in the format that the file was in originally. I think VSCode and some others do that. If the file only has 2-space indentation then TAB becomes 2-spaces. etc...

That said, assuming a greenfield the best case has to be to use tabs. This way if somebody has a preference to small indents then they can configure the TAB to render as 2-spaces - it becomes a render issue.

So, use a modern tool and it's a moot point.

P.S. not sure why Silicon Valley's Richard started talking about 8 space tabs. That would be crazy. The only time I've seen that is in a proportional font in a word processor.

Comment · 10 years ago
JSX has zero community adoption? Or was there a missing comma in there? Of the React code I see, I would estimate that JSX adoption is high 90s.

I've used both Angular, played with Angular 2 and React. Plus many other MVC (and MVVM) libraries. I would say that the state managed React model is far more scalable than the traditional MVC 'observable' model. Sure, you can use immutability in Angular-2, but with React you have an architecture built around simplicity with the need to integrate different artifacts.

JSX helps React to scale because it extends type safety of TS or Flow into the UI DSL. JSX allows the developer to deal with the DOM as an object graph expression, right in the language. From a strongly typed perspective, this works much better than templates or embedding code into HTML.

Comment · 10 years ago
Seems to be a confusing article and site. It lists AR as a disruptor, but mentions Google Glass and not Hololens. The link to "Augmented Reality" links to an article about VR. Then it says that cloud computing is a threat to the textbook, where most textbooks can happily sit on an SD drive. And then "multi-touch LCD" is a disruptor? Seriously?
Comment · 10 years ago
No, de-duplication and conflict resolution is much harder if dependencies are in a bundle. There are many better solutions to this problem:

* Fix NPM and make it immutable. If there's a legal problem allow a package to be flagged with a warning and redirected to its new name.

* Use bundleDependencies in npm

* and maybe even back-up your entire code directory

Comment · 10 years ago
Not sure I follow. For distributing apps for friends you can (and I do) distribute using HockeyApp or TestFlight or whatever. There's also a Development->Sideload app feature in Windows 10 already. It's hard to argue that the cost of doing this outweighs the security benefits. Just think how hard it would be to do a DDoS attack without robots installed via malware everywhere.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton