skysight-inc/HackerNews huggingface dataset:
OOP is too vague, let's talk about related features which are clear. (To me the 2 most important are inheritance and mutability, I won't mention that "protected" magic at all.)

Inheritance has too easy syntax to avoid "accidental duplication" (pieces of code seem similar on short term but eventually differ on the long run) without creating a new common abstraction to depend on: even before realizing the introduced dependencies are unnecessary but now even deeply entangled.
Because in its core what might just happened is "raw" code(text) reuse instead abstraction reuse. "Code duplication is better than wrong abstraction." Or "Write code what is easy to delete."

You might keep adding and adding until you won't be able to substract, because you have to check every dependency back and forth, and there are no layers of abstractions but a constant change of [meaning] with the hope of usefulness in future infinite far away. Additionally intermediate level classes also need names (and meaning...) which makes the naming problem constant and might even blur the clear lines between the originally clear abstractions. The language of our system/domain consists of the relation of individual abstractions, we can't just overload every word and/or litter with unnecessary ones.

It's also a question to decide when to write a class and instantiate instead of just using an adhoc "anonymous" object and use a necessary pattern like factory function or some delegation (like parent class) later if needed. (Ofc. classes might be created later as well, but weird enough it goes the other way around in my xp, maybe its just me, ruined by noob Java 1.6/C# habits gained at the first years of university).

It's too easy to find wrong abstractions with inheritance, too easy to blur good ones, and too hard/exhausting to delete them.

Reflection on the thread:
I think I'll focus more on the proper naming of functions "DO"s instead of "WHAT"s, because DOs must have clear intent to drive the design/architecture.
Yes SF has one - not well known but you can reach out to Mike McCarthy https://twitter.com/michaelmccarthy
Tech Group: Fund IT/CS, Not Dead-End Cosmetology, Fashion Design, Culinary Arts
1) one doesn’t need a whole lot of English to program (assuming training or docs are available in one’s language)

2) If you use a non-English language you can’t make good use of existing code out there so any gains are none or negative
Javascript is messy but it's everywhere and has gotten significantly better with recent versions. Typescript is just a different flavor offering strong typing and other features, just like Scala or Kotlin can also replace Java if you want.

This particular hack is absolutely nothing you have to worry about, just like esoteric performance tweaks available in any language stack. Write the JS you need and use it. Then profile and optimize as necessary.
OOP was a huge trend in the 90s and I think a lot of devs have learned from experience the ways in which it kinda sucks..

- It doesn’t do great as the code gets older or more complex. Google “fragile base class problem”.

- Inheritance doesn’t do a good job of modeling most real-world problems. Most situations don’t map into a simple “class Dog extends Animal” kind of hierarchy. Steve Yegge’s “the kingdom of nouns” is a great rant on this topic.

- OOP actually requires expert-level knowledge to do right. It seems like it’s beginner-friendly but that’s kind of deceptive. If you’re using inheritance then you should understand Liskov substitution, otherwise it’s not going to work well. And if there’s generics involved then you might need to understand covariance vs contravariance, which is also a beginner-hostile expectation.

Imo, out of the newer languages, I really like Golang’s take. Interface-heavy, no inheritance, and some nice sugar around composition. Dunno if I agree with their lack of generics but I understand the choice, generics create a lot of complexity.
Gravity definitely plays a role in biology - blood flow is probably the most straightforward example.
Do you mean to imply that projects with only a handful of people are worthless? That's how I read it. You might want to rephrase it if you don't mean that?
"it is possible to physically write-protect both EEPROMs [the boot EEPROM and the VLI EEPROM (USB controller)] via a simple resistor change on the board." https://www.raspberrypi.org/documentation/hardware/raspberry...
Word shape is not a well-supported theory of reading. Very skilled and practiced readers are still going letter by letter.

"The result" is that if you pull people off the street and ask them to read capitalized or lower-case text, they're slower at reading the capitalized text. People like pasabagi want to leap to the conclusion that that means reading capitalized text is harder. That conclusion is unjustified; the rest of the result is that the difference in reading speed disappears after a small amount of practice. Lowercase text is more common. But obviously that can't justify the choice of a writing system; any writing system will be common if it's in common use.
In Tokyo, I'm not really trying to escape the heat. I'm trying to escape the humidity. So 26C sounds about right, and that's the typical setting I use there.

In California, I'm actually trying to escape the heat, which sometimes gets as high as 46C here. The setting on my home AC is 22C.

I guess my point is that your preferred AC setting can differ greatly depending upon the outside conditions.
It depends on the intonation: / = rising, \ = falling

"Do you want /pizza or a \burger\?" = XOR

"Do you want /pizza or a /burger/? = OR (as in programming)

It can make a good (though well-worn) joke to answer the XOR version with "Yes."
A bunch of different ways probably. This method is stolen from SO (works for Chrome):

const detect = () => {
var fs = window.RequestFileSystem || window.webkitRequestFileSystem;
if (!fs) {
console.log("FS check failed..");
return;
}
fs(window.TEMPORARY, 100, function (fs) {}, function (err) {
console.log("Incognito");
});
};
I think it's that you're unlikely to be alive at a time when only 100 humans had been born so you probably wouldn't be doing the calculation. Or, put another way, if you did do it then, you'd be in the minority of people who got the wrong answer. It's taking a sample of 1 (ourself) from the entire history of all humans. If that one person is randomly chosen, they're most likely to be alive in the fat middle of the population history, not at the thin tails (assuming there is a thin tail at the end?). I'm not sure how picking ourself is random though, maybe because we didn't decide when to be born?
Relevant discussion: https://www.reddit.com/r/bestof/comments/c7gfxj/american_guy...
Learning Deep learning in 3 months
Ask Conway?
The spec isn't proprietary, you can download all 482 pages of it right here[1]. It's just that a USB controller needs firmware and none of the vendors making USB3 controller chips have open sourced their firmware. Most chip vendors are not exactly huge fans of open source and likely consider portions of the firmware to be trade secrets.

[1] https://www.usb3.com/whitepapers/USB%203%200%20(11132008)-fi...
One thing I think is OOP works pretty well for GUI type programs. But has little advantage when building networked service infrastructure. So during the desktop era OOP was ascendant. Now we're in a distributed data processing/storage/retrieval/service era. In particular data is ephemeral and not 'owned' by a particular service. So it doesn't make sense to start attaching local methods to it.
> but your experience seems to be the outlier

I'm not sure that follows just from adding your own ancedata ;). I've made my share of mistakes at every job, and haven't gotten managed out. What will get you fired is consistently under-performing, persistent personality conflicts, or repeated negligence without visible improvement.

Your company might be too lazy to have any sort of formal training program, but that cuts both ways - they'll be too lazy to hire a replacement if you're showing signs of improving, too. Your manager probably has too much on their plate to train/mentor you themselves, but I work places where coworkers like talking shop, and will generally be happy to share advice, techniques, thought processes, etc. - especially if it means they're enabling you to take things off of their plates to get more stuff done.

Now, granted, this isn't everywhere, but it's far from being OC's "unrealistic" either.
> In this case, the cause remained personal rather than political, and was not dragged onto the field.

The cause was literally politics. The difference is that it didn't step on anyone's jingoism. (I'm not sure what else to call people getting frothing mad at someone not standing during an anthem.)
> - Facebook built this, yes, but they do not have full control. In both governance and validation, they have 1 vote of 28 (currently, the number is supposed to go to 100 by launch). Will Facebook have the largest deployed Libra wallet? Yes, at least initially. Can anybody make a Libra wallet? Yes.

The Ethereum hack and the subsequent actions have already put holes into the decentralized - no one controls anything - argument. In Ethereum's case we at least had two chains existing because everyone can run whatever chain they want. With Libra, a corporate product, you can bet that though it looks like Facebook doesn't have any significant influence, covertly they will control the largest vote share. If not, there is no point for them to build this product.

> This isn't a data play, it's very clearly a play at getting a bunch of people in developing markets that can only pay with cash right now the ability to pay online.

The rise of mobile banking through e-wallets like WeChat Pay, upcoming Whatsapp Pay, Google Pay, Paytm etc are already breaking down the barriers to banking. People often don't need banking accounts to use these ewallet products.
New data shows depth of U.S. mental health crisis
> Because when attacking your parent poster, you neglected to explain your argument

I can't force someone to understand something that they do not want to. More than enough people have written, much more eloquently than I, about why electron is bad. None of the critiques I've seen are 'because it relies on an expensive network system'.

EDIT: Hell, even if we assume that the critiques are about "expensive networked system"s, Electron is still incomparable to Xorg so the root-parent's post is making a false comparison.
Surgical Safety Checklist
You're talking about the early problems using Class 10 cards which has been solved for a long time now.

The Pi 4 upgrades the SD controller system (almost entirely) and is SD50 compliant, which means the SD card bus is roughly twice as fast as older models.
It's great to see someone putting so much thought into this. I've been coding heavily in hires (320x200) mode the last few weeks on this platform.

Having the memory banks swappable has all kinds of fun quirks. For example, although the VIC-II could address many different 8K memory locations for the hi-res screen, only four are okay, because others would be the character ROM ($1000 and $9000). Therefore, people tend to put the music code at $1000.

Also there's only one color memory for all the character mode pages and character memory is the color memory for hires mode!
Common mistakes made by beginner Python programmers
A measly 2 megahertz the world has never missed.
The government department standardizes on Azure but all the young devs push for Linux servers so all their shiny toys work great.

Windows is truly dead on the cloud and has been for a decade. The only thing people use it for is self hosted exchange, and file servers and active domains - legacy stuff.
> As someone who is used to a room temperature of 20C

Depends on what you are used too. Depends also on the ambient humidity levels since it affects how you feel at the very same temperature.
Headspace app has worked well for me too. I have been using it for more than 3 months, meditating for 20 mins every day and I feel calmer throughout the day.
Daily+Deal-Letter+Awesome+Night+Sleep
The Orange Pi uses Mali Graphics, which _may_ (I'm not certain) have a proprietary RTOS on it.

I do know that The Raspberry Pi has a RTOS for the VideoCore GPU, and it is based on ThreadX RTOS, which is proprietary and used on "billions" of devices. The RPF will never be able to make that OSS.
The ideal language is flexible enough to be multi-paradigm, i.e. it allows you to use OO or procedural or functional etc. as needed/desired, but doesn't force any one of those on you. It gets back to something Paul Graham said[0]: roughly that having "ulterior motives" is a bad trait in a language, and I would consider "getting dogmatic about the paradigm they want you to use" to fall under that. But Rome wasn't built in a day, keep that in mind too, specifically concerning newer languages. Sometimes something isn't there but it's on the roadmap.

[0] http://www.paulgraham.com/javacover.html
I've been on the short end of re-orgs. I get that for the good of the business that some of the changes needed to happen, but where it really hurt was it came across that management didn't know what we were doing, and made it seem unimportant/useless. They shifted the focus of the team to a thing that literally every single member of the team the previous week said they didn't want to work on, and in a few months realized someone needed to focus on the original thing and tried to shift back. The company prides itself on internal mobility, by that time every person but one had quit or transferred.

I don't read it as self-organize, cause then everyone would choose to work on the new shiny, but there should be some amount of discussion that happens as input to the reorg, rather than too late when everyone is gone.
The cell is not a natural homogeneous mixture obeying the laws of free energy. It is actually a densely packed collection of mechanisms designed to subvert free energy and selective cause otherwise improbable reactions to occur. It ought not to be a surprise that some of those mechanisms do not work so well outside the standard uniform gravitational field we experience.

But that is not to say that there isn't another set of mechanisms that could work without the influence of gravity. You can see this in parallel with human construction: stairs don't work so well without gravity, but ladders work perfectly fine.
Better code search leads to better child trafficking prevention
Google Duplex might make my design job redundant
You want GANDI.

They have been well known and respected in the RIPE (https://www.ripe.net/about-us) and Free/Open Source communities for something like two decades now.

My personal vanity domain goes back to 1995, and I registered it through Heller Information Systems, back when they were one of the biggest BBSes in the world. But every domain I’ve registered since then has been exclusively through gandi.net.
Not all blockchains are created equal. It is the proof of work algorithms that accompany most blockchains that are extremely energy hungry
The story of how Sequoyah created this is a good one. He knew of the technology of writing and saw its power but essentially did a clean-room re-implementation of it.

The first incarnation was closer to Chinese or ancient Egyptian in that he tried to create a different symbol for each word. Then, after creating over a thousand symbols and still being far from his goal, he went back to the drawing board and took a purely phonetic approach.

Not being literate in English, he simply borrowed sritten symbols he saw, including numerals. Ultimately, the phonetic-based system was a success and spread through the Cherokee nation quickly.

Humans have only invented writing independently two or maybe three times. It's amazing how much easier it becomes just knowing such a thing is possible!
Not really. Elsewhere in this thread, people pointed out that there's a clause in the contract that allows this. So whoever was higher up probably told them (rightly), that it was a service that restaurant owners wanted. I mean, who doesn't a free website generated for their business? They'd need to dig deep to find how it was harming the business.
Moore's law was about transistor counts which have continued upwards, though not at the same place recently. Saying that Moore's law has been long dead because serial performance has not increased by many orders of magnitude is a severe misunderstanding.
The Great History of Unix – 50 Years of Unix History
In fairness, it appears to use proof-of-stake[1] which has issues of its own, but doesn't use the TWh of electricity that proof-of-work does.

[1]: https://althea.net/whitepaper#blockchain-overview
https://www.nasa.gov/mission_pages/station/research/cciss_fe...

https://en.wikipedia.org/wiki/Hemodynamics

etc.

Yes, gravity is, by far, the weakest force. None-the-less, it is a force, and definitely effects all sorts of things at all scales.
20C is rather freezing to me.
GraphQL: The Documentary (Official Release)
Hi,

I’m working on building a banking related startup. We’re mostly working on UI design and regulatory compliance right now and will start on actually building the prototype very soon, but I’d love to talk more about it. Probably not video material yet but we can at least open a channel of communication. You can reach me at ashutoshraiofficial[at]gmail[dot]com
Not only limited to amateur radio novices who are new to the hobby; during emergency/disaster relief, the 2m VHF amateur bands are the among the most used bands due to how inexpensive the radios are. By creating an ad-hoc network used as a failsafe when cell towers and internet services could be offline for an indefinite period of time, civilians are able to save lives when police and and EMS are allocated at their capacity. I also personally enjoy using these bands because it's able to travel well throughout a medium-large city fairly well on a clear night.
It reminds me about reading articles about a topic of which I'm an expert. First I notice all the errors and then I realize that every article must be like this to their domain experts.
Heating to 18c is different than cooling to 20c. When it's hot you're typically wearing lighter cooler clothing and are more comfortable at hotter temperatures. When heating it's the opposite, you're wearing warmer clothes and better suited to cold.

Humidity also plays a big factor. In the southern US, most people have their AC set to between 23C and 25C during the summer and somewhere around 20C in the winter. In more arid regions the temperature settings creep up because you tend to feel cooler when it is dryer.
In related news, the FTC sued and won a $1.4 million settlement [0] from a concert ticket company in 2014. They basically place search engine ads that sound like the venue, and use a domain that look like it should be the official one for the venue.

Remarkably, this company is still operating and still doing largely the same thing in violation of the consent decree. I found out about it when my mom tried to buy tickets from the Hult Center in Eugene OR, and lost $500 on 'hult.centereugene.com' thinking it was the official venue.

[0] https://www.ftc.gov/news-events/press-releases/2014/07/ticke...
This is a pointless exercise. The money, brainpower, and effort being spent on this should go to fixing real problems we have here on earth. Children still go hungry, people are dying of thirst, and a bunch of nerds are spending millions to circlejerk over supposed cosmic events that have 0 impact on us. Hell, if we have to have a focus on space why aren't we doing something useful like space elevators, asteroid mining, or monitoring for potential incoming impacts. This is the definition of "Who cares?!"
It is literally not. Here is a definition of racism:

prejudice, discrimination, or antagonism directed against someone of a different race based on the belief that one's own race is superior.

I don't believe Chinese nationals are inferior in any way to me.

I do believe they are (currently) the enemy of western democracies and more specifically to the country where I currently reside.
While technically present at all scales, gravity is so weak that you can ignore it until you get to pretty large scales. Meters or so. An ant barely feels gravity, a bacterium or a single cell don't even know it is there.
Minority rule by whom? Do you think for one fevered second that your minority will be the one to get its way? No, you hanging from a tree in Gilead is about a thousand times more likely. Please go study the history of aristocracies, theocracies, and colonies where minority rule prevailed, and pay particular attention to how someone like you would have fared under them.

Majority rule is imperfect. Constitutional limitation is imperfect. Federalism is imperfect. That's why people have spent centuries trying to devise systems that use all of these tools in balance against one another, because the alternatives - autocracy or anarchy immediately turning into autocracy - are far worse.
Yeah, that's definitely true in my family at least. Radiating space heaters are one good solution to this problem since they allow you to warm up without requiring all the air in the room be heated up too.
He's right, GP sounds condescending.
Brand Pivots That Were Successful
>I'm trying to escape the humidity. So 26C sounds about right

>, I'm actually trying to escape the heat, which sometimes gets as high as 46C here. The setting on my home AC is 22C.

wait what? how does the weather outside have any bearing on what your comfort temperature inside should be? i mean, if you think 26C is comfortable, why would you need to turn it down to 22C in CA, where it's probably even drier?
Yeah not really
The first sale doctrine might save them.

If I buy your patented thing from you, that exhausts your patent rights for that copy of the thing. If I modify it, and do something you don’t like with it, you can’t come after me under patent law.

Note that I didn’t say anything about contract or copyright law—they may have signed something saying they wouldn’t reverse engineer the chip, or the sale could come with an end user Eula to that effect.
A postal address?
I’ve used both Android and iOS (Android: Nexus 5, OnePlus One; iPhone: iPhone 6S, most recently iPhone XS). I use Android devices for my work on occasion as well.

Try both - if you find that you like the iOS UI and experience, I’d say use an iPhone; otherwise, get an Android and customize it to your liking.

- Basic stuff works equally well on both. You can reply to notifications now on iOS (since a few versions back), you can have a global content blocker (I use 1Blocker, which works great). Sure, all browsers embed the same WebKit engine, but that’s not the same as all browsers being literally Safari. Firefox works fine and I sync most of my stuff there.

- If you’re a dev, side loading is equally easy on both platforms, but being a dev on iOS requires a Mac. (And money; IIRC apps sideloaded from free dev accounts only work for 7 days before requiring a reinstall?)

- Get an iPhone if you want something to use for a long time; iPhone 6 (2014) is still perfectly viable for most things and runs the latest iOS 12. (Custom ROMs exist for old Androids too but those can be iffy sometimes)

- For customizability, I run Pythonista on iOS, a paid (but worthwhile!) app that puts a full Python interpreter on your phone. You can install a shell environment (I use Stash) and interact with all the iOS APIs. You can sideload whatever custom code you want and run it. Heck, it even supports CoreML and NumPy, so I even used it to train and test ML models right on the phone recently.

- The hackability of Android is nice; some of my work involves replacing kernels to get at low-level hardware, and that’s absolutely impossible on iOS.