Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tanin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
211.
▲
by
tanin
7y ago
Gradual light exposure is a good point. But I'd say light increases according to its own schedule... it doesn't take our need to sleep into consideration. Absorbing light after waking up is an activity that I agree with though. I
212.
▲
by
tanin
7y ago
I understand your reasoning completely. One major assumption that your reasoning relies on is that: human can't adjust their sleep cycle at all. My unscientific assumption is that we can adjust our sleep cycle to be earlier. But it
213.
▲
by
tanin
7y ago
I unscientifically believe that we shouldn't use an alarm clock or any kind of trigger to wake up. My rational is: if your body has enough sleep, it'll wake up on its own. On the flip side: it's actually very hard to sleep wh
214.
▲
Stripe Launches in Malaysia (with bank transfer support)
(stripe.com)
2 points
by
tanin
7y ago
|
0 comments
215.
▲
by
tanin
7y ago
Recently, I encountered Cookies API that befuddled me. For example, to set Cookies: document.cookie = "username=John Smith; expires=Thu, 18 Dec 2013 12:00:00 UTC; path=/"; To erase it: document.cookie = "u
216.
▲
by
tanin
7y ago
Great blog. I haven't used PEG and have learned a lot from this post. However, handling left-recursive in PEG seems complex. I've recently written a Java parser by hand ( https://github.com/tanin47/javaparser.r
217.
▲
by
tanin
7y ago
I can share my maybe-unrelated-experience. I'm working on a Java parser/semantics analysis in Rust, and it'll replace the current semantics engine of https://lilit.dev . We are processing 100,000 Java files at a ti
218.
▲
by
tanin
7y ago
Ergodox. In general, we should move away from the standard keyboard because it puts too much work on the right pinky, which is the weakest finger. We should utilise our thumbs more. Ergodox achieves that goal and reduces the chance of RSI.
219.
▲
by
tanin
7y ago
Heroku Postgres + Heroku + Any framework that you are comfortable with For me, it's Play + Vue (shameless plug: https://github.com/GIVESocialMovement/sbt-vuefy ). The real time sink is not development. It's op
220.
▲
by
tanin
7y ago
I don't get how L5 EM and L5 IC are seen as the same level. Based on the number of responsibility items, L5 EM has like 16 items. L5 IC has 8 items. L6 IC and L5 EM seem more comparable.
221.
▲
by
tanin
7y ago
Shameless plug: I'm building lilit.dev, which is a "true" Java code intelligence on browser ( https://news.ycombinator.com/item?id=20228115 ). It's true in the sense that the features like jump-to-definiti
222.
▲
by
tanin
7y ago
I agree with every point here. And, wow, you did explain it very well!
223.
▲
by
tanin
7y ago
I wanted to point out how the cost of eating out compared to other expenses and income within a country. Thailand's cost of eating out is quite small compared to other expenses and income in Thailand. As the other comment explains it,
224.
▲
by
tanin
7y ago
> Eating out is a luxury. This would be one difference. In Thailand, we eat out to fill our stomach. We usually don't consider it a luxury. We also don't care much about services. If anything, I am a bit annoyed about the high-
225.
▲
by
tanin
7y ago
Might be off-topic, but in general, US is very harsh on poor people. Apart from healthcare, Two more things that are harsh on people that don't have money (like students) are: 1. You need a car, which costs thousands of dollars (depend
226.
▲
by
tanin
7y ago
Oh no. I didn't read your comment that way at all. But thank you anyway for being proactively courteous about it.
227.
▲
by
tanin
7y ago
You're right. Native English speakers must have some sort of hard time with English words being repurposed. I remember at work a colleague asked "how do I kill chubby slave?", which didn't sound strange at the time, sinc
228.
▲
by
tanin
7y ago
Yes, Scala also supports named parameters, though there is still risk when we don't use it. A while ago, I actually made a Scala compiler plugin ( https://github.com/GIVESocialMovement/scala-named-argument-c... ) th
229.
▲
Risk of Misplaced Arguments in Java
(lilit.dev)
5 points
by
tanin
7y ago
|
4 comments
230.
▲
by
tanin
7y ago
From your 'death tractors' example, now I understand why people are debating changing 'master-slaves' to 'leader-followers'. Thais wouldn't want to call their machines (or anything or anyone) 'slave&#
231.
▲
by
tanin
7y ago
I used to think about this when I was a student. I could totally make a programming language in Thai. Surprisingly, one of the main issues that I thought of was a cultural one. Thais culturally don't use a single word to encapsulate co
232.
▲
by
tanin
7y ago
Thank you. Are you joining as well? Would love to learn about your startup :)
233.
▲
by
tanin
7y ago
I'm joining Startup School this year; I'm building lilit.dev (Java code intelligence on your browser), and it's in private beta right now. So, great timing for me. See you all!
234.
▲
by
tanin
7y ago
My belief might be outdated. But don't we need to pay for Windows server license per machine?
235.
▲
by
tanin
7y ago
Yes, that was it. It was also way shorter than what I imagined/wanted.
236.
▲
by
tanin
7y ago
> The program claimed that hair length can affect human intelligence This was, and (maybe) still is, a wisdom in Thailand, but for different reasons. I was in high school in ~2002. My knowledge could be outdated. I hope they have changed
237.
▲
by
tanin
7y ago
They gave two reasons, which are risk of security and eating your own dogfood. Those seem reasonable. Can anyone explain what the point of this article is? I read it and can't see one.
238.
▲
by
tanin
7y ago
Could you elaborate more? I'm a bit confused. The first one seems to do the wrong thing because there is no mention of any stakeholder at all. Getting it working first is great though. The second one seems to do the right thing by demo
239.
▲
by
tanin
7y ago
I like the abstraction that web components provide. An encapsulated of logic, view, and namedspaced style is great. I can build things like a button with a loading icon. But I can use Vue's component which don't care about the sta
240.
▲
Show HN: Lilit.dev - Java code intelligence on GitHub
6 points
by
tanin
7y ago
|
0 comments
More ›