skysight-inc/HackerNews huggingface dataset:
so, this isn't exactly what you are after; but, I've always had a bunch of little exercises and projects that I just kind of go through in a new language/platform as a learning exercise.

Examples:

1. given a large file, or set of files, write a program/routine to count the number of times an arbitrary sequence of characters appears. No regular expressions or other pattern matching helpers from a library/sdk, you have to do it all yourself. This one is pretty small, but there's lots of opportunity for optimization.

2. build a link shortener service with some analytics/tracking.

3. write a simple tokenizer for whatever syntax/language you feel like. JSON is a super easy one.

4. write a little website crawler. multithread it. implement rate limiting (something more advanced than random sleeps; e.g. token bucket, etc...).

5. make a couple easy data structures yourself. If the language/platform you are working in has the same structure in an SDK (or there's a good open source one), write yours to the same interface and then run it through their test suite. e.g. linked lists, queues, etc...
Yeah, for sure not at that scale!!! I wish I was talking to their CTOs ;)

Think 10-20MM a year in operating costs (small feet of trucks, few large facilities) - you're on the right track when you mentioned utilities. Even a business like $TWNK will likely have to think about this if they have not already. :)
Johnny Mnemonic.
I have not used an Xbox, but I vastly prefer our Roku to the others we have tried (Chromecast, Apple TV, Fire stick, 'Smart TV'). It's just so refreshingly neutral. We use several services (Netflix, Hulu Plus, Amazon Prime, Sirius XM, Pandora) and it has a nice top level search. It's UI is simple and uncluttered.
I had some trouble a few years back when I was looking for a job after 2 years experience. I wasn't junior nor was I senior and I had spent a year and a half working on my 'startup' (so basically 3.5 years experience).

I didn't have any success finding remote interviews (less than 5), and had more interviews locally. However, it was my state of mind that prevented me from getting an offer. Not sure where your head is at, but with your resume and the job opportunities in the current days, the issue is more about you than the jobs itself.

Also, it seems like your designs would suit more French Fashion houses anyway. Seems like less of a feat to work at a French Fashion house (or design house) for a few years then branch off to New York than going straight back to New York (Remotely).
BigData and ML Toolset and Library Weekly Roundup – Feb. 16, 2017
10 Apps pour entrepreneurs
This is stupid. LA roads are jammed so Musk's big idea is to build even more expensive roads underground. The cult of personality around him is comical...
No, but a text saying "we'll see you at work 8am on Monday" as you are entering Australia is probably good enough reason to be denied entry if you have a tourist visa.
Until the embedded app in your smart TV is orphaned/deprecated when streaming providers change protocols etc.
Well, yes. But as tptacek said:

"But non-citizens, possibly including LPRs, cannot: if an alien attempts to cross the border with a device they can't unlock "because they don't have the corresponding 2FA token with them" (as one friend suggested they do), they'll be detained, their devices confiscated, and then put on a flight out of the country."

I'm not a US citizen. I don't have anything in particular I care about the CBP seeing. But, I'd rather they not have all of my 400 passwords. I'd then have to change everything, and also be breaking a bunch of bank terms of service.

I don't think CBP actually wants my bank info. But with all passwords in a manager, they would get it if they had access. However, with no passwords, they may bar entry.
KLF's The Manual is a guide to producing a number one hit.
I just want to emphasize that:

a.) this is a beta product where the team has been focusing on completeness and correctness before performance

b.) I was testing Cockroach from August through October--Cockroach Labs has put a good deal of work into performance in the last three months, but that work hasn't been merged into mainline yet. I expect things should be a good deal faster by 1.0.

c.) Jepsen does some intentionally pathological things to databases. For instance, we choose extremely small Cockroach shard sizes to force constant rebalancing of the keyspace under inserts. Don't treat this as representative of a production workload.
No surprise they went to Gene Munster for a comment. Munster is the dweeb predicted Apple would make their own TV for 6 years running, and frantically pestered Apple on investor calls to make it happen. This despite the fact that the entire Television market is a tiny fraction of the PC market, let alone the smartphone/tablet markets, and it never made sense for Apple to ever make a TV set.

Most analysts have no clue what it takes to run a business, they are focused on balance sheet and income statements separate from the reality that created them (which is the exact opposite of what Buffett does). The Apple Watch was about as successful as was possible (probably the best selling watch in history by revenues), and some analysts flipped out that it wasn't as big as the iPhone (even though Apple Watch outsold iPhone in their first year).

The latest AppleTV is great, a substantial improvement to the previous model, and very competitive in every way other than cost (it's ease of use premiums is worthwhile though IMHO). I use Siri, play games with my kids, subscribed to HBO/Netflix, etc. The only reason sales declined over the previous model is that it's significantly more expensive. But the reality is the hardware can't ever be a big product for Apple, other than opening the door to getting a piece of subscription revenues for streaming content.

The only thing left holding back AppleTV, Xbox, Roku, Fire, Google, et al, is access to live and current tv content. Apple hasn't been able to crack the code to get live TV channels yet, but neither has most anyone else. The real problem is the cable business model, and it needs to fracture a little more before it breaks entirely and all the set top boxes get access to all the content.
> A simple 2d drawing API for C++ takes slowly shape
> With 183 pages
> This seems currently not to include text rendering.

183 pages describing "simple 2d drawing api"?
I've been programming professionally for 15 years (C# & SQL Server) and I've encountered exactly one Algebra problem in my entire career.

Now some jobs require the most advanced math on the planet. For example the guys that developer the SQL Server query optimizer and absolute math gods and they have to be.

However for 95% (my own made up statistic) of software development jobs advanced math is not a requirement.
Accounts I've read of this, no you do not get to drive, at all.

They will take it into a back room, do things you won't get to see, and you may get it back when they're done with you, or they may keep it (example: [1]).

If you're a security researcher, or property paranoid, you can then dispose of the device in some way, because you have no idea what they did to it, the device firmware, baseband, etc. Probably nothing, right? But the time and effort it'd take to vet it all is prohibitive.

[1] https://www.cnet.com/news/researcher-detained-at-u-s-border-...
CCC 003: Creating a Niche Website, Blogging Inspiration [& More]
@OP: do you really don't see the contradiction between the content and design of your site?
Oligopolies Are Worse Than We Thought
Given its frequency of use and the fact that since Kelo it can be used to the benefit of private businesses, I'd say it is very much politically powerful as well as legally powerful.

You don't think the decisions to remove people from their homes, which people to remove from their homes, and the price they should be paid for this major disruption to their lives is already a massively political issue?

The poorest among us are disproportionately affected by eminent domain, because their property is the cheapest and because they are least able to defend themselves. Kudos to the 'certain conservative circles' who are trying to defend those people and shame on anyone who tries to trivialize that battle.
Xsolla starts $30M royalty investment fund for indie games
Windows 10 Creators Update – How to Hide the All Apps Column in the Start Menu
I've still failed to get anyone to officially contact me on this matter. Exhausted every possible recourse I could think of. Any time I actually get a human involved, they just pass me off to some online form or say they can't help.
I was in a position to move the the USA about 10 years ago and decided against it because I foresaw quite a bit of the developments since then. So indeed, that's not simple once you have made that choice. But for some it may be a reason to move back to where they originally hailed from and in my circle of friends this is already happening (and many more people are talking about it and considering it).

This is going to hurt America quite a bit by the time it has run its course.
I stand corrected, thanks. The Google article preview listed a much wider confidence interval of estimates.
They're both currently anti-privacy. It was Clinton Administration that originally compromised with escrow and then allowing crypto. Also expanded FOIA use. The conservatives in the military, esp running NSA, wanted it banned. Then conservatives passed Patriot Act and issued State of Emergency creating a lightweight, selective form oc martial law with bulk surveillance and indefinite detention without trial. Also reduced public access to government info. Obama reversed Democrat accomplishments in privacy by expanding on those conservative policies and laws. New Republican President is trying to crank them up to the next level on top of showing himself to be a threat to individuals or companies for arbitrary, unpredictable reasons motivated by ego.

So, both parties suck at privacy but one did something for it once under pressure. Republicans are consistently in favor of trading liberty for temporary, limited security if it's not their firearms, speech, or press.
About 40% of the people on this poster are black. Why? That doesn't represent the population of the US, attendants at WWDC, or worldwide developers. What's the motivation?
I would be kind of okay with this if I could just turn around. We think you are a risk, either show us your phone - and we may or may not allow you to enter after looking at it - or take the next airplane home. It would be nice, if you would tell me this before I waste my time and money to go on the flight so that I can decide in advance if I am willing to find out how looking at my phone will influence your assessment of me. But I certainly see how telling this in advance would be problematic or undesirable.

But once you start to arrest me, I really want to know why you are doing this and I surely think that I am entitled to get this information. You don't have to tell me which undersea cables you tapped to get your information but just telling me that you think I am violating an unspecified law certainly doesn't cut it.

I am still a human not found guilty by any court and you need good reasons to take away my freedom, citizen or not. And you owe me an explanation so that I can take appropriate measures to resolve the situation.
Snapchats UI is a puzzle wrapped in a riddle, buried in an enigma. Just a terrible UI.
Seems almost bizarrely niche in my opinion. I wouldn't pursue a HN clone unless you already have a really good grasp on an existing audience looking for this exact type of stuff. If you believe this is information that we truly all should know, or at least be aware of, it would seem to me that you'd benefit from distributing it in places that people already visit, rather than some place no one has heard of yet.
What's interesting to me is how he focused on doing small things and building up on them.
Aaron Reed has a terrific book, "Creating Interactive Fiction with Inform 7" (http://inform7.textories.com) that walks you through building a complete (and fairly sophisticated) text adventure.

Inform 7 is very much a niche programming language, but it's really interesting and unusual, well worth investigating if you want to broaden your horizons. Vaguely Prolog-like, but written in natural language.
Fat Talk (2012)
I love everything about DDG (except Perl :-P ).

Stay strong :-)
> I once even got sent a 40-character, hexadecimal string that wasn’t a valid UDID, and looked nothing like the actual one they eventually sent me. To this day, I still have no idea where they got it from.

A UDID is the result of a SHA-1 calculation: there is no such thing as a 40-character hexadecimal string which is "isn't a valid UDID" by syntax, so this is interesting to me: if the author ever sees this, did you get an error saying that from Apple (in which case we know they have a massive database of every device in existence)?

(Note that UDIDs beginning with 32-bits of F are returned by the APIs that provide app-specific advertising identifiers on the device, so if you saw one of those and decided it was "invalid", that was returned because they used a tool which tried to return a UDID but was using the older public APIs to do that from a sandboxed application.)

(edit: Oh, I just noticed there are comments on the website. I'm stupid, and will copy this there.)
As far as I know, Swiss border police/customs officers (which often operate at random places in the country, not necessarily at the border) are not allowed to check the content of any electronic device without a search warrant.

They can ask you to unlock the phone and show the IMEI number when suspicious of theft, but that's about it.

Source: friend of mine worked there.
The Manual was good for my IT support business: It helped my get over my hesitation on copying good ideas.
As if it is only illegals that are being paid under the table.
This looks really cool, I'm slightly confused why the type of CPU intensive workloads only has a single core though?
Or you get pwned when exploits some terrible unpatched security flaw in your unupdated TV software.
You might find this interesting: http://web.archive.org/web/20160227122619/http://www.structu...
Workers Are Literally Dying to Build American Warships
Just as a headsup, I left Stripe in late 2015 to run Jepsen as an independent consultancy.
What are you working on today? Are you still using assembly?
How we use machine learning to identify paying customers before they subscribe
They didnt invent anything? Only duplicated others' work identically or with uglier, shoddier construction at lower prices? Im interested in a link with evidence of that if you have it.
Honest question... do any TV manufacturers provide a high-quality UI for their "smart" features? I've used a few and they are all usually pretty awful.
One of my favourites: https://mitpress.mit.edu/books/little-schemer
> But then this raises a further issue: do I keep social media passwords on that list, or leave them off? If I kept them off, I could honestly say "I can't login. I didn't want distracting social media on a business trip".

To go a step further, what if you don't even have a Facebook account? How do you even prove that, if there are other accounts with the same name as you that show up when searching (and the profile picture is not sufficient to rule it out)?

> I'm not sure of the risks of having CBP log into Facebook.

There's a non-zero chance you're going to be detained and grilled if any of your friends have talked about terrorism, drugs, have criminal records, or are on or share a name with someone on a terrorist watch list (and that may extend to their friends or further).

They could also potentially take a copy of your friends list, posts or any other content and do who knows what with it at some point in the future.
On one hand, it is supposed to take years. On the other, you are not supposed to be able to get a job if you are not junior just out of school.

A lot of it is much easier then people make it out to be and quite a lot seniors know much less then they pretend to know. At least, that is my long term observation. A lot of the "it is too difficult you aint got no chance" is just habitual posturing - if it is difficult then I look smarter.

Whether job is awful or not depends a lot on where exactly you work. The worst parts of the job are related to internal politics - whether between development team itself or between development and management or even development team and customer. It is bad when team believe you are lazy unless you work 80 hours a week and dont even try to organize things so that the work would be possible within normal working time (e.g. late meetings, expectation of instant mail answer etc). It is bad when developers fight over who is going to be the lead. It is bad when another developer insist on having everything his way and micromanages or badmount people behind backs. It is bad when there is a mess (e.g. no common standards) and no leadership.

None of that is something that you could not encounter in any other profession. It tend to be somewhat bad in agile teams, since those do not have clear responsibilities to team members (leading to either constant power struggle or strongly enforced conformity). However, as a new kid on the block, you wont have opinions all that much anyway, so you should be fine.
> there's no standard text you can have contributors sign to say that they understand that they're irrevocably licensing their contributions to you under that license

If you feel you need something like that, use the Developer Certificate of Origin: https://developercertificate.org/

That's what "Signed-off-by:" lines indicate agreement with, and conveniently, git has built-in support for adding such lines.
They occasionally send out email notices. Check their website for more information: https://www.manning.com/manuscript-reviews
Simple Made Easy is a great introduction to the Rich Hickey Fanclub [1] ;)

Other recommendations for early viewing are "Hammock Driven Development", "The Value of Values" and "The Design of Datomic".

[1] https://github.com/tallesl/Rich-Hickey-fanclub
They need to be at least 1000x to 10,000x faster on the read side though
I guess the profit margin comes from the $99/user fee
> But I have more realistic choices for say my cell phone plan than I do the search engine I use. And I have every little choice in, e.g., whether or not I send emails to gmail/yahoo/etc. users.

If I don't want to use Google because of their tracking, I can use DuckDuckGo.

If I don't want to use Comcast because of their tracking, my other options are Comcast, Comcast, Comcast, and Comcast. I think you're being a bit disingenuous by focusing on cellular carriers and not mentioning wired broadband providers where we have no competition, no consumer choice, and no market solution to abuses by the service provider.

Your criticism of email is somewhat more fair. While there are alternative services available that you could use, the majority of your contacts are going to choose to fork over all of your information to Google. But if you're really concerned about that, you can find other channels to contact them. That's still a better situation than the ISP market that most Americans are stuck with.
> - Has there been any improvement in boring in the last 50 years? The frequently-repeated statement that it hasn't improved would be quite shocking to me since at the very least I'd expect safety to improve.

New Austrian tunnelling method, although that's on the very edge of 50 years ago. Since then, I imagine there's been incremental improvements that aren't easily understood by people who don't work on TBMs (just like steam locomotives didn't really have any revolutionary technologies after Stephenson's Rocket, even though they clearly improved in the next 100 years).

> What are the maintenance costs of tunnels like as compared to surface roads?

More expensive, I imagine. You have more infrastructure to maintain. In addition to the road surface, you have to inspect and maintain the tunnel lining, ventilation, and drainage systems. Given that two of those are active systems, I doubt there's any real savings over the lesser deterioration from weather.

> What are the big costs in the industry? The article hinted that Musk picked up a boring machine for 90% off $15MM, or $1.5MM, which seems extremely cheap given that even small size tunnels in urban areas can cost more than one -billion- US dollars per mile.

TBMs are usually purpose-built. I suspect Musk's "cheap" boring machine is him picking one up after it's completed its project and no one has any use for it.

> - Is there enough boreable space under our cities that this is doable? I know Musk says he wants to go deep, but even at very deep depths you run into problems of sand, boulders, geography, etc, etc.

Most of the buried stuff in our cities are relatively shallow. After around 10-20 feet of depth, you can basically assume nonexistence of municipal utilities, which means the only obstacles are others trying to avoid such things. The real problem in geometry is trying to maintain egress and ingress capabilities, as well as maintaining maximum grades internally. Don't forget that you'll need emergency access tunnels and ventilation shafts for long tunnels (and, usually, if it's not long, it's not deep).
Funny Mom puts spin on Miley Cyrus song
> We know there are no training camps within our borders

You're probably talking about US but for EU it might not be true, FWIW:

http://www.telegraph.co.uk/news/worldnews/islamic-state/1212...

Though it might also be just Airsoft venues

http://www.popularairsoft.com/news/extremist-training-camps-...
Apologies for that. I knew the 2010 piece was done by a Spanish designer and they looked extremely similar. What I did not know was that the 2010 designer was inspired in previous Geoff's work.

The circular reference I was pointing out:

Geoff's Work ->(inspired) Rocio's work -> (looks extremely similar to)-> Geoff's work

Apologies for that.
WebOS and Android TV are pretty decent.
Ask HN: Help with this gateway configuration?
HN, I´ve tried saking on StackOverflow, googling for answers, looking at the API, but I have no idea how to make this configuration work.

This is my problem:

I have a gateway which has 31 chips inside. I have it configured so any incoming sms to those numbers are forwarded as a mail to 2 emails (clear in the image below). However the configuration makes it clear it can also do the opposite, it can make it so I can send a mail, and that mail be then sent as an sms through my gateway.

In short, I can do "sms -> mail", but haven't been able to do "mail -> sms".

This is the configuration panel for both things:

http://i.imgur.com/7dAQ5D2.png

This is the actual api/configuration manual for this model, which says nothing about the part I need:
http://www.dinstar.com/uploads/soft/150630/DWG2000SerieslastestAPI.pdf

I´m out of ideas, is anyone able to help me as to exactly how this works? Does the gateway check my mail for messages with specific subjects? I have tried everything.

Thanks.
Check your privacy filters: Facebook could be the new LinkedIn
Well. Fast c doesn't look quite like regular C, but seeing C optimised for speed isn't rare.

Looking at older C code is still better than seeing the hoops people jump through to get [insert programming language] to run at regular C speeds.

Fast C usually doesn't include weird workarounds for things like Implementation-specific GC quirks or bending language semantcs to force it to do what you want.