HN user

dlib

632 karma
Posts23
Comments95
View on HN
www.moonbitlang.com 10mo ago

Value type and bits pattern in MoonBit, 30% faster than Rust

dlib
1pts0
www.moonbitlang.com 1y ago

Introduce the Elm Architecture to MoonBit

dlib
4pts0
www.moonbitlang.com 1y ago

Introduce the Elm Architecture to MoonBit

dlib
6pts0
dockyard.com 2y ago

Fine-Tuning Code Models in Elixir: How to Create a Code Copilot

dlib
2pts0
www.youtube.com 2y ago

LiveView Native 0.2.0-beta.1 Getting Started [video]

dlib
2pts0
dockyard.com 2y ago

LiveView Native: Key to Fast, Affordable, and Efficient Mobile App Development

dlib
4pts0
www.roc-lang.org 2y ago

Roc – A fast, friendly, functional language

dlib
305pts173
fly.io 2y ago

Star-Crossed LiveView Processes

dlib
2pts0
moonbitlang.com 2y ago

Moonbit: Fast, compact and user friendly language for WebAssembly

dlib
313pts152
www.economist.com 10y ago

Beware the cult of Xi

dlib
4pts0
fivethirtyeight.com 10y ago

A Plagiarism Scandal Is Unfolding in the Crossword World

dlib
4pts0
benmccormick.org 10y ago

Lessons Backbone Developers Can Learn from React

dlib
2pts0
www.benhorrix.com 10y ago

The Grid: Certainly Misguided, Probably a Scam

dlib
189pts78
www.washingtonpost.com 11y ago

Start doing more things alone

dlib
199pts107
rspec.info 11y ago

RSpec 3.2 has been released

dlib
1pts0
www.digitalocean.com 13y ago

Development Environments Made Easy with Vagrant and DigitalOcean

dlib
2pts0
blog.rstudio.org 13y ago

Introducing Shiny: Easy web applications in R

dlib
2pts0
www.motherjones.com 13y ago

Inside the Obama Campaign's Hard Drive

dlib
1pts0
mewo2.github.com 14y ago

Eurovision statistics: final predictions

dlib
33pts11
blog.finette.com 14y ago

Never Walk - A talk about entrepreneurship and running

dlib
2pts0
www.freakonomics.com 15y ago

What Chess Tells Us About the Value of Perception

dlib
8pts0
curiositycounts.com 15y ago

How Journalists Data-Mined the Wikileaks Docs

dlib
44pts1
www.vanityfair.com 15y ago

Beware of Greeks Bearing Bonds

dlib
1pts0

In this specific case it is also because Absinthe/graphQL subscriptions are built upon Phoenix channels so if you plan to use subscriptions, Phoenix is the easiest route.

Phoenix also is pretty minimal layer over Plug, especially if you don't include the html library.

Very interesting, definitely gonna try this out as I have seen similar use-cases.

Any change Github is at anytime going to show the specific merge-conflicts for a PR that cannot be merged?

Got this book as well, it's fun to read through and I can impress friends with simple yet tasty recipes. Bought it mostly because I'm a huge fan of seriouseats and Kenji's posts especially, so I try to show my support.

I second this, also I'd like to see an overview of the (files with) merge conflicts if any instead of a message saying the PR can't be merged. Fixing the merge conflicts might be another thing in the web interface would be cool but I guess I'll stick to the CLI for this.

For completeness I would include the closed form solution in a discussion of linear regression. In matrix notation is fairly simple and it's easy to follow how it falls apart when the assumptions underlying linear regression are not present in the data you're working with (homoskedasticity, independence of errors etc.)

Playing the devil's advocate but isn't Apple hindering web standards a strategy to keep people using the apps from the AppStore. On mobile, where the iOS market share is huge and it's impossible to use any other rendering engine it would be hugely beneficial to stifle progress as native apps and thus the lock-in they provide, will keep the upper hand.

Unintended side-effects like these are why I prefer to stick to normal fixtures. They get the job done and save me from adding another dependency to my projects. Fixtures are also pretty straightforward and keep me from learning yet another DSL. I'm sure FactoryGirl has valid usecases but it's not for me.

Passenger is open source and has an enterprise tier. Though written in C++ they very much serve the Ruby world.

Nonetheless, I agree with your point that this model may not be suitable for every business.

The Strava route builder incorporates the popularity of other users routes when you plan your own. So, in an extension to the normal find-shortest-path algorithm between two points, penalties are given to paths not used by other users or bonus given to those that are popular. The result is that you end up with the better roads to ride on. Especially on the bike this is really useful as I can plan new routes in unknown areas and they are pretty good.

For running I found it remarkable how these heatmaps show the inclination to run along water bodies or in forests. It can almost perfect predict where I would or wouldn't run.

No wrong choice I think, mostly personal preference. If you know Python I'd stick with that, iPython notebooks with pandas etc. is a solid choice. R might be a little harder to start with, sapply/lapply can be confusing but there's plenty of info and libraries on the web to make your life easier. For plotting, ggplot still wins over matplotlib in my opinion but Python has other strengths.

Indeed, when I come across empty lines, white space at the end of the lines etc. I remove it all, commit it and then start actually changing the code. White space in diffs is distracting from the actual changes.

They would also be able to move operations to places where energy is cheaper or sea water temperature is cooler. In general, it could be used to minimize costs looking at a variety of factors. I'm still curious how they will connect to the mainland. A fibre connection would hamper the flexibility of having a boat. Employees would rather live on the mainland than on a boat. So perhaps they the boat is stationary and will enjoy the ample amount of cooling water and potential energy the waves create.

Ggplot2 for python 13 years ago

Indeed, there's some incredible work put into the Python data analysis toolkit. Pandas is very impressive. However, no GGplot was holding me back from switching but this and improvements to other graphing libraries really make me want to use Python in my next projects.

I always enjoy the 'From this we can easily infer that' as I on more than one occasion had to work pretty hard to get to that easily inferred result. Either, being experts in the field the result is indeed not difficult for them to get at or the authors mock my intelligence. I assume the latter as I enjoy a little humour in my math books, even if it is at my expense.

I find this quite plausible, with or without the knowledge of Page, Zuckerberg et al. the NSA might very well have the private keys of these companies. I would not be surprised if the CEO's of these companies choose to be ignorant of the NSA's methods to not have to lie to the public, shareholds and Congress.

Also, given that the world's best engineers work at either high-tech companies or the NSA there will be some who have switched between these industries, giving the NSA/CIA a headstart to get any information these companies hold through old-fashioned spy-tactics.

Indeed it was, the resistance movement tried bombed the office keeping the census data in Amsterdam in 1943 since it was so effective for the Nazis. It kept the data of over 70.000 Jews in the Amsterdam. The resistance was active in forging identity cards and having the population registry destroyed meant that there would be nothing to compare the identity cards to. Unfortunately, the bombing only resulted in the destruction of 15% of the data. Many of the resistance fighters involved were executed shortly after.

Indeed, the Guardian's recent track record is remarkable. It takes a lot of guts to defy the powers that be again and again. All the journalists involved must live under the assumption that their phones are tapped and their travel patterns monitored. The Guardian must be a major target for intelligence agencies.

What if I permit a site to autocomplete my email, address etc. but not my credit-card. Then, after the permission is given the form is changed to ask for a credit-card.

I'm sure this is all thought trough but I'll wait for a bit before using this.

Exactly, there is definitely a market in further improving Python as the go-to language for scientific computing. Matlab shines with its toolboxes and Python has a long way to go in that respect but as a language is much better thought trough. When I read "Matlab in the cloud" I also figured they simply meant a Python in the Cloud toolset with the appropriate environments/libraries/IDEs.

In the Netherlands, Chinese investors are building a factory to produce baby formula that will export the baby formula back to China. There are in fact limits to how much baby formula you can buy in Dutch supermarkets due to the Chinese demand. I'm always amazed at how money flows, to where profits can be made.

Frisian is an official language recognized by the Dutch government and the EU, in fact it is one of the two official languages of the Netherlands. It is taught in schools and spoken at official policy meetings.

Nonetheless, your point still stands as I'm sure there are valid examples of 'no army, is dialect'

Wow, pretty cool.

I see you can only use the API to generate the PDF's. I'd love to be able to upload an csv/xls file and use the columns as variables. Writing invitations/letters/labels to a lot of people happens occasionally and not having to dive into the code but simple use point-and-click to personalise the documents would be cool. I'm aware Word has this functionality but I think improvements can be made in simplicity. Pre-set templates for labels might also be useful.

I like Pandas and I'd like to move to Python for my data analysis. Python is a beautiful language I can use for many other purposes than just data analysis. I find it more readable and self-documenting than R.

Nonetheless I use R, ggplot2 is excellent and its graphs are better looking than matplotlib. I really like R Markdown for intermingling R and Markdown in your code. I suppose Ipython is the python equivalent. R especially shines with its numerous libraries.

Anyway, for every project I debate whether to use R or Python, perhaps I should look into rmagic/rpy2 for iPython as a go between.

After long, long e-mail discussions over plans with friends I also started using this approach. Just go, see who comes along. Makes organising much easier, and somehow I also care less if friends don't show up. It's my party, the more the merrier but if you're not there, your loss. Wish I knew this two years ago, would've saved me quite some time and hassle.

I live in Holland and the dedicated bike paths here make cycling really safe. So safe that I don't see the use for this bike light here in the Netherlands although it will probably have a marginal benefit. However, last summer I rented a bike in London and it was truly terrifying. Never before have I felt so unsafe in traffic before, anything to improve this situation would be great. Nonetheless, proper training of drivers so they are more aware of cyclists and dedicated bike paths would help immensely.