Better HN
topnewbestaskshowjobs
Log inSign up

capableweb

37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions

Curabitur pretium dui sit amet quam pharetra, at condimentum turpis auctor. Maecenas vitae varius sem. Sed vel ante massa. Nulla a leo est. Morbi quis pulvinar nulla, et imperdiet nibh. Curabitur varius felis tempor nisl vulputate, id accumsan libero placerat. Sed mi odio, auctor ac lacus vel, sollicitudin mattis dolor.
Submissions

comment 6y ago · link · parent

One cool feature of Scuttlebot is that if you and your friend are already following each other, you only need a connection to each other P2P to be able to send messages to each other. So if you're on a train with ad-hoc WiFi connected to each other, you can still proceed as usual and sync stuff.

I don't think this feature exists in Usenet and BBS's where there is a central server who masterminds the sync that everyone is doing. Same with email, requires a server (local or remote) to send/receive stuff while in SSB both local and remote are usually the same machine.

comment 6y ago · link · parent

Basically Scuttlebot is a collection of linked lists (or blockchains if you will) because you only have to discover one message to be able to fetch the rest of the related content, since it's all linked as a DAG.

comment 6y ago · link · parent

I remember the "skipping version 9" in windows was due to many developers using "startsWith(os.version(), "9")" (pseudocode obviously) to detect windows 95/99 and therefore they avoid using version 9 in order to remain compatible, but I might remember wrong.

comment 6y ago · link · parent

First time I hear about "Remote Attestation", got any trusted sources/resources for someone to read up on it more? (besides Wikipedia and it's sources)

comment 6y ago · link · parent

Indeed, I agree with you. Poorly handled. But that doesn't mean you as a penetration tester can do better _also_, to avoid similar future scenarios where they handle things poorly.

comment 6y ago · link · parent

Please correct me if I'm wrong but most of Germany is highlighted as "No data", at least in this map.

comment 6y ago · link · parent

Do note that mtlynch is not saying that it's all the authors fault and Valve/HackerOne couldn't handle this better.

What you've written can be true as at the same time, what mtlynch has written is true too. Everyone could do better here.

But most likely, giving feedback to Valve/HackerOne via a Hacker News thread is likely to not be read. The feedback to the author is more likely to be read by the author themselves and other aspiring penetration testers.

So in the end, everyone could have done better.

comment 6y ago · link · parent

Why not? All the dependencies are hosted by trimread.com so by doing the measurements once (and when they change) gzipped then adding that for their calculation would do the trick.

comment 6y ago · link · parent

> morally unjustifiable to have so much cruft and trackers on a webpage

I think the way to think about this is to compare it to magazines. While you can say that it's morally unjustifiable that magazines has ads and filler pages because it'll use more paper and we need to use less paper, the argument on the other side is that the business has to survive too so ads and trackers makes that more likely (from their perspective, I don't necessarily agree with that)

comment 6y ago · link · parent

Indeed, as intent matters a lot. If the page didn't show the full article but rather just a snippet and then said "This page could have been X while it's actually X", then the intent is just to show the size difference.

But in this case, the intent is to show the full article without anything else, so most likely copyright infringement.

comment 6y ago · link · parent

Heh, just to test it, I submitted this comment page, the space savings are pretty amazing: (original size of 14.3 kB to 23.3 kB) [-63%]. Also, something seems weird in the calculation, my browser shows "24KB transfers, 36.5KB of resources"

https://beta.trimread.com/articles/11158

8472.

Flow Control in Aeron(bad-concurrency.blogspot.com ↗)

20 points · by capableweb · 6y ago · 4 comments

8473.

Are Tests Necessary in TypeScript?(executeprogram.com ↗)

31 points · by capableweb · 6y ago · 61 comments

comment 6y ago · link · parent

"Hosted on AWS" is gonna backfire on you. This basically opens you up to people misusing it to drive traffic costs for you and you end up paying a lot of money for it.

Better to find a host where you're not paying for traffic and you can have a dedicated host.

comment 6y ago · link · parent

I'm comparing it to JavaScript, which you can simply run in the browser or in NodeJS without requiring anything else but your code. You can't just use TypeScript, you have to compile it to JavaScript before, as the runtime is still either the browser or NodeJS.

comment 6y ago · link · parent

This is all expanded on in the README:

> No external dependencies. This allows us to develop faster and provide a more cohesive experience by integrating internal libraries more tightly and sharing concepts and abstractions. There always exist opportunities to have a better experience by having something purpose-built.

See more of the technical reasons behind Rome here: https://github.com/facebookexperimental/rome#technical

comment 6y ago · link · parent

For more information about the name, the README elaborates:

> Rome gets its name from proverbs such as "All Roads Lead to Rome", "Rome wasn't built in a day" and "When in Rome, do as the Romans do". This refers to the expansive scope and the desire for conformity across the project. It started as a joke at the office.

https://github.com/facebookexperimental/rome#history

comment 6y ago · link · parent

It says "No Third Party Dependencies" but 95% of the code is written in TypeScript, so it isn't even JavaScript and the entire thing is built on top of one big dependency.

Would not be a problem if it didn't sell itself as "zero third party dependencies" while being built on top of one that is not even JavaScript... Might as well built the tool in any other language that would have been better for the task.

comment 6y ago · link · parent

Try a host that doesn't charge for bandwidth. Dedicated servers at Hetzner and/or OVH doesn't charge this imaginary fee so you can sleep well and just pay a static sum each month.

comment 6y ago · link · parent

Haven't myself dived into Fulcro too much (mostly do ClojureScript so don't need the full stack) but always found interesting ideas to borrow from.

Especially around the UI State Machines that they have lots of docs around. http://book.fulcrologic.com/#_ui_state_machines

comment 6y ago · link · parent

vim + vim-fireplace + only work on clojure/script projects. A real-time interactive development environment is hard to beat and after 10 years of experience programming and only around 1 year programming clojure/script, I have never before been this productive and carried the same confidence in my code.

comment 6y ago · link · parent

Hm, really? Maybe you're missing a layer of indirection if that's so?

Usually I end up wrapping things myself so I have one "setup-handler :name" function/macro that creates the subscription and event db handler for me. There are also existing libraries that does this for you, if writing it yourself is not wanted.

One example of such library: https://gitlab.com/nikperic/reframe-utils

`reg-basic-sub` has this outcome:

  (reg-basic-sub :common/active-page)

  ;; Equivalent to
  (reg-basic-sub :common/active-page :common/active-page)

  ;; Equivalent to
  (reg-sub
    :common/active-page
    (fn [db _]
      (:common/active-page db)))

comment 6y ago · link · parent

Indeed, you wouldn't (probably) use re-frame unless you're also using reagent (although you could).

I think vga805 is referring to the "atom pattern" where you have a atom on the outside and/or inside the components that you interact directly with, which is mostly (but not always) replaced by subscriptions and setting up dispatches.

So re-frame would replace the typical state management pattern you use when you're using reagent, but it wouldn't replace the view layer.

Extra clarification I guess...

comment 6y ago · link · parent

> $16 million is a not-unreasonable amount to save for a comfortable retirement that includes travel around the world and making sure your children get a good start to life

I agree with you. But maybe if that's what you're aiming for, you should not be in decision power over the entire country. If you're seeking out that position, it should be because you want to see the entire country as your children. Those are the people we want as leaders.

Not the selfish hoarders that currently hold the power in most countries today.

comment 6y ago · link · parent

Keep in mind by adding that gate, you're no longer adhering to the guidelines of Show HN. I advise you to read through them before submitting more stories: https://news.ycombinator.com/showhn.html

comment 6y ago · link · parent

I could understand that someone would like to have a buffer in case of emergencies, but it seems like $15.8 million is a bit over the "emergency buffer" line and becomes more like they want more money just to have more money.

You're a public servant, supposedly working for the public, why you need so much? Share it with the ones who have zero instead. The US have a huge problems in many areas, like healthcare, homelessness and other serious problems, if these hoarders would actually display a bit of care towards those people, you can solve it.

But again, sitting on $15.8 million does not look like you're actually trying to solve anything else but your ego.

comment 6y ago · link · parent

> try to improve the fonts

The contrast is less about the fonts and more about the colors. Just making the darker a bit more darker and the light a bit lighter should solve the problem.

By the way, seems the page is now behind a login page, so it requires a signup, it was not like that before, so you're now not adhering to the guidelines for Show HN.

> Blog posts, sign-up pages, curated lists, and other reading material can't be tried out, so can't be Show HNs.

https://news.ycombinator.com/showhn.html

comment 6y ago · link · parent

Because you get rich by not distributing what you earn, back into the economy/communities, but by hoarding. Someone who is worth $15.8 million is clearly hoarding and not utilizing the funds to improve what's around them.

comment 6y ago · link · parent

Interesting, just tried this, where I compared my laptop (Ubuntu) and desktop (Arch) with my Macbook, and the latency actually seems lower on Linux than OSX, seems OSX has some smoothing that seems to make things look/feel slower. Scrolling is clearly faster on my laptop and desktop than the Macbook (didn't even had to record a video to see the difference), tried Firefox on both Linuxes and Safari/Chrome/Firefox on Macbook with the same result.

So the quest continues...

1
282283284
307