skysight-inc/HackerNews huggingface dataset:
> By the definition of murder, I believe my statement is accurate

Murder implies intention. This would be more akin to involuntary manslaughter since there's no reasonable expectation that the intent of the lie was to cause death (or any physical harm for that matter). This doesn't mean he doesn't deserve punishment, just not for murder.

But the fact that you believe something to be correct would serve as mitigating circumstances at best since the very definition you quote describes something completely different from what is being discussed.

> the crime of unlawfully killing a person especially with malice aforethought

> to kill (a human being) unlawfully and with premeditated malice
I grew up in a "blue" part, and visiting third world countries opened my eyes to, "maybe there is something we are doing right in the US".

(The exaggerated liberal perspective being, we're doing it all wrong & screwing everything up. The exaggerated conservative perspective being, we are perfect and changing anything risks ruining everything)
Having worked with React Native and Xamarin: wherever platform specific problems come up, there is some sort of "escape hatch" you can use to tailor to it.

Still room for improvement but it's not so restrictive about the common denominator.
Debug C/C++ Programs in Docker Container
Well it's pretty easy as Telegram doesn't encrypt anything at all and stores all contacts and message history server side.

(yes, there is a secret chat feature which is encrypted, but unlike Signal it can only connect with a single client and you can't even choose which one so it's very frustrating in practice when chatting with people who have more than 1 client setup)
> semen: Valid

By the way Semen is the way the Russian equivalent to Simon is spelled officially. There is quite a number of Russian men who have just that for their first name in their passports. I once met one, he worked as a developer and people were making fun of his name.
"..best for google.."

If google gave a crap they would put a phone number to that email so you can talk to a human and resolve any issue. From numerous conversations in HN and iRL, everyone who has a spat with the G-people is royally screwed. A true hostage.

What you suggest would be great for the user. But why would google care for that? You broke their rules, you have to pay. Here, have some pain.

I don't blame them for having rules. I blaim the G-users for accepting them and giving google all this power, that is often (and stupidly) mis/ab-used.

On the other hand, I have to admit that for less technical folks, having all-in-one is a life saver. Vast majority of the member of this forum though do not belong to that group.
E-bikes are wildly popular in the Bay Area
I love that other companies have sustainable alternatives to Google services. But these articles looks more like hype train and doesn’t really add any new value for me.

You are not building something new switching from one big corp to another small company that want to become another big company next day.

Probably I’m getting old but I remember times when Google doesn’t exists. We had software for files, messages, calls, calendars etc. It was based on different protocols, may be less secure and more naive. But it was ok for these days.

There is life outside of Google, and always was. May be for “millenials” you need to be brave to leave this circle, but I don't getting it. What is so special in using other providers? Is it just... normal?
I've always been skeptical about the Arrow. It's always claimed it was so far ahead of everything else, yet it never demonstrated it. An airplane is much more than having a few air-worthy airframes. It's being able to produce them reliably, service them and have them serve a real purpose on the battlefield. The Arrow achieved none of these goals.

To me it always sounded like misplaced patriotism surrounded by conspiracy theory: "Look, our airplane was so far ahead that the program had to be shut down by the number one superpower because they felt threatened" is ridiculous when you look at it more closely. From looking at it many years later it simply sounds like it had no purpose once the landscape shifted to ICBM and that potential buyers were not completely certain the program could survive on its own. That and the lax Canadian immigration policies probably scared the buyers as the company was apparently suspected by many to have already been infiltrated by communist nations. Judging how the plans got in someone’s basements, it sound they were not crazy to think that…

The really shameful chapter of Canadian aerospace is the CSeries yet It failed to get mainstream media coverage. Unlike the Arrow it reached production and had healthy sales numbers. It was Bombardier's second clean sheet design (after the Global) to reach market and had the potential to be stretched to seat counts comparable to smaller 737 and A319.

President Trump levied tariffs on it and that's what prompted a takeover by Airbus. What did the Trudeau government do meanwhile to protect it -and by extension Canada's aerospace sector? Nothing. Absolutely nothing.

I'm confident of one thing, that Airbus has the full support of the European Governments (especially France) and that Boeing has the full support of the Canadian and American governments. It's just sad that our own companies can't have a similar red-carpet treatment. I guess Bombardier was maybe too Quebecois for Trudeau to touch...

Doesn't matter anyways, from what I heard the engineering has already moved from Canada to France for the plane's next generation!
Is there a reason it's named after the Smooth-billed Ani? (Not saying a reason is needed!)

https://en.wikipedia.org/wiki/Smooth-billed_ani
You realize that the alternative is telling people to spend the rest of their lives in an irreversible, elaborate fantasy LARP? One which potentially comes with its own burdens and eventually leads to permanent sterilization?

I'm not saying don't treat it. I'm saying hormones and plastic surgery do not make a woman, and more sane treatment would acknowledge this fact and teach coping skills much in the same way we are forced to treat conditions like autism, drug resistant depression, and any other chronic disorder with no cure.

A treatment which is based entirely on indulging delusion is no treatment at all, and the bottom line is that you don't get to decide how your gender is perceived. The vast majority of men have no interest in dating or marrying transgender women and it's a disservice to those with gender dismorphia to pretend like they do. What happened to past messages of learning to accept who you are and be comfortable in your own skin? Why stop here? Why not prescribe plastic surgery to teenage girls who don't feel that they're pretty enough for their gender role?
> It's night and day how much better Telegram works when you have multiple devices

Bears repeating. Telegram is just so much better than any alternative service if you have multiple devices connected simultaneously. Wire also does poorly.
I have never understood using a gmail.com account for anything important.

It’s always been inexpensive enough to buy a domain and have an email address associated with it.

I also don’t understand startup founders who tie personal emails into a business email account.

Keep a separate email.
Embodied intelligence seems to break this mold, in principle. I believe the principle to get good priors is called reinforcement learning, and that currently the problem you describe is called inductive bias. Or maybe I'm just pushing your goalposts to something I can talk about...

There are some really brave ideas being kicked around among the researchers who focus on their passion of AI, as opposed to those who post ever higher benchmark scores. They don't optimize their algorithms because they feel the algo should be serviceable out of the box. Cool stuff is happening.
One big way I prevent this from happening is to treat classes as interfaces to data structures and keep everything that isn't about accessing the data elsewhere. Conversions to other data types go somewhere else. In fact I don't want my data types depending on any other data types at all.

When doing this any of this repetition or evolution can stay out of the data structures themselves so that they can be reused without irrelevant baggage.
Love the idea! got a few feature ideas e.g. scheduling tweets, analyzing your followers based on country/city

Don't you think it's a bit pricy?
If security is something you’re looking for, “Firefox plus some ancient, unmaintained legacy code and patches jammed in by random third parties” is not substantially more appealing than just Firefox by itself.
I am such a huge fan of Big 'Ol Switch Statements over using polymorphism/types/generics/whatever. So easy to understand, and it's all there in a huge scrolling list of cases. If something needs to change, it's easy to change it, and you know what else is affected.
Not really, it becomes very difficult to remove a phone number from an account and anyone who gains access can use various account recovery mechanisms which rely heavily on access to that number for authentication.
> If someone spends a week or two writing a patch and you come in and rewrite it in an evening, that, in and of itself, is telling me something: You think your teammate is a worse coder than you, given you were able to solve it with "cleaner" code. You assumed that your solution was better, without talking to the person who authored it to see if they did things that way for a reason.

The time they spent developing the solution is a sunk cost. The only thing that should matter is whether the afternoon rewriting it is the most productive use of your time.

Also, rewriting something is far easier than writing it from scratch. Just because you can rewrite it quickly doesn't mean the original developer didn't save you a bunch of time by letting you see a workable first pass.
Ignored throughout comments insofar is the fact [®™|©] that LOC is a material which has actual weight and cost.

Code is being read, reviewed, commented, linted, compiled, test-covered, read again, contemplated, diffed, documented in weird diagrams, mentioned in READMEs, revisioned. More LOC = more places for dust and rot to accumulate and more places for bugs to hide and stick. LOC is the environment under which bugs prosper.

So having less code is a legit, noble, and to some extent practical state to strive for.

A smaller house is faster to clean.
Clean Code sounds like a virtue, but it wasn't ever supposed to be a primary goal, it's more about disciplined with the code you write. Architecture and Design are more fundamental.

Removing duplication is most often about Design. Very easy to introduce unintended coupling if the only motivation is to reduce duplication. Coupling, Cohesion, Composition, and Abstraction are generally more important concerns than clean code. Sometimes simply by trying to remove duplication you find a better design, but sometimes you don't, sometimes you tangle your design with couplings that don't really make sense. However, after your higher concerns are taken care of, you should keep the code clean.

As a sidenote, what the author did by going to extremes and then backing out of it is actually a really good exercise in learning some of this stuff. We are fond of our "rules" for producing good software, they often encapsulate key insights. But there are no real rules, there's just the vast interacting world of these insights and how they play off against each other and how we socially interact with others with often similar but slightly different insights to create software as groups. It can be done many ways and should be a constantly evolving thing.
The downvotes in this section clearly show the real state of browser technologies and the few choice one will have if they use an alternative OS.

Brave and Vivaldi are still forks of Chromium, Waterfox is a fork of Firefox. Thus you are not going to find any updated alternatives like those on the BSDs anytime soon.

Meanwhile, WebKit-based browsers doesn't seem to suffer from the overuse of dependencies and multiple languages nor does it have packaging hell unlike Chromium and Firefox.
> But to be honest it really bothers me when someone tries to make perfectly fine and readable code into something different just to satisfy some weird intellectual urge to make things more abstract.

They obviously don't think it's "perfectly fine" or that their changes are some "weird intellectual urge" or they wouldn't do it.

It's a subject for debate, and to make your case to that person, you need to do better than vague claims that what you're doing is "fine" and their idea is "weird."
They do, and the service is called, drum roll, Google Takeout.

https://takeout.google.com/settings/takeout
I took most of the companies from the who is hiring thread, every four hours the app parses the landing page of each company and add new jobs.

So every day around 40 new jobs are added and a few that were closed by the companies get excluded
What's almost never discussed is how RIM and Nortel refused to compete with Google & Apple and Cisco in the case of Nortel for talent.

I've heard of many engineers at RIM making the jump to their competitors but the opposite was never brought up. Seeing how their first touch devices turned out almost 2 years after the iPhone feeling like they were 4 years behind, it was easy to see that not competing for talent lead them to have the B team in charge.
Ask HN: Search Engine Selector below address bar
Rather than always having to switch my default search engine by going through some settings, wouldn't it be nice just to have a set of buttons that I can configure that appear just below the search I make in the address bar? I type in whatever keywords I want, and then I click the icon for the search engine I want to use. For example if I want to search Amazon products, I can click on an Amazon button. If I went to search the Chinese search engine Baidu because I just type something in Chinese that I want to search for, I can do that. And then perhaps if I do nothing, I could just hit enter and get a Google search if that is my default. What would be wrong with that? How do I get this technology? It seems easy enough.

And my default search engine could still display autocomplete possibilities below these buttons.
> Well, in that case, why do it now instead of waiting until “the future”? If it’s needed in the future, the cost is not more than it is now.

They're familiar with the code and its gotchas when it was written. In "the future" most of that context will be gone (people forget stuff, and change companies/teams/roles).

Better to get rid of the gotchas before you get burned.

> If it isn’t needed in the future, then he’s wasted his time.

The new version was still more readable to newcomers, and resizing stuff is pretty core functionality for a drawing program.

> If something similar is needed, but it needs to be refactored in a different way, they are going to have to refactor it

A second pass of refactoring tends to be easier than a big ball of mud. And in the worst case, they can always inline it and start over from the same state.

> There is no special case “trap”. Business requirements necessitated changes.

When requirements change you can either start adding special cases or rethink how it fits into the bigger picture. That matters in every layer, but it's especially important in the UI layer.

Unless you want to end up with an unusable Apple-style hodgepodge. In that case, go wild, I guess.
Good Idea for Investing
That second link actually made me spit out coffee for the first time in my life.
I think GP is implying the thing you're not going to need is a generic solution to the repetition. i.e: DRY is in fact a feature.
I’m guessing test and prod are highly-segregated to prevent improper data access. Remember when one of the app-based taxi companies had employees who spied on their exes via their system? I’m guessing they beefed up security to mitigate the insider threat risk.

Regardless, your point still stands. The product manager should have gone through whatever process was needed to pull down a limited set of production data to test against. Or the engineers could have logged exceptions in prod before making the filter active.
I agree, and I think that people are too emotionally invested in the package manager concept to back out now. I mean, for years Linux proponents have been touting it as the key advantage over software distribution on Macs/PCs.
Chromium runs on OpenBSD.
Datadraw is not an ORM; it is more comparable to a statically compiled Redis. So it is far less flexible, but it is very efficient/fast.

One of the purposes of Datadraw is for instance to build SQL databases on top of.
This is 100% is on mozilla, given:

- it's much bigger and resourceful than openbsd maintainers.

- it decided to adopt this fancy update policy, and instead of making it easy/seamless, left it up to the whole open source community to play catch up.

Well played.
That’s funny, because Paris in general is pretty dirty city compared to other European cities.
My takeaway from this is "do code reviews".
> That would be the role of a filesystem

No, the role of the file system is not to track how changesets are organiced into branches. That's the responsibility of a VCS like Git or Mercurial or Pijul. The VCS is the interface and whatever it does with the file system is an implementation detail that's abstracted away by the VCS's interface. Similarly, patches are only relevant as an external interface of the VCS, and one that users have no good reason to use.
"Duplication is far cheaper than the wrong abstraction." — Sandi Metz (https://youtu.be/8bZh5LMaSmE?t=891)

This talk by her is one of my favorites ever. Her ideas definitely made me a better programmer.
I know, but it seems from the author's post that they were just locked out completely with no option to use google takeout to retrieve their photos etc.
Outside packages should NOT be disrupted given semver. The whole point of using shared objects (dynamically-linked libraries) is so that when a problem arises you can update whatever pieces of code in a centralized, system-wide store and every single one of the projects you use can benefit from the new, up-to-date version. Using the latest version is just the right thing to do.
Fortunately, objects in modern GC are almost guaranteed to be layed out sequentially in memory of they are allocated sequentially or if they are referenced sequentially and a GC pass has run, because of the way copying GCs work. The much bigger problem is the memory and CPU overhead of storing pointers and following them, though that should be mitigated somewhat by the prefetcher.
That was my thinking with going with MerlinWRT. I splurged and got an Asus ax88u, then spent two weeks trying to get it to work before returning it.
I do think part of the issue is WiFi technology is diverse enough that the latest and greatest are optimized around 5Ghz and newer specs whereas a lot of IOT (which I use) is still old school 2.4.
Anyway I tried OpenWRT for a while but went back to DD-WRT on an Archer C9 which has been just about perfect for my usage.
Ask HN: downsides of using Wikipedia as a source?
For many new topics, things, places, categories, I'll look to Wikipedia for an overview. Have you experienced any downsides to using Wiki as a source?
This is a meaningless checklist; the only actual useful advice is to get the word out at meetups and such. The way you hire a data scientist is much the way you hire into any other team.

If you have a data scientist who is worth anything, he should be given responsibility for building the DS team. If you don't: you probably shouldn't hire one. If you must: hire one with experience, if necessary, as a consultant to build your DS team.

Putting physicists at the top rank is also a bad piece of advice; people with experience are at the top rank for DS. If it's pure fresh meat, you're better off with applied math people than physics people (and I am physics people).
So, how much does a song license cost?
This reminds me of the coastline paradox: https://en.wikipedia.org/wiki/Coastline_paradox

Specifically, due to the fractal nature of a coastline the length diverges to infinity. The theoretical length at the infinite scale is infinity.
The news story is that the cop told a lie that caused a person to kill themselves. There's no bias to that; it's a simple cause and effect. The news story doesn't even really editorialize it. It's just what happened. I don't see how paying police more would mean they're never cruel.

And by the way, if you're wondering why he killed himself over this: if he was a drug addict he was probably in trouble with the law a lot. He's probably used to being harassed by cops (hard to say without knowing his identity, but seems pretty likely based on how the law treats addicts). There's a decent chance if caught he was going to get into a lot more trouble than the average person, especially if he had been in and out of the system.
> Too much mass immigration to anywhere would be undesirable, but for economic and population density reasons. I am skeptical of the idea of the idea that culture is fixed and immutable.

There is clearly more to it than just economic and population density reasons. Culture matters. Consider, for example, that female genital mutilation is now a European problem. Or that Europe today has de facto implemented Islamic blasphemy laws - where people are afraid to criticize Islam publicly for fear of being murdered. Or that the number of rapes has gone up significantly in Sweden, with more than 80% of rape assaults being carried out by foreign-born individuals? (https://en.wikipedia.org/wiki/Rape_in_Sweden) Or that 52% of British muslims believe that homosexuality should be illegal, and that close to half of British muslims believe that wives should always obey their husbands? (https://www.ipsos.com/sites/default/files/ct/publication/doc...)

So mass immigration can clearly change society for the worse outside of simply economic and population density reasons.
> You directly see when and where it happens, and the fix is usally straightforward.

This is not true in most dynamic languages, especially ones where I/O is not typed. You have to be extremely dilligent about verifying input. JavaScript comes to mind.
I’m a rust fan, but garbage collection is about removing having to think about memory management from the developer almost entirely, not about performance.
Yes, I have watched the video, all the way to the reset in the end.
Dumb solution with a blunt hammer; why not run Firefox in a container like Docker?
I largely agree that hands on experience is much better than book learning. I hope higher education moves towards this model instead of lectures.

However, in some jobs you do need a basic understanding of terminology and history. But probably 6-12 months of concentrated book learning is more than sufficient rather than 4+ years.
What you describe is what Firefox browser already offers by default: https://imgur.com/a/CZeUiSe
DuckDuckGo’s bangs feature is not far away from this - ‘!auk Harry Potter’ will search for Harry Potter on the Amazon UK site.
Nothing in science is ever proven. There can only be accumulating evidence and increased agreement among scientists. If something were to be considered proven, then we would not be open to re-interpretation if contradictory evidence were to appear. This would be anti-scientific.
Why do you say it's illegal? Google is not a covered entity under HIPAA as far as I can tell, is it something else?