skysight-inc/HackerNews huggingface dataset:
I'm not sure I'd call it woefully obtuse, at least on the web (which is what I primarily use it for). See an example here: http://imgur.com/a/3Tjb7

...note that I can choose to dislike the post itself, or hide the entire source or app if I prefer.
Ask HN: Which online learning platform do you use the most?
> That dynamic memory exception is big enough to drive a truck through. Dynamic memory is so pervasive in today's programs that (I would argue) a language that's "memory-safe except for dynamic memory" has no business advertising itself as memory-safe at all. Maybe it was different in the past.

1. Many embedded applications do not use dynamic memory at all.

2. The runtime cost of a tracing garbage collector is largely a red herring. In a well-designed imperative program, all the cost involved with GC should not typically exceed 10% or so and manual memory management can only avoid part of that. On top of that, Rust's fallback option for shared ownership (Rc<T> and Arc<T>) are very expensive and can be worse than tracing GC. As I noted elsewhere, Rust is a very poor option when you have to deal with shared ownership (such as with persistent data structures).

3. Tracing GC does raise genuine issues in other situations (stack scanning in a multi-language environment, for example), but it's not the only established automatic memory management technique. There's no reason why you can't have a compiler switch to change to a different implementation.

4. Conversely, tracing GC can also have advantages, such as avoiding fragmentation for long-running processes (assuming the GC supports compaction).

> I'm not sure how I feel about Swift's ARC; it seems like a bit of a hack compared to Rust's lifetimes and I worry that it makes memory leaks too easy, but I haven't worked with it.

There's nothing hackish about Swift's ARC. It's basically bog-standard reference counting, which has very well understood semantics, and then the compiler optimizes away reference count updates that aren't needed. The primary downside of the approach is that it can't handle cycles automatically, but then, neither can Rust. Other than that, it ticks off pretty much all the boxes that Rust does.

> I don't think I count techniques that aren't available in any language less obscure than Cyclone.

I'm not sure why, nor why you would tie it to languages. After all, MLKit is Standard ML, hardly a language more obscure than Cyclone; deferred reference counting was first implemented for Java (lots of memory management techniques have actually used Java as a testbed).

> You might want to anyway, if you're writing such an application—the language is designed pervasively to eliminate as many sources of program incorrectness as is practical, and this comes through in more areas than just memory safety—but it's not the same kind of critical advantage that memory safety is.

If you want to go into a more detailed discussion of Rust with respect to software engineering, then we'll also have to discuss the software engineering costs that Rust creates, and that becomes a fairly large topic.
Is this just an issue in the USA?
Pretty much this. I see what a couple of people liked on facebook constantly,but I do not see things people I care about wrote nor get information about events I follow groups for.

Current version od algorithm is not working.
Real time subtitles and language translation in PowerPoint [video]
Apple to this day doesn't support aptX. It's plain embarassing.
Here's one for ya - I can (and do) run my own account [0] and sync [1] server for Firefox.

[0] https://mozilla-services.readthedocs.io/en/latest/howtos/run...

[1] https://mozilla-services.readthedocs.io/en/latest/howtos/run...
The thing I like about Clojurescript is the ability to escape the node/NPM ecosystem entirely. It's feature, not a bug, that I don't want to interoperate with node/NPM.
> My understanding is that someone needs to hold a patent

Well, yeah? I mean, the whole definition of a patent is that it gives someone a monopoly over an idea. A patent without someone holding it would be as sensible a concept as a bank account without a holder. A bank account documents that money is owed to someone. If there is noone who it's owed to, then there isn't a bank account. And if there is noone who holds the monopoly ... then there is no monopoly?

> What I wonder is if someone who could file a patent or already holds a patent for an idea could put this idea into the public domain without anybody holding a patent?

Depends on what you mean by "public domain". If you own the patent, you get to decide who gets to use the patented idea. Obviously, nothing prevents you from deciding that everyone is allowed to use the idea without any further conditions. That you get to decide that is the whole point of the system.
http://www.pixitmedia.com/pixstor/

basically lots of nice python wrapper around GPFS.

ZFS isn't clustered and has no concept of HSM, so migrating hot blocks from NVMe to SSD then disk and tape isn't an option

Also stuff around disk rebuilding is still pretty old. Modern FSs can detect a failed disk and rebuild the array in minutes based on FEC and even distribution of data.
I feel like these are just shitty models. A good recommendation model would get features like "is_mom" and learn that "is_mom" is a shitty predictor of relevance.

Similarly with Amazon, products should have some sort of 'elasticity' score where it should learn that recommendations of inelastic products is a waste of screen real-estate. I mean, I doubt the model is giving a high % to most of those recommends - it's likely more a business/UX issue in that they've decided it's worth showing you low-probability recommends instead of a cleaner page (or something more useful).

Youtube, on the hand, seems to be precision tuned to get you to watch easy to digest crap. You consume the crap voraciously but are generally left unfulfilled. This is a more difficult problem where you're rewarding naive views rather than a more difficult to discern 'intrinsic value' metric. As a 'long term' business play the model should probably weight more intellectually challenging content just like fast food restaurants should probably figure out how to sell healthier food because by pedaling crap you're only meeting consumer's immediate needs, not their long term ones.
The official Rust community isn't helping itself, either, here. If they were even a little bit as eager to step on lazy "C is bad" comments as to point out how safe Rust is it might help. Lazy reasoning about competitor languages isn't helpful because it inhibits the ability to effectively tout Rust's benefits.

But I've basically stopped commenting in Rust threads. There's too much "not even wrong" as regards C and C++ to be bothered with.
> just search google for macbook pro bluetooth audio issues, and you will find a slew of forum posts going back years

Apple has also shipped hundreds of millions of devices over that same time period, so the number of people with failed hardware is non-trivial. More importantly, it is extremely rare for people to perform root cause analysis on the actual failures which combined with the number of vendors and protocol complexity in the Bluetooth world means that a significant number of times the blame is placed on the wrong component.

The main thing I take from this is that vendors need to think about how they can provide a visible way to learn about peer device errors so e.g. your Mac could tell you that sound quality is horrible because the Bluetooth device doesn't support a high-quality codec or sufficient bitrate, is seeing high levels of retransmits or dropped packets, etc.
Let's not kid ourselves. This is Google trying to fill up your account so you will purchase extra space sooner.
So if I encode Metallica into my dog's cells will the RIAA come after me?
But as some miners stop, the efficiency of mining goes up again.

In a general sense, the amount of money spent on mining will stay constant. If you make electricity 3x as expensive, then maybe 1/3 as much electricity will be wasted, but it's still fundamentally a waste.

If you don't use that extra money to undo the externalities, then the world is still getting more polluted just so bitcoin can spin in place.

This isn't something like a power plant where charging $X per ton of CO2 released will make them cut emissions to 0. You would need a per-bitcoin fee to stop waste. Charging per-kWh has a limited effect, because people will always buy [bitcoin price] * [bitcoins per day] worth of electricity.
What you are describing does not make sense. TLS would be pointless if this were possible.
>An honest mining majority is a hard requirement of Bitcoin. But proof-of-stake doesn't solve the problem of collusion -- it's even more susceptible to it since it's so easy to recreate valid-looking chains. With Bitcoin, two or more competing chains will at least be visible (two distinct chains with a lot of work), whereas they're everywhere in PoS and the main chain is qualitatively no different from any other valid chain (of which we can create thousands quickly).

I'm not sure what math you are using to base this assumption on. A formal argument by algorand is that the probability of a fork would be the age of the universe. It is NOT straightforward or cheap to recreate valid looking chains and generate the next block creating a fork.

https://arxiv.org/pdf/1607.01341.pdf
BTW I think there's a (long standing) issue with your CSS: I'm always writing black on dark gray when I'm on Firefox under KDE with the Breeze Dark theme, and I think it's because you probably specified a black foreground color for form elements, and assumed the background to be always white (it isn't!)...
For programmers using Bluetooth Low Energy (BLE 4.0) on Linux/BlueZ, we're working on this handy BLE GATT library for Python: https://github.com/getsenic/gatt-python
BlueZ/GATT is very stable to our experience and supports most functions such as BLE device discovery, listing services and characteristics, reading/writing/subscribing values from/to characteristics.
Then take their deposit and ban them from the system when you come to inspect and found the chip without the umbrella...
Maybe the button should just scan for nearby bluetooth activity and if there is none it just assumes the person operating the button is old and gives them more time.
May I suggest that Mozilla stops walking a "very thin line" between telemetry and user privacy and instead walks beside a very thick line, on the side of user privacy. This incident has proven how easy it is to step off a very thin line into territory that your users are disgusted by.

Choose to walk the thick line and even if you stumble, you will not fall.
> And zero runtime overhead.

Please show me an implementation of binary decision diagrams [1] (ideally multi-threaded) where Rust has zero runtime overhead.

Rust has zero runtime overhead only in some cases.

[1] https://en.wikipedia.org/wiki/Binary_decision_diagram
Mutations would occur, yeah? Mutant files, lol.
https://productforums.google.com/forum/#!topic/play/86WVa8b_...

1,022 comments about a single aspect of the G Suite account restriction, relating to a single Google product (Play Music)... in this 1 thread alone.

Doesn't seem that specific and isolated to me.
Please don't hesitate to let me know if you have any feedback on this! (Author of article; don't work for Nanobox, though.)
HN: Please consider subscribing to make this alternative real.

https://www.patreon.com/bcachefs
There would be no time. He literally has a phone on the desk that he can launch all the nukes in a few minutes notice, and NOBODY can stop him without illegally refusing to follow orders (hope to god they would obviously) but assuming everything works as designed the world would end.
Why did you take the link down?
Demotools screenshot gallery
My point of view is sure you as a pedestrian have a legal right but if you get hit and are killed there is no point in being right but dead.

I get my ass out of the way asap.
As a New Zealander, I find it extraordinarily inappropriate that global infrastructure like the Internet is being shaped by the whims of US politics and corporate culture. The Internet is a global network of global concern and it should be above the manoeuvring of Republicans and American Internet providers
This got some love. Wish I had enough free time to play around a bit more to do some crazt dev like this.
Quoted below is an except from a listserv discussion with a WISPA committee member working to draft that org's FCC filing. I'm sharing this, to fill in details on the assertion of "uncertainty in regulation" that is being bandied about, i.e. that the assertion isn't devoid of substance. But again, I don't share this view myself, believing that the absence of any Title II regs at all bodes worse than the burdens they or may not impose.

------

The Commission asked what the definition of ‘reasonable network management’ should be. The original (2010) version called for “reasonable network management” and defined it as:

"A network management practice is reasonable if it is appropriate and tailored to achieving a legitimate network management purpose, taking into account the particular network architecture and technology of the broadband Internet access service."

In the Title II order this was changed to:

“a practice that has a primarily technical management justification, but does not include other business practices.”

What does “other business practices" mean? From an engineering standpoint I can design and build a network that never requires ’network management'. We used to have that network - it was called ‘circuit switched’ and it was an engineering marvel. What I can’t do is build that network today and deliver broadband at competitive prices without some degree of oversubscription. The level of oversubscription is ultimately a management (and economic) decision. If all network management practices are then ‘business practices’ it becomes very difficult to decide what network management can be justified as ‘primarily technical’.
I'm not sure I agree with the amount of hyperbole in the original post, but you must be joking if you want to claim that browsers or OSes are "safe" in the Rust sense of the word.

Use after frees and numerous other memory bugs are discovered all the time in C/C++ programs (including kernels and browsers). This isn't an imaginary problem. Then combine multithreading and you've got a whole extra level of possible issues. Rust does solve many of these problems, and you can prove it does so mathematically.

I understand why people don't like the use of the term "safe" because it feels like a value judgement. But I think people's egos really should be a bit less fragile when discussing language choices.

> Then just delete your entire OS or at least your browser, don't force yourself to use C and C++ software.

With RedoxOS you actually could do that in the near future once it supports some more hardware. The kernel and entire userland (with graphics) is written in Rust. And they did it in 2 years. If nothing else you have to admit that there are some very talented engineers using Rust.
the biggest issue my non-geneticist mind sees with this is the issue of mutations.
Pharo – Quuve
Hopefully the soldier is like Stanislav Petrov. https://en.wikipedia.org/wiki/Stanislav_Petrov
I'm sorry, I was referring to hybrid storage as a technology category, not the hybrid disk drives like Seagate Momentus XT. You're right that a 2-drive hybrid (Fusion Drive) will mathematically be less reliable than a non-hybrid one and that those "hybrid disks" haven't lived up to the hype.

Pretty much every enterprise storage solution designed today is hybrid (SSD plus HDD) or all-flash and includes lots of advanced availability features.
Writing manually-vectorized SIMD code is the only way to approach advertised performance on any modern CPU.

While there’s _some_ SIMD support in Rust nightly builds (but not in Rust stable), it’s just not good enough. For one thing, Intel only supports their intrinsics for C (C++ also gets that ‘coz compatibility) and Fortran. Another thing, Rust strong type-safety concept complicates SIMD code, especially when the code does integer math. These __m128i / __m256i / __m512i registers are often treated as different data types by even consecutive instructions.

While Rust might be good enough for some areas, performance critical CPU bound code is not one of them.
I feel like accounting for people who like everything would be one of the first things built into such an algorithm.

He should try alternating the privacy settings with each post.
I'm inclined to agree with you. Airports tending to be full of hyper-aware pilots who are communicating on the same radio frequencies as you shouldn't really be considered a safety margin, but it can still prevent accidents sometimes.

Incidentally, Aviation Herald reports[1] that "AC-759 had already overflown taxiway C by about 0.25nm when ATC instructed the aircraft to go around" and further that "it is estimated that AC-759 overflew the first two aircraft by 100 feet".

100 feet isn't much, and I imagine this was utterly terrifying for the pilots lined up on the taxiway, but 0.25nm past the beginning of taxiway C is basically touchdown point on the runway (had they been lined up with it), and they were still 100 feet above the ground. That indicates pretty strongly that the pilot of AC-759 had noticed their mistake and was taking evasive action already, before ATC instructed them to go around.

[1] https://avherald.com/h?article=4ab79f58&opt=0
We can all hope...
Rakuten USA | Full Stack Engineer | San Mateo, CA | sara.fox@rakuten.com | Onsite |

Rakuten, Inc. is the largest ecommerce company in Japan, and third largest ecommerce marketplace worldwide. We seek to empower merchants to deliver Omotenashi, a hospitality mindset, which helps sellers create lasting relationships with customers. Along with the global marketplaces, Rakuten supports an ever expanding list of acquisitions and strategic investments in disruptive industries and growing markets.

We are looking for a talented software development engineer to help extend and maintain our best in class catalog system, by working on Customer Solutions and Integrations. Our catalog system takes in merchant data and third party data to provide our customers with rich product data. This is an opportunity to make a difference on one of the largest product catalogs in the world.

If you are a good fit for this role, please send your resume to sara.fox@rakuten.com
Case Study: Microsoft IT Modernizes Traditional Apps with Docker EE and Azure
The Waldo Moment was what I was thinking of
Is that so? How many messed up home schooled kids do you know then?
Please don't tell someone what words they are allowed to use in what contexts.
FAT Python: the next chapter in Python performance optimization
Hey everyone! Jimmy is hard at work getting through responses. If you want some reading while you wait, check out the source on Github. https://github.com/jimmified/
The problem is you can't do this for every Docker image you have, particularly for a large organization. It defeats the whole point of having base images if you need "include" Dockerfiles. If Docker had a way to build from multiple base images, that might fix the issue, but I believe they removed that bug/feature a while back.
Yes, but there is a ton of functionality already out there, Object Pascal is popular enough to have almost everything available and for the stuff that aren't available it is trivial to call into other native languages (and there are many bindings already available). If you have a C header you can even use a conversion program that comes with Lazarus to create a binding for it.

Of course it all depends on what you want to do, but for me at least that was never a problem.
Simple way to understand Net Neutrality, look at the way AT&T prioritizes DirecTV Content on Mobile. It should be illegal, but well
Odessa artist Stepan Ryabchenko turned the Comfy store into an art object
Yeah, SIMD is being very actively worked on; until then, you can link in an external assembly file, but that's not exactly the best UX.
The whole idea is that if the price of electricity reflects its full cost, including externalities, then you'll no longer waste it. If people keep mining bitcoins in that environment, then it's because bitcoin mining actually provides more value than the cost of the energy it consumes.

If the fact that we're eight light-minutes away from a zero-maintenance 400YW fusion reactor makes it hard for you to consider human energy usage to be waste, just think of it in terms of CO2 pointlessly added to the atmosphere instead.
What about monetization? Do you serve Adsense or Admob with a PWA? Probably Adsense, but then you lose out on ads optimized for mobile.
Consider situations like this: https://stackoverflow.com/questions/17362673/temporary-lifet...

It's undefined behavior, despite not calling free anywhere. Replace with std::string and it could be use after free. In C, UAF wouldn't happen that silently for heap memory.
I see, so there is actually no amount of data that is able to refute your narrative.

Well, that's the magic of social "sciences", you may dismiss all data as much as you want in order to fit your pre conceived ideas. So I must actually agree with the OP here: is a waste of time to give you facts about this since you are always going to find a way to dismiss them.
Fletcher checksums are very cheap and not a bottleneck.

https://github.com/zfsonlinux/zfs/issues/4789#issuecomment-2...
Some very insightful discussion! I work with BLE at the software level on iOS and ever since iOS 8 it has been pretty stable, iOS 6 was terrible. However, it does seem to be quite flaky at times (interference, cheap BT chip, etc).

I've been doing iOS development for wearables for a few years and have found that you can generally make BLE for an iOS app very reliable. But it requires some work in the software to cover up some of the underlying flakiness. Reminds me a lot of building resilient networking code for apps back when cell service was slow and spotty. But if you do a little work to build in command queues, auto-reconnect, etc it can be very solid for the user.

Oh, and it helps a lot to pick a good chip. From my experience, the Nordic NRF5x series is the best. But as has been mentioned elsewhere in this post you still need to have a quality antenna design. I've noticed a huge difference between using a reference design and one that spends some time in a chamber with a good RF engineer.
> I love this idea because I read too much cyberpunk.

Can you recommend some novels ? (I'm also a cyberpunk nerd)
Thanks in advance
No, and that's the problem. Free can effectively be called invisibly, causing UAF.
Comments on HN can be just as toxic. The only difference is people give a lot of weight to what's posted here.
This functionality is opt-in, so you can still live on your island if you'd like :-)
Ask HN: SceneKit vs. Unity3D for 3D iOS apps?
Normally, there are certain UX advantages in developing with native iOS frameworks (UIKit, AVFoundation, etc), although the gap is slowly closing. But in terms of developer/community support for 3D engine based apps, Unity3D appears to be the clear leader. As an iOS app dev hobbiest, are there any big performance/framework-level/end-user-experience related advantages to keep make me develop with Apple's SceneKit over Unity3d for working with apps that generally require a 3d environment (games and beyond)?

BTW, I don't care about cross-platform compatibility
I would say you are in a distinct minority here with that viewpoint :) I've been using / working on ClojureScript since the very beginning and the halfway integration with Node and NPM never seemed particularly desirable to me.
Would be better to not block, but show a 30 second video explaining why comcast sucks before each video.

If you're blocked, you'll only see the message once. If you have to watch a video before instead, you'll get angrier and angrier each time.