skysight-inc/HackerNews huggingface dataset:
Do you have any numbers on the amounts of unsafe? I would be interested in a decent methodology to figure this out. I've seen people assert that this is true in the same vague way you're referring to for the other perspective.
No information about the controllers (interfaces etc), no information about pricing.

I would be interested, but that site only leaves me shrugging my shoulders.
Any videos of this presentation would love to see them.
'Attack' is a bit of hyperbole, so it's fair criticism, but I do feel that the article he wrote had much less to do with issues with the language, but a very monocular and subjective view of how ecosystems should be maintained.

He does have some good ideas in there about how to possibly to make crates.io help you more easily identify the best crate for your usecase, but I think the solution to that is a fairly detailed algorithm weighing the some list of values like I put above. Otherwise you end up never allowing new options to blossom.

Trying to read how what I put before wasn't humble, and perhaps your right on that point as well. The perseption of humbleness is definitely subjective, and the added color I threw in there probably in fact did remove any humility from the overall statement, which of course are my own personal views and I highly encourage people to question and criticize them.
I agree with the article that Python 3 has great character string handling, but I'd suggest that the author does not understand why people like Python 2's system.

Proper handling of unicode glyphs makes for a great demo and is clearly the proper behavior, but does not represent a common use scenario.

It's fairly rare to be doing sub-string manipulation of user input or strings that will be displayed. Instead, it's much more common to be transporting data around inside strings. Maybe you're moving some JSON, or some binary data or csv content. In this examples, you're moving data from one point to another and the Python 2 approach is far simpler. What encoding is it? Is it unicode? For most applications, it does not matter. You can put the data in a str, then pass that str to a function.

In Python 3, this scenario gets more complicated. Is your data in bytes? Is it in a str? If it's in a str, how is it encoded? The Python typing system does not make finding these things out smooth. The details will determine which functions you can pass the data to and what transformations you (may) need to perform. Python 3 makes the programmer work harder to pass properly-tagged string data to functions, which generally makes string handling code more finicky and complex. The result is a string system that is _much_ more predictable and understandable in the failure case, but is more verbose in getting there.

It doesn't help that Python's poor type management tools mean that your first indication you mis-handled a string in Python 3 is the same as Python 2 - unexpected output to a buffer (often b'string' instead of terminal-killing garbage).
I have a mild case of this...fingerless gloves and keeping the room warm work for me. Notably the circulation shutting down is a response to your body being cold as much as your hands...is the ac blowing on your body?

The US Army has done some research suggesting you can train away the response by (IIRC) keeping your hands in warm water while cooling your body:

http://www.nytimes.com/1988/01/19/science/simple-method-foun...

I've tried this with good results but it may not work as
well if you have the issue in warm temperatures.

There are also heated keyboards and mice you could try.
Not sure if it's too meta to comment on whether true optimism can draw on constructive negativity as one of its mechanisms for self reinforcement, but here goes...

Sometimes feedback that points out problems is misinterpreted.

I find that when presented with a new idea (either from outside, or it could be my own brain coming up with it) my first inclination is to ask: OK, what obstacles do we have to tackle to make this real? Those obstacles represent a todo list of steps. Looked at one way, they can seem negative. Looked at another way, they can seem like the fundamental tools of a true optimist.

(What do I mean by "true" optimist? I mean someone who views possibilities in a pragmatic way and wants to figure out how things can happen despite obstacles, rather than just hoping the problems will vanish.)

On HN, the new ideas (and recycled ones) flow fast and furious. As does the negative feedback. And also some gratuitous negativity, unfortunately, as you point out.

I hope you find what you are looking for. In the meantime I find HN to still be pretty decent.
You have (almost) the full range of unicode at your disposal - have you considered that maybe މ is more meaningful variable name?
In other words, you're willing to disregard an injustice as long as the person it's victimizing is someone you disagree with.

That alone is wrong, but that you state it with such conviction and self-awareness is disturbing.
I'm just pointing out it's not much of a supporting example. Pollard's sentence was not commuted. He was paroled in accordance with guidelines at the time of his sentencing. He spent 29 years in prison. If you want some kind of clemency for Manning, well, Pollard's case doesn't demonstrate or involve clemency.
I may be wrong, but my understanding was that religious institutions benefiting from tax-free status in the US could not engage in "politics" that way.

Now if they were to preach against the use of drugs - that would be fine. But specifically preaching about decriminalization would not be OK.
> then why switch?

Languages are a lot more than the standard library.
Suggestion alternative solutions to the bathroom approach is considered Discussthing and will get the thread locked and loaded.
Work smart not hard. Automate everything you can automate. I do this and I routinely finish projects 30% faster than my peers. Another plus is that automation results in less human error.
I agree that apple is mean, but disagree they should be forced to open up their platform.

Let's not forgot that apple has tiny market share compared to google, they are only going after them because of their wealth.

2nd, let's not forget this was a completely natural monopoly. Apple didn't use the success of one thing to create a monopoly in another, iPhone was tiny when they introduced the app store. Is that the rule? If you're successful you have to share in that way?

Lastly, while I don't dream of ever having even a fraction of a fraction of the success apples had, it does suck to think that if you build something others want, others can sue you for access to the platform. Bullshit. If you don't like apples rules, don't play.
Give us your phones and passwords
Hope you filed a bug in this instance! Fedora makes this really easy to do.
"an average of 1,826 fewer doses" is what percent?
Would you mind sending one to me as well?
And we already have super successful AR apps like Snapchat and Pokémon GO
Here is the technical webcast: https://www.youtube.com/watch?v=7WimRhydggo

Lots of good information on reddit (/r/spacex).
> people won't use it because SELinux is generally perceived as a technology that is too complicated

It's amazing how bad things have got with the majority of developers and admins that they refuse to learn things that are difficult and instead simply turn it off. It's not like all of them are too young to remember when nothing in their system was easy and they actually had to learn about what they were doing.
Programmatically Capturing Spam with Detextion.io
While he is a legal expert and I am not, I think he is missing the point. If everyone ran red lights there would be chaos and public safety would be at risk. Traffic cameras are a deterrent that save municipalities lots of money not having to employ officers to act as deterrents. But a deterrent has to have a real consequence (people pay fines and other people hear about this) to work. He is using a small technicality to make a point about a huge issue of liberty which wastes tax payer money and will put the public at greater risk, cannot he do this through another means?
Agreed. Your example is great because it's a play on the common idiomatic expression "四通八达" (for the non-chinese reader, this loosely means "accessible from everywhere), plus 4 character expressions are much more catchy.

Surprised that nobody at IBM thought of it.'

Edit: clarification
Behind the Scenes of Tori Black’s Virtual Reality Porn Debut
I think you misunderstand my question.

In a perfect world, you'd keep 100% of the premiums and never pay a cent to a healthcare provider because everyone is healthy, right?

In a terrible world, every single one of your insured has a chronic, long-term expensive to treat condition that requires you to pay tons of money to providers.

In the first/perfect case, premiums are zero, right? In the second/terrible/worst case, you're not making zero money because your (collected premiums - minimum payout) > 0.

See where I'm going with this? In a world with healthy people, there is little need for health insurance and spending trends towards zero. There isn't a need for an insurer. Your company can only exist in a world with sick people.
Bitcoin Mining Power Growing Bigger but Greener
Hackintoshes are fun projects, I've made a few of them. Where they fall apart, though, is updates. If you're prepared to stay on the same OS X version or want to take the risk of something breaking, I highly recommend this kind of project.

If you're looking for something that will smoothly update like the Mac mini does (set it and forget it) then Hackintosh is really not for you. I recommend a used Mac mini, which you can get for a good price on craigslist.
Not really, it's basic economics.
It doesn't target churches specifically. But churches like to operate under 501c3 nonprofit charity status so they can avoid paying taxes, and part of the 501c3 tax regulation forbids supporting candidates. I was curious though and apparently they are allowed to spend some undefined small portion of their time and resources lobbying or talking about legislation.
Could I get an invite too please?
A Startup is an aggressive business, and I think in modern terms it is something which is bridging a gap in the market. Regular traditional businesses are not considered in startups nowadays especially as per the definition of investors because normal business can not achieve huge growth as expected of a startup.

Website is something which is showing the information of an entity it can be a nonprofit organization or a business, so a website is not a business in itself as a startup.
I checked your link of BetaPage and I think it is more like a startup
Much better, thank you!
If their "reset password" implementation took care to not mess up the MAC labels on edited files, disabling SELinux wouldn't be necessary.

See virt-rescue(1) (and libguestfs-tools in general) for how to do it properly.
Safety is in the eye of the beholder. Turbines do fail, sometimes with fire and explosions. When so spread outt, hundreds of turbines, forest fire is a risk. A nuke plant, being smaller, can be better covered by safety systems than an expansive wind farm. But the practical differences between the two techs are so great that direct comparison is probably pointless imho.
Car is dangerous. It's easy to kill someone by accident using car, just by pressing accelerator pedal long enough. Just compare number of killed or injured by a car and by a weapon. Car is still the most dangerous thing we have: http://www.vpc.org/regulating-the-gun-industry/gun-deaths-co... .
I'm sure the practical advice is good (I can't say really) but boy oh boy is the stuff at the beginning a bunch of crap.
Is the URL right? Firefox mobile for Android cant load the page
> I can't see a single reason to move to Python 3.

If you are doing any sort of scientific computing there is no compelling reason to move to Python 3.

The nuances that you have to grok with the Py3 str are the same nuances you would have to grok about using the Unicode implementation of Py2 instead of the default encoding in Py2. They just made the default more complicated if you are working with data. Now they require you to add 'b' to every damn thing and they have the arrogance to claim this is the "right way" to do it.

Like someone else said earlier -- computer science strings are a sequence of bytes. If you want to encode and decode from byte strings use another type. They should make the default bytes and print utf-8 interpretation.

Oh, but then they would have Py2 and they would realize what an authoritarian goose chase Py3 has been.
Meanwhile, Germany has photo-radar, but the German police MUST issue the ticket to the driver of the vehicle at the time. Therefore, they take pictures of the front of the car, and the back if needed.
Before All Others DVD
ahhaahah exactly the quote I was thinking of. Zuck is hilarious.

ZUCK 2020
Should be https://lobste.rs/
Feedback

When your title makes a promise you should deliver on that promise as soon as possible if you can then expand on it below.
It's true that programmers don't understand Python3 strings. But the language is to blame for being opaque.

Go is right up front: Go strings use UTF-8 and Go source code is in UTF-8. You can get the length of a string in bytes, or in runes. There's only one string type. Since every programmer needs to understand UTF-8 anyway, you can understand it immediately.

I tried to find how Python3 unicode strings work, but I could not find it anywhere, until I saw nneonneo's comment here.
This is pure speculation, but I wonder if by cheaper they mean simply cost, rather than cost per MW. Perhaps if you are going to build a traditional nuclear reactor, you might as well build the 1,150MW, $5 billion reactor, even if you only need 570MW. Thereby generating a bunch of excess energy that you need to sell and transmit somewhere else.

If you are a special case (US military base, remote area) and you only want 1 or 2 NuScale modules, and therefore is cheaper.
When I was taught Pinyin, the instructor explained that the phonetics were influenced by the Russian pronunciation of the roman alphabet. Not sure if this is true, or if it explains the issues you're describing. But it seemed plausible that China thought they were going to be closer to the USSR given the shared ideology in the 50's.

In any case, as a person who has a decent pronunciation in Chinese but lacking the ability to fully read/write, Pinyin has been absolutely great for being able to type Chinese informally. I can communicate almost anything I can say, and that's truly wonderful. Part of that is the smart prediction software. But Pinyin has a big part in it too: it's not difficult at all to sound out a word and figure out how to spell it in Pinyin. That's the essential feature that Chinese characters lack, and Pinyin nails that essential quality as far as I can tell.
I am exactly the opposite. I am jaded and cynical despise when people engage in what some people derisively call 'techno-utopianism'.

As such, I think maybe you would enjoy reddit.com/r/futurism.
>The vehicle is registered in your name, and thus you are liable.

What law says that, though? If that actually was what the law said, fine. But where is the proof that is what the law says?
> the benefits of having SELinux in no way means you shouldn't update

Where is this explicitly mentioned in the post?

I got the opposite impression reading this story titled "Docker 0-Day Stopped Cold by SELinux", with the closing statement "When we heard about this vulnerability we were glad to see that our customers were safe".

I'm sure your customers are glad to hear that as well, but it sounds like the Docker folks have reason to believe SELinux doesn't fully mitigate this vulnerability.
So I've looked for an explanation beyond "it's done", but save your time, there is none.

This is Java, starting tomorrow it's a keyword because why not, but let's keep in type erasure or the software on our Java Ring (TM) breaks.
Imaging marrying a complete stranger, then after some time figuring out that you cannot continue together. Same with the founders.
Proxy (YC S16) Is Hiring a Principal Firmware Engineer
Proxy (proxy.co) is about pushing the boundaries of smartphones and BLE to give every person on the planet their own unique signal for all things IoT to tap into and do useful things for them (think personalization and automation) - starting with replacing RFID cards to get you into your office, but branching out into other verticals over time. We've recently raised over $2.6M with Y Combinator and others.

We are looking for an experienced Firmware Engineer to come join our mission and lead our firmware efforts across many verticals: e.g. smart office, smart home, autonomous cars, hotels and more.

We're a small team of 5 engineers based in SF and growing fast.

If interested > team [at] proxy [dot] co

Full Job Description below:

Principal/Lead Firmware Engineer

Responsible for the firmware development of all Proxy product designs using embedded microprocessors (mostly ARM based), sensor, and actuators.
Expected to provide technical leadership and take on a project lead role on a variety of firmware projects.
Product development activities include design and development, design reviews, product verification and field validation along with coordinating with quality assurance and developing appropriate documentation.
Responsible for excellent, organized project records and documentation.
Responsible for writing high-quality, well-documented, bug-free code.
Must be self-directed and be able to work within scope with a minimum amount of supervision.
Scope of responsibilities:

- Lead embedded software architecture
- Generate and evaluate functional and design specifications
- Lead design and test plan reviews
- Code development: C/C++, Python, etc.
- Develop unit test and system verification tests
- Help manage libraries, SDKs, etc.
- Refine our compilation and documentation tools
- Assist with production implementation in a cross-functional team environment

Desired Qualifications:

- BS / MS in Electrical, Electronic or Computer Engineering or other embedded software related technical degree.
- Able to think critically and creatively to identify solutions to both engineering and customer problems.
- 3 - 5+ years experience using embedded processors such as Atmel AVR, FreeScale, Cortex ARM cores such as M0, M4, etc.
- Demonstrate ability to effectively manage small firmware projects and teams for timely deployment.
- Demonstrate strong firmware architecture design thinking and ability to clearly document designs.
- Experience with advanced development/debugging tools (C compilers, ICE, JTAG, IDE, etc.)
- Experience with protocol software stacks including Bluetooth, BLE, USB, SPI, I2C, USB,
- Experience with version control (SVN, Git, etc).

Bonus Points:

- Experience with protocol software stacks including Bluetooth Low Energy
- Consumer product development experience
- Experience with ARM microcontrollers and cross-compilation tool chains
- Prior experience with Design for Manufacturability, and Design for Testability
- Can identify electrical schematic errors to the hardware team
I would say Swift has the best implementation. It actually conceptually treats strings as a group of grapheme clusters (the Character type is a grapheme cluster). This is more in line with how humans conceptually segment strings, and how most application logic should segment a string.

> since now indexing requires scanning the string from start to end.

This is not a good thing. O(1) code point indexing is a completely useless operation. Code points have no intrinsic meaning. They do not map to any natural language concept. They are just a tool to encode strings. The only time code points matter are when writing algorithms defined by the unicode spec, like casefolding. These operations usually require iteration anyway.

If you're regularly indexing and slicing strings by code points, your code is likely broken when it comes across decomposed accents in European languages, most Asian languages, and emoji.

FWIW you can have O(1) slice indexing in UTF8 as well; you just need to use byte position as your indexing type (and handle the error case when it's not aligned). Rust does this. It also has methods for working with char indices (and a .char_indices() iterator that lets you juggle the two), but byte indexing works. Generally these indices come from other parts of the application so you can design it to not have errors.
> If everyone ran red lights there would be chaos and public safety would be at risk.

And yet, the vast majority of road rules exist without any remote automated enforcement mechanism, and there isn't chaos, and for the most part, the public is safe.

Using absolute worst-case extreme examples which has no bearing on reality is not a good way to make policy or law.
Classic Video Game System Used to Improve Understanding of the Brain
> The savings would likely kick in as they manufactured more and more of the vessels.

Maybe, but I would have thought that would have either factored that into the quoted cost estimates, or that they would have said something like "and similar future plants would cost X". (where X is lower).
I think the closest Chinese translation to IBM's 'Think' is actually Lenovo's Chinese name - 联想. In other words, IBM got scooped three decades ago.
You need to be in the context that will allow the change of password. For example, if this is an agent, you need to be able to execute code in the agent. If this is from a DHCP hook in early boot, you need to execute in that hook.

That's totally not equivalent to the use of "setenforce 0".
Re: the C extensions: Since the performance is so much better, would it make sense to replace gems that use c extensions with pure ruby implementations? Would that still yield better performance than MRI?
VRCover make waterproof covers for the Vive and Gear, designed specifically for that use.

https://vrcover.com/product/htc-vive-pre-vr-cover-waterproof...
This is incorrect. The question is whether they have a monopoly on apps on the platform, not whether they have a monopoly on handsets.
The newer revision outputs 165MW, apparently.
Ask HN: Online resources for learning Linear Algebra
I am compiling list of free online resources where one could learn Linear Algebra. Any resources that you found useful would do. Thanks!
SpaceX Launch: Technical Webcast
> The first reactor needs an expensive plant, but dropping in a second or third at the same location, into the same tank, would cost much less.

I don't think that explains it, based on the article. Each individual module produces 50 MW, so a 570 MW plant would already involve 11+ individual modules/reactors. So presumably the modularization effect is already taken into consideration for the cost estimate of the 570 MW plant.
Have you ever heard people hating on you in a forum for adding randomness to a multiplayer game. And its not even limited to one side- both sides will hate on you.
One side, because you "rigged" the game, the other because they can not be sure, whether there victory is down to being lucky.
They dont want randomness- they want that sweet Adrenalin shot, when things go wrong and you barely succeed with your head on your shoulders on third try.
The Fear of Photographing in Public
I tried googling for this but got mixed results. Shouldn't the wrists be touching/resting on the desk (the piece of desk between the keyboard and me) or are they suppose to float?
It's your site, do what you want.

Wamp.

I don't dual-boot or open a VM to browse HN.
I think there are probably consumers who view the "monopoly" as a benefit. True or not, the perception can be that the iOS ecosystem is better of for it in terms of quality and security.