Better HN
topnewbestaskshowjobs
Log inSign up

cipherself

181 karma · joined Jun 3, 2023 (3y ago) · 52 submissions

https://mohamed.computer/ https://synmach.com/
Submissions

comment 2y ago · link · parent

Pygfx uses webgpu while VisPy uses OpenGL.

comment 2y ago · link · parent

This is ~albeit not being very deep~ very cool.

comment 2y ago · link · parent

I'm curious, why would that be worth mentioning?

comment 2y ago · link · parent

Nice, thanks. I've download the "Full Report" and will give it a read.

comment 2y ago · link · parent

Very cool, ordered :)

comment 2y ago · link · parent

How does one learn more about virtual power plants? Are there books you'd recommend? I am interested in learning both about the tech involved and the market dynamics.

comment 2y ago · link · parent

From the screenshots, it seems very much to be about tracing.

comment 2y ago · link · parent

I am kinda confused by your comment, OP is about tracing as far as I understood, but you're referencing Google Cloud Monitoring (whereas the comparable thing would be Google Cloud Trace) and then again

  (esp. for metrics and their attributes).
but OP isn't about metrics at all rather traces.

comment 2y ago · link · parent

One slightly related thing you can do is to test the API with schemathesis[0]

[0] https://github.com/schemathesis/schemathesis

comment 2y ago · link · parent

The problem with this is that it doesn’t map nicely to HTML (or more generally XML) as do s-expressions.

comment 2y ago · link · parent

Generating `HTML` from lisps has poisoned any other approach for me, see for example https://www.neilvandyke.org/racket/html-writing/, https://reagent-project.github.io/, and https://edicl.github.io/cl-who/

comment 2y ago · link · parent

I think this is probably the missing piece for you? https://github.com/jwills/buenavista

comment 2y ago · link · parent

Interesting, a while back at $EMPLOYER while working in a PoC, I found myself in a situation where I need to take user-provided Postgres SQL queries and run them against one of our APIs. Roughly, I converted the API response to a `pandas dataframe`, I then parsed and transformed the query from the postgres dialect to the duckdb dialect using `sqlglot` and used `duckdb` to query the `pandas dataframe`, coverted it into `json` and returned it to the user.

comment 2y ago · link · parent

Yes, also the text

  or download on Mac
is not hyperlinked.

comment 2y ago · link · parent

I am still playing around with the project but FYI, the parsing for the github repo URL at https://glide.agenticlabs.com/ will fail if there's a trailing slash in the repo link i.e. https://github.com/microsoft/autogen/ won't work but https://github.com/microsoft/autogen will.

comment 3y ago · link · parent

Nope, it can't create the events.

does it still just say that it will then not actually do anything?

It will now say:

  I can't directly create calendar events for you, but I can help you create a 
  calendar event description. Please provide me with the following information so 
  I can create a detailed description for you:

  * Event title
  * Event date and time
  * Event location
  * Event attendees (if applicable)
  * Event description
  * Any additional notes or reminders
  
  Once I have this information, I can provide you with a calendar event 
  description that you can then add to your calendar.
And if you provide that information, it'll just format it, add a few tokens and just display it to you.

comment 3y ago · link · parent

Working on dynamic land https://twitter.com/worrydream/status/1676352645731356673

comment 3y ago · link · parent

This is great, I used this years ago when I was learning about flexbox.

There's also https://codepip.com/games/grid-garden/ by the same author that uses the same approach for CSS Grids.

comment 3y ago · link · parent

SICM Is more like a 2nd physics course as it uses the Lagrangian interpretation of classical mechanics and starts with it whereas OP seems to start from the basics.

comment 3y ago · link · parent

Re: scanning of images, if you're using Google Container Registry (or Google Artifact Registry) there's also Artifact Analysis and Vulnerability scanning which you can turn on (and pay for)[0]

Re: security, defining security contexts for containers and pods are quite important, the container should not run as root, you should drop all capabilities, ...etc. For example

  securityContext:
    runAsNonRoot: true
    runAsGroup: 1000
    runAsUser: 1000
    privileged: false
    allowPrivilegeEscalation: false
    readOnlyRootFilesystem: true
    capabilities:
      drop:
        - ALL
You should also use something like kubescape[1] to regularly scan your cluster (or helm files or yaml files). Furthermore, you should use an admission controller[2] like Gatekeeper[3] to enforce certain policies in your clusters e.g. containers should always have a securityContext.

[0] https://cloud.google.com/artifact-registry/docs/analysis

[1] https://github.com/kubescape/kubescape

[2] https://kubernetes.io/docs/reference/access-authn-authz/admi...

[3] https://github.com/open-policy-agent/gatekeeper

comment 3y ago · link · parent

Interesting, I had forgotten about Guix and now is just the right time for me to try it out, thanks for reminding me.

> Me. It was me. I didn't commit the function

Haha. Yeah, modifying "live" systems without a strict mindsets tends to cause that, the worse is linux images running on production VMs which are partially specified by e.g. Ansible but there are little modifications here and there that are done by one person or the other and when that machine needs to be created you get a nice surprise.

comment 3y ago · link · parent

I am curious what your deployment story is like? i.e. do you deploy on k8s? on linux VMs?
12