Better HN
topnewbestaskshowjobs
Log inSign up

ola

380 karma · joined Apr 7, 2008 (18y ago) · 69 submissions

Submissions

comment 2y ago · link · parent

Here is a link directly to the example https://github.com/turborpc/turborpc?tab=readme-ov-file#exam...

2.

Show HN: My weekend project to end Go/TypeScript boilerplate hell(github.com ↗)

3 points · by ola · 2y ago · 3 comments

3.

Deepmodules: Analyze Depth of Go Packages(github.com ↗)

2 points · by ola · 2y ago · discuss

4.

Show HN: tRPC for Go(turborpc.github.io ↗)

1 points · by ola · 2y ago · discuss

5.

Show HN: Go RPC with automatically generated TypeScript client(github.com ↗)

1 points · by ola · 2y ago · discuss

6.

Facebook to Pay $40M Under Proposed Settlement in Video Metrics Suit(hollywoodreporter.com ↗)

149 points · by ola · 7y ago · 36 comments

comment 8y ago · link · parent

I phrased that badly, these aren't individuals inside the company but people we play against or play with if we don't have enough for full teams.

comment 8y ago · link · parent

It's not only Twitter or politics. I've been playing some Heroes of the Storm as team building with my company and when we are not a full team the toxicity can get intense, with some people going far beyond just in match flaming to harassing with death and rape threats in direct messages long after the match is over.

Mind you this in a no-stakes free to play game and the phenomenon seems common. Sometimes I think our culture is not ready for a substantial part of our communication not to be face to face.

comment 8y ago · link · parent

It still baffles me that the official response from the IOTA foundation is that the vulnerability was inserted intentionally as copy-protection.

And even more baffling that their flagship partner Bosch does not seem to have problem with this practice.

comment 8y ago · link · parent

> The first explanation was that the flaw was intentional—that it was meant to serve as a form of “copy protection.” If anyone used this code in their own work, he said, the IOTA developers would be able to exploit the flaw and damage other systems that were using the hash function.

Is this a common practice in the cryptocurrency community? Seems sort of pointless to put flaws and bugs in an open source project as copy protection instead of just keeping it closed source.

11.

Show HN: Pocketplace: a mini version of /r/place using golang and websockets(github.com ↗)

15 points · by ola · 9y ago · discuss

comment 9y ago · link · parent

This article purposefully misrepresents React in favor of the author's own framework Binding.scala, all the criticism are either superficial like class being className (which is a good thing because JSX is not HTML) or has nothing to do with React like JavaScript's dynamic typing system and handling of asynchronous updates.

He also seems to believe that React is framework when it's a library, if his knowledge of React is so shallow that he didn't even read the first sentence on the React website I can't take his opinions on it seriously.

I don't like these kinds of articles which are only thinly veiled advertisements that do not offer any thoughtful criticisms, what I would really like is to hear from someone who has actually worked on a huge project which includes React and what troubles if any they ran into.

comment 10y ago · link · parent

I am of the same opinion, always go for correctness before performance, efficiency can be tuned later if it's even needed.

comment 10y ago · link · parent

I created something similar a month ago

https://github.com/olahol/reactpack

Doesn't seem like this project differs that much, although this looks to have the backing of core React developers.

comment 10y ago · link · parent

> If the Article 50 was not sent today, the very day after the Leave result, there is a strong chance it will never be sent.

https://twitter.com/DavidAllenGreen/status/74644174247232307...

16.

Has article 50 been invoked?(hasarticle50beeninvoked.uk ↗)

2 points · by ola · 10y ago · 2 comments

comment 10y ago · link · parent

It's just an example to show what type of code `reactpack` builds, ES6 and JSX with style loading in this case. If you want a more minimal React-like build you can switch out React with lightweight alternatives like Preact or React-lite.

comment 10y ago · link · parent

Thank you :) I made it in gnome-paint, the shrubbery symbolizes okayish development practices.

comment 10y ago · link · parent

Just a small utility for people who are tired of remembering what babel presets or Webpack loaders they need to build a relatively up to date React project.

20.

Show HN: Reactpack – one command to build your React front end(github.com ↗)

108 points · by ola · 10y ago · 45 comments

21.

A compiler for a fully Turing complete language in 20 lines of JavaScript(github.com ↗)

15 points · by ola · 10y ago · 4 comments

comment 10y ago · link · parent

You are loading things over HTTP instead of HTTPS (Mixed content warning). Change

http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.mi... => //cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js

comment 10y ago · link · parent

The analyzer is just for show, this is the code that runs it:

http://pastebin.com/w00xTRrU

If you look at max_errors there looks to be always at least 7 errors.

I think a better way of doing it would be to make the error generation deterministic on the url input.

comment 11y ago · link · parent

It's using the standard `flag` package that comes with Go, as for why `flag` parses args this way I don't know.

comment 11y ago · link · parent

Useful tool for what is a very common task, nice work jgrahamc!

26.

Show HN: Viewdiff – preview your diffs in an electron app(github.com ↗)

3 points · by ola · 11y ago · discuss

comment 11y ago · link · parent

My favorite passage from David Hume's work `An Enquiry Concerning Human Understanding`

“Where am I, or what? From what causes do I derive my existence, and to what condition shall I return? ... I am confounded with all these questions, and begin to fancy myself in the most deplorable condition imaginable, environed with the deepest darkness, and utterly deprived of the use of every member and faculty.

Most fortunately it happens, that since Reason is incapable of dispelling these clouds, Nature herself suffices to that purpose, and cures me of this philosophical melancholy and delirium, either by relaxing this bent of mind, or by some avocation, and lively impression of my senses, which obliterate all these chimeras. I dine, I play a game of backgammon, I converse, and am merry with my friends. And when, after three or four hours' amusement, I would return to these speculations, they appear so cold, and strained, and ridiculous, that I cannot find in my heart to enter into them any farther.”

123