skysight-inc/HackerNews huggingface dataset:
No, I didn't. I gave a counterexample where capitalization matters in English. It does not follow that this distinction ever matters in file names. In English the sentence, "The president of the company is rich," has a fundamentally different meaning than the sentence, "The president of the company is Rich." But when naming files, or choosing identifiers of any sort, if you have two distinct identifiers whose difference hinges only on capitalization, then you've chosen your identifiers poorly.

In other words, the fact that capitalization actually matters in English on occasion is a bug, not a feature.
I believe Shopify is built on Rails and is (or was) a Rails monolith. It's worked well for them.
No, we had natural devaluation. Most resources, hoarded away, will spoil. Everything has an expiry date, even social capital - do me a favour today, and I might return the favour tomorrow. But by next year I'll have forgotten about it.

It makes sense, really. Why should finding a old penny under the floorboards, nearly worthless when it was minted, make you rich?
>Recall the number one reason startups fail is they run out of cash.

Is it that or is it because a lot of start ups always want to "grow" at all cost? It is be possible to have a small-medium scale business and organically growing it out, but obviously if you take investor money, they want max return in shortest amount of time possible.
>> I’m not suggesting that we give up React and es7 and go back to writing server-templated web-apps like it’s 2012 again

Actually I have gone back to server-template development using Django for selected projects, after many years working with React, which I still love.

Server side templated development with Django can be extremely fast in terms of development time, very direct and effective.

There no need to use React for all the things.

Sometimes React is the right tool, sometimes server side templated is the right tool.
I think it is true that it takes a lot of practice to develop implementation skill but that is largely optional in cs. You can graduate from cs programs with no implementation skills and only the ability to talk about programming.
Yes, but Jimmy Johns takes it to the extreme.

If they can't deliver to you in 5 minutes, you're SOL.
You mean the entire Linux kernel source tree? No. What happens?
It's more like saying most men who die in their 20's die due to excessive risk taking.
It's too bad nobody got the memo they can stop now.
Rails is used heavily even for new projects under the GOV.UK umbrella. The emphasis on accessibility and usability of government sites/applications weigh in favour of more-traditional stacks.
I would go one step further and say we are less than a year away from a global meltdown.
There's a question of if a service which pre-filters (to editorialize) content from a user is actually qualified under 512.c at all -- since the content is no longer at the direction of the user, but at the editorial approval of the service.

An anthology is not exempted under 512.c.
> why that is

We as a profession seem to be perennial victims of availability bias.

We're naturally going to think of the stuff we've been reading about lately on the Internet first. Which is just never going to be the established and stable stuff that'll let you get your job done without producing any blog-worthy experiences in the process. "Went home after 8 hours without producing any fodder for war stories" doesn't make for an interesting tweet, let alone post on Medium.
One interesting thing to me about Tone.js has always been that their “Transport” API is a more reliable interval/timer tool than any of the native JS APIs or even libraries/polyfills designed around more accurate interval timing. I’d almost be surprised if I wasn’t wrong about this but I searched and couldn’t find anything quite comparable.
Facebook and Google were both profitable when they went public, which is a big difference between Uber and Lyft today. They were merely not as profitable as today.
I re-read section III.D and I think that either interpretation (yours or mine) could be derived from it. It is not clear.
Comparison shopping arguably isn’t the intended purpose of advance care directives—which, FYI, can only go into force if the person is legally incapitated, and being in pain, however extreme, is a grey area as I’m sure you could make the case that decision-making capacity still exists. There’s also the issue of having the agent available when such an event happens, and having them be in possession of the directive.

Anyway, even then, it’s infeasible to enumerate all the possible decisions in advance—not only is it impossible to know what your costs will be ahead of time, there’s a lot of variation in cost. There isn’t going to be a single hospital in your region that’ll have the cheapest prices across the board, so it’s not as simple as “send me to the cheapest hospital”.
You’re going from TypeScript to Ruby?

Having tasted the joys of static type checks combined with a unified front/back data model, IMHO, that’s unthinkable.
Performing a double blind test on whether meditation can help you avoid pain would probably be unethical. Most of the claims about meditation are not verified.

You could certainly expect to avoid some pain by meditating. Maybe you picked up a coffee cup that is a little too warm, and you just "mind-over-matter" through it. Sure.

But if you got shot? Well, I can't imagine a scientist is going to feel comfortable actually testing anyone claiming they could meditate their way through that.
It definitely isn't a feature! We just never got around to putting it in!

I do take pull requests :D
This is all just about adverts. The BBC is gearing up to include ads in podcasts served to users outside the UK (some of you might have noticed them on their podcasts, I've heard them on a few episodes/podcast with no discernable pattern [they might be A/B testing]). The BBC needs listening metrics for this to be the extra revenue stream they hope for as well as being able to change out the ads for individual streams.
I see a list of companies with low unit costs that used investor money to cover fixed cost and a (mostly implicit) list of companies with high unit costs that used investor money to buy service from subcontractors for resale with relatively little value-add. I suppose PayPal doesn't quite fit that bill (but I don't really have much of a mental model regarding PayPal - did they do sign-up gifts in the early days or is that my failing memory?)
That's already common in Portugal and Spain[1], I'm guessing Italy has its fair share as well.

[1] Here are some tourists paying to carry grapes to the house: https://ep01.epimg.net/economia/imagenes/2018/09/09/actualid...
And when has anyone ever had trouble with that? ;-)
New Bill Would Stop NSA’s Mass Collection of U.S. Phone Data
You are confusing different things. Decay diagrams report energy released and elements generated when/after the atoms start decaying and how fast. Decay diagrams can't predict the exact timestamp when a particular unstable atom will "lose the grip among their components", burst and split in a waterfall of other radioactive elements. Statistics say that unprobable events are rare, but still possible.
React Native, 3 years later
The university where I'm studying for my MS uses such a system and, interestingly, has it integrated into their course management system such that I can actually see the reports on my own assignments. I've noticed that on a number of lengthy papers I've turned in it marks nothing at all, which is conspicuous considering that I tend to quote from other literature very heavily.

I'm not sure if the plagiarism service is just not very effective or if the fact that I turn in mostly LaTeX-generated PDFs is causing a problem with their text extraction. I actually suspect the latter, because a couple of times I've turned in MS Word files it's marked one or two random phrases as suspect.
With so many people abandoning Facebook for Instagram or Twitter, perhaps G+ was just before its time.

Not many people were on it. Well, except the Dalai Lama. He rocked it!
'Like another planet': Malham salt cave is world's longest, say researchers
for websockets, django has django-channels https://channels.readthedocs.io/en/latest/ . But I do agree, django has been a little late to this party.
She wanted to. By then I was tired of all the games. Not my thing.
excellent exploration of this idea in the wonderful history book “The Secrets of Alchemy”.

the author actually followed some alchemical recipes which were thought to be nonsense. yet under the right conditions (using iron implements, bad control of temperatures, impure materials) they produced results that must have seemed miraculous at the time — fluorescent materials, elaborate crystalline structures, and so on.
I disagree. The USSR was as bad as it he said it was. That said, I strongly reject Solzhenitsyn's religious and political philosophy.
I guess "the grass is always greener on the other side" fits perfect for any career change pattern.
This is missing the complexity to a lot of music. Swap "music" in your post for "books" or "software" or "human interactions" and maybe the skipped complexity becomes obvious. What if the key ingredient to someone's music is a long over-arching structure throughout the song of highs and lows following the emotional progression of a predictable 3-act story? The software would need to be capable of recognizing and synthesizing and tuning that kind of high-level element and surely many others like that. Even songs that are made up of a few repeating tracks overlaid probably have high-level qualities like that the artist tweaks the setup until the end results meet the high-level goal they were aiming for.

I'm sure a musician who was also a programmer who understood their own tastes and creation process well enough could currently create something like this for a specific genre, but I think we're very far from a one-size-fits-all generator.
coming from the django-world, i had the same complain with rails. It was a little too fast for a me.
Forth is really a kind of assembly language for a virtual machine, and not really a higher level language. It looks higher level because it doesn't have registers.

Register machine languages are "catenative" also. We can take a "mov eax, ebx" and catenate that with "move ecx, $foo" in any order we want. We are constrained, though, because different sections of code use different input and output registers (or combinations of input and output registers and stack locations and such). Forth makes those conventions uniform, and that leads to some degrees of freedom which give it a higher level flavor.

The thing to do is to make some higher level language that uses Forth as a VM; then you have understandable code.
How researchers discovered we have “two brains” [video]
Show me merchants who trust Bitcoin enough to accept it directly, and not through an exchange.
I think there's a case for those companies surviving like Expedia and Orbitz, a staple of the business they are in but nowhere near the stars we made them out to be. The resizing process will be painful mostly for the rank and file, investors and founders will do alright.
The only thing I give to Google is its security. Search HN for just Google[0] and the threads are all things regarding the company's decisions/politics: shutting down products, abusing their Chrome monopoly, Google Play, etc. Meanwhile, you can search for Facebook [1] and all of the top stories are related to infosec/data breaches, actual crimes like the research VPN (although Google also did this, be it more transparently), etc.

I'm not saying Google is perfect, they did have the Google+ API leak. You can hate Google for their decisions all the same as being able to hate FB for their infosec (or, better yet, hate both of them for the ad targeting) but I'd rather have my data stored by Google instead of FB.

0: https://hn.algolia.com/?query=google

1: https://hn.algolia.com/?query=facebook
BCIT (near Vancouver, Canada)
Dark matter experiment finds no evidence of axions
They'll tell you it's ended, but it'll never really end.
What exactly does "unauthorized" mean in the context of spare parts?
Forgot to respond to your:

<< we also recently added support for rack/location awareness in a series of patches including
https://github.com/apache/kudu/commit/ebb285 >>

Nice! We too ended up adding similar support for multi-AZ/multi-region aware replication configurations starting here (https://github.com/YugaByte/yugabyte-db/commit/c0ced5dd934fa...)

regards,
Kannan
I am not sure it even uses the term airframe correctly. And it is not faulty. Probably case of we have not had a boeing bashing hot take in 48h find someone that speaks vaguely pilot lingo and interview him.
I will have to get a driver's license if this thing crashes. I am part of the problem why Lyft and Uber lose so much money. I have been so lucky that Uber and Lyft became ubiquitous just when I was about to get a DL. I decided against the headache and costs of maintaining my own car. Never got a DL and kept using ride sharing services everywhere. Also, kept switching between Uber and Lyft based on who is offering me discounts that week. Seems like my VC funded lifestyle will come to an end if some new investors don't buy the ride sharing story.
Fascinating - was not aware of the nuances and power behind Bitcoin key generation
I have never had issues with accidentally brushing the trackpad because the palm detection is great. A large trackpad is a selling feature of the laptop.
If you were suffering from a life threatening illness or injury, would you choose to go to a hospital that refused to use any plastics?
I'm really surprised they didn't think of this scenario.

Is anybody aware of how seeds fair when being stored in zero gravity and zero oxygen environments? Curious if storing on the moon is a viable secondary option.
Shopify, Github, Gitlab are all built on rails. Even Twitter was on rails in its early days.
Marketing-Stack.io: A curated directory of marketing resources and tools
I studied electrical and computer engineering in college. One of the classes was a hardware/software codesign class. There was a graded lab component, i.e. We had to design and build a circuit for the given purpose, hook it up to a bare-bones computer w/ a 68K chip and write assembly to drive the circuit and pass a set of tests.

Each lab was typically booked as 2 3-hour sessions (one session per week). I lived off campus, and the commute was about an hour, in good traffic, so I wanted to minimize the number of times I had to go to campus.

Unlike the students that lived on campus, I was methodically prepared walking into the first session. I'd probably have spent 6-8 hours on a weekend working on the lab. I was meticulous. I designed the circuit using Visio (obviously can't simulate, but I was concerned with layout), so I had precise diagrams of the circuit.

My diagrams matched the layout of the bread board, and my physical implementation was clean (wires were always just as long as they needed to be and never longer). I could take the diagram and literally check off wires as I placed them (and my wiring was clean).

I had my 68K assembly written ahead of time and was generally bug-free, though some debugging was needed from time-to-time.

I was generally in and out of lab in 15 minutes of what was supposed to be a 6 hour session. After a few rounds of this, my TA suspected I might be cheating and he walked up, ripped out a bunch of random wires from my circuit and told me to fix it. I chuckled, said ok, and I pulled out my design, replaced the wires and checked them all off, plugged it back in and it passed. He was dumbfounded. He sort of had a "Wow, a student that's actually prepared for lab for once" kind of look on his face.

He never bothered me again.

I think the TA was doubly surprised because I also had a habit of obviously sleeping during lecture, dead center in the front row.
My bad. The recommendation at Google is to use publishReplay + refCount precisely for that reason, but surprisingly there's so little public documentation on e.g. the publishReplay rxjs operator, that I decided to go with what was ultimately more prevalent online.

Probably worth fixing that though, and creating those resources out there.
I just held down the enter key. Not sure if that's cheating.
For those in the JVM world, is grails good to look into?
The VC curse: five funded startups becoming modestly profitable cannot compensate for five failures, but one stellar hypersuccess can compensate for nine duds and more.
I was just playing with Amplify the other day. I was super impressed with the graphql codegen. I think the Rails comparison makes sense with the exception of the vendor lock-in. I haven’t looked at the Serverless framework very closely, but I know it’s not tied to AWS. I wonder if that’s a better comparison to Rails?
I still write Rails applications regularly, some applications I've maintained since 3.0 to 5.x.

What's amazing, is I booted up a 4 year old project in minutes the other day at work. A co-worker was interested in using the project, it took 15 minutes to setup clean.

Overall, I find Rails is easily more maintainable and definitely enjoy it more than the Django and Flask apps I write regularly. Javascript (Node + React/Angular) breaks all the time when upgrading, so maintaining it is not super fun either...

Here's a project I wrote in Rails and deployed late last year:

https://hnprofile.com/

Works like a charm!

I even recommend Rails to new people starting out because I think it sets best practices.
It means it's everything but the kitchen sink: heavyweight, difficult to learn and use, and full of features you don't need.

It has nothing to do with popularity being bad. In general that's good a thing, because support is better (and rails does have terrific support), but it does exert a feature-accretion force.
Harsh but true. Requiring advanced math classes as a gatekeeper for comp Sci is also massively exclusionary and totally pointless because the vast majority of programming jobs require no math at all.
This is being built out as we speak!

https://www.linkedin.com/feed/update/urn:li:ugcPost:65120040...
> Think about how difficult it can be to read a number over the phone.

Same thing is true for words, there are words in my native portuguese that are dificult to tell from each other even in person, imagine by phone. If some one misunderstands a word and it's valid on a combination?

For example (in portuguese), Paca.Tatu.Cotia (Paca.Armadilo.Agouti in english) can be misheard as Maca.Tatu.Quati (Stretcher.Armadilo.Coati in english). What if both combinations are valid, but thousands of km away ?
Really? You can’t think of any reasons why he wouldn’t say that?

How about: because he was hired to take the company to an IPO, and they’re selling a growth story in that IPO.
I am about to join you.
True. You’ll loose some productivity but not as much as jumping ship to a complete JS stack. And I’m saying that as a full time JS Dev. The author is completely tearing out rails for JS without giving a solid reason or context for it.
> joys of static type checks combined with a unified front/back data model

Would you mind elaborating on the specific benefits?
Couldn’t you have the same person in multiple circles?
Uber agrees to buy Careem for $3.1B in biggest ever tech deal for region
Verifications.io Leaks Personal Records of 2B Users
It's the Golden Rule: He who has the gold makes the rules!
LoopBack 3 was terrible - complicated, added no value, encouraged creating vulnerabilities, had lots of obvious vulnerabilities in official components. LoopBack 4 looks pretty different, but I wouldn’t trust it to be good unless the entire team and philosophy behind it has been replaced.
Facebook’s handling of Alex Jones is a microcosm of its content policy problem
I personally don't missed Rails mostly because boilerplate doesn't really bother me. I'm more afraid of using the wrong abstraction.

Rails (v4 was my last experience) was hard for me and I think my reasoning is as follow:

- I like to dig deep into the framework I work with but Rails have so much meta programming (a.k.a magic) that I struggle real hard figuring out stuff. You often have to go into runtime, hit method and see where it lead you to and after a while, I realise that I'm not going to see the bottom.

- If you are someone who like to dig deep, the documentation wasn't helpful for me at all.

- ActiveRecord for a while discourage using foreign key. When I move away from Rails, I tried SQLAlchemy and love that its unopinionated. Then I move to node and agree its ORM are less powerful but I learnt to love SQL. ActiveRecord for me shouldn't be any more than just convenience ORM and shouldn't replace SQL, that goes against Rails' ActiveRecord philosophy which claim these constraints should be at the model side rather than DB side. https://guides.rubyonrails.org/active_record_migrations.html...

- Lastly, I firmly believe MVC is a leaky abstraction. Any variations of MVC is just shifting the complexity around, not reducing it. I worked on Rails, worked on iOS (which uses M-V-VC). The pattern I see is that almost every year, someone will get bitten by vanilla MVC, tried some variants unsuccessfully and conjure a new variant; the cycle goes on. MVC is a 20 year old pattern, it have amazing insight into how we should build application, but its implementation always fall short after so many years.

Ultimately, I don't think Rails was optimised for someone like me. I think there's just fundamental differences in philosophy between me and Rails.
Google Cloud (and the other big cloud providers) have their "Always Free" tier where you can host a static website forever. This does not include you own donation of choice though, but solves hosting.
Django has multiple good asset handling libraries. I like https://django-pipeline.readthedocs.io/.

And with django-channels (https://channels.readthedocs.io/) Django goes way beyond just WebSockets. You can now do fully asynchronous data processing pipelines.

I'm still happy working with Django (which is not something I can say about the JS ecosystem). Especially when doing APIs with Django REST Framework.
Why not Sinatra + ORM in that case?
My thought was that it was always older style cellphones with detachable batteries, and careless user dropping phone, detaching battery, and -that- caused a spark, not RF emissions.
They are being spied upon by having their location data sold be carriers. They did not sell their location themselves. For all intents and purposes, they are conducting acts in a private setting that is being violated upon.
Man I haven't used Guake in a long time!
> They'll tell you it's ended, but it'll never really end

The number one hurdle to changing these laws is apathy. A narrow majority of Americans oppose mass surveillance [1], but the intensity of their support is weak. Meanwhile--anecdotally--those who intensely care about the issue are largely apathetic. As a result the other side, which is equally opinionated but less apathetic, wins.

[1] https://www.pewresearch.org/fact-tank/2015/05/29/what-americ...
I'm uncertain when the contracts will begin to be listed, but I believe the minimum is 5 days after IPO.

Personally, there's quite a few unknowns that would deter me from entering this trade off the bat, as I don't usually trade IPOs. I don't really know what the short pressure on such a stock would be immediately after IPO. Ideally, I'd want an expiry less than 30-45 days away since I'm selling but, I'm uncertain that's enough time for this trade following IPO. I might execute it after seeing what happens at IPO for a few weeks or so. (edit) Of course, that may be far too late.

Also, I think it would be a hot stock for people to trade against, so I expect the spread to be reasonable, but the pricing to be extremely aggressive, which means the potential upside may not be enough for me to want the trade.

Options are all about timing, sooner may not be better.
Depends where you work, but if it's related to Kubernetes, service mesh ect ... Go is pretty popular nowdays.