skysight-inc/HackerNews huggingface dataset:
Most Django sites probably aren't public github projects though

These are more likely Django apps... it'd be interesting to consider how many of them shouldn't even be mentioning Django at all in their requirements.txt files to avoid clashing with the Django version of the project you're importing their app into.
> To get rid of the checks, we can either use bytes directly (usually via Vec<u8> / &[u8]) or, if we are absolutely sure the input will be valid UTF-8, use str::from_utf8_unchecked(_) (note that this will require unsafe and break your code in surprising ways should the input not be valid UTF-8).

I believe this needs a stronger warning. Functions that operate on strings are allowed to assume that their input is valid UTF-8 and may perform out-of-bounds memory accesses if the input is not valid UTF-8. Therefore, creating a string containing invalid UTF-8 can lead to a memory safety vulnerability. The suggestion to use this function seems out-of-place in this article, which otherwise avoids suggesting unsafe code (e.g. indexing arrays without bounds checking).
I am extremely surprised rust wasn't included in here.
It's really hard to get gaffertape version 3.0 out the door. Those best practices are ultimately about reducing wear and tear on the development team, so you can keep momentum for a long long time.

But since you can make pretty much any development strategy work for about 18 months, by the time the consequences are felt either those people are gone or nobody still there can paint a clear cause and effect story.
It has the virtue of actually working. The mathematics of first past the post means the spoiler critique is literally true even as it undermines Democratic ideals. This tension can only be resolved by structural change.
Compiler backends don't particularly care about the user-defined variables in the source, since a typical compilation step is to convert to SSA form ( https://en.wikipedia.org/wiki/Static_single_assignment_form ). And it's relatively easy for a backend to remove allocations (or e.g. ignore the act of taking a reference) for variables that never get used. As long as the semantics are preserved, it's all good. The problem in this case is that removing implicitly that first call to collect might change the semantics of the program.
This video is about 20x more interesting than the article, which I think is just getting votes because HN always upvotes anything about living in tiny spaces, even though there no insight or interest in this one.
The author's misunderstanding of role and function of these tools played a big part in their declared winners of each section. I'd say on the whole that this comparison article is useless.
Anyone been able to overcome panic attacks while public speaking? Medication seems like a hassle. And most advice is just obvious tips ("know your material!") that doesn't address the physiological problem.

My first talk was in front of a many-thousands-attendees conference and I didn't have a problem. It was fun. I've for years enjoyed speaking in front of groups. Never enjoyed doing the exec presentation per se, but I'd done it before and was comfortable with it. Then at two back-to-back jobs, two managers told me I wasn't actually good at it, neither speaking in front of crowds nor communicating to execs. Basically, they said I sucked at it. Thanks a lot :-(

Now I have the pleasure of enjoying a nearly crippling fear of talking in groups. My brain blanks. I stammer and repeat the same thing over and over. I simply can't find the words, and the longer the pause extends, the more I probably look like I'm having a stroke.
> It's like I got a special deal from my gym for unlimited access. If next year they won't offer it anymore I cannot say "it was not unlimited".

That is a very anti-consumer way of looking at it. Storage, especially for businesses, is not like a gym membership. These bait and switch tactics are harmful for the consumer as well as the industry itself.

You place a certain trust with data storage companies. Alot of media companies can easily have 30 terabytes of data to backup or share. They kill the unlimited plan with essentially a price hike. Now I am wondering "when is the next price hike coming"?

Amazon has already cut their CLI interface and their web interface is terrible. I would rather just keep it on a NAS with NextCloud.
> Sorry, you have to be quite ignorant to sign that. Even the worst credit cards have an interest that's a fraction of that. That's definitely not cheap credit.

Agreed, but sometimes that's the only hope some have. At one point in time, I did and I came from a very normal credit-worthy background. Shit happens, ktzar.

Maybe they're already maxxed-out?
Or can't get a credit limit high enough to borrow what they need.
Or need to pay something in cash, and don't have a higher limit available from a cash-out card.
Or are "un-bankable"

That 590% is scoffed at, yet paid, because there's a majority of people (2M in Canada, according to the article) who have no other choice.

Most people would opt for the better option, if they had one.
> Finally, Cargo now supports Haiku and Android!

Does this mean you can now build Android targets without a standalone NDK? That part wasn't quite clear from the PR.
1. Humor helps. Listen to jokes/comedians.
2. Don't care too much. If you have sex, sleep and food you succeed at life.
Learning to Cooperate, Compete, and Communicate
I think without abuse, for most users it was sustainable. If I had to guess, the average HDD size being sold on a budget PC today is closer to 250GB (I've been seeing plenty with 32GB EMMC drives).

That's 4 PCs worth of content without going over the limit, and post non-technical users are probably using even less than that.

They could probably account for outliers using way more, but as long as most users were "average" users backing up word docs and family pictures they'd be fine.

The problem is "data horders" latched on much harder than average users. I wouldn't be surprised if most of those "average" users aren't affected by this change at all. I can't imagine my non-technical parents (for example) generating 1TB of data to back up very easily at all.
Algolia is a great company! I am using their docsearch but my friend used it in a mobile commerce app. He was super impressed with the integration and the end result was a great user experience.

highly recommend checking them out. Congrats to the Algolia team!
Roughly half the population has an IQ below 100. Let that sink in for a moment. Do you really think they are able to manage their digital keys such that they never ever lose them in a lifetime? Look, I am all for encrypted storage, it's the only thing I'd use (but I store everything on my own HDDs that are in my physical possession), but I see Apple's point here.
Cargo now runs on an Android host. I'm not an Android dev so I don't know what that means regarding the NDK.

https://github.com/rust-lang/cargo/pull/3885/files#diff-27a1... would imply to me that oyu still need an NDK.
This is the "Schaum's Outlines" of public speaking in a technical context.

When ever I give a talk, I read the entirety of speaking.io.

This style does lead to slides that make little sense outside the context of the talk. When I reviewed the slides for a talk I gave 18 months ago, I had no idea what the slides were about.
Not in the referentially-transparent sense. Most Rust functions meet almost all of the practical criteria for for purity (i.e. does not mutate global state (or otherwise any state that was not explicitly passed in to the function), does not do I/O), but that's only a comfort for the programmer's ability to reason about the code; this weakened notion of purity-by-default isn't enough to allow the typical optimizations via purity (e.g. memoization).
Have to be careful with Glacier: the retrieval costs can be very high and are extremely hard to calculate.

Amazon S3 Infrequent Access has higher retrieval costs, though not as crazy as Glacier, and a delete penalty. Deleting a file after 1 day will cost 30x normal S3 storage fees.

Likewise, Coldline sounds great, but they have higher retrieval fees (not so bad) and a delete penalty. The Coldline delete penalty will cost 90x the regular storage cost if a file is deleted the next day. I don't recommend Coldline unless you know you won't be deleting files before 90 days.
That I am not good enough to do the things I dream of doing.
"better" wine?

https://www.theguardian.com/lifeandstyle/2013/jun/23/wine-ta...

http://www.realclearscience.com/blog/2014/08/the_most_infamo...
It's definitely more involved, and might be slightly more complex to generalize, but in essence it's quite straight-forward:

1. Client sends a request via Ajax to a rails controller and simultaneously opens a private pusher channel to wait for a response.

2. Controller returns a response immediately and fires-off a sidekiq job.

3. The sidekiq job does the heavy lifting and pushes the results back via pusher (it can be JSON data, or a rendered partial).

4. Client receives the response via the pusher channel and shows it on the page.
Turns out there is already an API for captions, so problem solved :)

https://developers.google.com/youtube/v3/docs/captions
Really?, i know "professional" projects using django versions seven years old...
Thanks for including multi-megabyte pointless animated GIF. :|
LOL @ the classism here.
What sort of language beyond "absolutely sure", "require unsafe", and "break your code in surprising ways" would you recommend to make this warning stronger?
Here's what I don't understand. Why on earth do they get paid more than their estimate? That's rediculous. They should get paid precisely the amount they estimated and not a penny more. This would get rid of ALLL the underbidding.
Wait. I thought the Unabomber got caught after he made people publish his manifesto online/on TV. From what I remember from reading on the internet, his relatives identified certain key points in the manifesto and immediately tipped the FBI telling them about him and his similar ideologies.
Microsoft is working on this too: https://www.microsoft.com/en-us/research/project/farmbeats-i...
Saw it demonstrated at a tech event last night in DC.
Yeah, I can relate to restaurants. We started going to them more often (not really sure why laziness?) and they not only became routine it became somewhere of a chore to leave the house when you're hungry. We cut back a lot and when we went out again last Saturday it was literally one of the most fun I've had in quite a while.
Dropbox Business does 2TB for $12.50/user/month and does have a Linux client, right?
This will amount to nothing.
Twitch News Channel
I can here for this comment. To me, slides are like tables or diagrams in a research paper: you only use them because expressing the idea in a paragraph (i.e. speaking) would be too difficult or nonsensical.

I understand that some speakers are so slide centric because it's their presentation style or they do it for shits and giggles, but most speakers seems to do it because of ignorance and inexperience.
Thanks for the recommendation, I put it on my to-read list.

Also, thanks to this I just learned that "biopunk" is a thing.
I mean Twitch has been passed between two giants and they're still using Algolia.
Haha. That's so funny. $11.40 / Hour driving a dump truck on the local beat. Most people on HN would not even get out of bed for a wage like that.
Ah, gotcha.

Yeah, the Standalone NDK is a bit of a pain since the .cargo/config requires absolute paths to the linker/ar. It makes it hard to commit a common config file for multiple people working in one repo.
For most of that, though, the roof leaks...

(That is: You're talking about the whole country, not about the space inside buildings. Most of your 3.5 million square feet is outdoors.)
The interesting thing is, agribusiness can take its technology to the developing world and do the same work there that it does here (with less security but also with fewer environmental and labor related restrictions and costs). Right now there are just very strong disincentives to do so in many cases.

I can't speak to the state of information and knowledge of agriculture in the various countries we'd consider "developing," and how it compares to universities and government here, but I bet it varies quite widely. That's a good point, though - it matters a lot.
You are correct, but the problem is that they tout themselves as the goto company for privacy and security. If you are focused on usability over security, maybe don't advertise yourself otherwise.
JavaScript Power Tools: Real-World Redux-Saga Patterns
How containers are changing the dynamics for datacenters
Some of the NIH's Wednesday Afternoon Lectures are really good [0], as well as some of the talks given at HHMI [1].

The quality depends on the speaker though. Some venture into TED Talk territory, while others are more focused on a series of publications.

[0] https://www.youtube.com/watch?v=o4KNG7nd938

[1] https://www.youtube.com/watch?v=CoIfNx1EnQQ
>Been to Wawa, Sault Ste. Marie, North Bay or Timmins recently? What about the smaller towns like Desbarats, what about the rural areas?

Yes, in fact I have. I lived in North Bay for many years. I have family there still. I played NOJHL hockey. I still spend 4 weeks a year on vacation (best fishing in the world!) in the North.

>If you feel that Northern Ontario is doing well then you are not in agreement with the people that live there, younger people

Not "doing well" isn't the same as "first world poverty". Sure, there are isolated First Nations reservations, like Attawapiskat, that have serious issues. It is nowhere near the norm, or in fact much worse than places like, say, the Appalachian coal regions.

But I'll concede the climate argument. Thankfully, our country has a decent safety net.

>younger people - if they have any marketable skills - move to the large cities, mostly Toronto but also in the United States as soon as they are able to.

Do they? Because I was and know many of those young people. Yes, there's movement to the cities like everywhere else on the planet; it's where the white collar work is. But many people want to stay in the North.

For what it's worth, I'm in the tech industry and moved from Northern Ontario to the city. Now I'm in PEI, another beautiful rural area that I hear people are fleeing....
> I've been watching construction and similar projects at a government site lately. It seems that there are always more people watching than working

This is the same everywhere. But construction everywhere else is still cheaper than the US, even in high-wage countries like in Scandinavia.
EU force Facebook and Google to give police data under terrorism proposals
'break your code in surprising ways' is super vague. Saying 'may cause out of bounds memory access/writes should the input not be valid UTF-8' explicitly is probably more scary.
IBM's TrueNorth does the same, it is a common practice in neural network chips for inference. I think doing that kind of tricks for training is much more valuable. Doing training at hundreds of GPUs and inference with chips at mobile, can only be a temporary solution for deep learning market.
You place a certain trust with data storage companies.

I think the point is that now we know not to.
Best example of this (at least in Java):

List<CompletableFuture> futures = requestList.map(Client::makeRemoteCall).collect(toList);

List<Response> responses = futures.map(CompletableFuture::get).collect(toList);

Basically, we need to start all of the futures, then wait for all the futures. Eliminating the first call to `.collect` would force these remote calls to happen one at a time.
"compiling rustc itself is now 15%-20% faster. Each commit message in this PR goes over the details; there were some inefficiencies, and now they’ve been cleaned up."

Good to hear work is being done to speed up the compiler. It's the only reason I haven't tried Rust out yet, as it often comes up as a problem when others review the language.
In this matter of extreme complexity and nonlinearity, how can you ever tell the point where being paranoid is the right thing to do?

E.g. how can you know that transferring a gene from maize to petunias is still "sufficiently close" to the level of variation seen in ancient natural processes and evolution?

(Genuine question but also genuine worry about this.)
One thing that people conveniently forget when discussing binary nets is that they take a steep hit in object detection accuracy.
Right, I think I had thought we got it from French and that they had formed it as cocoa/cacao + lait.
There are certainly speeches/talks that don't require the use of slides at all.

However, slides do often help engage an audience and keep attention focused. (Though less content is often better.)

I tend to use photos plus a relatively few words personally. Presentations that are unadorned but with some minimal text also works. But there are certainly different styles.

There's also a tension between presentations that can stand on their own and those that are solely in support of a live presentation. In an ideal world, most decks wouldn't be called on to function as a substitute for watching the actual presentation but that often isn't realistic.
Running a JVM in a Container Without Getting Killed
Explain what might happen, as I did in my comment. People are more likely to take heed of a warning if it's concrete.
The article display some cool use for NLP, but as a winemaker and wine judge I find methodology funny and flawed.

You have to understand that wine descriptions are nothing more then marketing message that have very little resemblance to what is inside of the bottle. It would be interesting to see how those description change during the time as this message is changing all the time to catch the current trend.

Wine market is actually quite simple: you have few tiers of wine/wineries: from your basic mass market wines to mid tier to premium and ultra premium. Each category have some price point and higher the price better fruit (should) come to it.

There are differences in between the regions, but lower level wines are usually same no matter the marketing message and premium wines are usually very different and special in each own way anyway.
> Good thing that the subject of debate here is something very tiny and very light. Older wired technology requires right-of-way and permits. That scheme is effectively a natural monopoly, assuming there's only one provider. That doesn't necessarily mean the next time the ISP digs up their lines to replace them that competitors shouldn't be able to bury their wires at the same time as long as the cost was shared, even though the monopoly will fight like hell to prevent it, but local laws like that should be written in order to promote competition.

Yes, local laws like that should be written differently, but they're not, because they're lobbied (by the local ISP) not to.

> Newer wireless technology is much less cost/regulation prohibitive, and not much slower. This forces the incumbents to compete and provide a valuable service.

One might hope, but I'm not holding my breath for wireless ever competing with wired internet, on speed in relation to (no) caps.

> If local ISPs use their government-sanctioned monopoly to exhort consumers or the business who cater to them, let's crack down on that. That's a specific abuse that harms specific customers.

Yes, we should, but again, this isn't the case.

> In the case where a local ISP wants to finance an expansion or upgrade of the network with prioritized service for select customers, while not degrading what existing customers are paying for, I don't see the harm in that, especially in competitive markets, in which case the only reason for the upgrade is because the market, not a group of bureaucrats, demands it.

Again, it's a well sounding hypothetical, the only problem being it's never happened, nor do I expect it to ever do, because it will either degrade existing customers through stagnation (not following bandwidth inflation) or purposefully to push as many as possible to more expensive service.

In a non-proven utopia, net neutrality is unnecessary, which I agreed with earlier, but again, we're not there, and we disagree about us ever getting there.
Another case of a simple blog being so horribly overengineered that it throws "Some elements on this page did not load. Refresh your site & try again." in my face after loading 230 (!!) javascripts for over 10 seconds.
There is a bigger story about the project for "YayHappyFunTimesCorp" which included that difficult conversation - how to, instead of carrying on with designing new features quickly, slow down and make sure that everything that we hacked together is scalable. It's definitely not an easy one.
I used to exclusively use Lyft, until one of their drivers nearly killed me. Lyft, of course, sided with the driver despite GPS evidence, multiple witnesses, and a police report.

Uber's horrific management notwithstanding, I've never feared for my life in an Uber, so I intend to use Uber until it dies or a replacement comes along that is superior to both Uber and Lyft.
>If ever you lost satellite tv during bad weather, that's due to your antenna shaking because of the wind, not rainfade.

I wonder if thats why at my old job I was required to go onto the roof of a four story building to check the dish. The dish sat on old railway ties on a wavy roof.

I had to jump from one roof to another it was an L-shaped part of the roof where two buildings joined. I jumped onto a slanted icy roof in winter with a 50 foot drop to a parking lot.
Here’s what Amazon says about Apple’s HomePod
Spaces all the way. Tabs go wrong between different operating systems.
Yes, exactly that is my point.

So after all that careful work he still managed to blow it by not thinking of one obvious thing and he's been rotting in jail, ironically after he swore he would stop his bombing spree if they published his writing. He could not have been more right about that, his writings definitely made an end to his life as a domestic terrorist.

Staying alive and free while you are making powerful enemies is hard. The Unabomber was one of the smartest terrorists ever (IQ 160+), had a really long time to prepare what he did, was a lone wolf (which is a huge advantage compared to a larger number of people) and in the end blew it completely.
That sounds horrible, so sorry to hear. Gotta say that your managers are jerk for doing you in like that without providing a solution.
I have seriously never heard someone say ServiceNow is productive :)
In the context of the article "better" = tastes most pleasing (to the author)
It always helps to have someone to bounce those ideas off.
I've started to see more and more of these "Tube map" style maps, and I've started to think about how one would go about making one pragmatically. Any thoughts or suggestions?
I've seen it too. A good friend of mine was systematically undermined by his boss, as his boss was promoted he basically pressured the team into taking over the undermining, and would reward them for doing so, or punish them for not doing so. Every time he tried to move department, his boss would step in and block it.

That sort of thing really knocks it out of you, and while he could've probably taken the employer to court and won, he'd have a hell of a fight on his hands and it'd tar the rest of his career (he spent a fair few years before this boss turned up).

I think there's a world of difference between a culture that ignores the needs of people that don't fit like a glove, and a culture that actively persecutes. Either can be a bad experience, but the latter is pretty much guaranteed for all involved.
Heavily depends on the audience. If you're doing an internal presentation for a company, you can bet that everyone is mostly hoping for a slide deck in their inbox an hour after your talk is done. So it has to have lots of words and pictures.
Celebrate the web by using another browser than Google’s Chrome