Better HN
topnewbestaskshowjobs
Log inSign up

math

469 karma · joined Oct 27, 2009 (17y ago) · 152 submissions

https://www.matthowlett.com https://twitter.com/matt_howlett
Submissions

comment 7y ago · link · parent

In Blazor, what is sent to the browser is a .NET runtime, then the .net assemblies (which are .NET CIL, not wasm) which the runtime executes. They seem to have this working well, but it's less efficient than, for example, Rust which has no runtime and compiles directly to wasm. C# is very much my goto language, but my eye is currently on Rust in this space because the scenarios where I feel the need for something other than Javascript in the browser are all performance related - i.e. I find React / JSX great for working with the DOM.

comment 7y ago · link · parent

quite the contrary, people are quickly moving away from the .net framework towards .net core, which is now objectively better and moving at a fast pace. I help maintain a popular open source library for .net. We develop on MacOS using VS Code (only use Windows for testing) - the experience is good. We have many large customers (brands you would know), and .NET Core support is important to pretty much all of them.

https://github.com/confluentinc/confluent-kafka-dotnet

comment 8y ago · link · parent

David Cope used lisp for his 'Experiments in Musical Intelligence'. Lisp is very suited to this problem, and it's through his books that I first 'got' lisp (at the time, I was trying to do something similar in Java). Anyone interested in algorithmic composition should absolutely check out his work.

http://www.computerhistory.org/atchm/algorithmic-music-david...

http://artsites.ucsc.edu/faculty/cope/cmmc.html

comment 8y ago · link · parent

It upsets me more to be reminded that governments grant monopolies on not-very-difficult-to-come-up-with ideas such as any of those mentioned in the article.

comment 9y ago · link · parent

Confluent also provide commercial support for it and employ Magnus who developed it.

I've been working closely with librdkafka for a few months now and find it fast and reliable. Many companies rely on it in production. In addition to the Confluent clients, Blizzard has also developed a client that wraps librdkafka for nodejs (which they use in production).

Disclaimer: I work at Confluent.

comment 9y ago · link · parent

Here are my notes on getting Kafka running on a system with limited resources (it's pretty easy):

https://kafka.blog/posts/scaling-down-apache-kafka/

It actually runs well in such scenarios, it's just the default settings assume you're going to be running at large scale because that's what it's designed to do.

As other people say, Kafka is overkill for smaller use cases, but using it sets you up to scale if you need it and it gets you thinking in a good way architecturally.

comment 9y ago · link · parent

My experience over the last few months has been v. good. Earlier (maybe even 6 months ago), my sentiment would have more mirrored that of the parent. The main downside at the moment is many of the packages on NuGet don't target dotnet core.

The above opinion is based on my experience developing a Kafka client library (I use OSX / VS Code) for Confluent https://github.com/confluentinc/confluent-kafka-dotnet as well as a substantial side project.

comment 10y ago · link · parent

I lived in Sydney for 8 months and Brisbane for 4 years. When thinking back, both feel like a distinct part of my life to a surprisingly equal extent. Maximizing the number of distinct phases in your life seems to me to be important in making it seem longer.

comment 10y ago · link · parent

I wrote go-like because I think of C#/.NET and go as somewhat comparable and I'm not aware of any other language in a similar class that produces statically-linked binaries. However I'm pretty ignorant, so would not be surprised if there are many ... examples?

comment 10y ago · link · parent

"I wonder if I’m hurting my chances of future employment by working so long on my own."

Based on my recent experience getting back in the game after 5 years of self directed projects (not all of them software related) I would say definitely don't worry about this... you have something good to show for your time (i.e. readlang) and the skills required to make it are sought after. Most other job candidates will not be able to show this degree of self determination / initiative. Just come across as hyper enthusiastic and you'd be set.

comment 10y ago · link · parent

no - they first mentioned plans for cross platform go-style single binary compilation at connect (one of the videos here I believe: https://channel9.msdn.com/Events/Visual-Studio/Connect-event...) and I'm pretty sure they've subsequently talked about it in more detail in one of the community standups.

comment 11y ago · link · parent

Not anything to do with this CMU effort, but I've been working on a tool for visualization/exploration of large time-series data sets (where time-series are identified by a set of key/value pairs). I wasn't going to tell anyone for another week or so (want to do a blog post, screen-cast, fix some bugs first..) but it seems appropriate to mention it here.

http://www.datavstime.com/

By default, it connects to a simulation data source which has limited functionality. If you have a prometheus database, you should point it at that (note: I never see your data - it remains local to your browser).

It's still rough around the edges, quite buggy and there is lots of optimization work to do, but it's getting useful I think.

comment 11y ago · link · parent

yeah. I actually suggested that to someone who sells an industrial historian and his response (believe it or not!) was that no, there is too much data, a relational database solution is no good (and by the way! the business model of inductive automation will never work!)

I'm sure writing would be no problem, the only thing I wonder about are complex (aggregating) queries in situations where you care about delays (interactive visualization perhaps).

comment 11y ago · link · parent

On this, I get a lot more upset with those setting the rules than those playing the game.

comment 11y ago · link · parent

For it to get popular I think a friction-less way of adding bookmarks is a key requirement (I'd very likely use it then - have been looking for something like this)

comment 11y ago · link · parent

you could allow free use of patents under a license that requires the entity doing so to also allow free use of their patents. If you believed the patent system is largely counter productive (as I do), this would be an awesome way of trying to address this a constructive way.

comment 11y ago · link · parent

These guys seem to think relational databases are a valid alternative in the process automation world, and seem to have made a successful business around the idea:

https://inductiveautomation.com/news/process-historians-vs-s...

[I have no data on how well their product performs in practice]

comment 11y ago · link · parent

On that page I was basing my opinion on woeful animation speed, but now I think that's probably some issue with events. Ok, here's what I'm working on: http://www.datavstime.com/horizons - i think the following are all much slower in firefox: [1] axis rendering (svg) [2] updating the date/time text in the text input elements (currently causing worse horizontal scrolling performance) [3] the value overlays (text in divs), which don't update as quickly when there are lots (say > 100) of them. The bulk of the page is WebGL which is fast in firefox (that said, I currently have a flickering problem). Note: I have plans to work around all this, but just haven't implemented it yet...

comment 11y ago · link · parent

on a mac.

SVG for sure, eg: http://mbostock.github.io/d3/talk/20111116/bundle.html

I'm pretty sure other things as well including text and updating text in a text input element, though I haven't debugged the performance issues fully yet.

comment 11y ago · link · parent

I've found the gap in rendering performance between chrome and firefox to be enormous (in a number of areas) - didn't realize this until I started doing some pretty intensive visualization stuff lately. are those numbers you cite just javascript benchmarks?

comment 11y ago · link · parent

indeed. "Almost everything--all external expectations, all pride, all fear of embarrassment or failure--these things just fall away in the face of death, leaving only what is truly important. Remembering that you are going to die is the best way I know to avoid the trap of thinking you have something to lose. You are already naked." - Steve Jobs

comment 11y ago · link · parent

gRPC is probably worth mentioning in this thread (new since the article), though I haven't used it yet and have no idea if it can satisfy his asynchronous requirement.

He considers using message queues and dismisses the idea because "you're still on your own in implementing an RPC mechanism on top of that. And for the purpose of building a simple RPC mechanism, I'm convinced that plain old UNIX sockets or TCP will do just fine.".

In my experience, getting an arbitrary sized message from A to B over a potentially unreliable network is the difficult bit and implementing a basic RPC mechanism is pretty easy. I did a project that required a lot of IPC and ended up using nanomsg (also not mentioned in the article.. it's very similar to zeromq) for [fast] reliable message delivery and wrote my own basic RPC layer on top of this (NanomsgRPC - currently C# only ..). This worked pretty well for me.

A note on nanomsg though: I wouldn't consider it stable enough for production use, but that said, it didn't give me any problems for what I used it for.

comment 11y ago · link · parent

Two points here:

1. I'm more inclined to judge a policy by the net benefits to society rather than specific participants in it.

2. I actually think the patent system favors large enterprise more often than it does small companies. For a number of reasons. One of them being so much is patented you need a large portfolio of covering things your competitors are probably infringing on as a deterrent from them suing you or counter attack if they do. etc. As a small player, you can't do this.

Your example is perhaps one of how the system was envisaged to work - though I'd be interested to know how you go if ever you needed to finance legal proceedings against a big corporate.

comment 11y ago · link · parent

For me, .NET Core and ASP.NET 5 are the most exciting things going on in this space at the moment. On Linux, it's all still too buggy to be usable in beta5 (the version shipping with VS2015), but the vibe I'm getting from the weekly standups is they are going to start prioritizing this very soon and it's going to be very usable on a 3-month time frame.

comment 11y ago · link · parent

Yes, I think there would be some system of government sponsorship that would more efficiently deliver the same benefits to society. On the other hand, you can probably rely on governments to screw it up, and it's a tricky issue so I'm open to changing my mind (on extremely high cost to develop patents only).

comment 11y ago · link · parent

Most of the time, I don't think you do. I think innovation is still going to happen anyway. For example, I think companies would have still made mobile phones and furthermore I think they would be better without patents because one maker wouldn't be arbitrarily restricted from using some idea-that-was-going-to-happen-anyway-because-the-time-was-right because another patented it. What is lost in monopolies is more than made up for in reduced overhead and ability to move quicker and come up with superior solutions because you are allowed to build on more ideas than you otherwise would. In some instances perhaps patents do act to expedite innovation (instances where time/cost to market is very high), but I think these are in the minority and that there is probably a better legal / tax / grant / political solution to that than granting of monopolies on ideas.

comment 11y ago · link · parent

The CLR offers a lot of functionality that the JVM doesn't (see Someone123's comment) - which in my opinion makes is it a lot more compelling - so in that way it is more sophisticated than the JVM.

A reference to back your statement up would be great... (i couldn't find a good one quickly). Are you aware of the capabilities of the CLR's next generation RyuJIT? What you say is at odds with what I thought, but I'd love my perceptions to be corrected if they are indeed incorrect.

comment 11y ago · link · parent

user CHY872 says it much better than me :-)
123456