skysight-inc/HackerNews huggingface dataset:
In terms of Crystal vs Go, I've heard that Crystal is slightly faster but that Go is more portable and has much better concurrency? Is that not accurate?
> The point here is of course not that it easily can transfer HTTP over 20GB/sec using a single core on my machine

2GB
That is blatantly false. The weaponising of refugees was talked about before brexit:

https://www.google.co.uk/search?q=russian+bombing+syria+caus...
> This time the generic linked list functions got

> converted to become malloc-less (the way

> linked list functions should behave, really).

I don't see how a linked list can not use malloc().
By reinventing the wheel we've gotten much better wheels.
Perhaps Apple might not want used goods flowing to India (and China?) any longer as they want to begin production there and better control prices (and profits) in the market?

Each iteration of their phones and laptops tends to last a little longer as even a year or two old iPhone that has been kept in a nice case could be an effectively new product for the next person after a battery upgrade.
Look for intrusive containers.
Yes, that's what I do. Managing the global state in the main component, setting up functions to change the state via the update helper [1] and pass these functions down to the dumb components.

[1]: https://facebook.github.io/react/docs/update.html
What's with the orbiting cam? That's a really big no-no, especially since it's colliding with the environment.

Cool effort, overall.
Carl Sagan: Broca's Brain [pdf]
Is this reddit?
It's also interesting because he wrote an email to just one person and it took no other real effort to make such a huge sweeping change to the Internet.

I wonder if the creator of ssh thought that he/she would still be working on it in 2017.
In any one single instance it's not that interesting, but considering probably half (if not more) of the stuff you interact with uses libcurl, it adds up to a lot.
Hmm... doesn't work on Chrome.

Uncaught TypeError: Cannot read property 'getSupportedExtensions' of undefined
Interestingly a deaf friend posted on Fb today that this is a difference with the deaf community (as the post author sees it), that asking about someone's personal status is seen as a good thing, it's showing an interest in them.

I have a beard, kids will ask me "why do you have a beard?", I like it - it shows they're curious, I like to encourage enquiry. The parents will try to shush them, apologising for the intrusion, which TBH I find weird.

I can imagine it gets boring answering the same question over-again, but it's not harmful really. The author clearly has a good approach to life.
But why not use alloca instead of always allocating 10 elements on the stack you might not need?

Edit: I would also be tempted to remove the ufds_on_stack variable and just check if the ufds pointer points to the stack or not.
I think it's interesting for how simple and informal it was in 1995. I always imagined that port allocation was a much more formal process more akin to an ISO or ECMA standardisation, but nope - Tatu sent an email asking for it and Joyce basically just replied with "sure thing, it's yours". For something as critical as port allocation it's pretty interesting/funny how casual it was.
while not as portable, using double brackets - i.e.

[[ -z $var ]]

can be a bit "safer" in regards to quoted variables. Works in bash and KSH.

Edit to add: http://stackoverflow.com/questions/669452/is-preferable-over...
What Is Next in OSSDC.org – Open Source Self Driving Cars for Everyone
My rule of thumb is to look at application's design and only ever use malloc where there is 1:N (or N:M) relationship between entities. Everything that's 1:1 should be allocated in a single step.
Thanks, I've been looking all over for this paper. I knew the result, but couldn't find the reference.

Now, could we please correct the title? It's evidence against etc. [cref yorwba, https://news.ycombinator.com/item?id=14177944]
> he could overcome this gap to a certain extent

I wonder whether this was due to his habit of regularly re-evaluating his understanding of more advanced concepts from first-principles. If so, that could be a technique to counter the curse of knowledge.
Pubmed clinical queries section:

https://www.ncbi.nlm.nih.gov/pubmed/clinical

If you or your family have any sort of medical issue, that's the best place to get high-quality, reliable medical information, especially in the "systematic reviews" section - which is basically journal quality summarization of the relevant research.

EDIT: to get the maximum benefit, you'll probably need to use Libgen together.
There is actually a corner on the web where people debate about FLACs and WAVs sounding different
Well, I started programming with 15.

But yes, I'm not a very smart person. I had to learn things a few times till I understood them :/
Thank+you+for+your+order+–+FSFE
Bug.

This is an incredible achievement though and just the sort of thing I love to see here on a Sunday!
4 Chasms and 5 Customer Types That Kill Entrepreneurs
> the amount of information on the web itself dwarfed anything available in books

Yes but that information has turned out to be largely shallow and meaningless noise. For example, if you're searching for anything of substantial importance - something like "why do I feel an aching sense of spiritual emptiness" - all you get are blog posts citing other blog posts with titles such as "7 ways to feel more happy and boost your self esteem, with pictures."

Books are more authoritative than websites. In an age where folks complain of a post-fact society, we should return to books as a source of confidence in absolute truth.
There are very valid reasons for why Docker moved away from VirtualBox and I think the same applies to Vagrant.

I wish Vagrant would work on bringing xhyve, Hyper-V and KVM to the same level of support as VirtualBox.

VirtualBox is the biggest source of issues in our Vagrant environment and there is no indication that's going to change.
On a visit to the big city when I was a teenager, I held open a door at the entrance to an office building for a woman in her early 20s, as I had been taught to do by my very traditional parents. She shrieked at me that she could do it herself. I have been an anti-feminist since that moment.
In our case, we had difficulty with docker due to logging to syslog in addition to stdout and stderr. We have shared volumes and persistent data on disk, and we have test cases where we kill child or parent processes, but if the parent process was pid 1, the container would die. We've addressed all of that in different ways and develop in docker with docker compose. The biggest pain now is that sometimes containers stop being able to reach one another, requiring a restart of docker for mac, and, for some reason, each time we up a container, it requires internet and VPN access to check for the latest images and will just hang without it, making offline development practically impossible for code that needs to run in docker. That limits what I can work on when on the train.
Audi R8 Sliding on Heavy Rain, Almost Crashing
It's still the same, send emails to the committee members.

There are just more people in copy :D
I would favour a tool that has a DSL with C-syntax and requires no environment dependencies.

Go lang seems like a good fit to build such a tool (for no dependencies, just drop a singe binary). Or a Ansible alternative with a C-like-syntax.
Worked in chrome on my phone
There are a number of good programmes in many countries, from the usual suspects (London, Stockholm etc), to places that could surprise you (take a look at Bulgaria, for example).
That's fun considering they are bit-to-bit identical :D
What's interesting is that we have finally pushed "unbreakable" cryptography into a curious situation: either quantum cryptography is truly unbreakable or our understanding of physics is wrong in some drastically fundamental way (okay... or the less likely third scenario that the proof of unbreakability is flawed in some subtle way).

Regardless of whether option 1 or 2 is the case, it's incredibly exciting either way. Eventually we'll have unbreakable crypto or a new paradigm shift in physics.
Minor side bit here,

> The number should preferably be in the range 1-255 so that
it can be used in the WKS field in name servers.

Well-known service (WKS) records let hosts advertise in DNS which services a given machine made available, by listing which of the assigned port numbers were open for TCP or UDP connections. This never really caught on, as few people used them, even fewer kept them up to date, and checking WKS provided very little real benefit over just attempting a connection.

They had been deprecated already in 1989 through RFC 1123 [1], but it seems that by the mid-1990s at least some people still considered them relevant.

[1] "An application SHOULD NOT rely on the ability to locate a WKS record containing an accurate listing of all services at a particular host address, since the WKS RR type is not often used by Internet sites. To confirm that a service is present, simply attempt to use it." https://www.ietf.org/rfc/rfc1123.txt
Yes, agreed, perhaps I should have said "inherently"; it seems all of those things are kinda meta.
"This website changed me from a feminist into an even more extreme feminist".

I have trouble believing that the people who proposed those links actually underwent any significant change in their own mindset upon reading those links. More likely, those websites reinforced their preexisting beliefs, and the readers imagine that they might be a good tool for converting others to their own belief system, their "life-changing" nature being entirely speculative, and claimed in bad faith.
I knew a guy with an eye patch, and politeness prevented me from asking how that happened. Now I know that one of the causes is cancer .. but it is a bit surprising that I only learned that after this article.
Trump's 'Fake' Friend Putin – Top Reviewer.PRO
>As long as you keep within the boundaries of reasonable law and you're not a right-wing extremist, we’re for promoting your freedom of speech

What did he mean by this
News is not Commentary. There's a wall between them in serious publications. Papers like the Guardian and the Wall St. Journal have very specific axes to grind in the Commentary sections. But they both have excellent News organizations. I'm left-leaning and find the WSJ top notch.
On-Demand Webinar: Applying AI to Root-Cause Analysis
Hello, I am the author of this project and I think you said what I think. I won't support most of ruby's meta-programming magic for keeping rooby as simple and performant as possible. Thanks for your explanation
Not so. In your theoretical world the market dynamics would simply be different. Companies in the real world can choose to make products vastly more reliable and long lasting and not go belly up (as you put it). Indeed, they used to. Now they just prefer a more subscription-based model (where consumers buy a new one every so often) because it cash flows easier, and it's easier to manipulate the customers perception of true cost. So "belly up" weakens your argument. You'd be much closer in simply saying companies might make less. Though, I'm not sure that's true either. My dad used to own and operate a company selling VERY high-end, long-lasting seat covers for cars and trucks. He charged A LOT, and had a three month waiting list.

So...

Low durability = low price = many sold
High durability = high price = fewer sold

But mathematically you could still make the same under either approach.
>>> "do you really want someone else to be the legal owner of the domain of your website".

Interesting. I'd expect the problem to be the other way around.

Do Njalla want to be legally liable for all domains run by their customers?
Licensing aside it is still pretty bold for a fabless IP-only company like ARM to release this level of detailed specification; unlike e.g. Intel or AMD who could still have an advantage even if others made competing implementations, because of their fab technology.

I'd bet there already are clones/semi-clones of ARMs hidden in various obscure far-East ICs which have no user-accessible firmware... we just don't hear about them because the ones we do, would've been sued out of existence. I've seen presumably-unlicensed MIPS cores a lot in those.
Environment as Politics
If you can be selected to YC, it almost definitely makes sense. The important question is, will you be able to go through it whether than it makes sense or not.
The problem is conflict of interest. If you make a deal with company A, but for no reason profits are moved to company B, then someone at company A is committing fraud.
The only connection that CHIP-8 has with PICO-8 is that they are systems for making retro games (although when CHIP-8 was new in the 1970s the games weren't retro, of course). CHIP-8 is very low-level, while PICO-8 uses Lua, a scripting language similar to Python or Ruby.
In both cases, though (deaf culture views on deafness, beard), the person with that views it as either a positive or neutral attribute.

That would be unusual in the case of an eye injury. Maybe the people asking are coming from the context that it's a temporary injury?
Why don't you make an issue?

https://github.com/XProger/OpenLara/issues
Because always allocating them on the stack costs zero cycles in the typical case, while alloca costs more than zero cycles in the typical case. And assuming that "struct pollfd" isn't big, and the function isn't very recursive, there's no practical downside to wasting a little stack space for the life of the function.

(Of course, he could get rid of "bool ufds_malloc" and just see if his pointer is NULL before calling free(); or not even bother checking, since free(NULL) is defined to be a no-op.)
“Unicorn” - A Startup Simulator
it's part of the original game.
Well this is crappy, Apple. Don't you know that reuse is way better for the environment than recycling? Maybe we should point this out to them the next time they claim to care about the environment. Uh, nope, folks, you just care about the perception you care about the environment.
$150,000 is normal for around 10+ years experience, if your exceptionally well ( can do UI/UX, networking, automated testing, web, systems, bash and Script Editor scripts, along with Xcode plugins/extensions and tools to automate and optimize the production pipeline aka the full stack and lead/mentor other developers to bring them to a high professional level) then $200,000+ is normal, but very rare to find. Note, you can normally do all these things in swift and objective-c, know the internals, security and architecture differences between the last three phones released and how to optimize your code for them.

Also note this normally only applies near big metro areas (35 mile radius) like Washington DC, New York, LA/Bay Area, San Francisco, Cupertino, Houston/Dallas, maybe Miami and/or where ever the headquarters are for the large companies. Outside the U.S. the salaries are probably lower as the demand for top talent is lower.
Much more involved? With Java and co it’s literally the same.

You add two dependencies to your gradle, write a dozen lines of code, and you’re done.

Even if you go full enterprise it’s not much more. Let’s go full Java Enterprise:

// Enterprisify everything!
compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa', version: '1.5.0.RELEASE'
compile group: 'org.springframework.data', name: 'spring-data-jpa', version: '1.11.0.RELEASE'
compile group: 'org.springframework.data', name: 'spring-data-commons', version: '1.13.0.RELEASE'

// persistence framework
compile group: 'org.hibernate.javax.persistence', name: 'hibernate-jpa-2.1-api', version: '1.0.0.Final'

// database driver
compile group: 'org.postgresql', name: 'postgresql', version: '9.4.1212'

// to auto-generate getters, setters etc.
compileOnly "org.projectlombok:lombok:1.16.16"

Now we’ve imported spring, our database driver and an ORM. Let’s write the code.

First, let’s config:

// application config
spring.application.name=ourapp
server.port=8090

// database config
spring.datasource.url=<our database url>
spring.datasource.username=<username>
spring.datasource.password=<password>
spring.datasource.driver-class-name=org.postgresql.Driver

Then add the database layer, defining our model:

@Entity @Table // To auto-generate mapping for the ORM
@Getter @Setter // To auto-generate getters and setters
public class Book {
@Id
private long id;

@Column
private String name;

@Column
private String description;
}

And our access layer:

public interface BookRepository extends CrudRepository<Book, Long> {
Optional<Book> findById(long id);
}

And our application:

@RestController
@SpringBootApplication
@EnableJpaRepositories
public class OurApplication {

@Autowired private BookRepository books;

@RequestMapping(path = "/{id}")
public Optional<Book> getBookById(@PathVariable long id) {
return books.findById(id);
}

public static void main(String[] args) {
SpringApplication.run(OurApplication.class, args);
}
}

So. This is if you go full insanely Java Enterprise, want full Spring, and everything. If you choose sanely, it’s obviously far less code.

Notice how I don’t have to use any transpilers, etc, and still get typing and the latest language features.
Yeah, sorry for that, was copy-pasting too quickly :-)
> There have been 213 commits in the curl git repo from 7.53.1 till today. There’s a chance one or more other commits than just the pure alloc changes have made a performance impact, even if I can’t think of any.

"I can't think of any" is not a very scientific way to measure optimizations. Actually, this simple fact casts a doubt on whether it's this malloc optimization that led to the speed up or any of the 200+ commits OP is working on top of.

Why not eliminate that doubt by applying the malloc optimizations to the previous official release?
I'm a bit skeptical about the speed up myself, since I would expect curl to be primarily IO bound and not CPU bound (much less malloc bound, given how little memory it uses).
Have each node of data contain the `prev` and `next` link.

You are "polluting" your payload with list information, but you gain malloc less lists.
No news source is truly objective. Your best option is to read various news sources with different biases, and keeping in mind how they lean.
There has been a steady industry of people retyping the manuals of all the major architectures for use in formal verification. At PLDI last year, there was even a paper where a team used synthesis techniques to automatically generate an instruction spec for x86 by generating tests for processors and using the answers to refine their current guess.

And within ARM, there were lots of people transcribing bits of the ARM manual into various forms: C/C++, LLVM .td files, Verilog, spreadsheets, etc. Apart from all the wasted effort, this also created a verification problem: each transcription had its own set of bugs that now had to be fixed. And it missed a verification opportunity: if everyone used the same master copy then each time one group spots a bug and reports it, the spec gets better for everybody.
I talked about this virtuous cycle at S-REPLS last year: https://alastairreid.github.io/papers/srepls4-trustworthy.pd... (S-REPLS is a programming language seminar in SE England.)
Where do you sell an older Mac at a good price?
Beautifully written and thought provoking. It's interesting how easily strangers can ask such personal questions. I wonder how different the interactions would have been if instead of the eye patch, the author wore a pair of trendy non-prescription glasses with a clear left and a dark right lens.
Is there a recent-ish comparison with ceph's radosgw?
This is, of course, on purpose.
> Before rolling it out, Google asked Warner [CelebrityNetWorth.com] if they could scrape his data and credit him. Warner declined, but Google did it anyway.

Money quote. Google's rich snippets are friendly to users, but hostile to sites where the data originates.
There has to be a free list somewhere, but a single bucket only needs a bitmap. I think the GP's point is that such a structure amortizes the cost of the free-list metadata over more items, reducing total overhead.
If I decided to hate every class of people based on a single interaction with a random individual who may or may not even represent that class I'd hate everyone ever.

Sounds like you never really liked feminism in the first place and found an excuse to justify it later.
What's the alternative when you want to provide a registrar where you don't even know who your customers are?
That would be far harder and riskier. You don't just get a blank cheque for money in academic science that you could pocket. You have a pool of virtual money that you can request purchases and pay people's salaries from. Both go through university accountants who check things for anything fishy.
World Book Day 2017: 20 robot related books to inspire kids and teens
Interesting, thanks for the details. I'm in San Francisco bay area and thought $150k would be the "bottom" for big companies.
Balls. Made of steel.
I think it's people building stories and rituals related to their addiction. Other drug users do it, gamblers do it...

Or maybe to put it less negatively, the more people think about something they enjoy, the more likely they are to create folklore about it.
The process hasn't really changed much (I applied for a port allocation 5 years or so ago). There's a little questionnaire you fill out, and there might be some back-and-forth over email to clarify the answers but basically it's no more complicated than you email someone and if you fit the criteria they reply with your port allocation.

What has changed is that there is essentially no chance of getting a privileged port allocated now.
it's the eternal problem with platform-based companies, like Twitter's treatment of developers. Except in Google's case, the platform is the gateway to the internet.
My manager told us $200/month was too expensive, so we micromanaged those $10 VPSs. We've reached the limits of that in some way. Instead of testing my original suggestion, my manager wanted to contract a company to move us to AWS. Our first AWS bill, for effectively zero usage and just a dev environment, includes $500/month for "NAT Gateway Hours".
Funny how so many programmers think programming meetups are for learning something. There're not. They're about meeting people who could, at some point, become collaborators, colleagues, co-authors, friends, mates, bosses, or candidates.

If you won't ever need any of those, meetups are terribly inefficient and ineffective for just transferring knowledge. Skip them.
Okay, on the face, this looks bad... What are some legit reasons this would happen? Other than a marketing person going insane over metrics, why would you bother?
I'm wondering when, if ever, the general public will start recognizing Google as one of the "big brothers". Somehow it's still perceived as this "cool" startup but they squash small businesses, avoid taxes, are in bed with intelligence agencies, etc.
Paragon NTFS 14 Crack for Mac OS X Full Final Download
>we usually interact with 3D objects in a sparse state.

I don't know that I can agree with this. There's nothing hard about spearing a meatball with your fork, and some spaghetti, even if it's dense 3D space... So it's not about visualization, more about UX/interaction or interface...
A big login form is all I see. :-(