skysight-inc/HackerNews huggingface dataset:
For coreboot, I started making gcc (we use our own toolchain for various reasons already) emit some link-time error inducing symbol, because their current approach (__builtin_trap()) is nice for undefined behavior in userspace programs that can segfault, but not for firmware that silently hangs.

https://review.coreboot.org/14364
I'm not affiliated with Copperhead at all, but I am familiar with the sorts of techniques they are using. Exploit mitigations, such as Address Space Layout Randomization, Control-Flow Integrity, Fine-grained Randomization, etc. provide a layer of hardening to make exploitation of a source code vulnerability harder, or even not possible on the protected device. The bug (zero-day) still exists, it's just not as exploitable to do bad stuff.
Looks like he did, the nick was MarcoMarsala earlier this week.
That was funny but it's time to dispel the Kobe "ballhog" myth.

Consider that Kobe logged a career average of 4.7 assists per game.

Compared to other elite shooting guards/small forwards:

* Michael Jordan - 5.3
* Lebron James - 6.9
* Kevin Durant - 3.7
* Carmelo Anthony - 3.2
* Dwayne Wade - 5.8
Read somewhere that postgres cannot do in-place json updates.
Like you cannot do field->>'val' = 1 in it without updating the whole json.

Which becomes relevant event in moderately write heavy scenarios
You should do number of submissions where min_score > X (maybe 5 or so). This will help filter out the spam submissions that no one ever sees.
There was a time when the only language with decent platform support had to have turing-complete meta-programming support, inheritance, polymorphism, lambdas, preprocessor, custom allocators, placement new, std::erase_if, etc, etc. because we were basically stuck with it.

Those times are now way behind us. Today, there is a plethora of languages to choose from, each with their strengths and weaknesses, each most powerful in the niche it's designed for.

Go is not a language with generics. If you need generics, don't use Go.

Go should not have generics unless it's trying to dominate the world. And we all know that no language can achieve world domination nowadays, not anymore. So it should rather trying to be the best language possible in the niche it was designed for. That niche doesn't need generics. On the contrary, a vocal part of the community says generics would taint Go.

Go doesn't have generics. It's however got a proper FFI. Use it. Or don't.
It wouldn't be weird if the specific search engine mentioned was Google.
Serious question. What does work-life balance look like. I genuinely have a difficult time finding things to occupy my time when I don't work. I am not really even fully sure where to start...
Whether or not the company is horrible or if someone would be fired for a bad hire, managers will assume the worst and do the most weasely thing. So, expected behavior is they play it safe and trash resumes without degrees. Some people don't have the same perceived social pressure because the company is small or they are the founder.
Good idea, will ask that question next time when I get the "Annual Fund" call.
They've got no obligation to tell their clients about it. If it all blows up the client is only going to need more PR work.
The juxtaposition between seeing this on the frontpage today, and the VIM 8.0 announcement on the frontpage yesterday, is hilarious.
Note: the title should say "Kiva Systems", the microfinance 501 org "Kiva" was not purchased by amazon.
Reminds me of Peter Welch's "Programming Sucks" rant from 2014:

http://www.stilldrinking.org/programming-sucks
No, there isn't. Microsoft supports Windows Phone/Mobile for three years, which is I think the longest of anyone, but obviously it's not open.
The main issue is people have had it ingrained into them from parents and grandparents who knew what it was like to work at a company for 20-35 years and retire, and thats not at all how things work these days.

At a base level, employment is a contract for services. They pay me X for me to do job Y. The real problem is that employers have almost all of the leverage and power in this forming of the contract, so they generally start off paying you less than the value you produce because thats how business works!

What people need to learn to do is how to negotiate from a strong position and how to understand and edit contracts. Never, ever be afraid to say, "Im going to read this, make changes, and bring it back to you." Just because someone hands you a peice of paper and a pen and says sign this doesnt mean you should!

Also, perks only go so far.
> Speaking as a former Google engineer? I know a few disillusioned Google engineers :)

Not former nor current. Me too!

And yes, the Google interview process made me aware of some (important) blanks in my knowledge

At the same time they ignore the "incidental" talents and knowledge of people in their process (a lot of times, technical knowledge).

I also compare what they're doing with what people that got turned down are doing
The importance of Cargo / crates.io cannot be understated, I think.

I've found myself using Rust for little one-off tools and scripts lately because it's so darn easy to type `$ cargo new --bin foobar` on any of the three operating systems I use daily.

There's already a pretty nice ecosystem of web servers, graphics libraries, crypto libraries, etc. -- Not to mention the bindings to existing libs.

At the end of the day I always end up with wicked fast binaries that I can run on Windows, Mac, or Linux with fairly minimal fuss.

---

I really haven't found a language that hits this niche the way Rust does, which is really strange to me considering Rust's mission statement.

No shell scripting language is that easily portable barring something like MinGW.

I've never had what I'd call a pleasant experience using Ruby, Python, or Javascript on Windows. Not to mention if the language runtimes / stdlibs don't demand it: many of the 3rd party libraries assume a *nix toolchain to build all the C extensions.

Go and Java probably come the closest to writing easily portable software, but I personally find writing Rust to be a more fulfilling endeavor.

---

The other day I wrote a tool to deduplicate my image library in Rust. The first binary to compile worked perfectly on both Mac OS and Windows, ran wicked fast (on my SSDs anyways), and it was really a pleasure to write. -- Rust's iterators alone really make for some beautiful code.

---

This was a really long-winded way of saying I love Rust, and thanks for all the hard work ^^,
This is everything thats wrong with (web)developers today.

Why is this available in more than one format?
Why on earth is there a filter.sh and render.py?!? This is just awful. If you can't read through a simple text list and select the appropriate questions then you're already doomed.
I wish it would hurry up.
That's called a baseband processor.

But no, in all seriousness, Copperhead (and AOSP itself) are open source. Go audit it for NSA backdoors yourself if you're worried about that.
That misses the answer, followup, and reference. Unless I'm missing something...

- q: Would you say your colleagues are good at reading your emotional state, or still learning? # TODO: Better wording so the answer is not so obvious
a: Research shows the most important factor in team effectiveness is psychological safety, a "shared belief held by
members of a team that the team is safe for interpersonal risk-taking." One component of this is high "average social
sensitivity," or that everyone is good at reading the emotional state of others.
followup: Do you feel like your opinion is heard, respected, and valued?
ref: http://www.nytimes.com/2016/02/28/magazine/what-google-learn...
pri: 1
tags: [culture]
Using Inputs and Outputs to Make a Toy
He's a hosting company. He deleted his clients code/content.
I don't know basketball. Are those players known for assists?
What Happened to Open Source CRM Anyway?
Many organizations already upload their source code to GitHub. I could get behind a tool like this that could scan GitHub repositories and build an on-premise index.
Yes of course, but compiling the code is faster than generating the code and then compiling it. Templates are much slower than just compiling code straight.
I have an IntelliJ Ultimate license and although it's really powerful and great, for small things (JS, Python, etc) I mostly use VSCode.
So far I am really happy with it.
Not at all. Vendors just fork the kernel at the fixed releases Android versions ship (ex, 3.4, 3.10, 3.18, etc) and then merge in all their proprietary bullshit violating the GPL nonsense into that tree, ship (and publish) that kernel source tree, but never merge back into Linus' tree.

As a result, the device is supported only by the kernel they provide, rather than by generic Linux. And their kernel never gets updates.
HubSpot Disrupted: What's All the Fuss?
ubuntuBSD
First, this is amazing. I want.

Second, I do a lot of code readings that include not shareable code, I would imagine a lot of developers from a lot of companies would be in the same position. From https://kite.com/privacy/:

* all the python files in your authorized directories are sent over the network

* everything you type in these files are sent as well

* all the terminal commands you are going to type (ouch ouch)

> Q: How does Kite secure this network traffic?

> A: As you would expect, all traffic goes over https.

Yeah unfortunately that is not enough, a MITM can also use https. How do you authenticate the server? Do you have certificate pinning?

> What information does Kite keep around on its servers?

Pretty much all the info I previously talked about, that you are now worrying about, is kept there, in clear (correct me if I'm wrong).

This is a big no-no at this point.

> Many developers have already chosen to trust their code to services such as Github and Bitbucket

Many developers also do not trust Github/Bitbucket with there code (and they should not) and do not store secrets there. And who would want github to have access all the terminal commands they type? This sounds like a nightmare.

At this point I don't see why anyone would use that, if not in a VM, with extreme care on what commands are typed in the terminal and what code is used with Kite.
Send me an email(to my username @ gmail.com ) with your resume, and we can have a chat, and I can provide you with something akin to a reference if you like.
Wasn't Obama using a Blackberry device a few years ago? Granted the device he was using was likely hardened, but still raises interesting questions.
Google.com/humans.txt

https://news.ycombinator.com/item?id=11498672
Unrelated, but we have really hit a new low as a society if we are discussing the aesthetic qualities of shoe commercials.
A 512GB ssd costs somewhere around £100.

That puts the cost of 10GB at about £2.
Seems like this is in response to competitors offering raw access to the data.

e.g.

https://amplitude.com/sql-queries

https://segment.com/redshift

etc
Right, so then it is more complex than `go build`. QED.

To be clear, I'm not claiming that Go is "better"; I'm just pointing out that this is why one would chose Go over Java. Sometimes this particular benefit doesn't outweigh the costs relative to developing in Java, but language/toolchain simplicity remains -- nonetheless -- the reason why people prefer one over the other.
LambdaConf Fuckery: White Supremacy Under the Guise of “Inclusion”
I am a junior dev.

It is hard for me to get in that dating mentality that I should be testing to see if my interviewer and I are simpatico. I feel a lot of pressure to fill in the blanks on what I want to know without asking, so I don't seem like I'm still deciding if I want to work there.

I know that sounds ridiculous.

The only time I do well is when interviewing for roles in faraway Australia because I feel like I have no chance of getting picked up.

Or maybe Australians are just great at no-bullshit interviews and put me at ease like talking to a friend? Confusing.
Well, yes, in the trivial case, but not if the induction variable and/or loop bound come in as references (as in templated code, etc).

There's also the issue of the store changing the array base, as in Chris Lattner's example on "What Every C Programmer Should Know".
Because this is looking at median score. Lots of people submit PG links as soon as they show up, but only one or two of those submissions will make it to the front page. If more than half of PG links have a score of 0–5, then the median will be in that range as well.
Didn't Mark Wahlberg already do this?
Somewhat off topic, but docker-compose finally works on the old iMac I use at work:

https://github.com/docker/compose/issues/271
I agree. Why would they even need to upload/store the whole file? It seems like it's basing the suggestions on the line you're typing at that moment, so it doesn't seem that hard to just throw away the history immediately, and only deal with the 1-3 lines you're currently typing.
App allows you to see and understand all of your online data
From hjson.org:

"YAML expresses structure through whitespace. Significant whitespace is a common source of mistakes that we shouldn't have to deal with."
Most things people do have not been proven useful scientifically.

That is very different from being proven useless.
Paulgraham.com is in the second hundred.
This is a pretty good example of how certain metrics aren't always relevant to reality, or, at least match the headline. The word "feed" implies that HN depends on the contributions from/links to these sites, but most users of HN would argue that domains such as github.com, github.io, nytimes.com, etc. are far more prevalent and important to HN than virtually any of the domains listed here. HN depends on daily, traffic...It's not that the sites with high medians aren't good, but they don't "feed" HN...Median score in this context is a trivial metric. Number of top stories, daily, by domain would be far more relevant in showing what "feeds the beast", as they say in the media business.
The failures of the foxconn 360's were incredibly erratic, some died after a month, others are still working. A company that produces hardware that fails with such a range is somewhat more worrisome than one that produces it where it fails consistently.

And yeah I too noticed oddness with DMZ. For a long time the only way to have two in the house was to have mine in the port forward (since we used mine as a media center and it needed access to the other bits of the network) and to have the wife's DMZ'd, but neither worked terribly well and we would run the gamut from Strict to Open with zero predictability. UPNP seems to keep them happy though, so whatever works.
When a human harvests those organisms and replants their seeds among compost, it seems awfully similar to me. (Yes, I understand they each have some level of awareness similar to a mammal and bird. Here, we seem to focus on the meaning of killing. Perhaps our frame of reference which would call one yes and one no limits our ability to understand what happens in these processes.)

Tangent hidden in Mahamrityunjaya: If your unit of analysis of Life consists of one body of directly wired cells, then death for it would seem to occur when it stops nourishing itself or starts nourishing another body of directly wired cells. If on the other hand your unit of analysis for Life is Life, then replanting its seed is its continuation, afaict. This opens a paradox... If eating a head of lettuce seems fine while a new crop grows, then why not a head of cow while its calves grow too?

People can get trapped in their heads by paradoxes, so I like to go by my gut and my heart (don't worry, they're connected to my brain and they have a lot of neurons, see peripheral nervous system[0]) and econophysics[1](?linked document seems to have changed a lot). So, basically cold, hard calculation in a warm, soft body. If I can run my home on cow meat and feel good about it then bravo, but I can't for two reasons: 1) I love Life and want to maximize and respect it 2) eating cows is horrendously inefficient, for example you can get 6x as much meat from the same exact inputs of feed and water from meat rabbits.

Meat rabbit production seem like a very good investment right now and a potential focal point for planning my near-term food sources. They can also eat the grain stalks and inedible carrot leaves etc, and their poop works extremely well for compost. I want simply to figure out how to make the most of my available inputs, so if I can turn those green leaves into mushroom food instead and still grow enough grain while I use those stalks for construction projects etc, then great. We're talking about living here, so it's a matter of costs and benefits, right?.. what's Life worth?

(0): https://en.wikipedia.org/wiki/Peripheral_nervous_system

(1): https://en.wikipedia.org/wiki/Econophysics
Could be they found it but just never changed it. Maybe they thought it was amusing, or just didn't want to deal with it in code review.
Why programmers can’t make any money
I'm pretty sure that was the whole purpose of the Twitter Streaming API
Actually Scala 2.12 will have more Java 8 Interop than Kotlin.
Scala will hit soon while I don't see Kotlin Java7/Java8 soon not even a Milestone release yet.
Meet the King of Sports Conspiracy Theories
One day a student came to Moon and said: “I understand how to make a better garbage collector. We must keep a reference count of the pointers to each cons.”

Moon patiently told the student the following story:

“One day a student came to Moon and said: ‘I understand how to make a better garbage collector...
The return value is going to stay in a register the whole time anyway, so a char won't save you anything.

But regardless, the point of that sentence is nothing to do with memory usage, but with semantics. Whether you or the compiler packs all the information into 3 bits or 3 words, that's fine, as long as the language helps you distinguish the parts.
Because I don't need them, and would rather focus my attention on the part of the job I actually care about. The simplest tool which doesn't waste my time is the best. I have found that I would rather use a simple editor with no features that I never have to think about, and automate repetitive tasks using the same tools I already use for automating repetitive tasks: programming languages.
The exact wording of the code:

"When a wheelchair accessible vehicle is requested, the operating authority must provide a wheelchair accessible vehicle, or cause one to be provided, without unreasonable delay."

Highlighted for emphasis. The cab company does not need to own or operate the vehicle. They just need to make sure the customer is provided with one at the same rate they would charge a customer who did not require one. This is not the same as what was originally stated above.
I would hope Kobe himself would easily beat it with no players opposing him on the court.
What interesting questions does it raise?
That seems possible with a strongly-typed language, but for something like Python, they'd basically have to recompile the code on every keystroke, right?
Not everyone has the entire unicode spec in their head.
You have to feel bad for the people up voting this because they think it is edgy.
This is what I thought. I would have to go out my way to completely nuke the servers I work on. I'm trying to understand what structure this guys company had if everything can be mistakenly deleted without any chance of recovery.

Maybe I misread the article and he runs a niche hosting company that has different requirements, but it seems strange to me to be able to completely remove your online body of work in a matter of minutes.
In hardware design you typically test functionality through logic simulation or emulation (effectively running the code in a computer simulation or fpga), use test harnesses, look for code coverage, run unit tests, random code fuzzing, code assertions etc. You might also do formal checks for some assertions to e.g. avoid deadlocks.

A secondary check is that the source that you functionally tested is logically equivalent to what you manufacture. This is where you are not checking your code, but the issue is trust of compiler/ compiler optimisations in synthesis. It needs to be redone if you recompile - that's the step I don't really ever see in software development - if I use a different compiler option or underlying instruction set architecture to the SQLite Dev team, do I still trust my binary?

Of course the level of paranoia is far higher in hardware where it costs multiple millions of dollars to crank out a new spin of a chip!
needs another image link for visualization
Origami – Design prototyping app by Facebook
If it was 31337 accounts, it would be super-troll territory.
Mushrooms are the fruiting body of a much larger fungal complex. Many fungi use the fact that animals carry the mushrooms (and their spores) off to eat as a reproductive strategy.
The Tau One-Way Functions Class: P ≠ NP
> Copying from the post 2 years back

For those who missed this story:
Its the 20 year anniversary of the robots.txt file.
The new Google Easter Egg robots.txt was uploaded recently, on the anniversary of the Robots.txt file.
You can access the new Robots file at google.com/killer-robots.txt.
The new File Reads as:
User-Agent: T-1000
User-Agent: T-800
Disallow: /+LarryPage
Disallow: /+SergeyBrin
T-1000 and T-800 are the different versions of Terminators for the movie series, The Terminator.<br />Here its telling these two killer robots to not kill the Google founders, Larry Page and Sergey Brin. Pun Intended.
Now Larry & Sergey are safe enough.
There's a good Reply All podcast episode about this. They do work. https://gimletmedia.com/episode/18-silence-and-respect/
That is a great idea. Want to help out? :)
That's a fair point, I tried Atom and it felt laggy but I haven't tried this one yet.
What makes a product rank well on Amazon?
Myrtille, your desktop in a browser. Open source, zero install/config
This is how it looks then: https://docs.google.com/spreadsheets/d/1hRpEmkV26VQSN2q_X9_B...
No, you're a good citizen. When I saw the story hit facebook, it got reshared faster than anything else today.
Views and WITH statements help out quite a bit for this, though it does depend on the database. In general, basic views are well-supported across all RDBMS. If your database supports it, Materialized Views are amazing for the caching of certain complex queries and reusability, and that's something SQLAlchemy can't do by itself.
ASLR is already a part of pretty much every current operating system ( save FreeBSD-RELEASE )
I was being a little snarky. All I meant is that the Oasis seems to be a rather premium device compared to a Paperwhite and that doesn't obviously overlap with the market for low-cost airlines. (Though, to be fair, the dynamics on internal European travel are a bit different than the US.)
Since the infrastructure for CrashPlan's backup engine is the same between our Business/Consumer clients, we recommend that all users routinely connect their devices to the backup destinations. That being said, this policy only affects CrashPlan for Home subscribers at this time.