skysight-inc/HackerNews huggingface dataset:
> As someone who has tried them all, I can definitively say this is not true. Trix/ActionText is the only one that works.

That's an obviously false statement. There's like a dozen react based ones alone and at least as many vanilla JS ones all over the web. I've implemented several in Rails before with image upload support. Works no differently than any other web backend.

> Because Rails is a full stack web framework. It includes its own front-end for tons of stuff. It's opinionated and wants people to do things The Rails Way.

No, Rails explicitly does not have opinions on everything. It doesn't even come with built in authentication handling, which is a pretty major web framework component. I like that it has strong opinions about things like handling the HTTP request/response, configuration, code layout, ORM, etc but leaves a lot to the user to implement. In the past they've even culled features off into their own gem when they decided it wasn't relevant enough. A WYSIWYG text editor doesn't seem all that much like core functionality to me.
Negative prices are not uncommon. Happens nearly every spring in the Pacific Northwest when the mountain snowpack melts, flooding the rivers and surging the output of many hydroelectric dams. The negative prices are factored into the annual revenue, and consumer prices are sort-of averaged over the year which is why you never see it on your electric bill.
Huh, I always called it the iPhone Ecks.

I can't really think of a 'tech thing' with 'X' in the name that is not pronounced Ecks.
Can you use a Raspberry Pi 4 as a desktop machine?
Imagine, a socio-racial profiling blacklist impacting 1m+ people, a double percentage of whom are your own citizens by birth, who grew up and live in US, and a murder of one very unlucky Yemeni family.

Of course both are reprehensible
WTF? That's real?!
> HVAC

Yes, the demand for HVAC is very high when the winds are low.
You can charge the watch fairly quickly; less than 1-2hrs. If you sleep with your watch overnight, I've seen it drain anywhere from 4% to 10%. I think it depends on the notifications, etc. I usually turn my device on theater mode and DND when I sleep.
Around 2008/2009 I was briefly (about 6 months) employed to write Jovial and 286 assembly language for software that controlled satellite communication base stations.

Unfortunately I was laid off before I got to write very much of it, but it seemed like a neat (if cumbersome and old fashioned) language.

Information about it is pretty hard to find, and there's no open source or free compilers that I know of, but here are some links I had saved.

A 1980s style tutorial:

https://apps.dtic.mil/dtic/tr/fulltext/u2/a142780.pdf

The mil-spec:

http://everyspec.com/MIL-STD/MIL-STD-1500-1599/download.php?...

An explanation of how it came to be:

https://jovial.com/documents/p203-schwartz-jovial.pdf
That was referring to Pool / Lyft Line.

As others said, Sidecar was technically the first to the "ridesharing" model
Get an Apple watch with cellular, and tether an iPod touch to it?
Protonmail's email encrypted in the browser! Their client is open source:

https://github.com/ProtonMail/WebClient

It is main reason to use ProtonMail over Gmail.
> Not sure the "Pro" distinction will hold up for iPhone, though

It does, you need to be able to charge its cost as a business expense to be able to afford it. The "Pro" signals to the tax auditors that Apple approves of this :-)
I'm wondering... does this mean that the Pro has more battery life again than the XR, or now roughly equal?

Xr had about 2-3 hours more than the Xs I think. But the Pro now leaps by 4 vs Xs, and the 11 leaps by 1 vs Xr... So it should be about equal, perhaps Pro doing better, and the Pro Max def doing better (and should have quite insane battery life).
Build Database Relationships with Node.js and MongoDB
Is the theory that healthcare prices would drop like rocks and surgeries wouldn't cost hundreds of thousand of dollars, or do the poor just die?
Is the theory that healthcare prices would drop like rocks and surgeries wouldn't cost hundreds of thousand of dollars, or do the poor and middle class just die?
> All that being said, I personally have never bought from Apple, and think the $150 upgrade cost is ridiculous (not to mention the $300 jump from the XR, which is still $300 more than I paid for my Pixel)! So I could say the "Pro" marketing isn't working on me! But overall, they aren't hurting for customers.

I love it when people complain about the prices Apple charge, especially given the experiences I've had with customer service at Apple, so... story time!

I had an iPhone 5 when it first came out. At the time I was a heavy motorbike rider to and from work. One day when I was riding home it rained heavily (this was in England, so yeah...) and my pocket had been left open. When I got home my iPhone was completely submerged in water for at least 20 minutes.

I took it to Apple the next day and they replaced it for free. Try that with your Pixel... oh that's right, you don't have any stores to take it into world wide. Shame.

Fast forward to only two years ago...

I was in Vienna for Christmas a few years back. We'd gone through Italy to get there. During my time in Italy I noticed my iPhone 6S' battery was dropping quickly. I couldn't work out why. By the time we got to Vienna it would drop by 20% every 15-20 minutes. I found a premium reseller who took it in and replaced the battery in 45 minutes for free. I bought the phone in Australia.

Try that with your Pixel... oh that's right, you have to post your phone to the manufacturer and wait for them to fix it or replace it, a process I know to take weeks. Shame. But you saved $300 though!

I personally don't think it's worth counting the pennies in that manner given the services you're getting outside of the hardware. It's not much of a price hike at all, in the grand scheme of things.
HashCash.org anyone? Proof of work e-mail.
Windows phone is long gone because u.s. carriers refuse to support them.

One way Windows failed as a mobile OS is large storage requirements; "bloat" is one thing but a safe and reliable 'update' system adds overhead that made cheap Win mobiles marginal.
I believe easily/quick replaceable/interchangeable batteries is one of the simplest ways to make EVs go mainstream.

Yes, I know they weigh a lot, but you could have e.g. 10/20 cells weighing 50 kg each to offset that.

In many developing countries, you don't even need to refuel yourself, staff at the gas station are willing to do that for you, so you don't even need to get your hands dirty. I think gas/refueling stations should be backing this idea, before they become non-existent.

Long recharge times can thus be avoided. Price-conscious consumers can recharge over-night using a wall socket, keeping grid loads low(er).

Aging batteries wouldn't be an issue, and can be replaced, heck, even upgraded! Buy a car with 250km range today, have it go 750km tomorrow, when the tech matures, who knows.

...but all this would require car manufacturers to forgo half the selling price and work together to develop a universal battery cell, so I'm doubting this would ever happen.

But I see no loss for the consumer with this strategy though, and believe that this should be highlighted in the public discourse.
MPG of a Human
I would recommend https://www.adacore.com/uploads/books/pdf/ePDF-Implementatio... for more information regarding contracts. There are of course a LOT more, just fire up your preferred search engine and enjoy your findings. :)

> SPARK builds on the strengths of Ada to provide even more guarantees statically rather than dynamically. As summarized in the following table, Ada provides strict syntax and strong typing at compile time plus dynamic checking of run-time errors and program contracts. SPARK allows such checking to be performed statically. In addition, it enforces the use of a safer language subset and detects data flow errors statically.

Contract programming:

- Ada: dynamic

- SPARK: dynamic / static

Run-time errors:

- Ada: dynamic

- SPARK: dynamic / static

Data flow errors:

- Ada: -

- SPARK: static

Strong typing:

- Ada: static

- SPARK: static

Safer language subset:

- Ada: -

- SPARK: static

Strict clear syntax:

- Ada: static

- SPARK: static

---

Additionally, safe pointers in SPARK: https://blog.adacore.com/using-pointers-in-spark and https://arxiv.org/abs/1710.07047.

---

Cryptographic library in SPARK 2014: https://github.com/Componolit/libsparkcrypto.

> libsparkcrypto is a formally verified implementation of several widely used cryptographic algorithms using the SPARK 2014 programming language and toolset. For the complete library proofs of the absence of run-time errors like type range violations, division by zero and numerical overflows are available. Some of its subprograms include proofs of partial correctness.

---

Ada/SPARK is excellent for real-time and safety-critical software: https://www.rcs.ei.tum.de/fileadmin/tueircs/www/becker/spark... to give you some ideas. It may be a bit outdated in some regards, though, for example: "Next version of SPARK 2014 under development (pointers!).". It is already done! :)
It's not just apartments either:

Many inner-city (where electric cars make the most sense) houses do not have a dedicated garage (I am talking outside the US here). You would need to have plugs on all residential on-street parking.
It may not be obvious from the article title, but the article IS about using Ada for embedded systems programming. Here are the reasons that this is so:

1) The article is on Hackaday, a website for hardware hacking enthusiasts. Most programming articles on the site are geared toward low-level and embedded systems programming.

2) The end of the introduction section of the article ends with the line: "Ada might also be the right choice for your next embedded project."

3) The last section of the article "WHERE TO GO FROM HERE" points the reader to a related article about how to get started with Ada on a PicoRV32 RISC-V core, a small processor typically used in FPGA and ASIC designs, not the usual fare for desktop, server-side, or web programming.

Ada was designed for safety-critical, military-grade embedded systems programming. It excels in that domain and while it CAN be used for operating system and application programming, it requires a bit more effort than other programming languages because of the difference in idiomatic approaches and the built-in APIs.
> We even started building and maintaining our own chat app

God I love the Not Invented Here disease. Somebody, somewhere, thought "hey, slack is way to expensive, we don't want to get 'locked in', and 'mumble mumble privacy cloud evil stallman' so lets write our own chat application.... how hard can it be?"

Boom, now the company is straddled by a shitty, homebrew chat application that is maintained by nobody because the original author left for greener pastures. Nobody dares replace it though because that would be sacrilege. That chat app is part of the company, after all!

Arg.... I hate, hate, hate when engineers with a bad understanding of business and too much time on their hands lock their organisations into homebrew crap that has nothing to do with the value delivered by the business.

/rant
Hedging risks costs money, too, statistically.
>A preinstalled app is the reason to switch the platforms?

No. What they actually said :-

>Every damn Android phone I've bought lately has Facebook preinstalled, theres other things, but I'm done with it all.
Dang, I wonder if this makes my job search here in SF much harder now :).
I am a huge Tesla fan, but I agree with the author, this car could turn the world upside down.

A few added points. One is this car is not going to bankrupt Tesla. That's because it is selling to different markets.

The second is that battery prices keep falling, and so the price of this car will too.

The third is that other manufacturers are going to take this car apart and figure out how to make a similar one, so in a few years we will see a whole bunch of them.

I have said it before and I will say it again. After many years of wishes and slow progress, the EV revolution is finally starting to take off.
Project Tuva
Remember with iPods they kept trying to make them smaller and smaller? iPhone nano or iPhone Air please.
If your living expenses are truly exactly your income then you need to move. You’re either making really little or living in an expensive area.

If you were in say Dallas TX for example and you waited on tables for $14 / hour you would be making double the rent.

You’ve got to have a plan.
I liked the wide angle lens on my LG G6 but recently moved to a Pixel 3a. The wide angle was nice, but a better sensor is overall much preferable.
Power to them if they want to try. But I feel like there's more practical and needed work on an important and somewhat unique program like Gimp. Again - skeptical of anyone who calls for a rewrite of a codebase instead of fixing things or building new features.
“XS” seemed to me like a blunder of a name. First off, I don’t know anyone who calls the X iPhones “ten” - they call them “x”. And so XS looks and sounds like “extra small.”

Without knowing anything about the X phones, I at first assumed that XR was the top of the line X phone. XR just... sounds like a better phone.

I think they resolved this with the 11 line.
One of my university lecturers, John Rayner, worked on developing these back in the day. Managed to track down a paper he published on it which is quite interesting: https://ieeexplore.ieee.org/document/1291644
On OLED screens, the ROG "gaming" phone has an impressive 90hz. It's a little cheaper than most flagships too.
I'm a hobbyist/pseudo-pro(shot a couple of weddings) photographer that used to carry around SLRs, but have found the iPhone camera good enough to use for daily photography, so the best photography in a phone is a huge plus for myself as I can appreciate the photography enhancements.

Obviously for heavy lifting, I still would prefer an SLR with an assortment of lens options and such though.
Dual SIM came last year, and the 2000000:1 contrast ratio came in 2017. Aside from the third camera, the rest of these really are incremental improvements rather than new features.

I don't think that is a problem mind you. Lots of manufacturers are flinging shit at the wall trying to find the Next Big Thing(TM) in smartphones. I don't think it's going to happen any time soon. Smartphones in general have gotten incredibly good in the last 4-5 years.
If you need a "pro" phone but can't afford the iPhone, you could always get a UMIDIGI A3 Pro, or an ASUS ZenFone Max Pro M2, which are quite a bit cheaper.

Naturally it's just a marketing term.
Show HN: Split your Django generated models into separated files
I love how the solution to this is always: "Let's build our own thing!" instead of: "Let's just use something free and/or open source."
It’s game over for Apple. No innovation, only rampant MBA types. Failing phone and laptop product lines. Chinese phones are BTFOing them hard. No 3rd coming of Steve to save them. It was a nice run.
The thing about "at least part of your life" in that equation is that there will always be fresh meat coming down the line "just doing your time".

Also, it's OK to work hard. Work your ass off if you like. Just try not to get shafted. If nothing else it would help if overtime rules were meaningful.
This doesn't give more timing precision than previous techniques?
Dam. I could have saved them a fortune by recommending Mattermost. Maybe even got Uber to make some e2e encryption commits also :)
The worst part is that they removed it but didn't replace hard press gestures on push notifications with long press gestures.

So now on any phone without 3D Touch, which is all of them going forward, you can't open notification actions in a single gesture. Have to swipe and hit View.
GIMP (GLIMPSE?) had a number of interface and overall "jankiness" problems that, to my knowledge, it's core team never really sought to change. (I would probably have to install it again and play around with it again to have a more concrete idea of the osbtacles I remember). There was an old fork or plugin I think at one time that tried to make the interface more Photoshop-like, but I don't think it was very successful in the long run, not to say that painting apps should perfectly replicate Photoshop's interface - certainly there is room to explore potentially better alternatives. I just don't think GIMP is it.

That being said I think Krita has proven relatively successful in the domain of "open-source painting app". It has its own bits of jankiness here and there but it has grown to include a robust feature set (including some coloring tools which you won't find any analogue to in Photoshop) and has even acquired support for the G'MIC filter suite from GIMP.

As for names, sometimes people just don't know how to swallow their pride. I'm reminded of an incident with a certain Erlang package whose name had unintentionally coincided with a certain racist slur in America. When called out on this, it predictably bubbled into an argument; I think the author doubled-down on keeping the name but later just gave up and changed it to something less offensive. GIMP had the issue of people not wanting to use in the context of school computers and businesses solely because of that name, which I mean, if you refuse to do anything about that, you might have a problem.
The wealthier locations will have tax payers put them in. The money will be diverted from other places to subsidize the urban property barons.

Eventually, they'll probably charge a $20k special assessment, just like they do when they hook you up to municipal water or sewage.
Out of interest, where in EU are 5%+ rates a thing?

Here in Finland the base card-present rates of traditional merchant card service providers are around 0.3% for debit and 1% for credit, with no per-transaction fees so these apply to even small transactions.

Hmm, or maybe you were talking about card payments over internet? You might have a point there as per-transaction fees are more common there (e.g. Stripe takes €0.25).
>It was also un-American in spirit. Secret lists enforced by secret police in secret.

So like Hoover's, McCarthy's, and so on? What's more American than that?!
Firefox Reality works on Oculus Quest, it's worth a try.

https://www.oculus.com/experiences/quest/2180252408763702/?l...
Another way to phrase: "What does it take to succeed here beyond hard work?"

EDIT: and "Imagine I've been working here for 3 months and you are very happy with my performance: what am I doing?"
We do have different ideas of Pro users. I don't know any who use iCloud, which has reliability issues and is inside a walled garden. I'm as big an Apple fan as anyone, but iCloud is a joke.

I've even asked Genius Bar employees exactly how people are supposed to use the iCloud photo backup. They've admitted that they don't really know what to make of the system, which is not transparent with regard to what photos have been downloaded where. It is difficult for the average user to understand how the file-shrinking system works with photos, and which photos exist only in the cloud versus on their machines.
Those exist, and that's actually what's kind of fun about the watch - you can play with the strap structure:

https://www.bucardo.com/collections/pocket-watch
He seems like an out and out terrorist. Easy to write something like this when you haven't lost a loved one to a terrorist attack.
That's extremely fussy compared to versioning the endpoints. Harder to test, harder to implement, and delivers no real benefit.
And then you start playing around with TikZ...
He was the Democrat and once the pile on started, it never let up.
iPhone 8 and X were the first iPhones to support DCI-P3 color space.
pretty much tried them all, dextroamphetamine and methamphetamine work the best for me. Adderall has too many physical side affects for me due to the levoamphetamine which stimulates the parasympathetic nervous system. Examples being twitching, tachycardia. All of the fetamine's do the same e.g Vyvanse. Dextro and methamphetamine are the most effective at targeting the CNS, with methamphetamine crossing the blood brain barrier in higher amounts at lower doeses. Therefore methamphetamine in the form of Desoxyn has the least amount of side affects, for me while providing me with almost super human clarity.

Keep in mind that if you are taking ADD meds and looking to switch meds, some doctors can be pretty funny about Desoxyn, it's an old drug, not many know about it, and some docs see Meth and freak out. That being said, it's no more dangerous of a drug than Adderall is.
>"No one knows who first conceived the simple and extraordinary notion of harnessing the wind to grind corn, but it seems to have taken place in Persia sometime around the sixth or seventh cen­tury.

Except there was no corn in Persia in the sixth or seventh century, since corn came from the Americas.
For the first time ever I feel like I just wasted my time watching an Apple product announcement. I'm not saying those products are bad or are poorly engineered or anything like that. I'm just saying the products they showed off today aren't anything I would want.

I have an iPhone 7 Plus and comparing it to the iPhone 11 versions I don't see anything in the latter that I'd upgrade for. The best I could come up with would maybe be the watch but that's only because I have a Series 1 that is probably on its last legs. If I'm being honest, however, when the Series 1 goes I'll probably go back to my $30 Timex. $5/mo for Arcade and TV+ each is a great price but then again, at least for the latter, I'd be paying a little over a third of the price of Netflix for a fraction of a fraction of a fraction of the content. Sure they'll be adding more but nothing they have now really gets me excited to watch.

I used to so look forward to product announcements because it was like being a kid again. Looking through the Christmas catalog at all the things I'd love to have. Imagining how my life might be better "if I just had that new iPhone!" Now? Meh.

I'm genuinely sad. I feel like it's the end of a very long era.
More startups than people here with multiple black holes sucking up talent dont worry from this news

Recruiters salivating though
My intent was the entire benefits provisioning package outsourced to the government. This way irrespective of if heath coverage (it's not really insurance, which is a separate debate), paid time off of all kinds, and all other pre-tax line items are an entirely separate income stream and go over to the government managed pool of resources.

The compensation rate for all such items might thus become far more standardized, and all of the bureaucratic conformance for such items would be there as well.

This would be an exceedingly small business friendly move as suddenly a lot of the headaches of employing someone would just be paid for with a simple 'tax'.

It would also be very worker friendly as all of those things and seniority/etc would similarly be paid for with that 'tax'.

This does assume that there's a uniform allocation of resources per employee (I know there isn't today), or that there's a standard appreciation track for employees (there isn't today)... or that there might be multiple standard ranks of benefits (which would need to be more clearly advertised in job descriptions)...

However everything really would be easier for everyone if we actually had this system; the only entities that would benefit from the status quo in a meaningful way are large corporations with enough employees to justify full time HR and legal staff.
You wonder how these priorities came about? Do you not recall 9/11 or are you not an American? Scared people do irrational things.
"Rare" wouldn't be the word I would use, but the offering WeWork had, a few years ago, was unique and very well targeted to people like me: default month-to-month leasing of flexible 1- and 2-desk offices and hot desk spaces, all amenities included, at below-market prices.
Two decades with no progress for the middle class