Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mkawia
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
1.
▲
by
mkawia
9y ago
AMP is also literally breaking internet. People share google.com/amp links,sometimes there'd be no preview and hard telling what the actual website being linked is.
2.
▲
by
mkawia
9y ago
It's a resource problem. The average website is in megabytes(that's expensive in emerging markets), loads lots of JavaScript on small devices draining battery. Even if we take Louis CK's standard, a lot of sites would take mo
3.
▲
by
mkawia
9y ago
Rust aims to be mainstream hence the effort to improve ergonomics and marketing,documentation. Or atleast safe systems programming to be mainstream.
4.
▲
by
mkawia
9y ago
I'd even prefer the golang way of error handling by `if err!= nil` over exceptions, treating errors as values is so much better
5.
▲
by
mkawia
9y ago
On mobile that's a big deal. But on the other hand jQuery unlike MVC/virtualdom frameworks loads asynchronously and adds behaviour to static html ie it's non blocking.
6.
▲
by
mkawia
9y ago
That's quote ,a library that generates code for you at compile time ,it takes code as input,has it's own syntax. It's like compile-time reflection. It's not code rust programmers would normally write, I'm one of tho
7.
▲
by
mkawia
10y ago
I don't understand why the downvotes , JS is one of the most target languages. Elm,GHJS(Haskell),Purescript,Clojurescript and supersets like Typescript which come with their own toolchains.
8.
▲
by
mkawia
10y ago
When in doubt be extra safe.
9.
▲
by
mkawia
10y ago
Long time ubuntu user here , I 'd change the wallpaper and install some basic software and that's it . I'd use and installation for ~2 years
10.
▲
by
mkawia
10y ago
As rust developer from a higher-level languages , I really struggled with that ,then I discovered format!() macro ,maybe they should make it more visible to new developers.
11.
▲
by
mkawia
10y ago
Think as an author of a function that does something that can fail . the signature ;"fn risky_shtuff() -> Result<Response , Err)" Rust guarantees to you as the author who ever uses this function HAS to handle both cases (eve
12.
▲
by
mkawia
10y ago
Go promotes the pattern of dealing with errors ,which to be fair I think is an improvement on exception based handling. But rust compiler forces the user of a function to handle error .it's impossible to 'val ,_ = getValOrErr()&#
13.
▲
by
mkawia
10y ago
Isn't it common sense for a person who's been writing programs in a high level programming language to use a safe low level programming language.
14.
▲
by
mkawia
10y ago
I see it like; smart,disciplined programmers are capable of writing complex programs in dynamically typed languages without making as many errors.
15.
▲
by
mkawia
10y ago
It's was meant to be there , It's a feature ,Going for the option/maybe types would have been too much according to it's designers.
16.
▲
by
mkawia
10y ago
angle brackets ,we decided long time ago we hate those :)
17.
▲
by
mkawia
10y ago
App engine app's clients use gRPC to connect to datastore , as far as I know
18.
▲
by
mkawia
10y ago
I wish there was a way/documentation to embed in a vanilla js app ,like with IIFE or something instead of required the whole <div id="app"></div>
19.
▲
by
mkawia
10y ago
Still no service worker
20.
▲
by
mkawia
10y ago
I have something similar , I've extended the http code by adding a extra digits,it's for business logic errors . So http 4000 is bad request , but in the business logic terms
21.
▲
by
mkawia
10y ago
Isn't Rust's biggest advantage is safety , I make websites with golang , I can't stand the nil-ness and all the mutation mess I easily get myself into, could use a safer type system. Sometimes you just need safety and correct
22.
▲
by
mkawia
10y ago
So like a lite developer advocate
23.
▲
by
mkawia
10y ago
Yeah ,There are no good guys here. Criticizing Thiel shouldn't be confused with supporting Gawker , because we don't know who Thiel might choose to punish next
24.
▲
by
mkawia
11y ago
Google Play was poorly made https://play.google.com/store/apps/developer?id=itdisplayswh...
25.
▲
by
mkawia
11y ago
I could see a use as some sort of a Control panel.
26.
▲
by
mkawia
11y ago
The whole thing is 194KB ,a normal TODOmvc demo of your favourite Js framework goes above 250KB . Really Impressive stuff. really motivates to build slimmer web apps
27.
▲
by
mkawia
11y ago
Exactly! if you are building like some custom CRM-ish application ,Bootstrap is really helpful. Your users(and clients) won't care that the buttons are not flat or that it looks like many other applications ,if anything that's a p
28.
▲
by
mkawia
11y ago
So slap an http api ? Building native apps is hard unless you are specialized , but puking up some html and json is easy ,hence building a blog is usually good for introduction.
29.
▲
by
mkawia
11y ago
As a social network it has failed , But as an Identify Platform it's really good . My g+ profile while doesn't have many posts like facebook/twitter or instagram but has the most data ,my search history,my app downloads,youtu
30.
▲
by
mkawia
11y ago
that 1.2Mb gets cached. Infact that will make the site faster because once the .js are downloaded only json/partials will be fetched when visited again. It must be the backend ,ie when tasked to render the same page ,which backend wou
More ›