Hacker Newsnew | past | comments | ask | show | jobs | submit | TronPaul_'s commentslogin

I imagine Lucene would have fit the use case better than Elasticsearch, especially if the author found SQLite to work well. Given that the indexing and searching seems very minimal SQLite seems like the right choice, but more people should really know about Lucene. It's a great library and I've used it directly rather than go with ES for some smaller, or local projects.


I've looked at possibly seeking employment in NZ, but most of the shops (at least the one posting on the sites I've searched), are .Net or MS shops, which I'm not too terribly interested in. Hopefully this job fair will have a bit more diversity.


144hz monitor here. Pretty sure the game is tuned for 60fps and thus 144hz monitor is playing like turbo speed.


Same :) requestAnimationFrame is a very short tick on 144hz monitors.


What would be the best way to throttle fps and ensure compatibility between different refresh rates?


You count the time since the last update, wait for the time to accumulate over the update threshold, run the update loop with a fixed time-slice enough times to match whole number of frames. Let the carry over perpetuate to the next frame.

At 144hz with a fixed time-slice set for 60hz, you'd have one update on the 2nd, 4th, 7th, 9th, 12th, 14th, etc. frames.


The best way is usually to not tie game state to frame ticks. See Bethesda's Creation Engine https://www.youtube.com/watch?v=Yuyp-S7FPNI for why that's a bad idea.


Does RAF really run at 144hz on those monitors? That's surprising... and means I probably need to fix some code before those get more common.


It's a W3C recommendation that it runs at the native refresh rate of the monitor. I made a pen not too long ago for comparing different types update loops for different browsers. http://codepen.io/SeanMcBeth/pen/MaMjbZ

I tried to stick to statically allocated values, but there is clearly some sort of GC happening in Firefox. Chrome is stable, but Internet Explorer is extremely noisy.


Having a daily short, informal, morning meeting certainly helps us. You don't need to be standing up to have "standup". Dogma for dogma's sake is the king of anti-patterns.


For what it's worth, I have noticed that actual stand ups are shorter. When people settle in and sit they tend to start rambling. It is hard to convince people to actually stand though without being dictatorial. Here's a study of undergrads (so take it with a grain of salt) that shows that they are in fact shorter:

http://nymag.com/scienceofus/2014/05/work-smarter-for-shorte...


I think that's true. When I had a local team we stood, and the meetings seemed shorter. With global or national teams, that's a bit harder.

I have found for phone/web "standup" meetings, that the person running the show needs to set the pace and keep it moving along. Nice and short, keeps the team informed and gets help were its needed.

On the other hand, I've had leads who just let people ramble non stop, and doing that for weeks was just wasteful and demoralizing.


Standing up is not dogma. Every description I've ever read of standups explains why you should actually stand. Read the article.


To be fair, they mention(with no sources) physiological benefits to standing up.


I was waiting for the /s as well.

Having spent some time on the internet I've spoken and chatted with people for whom English is a second language. Are you telling me that their deficient understanding of English indicates a lack of morality? Is the English language a religion now? Guess I didn't get the memo.


related: http://languagelog.ldc.upenn.edu/nll/?p=18667

The author is the daughter of Czech emigrants, writing about her experience visiting the Czech Republic, with an focus on the difference between learning a new language as an adult and re-learning a language you once knew. From the link:

> There can be a striking lack of accommodation or cooperation on the part of listeners [in rural Czech areas]. Once, when traveling with my brother, I watched him flounder in Czech at a small town gas station, trying to convey which pack of cigarettes he wanted to purchase—he had forgotten the brand name, and was trying to describe the appearance of the package. Ignoring his pointing gestures, the cashier sat stone-faced through his attempts. When she finally identified what he wanted, she tossed the cigarettes on the counter, saying contemptuously, “As you can see, the package is red, not pink.” My brother apologized, “I’m sorry, my Czech is very bad.” “I can see that,” she replied without cracking the slightest smile.

Experience with second-language learners is, speaking broadly, vanishingly rare among humans. Most people never meet any language learners. The rural Czechs are going by a rule of thumb: someone speaking that badly is more likely to be severely mentally retarded than anything else. (And they're correct about that! If they started seeing a flood of foreign tourists with rudimentary Czech, they'd adjust accordingly.)


It's not just the fact that they're low-cost loans. They're almost zero-risk loans (you can not declare bankruptcy on student loans), which benefits lenders and encourages schools to increase prices.


I was all excited until I read that on the Google Play page for the app.


I was a student very recently and if I class was boring, or too easy (easy enough I could get by without good notes) I distracted myself, with or without a laptop. Most Mathematics professors don't allow laptops to be brought to class, so I planned out personal projects, made UMLs, and at one point wrote shitty poetry if I got bored.

If he's going to ban laptops, I hope he refrains from reading off powerpoint slides. Any professor or teacher who does has given up their right to be mad if students aren't paying attention.


Needs a crossover endpoint that takes a url (and schema) for another universe's API


I started running into that problem quickly as well. One of the examples I crib off of is Overholt (http://mattupstate.com/python/2013/06/26/how-i-structure-my-...). It still feels strange in places, but it's the best I've seen so far.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: