Better HN
topnewbestaskshowjobs
Log inSign up

no_protocol

1,145 karma · joined Sep 16, 2016 (10y ago) · 250 submissions

Submissions

comment 8y ago · link · parent

> and then using "type" again to refer to generic type parameter T

I was curious enough to grab a nearby textbook on Java. The author very clearly calls these things "type parameters" or "type variables". Imagine trying to write the whole chapter just calling them "types".....

"Your generic type will have two other types T and E and we will fill in Grape as type T and Fred as type E...."

It'd be a disaster! Instead he's used clear language, every single time he refers to one of those things, he uses the specific term. Much better experience.

comment 8y ago · link · parent

Thank you for the informative link.

I have spent some time reading about rust in the past but rarely actually used it.

When reading about rust I am constantly bombarded with what I would describe as lazy terminology.

In this case, the same term, `lifetime`, is being used to describe several distinct aspects of a system. Between the link you shared, the "Rust Book" that is available online, the book "Programming Rust", the compiler's error messages, and all the various blog posts, there is a definite lack of clear language. Many of these sources are even inconsistent within themselves.

It seems like the clearest, most agreed usage is that "lifetime" in general is very close to a concept many other languages have, usually called "scope".

The problem starts when eventually all these sources start talking about these things that look like `'a`. Suddenly they're calling `'a` the `lifetime`. That's a poor reuse of the same term.

It appears the compiler's error messages are calling this a `lifetime parameter`. The "Rust Book" at one point calls them `lifetime annotations`. Many sources just continue calling them `lifetimes` over and over again.

It would be nice if someone could come up with very precise language to describe each aspect of the system so that anyone writing about it can communicate clearly.

This problem is not limited to lifetimes at all. As I mentioned above, almost every time I read about rust I'm finding this reuse of terms, misuse of terms, and lack of precision. It's quite frustrating and a major turn off.

comment 8y ago · link · parent

> the compiler will elide them for you

Surely the compiler isn't going to remove or ignore things that you typed.

You probably meant to say the compiler will allow you to elide them.

comment 8y ago · link · parent

You could try this libpurple plugin for Mattermost [0]. Should work fine with finch if you want it to live in a terminal or tmux session or something, or else Pidgin or Adium if you want a more GUI look.

Haven't tried this plugin myself though.

[0]: https://github.com/EionRobb/purple-mattermost

comment 8y ago · link · parent

At least when using the web interface, you need to delete the domain and then re-add it. I'm not sure if there is an alternate option via an API, never looked into it.

comment 8y ago · link · parent

Thank you for the warning. I have a similar setup and luckily just renewed my Let's Encrypt cert a couple weeks ago.

That's pretty brutal for anyone whose cert is expiring right around this time, though.

comment 8y ago · link · parent

The PCEngines APU2C0 is their most stripped down APU2 model, it's $99.

https://www.pcengines.ch/apu2c0.htm

Quad-core, 2GB RAM, 2x Gigabit Ethernet, m-SATA, 12V DC power

No audio port, no HDMI port, this model leaves off the GPIO headers, no camera, 2 total USB ports, 1 MicroSD connector.

It's about $99 and the case is another $10. I have several.

comment 8y ago · link · parent

I really enjoy commenting on Show HN posts here but I can hardly think of a time where I would have responded with something as simple as an up or down arrow with one of these short responses.

Since this is mostly a UI improvement attempt, I guess you're basically just competing with https://news.ycombinator.com/show?

My biggest issue with this approach is it seems like a "poll" of arrows isn't really going to give enough useful feedback to be meaningful. If I've taken the time to actually review a Show HN, I'm not going to skimp out on the feedback phase by using a 1-click option. I'll probably have 3-5 paragraphs to write out.

Psychologically, it seems a bit rude to leave just a down arrow on someone's best effort project without explaining it. An up arrow alone seems fine. Of course, HN already has these built in.

If you want quick-hit feedback, can you also include a textbox for typing a quick note in addition to the short reasons already there?

A popup bar alerting about cookie usage is extremely off-putting to me and was almost enough to get me to just close out of the site before doing a review. If there is anything you can do to stop using so many cookies that you need to warn users of them....

The entire list isn't that long, can you get a deeper backlog? The /show page lists them chronologically which seems pretty nice to me since then a DevelopmentKitchen user can always pick up where they left off. You're currently sorting them some other way and it doesn't quite make sense? If I'm going to use JUST this site to monitor Show HNs, I'll want to know which ones I've seen and which I haven't.

Good luck!

comment 8y ago · link · parent

I'm not sure.

But I'm also not sure they need to have any of your data.

The riot.im client lets you connect to your own Matrix server rather than an "official" one, so they're not really able to monitor your usage or know who you are unless the app is phoning home.

Maybe it's collecting analytics data? Would love to know. I only use the Riot.im app on mobile and use other clients for desktop usage.

comment 8y ago · link · parent

I'm connected to Discord, Slack, and irc chats from Matrix/riot.im. It's working great for me after about a year of use.

I also invited some friends to join my Matrix server directly, but there wasn't much pickup yet. But that doesn't matter since I'm already connected to the places where people are via Matrix.

comment 8y ago · link · parent

I would probably really enjoy working for a company like Mozilla where the motive/mission is Generally Good. I'm not easily motivated to go build some silly App or Website to make money for Investors....

But seeing that they're willing to just ditch a bunch of employees scares me away quite effectively. I'd have expected the company to have hired bright, talented employees who could be repurposed and moved to other teams.

I guess even if you're off doing Good Stuff that isn't really a guarantee that you will be treated as a long term investment rather than a gap plugger.

comment 8y ago · link · parent

> the price quickly falls and the bot lost a lot of money

If the trader already holds 1,000 BCH and is able to spend $800,000 to raise the price he can get rid of it at by $1000, he didn't lose money.

Doesn't necessarily mean it was a bot, though.

comment 8y ago · link · parent

I quite like rEFInd. It seems to be still getting regular updates and has definitely improved since forking from rEFIt.

comment 8y ago · link · parent

(2005)

Also, warning:

The link to "US Software" now leads to an adults-only website. I recommend not clicking this link, it has nothing to do with software.

comment 8y ago · link · parent

I wonder if you can change the pricing plans and language around them a little. What happens if I'm going along happily on the 2500/day plan and suddenly I get hit with a traffic spike and need 20,000/day for 3 days until things calm down? If you're going to use pricing buckets like this it probably needs to also come with an automated way to bump the plan if needed.

Someone else in the thread suggested Maxmind as an alternative. Their prices seem to be several times higher than yours. Can you double your prices? It seems really cheap. Too cheap?

Also, the location identified for me was off by 60 miles.

On your Documentation page you've used 8.8.8.8 as an example IP address. And 1.1.1.1, and 2.2.2.2... I'd rather see you use the IPv4 address blocks reserved for documentation by RFC 5737 [0]. That's what they're for! Unfortunately, they probably don't have any actual data associated with them so the examples would need to be fabricated...hmm.

And it looks like actually using one of those results in some output that does not conform to the format on your documentation page, so you'd best also add documentation about error handling.

[0]: https://tools.ietf.org/html/rfc5737

comment 9y ago · link · parent

> In our new data study, we analyzed the anonymized data spanning three years from tens of thousands of verified loan applicants from Priceonomics customer Earnest to see how much people actually pay in rent across America.

The sample may be fairly large but it is almost certainly not representative. These figures only represent the subset of the population who would use an online financial services company AND actually did use it.

I would expect data from sources such as the Census Bureau to be much more representative of reality. Here is one visualization of such data I found [0]. These figures are much, much closer to the actual conditions I have personally observed in multiple states.

My guess is that the reported figures from Earnest miss large categories such as low-income and elderly people. The numbers are way too high for many states.

[0]: http://overflow.solutions/demographic-data/national-data/sta...

comment 9y ago · link · parent

I haven't reviewed the policy recently, but I believe the digital crossword subscription is totally separate from the digital news subscription. So if you are more interested in the crossword, you can subscribe to just that without subscribing to news. And if you did subscribe to just news, it wouldn't come with the digital crossword.

comment 9y ago · link · parent

It seems like a needle piercing the skin between two ribs to a distance of at least 2-3 cm could become lodged in tissue inside and be pulled in completely when the rib cage expands on the next breath. Once the needle is inside the body, anything goes. The heart is only approximately 3-4 cm from the skin. The heart's beating could grab the needle and pull it even farther in.

A web search brings up several instances. This one [1] at least seems to somewhat confirm my intuition.

[1]: https://timesofindia.indiatimes.com/india/Docs-use-magnet-to...

comment 9y ago · link · parent

It can be much larger or smaller than actual size and still be "to scale" -- the term indicates that all proportions within the image are correct, not that it is the same size as the original.

At a glance, it looks like the product actually is to scale so saying "not to scale" is a disadvantage and will scare away potential customers.

If it really is not to scale, it's almost worthless.

comment 9y ago · link · parent

Edit: At the time I posted this comment, the title of the thread was a "Show HN", now it is no longer a "Show HN". The comments below were made specifically in response to a "Show HN" as helpful advice for the creator.

There's a payment box at the bottom left of the page that says "Test - No Grid" -- maybe this wasn't supposed to be there?

The wording next to the first two options "(Not to scale)" concerns me. Is there a reason you can't draw it to scale?

Or are you just trying to say that it is a scaled down representation?

Usually "not to scale" indicates that a drawing or other representation is a different size than the real object AND individual portions of the representation are not shown with correct proportions. In the case of a design tool, it seems very important that the stamp have proper proportions.

If it is just scaled down but has correct proportions, you would say "to scale" and/or indicate the scale as a fraction of the original size. If it is the exact same size as the actual object, you could indicate that as well.

If it is actually not to scale, what is the point? Any drawing you make in it won't fit in the actual product the same way.

comment 9y ago · link · parent

There are many ways, depending on what you specifically need.

For the most basic command that will probably work immediately, just start up vim with multiple files like so:

    vim -p file1 file2
This will open file1 and file2 in separate vim tabs.

But vim tabs may not behave the way you would expect them to coming from other programs. You might prefer to just list all the buffers within one window instead. There are many plugins dealing with buffer management on the vim wiki and elsewhere. Here are two I found with a Google search that look at a glance like they might work [0], [1] (haven't tried, just looked at the page briefly)

[0]: https://github.com/ap/vim-buftabline

[1]: https://github.com/bling/vim-bufferline

comment 9y ago · link · parent

> Case A: ------- Undeveloped, small city. LVT kills any incentive for developers to purchase and build.

I'm not sure this is right.

There would be an incentive to purchase unused or underused land -- the price will be lower! Relatively high taxes will encourage the landowner to sell the underperforming property rather than hold onto it for years waiting for its value to increase (speculation).

There would also be an incentive to build -- the developer can build as extravagantly as he wishes without dramatically increasing taxes. Want to build a giant tower? Tax is almost the same as if you built a parking lot.

comment 9y ago · link · parent

It was initially difficult to understand the motivation because the first half of the post failed to establish "the problem" clearly. I hard to read the entire thing before I had some idea who this was written for and regarding.

The second half clarified most of this but I think the article could do with some revision.

Under any URL-ish scheme, including any simplifications suggested here, nontechnical users will be unlikely to do anything except clicking and copy/pasting. So it really doesn't matter at all to them what the actual text string's structure is. It seems like maybe the article is trying to suggest "advanced" users would benefit from a better system.

Notice that in the screenshots posted, each browser varies somewhat in how it displays the current location. Regardless of the syntax used in a URL-ish string, the browsers can certainly improve the display of this important information.

What about something like this:

https://i.imgur.com/PTs55Tl.png

Where you only show "nonstandard" portions if they are present, and they can be given special coloring to help alert the user.

When the user interacts with that portion of the UI, they can paste in a URL like normal, just when it is displayed, the parsed version can be shown instead to help them see clearly what they are looking at.

comment 9y ago · link · parent

Snapchat is full of "news".

I just opened the app and swiped one panel to the right, here are some of the "news" cards I can view:

  The New York Times
  The Washington Post
  Wall Street Journal
  Daily Mail
  ESPN
  NFL
  NBA
  National Geographic
  Bleacher Report
  Wired
  BuzzFeed
  IGN
  VICE
  Mashable
  Cosmopolitan

comment 9y ago · link · parent

This image [0] of the setup used for "The Mother of All Demos" [1], [2 - video] reminds me that the way we currently use computers and desks may not be the only way.

The keyboard and mouse controls are on a panel that is connected to the chair so they stay in the correct position relative to your body even if you turn one way or the other.

Just thinking about this video sometimes gives me shivers.

[0] https://cdn.arstechnica.net/wp-content/uploads/2015/04/Willi...

[1] http://sloan.stanford.edu/mousesite/1968Demo.html

[2] https://www.youtube.com/watch?v=yJDv-zdhzMY

comment 9y ago · link · parent

The Elements of Computing Systems book/course doesn't really cover electronics design at all. Terms like "resistor" and "voltage" aren't covered. It just asks students to construct some basic patterns using a software package.

I think the user is looking for something more like this:

https://learningtheartofelectronics.com/

That's a pretty big mouthful to swallow on your own, though. There are probably more gentle approaches available.

comment 9y ago · link · parent

Was there something new in here you found interesting? This site is posted quite often:

https://hn.algolia.com/?query=opensource.apple.com&type=stor...

The most recent time was just a couple weeks ago, there was a large discussion along with it.

The most interesting thing to me would be if someone would highlight all the patches Apple has added to these packages.

comment 9y ago · link · parent

I also had this happen trying to open a PDF in Firefox recently.

comment 9y ago · link · parent

I enjoyed this book immensely. My only complaint about it is that I knew ahead of time that there was a split. If I had been unspoiled I would have enjoyed it more.
12345
9