Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
porlw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
porlw
12y ago
After 2 years my X220, which runs off battery for a couple of hours pretty much every day, reports it's at 74% or original capacity. This is with vanilla Ubuntu 12.04 Wasn't there a recall for some Thinkpad batteries a while back?
32.
▲
by
porlw
12y ago
With my Thinkpads I always get the international on-site warranty - it's well worth paying a bit extra to have someone come to wherever you are to fix a problem.
33.
▲
by
porlw
12y ago
There are many common operations in programming, and it's worthwhile building a consistent syntax for them. Over time, as one layer of abstraction solidifies it's possible to see common patterns at the next level up. It saves brai
34.
▲
by
porlw
13y ago
Loved this line: strncpy (d, s, strlen(s)) As long as you use strncpy, it must be safe!
35.
▲
by
porlw
13y ago
Pascal gets a bad rap, but that's due to the limitations of the original "pure" language. Something like Turbo Pascal which took features from Modula-2 is actually be a very good alternative to C for systems programming. - St
36.
▲
by
porlw
13y ago
Google is a media company, like TV or publishing. It's not like deriving income from advertising is a strange way to do business. At least Google is a bit more diverse with how they spend their money.
37.
▲
by
porlw
13y ago
30 200mg Celebrex (genuine, non generic) capsules cost about $20 in South Africa. The gov't does control medicine prices. However, unlike some other countries (e.g. the UK), they don't pay anything to the manufacturers, that price
38.
▲
by
porlw
13y ago
Have you heard of Amdahl's Law? You should take a look - I think it says something similar.
39.
▲
by
porlw
13y ago
This has been happening since the sixties. As soon as you automate the current IT roles and responsibilities, a new layer of possibilities, heretofore impractical, becomes available. Like an onion, each successive layer covers a larger surf
40.
▲
by
porlw
13y ago
I find this very annoying too. Also, if you have a bunch of tabs loaded ready to read and you go out of signal range, you lose the pages! I understand mobile browsers have a limited memory, but I don't see why they can't cache the
41.
▲
by
porlw
13y ago
It makes it easier to price discriminate between rich and poor customers.
42.
▲
by
porlw
13y ago
Code comes and goes, data is forever. ORM is an attempt to bypass proper data design, when in fact more attention should be paid to the data model in the DB than the structure of the code. Functional programming has a much better impedance
43.
▲
by
porlw
13y ago
Isn't this more-or-less how mainframes work?
44.
▲
The Extremely Reliable Operating System
(en.wikipedia.org)
2 points
by
porlw
13y ago
|
0 comments
45.
▲
by
porlw
13y ago
"The biggest issue with Scala’s perception is the deeply varying quality of frameworks and tools that significantly affect one’s perception of the Scala language itself" I've seen the same thing said about Common Lisp.
46.
▲
by
porlw
13y ago
I don't think FAT even bothers to zero the data when it's allocated, so you might be able to see what was previously stored in a block by reading it straight after allocation. OTOH this might be driver dependent.
47.
▲
by
porlw
13y ago
How about setting up a company, GIVING the handle to the company, then selling the company?
48.
▲
by
porlw
13y ago
Sony make the QX10, it's basically a digital camera without a screen. It communicates via Wi-Fi with android and IOS devices for display and control. It has a clip to attach it to the display device, or it can be operated remotely anyw
49.
▲
by
porlw
13y ago
Don't forget (and this applies to any outsourcing contract, anywhere in the world), the first people you encounter will be the A-grade talent. Once the project kicks off the they will one-by-one be moved off to the next deal, and repla
50.
▲
by
porlw
13y ago
Note, only their low-end x86 business, not the POWER servers.
51.
▲
by
porlw
13y ago
From the perl man page (back when it was all one page) When I was a student I took an internship at a small software company in the English countryside. I was given the task of fixing 100 or so Oracle Forms (version 3, still based on green
52.
▲
by
porlw
13y ago
Rather than storing data structures directly in the hashmap, I would store them in an array and map the keys to array indexes. Then the types of the hashmaps would all be the same (all map key->integer), and I could develop reusable proc
53.
▲
by
porlw
13y ago
Regarding 3, I would consider compiling a simple lisp - if you're coding in scheme that will take care of the parsing, so you can concentrate on the code generation side.
54.
▲
by
porlw
13y ago
Not where I live - unless you're studying for a Psych degree of course. Other BA students could take it as an elective. It was by far the most popular first year course in the Humanities department.
55.
▲
by
porlw
13y ago
Humanities undergrads all sign up for Intro to Psych, because they want to understand, like, how people think 'n' stuff. Then most discover it's 90% history and statistics, with lots of debate about what's actually true,
56.
▲
by
porlw
13y ago
My mother was a computer programmer. She worked on big iron (PL/1) but had no interest in programming away from the office, so I wouldn't say she mentored me. My mentor was my father, a chemist. He showed me how to program BASIC o
57.
▲
by
porlw
13y ago
I don't think it was ever built. It's just interesting that in theory a CPU could be designed that didn't have the concept of memory as a sequential array of bytes. In fact, in the future this will probably rear its head agai
58.
▲
by
porlw
13y ago
If you use a CPU that is specifically designed to run LISP, then you don't need any of that: [ http://dspace.mit.edu/handle/1721.1/5731 ]
59.
▲
by
porlw
13y ago
The obsolete stuff I studied at university almost 20 years ago: Network and hierarchical (now called "NoSQL") DBs, the problems they caused and why they were replaced with Relational DBs. Functional programming with a derivative o
60.
▲
by
porlw
13y ago
My Thinkpad has one. Works great with Ubuntu, integrated into PAM so works with sudo and unlocking my keystore.
More ›