1,145 karma · joined Sep 16, 2016 (10y ago) · 250 submissions
comment 8y ago · link · parent
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
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
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
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
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 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
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
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.
comment 9y ago · link · parent
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
comment 9y ago · link · parent
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
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
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
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)
comment 9y ago · link · parent
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
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
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
Cosmopolitancomment 9y ago · link · parent
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...
comment 9y ago · link · parent
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
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.