skysight-inc/HackerNews huggingface dataset:
It sure is getting interesting. Uber is battling the Nevada Attorney General and once again operating in Las Vegas as of today. http://www.reviewjournal.com/news/las-vegas/uber-challenges-...
Absolutely, if you buy your coins with cash (ie using localbitcoins).

You're still at the mercy of the volatility of the currency though.
Can Elon Musk lead the way to an electric-car future? (2009)
As Ebola Spread in Dallas, New York Honed Protocol
He did say using purely cryptocurrencies, so if one was paid in crypto from the get-go and didn't have to convert to or from fiat, then an individual could protect their money, so long as they could keep their private keys secure. #opsec
And there's that boot again, grimly stomping on a human face...
Show HN: No more “idea websites” – here's a problem solving website
I agree, but the founder was able to pull the rabbit (that is, Paul Graham's own words) out of the hat at the right time.
If that's the case, they should have been prosecuted. Then they would have had the opportunity to defend themselves. Civil forfeiture mocks the the idea of justice.
That does sound great overall - and I will take a deeper look at Rust - but this thread is about rewriting the core Linux utilities in Rust - if I had to do that with full featured Rust it would be hard enough. But if I had to restrict myself to a subset to avoid the "runtime penalty" for programs embedding my Rust shared library implementation of libbfd - then the rewrite just went from nearly impractical to completely impractical in terms of the efforts required.
From my experience, coffeescript won't teach you anything new and won't give you any performance improvents. In fact, it will make you scratch your head a lot and will make you do a mental js-coffee conversion each time. You might end up liking it, but I think that clojurescript is the better bet here for performance gains as well as better coding in general, since its focus on functional programming is more concrete and inherent in it. Functional programming in coffeescript is exactly the same as in js ie. GIGO
Or if you want a super soft one, how about this: https://www.youtube.com/watch?v=nWnUuosQwZY
> These languages have evolved to be where they are today, mostly because hardware has evolved to be where it is today.*

No. Pascal and Modula-2 were perfectly usable, safe systems programming capable languages 20 years ago. Pascal was widely used in commercial product development (DOS/Windows), Modula-2 was scarce, but taught at universities with high quality development environments available for many platforms and the Oberon OS was based on the language Oberon, which was heavily influenced by/derived from Modula-2.

Everything necessary to produce safe, maintainable, fast software was available back then, but lazy/uneducated/stubborn people used C instead and wrote crappy software we still have to use today. It's a shame really.
> I'm just saying that in a looser ordinary language sense of "anticompetitive"

I don't think that's a normal definition.

"Today Hoover released their new anti-competitive vacuum". Why is it anti-competitive? "They didn't create a network of 3rd party bag manufacturers on day one."

If they were going out of their way to prevent it (such as when Keurig or the printer companies added DRM to stop clones) that's one thing.

Apple doesn't let you choose a different keyboard manufacturer when you buy a MacBook either. Is that anti-competitive? Amazon's Kindle cases don't work with Nook tablets. Is that anti-competitive?

I think you're reaching here.
That isn't treason, actually. Treason is specifically defined in the Constitution:

> Treason against the United States, shall consist only in levying War against them, or in adhering to their Enemies, giving them Aid and Comfort.
> There are a ridiculous number of serious vulnerabilities in C code related to lack of bounds checking and manual memory management. This isn't really opinion so much as fact. I understand what you're saying, but you're also downplaying the seriousness of C bugs relative to <most other languages> bugs.

I feel like "<most other languages> bugs" tend to get ignored because it's not popular to blame <language> for bugs unless <language> is C. For example an enormous number of high severity CVEs are SQL injection but I never hear anybody saying we should replace SQL with a binary interface that clearly distinguishes statements from data, even though that would make more difference in practice than replacing C with something else.

> I don't follow. What's the equivalent of forgetting to check the length of an input string before chugging it into a too-small array in Go?

In Go the program terminates, which is at best a denial of service vulnerability. If the program is anything in the nature of Fail2ban then just causing it to die is a serious problem. Meanwhile when it restarts it will have to somehow deal with whatever corrupted state the crash left behind, which depending on the context can provide the attacker with opportunities to do arbitrarily bad things by manipulating the state to be something the programmer never anticipated. Being able to induce a restart is a huge increase in attack surface.

Immediate program termination is the "take cyanide capsule" solution to serious bugs. It may be better than some of the alternatives but it's still very bad.
If the function is defined on a finite domain, you can (in theory) find the fastest algorithm for it: http://www.forwardscattering.org/post/13
In practice, something like hill climbing will be done, as you said. Actually it's not even hill climbing, since some of the changes will be pessimisations. (as per the original post)
This Comment Was Censored by Y Combinator's Hacker News
That is not what I'm talking about. e.g. (in Rust)

let map: TreeMap<uint, SomeHugeThing> = make_map();

let value: Option<&SomeHugeThing> = map.find(&123);

`map` is a (recursive) tree that associates a `uint` key with a value of type `SomeHugeThing`, imagine that is, e.g. 1KB, or otherwise expensive to copy. The `value` is a direct pointer to the memory of the value associated with the key 123 (if it exists), that is, it is extremely cheap to manipulate `value` because it is basically a machine pointer directly into the memory of the TreeMap. Rust gives you the power for that to be perfectly safe without a GC: there's no risk that changes to the `map` structure will cause the `value` pointer to be invalidated.

As far as I know, Ada etc. do not allow for this without a GC. That is, there's no way to have a safe pointer directly into the memory controlled by some dynamic data structure. Instead, one would have to search the `map` each time the value is wanted, or turn on GC.

> its "unsafe" mechanism needs to be used in order to implement performant data structures for this reason.

Implement some performant data structures. There's a lot of data structures that can be implemented performantly without begin intrusive (sure, one might want to use `unsafe` occasionally to optimise them fully, but the `unsafe` is almost always not being used to make it intrusive).

Also, I don't understand the relevance of that link, the top comment (which is mine, btw) clearly demonstrates that `unsafe` is not necessary.
Yes, in two ways:

- By buying on a subsidized contract, you've effectively used a loan for an iPhone. It's not different just because the phone company issued the loan.

- By using a loan for something else (e.g. tuition, automotive, housing), and then buying an iPhone instead of paying down the loan
> All the books were saying to separate logic from our views

It doesn't matter what the books say. Or rather - you've got to understand the reason for the advice - not just learn to follow the advice.

Programming abounds with maxims. However you can't capture a complex truth with a glib catchphrase. Everyone is trying to achieve the same ends - ease of development without sacrificing maintainability (to give a very simple example).

Catch-phrases such as "separate your logic from your views" was meant in a specific context. If you etch it in granite and pass it on to future generations it won't always embody the practical truth it was meant to convey.

So - we should remember the catch phrases but understand their context - and therefore we might hope to understand the more subtle and less easily stated truth behind the one-liners.
Looking at two motherboard cross sections looking for differences in architecture and performance is a fools errand, and the same goes for your brain. We can glean some information, but it shouldn't have to be said that form is not always a direct match to function.
> this is the only government entity who spent millions of dollars to figure out how to continue to collect taxes in the event of a nuclear war

There is an odd implication to that statement, that you apparently believe multiple government agencies should have developed such plans.
And broken by them - it just depends on who you are or what power you wield as to how you are handled for breaking them.
I think that rather one gets used to that stuff in school--by high school you've had eight or nine years of it. But coming back to it as an adult, it can be a surprise. As a parent, I did find some of the offspring's work odd. Some was the stuff we did (maybe resenting, but taking for granted), some involved new trends.
So Appple Pay / Google Wallet is "touch phone to thing, enter password/fingerprint." According to an article [1] on how this competing product works:

"The application can be downloaded for free from the App Store and Google Play Store. Available for both iOS and Android devices, it is designed to ‘simplify and expedite the customer checkout process by applying qualifying offers and coupons, participating merchant rewards, loyalty programs and membership accounts, and offering payment options through the consumer’s selected financial account, all with a single scan.”

"Using CurrentC mobile payments the point-of-sale displays a QR code for the customer to read with their phone.

"The QR code generates the payment token on the smartphone which verifies the shopper’s presence, identity and initiates the transaction between the merchant and the bank.

"The phone connects with the cloud for authorization and sends the approval to the merchant.

[1] http://mainstreetinc.net/currentc-mobile-payments-alternativ...
You are correct that VLIW, e.g., as in Itanium,
flopped and out of order execution, speculative
execution, branch prediction, etc. won out.

The 9:1 speed up I reported was directly from Ebcioglu:
For a while he was in our AI group at Watson. I don't
recall just what he did, but he may have had an intermediate
step that, for a given program, analyzed the stream of
370 instructions and rewrote them for the 24 way
VLIW.

An idea I had him consider was very long addresses. Or,
who the heck really wants the addresses in main memory
to be 0, 1, 2, ...? Of course, no one! That's why
we have lots of work, from old link edit relocation to collection classes, memory management (garbage
collection), etc.

So, what do we actually do? Sure,
darned near everything comes out of level 1, 2, 3 or so
cache which works with just a hash of the
main memory address.

So, since we are going to hash the main memory
addresses anyway, let's just do that! So, have
a very long address, say, 1024 bytes long.
So, the 1024 bytes are immediate from the
source code! That is, just concatenate,
say, address space name, program name,
function name, class name, instance name,
member name, key name (as in key-value pairs).
That's the address. Then hash it.

Ebcioglu
checked how fast the execution logic could be,
and it seemed okay.

I know; I know; I left out
a lot and need a better explanation! I'm
concentrating on my software for my project
and have gotten away from such low level hardware
issues; heck, I don't even remember if
we hash the real or the virtual address!

But, the OP was a little light on a lot of
history maybe relevant to the work of
Soft Machines.
Segfault: interesting.
Segfault at 0x41414141 when your input is "AAAA": alarming.
The problem is that "safer" languages just encourages programmers that don't really think carefully about what they're doing because of the "the language is safe, it'll protect me from everything" effect. "Simple" bugs get hidden, programmers are encouraged to create more complex systems as a result, and the bugs thus created become even more subtle and difficult to find.

Is it really so bloody hard to ensure that e.g. the fields of the executable header, if they're offsets, are actually valid values? I've written tools that work with PEs, many of them reading the entire file into a buffer first, and "make sure you're inside the file" was one of the points I always kept in mind.

I say we need to fix how programmers think, not the language, because the same mindset that leads to bugs like these in "unsafe" languages will also lead to (maybe less severe, maybe more severe but also more subtle) bugs in "safe" languages too.
Doesn't matter if it changes. They disabled the NFC readers and wouldn't be able to re-enable them without re-enabling Apple Pay since it's based on the industry standard NFC technology.
Why do we still have Daylight Saving Time?
On their old, hopeless business model:

"But gun rights advocates, like the National Rifle Association, say smart guns could limit Second Amendment rights."

As in, introduction of "smart guns" will limit or eliminate sales of normal guns in New Jersey, and it's been seriously proposed in California last year, and has in the past elsewhere.

Needless to say, the police are always exempted from the laws.

Needless to say, gun owners (forget about the NRA, at most it's the people they inform) will boycott anyone touching this technology. As we've seen in the latest iteration with a German company.

What also should not need saying is that the founders of this company are not in touch with the gun market. Not a good sign, but maybe they'll learn. But it doesn't help them to lie about "being the leader in firearms safety technologies for law enforcement".

No, that would be the holster manufacturers that make ones that make it hard for an assailant to grab a gun, which is one of the greatest threats a uniformed police officer faces.

I skimmed some of the article's comments, and someone mentioned that in a hot area an officer friend of his frequently had to pull his service pistol as a threat. I suspect that like civilians, police threaten with their guns a lot more than they fire them. Having to explain why each time you pulled your gun ... they're not going to like that.

Or let me put it this way: will putting our police in a high tech Panopticon solve the real problems with them? Will it do more than adjust them a little at the margin? Quis custodiet ipsos custodes? As in, who will be passing judgement on the data these guns will be producing? How often does the law enforcement-judicial complex really police itself?
I had this problem at high school, and it's taken me years to undo the expectation that everything should be easy. It happened to my brother too, except if something's too challenging for him, he just quits.

If you're gung-ho enough, expose yourself to the fire so you build up resistance. It's going to be rough once you start hitting walls.
Above the Ice
>Anyone can be as exclusionary as they like on their own.

This isn't true once you get into monopoly territory, although that is not a concern in this case.
The topic of DI and/or IOC in dynamic languages is an interesting one.

I've seen a similar debate play out in the Python world and the debate seems to polarize into two camps:

"You have never built anything complex enough and therefore you don't understand the benefits of DI/IOC"

vs.

"You've come to a dynamic language from some verbose public static void main hell-hole and are suffering from some form of Stockholm Syndrome"
Why are people allowed to post links to computerworld on here? The site is right behind buzzfeed in zero content click bait "list-articles". I really hope the admins start moderating bottom feeding "news" websites from HN.
Perhaps not to that definition but the according to websters. 'the betrayal of a trust or confidence; breach of faith; treachery.'
While I doubt the downvotes are necessary, you're misunderstanding the scope of a MITM attack.

In order to mitigate a MITM you must in some way communicate with someone else. Your checksum idea either gets routed through the malicious node, which means they could change it, or it doesn't, which means you're revealing to some third party other than the exit node what it is you're browsing, and you're also telling them who you are.

In a sense, this is what https is for, by trusting certificates you know to be valid, a malicious node won't be able to see, let alone manipulate the data being sent to you (Though obviously they will see who you're talking to.)
Sigh. Not politically correct enough for HN, I guess.
This is the problem. The law requires intentionality. The enforcement of the law "divines" intentionality. Seems a clear problem because the executive branch (enforcement) is essentially playing judge, jury, and executioner. And by doing so is essentially dis-regarding the intentions of the law as it was written. (cue: irony).
Naw, this is purely a reporting system. If if fails, if somehow, the officer doesn't keep the battery charged, if the data somehow can't be read after a bad shoot, the primary function of the firearm will not be affected.
Can't remember how long it took but it finished uploading before I needed an emergency restore ;-)
I haven't seen any successful MVPs out of games. What I have seen is gaming studios developing very good products (Angry Birds, Kingdom Rush etc) and releasing them for free, and then building a fan base to monetize off of it via mobile sales, in-game sales and sponsorships. Even if you are a one-man team, there are still others in your shoes that have done this successfully in the past, such as Jay at zeebarf.com.

Bottom line is you will want people to know your work before they want to open their wallets. Think of building a series of games, with the first few installments as freebies. If your product is good enough, people will want more, and then you can recoup the costs once you get traction.

If you want to get into the unity/flash gaming business, go to sites like armorgames.com, kongregate, maxgames to see what the popular game producers are doing. Look at their blogs to see their journey.

Based on playing your game so far, I'd say it's not ready for MVP. There are too many high quality free games out there for free.

Good luck!

Feedback:

1: Consider adding a loader screen. Your unity is taking over two minutes to load which is VERY long by browser game standards. Add a progress screen, show something flashy to hold/keep people's attention.

2: It's unclear what the objective of the game is. There are no tutorials, no HUD (heads up display), no context menu.
I'm not sure the Greek debt thing is relevant. The fact that the EU is not liable for Greece's debts does not mean it can not choose to give money to Greece.
> It's difficult for me to believe that they're doing this solely out of spite

I can believe that. It can't be a coincidence that this is happening right after a competitor to their payment system starts to be used.

Their payment system has two advantages for them: they get data and they get royalties.

Since they're involved they want everyone to start using their new system because then they can collect a little fee on each retailer using the system through patents/licensing. When a customer uses Apple Pay (or Google Wallet, etc.) that doesn't happen.

More important to many stores is the data. Since Apple Pay uses unique IDs they can't track me. But their system is built around tracking people, purchases, and loyalty cards. Possibly across chains of stores. That's very valuable data.
It's kind of confusing, but I take it many of these have already been solved? For example, one picture is subtitled, "We have no sense of scale for this - Is it some kind of pipe?", and clicking on it leads you to a precise description of the pipe's role and a gallery containing an actual scale photo:

https://cds.cern.ch/record/1765880/files/70-3-376.jpg?subfor...

("The grooves allowed circulation of the cooling fluid, in this case helium" - that's some pretty serious cooling)
OK. I'll dial it back a bit. How about a 10" tablet on a small stand with a bluetooth mouse and keyboard.

Pretty mobile and nearly the same size as my main development laptop.
It's annoying, isn't it?

Plus, you can just disagree with something because it's wrong. Everything need not be a logical fallacy with a Latin name.
Ask HN: How do you monetize a Twitter account?
I've been looking at some resources about Twitter and social media lately as I am about to make a new twitter account (and possibly try to monetize it). I'm still a college student bit basically the idea is that I'll tweet about things to do in town. It's not really important to me that I monetize this because I think I'll enjoy the experience and if the account is a success then I'll be gaining from the information I get about events to attend and things to do. That being said, I will probably try to monetize it at some point. Should I wait until I have X amount of followers? How do I draw the line between sponsored posts and organic posts? Should I approach businesses about posting for them or is there another method I might be able to use?
If Uber can break the Vegas cab cartel[1] it would be very surprising to me. So far the cab companies have been able to survive everything, they've even prevented the monorail from going to the airport. Which if it did go to the airport would eliminate so many fares, because once you get to your hotel you normally just walk everywhere else.

Since this is Vegas, I'd say the proverbial smart money is still on the side of the cab companies being able to force enforcement of the law. Las Vegas has perfected the science of aligning widely varied financial interests to preserve the status quo of business as usual.

[1] - http://en.wikipedia.org/wiki/Taxicabs_of_the_United_States#L...
I've used it when implementing a game "loop" (just continually asking user for input to the game). It's nice to be able use recursion when you want to, and be sure that the call stack won't grow larger just by playing the game for several rounds.
Advertising at the edge of the apocalypse (2007)
It apparently had only 10k users. 10k users that loved it, but still not really enough for google to allocate resources to support and develop it.
You're right, I definitely need to work on the copy, and the landing page in general.

Evernote and Google Docs are both great, but their interfaces are too cluttered for me and using them simply doesn't come close to using a good paper notebook. It just isn't as delightful. A physical notebook has its own drawbacks however (don't want to carry another item around with me, it's difficult to organize it into different sections, etc.), so I knew I had to create a software solution. That's my vision for Flownote.
How Old Is Too Old to Start a Business?