skysight-inc/HackerNews huggingface dataset:
Just out of curiosity: what limitations of Ruby 1.9.3 is critical in your case?

Not to start a flame war, but according to my experience, Ruby 1.9 is already quite good, later versions of Ruby only introduce minor syntax & semantic changes, which is trivial to work around. This is nothing like the big differences between 1.8 and 1.9

I agree with package availability problem of mruby, tho.
https://en.wikipedia.org/wiki/MISRA_C
My favorite by far:

"Teams are better than individuals and everyone has to be aware of the valuable contributions of employees in other roles. So let's team every programmer with a sales person—preferably working the phones at the same desk—and stack-rank them on the basis of each pair's combined quarterly contribution to the corporate bottom line."

That is gooood.

I would quit, yet be so traumatized that my productivity would still suffer, even at my next job. A double win for the enemy.
You can (and a shocking number of distributed database systems in widespread usage do) fail to guarantee either one.
To a first approximation... zero. That is to say, I don't know any (and I've looked a bit) and the realities of the limited hardware support make it difficult to imagine. I don't know of anybody using Inferno either, but I'm less familiar with it.

I'd also dispute the suggestion that Plan9 is more advanced than Linux. It's different and Plan9 definitely does some interesting things, but that doesn't automatically make it more advanced. Ignoring that "advanced" is hard to quantify, I'd more that Plan9 is simply based on different concepts. It's like comparing Windows and Linux, albeit maybe not quite so extreme as Plan9 and Linux have more in common and Plan9 is simply not as heavily developed as either OS.
There is NO RPM and is the reason for the rant.
Have you found the critical path that caused clock slowdown?

Are there higher drive strength transistor available that could make it faster?

PS. love this project.
So not supporting Redhat the #1 Linux commercial product is fine? The vast majority of commercial Linux is RPM based.

The issue is they should just have it automatically build RPM with the DEB if you have a DEB it isn't diffecult to so a RPM.
How I learned to suck less at GTD
> People forget that Linux is the dominant kernel/os because it dominates nearly every market that isn't the desktop (server/mobile/IoT/toasters).

This is mostly correct while referring to the kernel. Nevertheless, a kernel by itself is just one component of the low level system. And I personally definitely do not consider the Android experience a "GNU/Linux" one - even the base libc is replaced with a quite broken (e.g wrt POSIX) Bionic. This is leaving aside all the firmware issues, lack of administrator control without "rooting", etc.

So in other words: it is natural to "forget" that Linux is widespread on mobile devices, simply because the experience is extremely different.
>unless they use the headphone wires

that's what they use in most of the cases. on my phone, the radio refuses to function until a headphone is plugged in.
I'm just repeating what's on their website. You have no evidence that their device doesn't work. Thousands of Kickstarter backers, professional investors, and an entire team of engineers say otherwise.

I don't know why people are downvoting me. Unlike other scandalous companies, this one is being led by an entire team of PHD engineers, not college dropouts.
I think these extensions:

https://gcc.gnu.org/onlinedocs/gcc/Integer-Overflow-Builtins...

could be implemented in plain C if you're careful. It's not like the other extensions like __builtin_constant_p or asm that'd leave you stuck with GNU C.

And besides, GNU C is good enough for lots of people!
Would you mind expanding upon this a little? I feel like there's a wonderful nugget of history here just waiting to be rediscovered by the broader hacker news community. Sounds like it could make a good story?
I found details about the editor that Eric Chahi designed to make the game here: https://youtu.be/2PLLDpzwwUI?t=615
lets be clear, the impact of linux has been great, in many ways. I compiled my first linux kernel in 1994, and I don't think I'd be the developer I am today without having had access to and experience with Linux. But come on, the tenor and tone of the parent comment is incredibly myopic, ignoring decades of legacy that Linux imitated. Its also a bit much to attribute the trend of hardware compatibility and binary independence (which is quite a bit sketchier IMO) to Linux. This was a trend that has been ongoing for years, and would have without the introduction of linux. TBH we probably have Microsoft to thank for that more than anyone, by setting expectations across the consumer market that hardware be mostly-compatible with an OS.
From earlier, the google_authenticator pam code/project didn't fill me with confidence, but on the project page it does state it supports "emergency scratch codes" as well as HOTP -- from looking at the code again, I think they are considered the same thing, and it appears if you enter a scratch code, that'll let you log in (and if the code you enter is an invalid scratch code, the system will check to see if it was a valid time-based code):

https://github.com/google/google-authenticator/blob/3fb90bda...

This older article shows a bit of the hoops one could jump through to get a complete system (including the scratch codes etc):

https://www.serverstack.com/blog/2013/02/21/implementing-tot...

I've successfully played with the python oath code to get 2fa working with "Star Wars: the Old Republic" (the game has a pretty broken interface for setting up 2fa - to the point that a lot of people give up, even if they give subscribers a 20% monthly bonus in in-game currency for using 2fa...).

https://github.com/bdauvergne/python-oath

Highly recommended for debugging/playing with OATH, in addition to the "main" oath tools, which IMNHO are much better documented (and comes with the binaries needed to do everything, like manually generating codes etc):

http://www.nongnu.org/oath-toolkit/pam_oath.html

For Debian: https://packages.debian.org/jessie/libpam-oath

See also the always excellent Arch Linux wiki, which adds a tip about generating qr-codes from the secret (so you can store the secret in eg: Google Authenticator easily):

https://wiki.archlinux.org/index.php/Pam_oath
Not all homeless people are like that, there are significant ones that would live in homes if you gave them one. So you might as well as give them one so they are not staying on the streets. And perhaps provide some sort of care for them, just enough to keep them going. 6,000 people is not a lot of people. Yet it causes huge problems for everyone else.
> "Using fancy tools like neural nets, boosting, and support vector machines without understanding basic statistics is like doing brain surgery before knowing how to use a band-aid."

Having studied both statistics and neural networks, I'm not sure if I completely agree with that quote. There are lots of neural network applications that have little to do with statistics (image recognition with convolutional neural networks for example).

I am pretty sure that the author means neural networks for statistical applications though.
However crazy, and whatever happens to this specific DAO, this is a breakthrough event in computer science and human organization IMHO.
Hey City, Take My E-Mail
because it's NMOS, only the pulldowns can work quickly. the pullups are resistors (depletion mode FETs in the IC) which take some time to charge the downstream gate capacitance. i wrote a quick and dirty python program to calculate the optimal value for each of the 1,019 pullup resistors to hit a target clock of 500khz. board bringup is ongoing so we'll see how fast it ends up being...
Having worked at one of these firms, I will say that there was general recognition that the system was flawed. Many managers recognized that the best candidate at some noncore schools would be better than the n-th candidate at Harvard.

One key limitation alluded to in the article is that identifying and recruiting top talent incurs high per-school costs (hosting info sessions, maintaining relationships with the U, general brand-building). Since many of these firms turn over half their workforce every year, efficient recruiting is critical.

A further problem that's commonly cited is that identifying top talent is challenging for non-graduates who don't know which majors are easy/hard, what GPA ranges are reasonable, what clubs are legitimate, etc.

Finally, there's strong inertia due to the similarity bias. Princeton graduates like other Princeton graduates and want to hire more of them. The recruiting teams for different schools may even compete against each other over who brings more recruits.

[1] Personal and friends' experience
> You get nothing.

You don't get nothing, you get inconsistency that could require even human intervention to fix. For example, if client lost connection right before the database was able to respond that his commit was successful. Client then retries and you get a typical double billing problem.

That's because monolithic database with a remote client is in fact a distributed system and strong consistency in a distributed system requires proper distributed algorithms and protocols, where clients are nodes too. You cannot guaranty consistency otherwise (to be precise, you will need clients to be able to wait indefinitely to guaranty strong total consistency, but if clients are used by humans they will not do that and the only consistency you can guaranty for a human is eventual consistency).
If you have a Safari subscription: https://www.safaribooksonline.com/library/view/c-programming...
The 1940's russian mecha-dog
> My Nokia N900 had [an FM transmitter] and I've missed it ever since - it could even display text via RDS!

You know, that's an amazingly depressing thought: how many other dead-simple technologies have we been prevented from using because of ingrained interests?

OTOH, Bluetooth is certainly a better idea for personal telephone calls.
The fact that an Android platform engineer doesn't know of design patterns beyond MVC, and only knows that vaguely by reputation, explains why it's so difficult to build well designed apps for Android.

Yes, technically the platform APIs don't "care" about what's going on in an app. But when the APIs are designed in such a way as to (inadvertantly) work against MVC or other design patterns, they make developer lives more difficult. And you can expect that to happen if your platform engineers aren't familiar with these concepts.
I seem to recall from testing, that caching of sudo is independent of how you authenticate -- but it's been so long since I played with it, that I'm not certain.

[ed: Looks like it is independent: https://www.sudo.ws/man/sudoers.man.html

"sudoers uses per-user time stamp files for credential caching. Once a user has been authenticated, a record is written containing the uid that was used to authenticate, the terminal session ID, and a time stamp (using a monotonic clock if one is available). The user may then use sudo without a password for a short period of time (5 minutes unless overridden by the timeout option). By default, sudoers uses a separate record for each tty, which means that a user's login sessions are authenticated separately. The tty_tickets option can be disabled to force the use of a single time stamp for all of a user's sessions."

Note that the text uses "password", but I think it means "successfully authenticate". ]
> Trying to open a 10mb file in atom causes it to chew up 1.2gb of ram

Truly?! That's a factor of 100x, that's ridiculous.

TBH, I'd kind of expect an editor to use a factor maybe 2x of the loaded file (for quick access indices, searching, etc). More if you count undo-buffers, of course.
BeeLine Reader—we've developed a technology that makes reading on-screen easier and faster. http://www.BeeLineReader.com. The Atlantic article, in case it matters, is http://www.theatlantic.com/technology/archive/2016/05/a-bett.... Thanks for asking!
Yep, why not? Because someone invented the electric screwdriver doesn't mean the screwdrivers have disappeared.
Thank you. I've been searching for this for years.

Simple and brilliant.
A few languages that generate C that are currently popular are:

* nim

* Vala (GObject backend)

* Purescript (technically it has a C++ backend, but it is worth mentioning here for the very clean C++ it produces!)
http://www.phoronix.com/scan.php?page=news_item&px=Linux-4.6...

For a summary of new features.
My son uses it to answer random trivia questions. See: https://twitter.com/ethank/status/730809136972079105

Of note: for a great hardware product, it has terrible software.
We took it out as linkbait a la "secret", but since you think it's legit we'll put it back.
It was jaw dropping for me to see how high handed American telocs are, when I first experienced it. I took a friend's phone and tried to make a wifi hotspot. I was shell shocked as AT&T popup announced that I cannot do that!

Try doing this in India and no consumer would touch your phone. Contracts are not allowed in India. I am mildly proud that third world country telcos are much more open compared to western ones
Is there a cleaner/more idiomatic way to do this?

I'm afraid this is the C idiom for assigning a void pointer to a function pointer:

*(void **) &fptr = getvoidptr();

Without the silly cast you'd get the following warning when compiling with -Wpedantic:

warning: ISO C forbids assignment between function pointer and 'void *'

Once you learn the idiom, and the reason behind it, it makes things (slightly) easier to parse than dealing with a bunch of typedefs, IMHO.
JPL First-Person Interaction dataset
What is a "bourgeois"?
Horrible usability on an iPad, just serve me the content without trying to be clever
Don't Let Architecture Astronauts Scare You (2001)
1. If you are developing for the ESP8266, your current choices are C, Lua, and Arduino. So you are pretty much using C by default.

2. The automotive industry has a standard for safety critical C code. It's called MISRA C. A few of the rules are stupid, but others will save you worlds of issues. You have to buy the PDF from the committee's website for about 15 bucks, but it's worth reading and mostly following.

3. If you are actually writing medical or flight control software, you cannot depend on a single proccesor or computer. Perfect software is not enough. Airliners have three separate computers, each containing three different processor architecture processors, each processor running code compiled on a different compiler, and all checking each others work. SpaceX runs at least five separate embedded linux computers for any critical systems. These communicate in such a way that they can tolerate even malicious actions by any two computers. Google "byzantine fault tolarance"
That sounds like the term I was looking for, thanks!
> I think the question of whether big business should exist is at this point no longer really an open question.

Uh, that wasn't never the question, not even in 1911. It was and is about anti-competitive business practices.
It can generate portable and human readable C?

Can you link to some information about that?
"a simple site like HN is not a good showcase of any language"

HN the site, looks deceptively simple. It solves a number of problems simultaneously [0] yet seems to work at scale [1] without bugs. [2]

The success of Arc, a Lisp derivative is in the everyday usage of the site and the hard problems it solves. [3] The original comment stands.

[0] http://paulgraham.com/hackernews.html

[1] "1.6 million page views and 200,000 unique visitors on a given weekday" 2013 ~ http://techcrunch.com/2013/05/18/the-evolution-of-hacker-new...

[2] In fact almost 10 years ago I reported a bug, pg actually responded it was a server reset. https://flickr.com/photos/bootload/406590838/

[3] Submitting high quality links, with high quality discussion while increasing users. That is a hard problem.
I did not, but I just looked into it now and found some information I was unaware of, so thank you.
Url changed from http://www.forbes.com/sites/tomcoughlin/2015/10/21/western-d... to a more accessible URL.
With shift to non-GMO sugar, farmers will abandon environmental and social gains
The American telco industry became a race to the bottom, not a race of innovation.
I don't know what parent is talking about w/ README files. But Slackware Linux (slack... get it?) includes a link to the church in their install.end file. They started scrambling it in a recent release.
It's a Tor exit node for you and your food.
Man, the days when a kid without particular academic accomplishment could just be "guided" to MIT by a teacher impressed by his intelligence and passion. Or when a dropout could just wander into a physics lab and land a job as a research assistant. Neither sounds remotely feasible in 2016- these days, the available human potential and ambition outstrips society's resources to actualize it, by an order of magnitude. Coming decades will have to do without their Weisses.
A Yaesu VX8GR handheld HAM radio transceiver is my spare. I carry it in my work bag every day, along with a quarter-wave antenna, spare battery and a AA-battery adapter. It'll run for days as a receiver and can transmit at 5 watts - plenty of power to hit a repeater within earshot of someone who can call for help on my behalf. Although I work in a dense city, I'm not under the illusion that cell-phone infrastructure will be available for long after a major disaster, particularly an earthquake.

HAM radios are also very useful when venturing into the wilderness. Many hikers monitor the 2m/1.44m calling frequencies periodically for distress calls. And at the right altitude your meager 5 watts can cover tremendous distances.
That's nice, but where will be these things stored?
Boy, I hope the memory constraints for cgroups are getting better. I'm stuck on an ancient platform where cgroups are relatively new-ish (SuSE Linux Enterprise 11). We hit a huge anti-feature where fs cache eviction from a cgroup-memory-constrained process happened in the foreground and caused astonishing latency. Sounds like it was the intended design. Hopefully it's evolving to no longer be limited like that.
> The most shocking part of the career change was open office arrangements.

Does any company give new software developers offices?

Software developers grow up with more screen time than others. They need forced interaction in order to communicate enough in person. Otherwise it's all by text and can easily degrade to passive aggression.

Offended? Cool.

When software engineers demonstrate they will come out of the office to speak in the open when needed, then they deserve the office.

But, I imagine if you gave everyone one, many would hide in there and only exit for the bathroom and food.

An A/B test of workplace environments might be a cool experiment. Targeting the same product with equally skilled developers, which is more successful?
> The lack of IPOs is unnatural in that sense, as late stage investors always seemed to cash out then.

Late-stage speculators, surely? After all, an investor would be invested in the companies success, and would have bought it in order to reap some dividend over the course of many years, right?

I don't think this is actually the case, but sometimes I wonder if the rise of private equity marks a return to the pre-modern order of things. The many costs of financial regulation on the public markets have made returning to an older, far less open market.

What's sad is that this would imply that regulation has finally killed the golden goose. For millennia it was impossible for the common man to save his pennies and buy a share in the success of some enterprise; for a century or two it was possible; and now ­— what?
From a consumer perspective, the product is search. If tomorrow, Safeway stopped charging money for groceries and instead had extremely intrusive ads all throughout its stores, their product would still be groceries.
Looks really nice so far! Definitely looking forward to more components.
Your comment is so sarcastic that I have no idea what point you're actually trying to convey.
Q-BASIC. Just basic programming without any bloat or garbage. I feel sorry for kids now. Foisted on to Python or Java right away even the modern basics are bloated.
That's the #1 myth about SF homelessness: http://www.sfchronicle.com/bayarea/article/What-San-Francisc...
Ah for Nginx, specifically, I meant to refer to location blocks. Granted, regex should be used very carefully for performance reasons, but when appropriate you can do some really cool pattern matching.
> This release adds Kernel Connection Multiplexor (KCM), a facility that provides a message based interface over TCP for accelerating application layer protocols. ... a common use case is to implement a framed application layer protocol running over TCP ...

This was discussed on HN a while back. Gee, it's too bad that SCTP hasn't found more popularity. Reliable datagram-based (or stream-based) messaging, with support for binding to multiple endpoints.

In any case, KCM sounds like it's worth exploring.
They (WDC) still sell the 65c02 (CMOS) variant and 65c816 in enough volume to justify producing them, and they are sold through Mouser, among other places (along with microcontroller variants of both that include integrated peripherals, etc.)

A new 65c02 clocks up to 20mhz (apparently) without any real issues. And like you said, WDC can provide custom cores that do much more.
> The website I'm working on now has a single monolithic Postgres server, and the majority of systems I've worked on connected to single monolithic datastores, so at the very least these systems exist.

These systems do not guaranty neither consistency, nor availability during network partitions.
Moto G has it turned on. There was even a variant sold in Brazil that had a TV tuner!
Landsat 8 image of swirling von Karman vortices off Antarctica
After developing a few Android apps as an agency dev, we settled on a common structure that helped keep our code relatively clean.

Each activity would have an associated fragment, the idea was that the activity would be responsible for loading the fragment as the current view and other lifecycle functions as well as being the entry-point for any external data-loading (through creating and calling of services).

The fragment would initiate with a reference to the parent activity as a context, and would be responsible for view-centric things like displaying content and adding event handlers, which would more often than not use the context reference to call some remote API.

I suppose you could think of it in terms of Model/Controller/View-Controller but I'm sure there is a more correct model for thinking about it (and it probably is more straight MVC anyways).

The problem I've found with Android is that Google has created almost it's own language when it comes to Android app architecture, which creates a lot of confusion, especially for developers who just assume that all frameworks use the MVC concept (laugh if you will, but this is a thing).

Even though google is quite behind when it comes to the app market, I think there is still time for them to come out with a new set of documentation which outlines the "correct" (the "Google-blessed" one at least) structure for Android apps so that we as a development community can start moving away from the "everything-and-the-kitchen-sink goes in the current activity" style of Android development.
Zuck: Wife Priscilla “Crushed” Presentation of Our Plans to Influence Education
Computers in the home? (1978)
'hey! look at these introverted developers' meme

As an extremely vocal individual, being vocal actually is a loss in productivity. When I am trying to communicate what I am doing to my co-workers - it leads the project from slowing down - and me unable to meet my deadlines.

This is why I do not like to waste my time explaining others what I am doing. Its more productive for them to specify the Inputs and Outputs and me doing my thing.
Court Backs Snowden, Strikes Secret Laws (2015)
Love Funny