jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
The problem is much easier (at least 10x easier) for a dynamic language with a REPL or playground environment (scratch in Emacs) than it is with a static language, or providing stateless insight based on cursor location rather than the set of forms you've evaluated.

With a REPL or playground, you've got all the libraries loaded, all the function definitions in a map in your interpreter, and if you have a partial identifier you can simply do a prefix search in the interpreter. The interpreter is live; define a new function, and it's added to the map, so it's available for subsequent completions. If the function definition is wrong, hey, it's a REPL, next line try again please.

In a stateless situation, or for a static language, you need to build that map. Ideally you use the compiler's front end, but then the front end needs to be hardened to recover properly from errors. It needs to be told about the cursor location, and when it hits the cursor location in the middle of an incomplete symbol, it needs to figure out what's appropriate to complete at that point based on the stack of scopes available, and jump back out to the editor (or use coroutines, or pause its thread, or whatever) with what it found. It's simply more work. And if you can't use the front end, because the front end wasn't built for it, and you can't modify it, well you're going to have to build what is effectively a new front end to solve the problem.
reading the GuileEmacs thing it sounds like the project was a success? Is there pushback against using this upstream?
While I think the censoring of "dirty words" (e.g. shit, piss, fuck, cunt, cocksucker, motherfucker, and tits[0]) isn't useful, I would be hard pressed to say that those 7 words limit political discourse. The FCC also doesn't keep a list of words, just a vauge definition of "indecency" which has been challenged successfully in court. This all only applies to broadcast mediums; cable TV stations, the internet, books, &c are not covered by FCC regulations.

While I think indecency and obscenity standards are problematic, the whittling of them by the courts, and that the courts can be brought into this at all, especially successfully, is an important factor in rebuffing these regulations as "positivity Soviet".

[0] https://en.m.wikipedia.org/wiki/Seven_dirty_words
Friction is what allows the application of that torque into something actually meaningful. But a $39K Cybertruck being better at some things than a $28K F150 shouldn't be surprising. Bumping it up to at least a $35K F350 makes the comparison at least reasonable spec-wise.
Based on the follow-up thread, Andreas is testing on ArAnyM, which is an Atari ST emulator that shares JIT code with the UAE family of emulators (although it's not immediately obvious to me what the differences are or who's forking whom). Someone probably needs to run the test on real hardware to settle this.

edit: The bug was apparently found in another subthread, and wasn't seen by others because it was UB at some level.
I see what you're getting at, but it should be mentioned that the words were "vulgar" language that had nothing to do with anything political. Anyone who wanted to keep up even the most minimal appearance of professionalism and be taken seriously, even today, likely wouldn't use one of the "seven dirty words" (shit, piss, fuck, cunt, cocksucker, motherfucker, tits).

And no KGB type entity would whisk you away in the night for saying any of them. It's even vague whether or not the FCC ever even enforced it at all. Hell, it's kinda vague on whether or not it was even a rule before George Carlin's comedy bit. The Supreme Court later even ruled it as...too vague.

https://en.wikipedia.org/wiki/Seven_dirty_words
In print: I like how net magazine uses netm.ag/description-123 for any links so it's easy to type and doesn't take up too much space. This also gives analytics for print articles where you normally can't watch whether anyone followed a link

You don't need to rely on routing through Twitter. Works when Twitter blocked or down. Branding.

Also tracking.

Also you can modify where the link points after distributing it in case you notice a mistake.
Or do you want something else? Leisure, for instance? Interpersonal connection?
>> "...and be able to press all three pedals at once..."

Interestingly, the rally heritage of the 80's Audi engineering org was such that even their unmistakably family-friendly models had unusual, competition-inspired features. For example, my '89 200 quattro stationwagon's brake and gas pedals are very close together, precisely to ease heel-and-toe work during technical downshifts. She shares the same manually-lockable type 1 Torsen differential drivetrain with the ur- and sport Quattros, and is powered by a slightly detuned version of the turbocharged inline 5 racecar engine that dominated the rallies so unstoppably. And you can turn off the ABS :D

When you take her around some corners on a dirt road at speed, it's not hard to see why they called quattro "the unfair advantage."
Would you mind comparing Stormpath with Firebase? Just the authentication and permission aspects, obviously.
I totally agree! And half of them are hacks. That scares way too many people away from designing with code!
Bitbucket provides free private repos, and for smaller development teams and/or companies not wanting to deal with the cost of Github (which does admittedly grow exponentially the more repos you require), Bitbucket is a fine choice.

When we were making the decision at my company, we went with Github because the dev team cared about having the little green squares show up on the "activity" chart for their account's... I know, petty, but it's something, and since most of us do FOSS projects, it's a status thing.

It used to be any commit that made it into a repo's master branch, the green squares showed up, even if it was a private repo (it just didn't show details of the repo to public users). But now, those don't show up to the public, only the user themselves sees them while logged in... so if we were making the decision today, I'd probably lean towards Bitbucket.
What Mr. Chen claims as "discrimination" or non-net neutrality is not that at all. Net neutrality is not about making apps available for all platforms.

On a side note, has anyone developed a BB app? Maybe he should start there first.
Whitehorse, Yukon.

How about you?
This is a really fantastic review, thanks! I've been waiting for M1 support, and now am extremely excited to try ST4.
They won't ruin your life. It's an offer you can't refuse.
I did not suggest it would apply to the old code.

I think the reasonable response would be to acknowledge just how large the cash reserve is compared to what is being asked.

And not the ENTIRE BSD crowd. Because surely one or two of them would see the idea of getting a small amount from these extremely wealthy companies as being acceptable.
It's in the whitepaper. There are 250 million coins in total, and 37.5 million were sold in the ICO. I couldn't find any information on further distribution or monetary policy, so I assume the founders still hold them.
Obama can put names onto Canada's No Fly List? Interesting.
> finding these people

Possibly, but I strongly suspect humans wouldn't be very good models in this case given how much we don't know about memory in general. Rather you'd want a robust non-human animal model of some sort, with a straightforward way of inducing TGA (or something that appeared to be substantially similar) on demand. Think rodent with optogenetic modifications or similar.
Apparently you didn't even look at the lists. There are hundreds of people on them, and many are not even company founders seeking an exit.

This said, I think most tech entrepreneurs would be thrilled at the prospect of being a one-trick pony with a single big exit. Heck, that is literally "The Silicon Valley Dream" today.
This is the most astounding part for me:

"It was meant to be just a story, and it remains that. A story, a jolly good story I must admit, but it remains a story. It’s not meant to be a parable."

Because as much as it works as simply a jolly good story, I've come back to it dozens of times to find takes on adult life (a typical full-time job sure gives a new perspective on the warren of the snares), politics, religion, friendship, and teamwork.

I also think it's fantastic that his writing career started so late in life: 52 years old. 30 isn't necessarily the deadline to put out something that can impact the lives of millions. :)
Seems like this is the link that should have been used.

Most normal sites have trouble handling HN load and directly linking to such a ridiculously large image is punishing them for releasing it.

Maybe a mod can edit the link.
Yep. And we wish them good luck.
The author of libupskirt on GitHub's fork (Redcarpet):

I'm not sure why they forked libupskirt rather than use a vanilla version, however the fact is that they took it over and heavily pushed it in a direction that is opposite to the very core of its design.

I did and will do my best to get as much as possible from this fork into my repositories, however there a deep philosophical and design differences that unfortunately make their changes quite independent from mine.

He then makes a comment on each change:

http://fossil.instinctive.eu/libupskirt/wiki?name=redcarpet-...

Interesting read.
The competitiveness of a company within a market, however, is highly dependent upon a value of the market segment they want to participate. This is what the second sentence means.

Differentiating and all of that don't matter a whit if there's no business to be had, but yes, you're right, it's hard to compete in a crowded marketplace. The thrust of the quote was more specific than that, though.
Yes, currently getting 3K-15k visits/mo. About 20% repeat visits.

Agree that giving people a way to "be heard" has value, just need to get the process right.
I decide whether to continue on a project based on opportunity cost. Do I have ideas to try out? Do I feel optimistic they'll teach me something? Do I think the project has a chance of eventual success? When I run out of ideas I stop working on a project. Usually I'm working on something else by then.
You can actually do without cat:

grep bar foo | chess_extract_scores

http://en.wikipedia.org/wiki/Cat_%28Unix%29#Useless_use_of_c...
If I had to guess:

> The most amazing thing about the ASUS UX305 though is that the company has crafted an all-aluminum, thin, light, and capable Ultrabook for only $699. With this kind of price point, one would expect sacrifices to be made in the specifications, but that is not really the case at all.
I'm not necessarily advocating automatically-triggered lighting, though that may be the solution for some places. Always-on lighting may make sense for a space with constant foot traffic all night, depending on how heavy the traffic is. I do think people should view illuminating spaces nobody is using as a problem to be solved.

If, however it's just a few people an hour, perhaps they should bring flashlights.
That's only if one assumes long-term monogamous relationships, but there's no reason to only consider those.

In fact, if a dating app worked very well, non-monogamous and short term relationships would probably be more satisfying.
Would be interested in hearing more about the problems.

From a consumer standpoint the problems I've run into and heard about are:

1. Can't use port-forwarding anymore since you can't configure the ISPs router doing the NAT

2. A bad neighbor sharing your IP can get you IP banned on sites that still think IP address is a good way to block/throttle bad players

3. Connections can be unstable if there's a lot of connections going on, so prime-time can often run into issues.
A stateful firewall that rejects incoming connections is conceptually simple even without NAT.

NAT itself does have the security benefit of masking more bits of client identity though. If I had a bunch of machines on an ip6 prefix, I would still want their outgoing connections to be NATted, to avoid address-based tracking.
Having just spend two hours messing with a tricky NAT configuration (VPNs were involved) I'd very gladly move to full IPv6 everywhere, thank you.
Just looked on Google play, it has a 3.5/5 star rating, multiple people saying the app doesn't work with international numbers and that they got cancelled at the last minute.

Uber has a 4.0/5 star rating

Lyft is 3.9/5
> The only advantage of Libre office is the price, which is a non-factor for any major corp.

Another one: Excels stubborn insistence on mangling anything that can be somehow construed into a date into one :-/
This is probably going to be the case for most professional devices that have CLI configuration and expect the user to be familiar with networking.

They don't know what you're going to use it for and in real networks, the sensible home default of "allow outcoming deny incoming" doesn't usually make much sense. You're probably going to have dedicated firewall devices somewhere else in your network.
The SOP is basically never give any feedback to users. You won't know until it's either fixed or it's not months later.

If OSX/iOS were more open source (beyond the kernel and some libs), I think it would be easier to get external developers contributing valuable fixes and offload some support to the community.

It doesn't make much sense to keep the OS totally closed, because the business model is in selling good HW. Sure, control the platform end-to-end ensures quality, but delegating some can be mutually-beneficial.

It's like a small business owner "control-freaking" so they don't put out napkins for fear people will take too many, making it a pain for everyone to accomplish a common task. There is a reasonable amount of control / final say-so that's necessary, but there is "penny-wise, pound-foolish" also.
>Current mirrorless cameras still can not compete with DSLR for sports and safari photography.

You'll be surprised how quickly that changes. A 900$ Sony Alpha 77 shoots at 12fps, and a 6.000$ Nikon D4 does 10fps. The Nikon has a much more expensive autofocus system and yet that system is disabled anytime you take a shot by the mirror lifting while the Sony has it enabled throughout. Mirrorless is a natural evolution for sports and safari because of this. On-sensor autofocus has already been cracked so we should be seeing amazing mirrorless cameras for sports coming out in the next Alpha refresh.
You need a hug bro. Sorry about your stock, seriously.
I'm a bit more worried about the security aspect of it.

Let's say that we are running a server on a port which uses this option to allow multiple processes to bind to it. What's to prevent a rogue process, perhaps with malicious intent, from starting up and siphoning off requests willy nilly? Sounds like a great way to implement a hard to detect MITM attack.

What would be nicer, I think, is if socket reusing was bound not only to the same uid but also to the process listening to it.
You must find day to day life very tough if you take any kind of issue with such tongue in cheek articles as this. It's full of jokes.
Awesome, but this almost drained my macbook battery dry, or at least that's my suspicion. It was in a background tab, but I noticed the name of the playing song had changed, even though my volume was down. Chrome should have some way to prevent a background tab from playing music while the volume is down, and web designers shouldn't expect you to have it turned up! Shouldn't there be an HTML5 hardware API for that??
NEX has the same size sensor as mainstream DSLRs yet the camera is much smaller and lighter. It will be interesting to see what the NEX-FF format looks like.
The response is fairly shocking. I have always felt reassured that security gurus will argue about minutiae in encryption schemes just because someday someone may figure out a piece of mathemagic that bypasses it.

Here we have a response from a security head that it's silly to try to be secure if the person has physical access, or at least the Chrome team can't trust anyone else's app.

What if you leave your desk for the bathroom and forget to lock it?
Or put chrome on a flash drive?
Or have settings stored in a non-default location?
Or heaven forbid a clever virus manages to get on and all it does is try to look at passwords?
As Dave Kollat told me way back in 1974, "Micro is trivial and macro is wrong." I went on to study a bit of economics anyway, attending some graduate seminars at Harvard. On one occasion, some grad student held forth "It is axiomatic that ...", whereupon I retorted "It may be axiomatic, but it happens to be incorrect."

My life would actually have been easier had I respected economics. I jumped from math all the way to business or public policy (I wound up as a Kennedy School post-doc); the only assistant professorship I was ever offered was at a B-school (Kellogg); I went to Wall Street instead; and have been in the business world ever since.
Honestly I think it is a bit sad that you cannot imagine that a person would prefer to do something other than work, and that the alternative must be to find other work to do. I have other things that I enjoy that are not my job, such as my family and my hobbies. Maybe look into one day finding something you enjoy outside of work.
Unprofessional this is a news site with the name Hacker News without the hacker culture. It is Start Up culture and I need to find a new place for news.
The tax returns are not public, just a summary of it. Adjusted income, tax paid and net worth.
Would that apply to group of contractors?
Jerry Seinfeld on stuff (new): http://youtu.be/HfYzlSNHapA?t=1m15s

edit: start time
As someone who is currently almost that poor, having the luxury to plan ahead can costs money and time. It is really hard to justify any of the more nutritious foods when you're trying to spend no more than $10/day, total, on all meals. (less than $5/day is very common - or less - for many people). If you want to blame someone, I suggest pointing the finger at those that have kept the minimum wage from rising to sane levels instead of pre-judging those that have to live off those wages.

It is easy to suggest that this is merely a matter of proper planning if you haven't been in this kind of a situation. How much nutritious food would you be able to acquire with a budget of $6.47/day[1] ($5.41/day/person for a family of four)? This gets worse when you consider the long hours (and cost in both cash and time[2]) of blue-collar jobs (sometimes below minimum wage).

It can get even more complicated when you factor in stuff like the gas or buss fare it takes to get to a decent store that sells food that is better than fast food or 7/11-style junk; investors usually don't open new grocery stores near the residential areas with most poverty.

The point that this article is trying (badly) to express is not that the McDouble is a shining example of great nutrition, (it also makes no claims about the taste...); they are (correctly) pointing out that it is a shockingly good value compared to what else would be available to someone that only has $2 to spend on a meal. Rice may be cheap, but it doesn't provide the protein, and almost everything else at the $2 limit is also going to lack the fiber and vitamins. The McDouble may not have a lot, but it probably has a much wider variety than you will find in rice[3] due to the bugger including a bit of dairy, both meat and starch, and almost-but-not-quite vegetables in the ketchup and pickle. While the fat content is on the high side, it's not terrible. The worst part of the cheeseburger is really the sodium.

The McDouble is certainly a better choice, nutritionally speaking, than the traditional cheap food: $0.20 fried ramen noodles with shocking amounts of salt.

From a pure engineering perspective, this is an impressive achievement a lot of supply chain tricks and product optimization went into making a prepared food cheap enough to be profitably sold for only $1-$2.

[1] http://www.fns.usda.gov/snap/how-much-could-i-receive

[2] (I highly recommend this article, which contains far more detail) https://medium.com/@sarahkendzior/the-minimum-wage-worker-st...

[3] cheap white rice, not "golden rice", which might be a better choice when available.
Are there precedents where the Singapore company holds IP and licenses that IP to foreign companies which hire and pay employees? Could a Singapore company grant stock options to foreign employees?
For one-time-pad encryption, both sides have a copy of the same secret key.

The name says "one-time," because if a key is used to encrypt two different plaintexts, information will leak.

In this implementation, the results of two encryptions may be based on the same bytes from the key file; not for all bytes, but for some. This is because it chooses bytes from the file (function generate_random_offsets() at https://github.com/pannous/xipher/blob/master/encrypt.c), then writes both the address of those bytes and the XOR'd value to the result of the encryption.

There is no provision to avoid picking the same offsets/key-bytes from one encryption-run to the next, except that they are chosen at random. Because the format of the encrypted messages is very simple, it can be easily determined for two encrypted messages, which key-bytes they share. Remedies: store between runs, remove 00 from file,define chunks in the file?

It's not too difficult to avoid sharing the secrets between two encryption runs; it is not even necessary to chose the key-bytes from the file at random. One could just use the key-bytes in sequence, send the address of the first key-byte, and store the next available key-byte for the next run. When the shared key-file doesn't have enough random bytes, because it has been used for encrypting too many message, it can error out -- which it should, but this implementation will never do that.
If you start with the 12 chromatic tones and start addding notes to a scale going up a circle of fifths, there are two natural stopping points where you have spanned the octave with a complete-sounding set of notes with relatively equal spacing and no gaps: five notes, which gives whole-step and minor-third intervals; and seven notes, which gives whole-step and half-step intervals. These two scales correspond to the spacing of the black notes and the white notes, which are mirror images of each other around the circle of fifths. Any other choice of scale size would have gaps, I believe.
This is my point about asymmetric warfare:

You have to outlast your enemy, and make it clear that they have not won, and can not win.

They don't have to be effective and kill a lot of people to wage a campaign of terror. Eta in Spain is a good example. And even so, all you need is one or two effective suicide bombers, and then just keep reminding people that you have people willing to die for your cause to carry out a moderately effective campaign of terror.

Remember what Timothy McVeigh though. His POV was that you could kill him, do whatever to him, and he's still up 168 to 1.
Yes, https://github.com/skywinder/github-changelog-generator is my tool. And I already post about it( https://news.ycombinator.com/item?id=9237038 ). But thanks for mention :)
Don't forget that ClojureScript macros are written in Clojure. Even if you rewrote the compiler in ClojureScript, it seems like you'd need the JVM to run your Clojure macros (unless you were OK with sacrificing some compatibility).
See "man git-commit", it's in there. :)
No need to. See "man git-commit".
Better than VIM? What do you say that?
Except that Microsoft Mac software neither follows OS X conventions (e.g. putting Office system files in the user's doc dir) nor implements many of the important features (e.g. leveraging the automatic file versioning introduced three years ago in OS X Lion).
We use ngrok (vagrant share alternative-ish) to test integration with third-party services that have to send requests to our system. Works great.
"has its disadvantages as well". Its!