skysight-inc/HackerNews huggingface dataset:
Transactions do not necessarily get processed serially. For example, if there were two concurrent requests and request #1 had just completed the first UPDATE when request #2 jumps in and performs the first two SELECTs, then request #2 will incorrectly update the balance for card #2. Different database systems offer different ways to serialize transactions, usually with a cost of performance and complexity.

Note that the post says:
> The only right way to do it is a pessimistic lock (FOR UPDATE clause).

This is not true. Banks deal with this problem all the time. You don't have to use a database engine as the serializer, despite what all the books tell you. My preference would be to explicitly serialize transactions rather than rely on database tricks - i.e. write accounting entries to ledgers and have a service that processes those entries on a single thread. For many scenarios this is more than good enough. If you needed lower latency, you could process this all in memory and use the database purely to replay the transaction log on restart for unprocessed transactions. In either implementation you could implement optimizations to process entries on different threads.
Compatibility works the other way around. You can run binaries compiled against an older libc on a newer glibc, but there's no reason to expect that binaries compiled against a newer libc should be able to run against older versions of libc. If you demand that, you demand software stasis.
Hopefully since FP Complete open sourced the backend to their FP Haskell center IDE a offline usable version will be made.
I went by oskar2379. I did a search and only came across one post from my teenage self, linked below. You can see I was complaining about the predicates back then, too =)

https://groups.yahoo.com/neo/groups/jboske/conversations/mes...
Impossible to say for sure without seeing the exact methodology and the data, but there are probably many other issues with this "study".

* taking data for the past year (or for a few recent years) and extrapolating it to 30 years, instead of actually getting the data for the last 30 years

* hindsight bias: 30 years ago you didn't know whether it would be better to buy a house in San Francisco or Detroit.

* comparing returns on a risky, leveraged investment (buying a house) with returns on a low risk investment ("interest earned on any money renters saved").
> My rent isn't going to go up.

Do you have to pay property taxes?

I'm sure not all states have them, but here in Ontario, we do. If you own a home, you must pay tax on that home every year. This is a form of rent and goes up with changing regimes and adjustments in the value of your home.

http://www.mah.gov.on.ca/Page10240.aspx
I say you leave it up to the distribution (Red Hat, Ubuntu).
Right now I'm using PhantomJS to render an HTML page. It supports styling via CSS, multiple pages, etc etc. What advantages does this have?
I'm glad someone else picked up on this. I cringed when I read that paragraph. For some interesting perspective on men's issues, take a look at the Men's rights movement. It's ambitious, broad, controversial, and contradictory, but full of interesting thought.
Off topic: what's up with the guillemets in the code example? Does that actually work as a replacement for single/double quotemarks in some shells? Mine just treats them as an ordinary character, e.g.

print «Cookie: session=session1»
«Cookie: session=session1»
Felicis Ventures by the Numbers
I used PDFMake on a recent project and was very pleased.

One issue we ran into in browser was the huge size overhead from vfs_fonts - is there a preferred workaround to this issue (we had to serve it separately from the rest of the app), or any solution in the pipeline?
Great news everybody, a prominent technologist with strong opinions said something. Now we don't need to think for ourselves! Burn the ld.so! Burn the ld.so! Burn the ld.so!
> even a simple human consensus of scientists would be right more of the time than a simple consensus of non-scientists.

This is probably true, at least in fields where we have a reasonably developed science, but you realize, I trust, that it's not a very high bar. :-)
Exactly, this is just an article by realtors to stress out people to buy homes, even if they cannot afford it or doesn't match their life situation. There are lots of cost associated with owning home that people usually ignore. They just see the mortgage, which sometime is less than their current rent. However, in my experience mortgage payment is just around 60% percent of the cost. You have taxes, more expensive insurance, and depending on your house. HOA, landscaping. large maintenance like furnace, water heater, roof, crawl space, and if you want to sell it in 10 years from now, you have to spend around 10-20k at the time to update appliance.

I don't want to say it is always a bad investment. My point is it is a lot more complex investment and needs research, and not buying can also be a good option for some people.
It's actually easy to get a 2 character name if you are willing to use an obscure tld.

I own http://0k.nu and I just regularly registered it.

I also own http://π.pw and http://ಠ.com .
This is amusing, but the key terms in Asimov's argument are ambiguous, and he's taking a very selective look at the history of science. The position that science edges gradually towards theories that are "more right" (or "less wrong") is roughly correct in the sense that science tends to be empirically conservative. That is, when scientists replace theory A with theory B, it's generally the case that theory B accounts for most or all of the data that theory A accounted for. However, if we look at the actual content of scientific theories, it's clear that radical change and total reversal are quite common. E.g., the germ theory of disease and the theory of continental drift bear little resemblance to their predecessors; Rutherford's model of the atom is not a minor revision of the "plum pudding model"; a relative space-time is very nearly the opposite of an absolute space and time; and the thesis that the universe has a beginning in time is the negation of the thesis that it does not. The last example is probably the best one. At various times, the scientific consensus has been clearly for or against steady state models. So we know that the scientific consensus on that issue has simply been flat out wrong at one time or another.

Of course, there are many areas where we do expect progress to be conservative. So for example, we are not going to discover that DNA does not actually exist, or that the Earth is larger than the Sun. But on some issues it is reasonable to assume that the scientific consensus is quite likely to undergo radical revision. As Scott Adams points out in an article that someone else linked to here, the science of diet and exercise is a case in point.

So to my mind, it all depends on the particular issues that Asimov's lazy caricature had in mind. If the "Eng Lit major" was expressing skepticism about, say, the age of the Earth, or the atomic theory of matter, then Asimov's response would be a fair one. If they had something else in mind, then perhaps not.
as a french, this cracked me up.

I've been unemployed for a long time, and I'd love to try this.
It seems that since the email is published (https://globe.torproject.org/) crawlers scoop these up and start hammering away.

Perhaps there is noticeably higher volume because it is Tor and hacker types might find more value in it. I'm not quite sure.
And all the programs you compiled from source or got from other parties? Rebuilding the world on a whim is fantasy.
Project Soli; Google's new interaction sensor using radar
Search for "free search engine submission" on Google. There are sites that will take an email address as part of the signup procedure and you will get BLITZED with spam and various junk. I used this nasty little trick to get revenge on someone when I was but a youngling.
Yep. I've built admittedly high-margin and low-volume sites, but I've averaged about $0.75/click on Adsense for several years. I haven't even done any A/B testing either.

Now if I could only ratchet up the volume...
What I Saw When I Crashed a Wall Street Secret Society (2014)
I ended up going with DSPAM from this particularly good tutorial [0] but ended up just not wanted to deal with it anymore. Without significant tweaking it ended up putting all my legitimate mail in junk/spam folders as well so I ended up having to browse through all the garbage anyway.

[0]: http://sealedabstract.com/code/nsa-proof-your-e-mail-in-2-ho...
>My main point being that none of these things (programming patterns and strategies) are intuitive until you have some background.

That's my point. I'm saying in addition to this, loops are by far one of the easier patterns and strategies to become familiar with.

think about it. By knowing what a function is... recursion can be taught as a logical next step without introducing any additional language primitives. Yet most computer science classes will still teach looping syntax before even touching upon recursion. Why? Because looping is way easier to grasp then recursion, theoretical elegance be damned.
Super fast, type safe (and thread safe in Rust), compiled, low/no cost abstractions
Tweet out the email perhaps?

Sign up for one of those free WalMart gift cards or the like - it's an endless chain of "offers" you fill out. I'd hate to share any links to give them any of HN's PR, but Googling "free walmart gift card" should get a juicy starting point 3 links or so down the page :-)
Google removed itself from the IAB's working group on safe frame, which fought for user and publisher safety. among things like preventing the ad from knowing what's on the page it's served on it also handle if the ad is in view, preventing most of those bot net traffic that uses 1x1 iframes or insert ads with low zindex on the page. the only vulnerabilities left with safeframes are giving the user a executable when they click on the ads (nothing can prevent that) and flash exploits (although the most common exploits are blocked fine, it's still vulnerable when it's a full control bug in flash)

but Google got out when they realized it wouldn't give as much info from its adsense network of third party sites as they are used to with insecure adwords (when it shows display ads)
> point at anything near you. It was the result of science.

The result of some particular branches of science where we do, in fact, have reliable knowledge and the ability to make accurate predictions.

But that is very, very different from "science" in general. There are many more fields that are called "sciences" but do not have anything like that kind of reliable knowledge or predictive power. So it's not enough to just say "science"; you have to specify the field, so we know which category it falls into.
"After 9/11 air travel started to become far more time-consuming - for reasons of security which no one would ever criticise. People used to say no-one wanted to be on a train for more than three hours but I think four would now be more accurate."

I'm with you on the 4 hours, but I would be happy to criticize the security theater after 9/11.
Ahh, I see the source of the confusion. Finnish is a Nordic language, but not a Scandinavian language.

If someone wants to appreciate differences in color perception, is it better to learn Scottish Gaelic or read Berlin and Kay's "Basic Color Terms: Their Universality and Evolution" or similar works since 1969? See also http://en.wikipedia.org/wiki/Distinction_of_blue_and_green_i... for the differences in blue and green across many different languages.

This is why I argue that if the goal is to "think and reason differently" then learning a new language should not be high on the list. Instead, learning a new language has a side effect of thinking and reasoning differently, but so do many other topics. I believe there are easier ways achieve that goal than learning a new language.

Your 'key' example is resolved in Swedish with a special term for his/her own X. Compare "Han öppnade dörren med sin nyckel" (He opened the door with his own key) with "Han öppnade dörren med hans nyckel" (He opened the door with some other male's key.)

GEB is also all about recursion. I remember in my own learning how tough it was to understand recursion and induction. I consider that a mode of thought.

There's also the essay in GEB about the difficulties of language translation, such as the street name in Crime and Punishment. He goes into several pages about the different aspects of that translation. I consider that an aspect of the same mode of thought you are talking about. Further, in "Metamagical Themas" he covers aspects of gender neutrality in Chinese. Reading his essays seems much easier than learning Finnish.

I'm not arguing against your conclusion, which is that "Learning _and internalising_ a construct in a non-native language gives you a new way to think about things and expands your mental toolkit" but against the implication that learning a new way to think is one of the reasons to learn a new language. I think that's poor advice given other methods to learn new ways of thinking.

Further, languages are not equal. The Swedish mode of thought is very similar to English, so you might end up after a couple of years of study with only a few small insights that could have been more easily learned by reading a linguistics textbook.
The downside of real estate ETFs is you don't see the mortgage interest deduction which can decrease the house payments by ~20% (depending on tax bracket).
> It'll look "as good as you remember"

Only if you play it on a CRT TV. Games from that era look terrible on a modern HDTV.
Yeah, people are not allowed to think for themselves.

Just because Rob Pike and John Carmack had successful careers, doesn't mean they are always right.

As a side note, Plan9 and Inferno use dynamic linking a lot.
Very cool storyline but the excessive voice-over can be a little grating. Fight club meets Hackers meets Men in Black

Here is the full episode (without the hoops) https://www.youtube.com/watch?v=JpxvvnWvffM
I'm in my early 30s and whole-heartedly agree with this, particularly traveling and saving.

I avoided "exotic" travel because of the risk of the unknown, but with a family, there's a slim chance that'll happen anytime soon.
abusix provides this: https://spamfeedme.abusix.com/
The core problem is that while you might be willing to pay a small amount for search results, advertisers will pay a huge amount for your personal info ( or equivalently, highly targeted ads).

Remember: you are the product.
In a way, advocates of pure static linking are like anti-vaccine advocates.

Holy fuck, this is one of the most absurd exaggerations I've read in some time. I'm assuming you have a very strong and convincing reason to justify this statement.

Here's a killer application of dynamic linking: NSS.

...

Really? NSS?

OK, so static NIS/YP may not be good at all, but that doesn't change that NSS and the nscd (name server cache daemon) have been amongst the buggiest and most brittle components in glibc, on top of glibc's sequential DNS resolution. It's so bad the Busybox developers had to write a single-threaded fork-based alternative just to deal with its inherent resource exhaustion issues (see the comments in this software: http://busybox.net/~vda/unscd/).

And this: http://www.nico.schottelius.org/blog/nscd-bugs/

musl libc (ever growing in popularity in embedded and other fields for its standards compliance, robustness and implementation simplicity) doesn't support NSS and doesn't intend to, instead researching several alternative methods, the third one probably optimal: http://wiki.musl-libc.org/wiki/Open_Issues#NIS.2FLDAP.2Fothe...

And if you think this problem hasn't been solved so much more elegantly before, look into the details of Plan 9's ndb and factotum.

PAM is another good example.

bsd_auth is much better: http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/...
Thank Snowden and Appelbaum. It was because of them that I started up these relays.
1. Get well acquainted with managers and executives at as many vendors, firms, Fortune 500s and consultancies as possible.

2. Demonstrate usefulness and a value proposition.

3. Discreetly ask for work.

To be even more concise: be an outgoing, valuable individual who is not afraid to ask for work.
I get a 503 error and a page full of nonsense. Luckily there's an archived copy: https://web.archive.org/web/20150317224815/http://ftp.arl.ar...
I often wonder that when I walk around the city: a lot of the new buildings look so shoddy in their construction - if you buy an apartment, it's probably not something that will get passed down to your kids' kids. In that case, do you own part of the land underneath the building, or... what?
How to take pretty TTY screenshots
Google's ad network relies on knowing about the page the ad is embedded in both for targeting (AdSense) and apparently fraud prevention.
A Flaw in the Design – The making of a vulnerable Internet
bsd_auth runs in a subprocess and so can't make persistent modifications to the environment of the caller --- consider pam_limits or pam_env.
If you make 2 updates, check the balance to ensure > 0, and rollback if < 0, and you do all of this in a transaction, doesn't concurrency no longer matter? If another transaction beats you to the punch, won't the balance check query reflect that?
Super fast? More like Java ballpark:
http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...
careercup.com and hiredintech.com

There are also local meet ups for interview practice. What city are you in?

Also a plug for my own interview prep site. http://kelukelu.me/interview/
They don't mention concrete except to contrast with modern steel-and-concrete architecture, but in fact concrete was essential to Roman architecture.

Especially Roman vaults and domes were concrete. The Parthenon is still the largest concrete dome without steel reinforcing. My pet theory is that that concrete allowed the Romans to construct giant projects relatively quickly with large, mostly unskilled labor pools.
congratulations cinquemb for being the first to search for "Thailand sex tourism" enjoy your new achievement in your profile! click here to share on Facebook and Twitter!
Chill out. I didn't say dynamic linking was "good" or "bad," or that it isn't right to put security first, just that this isn't as great of a benefit as it appears to be if library devs aren't careful to preserve binary compatibility (which most, in my experience, aren't).
If a university professor is standing up in front of class and saying, "It's just my opinion, but girls are not as smart as boys on average," then it's hard to see how that wouldn't come part and parcel with some sort of gender-based discrimination.

It's like a cockroach--you never see just one cockroach, if you do, there's a lot more you're not seeing.

"It's my opinion that girls are not as smart as boys on average, but I will treat everyone in my class fairly" doesn't pass the sniff test for believability.
who the fuck are you arguing with? Yes I read the article, and the linked-to articles within. I've read much more too. I'm simply saying a kick isn't necessary to do beat detection. Would you like to address that point?
For Prometheus's console templates (basically offering a html templating engine to end users to create monitoring consoles with), I used Go's own templating language as nothing else seemed mature at the time.

Go is strongly typed, and so is it's templating language. This means that you need to take a much more rigorous approach to using them, as a single unhandled edge case value can break the entire page. Contrast this with something like Jinja2 where if you mess up it'll only break a small bit of the page.

I managed to produce a usable template system, but it's still a tad more verbose than I'd like. It'd have been nice if a more scripting-language style templating language had been an option.
Thanks a lot. We do our best to improve it. So any feedback is welcome. Feedback helps us to set development priorities.
San Francisco Supervisors to Vote on Housing Moratorium (podcast)
This was the only "tech" part that I found cringe-worthy. I was able to watch the rest of the show without jumping out of my seat and shouting "That's not how this works, that's not how any of this works."
If I said "Stephen Hawking was wrong about black holes", you would probably expect that statement to be followed with "because..". If I didn't write "because" then the only leg my argument would stand on would be my own credibility. Since "overgard from the internet" is not a world renowned physicist, you might be tempted to point out that Stephen Hawking has a track record for knowing what he's talking about when it comes to astrophysics and I do not.
You could have an electrician identify circuits and start throwing circuit breaker switches to achieve the same result? (obviously might be a bit chaotic, but it'd be a good time to test your UPS infrastructure at the same time, right?)
Tony Andrews on Setting Up Soundsystems – From Wembley Stadium to Your Bedroom
> musl libc

I'm conflicted on Musl. I like the idea. I like the focus on robustness. I like Felker's style [1]. But for God's sake, Musl refuses to implement basic operating system primitives we've had for decades, like dlclose(3), all because the author, from his necessarily limited perspective, just can't understand why someone would want those facilities.

I'm sticking with glibc until the Musl people decide they want robustness and feature parity.

By the way: PAM isn't "add in the bloat of additional backends". Dynamic loading of backends is the opposite of bloat.

There's absolutely no reason Felker can't greatly improve libc robustness and maintain at least source-level compatibility with a libc we've used for decades and that has many valuable features. Musl's sin is being gratuitously opinionated.

[1] http://ewontfix.com/, good for the most part. Wrong about 32-bit PIC being terrible. (What we really need is -fvisibility=hidden and -Bsymbolic by default.)
I would say Google's move toward HTTPS by default made analytics useless. You can't tell what search terms were used to arrive at your site.

For my low-traffic sites, I would mine them by hand to figure out what people really wanted, and then develop content around that. I don't understand why Google would not want to incentivize that.
I disagree. Rebuilding the world on a whim is devops.
In areas where price/rent ratio is high, the "land lord's profit" portion is a large negative number
but renting has lots of additional costs in the UK you can have the following just to move in:

Tenancy Fee £360
Admin Fee £90
Referencing Fee £60
Checkin Fee £90
Guaentor Fee £90
Deed of Guarantee £120
Sat Checkin £72
It's a libc implementation for christ's sake. If ever a library should remain in stasis, it would be a libc implementation.
Some form of controlling the memory management. In GC enabled systems programming languages like e.g. Oberon and Modula-3, there there will be APIs to have control about memory.

Ability to convert between language types and raw addresses, in the form of pointers.

Toolchain should also provide the ability for aot compilation both to static and dynamic executables/libraries.
We're all <frauds>. The show has a realistic depiction of social anxiety but an unrealistic depiction of heroism. There's darkness in all of us.
There is a pending UNCLOS case filed against China not only over the Spratly's, but on China's "nine-dash line" claim. China refuses to participate in the arbitration, despite ratifying UNCLOS.
I'm not so sure. I always figured the cost per click would drop accordingly. If fraud is 50%, advertisers would only bid 50% for a click/impression, and it would be a wash in the end for the advertiser and Google.

I think the real hit is against content creators who aren't able to extract the full value of their work, instead they split the revenue pool with a bunch of adspam sites.