skysight-inc/HackerNews huggingface dataset:
I can totally stand behind this idea. It’s way more equal than money. Every single person get 24 hours a day, but not everybody has €200 (or however high the fee may be) free at hand. Although I think there should be still an upper limit. Saying if you speed more than X there’s more consequences involved rather than time and/ or money.
Breaking the myth of private browsing mode (mindblowing)
I like the idea, too. One exception where it might not be very effective is in cases where the speeder doesn't consider their time as valuable vs. paying money, e.g. teenagers.
FK consistency can't be guaranteed without ensuring the referenced rows don't disappear before the transaction has been committed. Think about it.
Ask HN: Did you ever send a scan of your id via mail?
Did you ever send a scan or photo of your id/passport via mail to a third party?

What were the use cases?
Does webkit support Native messaging like chrome...?

https://developer.chrome.com/apps/nativeMessaging
I have been hired a few times to review working systems. Basically get an external set of eyes on specific things. And “yes, this all looks good, you might want to tweak a little here and keep an eye on that once you grow significantly.” is an entirely accepted outcome of such reviews.
It's fascinating to see how pathetic this roadmap is.
The totality (100%) of their planned features are already available on chromium.
Guess what, even after that the chromium of today (not 2020) still has an order of magnitude more features, optimisations and testing.
In human hours wise, comparing the number of full-time safari developers vs the number of full-time chromium (Google, Microsoft, opera, etc) developers is like comparing a third world country vs the USA GDP.
Or more exactly:
217,369 commits vs 835,383 commits!

Apple should just be rational and make the same synergistic move as Microsoft: migrate to chromium.
It would save them R&W (reinventing the wheel) money, and they could allocate it to true R&D, allowing the web to move forward for making the world a better place.

If for whatever reason they wanted to opt out of some chromium features such as PWA they could still do it.

With such absurd politics, I wonder how Apple survived through history. Indeed the lack of rationality from the demand must help and irrational supply to thrive.
That's anecdotal. I have my own anecdotal first-hand experience that contradicts yours.

Battle Of The Personal Anecdotes never settles any internet arguments ever.
What’s the difference between a curl you blindly pipe into sh and a blind brew install/npm install command?
do you mean that there should be something like a controller that can spin up workers and also get rid of those that hanged (or retry) etc?
I am Lithuanian, so most likely biased, but I think Čiurlionis deserves to be better known and some of his works are on par or better than many famous paintings.
So it is nice to see if featured on HN.
Possibly related to how the author of the article is downvoting everything
As long as you use the standard AU components which themselves are written in C, you should be fine. However, just one step outside of the standard functionality, e.g. you want to process or generate the audio sample stream yourself in Swift, is where it can become troublesome. I tried to profile my audio processing loops and I saw the bottlenecks in some RTL functions that deal with Swift protocols. Like I said in the other comment, I will remove protocols from that part of my code and lose much of its "swifty-ness" but then why would I even write it in Swift?
TikTok
Interesting comment on Reddit: https://www.reddit.com/r/rust/comments/dtqm36/how_swift_achi...

> You can actually already do dynamic linking in Rust, but only with C-based interfaces. The C-like interfaces that gankra talks about are I belive more similar to current Rust than to C, so I think they shouldn't be called C-like. They could support structs, enums, trait objects, lifetimes, slices, etc. "Stable ABI Rust" would be a name that's more fair. Addition of generator based async and generics of course won't work, but not all interfaces actually need those features.

> I think there is definitely potential for a "better dynamic linking" RFC that adds a stable ABI to the language. Of course, the default compilation mode should keep using unstable ABIs, generics, async, etc. But allowing crate writers to opt into a stable ABI would be beneficial for precompiled crates as well as compile times which are still the biggest problem with the Rust compiler for many people.

(a crate is a Rust package)
The other dimension, space. They will take away a room of your house.
Maybe, but it might be embaressing unless it is on purpuse. You could still withdraw the license etc.

In practice the cops probably need to be able to handle teens "playing" and on purpose getting wait fines some way. It wouldn't be unmanageble.
CDC reports 'breakthrough' over vaping lung illnesses as cases topk
Given that the author is a Mozilla employee (working on Rust) and former Apple one (on Swift), I'd be surprised if your interpretation was correct.
Also ads do not benefit the little guy as they used to.

https://news.ycombinator.com/item?id=21394349
OpenAI's Text Generator Is More Funny Than Dangerous
OpenAI publishes text-generation tool that can write believable fake news
Well it just says many cells should mean a lot of cancer.
oh wow! there must be more backstory to this. finding it hard to believe that whole google accounts got suspended for spamming a youtube video chat!
We Finns have figured out how to equalise the money part as well.

https://www.theatlantic.com/business/archive/2015/03/finland...
Would you still be as comfortable listening to a technical presentation by an advocate of violent ethnic cleansing of minorities if you yourself belonged to a targeted ethnic group?

Would you still be ok listening to “a quality presentation by Hitler” if you were Jewish and your grandparents died in the Holocaust?
Unless you want judges or juries to start deciding which victim deserves a crime inflicted upon them, I don’t see why it matters who he robbed.

He was also given a great opportunity in life, and threw it away by choosing to get drunk and getting into fights, enough times that he had a police record. Society can’t afford to let everyone go through a “get drunk and fight people, commit armed robbery, go on the run, come to senses” moment.

Also, I wouldn’t be spending my time associating with my dad if I knew he had been beating my mom and she had to run and hide from him with her children.
I know you're joking, but removal of space already exists in the form of incarceration (limiting the space you're allowed to roam within).
What is so “real” about the need for notifications? Apart from messenger/email for which we already have dedicated apps both on desktop and on mobile, for what else would we “really” need push notifications? I don’t really want to be interrupted by anything that isn’t urgent, and stuff other than messaging is not urgent at all (I’m talking browser interactions here, I suspect and hope that things like nuclear power plants don’t rely for their “urgent” stuff on browsers’ capabilities and I also hope they don’t have anything to do with easily-hackable browsers at all).
it does with cordova
Firefox versus Chrome from a privacy point of view
I know I made it sound like I just developed a solution that is looking for a problem.

Actually, RBI (remote browser isolation // cloud based internet isolation) is a big industry. Menlo Security, Symantec, WebGap, Light Point, By Light, and more, have products in this space.

It's not really a question of "does the market exist? Does it have a usecase?" and more of "How to find customers with this need? How to approach and sell them?"

Granted, it is a niche so I get if you don't know it at first glance.
As Delhi Chokes on Smog, India's Health Minister Advises: Eat More Carrots
> Of course I know I will remove all protocols from that part of the app and lose some of the "beauty"

Protocols/traits/interfaces are just indirection - we all know that indirect calls are expensive. Fixing this need not be a loss in "beauty" if the language design makes direct calls idiomatic enough.

> And now that the linked article also explains the costs of ABI stability

I definitely agree about this, though. ABI stability and especially ABI-resilience, have big pitfalls if used by default, without a proper understanding of where these drawbacks could arise. They are nowhere near "zero cost"!
Today I have to write the SQL, and pull the results of the query into a struct, which implements relevant interfaces. It's more code to write, but it's simple, and straightforward, and it does exactly what it says it does, and no more. It's easier to write and understand, and trust. Most of all, trust.
High-Ranking Dog Provides Key Training for Military's Medical Students
You can write JS functionally but to get the benefits from the video like modeling your data as sum & product types as well as static type checking, you need to use a language with its own compiler.

For languages that compile to JS, Elm looks a bit more like the F# in the video (https://elm-lang.org/) and Typescript (https://www.typescriptlang.org/) is a much more like standard JS.
Forget Paris: Go to Winnipeg, author who has visited more than 110 countries
So they can stomp on people on their way to power as long they don't earn too much money on the way?
(myObject as! SomeProtocol).someMethod()

The `objc_msgSend()` call you're observing in this case is likely a call to `NSObject::confirmsToProtocol`[1], are you absolutely certain that NSObject is not involved anywhere in your class hierarchy?

[1]: https://developer.apple.com/documentation/objectivec/nsobjec...
Let’s not forget the military. Regardless of how much the public hates it, the military loves nuclear and would switch all ships over if they could.
> They used to claim that alcohol caused pedophilia.

I'm not sure who "they" are, but this is changing the subject. Alcohol absolutely does cause violence, including by mechanisms other than disinhibition.

> Pedophiles drink to intentionally lower their inhibitions when planning to abuse.

People who are able to form a plan to abuse don't need to lower inhibitions; if its done with a conscious plan, then having something to point to (even to onesself) to evade responsibility is more likely than lowering inhibitions as the motive. There are also absolutely cases of people who abuse under the influence of alcohol without a conscious plan prior to becoming intoxicated (which may still be a matter of disinhibition, but very different in character--if not ultimate moral culpability--from when alcohol is part of a plan of abuse, and in any case this is all besides the point on the question of violence generally, which alcohol, through various induced psychoses, among other means, absolutely does cause by means other than disinhibition.)

> Drinking doesn't cause people to suddenly and uncharacterustifally lust after children.

I don't really care if people have un-acted-upon socially-unacceptable impulses (pretty much everyone does, even if it isn't pedophilia, which I have no idea why you have decided to shift the conversation to from violence.) Alcohol absolutely does induce people to act on such impulses when they otherwise would not choose to, even when they become intoxicated without any intent to act on any such impulse--that's disinhibition--and absolutely does also lead to dangerous socially-unacceptable action not related to disinhibition, as well.

> Lowering your inhibitions to facilitate some impetus already inside you is different in important ways from instilling something in you that wasn't previously there.

There are certainly contexts in which the difference is important, but its absolutely not important when discussing the social costs associated with the drug in question and, in any case, the mechanisms by which alcohol leads to violence are not limited to disinhibition in any case, no matter how popular that myth is. Psychosis induced by alcohol intoxication is real. Psychosis associated with alcohol withdrawal is also real. Both can produce violence, and neither has anything to do with disinhibition.
You're a young insurgent then!

Some of the big five have roots going back to 1894, and earlier.

(Time runs at a different pace in publishing, if that makes sense.)
> Protocols/traits/interfaces are just indirection

They are indeed. Look at how C++ handles multiple inheritance, for example: literally a few extra instructions for each method call, not more than that. Swift's cost of protocol method call and typecasting seems too high in comparison, and I haven't even tried this across dylibs yet.
Appropriate, but it requires more active enforcement than the automated radar speed detectors with cameras and automatically mailing you the fine.
Post-modern crap.
As Disasters Worsen, Cities and Researchers Eye Social Resilience
profound!

could it also be the normal generational rotation of people through the organization?

Everyone grew at a tremendous rate since the 1960's. Many, many more engineers. And then they retired.
Security Analysis of a Cheap Chinese IoT WiFi Camera
The correct solution is to fix copyright terms to 10 or 20 years, and the problems fix themselves.
This is pretty much the only real answer to the article. However, if the software itself is distributed via the site then the same caveat applies since replacing the release itself is much more enticing. It comes down to either the software being published on Github where a hijacked release might be noticed, and/or files having signatures that you can somehow trust.
Show HN: Open statistics for remote jobs newsletter I'm building
Pragmatic nordic countries drive practical solutions, however often other counties take fear driven approach, signaling that person might be endangering public safety and who know what that is worth. In Canada you can get slapped with dangerous driving fine and have your license be suspended for a year, at a discretion of a police officer.
Land use becomes a real problem with some solutions, so yes it can be a “can’t”
You can roughly quantify it as the number of things you need to keep in mind when looking at a piece of code. For example, if you need to be aware of how a variable is modified outside of the scope currently on your screen, that makes it harder to reason about.

Possibly interesting: https://overreacted.io/the-bug-o-notation/
You mean YouTube comments are now moderated? That’s very welcome and long overdue.
The dating app Instagram should build – because Apple just banned ours
The article quickly mentions that speeding tickets don’t have a cumulative effect like they do in other countries, but doesn’t explain why. Surely this would also make the system more egalitarian - if you’re caught 3 times you lose your licence. Doesn’t matter who you are.
Nice project. A related plug: For locally-run VMs, I can do `./hyperctl.sh install net dhcp hosts image master node1 node2` and be on local multi-node k8s on Hyperkit, in, I don't know, 5 minutes. Similarly for Windows, `.\hyperctl.ps1 install net hosts image master node1 node2` for Hyper-V. This would create 3 local machines, but you can also just only specify `master` which will then be auto-tainted for normal scheduling.

Then you can do `hyperctl.[sh/ps1] docker helm3 repo` and you have a local docker build & k8s helm deploy system for testing. (*docker w/o the docker desktop app!)

Worked flawlessly for me so far. https://github.com/youurayy/hyperctl
I had that camera, and got root access in 30 seconds (user: root, password: [blank] in my case, it was DOG-1WNEW)

https://i.imgur.com/jZYxETN.png

I returned it to the store for a refund. No way such a thing is going anywhere near my network or my home.

Also, it seems the manufacturer Cylan has not learnt anything, as new models also have gaping holes: https://github.com/offensive-security/exploitdb/blob/8cbfa5d...

Shenzhen Cylan Technology Co.,Ltd - https://www.crunchbase.com/organization/shenzhen-cylan-techn...

The offending camera: http://www.jfgou.com/camera/camera-wifi2/

A teardown: http://sirlagz.net/2017/11/20/reject-shop-special-home-secur...
Or, you know, pipe to a file and verify the content, then execute.
> As the documentation you quote says, you should limit the size of JSON texts you accept. [...] But this is completely unrelated to the maximum depth you accept.

I'm not sure that's right.

The documentation points out that a deep structure returned from the parser can crash the interpreter, because freeing data also uses recursion. ("due to perl itself recursing deeply on croak to free the temporary".)

Anyway, I found the 512 depth limit too much... When using coroutines in Perl, the stack is smaller and it crashes trying just to print a JSON object with depth 512. I hit the limit at about depth 150, with nothing else on the C stack, so in robust diagnostic code that uses the JSON formatter to log data structures, I limit the max depth to 20.
I wasn't trying to shift the conversation anywhere. I just felt it would be an easier to parse example. People typically comprehend the idea that sexual orientation doesn't suddenly and magically change because you had a beer. General understanding of anger management tends to lack a clear and bright line of that sort.
Murderer 'Dies,' Is Resuscitated, Then Says He Completed His Life Sentence
I do admit that English is not my first language...but I am struggling to interpret "Apple had way more resources to throw at this very hard problem." any other way.
> I have my own anecdotal first-hand experience that contradicts yours.

Leaving aside reliability concerns of anecdote in associating cause and effect, an anecdote could can suffice to say that alcohol does induce violence by means other than disinhibition (since if does so even once, this is true) but it could suffice (even, again, leaving aside reliability concerns) to say that it does not, because it not doing so in one particular case (or even a larger number of particular cases) does not support the argument that it cannot do so. All you can get from "it didn't happen this time" is "it doesn't always happen", not "it doesn't happen at all".
This is about livestream comments.
> the French state steps in and regulates pretty much anything.

That’s a nice way of putting it.
Funny thing, I've pasted wrong text into the terminal on multiple occasions—from having copypasted some paragraphs of text and immediately forgetting about that. Each time I expect my files to be botched, but the worst that's happened so far is some unwanted files appearing due to ‘>’ being there in the text.
This is why I avoid as many google properties as possible. Who even knows what actions might get my Gmail account disabled. And when they do, there’s no chance of their support system fixing it. The ban bot decided a rule was violated, and when reviewing its decision the ban bot unsurprisingly decides the same thing on appeal.

So no, I’m not going to start shopping with Google Wallet no matter how many coupon offers they send me.
ok sorry I made it sound like this, that was lack of my knowledge about security.

My advice is find someone who has experience with Enterprise sales and ask for a chat. I think it might be very hard to sell this kind of solution while bootstrapping, maybe it would be easier to raise money and find a sales experienced cofounder. But I don't have experience with Enterprise sales
Right, I spent some time earlier this year researching a number of job queue systems for a client and never came across one that had this limitation, which kind of makes me wonder what exactly the article is trying to claim.
The Democrat Party Platform of 2016 does not mention nuclear energy once. It does tout solar and wind several times in a whole section on reducing carbon emissions.

https://democrats.org/where-we-stand/party-platform/

If you asked the typical person who's extremely concerned about climate change where we should invest money, they'll answer wind and solar far more likely than nuclear. There are people who advocate for nuclear as the solution, sure, but they're in the minority. Often they're people who don't seem especially concerned about climate change.
The transition from 4 engines to 2 was accompanied by a great increase in systems reliability. Look up ETOPS for details.
The trade off between safety (loss of airframe) and reliability( plane has all engines functioning ) is complex. A 2 engine aircraft is more reliable than a 4 engine aircraft, but a 4 engine aircraft can still fly safely with less than 4 engines.
ETOPS made the design margins increase such that 2 engines would have identical safety and reliability.
There can be many confounding factors in a particular instance. Correlation does not prove causation.

I've had personal experience with thinking X caused Y and only realizing years later that there was some unaccounted for variable that I had been unaware of at the time.
> In languages like rust/c/c++

In another HN thread there is much discussion about Rust using, in effect, segmented stacks to implement async-await.

Perhaps you could code a recursive descent parser in Rust using async functions, so that the Rust compiler converts it to a heap-allocated state machine for you.
I’ve been using a Trac+Svn combination for my personal projects for 13 years now. I mainly use it for repository browsing, as I don’t do bug/task management for any of my personal projects, but it’s cool seeing repositories 11 or 12 years old. If it ain’t broke why would I fix it?
I wish platforms like Facebook and YouTube would stop pretending they can build “communities” with one billion people.
The Chinese suicides prevented by AI from afar
You can get our best article every week by subscribing to our sneak peek email - https://thecorrespondent.com/sneak-peek. Of course, we'll keep suggesting you join as a member and given it's a pay-what-you-want payment model it's not a huge ask. You can also follow us on Twitter https://twitter.com/The_Corres and see everything we post there for free (which is, everything). What you do get as a paying member rather than just a viewer, is access to the conversations we have under the article which are sometimes really worth if. Under this article, for example, the journalist Jesse was joined by Garrett Johnson who was interviewed for the article and is a former Yahoo! economist and members got a chance to ask him questions based on the article and his experience at Yahoo!.
Is China Stealing American Jobs and Wealth?
People reading and being informed > profits. But... yeah we do also like/need profits to keep writing.
Actually it can, you just have to define types for it.

In Scala you have value class, that get replaced by the underlying type during compilation so there is no overhead.

https://ivanyu.me/blog/2014/12/14/value-classes-in-scala/

It may sounds a hassle but you only have to handle it at the interfaces (for example for a web app in the controller and data layer), in the rest of the code you just manipulate your value like any other type.
Very fond of the idea. Italy does something related in the "Tutor" system that fines based on a long average speed (average measured in a long segment using licence plate recognition).

This avoids the trick drivers use to avoid a single speeding camera. The fines system is more traditional, however.

The system works because the toll roads in Italy have exclusively guarded entrances and exits.
I find it hard to believe people are still buying into the "use our tool which only works with our service, it'll all be fine, promise" approach of things like this.
One of the reasons is that if you momentarily use a very large amount of stack to calculate something (say gigabytes), and then return, the large part of the stack which is no longer used stays allocated, full of unused data taking up RAM for the remaining life of the process, which might be a long time.

If a heap-allocating algorithm does the same thing, it's likely to free the memory when it's finished with it.