Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
psyklic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
331.
▲
by
psyklic
9y ago
> the more red pixels you have on the screen already, the less likely is that you hit a new yet-not-red pixel, so the final pixels take forever to turn red This would be true when using the built-in random number generator, modding the r
332.
▲
by
psyklic
10y ago
I cofounded a social discovery company a while back, so have thought through similar issues. Consider a dating site -- at the minimum, it must laboriously onboard a number of users at each location. Your site faces a much more difficult cha
333.
▲
by
psyklic
10y ago
I had a required 7:30am class my freshman year. The professor started each class by rapping her ruler on the front table to startle everyone. Then, she individually called out people who nodded off. What a nightmare.
334.
▲
by
psyklic
10y ago
I suggest doing lots of problems. Here are a few excellent resources that concentrate on teaching "problem solving" in math from the ground up: + Brilliant -- https://brilliant.org . Fun problem-oriented introductions t
335.
▲
by
psyklic
10y ago
Many top people have been very self-motivated at some point in their lives. When you experience this, you can sit down and work on problems in flow day after day without fatigue -- even when the going is rough. It feels like solving a puzzl
336.
▲
by
psyklic
10y ago
>> When we tell people we have a native app, they get it. People go to our apps page, download the installer and see everything exactly as they expect things to be. The term "native" is used to describe apps developed for a
337.
▲
by
psyklic
10y ago
It's all about who to trust. Science sometimes gets it wrong for a while, as do some scientists. However, I would trust expert academic financiers over someone who by luck happened to have a good year with his or her stock picks.
338.
▲
by
psyklic
10y ago
This attitude of not trusting experts and not trusting statistics unfortunately permeates from the political arena into science. The belief that all statistics are not to be trusted is a clear danger to our society. Not trusting climate sci
339.
▲
by
psyklic
10y ago
Implying that most experts have agendas that supersede the truth is outrageous and frankly dangerous. Saying we should just give up on using data to make predictions is ludicrous -- even if it hasn't worked before in some situations. W
340.
▲
by
psyklic
10y ago
The linked paper discusses using its enormously parallel nature to quickly solve large instances of NP-complete problems. Aside from this, imagine taking a "smart" medication that uses biological computation to determine exactly w
341.
▲
by
psyklic
10y ago
On Twitter: "sorry, no big sale this year. Contact us via http://bit.ly/1aK0wMg and we are happy to talk about available discounts." - https://twitter.com/safari/status/7985585369052241
342.
▲
by
psyklic
10y ago
As part of a data science/machine learning course, I have taught many, many beginning students how to use Python 2 and (starting a year ago) Python 3. The reality is that given what beginning programmers learn, they hardly notice the d
343.
▲
by
psyklic
10y ago
You can auto-unlock an Android phone with the Pebble via stock Android. (no passcode required with a Bluetooth connection to a certain device)
344.
▲
by
psyklic
10y ago
As part of a computer engineering degree, I made a fairly complex CPU (and also a GPU) on an FPGA. Also made a CPU out of NAND gates.
345.
▲
by
psyklic
10y ago
When you're about to throw the plane, there is a circular button in the lower-left to switch handedness!
346.
▲
by
psyklic
10y ago
I taught Processing (a Java library w/ its own IDE) to some middle- and high-school students for a week, and everyone had lots of fun from day one. It is extremely visual and has lots of great documentation + easy examples online. All
347.
▲
by
psyklic
10y ago
I got a 1080 working with VS 2015 (via the CUDA 8 beta). However, I strongly recommend using VS 2013. Frustratingly, CUDA VS 2015 support does not extend to the latest Visual Studio update level. So, to use CUDA I had to forgo the latest ve
348.
▲
by
psyklic
10y ago
This reads very presumptuously. The FBI stated she was reckless yet did nothing illegal. Reckless neither implies bad nor corrupt.
349.
▲
by
psyklic
10y ago
Also great for getting out of Git messes: http://justinhileman.info/article/git-pretty/
350.
▲
by
psyklic
10y ago
I have tried teaching TDD to complete beginners (mandated curriculum), and it was a disaster. Unfortunately, only a few students were able to write tests that meaningfully deviated from the examples we discussed. The issue is they were stru
351.
▲
by
psyklic
10y ago
From what I've experienced, most people don't have a "passion" coming out of high school. They figure they're pretty good at math, enjoy computers, and CS pays well, so they might as well major in that. So, it'
352.
▲
by
psyklic
10y ago
We were talking about readability, not speed. (Of course, you could also just write a macro.)
353.
▲
by
psyklic
10y ago
Or just use DIV/FDIV/FIDIV.
354.
▲
by
psyklic
10y ago
This code seems inconclusive -- my first three runs showed that lists are the same, slower, AND faster! (updated for Python 3.5.2 on Windows) C:\Temp>python listtuple.py The tuple's size is 80048 and the list's size
355.
▲
by
psyklic
10y ago
The cornerstone of the scientific method is "hypothesis testing via experiments". Data scientists typically skip the experiments and make models based on pre-existing data. So, I am skeptical of calling it a science.
356.
▲
by
psyklic
10y ago
throwaway420 is correct that attraction will get you more dates. However, the outcome of a first date with any particular person also seems to have high variability (if you were somehow able to repeat it!). There are so many small factors t
357.
▲
by
psyklic
10y ago
low and high are assumed to be positive and at most 2^31 - 1. So, there is a zeroed high bit in each which, for a signed int, is reserved to indicate negation. When low and hi are summed together, the high bit of the result might be set. Fo
358.
▲
by
psyklic
10y ago
Good exercise! So it may still be too easy to misunderstand when exactly the condition will be true.
359.
▲
by
psyklic
10y ago
Good catch! If only other languages were as simple :D
360.
▲
by
psyklic
10y ago
Interestingly, assignment inside conditionals is usually avoided because it is easy to accidentally do an assignment (=) rather than a comparison (==). Note that for multiple assignment this mistake can no longer happen: irb(main): a, b
More ›