Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ajanuary
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
721.
▲
by
ajanuary
14y ago
The one thing I've seen mentioned before that wasn't in here is to delete the reset token if the user successfully logs in.
722.
▲
by
ajanuary
14y ago
You mean like JavaScript? Not sure why it's not listed there next to Pike. var f = [] f['push'](2) // f -> [2] Pike also has the more familiar object->method(params) syntax. It's actually a pretty useful bit of synt
723.
▲
by
ajanuary
14y ago
The earlier frames can be explained by having a larger buffer than is strictly necessary for typical use and rather than removing them as soon as they're processed, just leave it to get overridden. Why you would have a buffer that large for
724.
▲
by
ajanuary
14y ago
Sorry, I misunderstood.
725.
▲
by
ajanuary
14y ago
But the terrain wasn't generated using an rng, it was generated by the user placing and deleting blocks.
726.
▲
by
ajanuary
14y ago
Random bit of maths, given if you want compatibility with older IE's you're limited to around 2000 characters in the fragment string. Assuming you base 64 encode to generate valid urls, you can only fit an 8x8x8 grid into the fragment strin
727.
▲
by
ajanuary
14y ago
How would you generate which seed to use?
728.
▲
by
ajanuary
14y ago
Which one is best: cats, alligators or pencils? You're question is about how best to model a domain of which you've given the scantest of details. Domain modelling is something you have to do in any programming paradigm and is equally as ob
729.
▲
by
ajanuary
14y ago
I think 4 digit pins are so prevalent because they're easy to remember. As they get longer and harder to remember, people are more likely to write them down etc.
730.
▲
by
ajanuary
14y ago
Does the Unplayed Episodes list seem the wrong way round to anyone else? I generally want to start listening oldest first because newer things refer to older things.
731.
▲
by
ajanuary
14y ago
I hadn't thought about that. If it comes pre-bundled, click link, that opens in Podcasts app, click Subscribe. If it doesn't, they've still currently got podcast integration with iTunes desktop, which means there will still be an iTunes pag
732.
▲
by
ajanuary
14y ago
Personally I hope they do more apps as app store downloads. I don't want a stock app and I want a different calculator app. They can come pre-installed, but I want to be able to delete them and redownload them as necessary. Podcasts weren't
733.
▲
by
ajanuary
14y ago
So happy there's an official way to do subscription. The app's a little underwealming though. The fact they seem to have forgotten to stop the Subscription and Auto-Download cells from highlighting when you tap them is an indication of the
734.
▲
by
ajanuary
14y ago
The previous article said "unit testing isn't enough, you need static types /as well/". This article is extending that argument to "unit testing and static types aren't enough, you need xyz /as well/". I believe the point is that there will
735.
▲
by
ajanuary
14y ago
Impressed by the clean markup. Normally the HTML is horrid to accommodate the CSS.
736.
▲
by
ajanuary
14y ago
Whether step 2 is actually step 0 or not doesn't really matter. It has the same impact on both scenarios. People only read strictly top down left to right (or right to left) if all other things are equal. I don't know about you, but I've ne
737.
▲
by
ajanuary
14y ago
I don't understand why putting "OK" first makes it a more deliberate choice. Why does it take more effort to get there? If a numb user's objective is to make it go away as quickly as possible they will become trained to where the "OK" butto
738.
▲
by
ajanuary
14y ago
Just because you're testing doesn't mean you're testing the right things.
739.
▲
by
ajanuary
14y ago
The article does rather skip over that and starts by assuming that regardless of ordering you're aligning your buttons to the right of the dialog. You could go with OK/Cancel and left align the buttons so it's easier to find the OK button.
740.
▲
by
ajanuary
14y ago
I'm sure the Macintosh wasn't the first to go with OK/Cancel, but an interesting anecdote none the less about why "OK" won out over "Do It" http://folklore.org/StoryView.py?project=Macintosh&story...
741.
▲
by
ajanuary
14y ago
Unless you're trained to start with the right most button (something the article ignores). Also, positioning isn't the only factor - you can also highlight the primary action with colour and texture, which I would guess is far more effectiv
742.
▲
by
ajanuary
14y ago
Actually it becomes "Cancel", "Don't Save", "Save". While there is huge benefits in using descriptive verbs to describe the actions taken, there is also a huge benefit in having a single standard word for "What? No! I didn't want to do that
743.
▲
by
ajanuary
14y ago
You've missed out some steps. 1) Read first couple of words of dialog box 2) Make decision if yes: 3a) Find OK button 4a) Click OK button if no: 3b) Find Cancel button 4b) Click Cancel button vs. 1
744.
▲
by
ajanuary
14y ago
To me the assertion that users read buttons the same direction they read text is bogus. I'm an OS X user and I'm trained to read the right most button first as it has the description of what will happen (Save, Log Out etc.) Often it means I
745.
▲
by
ajanuary
14y ago
Indeed. New Apple releases are events, and staff are paid to be able to get everything ready in time. It's not really feasible to do that every time some partner releases a new laptop that's not had any hype or media attention and no-one is
746.
▲
by
ajanuary
14y ago
"take time to set up" Chrome and Firefox have the option option to sync your extensions, as well as bookmarks etc. and settings. I just have to login to Chrome or Firefox on a new computer and it's pretty much identical. Contrast that to Op
747.
▲
by
ajanuary
14y ago
Depending on how good your computer is, Opera will buckle sooner or later if you have very demanding pages. That does not usually happen with Chrome (unless you have a huge number of tabs, which doesn't usually happen to me). Our usages dif
748.
▲
by
ajanuary
14y ago
Hadn't thought about that. I haven't done much C since I discovered proper automated tests.
749.
▲
by
ajanuary
14y ago
Doing exactly what you told it is fine until you hit one of the many undefined behaviours and then it does exactly what you thought you told it only some of the time. There's a lot of undefined behaviours to know about, and not all of them
750.
▲
by
ajanuary
14y ago
I always thought newest-first was a little silly, but it's odd how much I've been trained to it now. It feels weird being at the bottom of the page when new things come in. I think a part of it is that it's slightly uncomfortable keeping my
More ›