Better HN
topnewbestaskshowjobs
Log inSign up

sharpercoder

917 karma · joined Nov 17, 2014 (12y ago) · 333 submissions

rtimon@gmail.com
Submissions

comment 6y ago · link · parent

I want a 64-core 51GB box with this to use wih my teams. Anyones IDE will fly using that power available. Costs could be lower too (although I doubt setup and maintenance offsets the decreased hardware cost).

comment 6y ago · link · parent

A language is a tool. Is special-casing the U u to prevent a single case of profanity worth it?

People will come up with many ways to generate profane language. See guids/uuids for example, or l33tsp34k. A major change to hypothetically prevent a single case seems unbalanced.

comment 6y ago · link · parent

The V v U u alias should be split into V v and U u. The l should be used as alias for 1.

I totally see the historic and soundex analogue between V v U u, but it seems to me that the visual similarity of 1 L l i has precedence.

comment 6y ago · link · parent

A display with >10ms response times for writing does not cut it for me. I love the product, but this is something I can't compromise on. I really hope this problem on e-ink screens gets solved!

comment 6y ago · link · parent

So where can I buy a ticket to ride?

comment 6y ago · link · parent

The promise of Rust is safe and fast low-level development. What is the primary selling point of using rust for webdev? Speed? I can mainly see disadvantages when using rust for this scenario.

comment 6y ago · link · parent

Can we somehow start to use the ascii 30 character aka the Record Separator (SP)? This would solve a lot of the problems!

comment 6y ago · link · parent

One, two, three, four, five, six, seven, eight, nine, ten, eleven, twelve... they're unique names. Then comes thirten, fourten.

Ten, eleven and twelve are unique names and probably have their entymology derived from a base-12 numbering system once primarily used in Anglo-speaking countries.

comment 6y ago · link · parent

Try the hard server. Games end in 10 years on average. You end bu getting 50M, which makes it a lot of fun to play. To play competitively, you have to manage your economy the first 5 years really tight.

comment 6y ago · link · parent

This is a more scalable solution then the Spectacle solution (record both hori- and vertical). I wonder if filmmakers will adapt their filming to cater to this algo - i.e. having a bigger margin to the edge in order to have AutoFlip give even better results.

comment 6y ago · link · parent

It means your taxes will go up and thw city has lost oportunity cost. That seems to me as a bad thing. You'd want the right amount of infra.

comment 7y ago · link · parent

I have done extensive testing and review reading. You have two options: sony xm3 or bose 700.

comment 7y ago · link · parent

My experience is that using Argan oil right after climbing solves this for the next day. The combination of a nights rest and Argan oil almost always does the trick. The times it did not work was when I had a more serious skin injury.

comment 7y ago · link · parent

As a developer and systems architect, I really like this. As uset, I hate this so much. On slower connections, I like to load a page, swap tabs, come back later and expect the page to be loaded. This mechanism will now break (and is already brokrn by the usr of these lazy loading libs).

comment 7y ago · link · parent

You seem to assume that the passed-in object should also be used as the resulting object. This is false, as they can be decoupled.

In other words, it's still possible to pass in a separate js object instance containing the configuration.

Yet I'm not sure about the whole of your arguments, so I can't tell if it would actually make sense to wrap the default js builder pattern implementation (the javascript object initializer syntax aaaaaaaaaaab refers to).

However, I do method builders often overused in API's where a simple singular builder method combined with builder classes suffice and simplify.

comment 7y ago · link · parent

But is the increasing complexity (an interpreter added to the codebase) not introducing also another - new - attack vector?

comment 7y ago · link · parent

From a usability perspective, "sketchy" or "cartoony" charts actually serve a purpose. To me, they communicate "the trend is important here, not the precise numbers". This can more acurately convey communication intent as opposed to a precise rendered graph.

comment 7y ago · link · parent

Your page is not only awesome in creating my Catan clone, but also very useful when communicating on it with others. You have set the gold standard or the defacto standard.

If you're interested in my implementation: https://github.com/generateui/jsettlers-web/blob/master/src/... https://github.com/generateui/jsettlers-web/blob/master/src/... https://github.com/generateui/jsettlers-web/blob/master/src/... https://github.com/generateui/jsettlers-web/blob/master/src/...

A hex has a coord. A coord has 6 nodes and 6 edges. An Edge can be created from 2 coords or 2 nodes. A node can be created from 3 edges or 3 coords. The implementation is immutable and memoized.

comment 7y ago · link · parent

The same is so true for programming, in particular OOP. In my experience, code is much easier to change when a loosely coupled set of interfaces is built as opposed to an hierarchy of classes.

comment 7y ago · link · parent

True, but the current state of tooling does not allow for these kind of changes in most published public API's. Even now where e.g. the .NET Roslyn API allows for this, I don;t see it happen often.

comment 7y ago · link · parent

These language features build using the type system are useful, except when you're using them in your API. In that case, they break down as changing the API becomes problematic. A simple example is to change a `void derp(Nullable<SomeType> parameter)` into `void derp(SomeType parameter)`. This is a breaking change, while on the consumer side it is not a breaking change.

comment 7y ago · link · parent

In my experience, this discussion gets convoluted by confusing modularity with monorepo. They are orthogonal to each other; you can have a very modular codebase in a monorepo but also a very coupled (non-modular) codebase with polyrepo.

Though it's true that monorepos without proper discipline can tend towards coupling. Yet, when discussing mono vs poly, we should keep this in mind.

comment 7y ago · link · parent

I have installed doxygen on a handful of projects. In hindsight, it was a waste of time. No one reads generated codedoc, yet everyone just read the code.

Doxygen should be replaced with rendered comments in IDEs/code editors. That's the real solution.

comment 7y ago · link · parent

I suspect there's actually quite a market to develop such UI for. Given a service that standardizes UI over a wide array of applications (web apps, mobile apps, desktop apps), I bet there's a large enough market for it.

Implementation would be interesting and most likely quite hard to achieve, though.

comment 7y ago · link · parent

If you need lexicographically sortable uuids, you have a very different problem.

comment 7y ago · link · parent

Since I presume these asm-compiled .NET BCL binaries are largely immutable, I think they can be cached aggressively. This means that the initial cost of downloading them may be high, but it browsers would support some kind of hashed asm library caching, this cost would be mostly one-off actions.

comment 7y ago · link · parent

I'm very fond of small, specific and simple languages without sacrificing inherent complexity. For me, that includes IP adresses, UUIDs, timestamps, URIs, println formatting, et cetera.

It's a shame though that we don't represent them as such in the current state of affairs but choose to implement them separately in every language. Can we have a fast, universal, feature complete parser generator that is natively supported in our mainstream languages?

For instance, think adding an ANTLR grammar into a .NET project and then be able to just do `var ipAddress = ip"127.0.0.1";` and get full editor support with that.

comment 7y ago · link · parent

Yet `Maybe<T> | Option<T> | ...` is not an option (pun intended), as Rich Hickey explains here: https://www.youtube.com/watch?v=YR5WdGrpoug.

In effect, his argument is: 1) You have `public X Do(Y y)` changed into `public X Do(Option<Y> y)`. This will break your API. 2) You have `public X Do(Y y)` changed into `Option<X> Do(Y y)`. This will break your API.

Thus, do not use Option<T> or equivalent in your API's. Only use a language-supported construct such as C#8's upcoming `string?` and `string`.

comment 8y ago · link · parent

Human languages are also forgiving on the receiving side which is not true for computer languages. 1 wrong character and yiu get an error. This is an important difference when discovering and even using it,l.

comment 8y ago · link · parent

With a language, it is far more important. In a gui I can just click around and see. With tuis, I need to enter a command and hope it is the right syntax.
12345
12