skysight-inc/HackerNews huggingface dataset:
Don't confuse "less code" with "fewer characters and/or lines." Sure, you can write "less code" by implementing trickery in compact bitwise C operators (or, $DEITY forbid, writing a Perl one-liner.) But I've never seen the phrase "less code" to describe that situation.

I see "less code" used to mean that the solution has been distilled down to the essentials without fluff. For example, no need to write a full-featured JSON parsing library when a simple decode-to-native-dictionary will do. I don't have a good example for VPN-related code.
Jupiter and the Great Red Spot – Juno Perijove 7
Such an incredible waste of power and hardware, for a payment system that does something like 3 transactions per second globally.

Off the top of my head idea:

What about a system that uses a bit of real-world, legal responsibility to generate consensus.
Something a bit like ICANN and the domain name system.

Take 10 or so trusted people or organistions worldwide, get them to each run a node, each of which coordinate via the Raft protocol or whatever. A distributed ledger is agreed on by each of those 10 nodes.

This should use far less power and be able to handle more transactions per sec than bitcoin.
I am unable to identify where the photos are in this page. Have they been taken down? I've tried multiple browsers.
Crazier than neuromancer
Well, anything that does not support the point I am making is not modern C.
Such at-risk sites should be archived in case they do go down. This excellent site has info/tools on doing just that:

http://archiveteam.org/index.php?title=Main_Page
Relevant:

http://appleinsider.com/articles/17/04/05/researcher-calls-s...

https://arstechnica.com/gadgets/2017/04/samsungs-tizen-is-ri...
>Few people think that extreme is a good idea

Unfortunately people has short memory. In the last elections here in Spain more people than ever voted far-left parties, including supporters of terrorist groups. Just the coalition between communists (Unidos Podemos) received more than 5 million votes.

Even convicted terrorists from ETA, and Terra Lliure won their seats.

Sadly, far-left and far-right populism is going up in Europe.
What We Lose When the World Moves on from Email
I think his comment was facetious. I think the clue is "no true scotsman," which is a type of fallacy. I think the point is that it's assumed to be better because of the use of "modern," and that it's only valuable if it's rewritten in something modern. Perhaps it's a joke about how old code is actually fine, and that people who get excited about the cutting-edge technology could chill a little bit. Maybe it's just a mockery of the previous arguments.
Someone should make a browser extension that will automatically (or provides a button to quickly) load the cached version when a site is down

Edit: I just made a super simple bookmarklet that does it: http://mikelyons.org/2017/06/12/Google-Cache-Javascript-Shor...
It links to battle for net.
It pulls in a huge runtime system, though (including stuff like garbage collection). This makes it much heavier than calling some Rust code.
I think the NATed, firewalled LAN is an untenable concept: it blurs the line between private and public, a line that security requires making make clear and sharp. If it's connected to a network, it's exposed enough that we should treat it as connected to a public network (which greatly simplifies our threat model); if it's not secure enough for that, it needs to be built as local-only hardware.
?? Surely Rust would have helped against heartbleed? I mean, some servers were leaking private keys because they sent random segments of memory back to clients.
Right and it will be massive to make a difference. But to me the bigger issue is that the markets are missing a piece of very important information and so are not being very efficient in solving the problem.

If we internalize the costs, it works as a lever to change consumption, but in my view more importantly it makes the markets more able to allocate resources correctly.
Guess why it doesn't allow for it...
It's a great explanation of the need for this app, and how zavulon fixed a problem.

But organizations change how they work with customers/the public all the time, and I couldn't help but say Waaah.

Things change; tell us about the alternatives you tried to move around this obstacle.
Probably worth pointing out that this already occurs now for very large companies who have to pay for upgraded uplink connections or data centers inside the networks (Netflix et al). Also part of why the bigger companies aren't pushing too hard, they have to pay this stuff under the current rules so new rules won't help them much.
No thanks. We were designed as autonomous nodes for the core purpose of survival.
It would be nice to have unlimited information at the speed of light but informational veracity and trust would have to be factored in. Furthermore bidirection is pure IP theft.
It definitely can, but if you're asking for an out-of-the box support, then it's probably not as easy to use as Rust. Then again, if you plan to rewrite your code base, then why not invest -- typed IO is a big thing.
It's worth knowing that Mozilla negotiated an opt-out with Google around the re-use of this (and other) Google Analytics data

https://bugzilla.mozilla.org/show_bug.cgi?id=697436#c14
Shouldn't you be minimizing your CSS (and JavaScript) as part of a deployment script, anyway? This tool supports sourcemaps, so it will show you the original CSS.

My major issue with it is that it doesn't seem to take media queries into consideration. It marked as unused a number of styles wrapped in a min-width that happened to be larger than my browser window. Without automation, it's going to be time-consuming to click through every page of a site and resize the browser window from very small to very large.
HDFC bank balance missed call number
The problem is they implementing their own memory management on top of the standard primitives; they never sent unallocated memory to the client.
The author focuses on rewriting low-level media decoders in Rust. I have bit of experience in this area. I've been slowly working on an MPEG2 binary subtitle decoder in Rust: https://github.com/emk/subtitles-rs

A while back, I ran my subtitle decoder through "cargo fuzz", and I was pleasantly surprised at the results: Close to half a billion fuzz runs found 5 runtime panics, all of which were detected by Rust before they could compromise security. If I'd written this code in C, several of those errors would have been exploitable. I like to think I'm a lot more paranoid than the average programmer. But the MPEG2 format is gnarly and, sooner or later, I'll miss a potential overflow when bit shifting, or get confused following internal "pointers" in a subtitle packet.

Rust has a few advantages for this work:

1. Rust does not require a garbage collector or other specialized runtime. This makes it far easier to pretend to be boring C code. This is a significant advantage over some other excellent languages like Haskell, etc., which require non-trivial runtimes.

2. Rust is very fast by default. For low-level programming, this matters.

3. The Rust infrastructure for testing and fuzzing is surprisingly good and easy to use, which makes it easier to produce bullet-proof libraries.

The downside is that even if you're already familiar with C++, it's probably going to take a couple of weeks to become comfortable with Rust. And if you don't really understand stacks, heaps, memory layout and references, it may take even longer.

I do agree with the underlying thesis: In 15 years, I'll be heartbroken if we're still facing an endless stream of security updates and remote root compromises. But it's going to require literally billions of dollars of programmer time to put a dent in this problem.
Many captive portals operate as a LAN service, where you may be expected to type a password. If the public Wifi has a roaming agreement, that password may even be for your ISP or mobile phone provider.
Doubtful, for several reasons:

1) Synthetic colorless gem-grade diamonds are difficult to make (they can be produced today, about 2-3 times cheaper than natural diamonds, but in small quantities -- and synthetic industrial-grade diamonds are also quite profitable, with significantly larger and accessible market -- but much easier to create).

2) Synthetic diamonds are relatively easy to identify (with microscope and ultraviolet light source)

3) Even today, Russian-sourced gem grade diamonds are somewhat less diverse in size and quality than their non-Russian counterparts -- and their provenance is well documented.
Meanwhile someone on Reddit said that Firefox is able to record across pages.
Selling Rsync/ZFS-Storage as a service at $.05 per GB - figured how to combine Cygwin Rsync and Volume Shadow Service on windows to backup locked files.
> How to debug it?

Chrome debug tools work just fine.

> How to see if any of your visitors cannot load site because of error in a service worker?

The service worker fetch event is a promise, so you can catch any errors encountered and tell the client to go fetch the remote version instead. You can then do whatever analytics stuff you want with the error.

> How to decide which pages to preload for offline reading?

Well, who knows. But it's flexible enough to let you decide yourself - the last attempt, AppCache, forced you to decide upfront. With a service worker you could in theory use a user's browsing history to know what pages they are likely to look at. Or you can actually create responses manually in the worker, so you can dynamically generate an entire page locally on the device. It's very powerful.

> Also a service worker would add additional process in Chrome and require 30-40 Mb of RAM

This part I can't argue with. I mean, Chrome already uses a different process for every tab, but more resources is more resources.

I don't see service workers as over engineering, I see them as a low level API. We just need some abstractions.
The missing detail here of course is...maybe his posts aren't getting engagement outside of mom because his Facebook 'friends' aren't interested in them?
I dig this.
That is not really the case for each and every developer though.

The premise is that we seem to see things from our own bubble - like for example, in your case, you were lucky enough to land a great paying job and you correlate the amount of work you do with the amount of compensation you get and seem to think it is not balanced.

I know a lot of developers who are paid in the mercy of a whole lot of economic factors, and who are probably doing a lot more things than what their compensation pays them.

There's also the factor of the work itself - doing/making stuff that has never been done before, pushing technology capability to the limits, negotiating with your stakeholders, people and users. This is a whole ecosystem, where stress and pressure are the norm and that we as developers needs to be constantly learning and applying those learning every single day.

P.S.
You might as well donate portions of your earnings to causes you believe in. Or save up for the rainy days. Or build a business where you can provide opportunities for others.
I've spent the better half of 3 years building products on the 2.4ghz spectrum (WiFi and BLE).

Most of the issues in this thread are related to poor hardware design more than a crowded spectrum. While the spectrum is in fact crowded in metropolitan areas, most Bluetooth communication doesn't require much bandwidth and can handle error prone areas with ease.

While the frequency hopping helps a ton on BL (and WiFi for that matter), the issues people outlined are due to:

1) Shitty firmware
2) Shitty hardware

Antenna design is black magic and only a few firms in the US do it well. It took us almost 10 months to fully design and test our antenna assembly(s) with a very capable third party firm.

It took dozens of trips to a test chamber, a dozen computer simulations that take a day to run, and PCB samples that take days to verify. They have to be tuned every time copper or mechanical parts move as well.

It's a real pain and most Bluetooth products use garbage chip antennas and baluns or reference designs for antennas. This increases the sensitivity to failure and provides a generally shitty experience.

Most of your product interactions around bluetooth are budget products connected on one side of the equation (e.g. a $50 bluetooth headset). So despite how capable your Mac or iPhone is, if you have a garbage headset on the other side with poor antenna design, it'll be a disaster of an experience.
The majority of these websites are American websites created by American companies with a primary user base of American citizens.
Vulkan is not a good first-step path to learning graphics. It's maintainers will tell you to start out by learning OpenGL or DX11.

However, even though its unpopular for many reasons, Metal is a very good compromise as a starter API. It's design is very close to Vulkan/DX12, but its complexity is much lower. It can even be said to be less complex than OGL in the way that memcpy is less complex than glSubBufferData.
I can't honestly say I ever paid attention, but I just checked all clocks I could find, one flashes 00:00 and the other 0:00. Most if not all clocks I've used had a 12 or 24-hour mode, not sure what happens if you set to 12-hour and unplug it (probably just reset to defaults).
That any jerkoff with the right work shirt and demeanor can convince your coworkers that they need to service equipment at your demarc - and a lan turtle ends up connected to a trunk-enabled port on your switch that nobody notices for a year.

We are rapidly moving away from perimeter solutions and toward zero trust networking models. Yes, you should encrypt and authenticate inside your LAN.
It was probably the "Turing-incomplete" part that prevents buffer overflows. Easier to reason about/verify.
Ants Build Sinking Eiffel Towers When Trying to Escape
And how many of your users are using a 100Mhz Pentium I class computer over a 56k connection? Almost every smartphone is better than that.

And you're ignoring huge benefits like offline availability, push notifications, storage...
Why were they smart to cut that short? What was wrong with those specific group?
Some Uber drivers make so little, they have to live in their cars
A webserver plugin for Cordova (iOS and Android)
Well, that would seem to be contradicted by the observation that his friends do engage with them if he hides the posts from his mom.
If you like history, I would highly recommend:

Battle Cry of Freedom by James McPherson.

Probably one of the best books about the Civil War that has been written.
Or we could all switch to Ethereum, which will have Proof of Stake (low electricity costs) instead of Proof of Work (insanely high electricity costs) mining soon.
The irony here is OpenVPN's code is terrible, unmaintainable and verbose while strongSwan is much better maintained. (OpenBSD's IPSec stack is on another level)
Apache Kafka and Amazon Kinesis
75% of the value of notes is it helps me keep focused. My mind wants to wander away ("that reminds me of...") - 10 minutes latter I realize I've been daydreaming about some camping trip years ago and I have no idea what the lecture is about anymore. Taking notes helps me focus by giving me a goal: what about the lecture is important enough that I want to write it down. Sometimes I review my notes latter, but generally I find it isn't worth the time.
same question applies to C++. every new version of C++ is the modern version for a while…
Tech is the means, not the end goal
>So, for example, if I came up with a better sorting algorithm, I couldn't patent Luca Sort, but I could patent using a computer to run the Luca Sort algorithm? Or am I misunderstanding?

That was how the law was until recently. But the supreme court found that "just do it on a computer" no longer counts.
I couldn't find anything but I wonder how global energy consumption changes on track with the predicted bitcoin processing growth? are we talking 1% of global power consumption in 10 years or 10%?
Automating highly targeted demos: Visualizing free API data for better leads
> If you have a page, Facebook wants to milk you, so they've got this weird algorithm that pushes your posts to only a small fraction of the page's followers, expecting you to start "promoting" them.

While this does enable Facebook to force brands to buy advertising, it is also an user-friendly change.

Nobody who I have spoken to about this thinks that "like/follow" = "I want to see everything they post" on Facebook. People like restaurants they had a nice dinner at and want to publish their support, it doesn't mean they want to see the daily special every day. Even if they "follow" you, it doesn't mean it should show up before a friend's holiday pictures today, and tomorrow there is already new content.

The reality is that most facebook users do not care about the posts from pages they like/follow, even if they pressed the button some time ago. An automated filter that keeps these posts from showing up is good for the user experience.

It's the same as "facebook friends" - they aren't real friends, just people you met once at a party in college. It might be interesting to see a post from them once in 10 years when they get married or move to a new country, but not their daily life. The same applies for brand pages - a like should give you once in 10 years access to their feed, but not more.
A bit less dangerous, perhaps?
No, because the JVM currently lacks features to truly isolate threads of execution, which is important for both performance and reliability. AFAIK, the JVM folk aren't even talking about addressing this, which is disappointing.
Not surprising... Yahoo.com which was bought by Verizon has no mention of net neutrality.

HEADLINE: Kim Kardashian Goes Braless in Tank Top With Gym Shorts and Heels: See the Unusual Look!

Trending Now
1. Chris Hemsworth 2. Wiz Khalifa 3. John McCain 4. Joanna Krupa 5. Sean Hannity 6. Universal Studios 7. McGregor suit 8. Maps 9. Loan Depot 10. Justin Bourne

Imagine if this was the fastest homepage for millions of Verizon customers. head explodes

edit.
They are at least highlighting the FBI Director hearing on the homepage. shrug.
Right now I can see how the website has died out.

I've read just somewhere that if we're in the middle of max extinction, we should be worrying about coyotes and pigeons, not about elephants and tigers.

If we're not we're probably not there yet.
I'm really curious to understand why a single person was responsible for a big failure. That sounded a bit personal.
Has anyone done any in depth explorations of the safety and security of rust code vs well written C or C++?
For service startup time? Sure it is.

How often are you booting your webservers that 500ms isn't fast enough?
They are still right there, front and center. Do you have a work filter that might be blocking them?
So the burden of the cost is on the sending party?

In reality the cost is really distributed. The sender hands over the money to the shipping company, but that money comes from the receiver.

And the infrastructure is supported by the community at large.
Am waiting for Coq developers to start showing up and asking for Rust projects to be rewritten using Coq / Compcert.
Isn't Go pretty much the modern C, with additions in concurrency?
Formal verification is not the same as a security audit. With formal verification you can prove that something is bug-free.

> They find issues in libCURL and openSSL that have existed for years

Neither of them are formally verified. https://github.com/seL4/seL4 however is formally verified.
Yet, they don’t even ask the user if the data should be sent to Google Analytics. Not even a cookie notice.
Didn't we already write everybody about this? Is this brand new, or for the rest of the folks who haven't already signed a petition or two?
It was the first thing that I noticed.

For the sake of all us, I hope you win this battle.
Please don't take threads off topic into nationalistic resentment. It inevitably starts pointless spats that would be ridiculous if they weren't so nasty.

It's a U.S. site; of course they don't put the qualifier "American" on everything, for the same reason programming languages have namespaces. HN's case is different, since we're obviously an international community, but (a) readers here are smart enough to disambiguate things, and (b) the internationalness of the site means we all need to be particularly respectful when talking about each other's countries.
I think what you'll find is that many, many people in the US live in cities like mine with regulated internet access that would make it practically impossible to "installing a small amount of infrastructure in a dense area".

If Google couldn't muscle their way into breaking Comcast's monopoly in my town, I don't see how some new upstart is going to do it.
Unfortunately i don't think that would have much bearing on the origin of the content pre-printing.
> Oh no, no, no! Some people may reasonably, with some extreme care and diligence, maybe try to claim they can write safe and UB-free C code. If stars align properly.

Why the sarcasm?
It's simple really, just stop participating in that evil experiment. From the outside, you look like morons; talking to opposite sides of an algorithm while interpreting what comes out as reality. It's been proven over and over again that consuming that crap makes everyone feel bad and hate each other. There are plenty of alternatives, but this one is mine: https://github.com/andreas-gone-wild/snackis
The real issue is people thinking that they arent valuable enough to make 200k. Most other professional careers reguarly have this level of comp, doctors, lawyers, any job in finance, consulting, higher level management. Yet the value an engineer can provide is high levels of automation, they can build the backbone of a company. If anything, engineers are underpaid. At my current job, I tweeked a major Fortune 50 companies email marketing algorithm, gaining them an extra 1% in marketing engagement, generating easily in the tens of millions in revenue. Any other field would see a massive bonus for that. If anything, we are underpaid.
Satellite-Based Photon Entanglement Distributed Over 1200 Kilometers
Move to an obscure provider? Many services block IP blocks based on registration not on prior malice.

So your recourse is to hope who ever you chose as your provider isn't big enough to get their IP block blacklisted. A great way to check is to stream Netflix using the IP address.
Defense Dept. hires 6 research orgs for cyborg project
All of your questions are addressed in the article.

> Why Rust? Why not Idris? Why not Haskell?

it can easily call C code
it can easily be called by C code (it can export C compatible functions and structures)
it does not need a garbage collector
if you want, it does not even need to handle allocations
the Rust compiler can produce static and dynamic libraries, and even object files
the Rust compiler avoids most of the memory vulnerabilities you get in C (yes, I had to mention it)
...and it causes the political echo chamber problem which results in extreme polarization of whole societies based on fake perception of what the other side is doing vs what they're actually doing. terrible indeed but generates views thus revenue.
I don't know what the numbers are like, but bicycling regularly increasing calorie requirements, which would have an environmental impact.

No idea how this compares to the scale of taking a bus or a solo car, but there is an increased cost. Growing food (often with fertilizers, harvest machinery, etc) in order to bring it to the market for you to consume and convert into motion doesn't seem like it's particularly energy efficient.

I bike a lot, it's better for me physically and mentally, but I do wonder how the carbon impact is affected. (Of course, this ignores the fact that petroleum is a limited supply.)