skysight-inc/HackerNews huggingface dataset:
>Oh, believe me, I'm all about the separation between language and library. I mean the smallest subset of Scheme necessary to use the api. For example, it might use string maps instead of association lists.

Look, first off, in a scheme system, there's no reason to use string maps. Symbols or strings can be used for alist lookup, and alists are plenty fast for these purposes.

Secondly, this is how a scheme experession is run, AFAIK.

(define foo (map odd? '(1 2 3 4)))

First off, in a scheme that has it, the readtable is run, transforming shortcuts like '<expr> into (quote <expr>). Then the expression is parsed into a memory representation of a sexpr. This could be a series of cons cells, but a lot of schemes use something else. What happens next is pretty implementation dependant, but in an interpreter, the resultant expression is evaluated. The evaluator sees the define - note this, in your model, the parser would catch this - dectects that it is a special form, and passes the expr to the code handing define. That code then evaluates the cddr of the expr, and binds the result to the symbol in the cadr. In some implementations, the cadr can be a list, but this isn't standard.

Note that all the parser did was translate some syntactic sugar, and give the interpreter the datastructure representing the sexpr. Because that, AFAIK, is all the parser does.

I could be wrong, but tell me if I am, don't just go on as if I'd said nothing.

>I was doing a grammar for scheme programs, not anything else on that list. Macros invocation requires its own non-terminals because its arguments are arbitrary sexprs, not merely unevaluated expressions.

...An unevaled expression IS an arbitrary sexpr. What else can it be?
Ha, I broke off half way though thinking "oooh I should change my vim colorscheme!" Hehe
Micromax Canvas Unite 4 Plus vs. Micromax Canvas Unite 4 Pro
Previous discussion: https://news.ycombinator.com/item?id=3325510
No, because that is not what is happening. The author is completely misconstruing that information fragment.

apt-get source <package>

will get you the exact source of the package as released = installed on your system (assuming only one version is present -- otherwise, it returns the newest, but this is configurable).

The message you are seeing is a hint to other developers that the development HEAD is in Bazaar.

This is similar to the relation between GitHub releases, and the master branch.
Who’s Gonna Enter the Data Tariff War Next?
Show HN: Voxel Engine WebGL Demo
Exactly, in fact I think that if you want to stay healthy then working as a construction worker is great: you get physical excercise, fresh air, low stress level. Risk of injury is pretty low, and wages are pretty good.

In contrast, being software developer will probably get you heart attack, or problems with your spine, or eyes, or hands or all of the above.
Two million at risk of siege in Syria's Aleppo: UN
More than two million people in Syria''s Aleppo are in danger of coming under total siege, the United Nations has warned, calling for immediate access to the heavily bombed city.
Oh. So it is less about I/O vs no-I/O and more about push parsing vs pull parsing.

Because testing with a reader and writer interface lets you test errors too, but now you are talking about error recovery strategies (pull has to pass through or have smarts, push can know nothing).

I agree in many cases push has the advantages being discussed. I just wouldn't have called it no-I/O since that doesn't really have the right connotation.
>they have ads everywhere; maybe they just spend too much at the moment.

But the parent commenter was worrying about shrinking revenue, not profit. If anything, an overly aggressive advertising campaign should grow revenue while shrinking profit.
We do have various versions of the merger doctrine in US criminal law. The details depend on jurisdiction, but generally in order to be merged into a greater offense the lesser included offense must have elements that are a strict subset.

For example, battery and murder will generally merge, but a breaking and entering leading up to the homicide will not.
Downvoted. Your response did not make much sense to me given the article. The article just states that programmers should understand the intricate details of their compensation and make a balanced judgment (whether to take an offer or not) based on that. (edit) The article does not make a judgment on whether programmers are well compensated or not.
I don't like this argument but for another reason - it implies a horrible direction things will most definitely go. The pacemaker will become a service. Just like your car, your house and your washing machine. Oh sorry, not your anymore - soon we'll all be renting them, because there's every business incentive for that to happen, and close to zero incentives that would stop it.
The chances of AAP in punjab is getting great day by day
Something like plmake then? (plmake is a build system written in prolog)

https://github.com/cmungall/plmake
They have some kind of office off of I-95 in South Carolina or Georgia. I drove by it earlier this summer, and until I had, I had completely forgotten about that company as well, despite getting my first job out of college through them in aught six.
I'd add 1Password to that list. Even though they already had an ancient Windows app, they recently launched a new, updated one (albeit still in early stages, but receiving very frequent updates) that support all their new features (Pro, Family and the new subscription model).
If you want to get freaky, install a powerline package
Unfortunately, we are human...

Yes, the toyota case is a well publicised case.
Consider though, the number of safety critical systems that are out there performing perfectly everyday.
Of course, that is not proof of much, but the fact that you can name the Toyota case (and probably the Therac 25 case) means that the process generally works.
Google Woman Killed Going for Jog in Massachusetts
I guess, that's the whole point of the blogpost: when you try to validate email addresses with a regex, you are screwed with unicode domains. It is not clear if you should let them pass, only let them pass if they are properly encoded or not let them pass at all (as the software behind the validator is clueless about them either way).

Building the DFA yourself gives you more control.
My gf is a physician and she has recruiters contacting her exactly how we get contacted and with the same vein, recruiters are calling about jobs no one wants.
Nanotech Grand Challenge and Federal Vision for Future Computing
No we don't! GNU Make is exactly what we need; that's pah-lenty declarative in the right hands.

All you have to do now is make sure your hands are the right hands.

Like buddha said: right mind.
please use HTTPS beforehand
Revenue it's not profit, and it's something that should be almost always positively correlated with advertising.
Vendoring Dependencies in Go
Creating a Cookie-Based Form Popup
8 cool tactical hacks you can use to write great emails
Time tracking JIRA and other reasons why we chose it
Low risk, low reward. If everyone thought this way then entrepreneurs wouldn't exist
"[...] software on a person’s device adds noise to data before it is transmitted to Apple. The company never gets hold of the raw data."

So I guess yes?
And judging by how much garbage software there is out there, written by people without a clue who think they have one, it needs to reappear a hell of a lot more!
Can you grow your own food, raise your own children, educate them in all subjects, and build your own smartphones? All at the same time?
If so:

"The described technique cannot engage or control the aircraft's autopilot system using the FMS or prevent a pilot from overriding the autopilot," the FAA's statement explained. "Therefore, a hacker cannot obtain 'full control of an aircraft' as the technology consultant has claimed."

"The statement went on to explain that although Teso may have been able to exploit aviation software running on a simulator, as he described in his presentation, the same approach wouldn't work on software running on certified flight hardware."

http://www.theregister.co.uk/2013/04/13/faa_debunks_android_...
Sure. Soon we'll have cloud-connected subscription-based freemium pacemakers that will shut down and kill everyone when the company making them gets acquihired.

I mean, I get the business incentives involved, but I also think it's high time to realize they're getting insane and should be altered.
JavaScript Promises and Causality
Never hear that criticism of Apple before. That's more of a Google criticism, isn't it? The usual criticism of Apple is that their products are overpriced, overhyped & overly locked down. (Not my opinion by that's the default criticism.)
KTH (Stockholm) and they're not using Erlang. Blasphemy!
Quality Police for Java projects, 0.17.1 released
The allocation of resources is a non-trivial problem and financing, while on the surface can be corrupt, does have value in the world.
Developers also abused the API to fill everyone’s feeds with game spam, so I can see why Facebook locked it down.
Shhh! Don't criticize Linux even if it's true, you'll get downvoted faster than you can bat an eyelash! That's extremely unpopular here.

'Cause you know, man. Linux.
At first I thought: "Another new GUI mockup tool?", but after reading some more, I managed to understand that this one focuses on drawing desktop Qt user interfaces.
So proud to see DanVK on the front page of HN. Way to go Dan!
Most programmers would be able to do usual plumbing stuff like connecting the sink or dishwasher to water pipes with almost no prior learning, just by looking how things are done, maybe asking a few basic questions at the plumbing supplies store, and reading the attached instructions. These things are no rocket-science really. Sure, an experienced plumber would do all of these things much faster and probably better, that's why we call them. But the barrier to entry is definitely much lower - that's a no-brainer to me.
LGPL is not similar in one important way. Any reference to GPL in a license scares the shit out of corporate managers and lawyers when it's attached to something in their proprietary code. That discourages business use and adoption, sadly, which slows down adoption overall.
In the main probably not, sadly.
Yes, post the Edward Snowden revelations, many people around the world have woken up to the fact that their privacy, or whatever they imagined to have of it, is being compromised at many levels by many players.

Apple has been beating the privacy drum louder every time it makes an announcement on its software, hardware and features, and at the same time, the silence from the other big players (like Google, Facebook, Microsoft) seems damning on them. People who do keep up with tech news know about these differences.

People who are worried about this and who can afford to buy Apple devices (in a worldwide market where very cheap Android devices rule) would likely do so even in the face of losing some flexibility and freedom (compared to what they could do on Android). For this to take off in a bigger way, Apple could at least do the following two things:

1. Sell devices with good hardware at price points that are considered cheap enough (not necessarily "cheapest") in developing countries too.

2. Improve significantly on the software experience and storage front. For example, providing free cloud storage as large as the capacity of the Apple device purchased (or even more) and avoiding competitors like Google Photos taking over Apple customers (and their data) for photo storage and sharing is one thing. Another example is improving maps, which is utterly terrible compared to Google maps in many places around the world.
> some people on the 7-zip forums complained that users could unpack their installers and see hidden S/Ns

wow

I'll have to look for that in the future. I guess removing the disassembler from a common piece of software raises the bar a bit, but still.. yikes.
Zoro im – It's for everybody
The People’s Code
What happened to us?

My theory is this is HN-specific - and what you saw on slashdot was slashdot-specific.

Because HN started as part of YC its culture really likes VC-backed startups. And we think VCs want the kind of huge returns that are seen more often by closed source companies - they want to back the next Microsoft or Apple or Google or Facebook or Paypal or Amazon, not the next Red Hat or Canonical or MySQL.

It wouldn't make much sense for people to believe free software is a moral imperative, while aspiring to launch huge closed-source companies.
More so, is there proof of the second quote that Chrome uses differential privacy?
Ask HN: How do you find friends after moving to a new city?
Perhaps named because the system is based on differences between the true value and the reported value .... and then summing the aggregate data removes these 'differences'.
Fair enough. I have a grandfathered Google Apps account which costs me zilch and nada, so it's easy to forget that for other people it costs money.
"Clean code" at this point in time sounds more like a inside joke for uncle bob fans to satisfy themselves with

"Clean code" sounds a lot like "True Scotsman"

SOLID is better but it still is subject to some subject interpretation
Almost never. I know where the bank is, I know where the door to the bank is, but that should not make it easy to break into the bank. However, a gold storage might want to keep the location hidden, as they should have already implemented all the security procedures of a bank plus extra.

Spending time on security by obscurity should be a job for the small minority of people who already done everything else, and then only if there is a cost-benefit analyze that show cost of the obscurity to be less than the calculated gains.
A cheaper and dirtier way to do this is to solder onto controller's pcb. Each joystick drives an X and a Y variable resistor, and measuring the voltage across output and gnd pins shows it ranges from 0 to 3.3V with 1.67V at neutral position. After removing these resistors from the board, you attach the pins to the arduino and you can analogwrite an output voltage[1] to mimic the joystick movements.

This of course flows through to the radio transmitter and onto the drone giving you computer control of the drone without reverse engineering radio and packets. I'll be writing a blog post on this soon. [Though I would be curious if anyone has done this with a Syma (D63) as it's a chinese company]

[1]: also need a low band pass filter (couple resistors and capacitor to trun the arduino's pwm into true analog voltage)
>Honestly what's wrong with just paying people a lot of cash?

The context of the blog post is "startups". Startups without significant revenue don't have a lot of cash to pay high salaries.

Another reason for stock compensation is to tap into the power of incentives. Hopefully, the potential equity upside attracts employees who think their work contributions can boost the value of the company (and hence their stock options) rather than mercenaries who just want a paycheck. Paying with 100% cash doesn't easily differentiate those 2 groups.
I can highly recommend "The Oxford Guide of Library Research" by Thomas Mann.

I had no idea how many different ways to research a library there are. Or how many of them are not available in my local university library, because the research interfaces have been dumbed down.

Mann is not a fan of the Internet and its reduction to a single search box.
I don't know what Yahoo is smoking. Their FY15
statements say that GAAP net income was $13.2 million on $666m of revenue. 2014 had $725m of revenue with a loss of $293m. This is a company that is slashing and burning.
When push come to shove [Learn about push notifications for eCommerce app]
There's some details here: http://eftm.com.au/2016/08/census-2016-the-10-million-online...

"The ABS paid an Aussie company “Revolution IT Pty Ltd” $469,367.50 across three tenders to undertake “Load Testing Services for Census 2016”. $325,000 of that was for software licences to get the equipment required to do the testing, the rest we can assume was for the teams to actually undertake the testing."

And hosting is being provided by IBM: http://www.itnews.com.au/news/ibm-wins-96m-to-host-ecensus-i...
Why unlikely? Doing it anywhere but in the device would defeat the purpose of the whole system.
Is this document tongue in cheek?
Marketing Tools to Build a Customer-Focused Brand
In the interest of honesty - first of all, "it gets patched within hours and it may take a day or two for it to be distributed to everyone" is not true. No matter how fast a vulnerability is patched, the distribution process usually takes days to weeks (c.f. Heartbleed bug, Canonical was apparently the first to find and fix it, and yet I've waited weeks to get the fix on my Ubuntu machine) for those who care and monitor those issues constantly, and months to years for everyone else.

Now there is an argument that there is a trivial way to find vulnerabilities in Open Source code - just diff the commits to look for fixed bugs, and attack those who didn't manage to update their software yet. That's part of the reason why e.g. Wordpress blogs and PHPBB forums get spammed so heavily.

Whether or not the benefits of Open Source are greater than those problems is another topic, but let's not pretend opensourcing doesn't lower the entry bar for attackers.
Not really. Most programmers I know design systems, not just mechanically program them according to the specs. Plumbers do not design - they just execute designs created by plumbing engineers. And plumbing or mechanical engineers are paid much, much higher (in this region where I live probably not as much as programmers, but close enough).
Or, if you want to say "assuming the conclusion" say "assuming the conclusion", rather than demanding that the nonsensical common usage of "begs the question" stand aside for your preferred nonsensical usage, based some dubious notion of "correctness".
It certainly always elicits a lot of "Hurdur this is my company", feels a bit too perfectly written for that reaction to not be satire.
The pace of innovation is why user onboarding never stops
It's not quite that easy. While Elixir/Erlang provide a lot of great tools for distribution, it still takes a lot of knowledge and effort. It's not quite a case of "Just use Elixir".
Sqlectron: lightweight SQL client and terminal
"The Mind Illuminated" ( https://www.amazon.com/Mind-Illuminated-Complete-Meditation-... ) is very good, and contains all you need for your practice.

The author is both a long term meditator and used to be a neuroscience professor. The book teaches meditation in a stage by stage way which is very easy to follow.

Another excellent book is "Mindfulness, Bliss, and Beyond: A Meditator's Handbook"
(https://www.amazon.com/Mindfulness-Bliss-Beyond-Meditators-H...).
A Humble Bundle is a last-ditch effort to sell an old game -- appealing to hoarders for the company to gain some publicity (as some just give all to chaity). The last "2K" bundle had $360 worth of games -- for $8.97 and only a small proportion of that comes back to the company.

If you want to support Linux as a platform, I recommend you donate at higher e.g. $50 or $100 tiers to Kickstarter projects that have Linux stretch goals and be vocal about your donation.

Paying 5% of the sale price years after the game has come out doesn't strike me like fruitful.
There is an interesting way to look at the AOL-TW merger: AOL knew it was extremely over-valued, and that valuation wouldn't hold, so it used the very high prices to buy something which actually had value.

From that perspective, it was a highly successful move. But it might all be hindsight, just like the Honda Motorcycle case.
It's mentioned in the article: RAPPOR.
How really does this work? I plug in my android 5+ smartphone, and I can access my apps on it?
https://www.glu7.com/blog/5-outrageously-commanding-facebook...
Maybe they decided to stop selling out their users to outside developers. I can't think of any good use for friends lists apart from spamming the users' friends.
Yea. Andromium (our App) makes Android function like a familiar desktop OS, and gives apps with our SDK some additional capabilities (resizing, multitasking, etc.). Every other app simply opens up in full size mode, so you can still use all of your regular Android apps. Check out the beta: play.google.com/store/apps/details?id=com.andromium.os&hl=en
Custom IT systems prevent London police updating 27k Windows XP installs
Adam Smith's five reasons to get paid more:

1. Skill. Over the long run, jobs that require higher skill will attract higher wages, or else people won't bother to spend the costs acquire the skills for the job.

2. Accountability. All equal, you'll take the job without personal consequences when things go bad.

3. Wholesomeness. Undertakers get paid more. Butchers get paid more than bakers. If it sounds cool at a party, expect to get paid less. Supply and demand.

4. Job security. Essentially, you need a higher wage for an unstable job than a stable job. Risk premium.

5. Physical danger. Yes, a lumberjack will get more danger money than a programmer. However, you'll demand a higher wage for a programming job with crazy hours and the only food in the building is a snack machine with cinnamon buns which have no expiry dates.
> Furthermore, once a plane is type certified, it can't be modified from that configuration without further testing to prove the modified configuration.

Would this work similarly with autonomous cars? For example, what if google wants to change one line of code in their car?
I've tried meditation a few times, and finally found something that seems to work with my brain (I can explain but it doesn't answer your question). In the meantime, I tried reading a good deal and learning what I could, so here are the things that stand out for me.

Lots of folks enjoy "Mindfulness in Plain English", and it does a good job of explaining some things, and it got recommended to me over and over again.

For something more in-depth, check out "meditation for dummies". It is a decent introduction to meditation.

For a more realistic viewpoint on meditation, check out Sam Harris. He was pretty skeptical, and seems to not over-inflate the results though he's an obvious believer.

Lastly, I recommend watching Shinzen Young on Youtube. He was really more of a turning point for me, and gives a good deal of flexibility in methods.
"Please talk to a financially savvy individual to avoid missteps that could impact your long-term wealth." -- this strikes me, everything said makes common sense, and most engineers will agree, but the difficult lies in this sentence, how/where to find this resource _easily_ while working 7*24 on startups?

It is extremely difficult to find a real person, or a nice website, to make the ownership/stock-options/shares/etc straightforward and easy to follow, those jargon/terms are made to confuse any ordinary typical person.

I wish there is a website providing such service, say, charge $100 a hour to analyze my financial situation thoroughly or something like that. And no, I'm not saying a financial professional from Fidelity that is trying to sell me some funds.
I'm not sure the CIA document supports this article. He seems to be talking about incompetence while the article is about sabotage
It's also a lot slower than teletext, especially the fasttext / caching teletext TVs.
How is this different than airdroid?
Top Weightloss Tips and Facts
Scaladex: Scala's library index