skysight-inc/HackerNews huggingface dataset:
In Swift:

let a = Int.max + 1

Produces a compile error as the overflow is within Swift's conception of a "literal expression".

If we step out to a case where the overflow is not trivially a literal expression:

func foo(a: Int) -> Int {
return Int.max + a
}

foo(1)

This causes a runtime assertion failure in optimized or unoptimized builds.

There is a (rarely-used) "Ounchecked" optimization level for which this program produces UB.
You don't need most of those features. A pared down YAML with the cruft removed (implicit typing, flow style, tag tokens, node anchor & references) is actually pretty simple as well as less "gotcha-y".
> Research on the substance has found, for example, that dumping water on it after it forms actually does stop some fission products from decaying and producing more dangerous isotopes.

What? I bet it doesn't. There's no way cooling will interfere with the half-life of the elements. They probably mean that solidifying the extremities reduces toxic/radiation exposure.
This is also the biggest concern to put Android into non-phone/non-tablet(i.e. no consumer devices) embedded products, which can run for years.
If you want an SQL like interface for Mixpabel data as well as other data sources, you might find Treasure Data useful. Here is a step by step guide that I wrote: https://blog.treasuredata.com/blog/2015/11/17/mixpanel-expor...

(Disclaimer: I work for Treasure Data. That said, there's also an open source way to do this with Embulk + many common SQL databases. See https://github.com/embulk)
I think the problem it is solving is that JSON is designed and best used as a data exchange format, but it also gets used for configuration files, which it does okay with but is not really so good. INI files don't have a clear standard. YAML is too complicated, and using turing complete javascript for configuration seems like you've just gone too far.

we just need JSON, but with a couple things fixed up to make it nicer to use for configuration files.
Am I the only one who thinks it looks like he is headbanging while holding an electric guitar?
The Ultimate Guide to Keynote Speaker Fees
Hey! I'm the creator of this package; nice to see it on HN. If anyone has any questions or feedback, let me know. :-)
I know a guy who works on this. It's definitely not (not that you have any reason to trust me).
I was surprised not to see this mentioned in the front page discussion about the guy who supposedly rm rf'ed his web hosting service [1]

The (amusing and animated) YouTube video link has since been changed: https://www.youtube.com/watch?v=8dhp_20j0Ys

I like using the Pixar incident when working with students who are programming at the command-line for the first time, as an illustration of how powerful the command-line is (or rather, how much modern systems wrap things in safety layers). The disaster that befell the web-hosting guy was not just one line of code, but other errors and bugs (variables not being set) and overall badly designed systems for automation.

But this Pixar incident, if it happened the way described, is the result of someone with total control and agency who typed in that one line of code and ran it. And they did it to something that is immediately tangible (and beloved) to the average non-programmer. If a professional at Pixar could do something so tragically destructive to something like Toy Story...imagine what you [the novice] could accidentally do.

(thus, please remember to use Tab as much as possible to autocomplete)

[1] https://news.ycombinator.com/item?id=11496947
My 13 year old daughter came up to speed with emacs in a couple of hours. Now she's starting to realize she can make it into whatever she wants and make it work however she wants. She hadn't even thought about being able to program new functionality into an application. It's opened whole new worlds for her. Yes, emacs.
Limited of course by cache reads for very large blocks of text.
Show HN: How to add instant auto-complete search box for your Jekyll static site
Aren't writes going to be (potentially) crazy slow? seems like they require every transaction to achieve a quorum.
How to get an emoji domain for free
The bottleneck in programming isn't typing. It doesn't really matter what editor you use.
Not necessarily. You need a platform which supports Linux syscalls, but you don't need Linux per se. Unlike VMs, containers sit above the kernel so you're tied to its interface but not its implementation. For example, see Solaris' LX Branded Zones.
Warcraft fans' fury at Blizzard over server closure
What's the point of switching to Dvorak when I can already get 125 WPM using QWERTY? I'll pass, on switching.
According to the thread they were able to recover almost all of the data so far. So the whole "deletes his entire company" no longer seems accurate. Still pretty crazy.
You don't have to choose one. I use vi a lot, but when I want to do something complicated I often switch to emacs.

It is easy for me, and not a lot of typing. I log on a server, and type vi program.py. Now I am in normal mode at the top of the file. If I want to go to line 80 I type 8-0-return. If I want to search for a list called dataList below that I type /dataList and return. If I want to go to the bottom of the file I type G. If I want to go back to the top of the file I type 1G. It is economic with how much typing you need to do. It loads up quickly. It also uses the same commands as ed in case you're on a dumb terminal, although that tends to be rare nowadays.

If I'm doing a lot of multi-window stuff, or cutting and pasting from the middle of a line to the middle of another line 3000 lines down or something complex I use Emacs. For example, emacs has a command 'keep-lines' where only lines matching a regex get kept (or flush-lines where all lines matching a regex get deleted). Vi can do more complex stuff but I usually just switch to emacs when things get complicated.

Speaking of speed - if you look at the old e-mails and Usenet posts and such from Bill Joy on the net, you may notice he did not capitalize any letters when he wrote. That saved him the time of having to hit the shift key.
"Helps reduce errors" - you're really trading errors for other errors - your behavior is now more ambiguous with more edge cases, but look, you don't have to place quotes around strings! (except when you still do)
No. The cleaning up, though reprehensible, is not violating their free speech, because there's no prior restraint and no legal penalties. However, the Chancellor will hopefully have a significant amount of explaining to do as to why she is spending so much of the public's money on this whitewashing.
The Musical Time Machine
And that's why if you're using rsync, you ought to be using rsnapshot instead, and have generations of backups so that you are not overwriting your most recent one.
>YAML make the mistake of implementing too many features (like anchors, sustitutions)

That's why I remove those features.

Significant whitespace is a normal complaint for beginners in python too, but most people prefer it in the end.
Since both VS Code and Atom use Electron as a base, so if the basic premise of using JavaScript + the DOM to render a code editor / IDE were flawed (i.e. it could never be performant), then both systems would be having issues.

This is what I was trying to state. If performance issues were fundamentally tied to the use of Electron, then you would see that manifest itself in both packages.
And how do you install extensions for GVim?
I think what they're doing is using the user agent header like the accept header, which makes sense for that specific idea, as the browser version is actually just kind of imitating a console. It currently doesn't work because they ran out of queries on their backend service, but I think they were not stripping html, but delivering a terminal text version with color escape characters.
How about building out a predictive model to assist you in the sourcing of sustainable products and services. You already have humans curating the content, why not use that as your training set and let that inform your search.
Let's wait for someone to invent it first.
Being sysadmin myself and experiencing a burnout, I can relate to that very much. I've been out of work for several months now after quitting my last job and still don't feel completely recovered.
Being in operations is very stressful. I'm seriously thinking of career change, but haven't developed any other skills outside system administration for the last 10 years. Not having the social support (I'm a transplant) just makes it even harder. New ideas are always appreciated. :)
that's literally what I thought when the image loaded initially.
let me ask you a serious question, notroll -- have you ever been asked more than 15 minutes of questions by a candidate, in an interview? i have not, and i've interviewed probably 300-400 people in my life.

i interview almost exclusively over the phone, and we don't fly people out to waste days of their life, or have more than 3 rounds of phone discussions, so maybe that's where this disconnect.
I think Derek Wyatt's screencasts[1] are precisely what you're looking for. You won't be able to help but pick up a few things along the way.

1: https://vimeo.com/user1690209
I think that a major issue overlooked in discussions like these is the effect of how interesting an idea is.

I could tell you that computing in 2029 is going to be more interconnected, more ubiquitous, with more surveillance and more ads -- but otherwise about the same. Or Ray Kurzweil could tell you that the future is going to be amazing!!! He is offered thousands of dollars to speak to crowds, gets book deals, etc. I am not. Because what he is saying is much more interesting than what I am saying.

But that does not mean that what he is saying is more likely to be true. What we have here is a battle of ideas where the best clickbait gets a huge advantage.

Not that this means Kurzweil is wrong, either. But it's something to keep in mind.
+1 to anyone who knows the book name :)
"Laying down a tasty lick on my strat at the elephant foot"
Actually, you can get decently proficient in just few hours. Have you actually tried sitting in front of Emacs or vim for more than 30 minutes, to the clock?

Humans have this funny thing as they grow older - they look at a thing, maybe try it out for few seconds, and then immediately determine it's too difficult and it will take forever. They rarely bother to spend actual five minutes, to the clock. If they did, they might actually have learned something.

25 minutes of deliberate practice - a single Pomodoro - is enough to become acquainted with several of Emacs features - like, navigation by semantic units and incremental search and autocompletion. You won't get proficient in that time, but it's enough to rewire yourself to actually start using it when writing code. Which will then lead to you becoming proficient while doing your regular, billable work.

Seriously, set up a Pomodoro timer, sit in front of Vim or Emacs, and try to practice a few things. You'll be surprised how fast you can learn.

(And yes, I did that, so I'm not talking out of my ass. I actually almost doubled my Emacs productivity once in 5 pomodoros - in 2.5 hours - two of which I spent watching Emacs Rocks videos, two on rewriting s-expressions with Paredit, and one on multiple-cursors.)
The best possible programming environment is comprised of emacs coupled with a "lispy" language such as Common Lisp, Scheme, Racket or Clojure and the REPL to go along with it.

Nerdvana.
Here's a list of what the initial call is asking to measure:

· Residential housing costs

· Commercial and office space costs

· Economic mobility

· Economic productivity

· Income inequality

· Jobs creation, or loss

· Gross Domestic Product

· And, any other area the Chief Economist deems necessary and important

Off the top of my head, other/more specific issues include:
- Transit efficiency (density to support public transit investments)
- Energy efficiency (the reduction of natural gas and electrical transmission loss due to shorter distances travelled)
- social liveability (this one is hard to nail down, but something like the number of potential pedestrians on the street that would foster lively outdoor streets, engagement with commercial street front).
Currently channels are meant to be available to everyone with no age/content restrictions from our part. Any inappropriate content will be flagged and removed.

However, since videos are sourced from platforms like YouTube and Vimeo, they may impose their own restrictions such as unavailability in certain regions. We've started adding more video platforms to ensure there's content available for all regions.
It was a little more complex than that because the new stored procedure was indeed new and contained different structure, as far as I remember. ;) but yeah, copy pasting definitely takes a bit of the elegance out of it.

Most of what was demonstrated was Vim's superior capacity for jumping around to the correct place in your file precisely and quickly, which doing with a mouse is a nightmare.
A Systematic Analysis of the Juniper Dual EC Incident [pdf]
"I belong to a lower race: the corporate developer. I work in a Windows 7 machine, don't have root password and there's a big wall called proxy around me"

Sounds like an undeserving environment for a developer. Why not vote with your feet?
Accurate Sales Forecasts: Random Forest with Just SQL and Hivemall
The problem is the vast majority of applications actually require Google services to run on Android devices.
Running an Android device without GApps is pretty much pointless unless you are really using it for a very very specific purpose.
Unless he does not have a timer and instead reduced aperature dramatically (high f/stop) to reduce light, then increased exposure time dramatically.

The result would be a "properly exposed" shot for anything except what was moving during the shot, which would presumably be him running so he could stand still and be exposed during the already running exposure.
>In the case of low-skill labor the rise of China has hurt some US low-skill workers (although US workers as a whole are almost certainly better off due to lower prices).

That (along with immigration) explains the rise in income inequality in the US. If you have marketable skills you benefit from access to larger consumer markets. If you don't, though, you suffer from access to large pools of unskilled labor.
Seems like it would be slower to deserialize.
I would suggest that Vim is about more than speed, it is about flow. Think about the difference between ctrl-c and navigating to the menu to copy with your mouse. One just feels more fluid and requires less thinking. Games use extensive keybindings for the same reason.

Vim in particular is a philosophy of keybindings. It has a syntax and a logic to it. For example `daw` will delete a word. To delete a sentence you would `das`. Guess what you would use to delete a paragraph? Once you "grock" vim logic you can perform more complex actions without much cognitive overhead and with your fingers on the home row. Writing in Vim gives me a feeling of mastery and fluidity with the machine I have not felt since my competitive gaming days.
Living in a rural area isn't a lifestyle choice when the cities are so far apart.

I live in Canada... I live three hours from my own mom. And we live in the two largest cities in my province, separated by vast swathes of cattle pasture and wheat fields.

I live 2 hours from the nearest city that has any significant public transport (central Pennsylvania). Getting rid of a car isn't worth introducing a 2 hour drive to visit family that lives here -- they're why we live here in the first place.

Right.

That's a lifestyle choice.

The choice you're making is choosing to optimize access to family at the expense of requiring a car.

You could choose to live in or nearer to a city, making public transit an option, and renting for those times when you want to visit family. But that would, of course, introduce a barrier to visiting family, and you've decided that's not acceptable.

That's fine! You're obviously free to make that choice!

But don't claim you had no choice, and that it isn't because you've chosen to optimize for a certain lifestyle.
Good Analogy

Real Madrid salaries for "average talent" are probably more competitive as well
I use Zeal. Local. Opensource. Uses Dash's docsets. Has basic integration with Sublime.

I have a feeling lot of the functionality of Kite will eventually get into Zeal type local tools.
This ought be fixed by making YAML explicitly rather than implicitly typed.

E.g.

x: yes

>>> str(yaml['x'])
yes

>>> bool(yaml['x'])
True
Emacs and Vim also have multiple cursors.
Skylight[0] I believe uses rust to monitor rails apps.

[0] https://www.skylight.io
Neat—I've always known in the back of my mind something like this is possible but I just never looked around.
Microsoft sues US government over secret data requests
This is true, but I think it's worth looking at how far behind Scala 2.12 is from its initial release date

The original roadmap: http://www.scala-lang.org/news/2.12-roadmap/
The current roadmap: http://www.scala-lang.org/news/2016-schedule/

For reference, M4 was released 3 days ago. JDK8 was released a little over 3 years ago, and JDK9 is about a year away which will introduce some interesting challenges.

We've yet to see how fast JetBrains will iterate on Kotlin and support for JDK8, while we know exactly how fast Scala iterates.
Last one I could find was in California in 1976.
> Can you show me how fast coding is in vim?

The tongue in cheek answer: My ability to code quickly is held back by my ability to create code structures in my mind, not type code into an editor.

I appreciate vim not because it's faster, but because I don't have to think about using a mouse, and I can just have a conversation with the editor.

"Correct inside these parenthesis" ci(

"Insert the text 'func Something() error {'"

"Delete three lines and paste them above the current line" 3ddP

"Goto the definition" gd

"Go back" C-o

"Write to disk and quit" :wq
This is unsurprising. From what I gathered from @da_667 (former NSA TAO), the pay was terrible. Why work for the government when you can get a job making 2-3 times as much with the same responsibilities?
Секреты обмена валют Обменник биткоинов
Yes, we even had a stream go up yesterday for Kobe's final NBA game. Realtime chat was fun to watch as the game unfolded.
Crop edited with CRISPR won't be regulated [pdf]
And the somewhat sad thing is that this is only a shadow of what was once possible on Lisp Machines... In some areas, we really did make a big step back over the last three decades.
$ sudo rm -rf /
rm: it is dangerous to operate recursively on ‘/’
rm: use --no-preserve-root to override this failsafe

Relatively modern distro, but this has been in coreutils for awhile (it was fixed in Ubuntu's coreutils in 2008 for instance)

$ egrep '^(NAME|VERSION)=' /etc/os-release
NAME="Red Hat Enterprise Linux Workstation"
VERSION="7.2 (Maipo)"

Yes, I just did this on the workstation I'm typing on. I'm somewhat curious if he did that on absolutely ancient distros (>8 year old), or didn't actually run rm -rf, but the ansible python equivalent.
At Joyent, our Triton cloud stack is built on illumos (nee Solaris) LX branded zones. We also have a Docker-compatible remote API, so not only can you run unmodified Linux binaries in containers, you can do so using the regular Docker client CLI!
Surprise for me at the end of the article; I went to college with the Chicago guy who sold his startup to IBM. I should be happy for the guy but all I can muster is feeling intensely bad about my own startup failures.

Oddly, it felt good to confess that to strangers on HackerNews. Thanks for reading
1337 h4x0r stuff!
Maybe the water absorbs neutrons and slows down the chain reaction?
The level of hair-splitting you are engaging in is absurd.

Your exact statement was "No, the traditional cab companies do not have to cover this market by law."

That is simply false.
the problem with that one is that some parsers have a meltdown if they encounter duplicate keys.
sigh
pyYAML has this collection of problems with the spec: http://pyyaml.org/wiki/BugsInTheYAMLSpecification

(and pyYAML itself can't always parse its own output correctly...)
You also won't need an instruction manual for a lot of other things, because you won't be able to do them at all.
Could it have something to do with preventing neutrons from rapidly increasing the rate of decay?

Because we already use water based neutron moderators. https://en.wikipedia.org/wiki/Neutron_moderator
While not true yet, Docker is working on this by replacing the underlying LXC with their own secret sauce (at least last I checked). I suspect this is a result of their partnership with Microsoft (http://www.zdnet.com/article/dockers-unikernel-acquisition-t...). They were also moving towards creating proprietary and unique management tools before CoreOS started putting pressure on them.

Also notable is Docker isn't just containers, but they also have strong design opinions and container "philosophy".
> For example `daw` will delete a word. To delete a sentence you would `das`.

Huh. I use 'dw' and 'dl'. Why the extra key?
In the past there have been legislative efforts specifically to separate international policiing from domestic policing in the US.

The purpose of https://en.wikipedia.org/wiki/Posse_Comitatus_Act "is to limit the powers of the federal government in using federal military personnel to enforce domestic policies within the United States."
I don't think it really matters which editor you use. Just pick one, and be proficient with it.

All of the editors you've mentioned are very good at what they do, some might be better in certain areas than others.
On the one hand a detailed report and the other a bunch of random quotes.

I think I'll trust Brookings.
Googling is certainly an option if you've got the time/effort.

But in these Facebook Groups, general 'want to buy' posts are created since there may be a brand/item that you don't know about - someone else may have found something that fits the criteria in the past.

This is a way for people to recommend items to you, tapping into their experiences & learnings and a great way for you to discover new products without the effort of trawling google/eBay/Amazon etc.
Hmm, this is always hard.

The interviewer is trying to recruit you and also filter you out, but usually will not honestly respond to questions about what they don't like, or will hold some of those against you.

Ergo, you really have to ask "what is it like to work here" (and also culture questions, etc) and leave open ended questions, and then learn to read between the lines. Asking multiple people the same question can also be good.

Attempting to gauge enthusiam is good.

I find places that really want to invest in new hires and make them feel part of the team are the best (i.e. people that want to take you out to lunch and help go over code with you), but those are in my experience also a bit too rare.

You also need to figure out if the folks are smart, not burned out too much, and whether there's a lot of politics -- but it's really hard to filter that out from an interview, just in the same way it's hard for people to tell how a candidate is really going to be too.
Just saw this too. It's a text-based adventure game!
30 Years of Scrum
Many, many years ago I used to perform in a group that combines drumming and dance - http://www.popmatters.com/feature/jellyeye-030610/