HNHacker News
TopNewBestAskShowJobs

jonny383

1,134 karma · joined August 21, 2019

submissionscomments
jonny383··on Httpserver.h: Single header library for writing non-blocking HTTP servers in C
Wow awesome. I never knew. Thanks!
jonny383··on Httpserver.h: Single header library for writing non-blocking HTTP servers in C
Go compilers are anywhere near as universally available as C compilers...
jonny383··on Httpserver.h: Single header library for writing non-blocking HTTP servers in C
To be fair, most of the actual code doesn't warrant comments, and there's no point of writing comments for the sake of writing comments or repeating what the code is already telling you explicitly what it does.
jonny383··on Httpserver.h: Single header library for writing non-blocking HTTP servers in C
This is C, not JavaScript. Does anyone really want an npm of the C world?

Header files work. They've worked for many decades. Yes, they require software authors to _do more work_, but they also help to eliminate a lib/ directory with 10,000 interdependent libraries that quickly becomes untrusted and frankly, ridiculous.

jonny383··on Better password protections in Chrome
Google collecting more personal data on it's users and passing it off as a helpful service? I never would have guessed. /s

I wonder if their data sets contain entries for non-Google users too?

jonny383··on Low-Cost VPS Testing
Can't +1 this enough!
jonny383··on A Billion Surveillance Cameras Forecast to Be Watching Within Two Years
On the subject of tracking, does anybody know of any current -on-the-market- security cameras that also do passive air / radio sniffing on things like WiFi and Bluetooth?

Imagine an appliance brick and mortar shop that gives users free WiFi. In the middle of the night, masked intruders burgle the place and steal $50,000 worth of goods. In addition to logging the (fairly useless) footage of masked people stealing stuff in the dark, the system also recorded some Bluetooth / WiFi beacons. If sufficient "fingerprinting" information can be collected from this data, it could become possible to look backwards for clues to who these users were in earlier collected data (say for example, when the assailants had previously scouted the store during the daytime making a plan).

jonny383··on Low-Cost VPS Testing
+1 for Vultr. Not in NZ but we've been using them for various app / database servers for coming on four years now and we have literally only ever had one minor issue. Their support is through ticketing only (AFAIK), but their support team is very fast at responding.
jonny383··on Elementary OS 5.1 Hera
Which parts are nicer? What makes them nicer?
jonny383··on Show HN: Space Invaders in C
Hats off, very cool!!!

I have always dreamed of building a classic ROM to C transpiler for native, portable, future-proof(ish) binary builds (just like this).

jonny383··on Elementary OS 5.1 Hera
Serious question time. What benefit will I get from running something like Elementary over Ubuntu? Forgive my ignorance, but honestly the whole OS looks like it's just a fork of Ubuntu with a couple of swapped in applications, and a GTK3 theme on top of GNOME trying to make it look like a ten year old version of macOS.

I hate to be so negative, but the "new greeter" they are showing looks like something from Windows 98, and worst of all, functionally no better than Ubuntu. What purpose doe s this actually serve if it's neither aesthetics nor functionality?

I would feel a lot safer recommending either Ubuntu or Linux Mint...

jonny383··on Using WebAssembly from .NET with Wasmtime
Silverlight was deprecated.
jonny383··on Using WebAssembly from .NET with Wasmtime
Please don't pollute the web with .NET on the client side too. Do we _really_ need this?
jonny383··on Rock the Cash Box: Writing a Host Processor for a ATM
I _loved_ reading this article. I felt strangely transported back twenty or so years...
jonny383··on Yoast SEO plugin for WordPress injects Black Friday adverts without permission
1. It goes directly against the WordPress Detailed Plugin Guidelines to both upsell, and to hijack the admin dashboard [0].

2. If the ad was an admin notice, it didn't look like one. It's a banner image with an outbound tracking link [1].

[0] https://developer.wordpress.org/plugins/wordpress-org/detail... [1] https://imgur.com/a/oN7ZFRU

jonny383··on Yoast SEO plugin for WordPress injects Black Friday adverts without permission
I disagree - to me, it _is_ a huge deal. It's an overstep of a boundary that definitely should not have been crossed.

Yoast has always been borderline spammy with their upgrade nags, but at least historically they followed the WordPress guidelines and kept them inside of the Yoast pages. But flat-out injecting ads into every admin page with not much context is a step too far in my opinion.

As far as I'm concerned, automattic should revoke their wordpress.org plugin hosting until this has been addressed (as this clearly violates their hosting guidelines) and a public apology is issued.

jonny383··on Yoast SEO plugin for WordPress injects Black Friday adverts without permission
Seems like a pretty risky move, but the owner has historically been controversial so wouldn't be too surprised.

https://wptavern.com/yoastcon-overshadowed-by-twitter-storm-...

jonny383··on HTTPie – A user-friendly CLI HTTP client
Right, that makes sense. I did just test a couple of short Python programs

  $ time python3 test.py 
  Hello world

  real    0m0.020s
  user    0m0.020s
  sys     0m0.000s
jonny383··on HTTPie – A user-friendly CLI HTTP client
When I hear "curl alternative", I think of something low-level, portable and frankly, something that will compile _almost_ anywhere that has a C compiler.

But then I realized I'm thinking of libcurl, not curl. So maybe this isn't so bad in Python as a client tool. Does Python 3 still start up really slow though? (honest question)

jonny383··on PHP 7.4
Typed properties are well overdue! PHP is almost sexy again...
jonny383··on Atom editor still phones home prior to consent dialog
https://thenextweb.com/dd/2018/06/08/githubs-new-ceo-promise...
jonny383··on Neat Rust Tricks: Passing Closures to C
>There are codebases out there measured in the hundreds of MLOC.

I agree with your argument, but I think in practice trying to "port" something with hundreds of MLOC is a losing battle (especially away from C). By the time you finished porting to rust (or your other language of the week), rust will likely have come and gone and will be been replaced by something either better or "better".

IMO people should spend less time trying to re-invent the wheel in rust and more time either improving C or the tooling / static analysis for C. It would avoid _so many_ of these issues.

jonny383··on Neat Rust Tricks: Passing Closures to C
No. It shows that people are still struggling with changing the way in which they write software to the "rust" way. The attitude of falling back to C or using unsafe rust just undermines the premise of the argument of why you should use rust.

This is just like the node.js craze a few years ago - people will rant on trying to justify why you should use rust and write the "rust" way before realising that what they already had worked as intended.

A true replacement for C (when one is finally developed) will remove all of these doubts and back-shadowing behaviour almost instantly (kind of like the react way of ux did)

EDIT: typo

jonny383··on Neat Rust Tricks: Passing Closures to C
Rust is already doomed. The amount of literature being published about either comparisons or compatibility with C is a strong indicator C is here to stay.
jonny383··on Ask HN: Best Static Site Builder?
Vim or Emacs?
jonny383··on 100k+ page views a month for $5 with a self-hosted static site
You do realise you're reading hackernews, right? Where the majority of this generation likely grew into the industries using AWS / Heroku / "your other managed server as a service tm"
jonny383··on Everything you ever wanted to know about terminals
>so here's a short tutorial on ansi escape codes and terminal control, because you philistines won't stop using ncurses and oh my god WHY ARE WE STILL USING NCURSES IT IS THE TWENTY FIRST FUCKING CENTURY

Please either write a "modern" replacement or show us that one exists, before proceeding to tell us not to use ncurses.

jonny383··on Slack’s new WYSIWYG input box is terrible
Don't know why you're getting down-voted, this is a logical and sensible conclusion, from a business perspective.
jonny383··on MacBook Pro 16" 2019 Teardown
Here's a better idea: why don't apple just replace the touchbar with an actual keyboard!?!?
jonny383··on MacBook Pro 16" 2019 Teardown
Wireless, fair enough. But are you really ignorant enough to think it's not productive to

1. Buy a stick of RAM / new or bigger SSD from your provider of choice online 2. Open the delivery package and install it in your computer in 3 minutes

And get another three years out of your device? Or how about, when your Macbook breaks and you need to take it to a genius bar only to have them tell you that you need to order either a whole new logic board or buy a new computer. Both will require days of waiting.

It's because of people like you that Apple is increasingly producing and pushing worsening quality hardware and service.

EDIT: I should also mention, the XPS 15 is comparable in every aspect of the hardware. And the very thing you're complaining about "I don't want to change my hardware I just want to use it" is completely optional.

← PreviousPage 6 of 9Next →