News for hackers. Stuff that matters.

djstein

Re:CSS Grid Areas on Friday August 16, 2024 @02:36AM (#41263710)
while I love CSS Grid and Areas I still think the hardest part is managing responsiveness especially between mobile and desktop sizes. I find that grid-template-area and the rows / columns sizes needs to be updated via JavaScript based on what UI elements should be open / full screen

I haven’t found a world where minmax or calc fixes this. hope someone has answers!

Re:Drake Releases 100gb Data Dump on Tuesday August 06, 2024 @07:11PM (#41176499)
i actually like this on mobile for a file browsing system
love to see this running as a django app!
Re:The magic of small engineering teams on Sunday July 07, 2024 @11:23AM (#40898295)
hey! would love to hear your experience about this. we’re building a system that should help alleviate this pain when developing embedded systems. emails / cal link are within my person site on bio!
Re:Updates to US verification requirements on Wednesday February 28, 2024 @02:34PM (#39542539)
Mercury also rolled this out recently. got the email yesterday.
Re:Python Docker Image on Thursday February 08, 2024 @01:32PM (#39305663)
Hey HN, wrote up a guide on how I've been creating Python Docker images. I seem to always need to install a software dependency that forces me to break out of the basic Python tags. A great example is installing Node and Python at the same time or creating containers that can use PyTorch.

Love feedback to on how to make the image better if you've got any!

Re:Boring Python: dependency management (2022) on Sunday February 04, 2024 @08:07PM (#39256191)
I’m happy others are writing on this subject! I appreciate your enthusiasm for trying to do the most “basic” things in Python. While I personally enjoy a bit more management with tools like Poetry, I believe all Python programmers should know how pip and setuptools work before trying their supersets.

To add to this discussion, I recently wrote this less wordy guide on macOS Python setup https://steins.studio/technical/01-python-setup

Re:StyleX – Meta's styling library on Tuesday December 05, 2023 @09:34PM (#38539878)
waited a long time for this since they first demoed it at react conf 2018? in vegas. this was the last piece in the SSR + streaming + suspense holy grail. looks like the pieces are all finally done. congrats on the launch
Re:Django 5.0 Is Released on Monday December 04, 2023 @03:47PM (#38522812)
for those keeping up with Django’s async story the biggest updates with Django 5.0 are:

The new asynchronous functions are now provided, using an a prefix: django.contrib.auth.aauthenticate(), aget_user(), alogin(), alogout(), and aupdate_session_auth_hash().

AuthenticationMiddleware now adds an HttpRequest.auser() asynchronous method that returns the currently logged-in user.

[Edit: paste wasn’t the full sentence]

Re:Launch HN: Moonrepo (YC W23) – Open-source build system on Tuesday February 21, 2023 @03:08PM (#34886329)
congrats on the launch! can you share any information on how the system is currently deployed? or how it will be deployed for on premises solutions?

also: are you looking for any other founders?

Re:Ask HN: Do you feel psychological safety at your job? on Sunday January 29, 2023 @07:40PM (#34574424)
nope. I spoke to HR regarding this after my manager threatened to fire the whole team and said we could not take vacation the entirety of next year. This was after repeated similar comments and hostility. I was promptly let go this week. So to be clear, don’t talk to HR either if you feel unsafe.
Re:Granian – a Rust HTTP server for Python applications on Monday January 16, 2023 @01:35PM (#34403915)
for those wishing to use http3 with a Python web framework, the ASGI hypercorn[1] currently supports it.

made a Django example last week with a sample client based on the examples from aioquic[2]: https://github.com/djstein/django-http3-example

this example also includes the first pass at async Django REST Framework using adrf[3] based on these GitHub issues:

- https://github.com/encode/django-rest-framework/pull/8617

- https://github.com/encode/django-rest-framework/issues/8496

sources

[1]: https://github.com/pgjones/hypercorn

[2]: https://github.com/aiortc/aioquic

[2]: https://github.com/em1208/adrf

two different routes:

- try and become the best portrait photographer possible

- learn ar/vr tech in prep for the apple devices being launched

Re:Ask HN: Who wants to be hired? (December 2022) on Thursday December 01, 2022 @02:31PM (#33821454)
Location: San Fransisco

Remote: Prefer in Person! Would love to work with folks in SF proper or NYC

Willing to relocate: relocate for NYC only

Technologies: (I'll keep it short) Distributed Systems, Prototype Hardware Management, Customer Facing CLI tools, Kubernetes, GraphQL, Django, NextJS, react-query, React, Python, TypeScript, Linux systems

Résumé/CV: https://www.dylanstein.dev and https://www.dylanstein.dev/resume

Email: [email protected]

I create full stack applications that use frontends and CLI tools to allow users to interact with experimental hardware. I have an expertise in deploying apps end to end with a focus on user interaction.

- at Apple I built a system that took logs and data upon runtime exceptions from autonomous robots and would that data over LTE to a processing system. Built on device daemon, API, NextJS UI with web socket frontend for auto updates, Kube deployment, etc. This allowed engineers to fix bugs as they happened, instead of waiting for a full ingestion pipeline.

- (abstract) at Tenstorrent and Apple, I have built systems that handle the lifecycle of experimental hardware distributed across labs and data centers around the world. Leveraging Kubernetes we can connect Unix like hardware to experimental hardware. Create UI/CLI for viewing, reserving, and provisioning said hardware. Use UI/CLI to run customers code in containers against said managed hardware. My system at Apple managed the hardware behind SPG's testing suite.

Re:Stop Interviewing with Leet Code on Thursday June 09, 2022 @01:54AM (#31677978)
I've decided I'm going to start interviewing with a set of PR's per each role we hire for. each PR will have obvious mistakes, complicated logic problems, as well as code that could be "refactored" once the whole PR has been read.

this provides a few things; it gives us an ability at how the interviewee problem solves. next we can see how they respond too obvious fixes (would they be someone you'd want to send a PR too?). finally, it tests their knowledge of the language and APIs, hopefully much better than Leet Code can. I would also like to see if the user can spot obvious bugs in the setup code (say, package.json, pyproject.toml, etc)

I am going to make an example PR for: - frontend (React/NextJS, TypeScript, CSS) - backend (Django, Python) - DevOps (potentially some Pulumi code for deploying to a Kubernetes cluster?)

Re:Reloadium – Advanced hot reloading for Python on Tuesday April 26, 2022 @01:27PM (#31170381)
this is really awesome! thanks for sharing. I was wondering what would happen if used in Django, and bam, there was the example.
Sounds like what I want to do. Do you believe this transition was worth it? Did you see a pay increase or cut? What do you see in the career trajectory?
Re:Show HN: Prisma Python – A fully typed ORM for Python on Monday February 21, 2022 @01:10PM (#30418783)
@propbablyrobert great job on this! I hope you can get buy-in from the Prisma team for support. This would be great for their moat.
Re:Tqdm (Python) on Thursday December 16, 2021 @02:27PM (#29582649)
this looks like a fantastic tool! would love to use this in some Python CLI's to help users understand the progress
Re:Scan of the Month: Lego Minifigures on Wednesday November 17, 2021 @01:50PM (#29257207)
thanks for the video link that was really cool
Re:Async Python is not faster (2020) on Friday November 05, 2021 @11:19AM (#29120511)
The strangest part of this dataset to me was tests being run using Daphne with Starlette, instead of Django. Unclear who would reach for that combo in production, since Daphne is meant for Django.
Re:Django 4.0 beta 1 released on Monday October 25, 2021 @01:25PM (#28990558)
The biggest change is the built in redis caching, which I believe needs to be implemented before the async ORM
Re:Ask HN: Where are all the old Show HNs? on Tuesday September 28, 2021 @11:20PM (#28689949)
Heard from HN. Saved up a ton of money in college for one. Miss how good the original beds used to be. We went with another 3 years after our first in 2013 and it was horrible in comparison. Used to recommend the brand to everyone until that point. Sounds like you made a great exit however
Re:Modern Communication: Sockets (2014) on Saturday September 25, 2021 @06:15PM (#28656634)
How is this different from RabbitMQ?
Re:Show HN: Time travel debugger for web development on Wednesday September 15, 2021 @02:42PM (#28542713)
Congrats Jason! Know you and the team have been working super hard on this

Older »