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

I think the “simple, modular, and extensible” makes this interesting. And for those, it being written in Python are relevant.


Exactly Python makes the whole stack composable instead of compiled shut. That’s where the fun (and flexibility) lives.


I have good experience with https://wails.io. It uses a Go backend and a JavaScript frontend with Go functions exposed to the JavaScript side, and events with senders and listeners on both sides. All without the enormous bloat of Electron.

On the JavaScript side you can use whatever you like: plain JavaScript, react, vue, svelte, … whatever you’re familiar with.

And it can cross compile to Windows, Mac and Linux, so all major platforms covered.


How is the Wails project being managed?

Does it have a backing company or enough sponsors to ensure its future?


Thanks for recognising our work :)


Buying a larger bin…


Be careful with this. A DDOS will not only affect your own website but also the infrastructure around it. Your ISP’s servers and routers will be impacted, and it may cost them a lot of money to deal with your test DDOS. It will also affect other customers of that ISP and other people on the Internet. Be sure to get written permission.


No


I have used PostgreSQL+JSONB and it works great. Doing indexes on JSON fields adds a lot of value.


What do you use the JSONB column for?

We've loved the flexibility of JSONB while our schema wasn't nailed down, but eventually migrated many fields to be columns for ease of reading and writing nested objects.


Dutch citizens usually don't need a visa to travel to the US (they have to get an ESTA visa waiver instead), but if they have traveled to certain countries (in my case Sudan) they do need a visa.

The rules are more complex than can be answered based on a simple citizenship+destination question.


It says "Amsterdam is the mail city of Netherlands" and "Currency: Dutch guilder".

I wouldn't trust a website with such low quality text and information, especially not for advice on legal/travel documents.


Reads like satire! Now I'm genuinely sad the dutch currency isn't the Dutch Guilder...


It used to be, pre Euro :)


TIL! Thanks


I don't know if the site uses "mail city" as an equivalent to capital, because it also says "Hanoi is the mail city of Vietnam" (it's the capital but the largest city is Saigon/Ho Chi Minh, so it's debatable which one is the "main" one).

It's also full of other typos and badly formatted text, which I think is due to the data coming from a quick scrape of a source of dubious quality.


wow thanks I don't know how I missed that, will fix it asap!!!


Also for Portugal...


I get the suspicion that the writer doesn't understand the ?, * and + operators...


There is a problem here in that different regex libraries have different semantics for these.

I checked the manual for PCRE (man pcrepattern), and it says that ? has both the meaning of {0,1} (zero or one repetition), as well as turning * and + into non-greedy variants if directly following them.

Similarly, + usually has the meaning of {1,} (at least once) but can also quantify * and + to prevent backtracking.

For an engine whose semantics differ from PCRE, non-greedy matching or backtracking might not even make sense, if the matching is implemented differently (e.g. using finite automata that don't backtrack).


a correction would be helpful.

   /x?/ one or none x
   /x+/ one or more x
   /x*/ none or more x
with variable operators it's more complicated. In /.+/ the operator is repeated, not the first match as with /(.)\1*/

Also, there are extensions in various implementations that are not in fact a regular, so no finite automata.


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

Search: