Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drbawb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
181.
▲
by
drbawb
12y ago
The default types for bare literals is described in RFC #212 ( https://github.com/rust-lang/rfcs/pull/212 ) To summarize: bare FP literals default to f64, bare integral literals default to isize. (NOTE: isize i
182.
▲
by
drbawb
12y ago
Seeing the Pokemon boot screen reminded me, I forgot the project which made me start down this road. I don't know if you've seen gomeboy-color[1]? It's an emulator written in Go. The picture of Pokemon Yellow on their homepa
183.
▲
by
drbawb
12y ago
Out of curiosity: can anyone w/ the relevant experience explain why older consoles like the NES and the GB have "mirrors" in their memory map? I haven't programmed embedded systems so I really don't understand what
184.
▲
by
drbawb
12y ago
I have been keeping notes as I learn new things. Though they are more of a personal journal than anything. I'll think about cleaning them up and publishing them once I get the source up. I just get uneasy about publishing stuff like th
185.
▲
by
drbawb
12y ago
Sure! This walkthrough[1] writing a Gameboy emulator in Javascript was very helpful in seeing how an emulator should be structured. -- Though the full source is available: the actual tutorial is more of a guideline that introduces you to th
186.
▲
by
drbawb
12y ago
This is so cool; what a great read. I'm working on a Gameboy emulator in Rust at the moment and I'm in the same boat as the author: I know it has been done before; _but I've never done it before!_ It's awesome how the Ga
187.
▲
by
drbawb
12y ago
The article actually sounds a lot like my sleep schedule. I retire quite early (9-10PM) compared to my roommates who will game, drink, and socialize into the wee hours of the night. I have to be up around 6:30AM to do my morning routine. I
188.
▲
by
drbawb
12y ago
My trusty 50G got me through High School and parts of College. Programming w/ RPL was something of an enlightening experience. RPN and RPL are what made the concept of 'the stack' finally click for me. RPL was also fantastica
189.
▲
by
drbawb
12y ago
Out of curiosity what car is that? I've seen a lot of blind spot/collision avoidance stuff but I don't think I've seen any sort of "cross traffic" detection yet. Just the other day my friend drove past someone
190.
▲
by
drbawb
12y ago
Upset that a smartphone behaves like a single-purpose landline? Certainly. I believe a fullscreen dialer is terrible UX. Smartphones are very rarely marketed _as phones._ They are marketed based on differentiating features: everyone knows t
191.
▲
by
drbawb
12y ago
Why does it have to be that way, though? Why can't I just have a list of "high priority apps" and "low priority apps", or even just "highest priority" and "everything else." It's not somethi
192.
▲
by
drbawb
12y ago
I've long thought that it should be illegal to play any sort of siren on the radio. I can't tell you how many times I've gone into "fight or flight" mode because of some new hiphop single.
193.
▲
by
drbawb
12y ago
My Moto X actually attempts to figure out if you're driving, and it is capable of reading texts aloud and it even allows for reply-by-voice. My jaw hit the floor the first time it went off. My jaw also hit the floor when it read a rath
194.
▲
by
drbawb
12y ago
To be honest this is sort of how I felt when I got my first iPhone. I was downtown in a very busy urban center that I absolutely hate navigating. I was so happy to have an iPhone that was aiding me through the maze of one-way streets; for o
195.
▲
by
drbawb
12y ago
>showing actually useful info about my crazy driving skills,... Thanks for the laugh :-)! This was my first thought as well. I saw a Mercedes the other day with the "lane change assist." Rather hilariously: I was behind the Mer
196.
▲
by
drbawb
12y ago
Precisely. I've long wanted to build a HUD that could project on all the glass surfaces of my car. If I were building a HUD, it should be giving me a "heads up." The windshield would have navigational aids, but any surface in
197.
▲
by
drbawb
12y ago
>Strongly typed lanaguages are even cooler here ... No expereince with Slick in particular; but I've been using jOOq[1] which I believe is similar. To be honest I'm not entirely sold that these DSLs are what I'd consider &
198.
▲
by
drbawb
12y ago
Interestingly enough: there's countermeasures you can take to prevent oil migration! GM actually had some rather interesting experiments in this area. They tried storing cars vertically for transportation[1] in the late 60s and early 7
199.
▲
by
drbawb
12y ago
Mostly technical, I need the performance, and my problem maps pretty well to raw sockets. The application I'm currently writing can push upwards of 60msgs/sec to the websocket client. Using long-polling, etc. this just doesn'
200.
▲
by
drbawb
12y ago
I'm surprised how effective this sort of 'debugging' can be. I'd love to know more about the mechanisms which make this sort of "verbal problem solving" tick. I wonder if it's as simple as mapping the prob
201.
▲
by
drbawb
12y ago
>and having others show up to confirm or criticize the work helps. I actually had a rather interesting experience last night where an "outsider's perspective" ended up being the exact insight I needed. My roommate stepped
202.
▲
by
drbawb
12y ago
You don't even need to fork it on Github, Cargo is just passing the URI straight to the git tooling. You can keep it on your local filesystem and reference it w/ `file:///path/to/repo.git` -- you can also
203.
▲
by
drbawb
12y ago
My old man managed to build a Hackintosh and a "Hackbook Pro" just fine, following the tonymacx86 guides so far as I know. I helped him assemble the tower because he had never built a PC before, but he installed Mac OS himself. Th
204.
▲
by
drbawb
12y ago
> ... they asked [us] to wait outside while they conducted a preliminary search ... Is that legally enforceable? They have a search warrant, not a warrant for your arrest. How are they in a position to demand you leave the premises? That
205.
▲
by
drbawb
12y ago
I just finished reading the author's book "And Then I Thought I Was a Fish"[0] where he uses footnotes quite liberally. I wish Amazon's ebook reader showed the footnotes in margin as his blog does. They weren't even
206.
▲
by
drbawb
12y ago
I actually made the inference, but then rejected the hypothesis. It seemed unrealistic to me that Curly would own a Red Lamborghini. An AI could form _a number of_ inferences and then use a knowledge base to choose a likely candidate. In fa
207.
▲
by
drbawb
12y ago
I managed to get Rust wired up to websockets pretty easily. There are working zeromq bindings: so you can use mongrel2 to handle websockets (with or without TLS) and then service those requests with a handler written in Rust! You have to wr
208.
▲
by
drbawb
12y ago
Many people also seem to be under the mistaken impression that GPS provides sane routes for 100% of the driving you'd ever need to do. Every summer I visit a shooting range at the end of a handmade [grass/dirt] road that has no ma
209.
▲
by
drbawb
12y ago
I'm happily using the ZeroMQ bindings to serve an HTTP and WebSocket service w/ Mongrel2 servicing requests and Rust providing the handlers. Not a pure Rust stack, but it does a very admirable job serving responses for such a youn
210.
▲
by
drbawb
12y ago
I find it interesting that the `web history` link wanted me to re-authenticate, which I failed to do. (Specifically it wanted a 2FA token.) This location history came up w/o even verifying my identity or asking for re-authentication.
More ›