skysight-inc/HackerNews huggingface dataset:
Are you sure? Most Android CVEs I have personally read (a small set I will admit) have been user mode components.
This is nice and all, but the syntax and names are totally unintuitive.

If I'm to dig in the manual, I might as well build my plots with the standard syntax of any random plotting library.

Is this "grammar of graphics" any good if you invest more time in it?
The RPI compute module is the thing that looks like a memory dimm, with no ports. It's not useful by itself.

The purported value add is that the product includes a backplane, ports, power supply, and enclosure that are suitable for use in an industrial setting (wide operating temperature range, shock/vibration, etc).
I'm curious about how you use this during debugging, would you mind elaborating on what language(s) you're using the call-graph from?

I'm wondering because I've been studying building automated program reasoning tools and have found that even just creating the call-graph is difficult: I imagine the end result potentially confusing the user because it is either incomplete or overly pessimistic. For example, the LLVM call-graph (apart from not being in the language directly used by the developer) does not include edges from indirect calls because their targets cannot be resolved (so it is incomplete). Alternatively, in the case where you don't know which function is called you can just add an edge to every function in the program (pessimistically).

The same story goes for the dependency graph.

I myself am a bit pessimistic myself about more powerful software understanding tools probably because I've been working on the problem for too long. It's particularly difficult because the languages end up being too difficult to analyze, and there is a huge engineering effort in creating an analyzer which is tuneable to handle various language features efficiently. But, if you have a particular problem and a particular (subset) of the language it ends up working nicely.
Aadhaar isn’t progress – it’s dystopian and dangerous
They can build a open-source back-end and differentiate in the front end.

Or even build common components/ technologies together and then build their back-ends on top - that is basically what the rest of us are doing...
XScreensaver has a mac port and an openGL toaster saver along with a lot of other goodies, should you be so inclined..
That part can be automated to. See https://fullfact.org/blog/2016/aug/automated-factchecking/ for example
>Smalltalk would score very low compared to today's languages.

Citation needed. Why would it "score very low compared to today's languages"? At best "today's languages" caught up with some things Smalltalk offered, but they still don't have the base model so succint and flexible, so it's just piles of sugar on top of algol.
Isn't that basically solitary confinement, which is deemed a violation of the UN convention against torture? I was under the impression from the numerous articles that there are plenty of common rooms, kitchens, workshops, and other activities for inmates in those prisons.

Also, could you please provide a source for your statement that "Unsurprisingly people who have done long stretches of time in Norway's prison system disagree with this article?"
Central connection pt could make HomeKit more appealing–not without trade-offs
> Is this the same project, or something more, or something else?

Compare the source code:

http://llvm.org/svn/llvm-project/llvm/trunk/bindings/go/llvm...

https://go.googlesource.com/gollvm/+/master/llvm-gofrontend/
I'd both agree and disagree with that. I can imagine such technology being very useful for teaching if it is applied well, and - as you note - replacing current ways of teaching completely certainly won't help.

I'm not sure about the "using it as if for a Job" part though. It wouldn't surprise me if there were some good teaching techniques using such hardware in new ways - it's just that they haven't been tried yet.

If one could let kids explore some topic on their own (given certain boundaries) in fun ways, I could imagine that alone could have positive effects. Perhaps you meant that with your remark too (I'm not sure if I misread you there)?

Edit: I could, for example, also imagine a scenario where a traditional "text book scenario" is accompanied by some "sandbox" examples where kids could try different parameters in the style of Bret Victor's "Inventing on Principle" talk. I've generally thought that his demos, while being truly great, wouldn't help too much when it comes to actual work. For showcasing something and educating someone in a more explorational way, they seem to have a huge potential, though.
A big problem intermediate code solves is that, you don't need a big monolithic compiler for both front-end language parsing and back-end architecture instructions. They call it MxN problem, so instead of MxN combinations of architectures and languages in a monolithic compiler - you get M+N components where M handle the language parsing etc.. while
N handle the conversion from the single intermediate language/instructions to the target architecture's instructions.
The best treatment for wood exposed to the elements is copper-based. In USA, however, the requirements for treatment facilities have grown more and more onerous, so that it's fairly impossible to find such wood anymore.
How Digital Technology Is Changing Farming in Africa
I love this work, it inspired me to work on Inside LibreOffice.

https://www.gitbook.com/book/chrissherlock1/inside-libreoffi...
While my laptop screensaver is pretty boring (lock icon with blurred wallpapers), I have a lot of fun screensavers on my Kindle. Turns out the Kindle supports PNG (with transparency) screensavers, with the catch that you need to jailbreak to set them.

I made some transparent ones that show the book text what I'm reading along with some fun text.

For eg, this one asks people to guess which book I'm reading: https://imgur.com/a/wIj4O. A few more are at https://twitter.com/captn3m0/status/862587826801590273 and the files are at https://github.com/captn3m0/avatars/tree/master/kindle
Thanks! I'm really off by quite a bit...
If gathering salary data was high cost they could still address the question of having a wage gap with random sampling.

And that's what they'd have to do anyway -- salary data wouldn't tell you if they had a discriminatory wage gap.
> Also, people used to be considered geniuses for knowing a lot of things.

This is still true, and in the eagerness to dismiss "memorization" as a thing of the past you overlook the obvious. For example, anything you care to know about, say, C++ programming or quantum field theory is available to you on the internet. But does that mean you can write a C++ program as if you had already learned it? What if you want to write a C++ program and you have to look up everything? You will do a very poor job if at all, and you will take a lot of time.

So yeah, until looking up stuff in the internet is as quick as effective as looking stuff up in your brain (the quick may happen but the effective I don't think so), then it still is a very worthy skill.
Right - I'm not saying Google is sexist. I think they try very hard not to be.

But, if the end result is that a man and a woman doing the exact same job with the same perf ratings at Google are paid differently, because the woman happened to be paid less at her previous job - is that fair?

There is a reason that NYC just outlawed companies asking for salary history.
The systemic voter suppression of minority populations through felony disenfranchisement and disparities in enforcement are at odds with what Americans profess as an ideal, that "all men are created equal".
you can patch the driver, and next time you upgrade don't purchase an nvidia product
It could also just be in a densely settled area. When I lived in the Mission Hill neighborhood of Boston, I purchased a brand new top of the line router for my parents in the suburbs, but did all the configuration at my apartment. When testing in my apartment, 2.4ghz couldn't move more than 5mbps. At my parents' house, it had no trouble pushing 120mbps+. From my apartment, something like 40 2.4ghz wireless networks were visible.
Recreating and keeping up with Hadley's hard work is challenging, particularly because ggplot2's layout and extensions are really nice and continue to evolve.

As an alternative that preserves the full power of Wickham's implementation, pygg[1] is a Python wrapper that provides R's ggplot2 syntax in Python and runs everything in R.

[1] https://github.com/sirrice/pygg
As an American, it's a tough situation. I recognize that our strategies don't work and that mass incarceration with no socialization programs is an obvious failure, but at the same time I demand people be punished if they hurt me, not just inconvenienced. I don't care about a populations' propensity to reoffend at a societal level, I care that a specific individual hurt me and they need to make it right somehow or suffer consequences. If there is no perception of justice then I think we can expect extra-judicial retaliations.
The Datalight C compiler would generate COM files that provided for 64K code and 64K data, as long as the code + static data was < 64K.

Of course, you could still access all the memory in the machine by using "far pointers" and far allocators.
> Is this "grammar of graphics" any good if you invest more time in it?

For some, it was probably one of THE things that kept them using R over something else. Yes, definitely worth it.
People aren't talking about race because the article is mainly about life inside prison, not how easily or for how long you end up in there.
Ask HN: What is your take on being a better writer?
In a world of hyperbolic tweets and biased content marketing, we all be should better at writing. What is your take on being a better writer?
I find it the opposite. The syntax is the most intuitive of all plotting applications.

Layers are as follows [1]

1. Data

2. Aesthetic mappings

3. Statistical transformation (stat)

4. Geometric object (geom)

5. Position adjustment

Once you get a hang of this, it becomes easy to create new plots purely from the understanding of the layers. In matplotlib or even in Seaborn, I find myself constantly Googling for examples.

ggplot2 is the most beautiful thing to happen in visualization space!

[1] Wickham, Hadley, and Carson Sievert. "4.4.1 Layers." Ggplot2: Elegant Graphics for Data Analysis. Dordrecht: Springer, 2016. N. pag. Print.
Tech innovation could build Africa’s economies, if governments let it
"What are people for?"

That's the question you're asking.
>a .com created this way would instantly reboot the computer. Even more weirdly, this only worked for the specific command that happened to enter in my first attempt

Interesting that you did that by chance, since the probability was somewhat low. but possible, of course.

I used to assemble a tiny .COM program on new computers sometimes, using just DEBUG.COM (the built-in rudimentary debugger that came with DOS), using something like the following (the dash is the DEBUG prompt):

DEBUG reboot.com

-A

JMP F000:FFF0

-.

-W

-Q

Meaning of the above: A to enter Assembly mode - to enter assembly language instructions, the JMP jumps to that address (Intel x86 segment:offset format), which was the location of the instruction in ROM that would reboot the PC, the dot to signal end of assembly input, W to write the code to reboot.com, Q to quit DEBUG.

Then if you typed "reboot", it would.
It produces error message along the lines of "you computer does not have enough free conventional memory to run windows NT". It is interesting that the message is actually translated into language of the NT install, says that you need 639kB of free memory for windows NT and reports whatever was the amount of free conventional memory in DOS before the "reboot" (which makes sense given the fact that at that point the original DOS is in memory in probably completely working state).

Interesting about this is that there probably is not any other way to get the same message, because NTLDR actually is not valid as anything that DOS can execute (IIRC it is not MZ image and is too large to be loaded as COM).
"NATO promotes democratic values"
http://www.nato.int/nato-welcome/index.html

And Erdogan, right now, is doing the opposite of that. It is completely valid to question Turkey's role in NATO, but the current U.S. president doesn't care about or even understand what democracy is, because he's an ignoramous about pretty much everything. All he cares about is "winning" and that's why he praises autocrats like Erdogan, Duerte, Salman, Kim Jong Un, and el-Sisi, while criticizing American allies. I think he's kinda jealous of autocrats who get things done and doesn't have to deal with silly legislatures and courts. So I have no doubt that this administration will be fine with Turkey staying in NATO for the foreseeable future despite the incongruity on democratic values.
Ultimate List of 100+ Best Digital Analytics Tools
What strikes me about the Scala community is how amazingly anti-fragile it is.

Odersky often uses criticism to refine future versions of the language. He is currently my favorite benevolent dictator.
Exactly. I wish more people understood basic forces of economic behavior half as well as they know how to regurgitate social justice catchphrases.
Just to narrow that down a little more, I associate that with more of a London accent/locale. You don't hear it much here in Scotland.
go-llvm/llvm appears to be a set of Go bindings to LLVM, i.e., the ability to access libllvm (embed LLVM and use it programatically) from a normal Go program. That is, you're using Go to drive LLVM, not LLVM to compile Go.

See the factorial example, where they build up some LLVM IR (in memory) for computing factorials: https://github.com/go-llvm/llvm/blob/master/examples/factori...

I'd guess the advantage of this is using LLVM's JIT at runtime.
Not bad advice for native writers either.
Aren't alternative JVM languages subject to the same potential legal issues that sparked the Oracle lawsuit? Don't languages like Scala, Groovy, and Kotlin still make use of many Java APIs?
How does it compare to the other existing solutions? (LXR? LXRng? OpenGrok? I'm not an expert here)

Does it work for other code (not Linux kernel) too? What are the requirements? Would it e.g. work for SQLite? Lua?
I'm always looking for LabVIEW alternatives... is one of your cards an analog input module? How else to get 10-20 analog inputs? And is 10kHz sampling reasonable? What's the highest practical Fs? Thank you/danke!
Slang is everywhere. Even the university I went to had their own slang.
I'd argue that's exactly what computer science is.
> “We review over 100 million pieces of content every month,” Facebook Chief Executive Officer Mark Zuckerberg wrote on his page on Feb. 16. “Even if our reviewers get 99% of the calls right, that’s still millions of errors over time.”

On one hand, that's a good point. On the other, that's the response of many people to things they are pressured to do. If it's something they really care about - e.g., a big new market or a trend-setting tech - then the response is that they can 'innovate', 'disrupt', change the world, and they'll tell you to ignore the naysayers who talk like Zuckerberg did above.
The use of "be" to indicate action instead of state.
(Often followed with the word "like" which is another case study in meaning. Maybe "like" indicates the speaker is aware the portrayal isn't exactly as represented but close enough for the conversation?)

"I be like, you crazy".

"Bitch be all up in his face".

"He be walking home from school".

I don't think it's an error, but rather possibly a subtle meaning with this use of the word "be". Something like at that time, the subject "is" their action. And tense doesn't matter so much.
I would call that "interesting" instead of "pedantic"
Indian tech sector downsizes heavily as Trump’s H-1B policy creates uncertainty
Definitely altered my perspective on what kind of career I want. Nowadays I plan my life around my kids and intersperse my free time into doing the things I want to do. It looks like sacrifice, but I'm happy doing it this way, and so does my wife.

The balance, at least for me, tilted toward family. But I think this is different for every one. Some may prefer to outsource a certain amount of childcare, for instance.

Look at what you value, and I think you'll plan accordingly.
Solitary is very popular in the Scandinavian prison systems. It is even used extensively pretrial, for long periods of time. This is often forgotten when talking about the lenient Scandinavian prisons.

https://s3.amazonaws.com/academia.edu.documents/42150580/PSS...
How much do they even teach this in school?
Is there really anyone credibly suggesting software developers will be surpassed by AI within a few years? Writing arbitrary software seems dramatically more complex than what "AI" like systems are capable of today.

Even 10 years seems impossibly soon.
Both Chrome and Firefox use the same techniques as far as the client side detection is concerned if not even the same code. Both send the data to Google.
Yeah, I don't think the muder rate in the US vs. the UK actually exhibits that.

I was just pointing out that it's not okay to say "the unconditional rate of murder in A is greater than the unconditional rate of murder in B, therefore A is more dangerous than B". While it may be true that A is more dangerous than B, the implication is wrong.
Someone Has Filmed Inside a 'Click Farm' and It's Weird AF
Sure it wasn't Miri Mir?

She's hotter than I am :)

https://twitter.com/miricarro?lang=en
Land costs in the South East of England may be too high, but that really doesn't apply to the whole of the UK...
ChitChat Hustle With Darian Rosebrook
Since commenters are weighing in on packet construction libraries, what say you in re: libnet1.0/libnet1.1?

libnet-based modular utilities that can be used in shell scripts:

http://nemesis.sourceforge.net/docs.html

Also, earlier was nc-data. Slow but allows constructing any packet from the command line. Not limited to known packet formats.

http://nc110.sourceforge.net

Let us hear your criticisms.
Yeah but they didn't test waters of different ph levels. I'm not sure if that would be an issue though.
Using copper vessels to store water for drinking is somewhat common in parts of India. Seen it in Maharashtra.

Lead vessels were traditionally used (and may still be) to make certain dishes (like rasam, a watery lentil-based sour soup) in South India. No idea about any benefits or the reverse.

Update: Also, I've seen relatives of the previous generation to mine (in India), sometimes eating from silver plates. Not sure, but I think that may have been for some supposed health reason too (seeing sibling comment about silver reminded me of it).
Airlines these days are run by a complex set of systems most of which have to work in order to have the airline function. I remember a few years ago SABRE (one of the 3 major GDS companies in the world) had a 4 hour outage (I worked for a division). Half the world's airlines stopped functioning. Generally these things seldom go down but when they do, hell breaks loose. Often these systems not only do reservations, but crew scheduling, weight balancing, check-in, manifest creation and a whole host of other small but important things. Airlines also integrate some of their own pieces into the contracted ones, and some just contract almost everything. It usually comes down to money. Even Southwest Airlines which doesn't share its res data with anyone uses a GDS backend for a lot of things (in this case SABRE).
i have to say free ice cream does not sound like a bad idea for these overworked doctors. wisdom is useful but ultimately not something you can eat and it wont give you any pleasure.
> Actually doing any work is shunned upon.

You clearly don't understand what a manager does if you believe what they do isn't work.
Great analysis by The Morning Paper: https://blog.acolyer.org/2017/05/24/bolt-i-know-what-you-did...
An AIO module is coming next month, but I'm not sure about the exact specs. I've just called the project manager, he promised to come here in a bit and answer open questions such as this one.
> Why does it store a 0

Go language semantics define that variables receive a zero initialization.[0]

> and then a 1 in "$ret0"?

The 1 is because the code explicitly stores a 1 :-).

Clearly the output code has not been through an optimization pass.

[0]: https://gobyexample.com/variables
"I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu)..."

Now Linux is the most widely used OS in the world, and the "big and professional" GNU still doesn't have a production-ready kernel release.

We need this project, or something like it. We need a Free OS for phones. I actually find the HN negativity on display here encouraging; it worked for Dropbox.
>If property rights are respected by all, some small fraction of humanity will indeed become fantastically wealthy, but the vast majority would be on the tail end of a very thinly tailed distribution as humans become worthless for production - leading to quite a bit of aggregate unhappiness.

The evidence suggests that adoption of market institutions boosts wages for all classes and is the most effective way to alleviate poverty:

https://www.theatlantic.com/magazine/archive/2010/07/the-pol...

I would argue this is because the sum knowledge of society is NOT accessible to any one party. Knowledge exists in a diffused pattern, across billions of individuals. The only way for the entirety of that knowledge to come to bear is for all the individuals that constitute a society to participate in market decisions, with rules that punish bad decisions with a reduction in capital and reward good ones with an increase in capital.

In other words, a government will not be able to intelligently invest with anywhere near as much skill as billions of independent individuals investing their own capital.

Every individual has unique knowledge about specific domains, and when empowered and incentivized to invest, will utilise that knowledge to find and invest in opportunities within these domains that the vast majority of the population would overlook.

It's billions of individual investment decisions, each utilising the unique knowledge of the individual investor, that combined, can create a highly effective economy that rapidly grows and produces significant returns for the population.
My browser just shows me a blank page.
The Guardian recently published leaked training documents for Facebook moderators. The instructions quoted in the Guardian article depict very minimal moderation. For example:

- Remarks such as “Someone shoot Trump” should be deleted, because as a head of state he is in a protected category. But it can be permissible to say: “To snap a bitch’s neck, make sure to apply all your pressure to the middle of her throat”, or “fuck off and die” because they are not regarded as credible threats.

- Videos of violent deaths, while marked as disturbing, do not always have to be deleted because they can help create awareness of issues such as mental illness.

- Some photos of non-sexual physical abuse and bullying of children do not have to be deleted or “actioned” unless there is a sadistic or celebratory element.

- Photos of animal abuse can be shared, with only extremely upsetting imagery to be marked as “disturbing”.

https://www.theguardian.com/news/2017/may/21/revealed-facebo...