Apple unveils the new MacBook Pro featuring the M3 family of chips
128 by mfiguiere | 327 comments on Hacker News.
Tuesday, October 31, 2023
Monday, October 30, 2023
Sunday, October 29, 2023
Saturday, October 28, 2023
Friday, October 27, 2023
New top story on Hacker News: Show HN: A local Python prototyping tool for Jupyter and Streamlit
Show HN: A local Python prototyping tool for Jupyter and Streamlit
6 by galenmarchetti | 0 comments on Hacker News.
Hey HN! I built a local Python prototyping tool that is finally the Python development environment I've always wanted. It has a Jupyter notebook for data crunching, a database of your choice (Python or MongoDB), and a Streamlit app for building a frontend visualization. You can edit the Streamlit backend via an embedded VSCode editor, or locally on your own IDE. The best part for me is that the database connectors within Jupyter and Streamlit are configured out-of-the-box, so you don't need to spend time thinking about how to tie all that together - you can just pick the database you want to use and get going. Disclaimer: I do also work on the tool that deploys all this under the hood, but this project is a personal hackweek project that I threw together so I could develop Python apps on my own
6 by galenmarchetti | 0 comments on Hacker News.
Hey HN! I built a local Python prototyping tool that is finally the Python development environment I've always wanted. It has a Jupyter notebook for data crunching, a database of your choice (Python or MongoDB), and a Streamlit app for building a frontend visualization. You can edit the Streamlit backend via an embedded VSCode editor, or locally on your own IDE. The best part for me is that the database connectors within Jupyter and Streamlit are configured out-of-the-box, so you don't need to spend time thinking about how to tie all that together - you can just pick the database you want to use and get going. Disclaimer: I do also work on the tool that deploys all this under the hood, but this project is a personal hackweek project that I threw together so I could develop Python apps on my own
New top story on Hacker News: Show HN: ScratchDB – Open-Source Snowflake on ClickHouse
Show HN: ScratchDB – Open-Source Snowflake on ClickHouse
30 by memset | 5 comments on Hacker News.
Hello! For the past year I’ve been working on a fully-managed data warehouse built on Clickhouse. I built this because I was frustrated with how much work was required to run an OLAP database in prod: re-writing my app to do batch inserts, managing clusters and needing to look up special CREATE TABLE syntax every time I made a change. I found pricing for other warehouses confusing (what is a “credit” exactly?) and worried about getting capacity-planning wrong. I was previously building accounting software for firms with millions of transactions. I desperately needed to move from Postgres to an OLAP database but didn’t know where to start. I eventually built abstractions around Clickhouse: My application code called an insert() function but in the background I had to stand up Kafka for streaming, bulk loading, DB drivers, Clickhouse configs, and manage schema changes. This was all a big distraction when all I wanted was to save data and get it back. So I decided to build a better developer experience around it. The software is open-source: https://ift.tt/wzUWOAq and and the paid offering is a hosted version: https://ift.tt/yO5J1CR . It's called “ScratchDB” because the idea is to make it easy to get started from scratch. It’s a massively simpler abstraction on top of Clickhouse. ScratchDB provides two endpoints [1]: one to insert data and another to query. When you send any JSON, it automatically creates tables and columns based on the structure [2]. Because table creation is automated, you can just start sending data and the system will just work [3]. It also means you can use Scratch as any webhook destination without prior setup [4,5]. When you query, just pass SQL as a query param and it returns JSON. It handles streaming and bulk loading data. When data is inserted, I append it to a file on disk, which is then bulk loaded into Clickhouse. The overall goal is for the platform to automatically handle managing shards and replicas. The whole thing runs on regular servers. Hetzner has become our cloud of choice, along with Backblaze B2 and SQS. It is written in Go. From an architecture perspective I try to keep things simple - want folks to make economical use of their servers. So far ScratchDB has ingested about 2 TB of data and 4,000 requests/second on about $100 worth of monthly server costs. Feel free to download it and play around - if you’re interested in this stuff then I’d love to chat! Really looking for feedback on what is hard about analytical databases and what would make the developer experience easier! [1] https://ift.tt/q0rYp13 [2] https://ift.tt/MJfQEsr [3] https://ift.tt/XtK5puv [4] https://ift.tt/O4dBfmh [5] https://ift.tt/I750zQM
30 by memset | 5 comments on Hacker News.
Hello! For the past year I’ve been working on a fully-managed data warehouse built on Clickhouse. I built this because I was frustrated with how much work was required to run an OLAP database in prod: re-writing my app to do batch inserts, managing clusters and needing to look up special CREATE TABLE syntax every time I made a change. I found pricing for other warehouses confusing (what is a “credit” exactly?) and worried about getting capacity-planning wrong. I was previously building accounting software for firms with millions of transactions. I desperately needed to move from Postgres to an OLAP database but didn’t know where to start. I eventually built abstractions around Clickhouse: My application code called an insert() function but in the background I had to stand up Kafka for streaming, bulk loading, DB drivers, Clickhouse configs, and manage schema changes. This was all a big distraction when all I wanted was to save data and get it back. So I decided to build a better developer experience around it. The software is open-source: https://ift.tt/wzUWOAq and and the paid offering is a hosted version: https://ift.tt/yO5J1CR . It's called “ScratchDB” because the idea is to make it easy to get started from scratch. It’s a massively simpler abstraction on top of Clickhouse. ScratchDB provides two endpoints [1]: one to insert data and another to query. When you send any JSON, it automatically creates tables and columns based on the structure [2]. Because table creation is automated, you can just start sending data and the system will just work [3]. It also means you can use Scratch as any webhook destination without prior setup [4,5]. When you query, just pass SQL as a query param and it returns JSON. It handles streaming and bulk loading data. When data is inserted, I append it to a file on disk, which is then bulk loaded into Clickhouse. The overall goal is for the platform to automatically handle managing shards and replicas. The whole thing runs on regular servers. Hetzner has become our cloud of choice, along with Backblaze B2 and SQS. It is written in Go. From an architecture perspective I try to keep things simple - want folks to make economical use of their servers. So far ScratchDB has ingested about 2 TB of data and 4,000 requests/second on about $100 worth of monthly server costs. Feel free to download it and play around - if you’re interested in this stuff then I’d love to chat! Really looking for feedback on what is hard about analytical databases and what would make the developer experience easier! [1] https://ift.tt/q0rYp13 [2] https://ift.tt/MJfQEsr [3] https://ift.tt/XtK5puv [4] https://ift.tt/O4dBfmh [5] https://ift.tt/I750zQM
Thursday, October 26, 2023
Wednesday, October 25, 2023
Tuesday, October 24, 2023
Monday, October 23, 2023
Sunday, October 22, 2023
Saturday, October 21, 2023
Friday, October 20, 2023
Thursday, October 19, 2023
Wednesday, October 18, 2023
Tuesday, October 17, 2023
Monday, October 16, 2023
Sunday, October 15, 2023
Saturday, October 14, 2023
New top story on Hacker News: Ask HN: How to be a manager? Any good sources for learning how to delegate?
Ask HN: How to be a manager? Any good sources for learning how to delegate?
37 by r_singh | 17 comments on Hacker News.
Hi all, hope you are having a good weekend. I have been a solo dev / indie hacker for a few (many?) years until recently when I added 2 people to my team (one engineer and one for marketing). Initially when adding them to my team I was kind of relieved that they would solve certain problems for me however after a few weeks I learnt while they do what I ask of them they also create new problems for me and I need to prepare a lot more which leaves less time to work solo. My impulsive thought at first was that maybe I should go back to being solo but soon I realised that I enjoy working solo and don’t really know how to be a manager or how to delegate. Has anyone here faced something similar? How did you learn to become a manager? I would really appreciate if you could point me to some good sources books videos courses any material that could give me a good 101 on being a manager and delegating work / using Human Resources, also using positive approach whilst giving feedback. Also, do you have any heuristics you use to measure your effectiveness at delegating? Any help is appreciated, thanks!
37 by r_singh | 17 comments on Hacker News.
Hi all, hope you are having a good weekend. I have been a solo dev / indie hacker for a few (many?) years until recently when I added 2 people to my team (one engineer and one for marketing). Initially when adding them to my team I was kind of relieved that they would solve certain problems for me however after a few weeks I learnt while they do what I ask of them they also create new problems for me and I need to prepare a lot more which leaves less time to work solo. My impulsive thought at first was that maybe I should go back to being solo but soon I realised that I enjoy working solo and don’t really know how to be a manager or how to delegate. Has anyone here faced something similar? How did you learn to become a manager? I would really appreciate if you could point me to some good sources books videos courses any material that could give me a good 101 on being a manager and delegating work / using Human Resources, also using positive approach whilst giving feedback. Also, do you have any heuristics you use to measure your effectiveness at delegating? Any help is appreciated, thanks!
Friday, October 13, 2023
Thursday, October 12, 2023
Wednesday, October 11, 2023
Tuesday, October 10, 2023
Monday, October 9, 2023
Sunday, October 8, 2023
Saturday, October 7, 2023
Friday, October 6, 2023
New top story on Hacker News: Show HN: Shortbread – Create AI comics in minutes
Show HN: Shortbread – Create AI comics in minutes
44 by fengjiaopeng | 9 comments on Hacker News.
Just go to the link and click on "Start Creating". No signing in required. I built shortbread to help anyone to create comics / manga series. The onboarding process helps you kick start a page from 60%, then you can use your creativity to bring it to 1000% in a fully-controllable editor. Tech stack: GPT 3.5 Turbo - the comic script generation. It handled everything from layout, character, scene, SD prompts, to dialogue. SD 1.5 - We put up SD servers on GCP. For every comic we generate one large image and crop it into panels. Per the experiments of u/Deathmarkedadc on Reddit, this massively helps with consistency. The models are trained on anime scenes tho, and might not be so great with animals. Frontend: Next.js 13 on Vercel, React + Typescript. We built the entire editor from scratch to compose the comic (images, panels, speech bubbles, text) like a webpage. This allows you to edit and republish your comics like a website. You can dynamically generate panels as well. Try resizing a panel into a long narrow box and generate. Backend: Firebase. Sample comics: a japanese couple sits at dinner table. The husband told the wife a secret (link https://ift.tt/GaXoEuI... ) An army of male soldiers fighting against an army of female soldiers in ancient china ( https://ift.tt/NwvXCR6... ) a team of girls play volleyball against a team of boys ( https://ift.tt/cUJvpV8... ) Next steps: - More pages - Fine panel-level control. Poses, control net, etc. - Multi-character. - Different styles. - Allows you to control character design. I’m Fengjiao Peng, founder and chief engineer at Shortbread. I was previously a webtoon artist. We want to build this into something you can create entire comics series / manga / webtoons with. Criticism and suggestions welcome!
44 by fengjiaopeng | 9 comments on Hacker News.
Just go to the link and click on "Start Creating". No signing in required. I built shortbread to help anyone to create comics / manga series. The onboarding process helps you kick start a page from 60%, then you can use your creativity to bring it to 1000% in a fully-controllable editor. Tech stack: GPT 3.5 Turbo - the comic script generation. It handled everything from layout, character, scene, SD prompts, to dialogue. SD 1.5 - We put up SD servers on GCP. For every comic we generate one large image and crop it into panels. Per the experiments of u/Deathmarkedadc on Reddit, this massively helps with consistency. The models are trained on anime scenes tho, and might not be so great with animals. Frontend: Next.js 13 on Vercel, React + Typescript. We built the entire editor from scratch to compose the comic (images, panels, speech bubbles, text) like a webpage. This allows you to edit and republish your comics like a website. You can dynamically generate panels as well. Try resizing a panel into a long narrow box and generate. Backend: Firebase. Sample comics: a japanese couple sits at dinner table. The husband told the wife a secret (link https://ift.tt/GaXoEuI... ) An army of male soldiers fighting against an army of female soldiers in ancient china ( https://ift.tt/NwvXCR6... ) a team of girls play volleyball against a team of boys ( https://ift.tt/cUJvpV8... ) Next steps: - More pages - Fine panel-level control. Poses, control net, etc. - Multi-character. - Different styles. - Allows you to control character design. I’m Fengjiao Peng, founder and chief engineer at Shortbread. I was previously a webtoon artist. We want to build this into something you can create entire comics series / manga / webtoons with. Criticism and suggestions welcome!
New top story on Hacker News: Tell HN: Postman update removes all your stuff if you refuse to create account
Tell HN: Postman update removes all your stuff if you refuse to create account
74 by drunner | 22 comments on Hacker News.
I have been using postman offline without an account for a long time. Today when I opened the program it asked me to create an account. When I declined, it wiped all my collections and everything else. All I have is a 'history' to work with and try to piece back together all the variables and collections that I had setup. I relented and created an account, but it did not recover anything. Beware! Update: I was able to manually import/restore using a backup I found in ~/.config/Postman but I have no trust for continued use of this tool. Any alternatives that I can migrate to?
74 by drunner | 22 comments on Hacker News.
I have been using postman offline without an account for a long time. Today when I opened the program it asked me to create an account. When I declined, it wiped all my collections and everything else. All I have is a 'history' to work with and try to piece back together all the variables and collections that I had setup. I relented and created an account, but it did not recover anything. Beware! Update: I was able to manually import/restore using a backup I found in ~/.config/Postman but I have no trust for continued use of this tool. Any alternatives that I can migrate to?
Thursday, October 5, 2023
Wednesday, October 4, 2023
Tuesday, October 3, 2023
New top story on Hacker News: Show HN: Leporello.js – interactive functional programming IDE for JavaScript
Show HN: Leporello.js – interactive functional programming IDE for JavaScript
23 by dmitry-vsl | 3 comments on Hacker News.
Hi! Leporello.js is an interactive functional programming environment designed for pure functional subset of JavaScript. It executes code instantly as you type and displays results next to it. Leporello.js also features an omnipresent debugger. Just position your cursor on any line or select any expression, and immediately see its value. Leporello.js visualizes a dynamic call tree of your program. Thanks to the data immutability in functional programming, it allows you to navigate the call tree both forward and backward, offering a time-travel-like experience. Leporello.js offers the ability to develop HTML5 applications interactively, enabling you to update your code without losing the application's state. It records an IO trace of your program, which is then transparently replayed during subsequent program executions. This allows you to instantly reexecute your code after making small tweaks, thereby tightening your feedback loop. Furthermore, Leporello.js can serve as an interactive notebook. You have the flexibility to utilize any JavaScript libraries to visualize your data directly within your code. For a more detailed walkthrough, please watch the product video. Currently, Leporello.js is available as a free online application that you can try right in your browser. My goal is to build the Leporello.js standalone Electron app and a VSCode plugin, both with TypeScript support. Additionally, I plan to add Node.js support (currently, Leporello.js is only for HTML5 apps). In the VSCode plugin, Leporello.js will sit on top of the built-in TypeScript/JavaScript mode, utilizing its code analysis information to enhance the default VSCode experience with unique Leporello.js features. I am building Leporello.js as a single independent developer. Leporello.js is funded solely by donations. Support me on Github Sponsors [0] and be the first to gain access to the Leporello.js Visual Studio Code plugin with TypeScript support. I'll be delighted to answer any questions you may have. [0] https://ift.tt/0aI1H5K
23 by dmitry-vsl | 3 comments on Hacker News.
Hi! Leporello.js is an interactive functional programming environment designed for pure functional subset of JavaScript. It executes code instantly as you type and displays results next to it. Leporello.js also features an omnipresent debugger. Just position your cursor on any line or select any expression, and immediately see its value. Leporello.js visualizes a dynamic call tree of your program. Thanks to the data immutability in functional programming, it allows you to navigate the call tree both forward and backward, offering a time-travel-like experience. Leporello.js offers the ability to develop HTML5 applications interactively, enabling you to update your code without losing the application's state. It records an IO trace of your program, which is then transparently replayed during subsequent program executions. This allows you to instantly reexecute your code after making small tweaks, thereby tightening your feedback loop. Furthermore, Leporello.js can serve as an interactive notebook. You have the flexibility to utilize any JavaScript libraries to visualize your data directly within your code. For a more detailed walkthrough, please watch the product video. Currently, Leporello.js is available as a free online application that you can try right in your browser. My goal is to build the Leporello.js standalone Electron app and a VSCode plugin, both with TypeScript support. Additionally, I plan to add Node.js support (currently, Leporello.js is only for HTML5 apps). In the VSCode plugin, Leporello.js will sit on top of the built-in TypeScript/JavaScript mode, utilizing its code analysis information to enhance the default VSCode experience with unique Leporello.js features. I am building Leporello.js as a single independent developer. Leporello.js is funded solely by donations. Support me on Github Sponsors [0] and be the first to gain access to the Leporello.js Visual Studio Code plugin with TypeScript support. I'll be delighted to answer any questions you may have. [0] https://ift.tt/0aI1H5K