Hacker Newsnew | past | comments | ask | show | jobs | submit | timdeve's commentslogin

This appear to use https://github.com/dockur/windows which is a VM inside a Docker container?

Otherwise looking at the code this feels like something that could be a short bash script wrapped in a electron app.


I got a good chuckle from the https://github.com/dockur/windows#how-do-i-select-the-window... table

  11  Windows 11 Pro  5.4 GB
  2k  Windows 2000 Professional  0.4 GB
confirming the adage that all projects expand to fill available ~time~ disk space


True enough... that said, most of the security enhancements came over the Vista/Win7 timeframe. Just be careful with what you run and what apps have internet access... this setup seems to have full access to your home directory, which for most users can be every bit as bad as a root exploit.


wouldn't this require a license? windows is not free in any sense of the word


It appear to download windows on the fly from Microsoft's server and uses trial keys [0]

[0] https://github.com/dockur/windows?tab=readme-ov-file#is-this...


This is really lovely.

Would be great as an inspiration tool if it would make a little visualisation of the notes/accent/slides on a piano roll.

I can read the JSON meanwhile but just an idea.


The gendarmerie have their version of Ubuntu so they may go for something similar. Not that different part of the French government communicate or help each other...


Looks good, I'm gonna try to swap readability in my RSS reader with this.

And with Pocket going away I might have to add save it later to it...


Made my own, made it easy to add different type of clients (TUI, Android, Web) and display cleaned up articles.


Yeah I would really like Pine64 to take a stab at this form factor. I guess the closest is the keyboard for the pinephone but that's a tiny screen.


I'm fairly certain mnt customers have much better experiences interacting with the business than pine64 customers do. mntmn often corresponds with Reform users directly in the irc channel.

This is the better business to support from where I'm sitting.

- disgruntled early pinephone order survivor


Pine64 dumps a lot of responsibility on their user base, but in their defense they do list nearly everything they sell with warnings about how they are for developers willing to put in the extra effort.

Similarly MNT warns people about going with RISC-V options in their products. I really hope MNT can get their risc-v modules bumped up with the new SoC's hitting the marking in the coming year as support is born.


> Pine64 dumps a lot of responsibility on their user base, but in their defense they do list nearly everything they sell with warnings about how they are for developers willing to put in the extra effort.

That's no excuse for problems in order fulfillment, poor communication of delays, and months of silent treatment when cancelling. The whole experience resembled buying from a flaky unresponsive ebay seller.

It's just not operationally well run in my experience, YMMV.

The disclaimer is acceptable for things like dead pixels or poor/unstable driver support... I'm not referring to anything along those lines.


The PinePhone has a 6" screen, the Pocket Reform has a 7" screen. That's enough to make a noticeable difference for sure, but it's not incomparable, especially considering the PPKB goes to the very edge of the device and the Pocket Reform has an obvious bezel.


The PinePhone would have far less usable screen real estate[0]. 6" diagonal with an 18:9 aspect ratio would make landscape use almost a non-starter. The Pocket Reform is 7" diagonal with a laptop-like 16:10 aspect ratio.

[0] http://displaywars.com/7-inch-16x10-vs-6-inch-d%7B18x9%7D


Don't get too hung up on the "lisp" in that title. I think the language would better be described as statically typed, with s-expr syntax, inspired by Clojure|Rust|ML and with a lispy language accessible for use in macros. But that's less catchy.

Source: I contribute to the language.


Is it suitable for real-time embedded programming? How about audio libraries? Does it have microcontroller support?

I've heard about Carp before, but haven't ever tried it. I've longed for an embedded ML language, and I like Lisp and Scheme, so this seems right up my alley. Apologies for all the questions, but I'm just curious about potentially applicability to some things I have in mind.


The goal is certainly to have a language suitable for "real-time applications" (read games/audio), that's not my area of expertise however so your definition of real-time might not be different than mine.

As it compiles to C, any microcontroller with a compiler that supports something that looks like C can work. I've run Carp code on a GBA (as mentionned somewhere else in the comments), esp32, esp8266, as well as Arduboy & Pygamer via Arduino.

There is some more information about running Carp on embedded platforms in the docs[0].

One last thing I wanted to mention is that Carp is still very much in flux so it might not be the best choice for longterm projects, but if you're interested in playing with the language there is usually always someone to answer questions on the Gitter[1].

[0] https://github.com/carp-lang/Carp/blob/master/docs/Embedded....

[1] https://app.gitter.im/#/room/#eriksvedang_Carp:gitter.im


Thanks for the response and details! I'll try and start playing around with it.


That's correct, concurency is not supported right now. I have a POC for using pthread but essentially the borrow checker is not aware of it and so it's quite unsafe.

Note: I'm a contributor.


I'm not sure what you mean by optional parenthesis. I'd say optional separators are a legacy feature, I don't think anyone writes Carp with separators.

Note: I'm a contributor.


I've been using it for quick web scrapping scripts and it's really nice.


What libraries do you use? I do most of my scraping in Python using beautifulsoup.


Babashka doesn't have a built-in HTML parsing library but it supports it through pods:

https://github.com/babashka/pod-registry

Pods can be written in any language and they can expose functions to babashka by implementing a protocol.

One pod exposing HTML parsing is:

https://github.com/retrogradeorbit/bootleg

Here is an example of how to use that:

https://github.com/babashka/pod-registry/blob/master/example...


As other people have said Bootleg + Hickory.

Here is an, admitedly not very clean, example that grabs stream urls from hltv.org:

https://github.com/TimDeve/.dotfiles/blob/master/scripts/gen...

Also a basic RSS reader using the clojure XML lib:

https://github.com/TimDeve/.dotfiles/blob/master/scripts/gen...


As mentioned by the one and only Borkdude, bootleg is a nice option for this.

It includes the Hickory library: https://github.com/clj-commons/hickory

I'm a previous BeautifulSoup user and have found the combination of (1) having the scraped data presented in plain Clojure data structures, and (2) Hickory's built in selectors, to be a very nice experience.

Happy scraping!


Not OP but I use Reaver with good results. It supports all of JSoup's selectors, and makes it very clean to extract data from HTML.

The documentation is a little lacking though, I had to look up other examples on GitHub to figure out how to use all the features.

https://github.com/mischov/reaver


I plan to port my scraping framework (Skyscraper, https://github.com/nathell/skyscraper) to babashka one day. I’m not sure how easy it will be, though, since it uses core.async (which I believe bb has limited support for) and SQLite via clojure.java.jdbc.


Core.async is listed as “built-in” in the Babashka Toolbox (https://babashka.org/toolbox). Might be worth checking if the compatibility has improved.

And bb supports Honey SQL and SQL pods (https://github.com/babashka/babashka-sql-pods) - so you might be already compatible!


Thanks everyone, all great pointers. I'll do my next scrape in Babashka!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: