skysight-inc/HackerNews huggingface dataset:
There really isn't a direct analog in Rust. The best approximation in Rust is actually a combination of constructs in the language: structs and traits.

Structs are almost exactly like the C-objects of the same name: they define layout in memory for a data structure with discrete types as fields, and there are various packing options available. However in addition to this a struct-specific implementation can exist which defines static and instance based methods. As there is no inheritance in Rust, a struct's "impl" is unique to itself.

Polymorphism is implemented via the traits system. A trait defines a set of methods that objects meant to have said trait must implement (unless a default implementation for a given method in the trait exists). Any struct can have an implementation for a given trait, so these can be considered a (rough) analog to abstract base classes/interfaces (e.g. C++ classes that are either pure virtual or have virtual functions with default implementations).
Besides the obvious badness of the overall system described, things like

> The cache is a binary tree, and as new leaf certificates and keys are generated, they're inserted using the first 32 bits of MD5(serialNumber||issuer) as the key.

You know. That's not a mistake. That's what a consciously designed-in vulnerability to enable taking over the system looks like.
A 62 KLOC secure NTP server seems like an ideal project for this kind of experiment. I imagine it would be self-contained enough to actually use Rust or Golang instead of just treating them like FFI scripters.
No.

It then follows that reading things safely is therefore a completely insurmountable problem in C. There is no possible way for me thin wrapper around read that works on bounds checked arrays, and not use "read" cavalierly in my code without thinking. Right?
This Brandi DiCarli?

https://www.youtube.com/watch?v=ro4Mn7i7hQ8
No need for a new startup. Brown Paper Tickets is the obvious successor.
>This is what the end of Moore's law looks like.

>You spend $12 billion in annual R&D (a total that's risen substantially over the past decade) and then someone accuses you of "not trying" because your chips aren't that much better than last year's models.

it isn't the end of Moore's law. The things are in full accordance with the law - Intel does pack several times more transistors (and resulting cores) than several years ago into the same silicon area.

What Intel accused of is using its de-facto monopoly - instead of selling you the new chip made with increased number of cores on the same silicon area, they cut that silicon area into more (due to Moore's law) smaller chips with the same number of cores and sell them at the same per core price point thus making it look like Moore's law isn't there anymore. Imagine if in 2000 the price per MHz was the same as in 1998. Back then the presence of competition (AMD mostly) prevented that from happening.

Once/if AMD gets their game back on, the Moore's law will again become visible to consumer.
Don't forget init.ai, Botkit, Chatfuel, Chatflow, Last Mile...
Git: submodules vs. subtrees
WTF is a VPN
Location: Eastern Europe

Remote: Yes

Willing to relocate: Yes (need visa sponsorship)

Technologies: C, C++, Objective-C, Swift, iOS

Résumé/CV: https://goo.gl/tL3AaZ

Email: edg3@ukr.net

I am a dedicated software engineer with 4+ years’ industry experience working on a wide variety of development projects. I am comfortable working with a wide variety of technologies and languages. My goal is to find interesting new work in the role of an iOS Developer.
What arduino-class (that is, low power microcontrollers) devices are moving towards ARM? Seems like a very different use case from portable computers (like the Raspberry Pi) - the power consumption differences are pretty major.

> Nobody is going to be running NTPsec on it

Never say never. :) There are wifi, ethernet, and clock shields for Arduino, all of which are running microcontrollers, and many applications which would benefit from using NTP.
Subways are primarily unpleasant because of the (worst parts of the) clientele, not because of the rider density. Just the simple act of requiring riders to have a credit card will get rid of >90% of the unpleasant co-riders.
I have a feeling that by "old" the topic creator actually meant less relevant than it once was. Both languages are still very relevant and therefore out of the running. PHP may be waning but it still powers a huge chunk of the internet, just think about all those wordpress blogs.
This guy ran up on the Naked Cowboy in Times Square and stole his job
But higher positions weren't based on the value of work, they were based on nepotism, corruption, etc. Incidentally, I think that's essentially how capitalism works too, but if you're going to claim that work determines pay in a capitalist economy, then you have to admit that it also does in a UBI system.
To be fair, Kaspersky has always been less bad than the others.
Tested using Linux mint: calculator, google and other things didn't work, the only thing that was working was application launcher
Your website says nothing about Berlin as a location, although your post states "Copenhagen, Denmark // Berlin".
Usually is a bit strong, yeah. Here's their ownership map: http://www.livenationentertainment.com/map/venues

They do have far more exclusive-license venues than that, though.
Show HN: SynJS – synchronous JavaScript without callback hell (and with goto)
Am I the only person who first heard about Ticketmaster on the website of Terry Davis? He wrote an operating system for them.
Probably add D and Elixer to that list.
Which projects should convert to Rust?
Another reason to disable JS whilst surfing with Tor Browser Bundle. This article mentions the HTML5 Audio API - Something that should be stripped entirely from Tor Browser Bundle (TBB), but instead stays because TBB shares too much code with Firefox.

Also there's nothing stopping someone simply muting their speakers, or physically removing the speaker from their system if they can (some BIOS chips allow this, aswell as physically turning off the camera)
You can ask this question as well: how do you prepare for another `2008 crisis`

And it seems the only way is to gain capital so you can use it when the time is right. How do you gain capital? Most people would only be able to reduce consumption in order to save their money.
>I have a system for building RPMs of CPAN modules and their dependencies automatically.

I would be interested in this: is it open source?
Everyone is waiting with baited breath for a A-series Macbook (maybe call it the iBook again, to solidify "i" as personal/consumer line as opposed to "Pro")
I'm not sure how this one slipped under the radar then? Sounds like you might have an idea?

Also, describing the NYT in such a manner is an "appeal to authority."
I use APL as the sole language for my current job. Previous job was also APL. cumulative 4 years, and I'm under 30 yrs old, which is a bit of an oddity.
Show HN: Gravitate - Project Scaffolding for Grav CMS
"E-ticket convenience fee" still applies though, at least much of the time.
What do you mean by putting it into perspective? Those are desktop CPUs, which are separate from laptop CPUs.

On laptops, Kaby Lake would give them the ability to add more RAM and IIRC even lower power consumption.
I'm sorry to hear of your diagnosis. I was diagnosed with stage 2 melanoma back in Aug, a month before I was to start grad school. It got revised upwards, it was thicker than they initially thought, but the lymph node biopsy showed it hadn't metastasised. I dodged that bullet... so I don't have any advice.

But I would say keep the focus on your health. It was a emotional roller coaster for a bit, surprisingly, and I compartmentalized for awhile. I'm sure going through chemo will be even more 'fun'... I would have deferred going to grad school. Good luck!
I'll bet he can give you an array_read() function that does what you ask. I know I could.
And read the bash manual at least ONCE. (It's not the man page.)
Louis CK is really the only celebrity that I can think of that went out of their way to cut out ticketmaster. We really need attempts like this to succeed

http://www.ticketnews.com/louis-c-k-sells-tickets-for-tour-w...
I've had to use them a couple times at a local gallery that I like, and I like their general idea but that site needs a lot of work.
you mean teeth?
Interactive visualizations of Substitution Ciphers
As somebody who has been moving every year or two since I was 10, I am trying to force myself to stay in the same city/country for at least 5 years. Being in the same location enables you to develop a social network. Most of your basic needs are already solved (housing, job, visa, friend...), and you get to spend time focusing on other issues or hobbies. Moving places is an exciting thing. But you get lots of advantages by sticking somewhere.
If they are selling out fast enough that Automated buyers are a problem then the price is to low.

A 'presale' at 5x price that ticks down to normal prices over say 2 weeks would solve this problem. However, Ticketmaster makes more money getting a cut from scalpers without paying the bands their cut.
But virtual dispatch is trivial to add where you actually need it, a bunch of function pointers in a struct and you're good to go. And once you stop viewing the world through the OOP filter there aren't that many real hierarchies and interfaces left to deal with. The curse of OOP is that it turns problem solving into day dreaming, with expected results.
It's definitely non-intuitive without knowing the breakdown. If someone wants the skinny on a processor, I don't even bother explaining it unless they specifically want to know. I just link them to a benchmark and feature aggregator like cpuboss.

This comparison[0] shows how a 4th gen processor that has a higher over-all benchmark. It's still non-intuitive knowing the breakdown.

[0]: http://cpuboss.com/cpus/Intel-Core-i7-6700K-vs-Intel-Core-i7...
So Zazu is based on Alfred which was based on Quicksilver[1]. As someone who never left Quicksilver in the first place, what are some of the improvements that either alternative brings to the table?

1. https://qsapp.com/
Eyephish – Computer vision based phishing domain generator
Yes, I do. And I cannot wait for the games and applications that will come out this year. I am hooked.
Dropbox's $10B Valuation may not cross-over to it's IPO
You can simply sell the tickets.
Sometimes people were scammed by buying doubly sold e-tickets.

ticketswap.com solves this problem in coop with also ticketmaster if I'm not mistaken
There are a handful of smaller companies that have enough market share to be relevant. Ticketfly comes to mind. Parent mentioned an important point: Ticketmaster is owned by Live Nation, which also owns many of the venues (eg, the entire House of Blues chain). Independent venues are becoming more scarce, especially at the 500+ capacity size.
Quora Can Drive Insane Traffic to Your Blog… Here’s How
It's more complicated than that and has nothing to do with zoning at all. TicketMaster aggressively seeks out venues and lands exclusive contracts, which is a model that makes sense for many venues.

They buy venues and operators/promoters. Some of these "facility" fees are really just payments going into the promoter/operators pockets. In many cases, those people are TicketMaster.
I'm the author of Gravitate. Happy to answer any questions!
The Mac Mini's specs were pretty fair for 2013, but selling them in 2017 is pretty atrocious.

4K display prices are down, way down, and well within the normal consumer range now - you can pick up a very nice 4K monitor for $300 or less. It's not unreasonable to expect a Mac being sold new in 2017 to be able to drive it...
Agreed as well. It's a bit easier for me that my city is out of the way and generally doesn't get national touring acts (at least mainstream ones, we get plenty of (inter)national punk) and when we do the cheapest tickets are incredibly pricey and I'm paying at least $6 for a PBR.
You argument with me was that I don't adequately read sources and that I made an untrue statement, which was in fact not untrue, and was merely open to adjustment - which all summaries are.

My argument with you, was that you linked critical medical equipment to the accuseds website attack, which you should really be aware cannot be vulnerable to a website attack. Yet I am the one criticised for "not a lie" but "a major mistake ... made in rush to judgement"

I found neither your relevant or over-extended response to my criticism tenable. You appear to be in a rush to prosecute beyond fair assessment. Which is what years of hard prison for a temporary website protest attack that cannot threaten critical equipment presents.
Openresty (nginx bundle) is definitely getting traction and making lua more visible in the web space. Redis using it has also introduced lua to web devs. IoT seems like another niche it could be great for, see NodeMCU for an example. Rackspace use it for their monitoring agents, which is based on Luvit which is another cool project that could be used more widely.
> we really don't need all that much more performance

That's a ridiculous thing to say, especially on HN. There are many tasks that would benefit from higher performance. Not everyone limits themselves to text processing.

We're also CPU-bound for many tasks at the moment - consumer SSDs got to 2-3GB/s, RAM to 40-60GB/s. Not many useful computations can be performed on a single core at such speeds (hardware-accelerated encryption is one exception I can think of).

Yes, we need more cores, but you can scale linearly only that far - production gets expensive, electrical consumption gets expensive, cooling gets expensive, you run out of space.
Ray Tracing Book Series Review and Nim First Impressions
Presto – Distributed SQL Query Engine for Big Data
Thankfully no, but a year ago I'd have to be working in Pascal, VB5, and VBA.
Very similar argument to lovely CPG Grey video:
https://www.youtube.com/watch?v=VPBH1eW28mo
Next project: Patent fetish site? ;)
> I guess those people are just too stupid to know how bad it is in the US?

US marketing is the best in the world, no doubt; maybe "mistaken" or "deceived" is more accurate than "stupid".

A few observations:

- people trying to immigrate to the USA come predominantly from desperately poor countries that are, indeed, not as nice a place to live. (People from those countries are also frequently denied tourist visa to the USA, btw.)

- among my fellow students at a good university in California that came from first world countries, only about a quarter decided to stay for longer than a few years.

- among Chinese that go to study in the USA, increasing numbers apparently choose to return to China.

> it's all a personal preference

To a large part it is.

Among expats that have options and have seen different continents, the US is more of middling choice, I'd think, but for some people it just clicks and they love it. (And NY is in a different category, anyway.)
How do they talk to banks and what is their security policy?

I've found that they use Finicity (https://www.finicity.com/) for API and are stating that only a limited number of engineers have access to the DB (https://www.youneedabudget.com/security/). Still, would love to know more details on the security policies and infrastructure that are kind-of glanced over.
> Do you have any contracts/legally binding agreements in place with him?

Nothing on paper or agreement whatsoever. I honestly feel like I'm being led on blindly and have no say in how the business runs.
From Bullets, Seeds
That's interesting. I didn't learn SQL until taking a course on it in grad school. I had some programming background, mainly from math classes and a bit of CS.

the concept of a query really seemed odd, it took some mental adjusting. My only programming background was largely in writing procedural code. My brain really wanted to think in terms of methods, functions, inputs, and return values.

It's been so long (18 years since that course), that it is difficult to remember the mindset I was in. It all seems pretty natural now. But you are absolutely right, you do need to start thinking in terms of sets and operations on sets, not in terms of methods with inputs, procedures, and return values
Off-topic, but I've become something of an unintentional expert on making Pis reliable.

First, consider using f2fs instead of ext4 with a nice big card (and get a good one).

Next, attempt to disable all of the unnecessary logging and writes to the SD. Either send them to a server, write them to a ramdisk or even consider mounting the partition in read-only mode. This will drastically increase your duty cycle.

Finally, follow proper system shutdown procedures.

Do all of that (bonus points for putting heatsinks on your chips) and the Pi becomes rock-solid or something like it. Hint: it's not the Pi that fails, it's the SD card.
CSV export/import for frequent transactions, for others I just pop the Excel spreadsheet on my phone (it's synced to Dropbox) and just roll from there.
NASA releases new, detailed Greenland glacier data
The Real Name Fallacy
HP made a laptop slightly thicker to add 3 hours of battery life
> While I agree it's shameful for Apple to be selling the current Mac Mini, the performance from 2017 chips is going to be only ~20% better than what's in the Mac Mini now.

Which means it still won't be as powerful as the Mini they sold five years ago:

https://browser.primatelabs.com/mac-benchmarks

At the beginning of last year, I expected to be replacing a Mini and a MacBook. I ended up buying a 2012 Mini and a 2012 MacBook Pro on eBay, bumping up the memory and swapping in SSDs. I never would have imagined that a few years ago.
There is some interesting stuff in that case study, but there is nothing we can generalize from it. That's the point.

There are no full scale fecal transplant studies looking into obesity to my knowledge.

> Source? Let's not criticize others for their sources and then make unsupported drive-by claims.

You're right, but upon digging deeper into the study it's even worse: neither her, nor the person she took the fecal sample from, were obese at the time of transplant. Both became obese after the treatment. The source of the transplant was her daughter, so I can imagine a lot of environmental factors effecting both of them. It's hard to imagine the donor becoming obese because of the transplant...

The point here is there are a TON of other obvious variables to examine, and gut flora may really play a role, but there is really not substantial evidence to think that's true.

Regardless of if it is true, it doesn't change much for outcomes: you still have to eat less, you still have to workout more.
How do you prove the gamling is fair? I know little about Ethereum, but how can you make the outcomes of games verifiable? Either you use a RNG, in which case the house can use some RNG biased in their favor, or the program in completely deterministic, in which case the player can compute in advance the permutation of the cards and play perfectly.
Google Cloud Platform for data center professionals
When I write code for myself, it's always Common Lisp -- even for stock trading.
I'm never quite sure where MIPS and SPARC are in terms of llvm support. (And does llvm support automatically mean rust support?)
I have access to all the servers and source code, domain, corporation. He's suggesting we both incorporate in HK and use the banking there...which I don't like because I want to pay taxes just like everybody else because it's the fair thing to do.

This is just one of the many things we disagree on....
Surely it's not as efficient, but not exactly a concern, especially for gaming machine on a handful of hours a week.
Thanks for taking the time to go further on this and link that image, very cool stuff.
Without patents, inventing would not be profitable. All products would have exact copycats and ripoffs.
I don't know what the language of the year 2017 will look like, but I know it will be called Fortran.

We still use C++ and Fortran at our company.
SoA (Structure of Arrays) in Rust with Macros 1.1
Should I slow down to merge right safely, antagonizing the car behind me further?

By all means, yes! You should also signal your intent to merge right. If the traffic to your right is as congested as you suggest, you'll be able to merge right before the following vehicle can pass you on the right, as they require more distance and time to do so than you do just changing lanes.

You might say that I should never have been in the left lane to begin with.

I've said no such thing, nor would I. I've been very clear, repeatedly, that you should move right if you're impeding traffic from passing you on the left. If that means that you need to move repeatedly between two lanes of traffic and you don't wish to do so, I suggest you modulate your speed to flow with the traffic in one of those two lanes. You need to take into account the environment you're in — the flow of traffic — not necessarily the ideal you may want.

As I've mentioned, if you impede traffic from passing you on the left, you create congestion which increases the risk of collision. There's no numerical threshold. If the vehicles are allowed to pass, the congestion is alleviated.

Allowing faster traffic to pass is not the same as entitling you to drive at a constant, slower speed while preventing them from passing. If you don't allow them to pass, you create congestion, regardless of their following distance.

If you expect them to pass on the right, you also increase risk. If you prevent someone from passing out of spite ("I feel I owe them no courtesy"), you create an even more dangerous situation, as you create tension within yourself which affects your driving behavior in addition to creating congestion. Indeed, if they're tailgating dangerously close, that should be even more motivation to merge right, not because they're driving in a responsible manner (they're not), but because you do what you can to ensure your own safety. On single-lane roads and someone is tailgating, I'll sometimes move onto the shoulder and slow down to let them pass for exactly this reason.

I've now repeated myself a number of times and can't think of anything else I want to add. If I've written something you don't understand or disagree with, please feel free to point it out and say so, and I'll do my best to express myself better.
Getting Started Building Desktop Apps with HTML5, CSS and JS
What is being done to use the brine produced by desalination?

Whenever I look into this, it seems that all the brine questions revolve around how to dispose of it in a safe manner, or how to re-introduce it gradually to the sea.

Why can't we turn brine into table salt, or use it in some industrial process?
Advertisers use uXDT in order to link different devices to the same person and create better advertising profiles so to deliver better-targeted ads in the future

That's not just a horrible violation of people's privacy (and yet another example of why the bill of rights is deficient), but as someone with bat-like hearing (which is how I ended up as a sound engineer) it's yet more noise pollution that I don't want. Perhaps I can sue the industry and buy an abandoned mine to live in with the proceeds.
Installing TempleOS in Linux QEMU so you can do development on TempleOS
Mesentery: New organ discovered inside human body
Show HN: Conclave - free, encrypted collaboration for personal and business
Statistically it was likely that at least one person in this audience would get it. Therefore I think that OP wins this nerd throwdown.

Full disclosure: I still don't.
The Federal Trade Commission very actively prosecutes 'Deceptive Practices' that affect consumers. Sounds like the author (or anyone else affected) should file a complaint. A FTC 'consent decree' is effectively a $100m fine. Google, Microsoft and others have had to comply with FTC consent decrees: https://www.federalreserve.gov/boarddocs/supmanual/cch/ftca....
CBRE Group Acquires Floored