skysight-inc/HackerNews huggingface dataset:
Reading the article, I wasn't sure which ones were the smart people there: those who are confident that they are smart, hence successful, or those who constantly question their smarts, but are successful nonetheless?
Not only America, the whole world
You're definitely right.
For hackers and technology minded people, he has to be the worst president of all times. Of course technology as we know is still young so I'm sure there will be worse, but how much worse can it get if you think it's ok to wiretap the whole world? If there was even half of outcry and protest compared to Trump.
I think it's AMAZING that a company offering nothing but scheduling posts on social media got to $13 million per year in revenue. Amazing. And kind of weird.
What funcunlity / area of Linux kernel is cpu specific?
hey,
when porting linux to another architectures, which areas need to be rewritten?

is it possible to compile a linux kernel that is not architecture specific? so the kernel is not aware of the cpu architecture? (in theory of course)
i know that VMM is one, any others?

thanks!
It won't. To do anything useful on a microcontroller you would have to drop into 'unsafe' so often that any idea of safety is out of the window.
I hadn't considered that, but you're right. I was able to find fresh WSJ and Economist for "free" on ProQuest. I still prefer the format of the WSJ site/app, but this could work just as well.
> A decent first step would be for nodejs to deprecate commonjs and only use es6 modules...

How do ES6 modules solve this? You do realise they are mostly sugar?
For me, the deal breaker is that even with a subscription I am usually saddled with consuming the content the way they want me to and they only want me to consume it that way so they can still advertise to me.
The problem is, assuming you read 20 or so online newspapers at least occasionally, this has you keeping $200 a month of subscriptions, of which in most cases you will read a 2 or 3 articles a year because they ended up HN news or some other news aggregator you actually use.

This is even true if you only subscribe to relatively reputable traditional news sources, btw. Here are 12 that individually are worth it and most informed individuals would be served by reading on occasion, but few people would want to have individual subscriptions to them: WSJ, NYT, WaPo, The Economist, The Atlantic, Foreign Policy, Chicago Tribune, SF Chronicle, The Guardian, Le Monde, El País, Die Welt. Nevermind the fact that I do have subscriptions to 2 of those, and they compound the problem by serving annoying video ads even to subscribers.

Edit: A model that I would consider fair though (and the journals might not, I don't know their cost structure) is: 2-5 free articles a month without subscription of any sort and with unobtrusive ads, paid subscription if you read more articles a month from that particular journal. Another option is a "library" subscription model, in which you pay $20 or $30 a month, but get access to a broad catalog of newspapers (about what you would find at a large public library in print) and they get profits based on what you actually read. And yes, I have seen this as a startup idea, Netflix for news, but newspapers never seem to go for it wholeheartedly enough for it to be worthwhile to consumers, though.
Its type system certainly does not prevent memory errors.
The idea that C code is always poorly written is both wrong and offensive.
Sorry if this is a dumb question but do homeless people fit the description since I'd think they still have to spend time begging?
You absolutely can write unsafe programmes in Rust. In fact, you absolutely HAVE to do so to do anything useful on a microcontroller.
> Java would replace C++, who thought C++ would replace C, who thought Windows would replace Unix

All of these have happened, for many use cases.
I had to read it multiple times. I think because I read too much statistics.

Normal(mu, sigma)

It would be cool to have a VM represented by a distribution though. :-)
No, they haven't. Stop believing everything you read on reddit. Java didn't displace C++, and C++ certainly hasn't displaced C.
The jobs for that would still be not there...

So, why go to school?
A lot of the things they had to build in-house for repo/build/test/deploy as described in chapter two, all of us are fortunate enough to get for (almost) free with all the tools these days.

It's a good time to be a founder :)
I have serious doubts if the "one codebase" is really the best way to go - especially with javascript.
Prices are not nonpublic info. You can get them a number of ways without using bloomberg. Most people in finance believe in at least semi-efficient markets which means prices are not material anyway
Get Your All Access Pass (limited-time Deal) – Productivity Success Summit
A PDP-11 is the classic example of a microcontroller. ;)

Here's a picture of the model used for the Therac-25 the PDP-11/23 http://www.physics.purdue.edu/~jones105/pdp-11/images/IMG_28...
I wonder if the ororobous imagery has an origin in this variety of experience...
Use machine learning and limit the number of spoken characters to 140 :O
String literals without assignment have no side effect, that is why you think of them as comments. They are however, not comments. They are parsed and interpreted just like any other string.

You might be familiar with the concept in Javascript, if you have ever put 'use strict' at the top of a JS file.
>
It won't. To do anything useful on a microcontroller you would have to drop into 'unsafe' so often that any idea of safety is out of the window.

I don't think that's true. I'm writing an OpenGL library right now, diving into "unsafe" all the time to issue the FFI calls, and there's a measurable difference in the number of memory safety problems I've seen (zero thus far) compared to what I see in C++.

I think the friction of writing "unsafe" encourages small isolated abstractions.
Indeed. I remember reading about some event in the UK where people deliberately "overdosed" on homeopathic "medicine" to demonstrate it has no effect. That could end badly if the stuff is not diluted as much as the label says.

Come to think of it, the company I work at does process engineering and plant design/construction mainly for companies in the food industry, but we have a a couple of customers from the pharmaceutical industry as well.

And the impression I got so far (being the in-house IT admin, I can only watch it from a distance), is that the pharmaceutical customers are extremely meticulous. And with good reason, of course. Imagine if a batch of paracetamol/acetaminophen tablets contained 5g instead of 0.5g.

But if the engineering and QA at homeopathic companies is as scientific as homeopathy itself, that is not surprising. :(
Funny you should mention a managed relational database service; Instapaper uses one of those and had more than 12 hours of downtime this week: http://blog.instapaper.com/post/157027537441

No database solution is totally reliable. If storing data is my primary job, like it is GitLab's, I'd like to have as much control of it as possible.
The cause is bad configuration.

PgSQL, Mongo, and MySQL all use a transaction stream like this for replication and they all have to put some kind of cap on it or risk running out of disk space, but the cap should be made sufficiently large to allow automatic resumption of disconnected slaves without manual redumping, except in extraordinary circumstances. Log retention should be long enough to last at least a long weekend so that someone can come in and poke the DB back into action on Tuesday morning, but preferably more like 1 week. Alarms should be configured to fire well before replication lag gets anywhere near the log expiration timeout.

In particular, PostgreSQL has a feature that allows automatic WAL archiving (i.e., it confirms that the WAL has been successfully shipped to a separate system before it removes it from the master) and a feature called "replication slots" that ensures that all WALs are kept if a regular subscriber is offline. If either of these features had been correctly configured, there would've been no need to do a full resync; the secondary database would've come back and immediately picked up where it left off.

Additionally, if one must resync the full database (and I've had to do this many times), tools like pg_basebackup and innobackupex are basically required to consistently perform the process of pulling the master dumps, and the old (unsynced) data directory should be allowed to linger until the full master snapshot has been fully confirmed and is ready to resync. It's very reckless to go around removing binary data directories until you're certain that the new stuff is running, even if you're "just on the replicant".

With pg_basebackup, you run it on the replicant server and it streams down the files, no need to log into the master server at all. With innobackupex, you need to have read access to the master's binary data directory, but should achieve this safely through something like a read-only NFS mount. mydumper is a possible alternative to innobackupex that tries to capture the binlog coords and doesn't require any direct access to the host beneath the database server.
Sagan's "The dragons of Eden" is almost entirely on the topic of primal snake fear, and the resultant hypothetical origins of dragon myths - it's a neat read.
Nobody drives in New York because the traffic is so bad.
As I mention on another thread, an ESP-32 would be good enough to run MS-DOS.

Your example makes it even more obvious that current microcontroller are actually quite powerful, when we look at the hardware resources of the 60 - 70's.
You have to do so to do anything useful at all. I/O is written using unsafe code.

That doesn't mean that Rust has no safety properties. It just means you have a TCB of nonzero size.
It prevents certain classes of memory errors.
Xfgh
fhndgdgr
Fling, whose founder partied in Ibiza while burning through $21M
Thanks for the info!

> Piper has branches

I've worked on two teams so far, neither of which used the branches you described. They opted to either flag off features or keep long-running CLs.

However, I'll try to learn more about Piper branches. I doubt my team will make large workflow shifts, but it would still be good to understand!

> CLs are equivalent to Git commits

I'd argue that CLs are not equivalent to Git commits, the equivalent would be a CL snapshot. Best practices in git are to have frequent, small commits. CLs tend to be much larger, and the review process means that having small CLs would greatly slow workflow.

> There is a global testing system for the entire repository, which is used to decide whether a particular project's tests pass. Commits on which all relevant tests pass are the branch point for releases.

Yes, but this doesn't help with development. When HEAD is broken, a developer has to chose between developing on an outdated codebase, or developing on a broken codebase.

> Many third-party open-source libraries have multiple versions, and new upstream releases are added when there's either a security/bug fix, or someone wants a new feature.

Popular libraries may be updated more often, however other libraries don't have many resources dedicated to them. After a brief correspondence with the team that manages third-party libraries, I decided it would be easier to implement the feature myself instead of following whatever process was required to update the library. And no, I wasn't trying to use 2 versions of the same library.

Despite your assertion, I'm not trying to write anything incorrect, and I appreciate your response.
Electric motor invention promises 50 per cent longer operating range
True, but a judge's job is to interpret the Constitition.
I think the other way to look at it is this:

Doing good things for bad reasons is better than doing bad things for bad reasons, even if it's not as good as doing good things for good reasons.
Thanks for the reply!

execute wasm code inside of wasm code -

what i meant is: just in theory, if i compile a dynamic lang interrupter with JIT into wasm, will the generated asm code that JIT produce can run?
Yes. Some vendors have mitigations against that (Oracle have done significant work in this respect), but otherwise there's no especially good reason to believe that public bare metal providers are giving you trustworthy machines.
This article, all respects to the writer, brings no solution what so ever but to cram more people in smaller places.

Instead we should be talking about effective decentralisation of work places, with more satellite offices and/or effective tele-presence and remote work.
The innovation seems to be improved recovery of braking energy
Right: you need to compile it first.
And then copy xpdf/pdftojson to your binary path like /usr/local/bin/pdftojson so that it is found
And if Twitter goes away, there will be another platform to take its place.
No, it's not common. It's something that a couple of big companies have done, and while it might work for them it does NOT work for most people. It's a really, really bad way of doing development.
If you're able to get access to the management network then you've basically already won - IPMI implementations just aren't good enough in general to resist any kind of determined attack. But to answer your question, conforming implementations shouldn't let you read the password back over the local interface. Whether that's true in reality, well…
Would love to see what you're working on. I always repurpose my content for each social network. Its time consuming. Would love something that can make that easier.
Sometimes I wish ACLs were better supported.
Great example! I read reddit via a browser written in C++ on a Windows machine (written in C++) or on an operating system compiled by a compiler written in C++... or even an app written in Java.

Software engineering still uses languages/tools from the first few years that it existed, so it's unlikely that anyone means "completely replace every single LoC inexistence" when they say "replace".
> If the build breaks for an unrelated reason, you can lose a whole week of development to screwing around.

This happens often on some projects at Google (although 2 days is the longest I've seen it broken). Others have told me they use this time for documenting code and writing design-documents.

> When working in that kind of environment, I tend to maintain my own VCS, then squash my commits when integrating with the main VCS.

Google actually has a tool that allows developers to use Git on their local machine, which is squashed into a CL when pushed. However, some projects are too reliant on the old system for this to work.
White Rabbit, fully deterministic Ethernet-based network
As an alpha-nerd, social isolation is just a symptom.

The pathology is that we started with a weak arm and a strong arm, and most of our parents and teachers downplayed the importance of the weak arm while encouraging us to work the absolute shit out of the strong one.

Then they send us out into the world looking like teenagers who just discovered xtube. The world can smell weakness and throws loads of curve-balls at the weak arm, and most of us never notice because we're still too obsessed with the other arm.
You definitely need to tell your manager though.

EDIT: one personal example is at some point I took some external classes and used 20℅ time for it. But most cases are for developing some sort of tools or product.
> Java didn't displace C++

C++ has become an infrastructure language on the enterprise.

We write native libraries in it, like COM components, or plugins that interact with Python, Lua, Java, .NET, Node,... VMs.

No one writes full stack applications in C++ any longer, other than maintaining the existing ones.

Even game engines have moved into a mix of C++ + higher level language.

On the mobile OSes, C++ only has GUI support via the Objective-C++ and C++/CX dialects. On Android it gets the JNI wall.

> and C++ certainly hasn't displaced C.

Your favourite C compiler is written in C++.

The only place where C has an edge over C++ is the embedded space, *BSD, Linux kernel and the GNU tools.
Isn't it technically the deliriant effect that causes these hallucinations (and not the dissociative effect)?
Driving – An extinction event
> then diverged only enough to harm portability

How so?
> I'd say no and this is why rules restricting how powerful the vacuum cleaner can be is stupid

Before the rules, manufacturers were advertising vacuum cleaners with ever larger wattage numbers. They weren't actually any better at picking up dirt, they just had less efficient motors.

I would have preferred consumer education (e.g. require suction/CFM numbers to be shown) but banning pointless wastes of electricity in the name of marketing isn't as crazy at it may seem.
Open the Console in developer tools and paste this in
document.querySelector('.header').classList.remove('header-dark')
Credits: https://www.reddit.com/r/programming/comments/5t9bnd/github_...
> Why would that be a safe assumption?

...If he stole data from the NSA, where would it have been besides an NSA office? I mean, he didn't get it from the Tooth Fairy.
> Why not the office(s) of USCC, CIA, or NRO? Why not internally within BAH itself?
There's an "also" in there. He stole stuff from the NSA, and some other guys too. And all of them should have had the same level of security, so that doesn't really change much.
I certainly don't disagree with that, but if you have this automated it is also the fastest way to get it back up and running. Besides, the site wouldn't have been down if they had this.
One of the primary goals of POSIX was to standardize and encode existing behavior, but the behavior of Unices is sufficiently divergent that many APIs are uselessly underspecified. One especially hilarious case is close being impossible to use correctly in a cross-platform manner: on HP-UX, you must check for EINTR and try again; on Linux, close will close the file descriptor even if interrupted by a signal, so you must not try again [1]. Almost nothing is specified as being async signal safe. Tons of functions are thread-safe on bionic or glibc but not other libc implementations (e.g. readdir, which has a readdir_r counterpart which should not be used [2]).

Lots of APIs are fundamentally unusable in the presence of threads (e.g. there's no way to modify environment variables safely). This is a bit excusable, because pthreads were bolted on a decade after everything was already ossified.

Lots of APIs are a giant pain in the ass to use compared to alternatives provided in Linux/BSD (e.g. alarm vs timerfd or kqueue).

A few APIs are massive footguns that basically shouldn't ever be used. It's impossible to use POSIX shared memory without leaking. pthread_cancel is insane.

1: http://austingroupbugs.net/view.php?id=529

2: https://www.gnu.org/software/libc/manual/html_node/Reading_0...
I think that one thing that makes it difficult to write safe microcontroller code is the interrupts that can interrupt the normal flow at anytime.
Does Rust on AVR help with this at all, or is it an orthogonal issue?
Eh, I'm kind of in the Colbert (although far more to the left) view of "reality has a well known liberal bias". It was a great joke, and I think got to the heart of the screeching about "bias" from "conservatives" (reactionaries). I find the idea that there is a neutral impartial view laughable, honestly. But then, I'm a commie, so shrug.

A final thought as well, I think, whatever your politics, that much of the liberal bias talk from the right, especially the now unmasked far right, was simply language policing. It was an attempt to set the terms of the debate and pull the frame as far right as possible, which seemed to have been largely successful in my opinion. Thanks for the link and the comment, I'll check it out!
Game capture from a gbc/GBA is not possible, without using a game boy player for the GameCube - hence the emulator is used so they can actually capture the run. Speedrun.com distributes the allowed emulators on their site so everyone is on a level playing field.
Massive thread on this yesterday (with multiple appearances from GitLab staffers) at https://news.ycombinator.com/item?id=13608463 .

The tl;dr is that they start out with a kind of OK but not very interesting rate for New York City. Then they punish residents of other cities based on how much cheaper the rent in their city is than the rent in NYC.

For example, if the cost of rent in your city is 35% the cost of rent in NYC (as determined by the third-party rent index they reference), your salary multiplier will be 0.35, meaning GitLab will offer someone in NYC 130k for that job, but they'll only offer you 45.5k. The experience modifiers range from -20% to +20% so they're not going to help much.

As NYC is literally one of the top five most expensive real estate markets on the planet, most non-NYC cities get totally pummeled by GitLab's salary calculator, and the result is what we see here: an enterprise with $30M in funding that can't figure out how to make backups.
Great science writeup!

The Tsar Bomba described as a "the noble purpose of containing capitalist imperialism" - great quote :)
True, they are not strings and I'll update it to mention that specifically, we should not be abusing strings :-) thank you
I meant what if you wanted to add a new item to the front of a list or change the order of items in the list.

[ 1
, 2
, 3
]

to

[ 0
, 1
, 2
, 3
]

diff

- [ 1
+ [ 0
+ , 1
, 2
, 3
]

> Other than that, bashing a language for having the convention (that is not forced by the language but by... convention) is quite ridiculous.

It is forced slightly by the language as trailing commas are currently invalid syntax (though this is on the roadmap to be fixed). It's also more than just a convention, as it is explicitly recommended in the official Elm docs.
Is the free plan ad-supported, or totally free?
World Builder, wow, I have not seen that since I was a kid. Great memories, thanks!
Hand Coding a Personal Website (2014)
The Anti-Hero of CSS Layout – “display:table” (2014)
Why do you read hn? Is part of the motivation to learn something new?
This is why I respect Patagonia
Radiation at Fukushima nuclear plant at unimaginable levels (YouTube)
^_^ https://www.youtube.com/watch?v=j9z4uYEKvJw
That sounds miserable. Give me a good cold winter with snow rather than a miserable non-winter that is damp, wet and slushy. Dry cold is far better than than damp thaw weather.
I've never really gotten into absolute line numbers, but relative ones are a godsend for me since I use <num>j, <num>d, et al a lot but can't really eyeball how many lines away something is once it gets to be more than 2 or 3.
Yeah, crazy stuff. Shows what's possible if you have no boundaries. He collected old glow in the dark paint and extracted the radium from it then used beryllium foil to make a neutron source that he used to irradiate thorium from kerosene lamps, producing U-233. Very tiny amounts, but remarkable nonetheless.