skysight-inc/HackerNews huggingface dataset:
Start by removing gratuitous undefined behavior from the dialect: undefined behavior which has not reason to exist because it arises from of the lack of requirements with regard to some translation aspect of the language, and not anything related to a run-time difficulty.

For instance, the unspecified order in which function arguments are evaluated, or the operands of most operators, or initializers in a declarator and such. In combination with certain uses of side effects, this creates undefined behavior (and even when not undefined, it can create surprises and bugs). This is purely a C semantics problem, not connected to the way the machine works, or the large scale way in which programs and their data fit together.

And let us note that even if evaluation order is pinned down by the language semantics, the compiler can still re-arrange it anyway, when it can recognize opportunities in which re-ordering evaluation makes no difference (the result, including all effects, are still as if it had been left to right).

Contrast that with, say, bounds checking arrays, where the neglect to do so is justified by the fact that pointers don't carry the size information, since they are mapped to machine addresses, which is a translation decision that has deep, non-localized semantic implications. Wider pointers don't fit into a register, which affects how they are passed between functions. They take up more space in every data structure which has pointers, and so on. There is a tangible, external difference, and performance impact.

A reasonable dialect in C should sacrifice safety only when there is a tangible performance issue.

Undefined behaviors at translation time (particularly in the preprocessor!) should be completely banished.

Here is one: there is no reason why a preprocessor token pasting operation (A ## B) which results in an invalid token should be undefined behavior. The execution of the preprocessor is quasi cost-free. Whether or not two elements pasted together to form a valid token can be checked, and diagnosed. The few preprocessor cycles which that requires are worth it!

The fact that it's not practical to banish or diagnose all undefined behaviors (nor desirable or reasonable to do so, since UB is an area for useful extensions) shouldn't be used as an excuse not to eliminate some of the silly ones.
Non-addressability does very little for security by itself. E.g. some routers will still route packets from outside that are sent with an internal address as the destination. Make sure you have actual firewalling in place if you're relying on that, and remember that if you're trusting any device connected to your internal network, you're, well, trusting any device connected to your internal network.
Ron, do you invest in companies outside U.S.? I founded a govtech company in Brazil, we have over 100 gov clients and we would love to talk to you!
Or bcd or fixed point. But it all depends what you want to represent. For financial data bcd or fixed point encoded in integers is generally preferred over floating point because it's easy to make it behave the way people expect it to.
As a bonus, if you accidentally scroll down far enough to kick off the here's-a-random-unrelated-article misfeature, then you're rewarded with a second autoplay of the video!
Oh, you'll get another batch in almost exactly one day. There's lots of mythology about the chicken cycle (as if theres only one "chicken") being 25 or 27 hours vs our wall time clock, and chickens don't live forever, but...

Same line of thinking WRT military, farming, etc.

On a very small scale I'll never type that specific line of code again, probably.

There are very few ways to earn a living that don't terminate the procedure with "repeat from beginning of procedure"
Indeed -- and this will be a topic for some follow up posts (if I can actually get the time to write them :) -- much of the govtech innovation is happening today at the municipal level. I would encourage you to start there as there are tens of thousands of potential customers. None of our companies contract, sub-contract, lobby, etc and sales are done directly to the departmental buyer.

The good news is that we're starting to see many of the same industry trends mentioned (eg. adoption of the cloud, new wave of gov't employees/buyers due to retirement cycle, riding the cost curve, etc.) at the State level but that will, in our estimate, take the next 5 years to mimic what we're seeing at the municipal level.

Re: the Federal level, our expectation is that we will see the changes start to appear 5 years from now. I know that's a little depressing but a $400 Billion global spend does not turn on a dime.

All of this to say: the govtech revolution is very real as we see from the performance of our startups but it's happening bottom-up not top-down AND this will be a multi-decade technology replacement cycle (not to mention the govtech transformation globally where time cycles will vary).

Honestly, not to sound like we're overhyping, but the rewiring of government is inevitable. The major tech trends are just too powerful in both the consumer and enterprise spheres to skip government. And frankly, we deserve better.

It's also why we're pretty sure there will be Govtech Fund II, III, IV... :)
We have thought about that. We have a sledge hammer and a maul, and it seems to be the most 'tame' idea while also being fun for everyone. Plus we wouldn't need to travel anywhere special. Some of our coworkers would even try to make a small parody of the original Office Space scene.
A beginners guide to data warehousing
https://automattic.com/

PollDaddy, Simperium, etc. aren't WP.
Does adding a light to Glass really solve the problem of covert recording? Does getting rid of Glass even do that?

Cameras are tiny. Privacy is dying.
> At best I would say that better user education could be called for, or potentially forcing the users to make an opt-in/out decision, but honestly I think the users would hate the interruption. This is clearly a situation like the European cookie permission law: If you force them to ask the users whether it's OK, sure they will ask, and that will interfere with the UX and piss off users.

T-Mobile provides a text message with details about BingeOn, and allows you a setting to opt out if you'd prefer higher quality streams (with using your data quota as a consequence).

https://support.t-mobile.com/docs/DOC-24294#tutorial1
I started with making 3d models of objects and weapons for games 15 years ago. Usually based of existing pictures or blueprints. Copy existing stuff is easy, even without measurements because good pictures with good camera can still be used for scaling stuff. I used to have about 100GB picture archive of all sort of stuff to be replicated into 3d models for game us.

Getting to know the tooling before you make something new really is the way to go. I currently use Freecad and Openscad. Freecad really has a way to work, sometimes going at something from a certain direction really helps you curb the complexity and pitfalls you can get yourself into.
I can suggest most of the videos made by https://www.youtube.com/user/cad1919/videos on youtube. Usually videos without audio just doing the modeling. Often I am surprised at his route to completion, usually fairly efficient and direct. For the item you want to make I would suggest following his example.

You should draw it out on paper in maybe 2 or 3 perspectives and do all the hard calculation and then just replicate it in 3d.

Freecad is really as user friendly as it gets for actual good small tolerance Free CAD. There are however some usability and or nagging issues. Like how you break your model and can't continue the route you had because the chamfer or join brakes your mesh :).

On a side note are you sure your idea is novel and new, I assume someone has made it before and you can copy ;) a few months ago there was a N mechanical mechanisms link on hackernews, it might be in there :).

Edit: don't look at the videos you find on youtube and just copy the thing their making. Make your own stuff just steal their workflow.

Also do everything using coordinates and measurements not drag and drop. Might help you visualise it better.
I currently use Debian for all the servers, and I cannot imagine using any other OS beside Linux for servers. I've also played with everything from ancient VAX mainframe, SUN OS, all kinds of BSD flavors, and my first experience using Linux was with Slackware distro on a PC with first gen Pentium.

The desktop is another story. Ever since Ubuntu came out, I was a fan, and I still remember being excited when I received each new release of Ubuntu on CD/DVD with stickers in the mail, all free from Canonical... Good old days...

Eventually, I went all-in to make Ubuntu my only desktop OS. However, I ran into few obstacles, which could be overcome with research and asking questions, but eventually I just didn't have enough energy or time to fix things. I really wanted it to work. I'd still like to start using Linux as a desktop for running just browsers/emails/shell/vim, but anything else, it is difficult. (Still looking for Camtasia/screenflow, Adobe Premiere alternative on Linux)

A non-technical friend decided to try Ubuntu because he was so tired of running Windows and couldn't justify spending money on Mac. But he ran into issues like audio not working. I'm sure he could've found solution to getting the audio working, or perhaps bought a compatible USB audio to make it work, but these "annoyances" were definitely not pleasant experience. I really wanted him to succeed, but eventually he bit the bullet and just got a Macbook.

Perhaps desktop for a common user is no longer relevant, as mobile OS (android/ios) have taken over some of this space. However, I agree that Linux as a desktop is important since it provides an alternative, but I still wish that things could be better.
Twitter Invests in Connected Headphone Company
How is this any better than e.g. viper mode?
“Explain to me how the internet works.”
Well, somebody's got to do the thinking...
Does TW use DHCPv6-PD to allocate networks to customer sites? If it does, are you sure that your router is presenting the same DUID to TW's DHCPv6 servers?

IME, as long as you present the same DUID to Comcast's DHCPv6 servers, and your equipment renews its DHCP lease before the expiry time, you retain the same IPv6 prefix.

Hope this helps. :)
Do you prefer VI/VIM keybindings to Emacs keybindings?

That's what spacemacs is, in a nutshell. It attempts to marry the keybindings of vim with the technical advantages of emacs (better process handling, server/client setup, etc)
Location: Orem, UT

Remote: Yes

Willing to relocate: Possibly

Technologies: PHP/Laravel, Ruby on Rails, AngularJS, Bootstrap, JQuery, Javascript.

Résumé/CV: Looking to get foot in door, willing to work cheap or as apprentice I'll go as low as 40k first year, if it means 60-80k in 2-3 years. Here's my resume from indeed: https://my.indeed.com/r/635438650d06982d

Email: patrickwcurl@gmail.com

Most recent project: http://startupwrench.com built on laravel.
Hey, so I've mostly done stuff with natural language processing and Stanford's NLP library which I don't think would help you here. But Google's TensorFlow could maybe help you? I'd also look at some of the Python libraries. Just search around and I'm sure you'll find what you need.
Awesome project. I use content from both on http://serializer.io and have often wondered which was first most often. I'd thought it would be the other way around.

Personally find HN to have more interesting discussions.
While the wink-to-take-a-photo feature added much later might've been a concern, the two primary (and most reliable) ways to take photos were to physically raise your hand to press the shutter button, or to say "Okay glass, take a photo". Neither of those two methods are remotely subtle.

It's unlikely this is any less obvious of an interaction than anything you could accomplish while holding a smartphone.

I wasn't a big user of the camera feature on my Glass because of Google's mandatory policy of Auto Upload, so it certainly wasn't a key requirement for me. But I don't see that backlash as legitimate. I also never got concerns or complaints while wearing it for over a year, most people who took issue online, when asked, admitted they'd never seen the device in real life.
The thing is, such languages already existed outside AT&T before C had any value outside UNIX.
Article looks a little dated, based on the fact that the test phone is an original Galaxy Nexus and only mentions Android 4.0.

I did a search on the Internet Archive and see caches of this page going back at least as far as 2013:

https://web.archive.org/web/20130115000000*/https://www1.inf...

You may want to update the submission with a year.
> This is the problem right here. The "ideal that all people are created equal." The truth is, they are not. There are differences in IQ, differences in emotional capacity, differences in physical strength, differences in programming ability, etc.

Here's what that phrase originally meant: European-style nobility is a mistake. It's not that you are better than me, not because of IQ, emotional capacity, physical strength, or anything of that nature. Instead, the idea was that you were better than me because your great-great-great-grandfather helped the king put his trousers on every morning, and got rewarded with a hereditary title, and you inherited it, and therefore you are my "better" because you have a title and I don't. And the older the title, the better it was, even though that means the less it had anything to do with you!

So when the Declaration of Independence says "all men are created equal", it's not talking about IQ or physical strength. It's not even talking about different economic outcomes. It's talking about social/political standing conferred by birth.

I'm not saying that you are wrong in your conclusions...
One of them is. And ability to interpret Python is requirement for any python program to be able to run. Being able to build and deploy a c lib is not.

So, someone has made python run on Foo platform, lets say a watch. If I have a pure python program I can run it on that watch with no more fuss. If I have to rely on a c library then I have to get that ported to Foo platform, maybe dealing with developer keys and making "authorized" signed binary, etc, etc. Pure python is orders of magnitude easier.

That is why "Pure Python" is a thing.

Several standard libs come in pure python and C versions cause pure python is an advantage / requirement for some use cases. And speed is for others.
You should learn Vi-motions even if you won't be using Emacs or Vim. They are useful in other apps like browser or terminal too.
For what it's worth, I completely agree with you.

My comment wasn't really meant to directly compare the two's accomplishments or contributions, just to point out that a lot of the popular criticism of Edison is somewhat unfair and could be equally applied to figures that (at least in popular history) have been borderline deified.
Hotels might have a reasonably fast uplink but still cheap out on the wifi infrastructure. When reception tells me "the wifi works best in the lobby" I know what they're really saying is "management cheaped out and didn't want to buy the grade or quantity of hardware needed to deliver on promises."
Yes. Here's my LambdaConf 2015 talk on how I ended up at Elm from PureScript:

https://www.youtube.com/watch?v=B7Iwreo1ReU
it's a wrapper around the successor to viper mode (evil) that also attempts to introduce bindings in a smart (ymmv, obv) way.

it's much more than just viper, but the ultimate goal is the same: to provide emacs with vim keybindings for prefer to want to use emacs that way.
Every packet you send has headers, cookies, etc. injected long before it reaches the public internet? really?

Not for TLS (https). Not for vpn connections. Really, pretty much never. It was big news when it came out that Verizon was doing this to mobile data connections.

All that happens to the IP header and everything inside is perhaps the ECN bit being fiddled, TOS bits being zeroed, that's it usually. And, as mentioned before, NAT.

For home cable or fiber internet connections, the NAT usually happens on your device, on your local network (and under your control if you reject the ISP-provided cable modem and use your own, or put the FIOS router in bridge mode).
> I strongly care about net neutrality, too. And I wouldn't personally care if they texted me with a "reply with 'disable' to disable Binge On" text message, but too many people with no clue of the ramifications might disable it.

T-Mobile customer here! My plan supports BingeOn, and I received a text message from them with a link to a webpage with full details, including information on how to opt out.

I think they've handled this perfectly. No association other than a satisfied customer for 14 years.
Does android by default lock the bootloader when encryption is enabled?
He says he didn't do it -- whatever it is. Who knows?
Why the Next Generation After Millennials Will Be “Builders”, Not “Founders”
*NEW ACOUSTIC COVER* – What Do You Mean – Justin Bieber
"Yes I'm biased" was tl;dr actually. Or "I love JSX so much I can't even think about frameworks without JSX".
Player Piano by Kurt Vonnegut. The value of labor has been devalued by automation, government is subservient to industry, people's place in society is determined by standardized test score (those who score poorly may either join the army or do manual labor, such as repairing potholes).
> This is, basically, 100% of sysadmin/operations jobs

Oh sure, but I was by no means sysadmin, and "on-call" wasn't anywhere near my job description or on any list of expected behavior.

> It's paid for by work, and it's not a scam. I can count the number of times I've been called on vacation on one freaking hand.

Your situation and mine are obviously polar opposites, so it makes sense you think it's find and I think it's BS. I would get called repeatedly between 11pm and 5am, often on Saturdays and Sundays. Our company WAS the cell phone carrier, and they'd only kick in $10/mo (taxable) to have you use your own cell phone for work, 24x7

Being officially on-call at the company meant you had to be no more than 30minutes from the office, carry a pager etc. etc. They expected me to take a "promotion" that was way more responsibility, way more accountability, and officially on-call for no pay raise or any adjustment to compensation.

After lots of discussions around the topic, I quit.
I wish we could! Unfortunately Govtech Fund I is focused exclusively on US-based startups. This is purely a function of scale today -- as a $23M Seed/Series A fund, we just can't spread ourselves too thinly. But there WILL be a Govtech Fund II, III, IV, etc. down the road and I'd love for Brazil will be top of the list!

In any case, if you find yourself in the Bay Area, please drop us a line -- happy to grab coffee. In the interim, if we can ever be helpful, don't hesitate to ping! @GovtechFund on Twitter always a good way to reach us.
I'd only change one thing about your response, which was great by the way and is exactly like my own views of the space. The changes are happening NOW in the federal space, and quite quickly in some sectors, you just have to know where to look. My company has actually seen more of it at the federal level than at the state or local levels. It may not be widespread for another 5 years, but it is going on now in many agencies.

The change you mention is definitely inevitable. People just have to understand it a little better and push a little harder to break their way into the market. I've been working in this space for a while, but my latest company is relatively new to it. Even though, we've made incredible headway. Growing VERY fast from government contracts, pushing innovation at every turn and finding some very receptive federal customers for the ideas we are offering up to them.
If you're using moissanite to "pass" as a diamond, I would tentatively recommend against it, or recommend that you practice some caution. I own some moissanite jewelry, and it does have a yellowish hue and sparkles like CZ. It looks like a bad quality diamond under most lights, and looks very "rainbowey" under certain other lights. I love it, and it's a great stone, but I love it for reasons other than it being a "diamond substitute"
By taking the approach that in proper engineering quality should precede "anything goes" mentality.
Does sequelize present PostgreSQL metadata the same way as MySQL?
> This seems like a crazy conversation to be having in 2016. We're seriously considering what semantics to attach for illegal operations? How about doing what every other language of the last couple of decades does and just not allow them?

If every important program on your computer (The ones written in C -- OS, web browser, text editor, language interpreters, etc.) suddenly became twice as slow for "safety", assuming you never modify those programs on your own, you'd probably be a little bit cross right? You wouldn't really care that the language is safer, you'd just notice your top of the line computer is suddenly feeling pretty slow.
Those sociopolitical realities are only conjecture to the policy makers. They are never pro-active on these issues. The only way to get there is to force their hand.
> so no way to enforce one-machine-per-residence limitations...

Eh?

Have you ever seen an ISP that did this and wasn't foiled by attaching a NATting router to the ISP-provided bridge device? [0] (If the ISP is providing the router, then it's trivial to only allow traffic from either the first MAC address you see, or the MAC address configured by the customer during some setup procedure.)

[0] DSL or cable modem or whatever.
I'm saying Python is already installed in places that would require a lot of effort to port and compile C vs just running some.py file.

"python some.py" is (in some cases) vastly easier than porting/compiling/signing C code.
https://en.wikipedia.org/wiki/Hyperreality

Think about how many concepts are social fictions that everyone takes for granted as real. Hyperreality is already here in more subtle ways.
This sort of notion ignores major realities of Google Glass: That it is not realistically capable of continuous recording, and that taking a photo with it has always been pretty obvious/distinct of a behavior.

If I wanted to take a photo of you with Glass, you'd have plenty of time to turn away, put your hand up, or whatever. And you'd certainly know I was doing it.
It's a lot of things. "Product Developer" captures it quite well. You're going from 0 to ShipIt with minimal bottlenecks.

"Isn't that just an architect?" Except you're not a silo'd backseat driver–ahem! Architecture Review Committee Member–meddling with various teams.

"UX guy?" No, you're building the API, deploying the infrastructure, setting up the DB, and then consuming all of that on the front-end.

"A full-stack developer?" Except full-stack developers are usually weighted heavily to one side, or they get pigeon-holed on Day 1 wherever the team is lacking (usually Ops. Sigh).

But "Sr. Actually-Full-Stack Developer" would be an alternate job title to "Product Developer." You need a lot of discipline (and experience) to not over-engineer a new product to death.
Images of Faraday Future’s Crazy Concept Car Seemingly Leak via Its App
+1 to that. Marc and the entire team at SeamlessDocs are killing it. We're so proud to be investors there -- amazing company with tremendous impact. What more can we ask for?
It's exactly the kind of job where someone will phone and ask "do you have 30 widgets I could pick up in an hour?". They come in packs of 4 widgets, and there are only 7 packs in stock.
If we're going to accept that stereoscopy makes an objectively positive difference over a "flat 3D" presentation, does it not follow that the threshold for success in this case potentially fell within that difference?