Readit News logoReadit News
messo commented on Show HN: HTML for People   htmlforpeople.com... · Posted by u/blakewatson
messo · a year ago
I have tried so many times to convince non-technical people that they can put together their own website quite easily, but so often they think I'm joking and that it requires a lot of effort.

Next time I'll refer the to this site and ask them to give it half an hour and see what they can create in that time. I know that so many would get hooked if they just get that first taste of "wow, i just published something on the actual web!"

@blakewatson: Any plans to add i18n to the site and accepting pull requests for translations?

messo commented on Show HN: Prisma Python – A fully typed ORM for Python   github.com/RobertCraigie/... · Posted by u/probablyrobert
messo · 4 years ago
How does Prisma compare to EdgeDB? Pros and cons? I have limited experiences with DBs and ORMs, but EdgeDB looks very interesting.
messo commented on State of the Web: Static Site Generators   byteofdev.com/posts/stati... · Posted by u/AsyncBanana
benibela · 4 years ago
I only read the specification. It covers every there is in XQuery

I searched around and found this article: https://www.gnu.org/software/qexo/XQ-Gen-XML.html

And here is the source of my website using it: https://github.com/benibela/site

messo · 4 years ago
Thanks, this is fascinating!
messo commented on State of the Web: Static Site Generators   byteofdev.com/posts/stati... · Posted by u/AsyncBanana
benibela · 4 years ago
I use XQuery as static site generator. It is a w3c standard.

You just write the HTML and then it replaces $variables with data, e.g.:

     <html><head>
       <title>{$title}</title>
     </head><body>
       <h1>{$title}</h1>
       <div class="main">{$content}</div>
       ...
It has for loops and functions, too

messo · 4 years ago
Wow, did not know about XQuery. Can you point to some resources explaning how one would use it as a SSG?
messo commented on UK government plans publicity blitz against encrypted communications   rollingstone.com/culture/... · Posted by u/danyork
ed_balls · 4 years ago
> Norwegian politicians are required by law to only use official channels of communication

Is it really enforacble? What are the sanctions for breaking the law?

What if someone says it's a national secuirty matter?

Scenario nr 1: You are a misiter and you are discussing possible scenarios about a given event (let say something like an abortion). Should pulbic have full access to it?

Scenario nr 2: You are a minister and you are negotiating a new factory in your country. Foregin corporation wants to keep it secret before the deal is reached. How can you communicate?

If politians would be given a device from the deep state to handle all communication then they would have to use is exculsivly, you are givin the deep state an enormous power.

messo · 4 years ago
The law ("Offentlighetsloven") is quite nuanced and take into account a lot of different situations and edge cases. The law does not only apply to politicians, but to every public servant in any position.

The law is available in Norwegian here, if you want to run it trough a machine translation service and have a look: https://www.regjeringen.no/no/dokumenter/nou-2003-30/id38285...

messo commented on UK government plans publicity blitz against encrypted communications   rollingstone.com/culture/... · Posted by u/danyork
larryflint · 4 years ago
LOL. Your right. If anything politicians should be denied E2EE
messo · 4 years ago
Norwegian politicians are required by law to only use official channels of communication (government email, phone etc) when discussing anything related to their public service. Citizens can demand to get access to these communications, even anonymously. This has made it possible for regular citizens to uncover both small and big abuses of power through the years, most recently exemplified by a close connection between the Police and a private anti-drug-lobby organization that has had a big influence on drug policy for decades.

I have, however, heard that apps like Signal has become more common among politicians, but using it for official business is still illegal.

messo commented on The Astro Technology Company   astro.build/blog/the-astr... · Posted by u/0xedb
messo · 4 years ago
I was so exited when I tried out Astro yesterday! Their announcement about taking VC money dampens my exitment considerably. VC money almost always means that there will be a less-then-ideal monetization of the project down the road, somehow.

How do they plan to monetize a framework for developers? I know that frameworks like Laravel has built convenient services around their project to earn money, and that I have no problem with. But will such a model be enough to satisfy Astros investors? These are questions I woud like to see answered.

messo commented on Imagine Virginia’s icy traffic catastrophe – but with only electric vehicles   washingtonpost.com/opinio... · Posted by u/rufus_foreman
messo · 4 years ago
Here in Norway it is common knowledge to not head out into a winter storm or driving over a mountain pass without having a full(ish) tank / charge. It is advised to bring warm blankets, clothes, water and some food. Getting stranded at a moutainpass or in a tunnel waiting for a storm to clear enough to allow the plough truck to lead the way is routine in the winter, it is the rule and not the exeption.

Of course there are always some who do not head the warnings, but they are the exeption to the rule.

This winter we also experienced a sudden heavy snowfall in the south of Norway, which took thousands of drivers by suprise and caused a 10 hour long traffic jam on one of the main highways. Some electric car owners where running low, but to my knowledge they all made it out without getting stranded.

Being prepared is a cultural aspect of winter driving and avoids most problems independent of the energy source used by the car. One advatage of electric cars is their ability to keep warm for hours without expelling any co2, wich have caused some horrible tragedies where people have been poisened due to the fact that the car has been patrly snowed in, trapping the exhaust.

messo commented on Framework Laptop with Ubuntu Review   luisartola.com/framework-... · Posted by u/luisartola
bradwood · 4 years ago
did you ever try Manjaro?
messo · 4 years ago
Yes, some years ago during a distro jump. Went back to Arch pretty fast, like all the other times I went through a distro-curious phase. Fedora 35 has been the only distro where I have not been crawling back to arch within weeks.
messo commented on Framework Laptop with Ubuntu Review   luisartola.com/framework-... · Posted by u/luisartola
hansel_der · 4 years ago
really curios if there is ANY overlap of your target audience and fedora users.

i mean, for a top-down approach i would probably also choose redhat because they seem to have structures for a streamlined b2b communication and commitment, but on the other hand i absolutely know nobody who uses it apart from the odd researcher and enterprise-it guys.

messo · 4 years ago
I switched from Arch (btw!) To Fedora last year and it has been an awesome experience. Highly recommended! 10 years of Arch has thought me alot and I have enjoyed i3 and sway, but now I needed an OS that just works.

Nice to hear that Framework plays well with Fedora, it will definitely be the next laptop I buy (if they ever start shipping to Norway).

u/messo

KarmaCake day681September 5, 2013View Original