skysight-inc/HackerNews huggingface dataset:
But when 99% of your target audience (in this case JS and web developers) already have the runtime installed, then "just copy a binary" isn't easier, it's harder.

`npm install stylelint` is about as easy as it gets. copying a binary requires you to put it somewhere, make sure your path is setup correctly, find a way to automatically install it (or put it in the repo causing the size of the repo to bloat), and ensure you are downloading the right version for each platform.

And you still didn't address the other issues. How do you know when it has an update, or a security update! NPM warns you if the author deprecates a package version with big yellow warnings when you do something letting you know it's unsupported and has security issues. A binary won't do that.

And then you still have the issue of being unable to modify the code, or even see the code on your system.

And "much better code" is subjective as hell! Go sucks to work with and read for some because it's a bit verbose, especially when dealing with errors and some of the hoops that have to be jumped through to handle or make generic functions. Rust is a HUGE language IMO, I've never used it professionally, but I've been trying to learn it and every single time I see a rust codebase I'm looking up new syntax or some other feature I didn't know about. That's not to say those are 2 bad languages, but that all languages have their downsides. JS is no different, but again when your target audience is 99% devs that use JS on a daily basis, other languages, no matter how easy to understand and use, are going to be harder to work with for them.

I'd love to see more diversity in this area, but if you are telling me to "download and run this binary" as the install method, it's probably not going to be included in an app that I manage, because there's too much extra work that has to be handled, like installing it automatically on the CI server, installing it locally for devs, keeping it up to date, checking it for security issues or problems (if the dev even reports them), and a lot more.
From an ironic American perspective, it seems the Irish have a warped perspective of what's "smallish."
Related post on my blog:

Get names and types of a Python module's attributes:

https://jugad2.blogspot.com/2016/10/get-names-and-types-of-p...

and the same recipe on ActiveState Code (from where you can download the Python code for the recipe):

https://code.activestate.com/recipes/580705-get-names-and-ty...
You do realize that citizens were allowed to vote in all number of dictatorships, right?

Being able to vote is the bare minimum for a democracy, not its ultimate realization.

The accountability of elected officials, the procedures, who and when voted for those procedures, the processes used, etc., are more important than merely being able to vote.

In fact the mere decline in participation and lack of voter engagement is also indicative of the disconnect between Brussels and the national EU-voters.

I'm more left-of-center myself, but even the right-of-center Economist put it somewhat well (if mildly):

https://www.economist.com/briefing/2014/05/15/elected-yet-st...
Sounds like the FBI is just flailing around, and latching onto bottom feeders in the smartphone components industry in an attempt to find dirt on Huawei. This case is a good example: AKHAN had 28 employees and was going on 80 in 2014, but now it only has 5 employees and has zero revenue.

https://www.chicagobusiness.com/article/20140917/BLOGS11/140...

Also, how does a startup without any sales dollars afford the services of Thompson Coburn LLP? And just LOL at Adam's final claim around disclosing the FBI investigation to help with landing a customer: do you think federal agents would have allowed him to break his non-disclosure agreements if this investigation had merit? Whole thing is pretty fishy
> Another thought about semver: a bugfix requires only a minor version bump, but IMHO this could also be breaking if people were relying on the buggy behavior. I see the value of semver, but I guess it will always be a too-neat abstraction over something that is inherently too complex to communicate in a simple version string.

I find this approach to versioning and bugs problematic, because public APIs are about the contract with the user. It's hard to work with contracts with undocumented portions. If my API says that the behavior is supposed to be one thing, and in certain cases its different, my obligation is to bring the behavior to be consistent with what my API documentation says it's supposed to do. I feel like any other position would be a slippery slope into arguing that any change in behavior needs to be considered a breaking change, and therefore there's no such thing as a patch version change.
If #fff was #f0f0f0 then it would be impossible to express pure white in the shorter notation
> people seem to be very fearful of being the guy who introduced a breaking change in a minor increment, so they increment the major whenever they are not sufficiently confident that there can't be a corner case where an API consumer would break

Again, see the point about not having a well-defined API. (Again, this is taking issue with SemVer when you're not actually practicing it. But let's say I bend the rules a bit: what you suggest is fine, really. If you inadvertently bump a major and describe what the change is s.t. I can account for whether it breaks me — that's ok. As good as what SemVer wanted, no, but still better than just arbitrary versioning. There's likely still some subset of changes that you can reasonable assume are non-breaking. A commit that does linting only? Not going to break your API.)

> Since that corner case is almost universally possible (e.g. your new API extension's names might collide with names an API consumer might have foolishly declared under your namespace

In the few languages where this is possible, it is almost always implicitly not part of the API. E.g., in Python… if you're monkey-patching members/attribtes inside another package and that causes breakage — SemVer is not your problem here. You're going to have issues under any versioning scheme.
I think the baseline people compare with is a single person who shares an apartment who may make $20/hr. Think recent HS or 2yr college graduate at their first job and being able to make do.
Engineering Uber Lite
> 1. Easier distribution (like I said, just copy a binary)

I'm not sure how your system is setup, but most of us already have npm installed and using a package manager is about as simple as it gets to distribute tools. Since it's on npm you don't have to worry about apt, brew, or yum distributions. Just the one that is already installed on everyone's machine who will probably be using this, regardless of stack or OS.

Your other 2 points are moot. You don't get to pick the tools of other projects.
I'm in the process to move Google and Facebook out of my life (to many privacy abuses). I now have my own email/domain (paid Fastmail account). This is a long process because I have my GMail email since the beginning of Gmail service.

On the phone side, I'm waiting for my pre-ordered "Librem 5" phone to replace my Google Pixel.
How to create an online store and make $1000 on your first month?
https://en.wikipedia.org/wiki/List_of_most-disliked_YouTube_...

1. "YouTube Rewind 2018: Everyone Controls Rewind"[17]
2. "Baby"[18] Justin Bieber featuring Ludacris
what's even the point of becoming cop when you don't get to kaboom bang bang ratatatata!!!!
Last I checked these companies are still worth fortunes and serve millions of developers and tech hobbyists and regular people...

How exactly are they being rejected except in the small little bubble of Hackernews?
I had the same issues.

After reading GTD, I ended up switching to the Things 3 app. I think I paid a one time $10 or $20 but it has been worth it in my opinion.

The one app I have not found yet, is one that can help me organize all the knowledge I discover online. I end up using favorite on HN and had a bunch of links in Google bookmarks. Still, its hard to find the stuff once it gets in there.
Sorry, that should have been followed with an, "As they do in China." In the US its more like, "report the issue and watch US authorities sit on it and do fuck all"
It’s common to use CNNs in practice because they get you most of the way and are so much cheaper to train/run. They are, however, limited in context to the width of the receptive field.
Reconciling Law, Ethics, and Artificial Intelligence
Once upon a time, I was in a seminar discussing performance papers and pointed out that plotting exponential data points (1x, 2x, 4x, 8x...) on a linear graph was misleading. A professor asked, "what's wrong with that?"

The right half of the graph had 3 data points, making it almost a straight line.
>The rest of the western world justifies its idiocy mostly through nationalistic, ethnic and class bigotry.

And exactly what "idiocy" is that? I see some problems with right-wing extremism in Europe lately, but the same thing is happening in America, and I don't see protests with heavily-armed neo-Nazis happening in Europe the way they are in America (much less with the nation's leader calling them "fine people").

In fact, the rest of the "western world" really doesn't seem to have a lot of problems AFAICT, not the way America does. They have some problems, of course, just like anyone, but the scope and scale seem to pale in comparison, and they seem to be getting a handle on them for the most part, instead of letting them fester or spin out of control.
Except that the program is voluntary. Nothing to “fight back” against.
I post on Twitter a lot but I don't get a cut of their revenue.
Eh, I don't think it's stupid it's just not going to solve homelessness. I'll preface this by admitting that I'm not well-versed with the problem (other than what I see), so this could be off-base and I'll feel stupid for having written this.

Understanding the who/when/where of homelessness isn't stupid - Epidemiology is a well-respected field built around just that (for health and diseases, obviously). Certainly part of solving the problem is understanding the distribution of the problem.

Does anyone currently track that information with any appreciable amount of accuracy? If so, I could definitely see this as being pointless. If not, sounds like really useful information to know.

Obviously lots of questions and suspicion here makes sense, like why it's a private company and not an NGO, why they can't anonymously track this information, etc. but "tracking whereabouts" is also a feature of many epidemiological studies.
Diatomaceous earth doesn't work well in wet areas unfortunately. Bug bombs are useless.
https://njal.la/

/me: No affiliation with them.
Because it gives you the greatest range, from 00 -> FF. That way you can represent full black and full white without either looking grey.
>Other than that narrow scope, the law has no business being involved.

I would disagree there. The personal rights of the people who are being deepfaked (both provider of body acting and the face) are violated unless you get consent from both. These personal rights in my opinion also trump any free speech rights as these people have their own, more important rights to their body and images thereof.
Organizing R Research Projects: CPAT, a Case Study
I think that case is fine since that is already covered by laws which punish harassment and malicious defamation. It gets more complicated if you account for celebrity.
well, they're as dangerous if you use carfentanyl. if you just use tear gas or something...
I find much more crazy that your party allegiance comes out, and that those records can be harvested by apps to harass your friends/family/employees etc.
Per the racial bias comment, that does sound somewhat dismissive of the concept. Recognition performance and imposter/genuine dists as a function of country of origin are explicitly measured in a few places within NIST's face recognition verification tests after all. Certainly dynamic range can play a role, though my impression from other results makes me think that is an oversimplification.
I wanted to check out the menu at a local pizza place the other day and this was my experience:

1) Menu link, one of two important things on the entire site (the other one is hours) is buried in a hamburger menu

2) The menu is implemented as a fixed-size page designed for an iPad Mini (which they use as menus at the tables)

3) Different types of items (appetizers, entrees, pizza, drinks, etc) are in a horizontal bar across the top, with large font size. Since it's a fixed iPad Mini width, this scrolls horizontally. Less than half of them are visible at a time.

4) Individual items are listed by name, thumbnail photo, and price for each size. Want to know what toppings are on their "Eighth Street" pizza? Click on it! Then click to close that and click on the next menu item. Do this for each pizza, then try to remember what the one that sounded best was called, and probably go through half of them again to get back to it. Super efficient way to find which pizza you'd like.

I think the restaurant understands in concept that they should have a website, but I don't think they care to think about it beyond that.

EDIT: I just revisited this and you actually can get to the menu without the hamburger link. It's designed as one of those pages where the content is centered (vertically and horizontally) with a bunch of white space as a full page thing, so it doesn't look like you'd need to scroll, but there's actually more content (including a second link to the menu) if you try scrolling down.

I'll blame this partly on Apple for taking away the always visible scroll bar indicators and partly on this stupid web design trend of giant "paginated scrolling" pages that don't look like there's anything running off screen that you'd need to scroll to.
SAIL | London, UK | Onsite, full-time.

Sail is a fast-growing digital marketing agency from Oslo, Norway, which is now setting up a second office in London (London Fields). We’re already working with some of Scandinavia’s biggest brands on improving their customers’ experience online through a combination of creative flair and in-depth data analysis, and hope to grow quickly internationally. Website: www.sail.no (not translated yet, apologies).

We are hiring: 1 Performance Marketing Expert (Search Specialist) and 1 software/web developer (JS, React, Wordpress).

As a Search Specialist, you’ll be working with online marketing through various channels, as well as marketing strategy for clients. You need to have either education or experience within digital marketing, SEO, Google Ads and Google Analytics. Additionally, experience with Facebook Ads and/or CRO (conversion rate optimisation) are great additions.

As part of Sail you’re encouraged to spend 30% of your time on your own projects which we will help support and build with you. We’ll also provide insurance, required hardware, and a competitive salary.

If you have an questions, or would like to chat about details over coffee, reach out to chris@sail.no
To anyone wondering about carbon buildup on direct injection, my best (although generically broad and not 100% perfectly accurate) explanation is this:

Traditional fuel injection systems spray a fine mist of fuel in such a way that it washes over the valve(s) from the top of the engine cylinder, which has an added effect of “cleaning” off some carbon/particulate build up that naturally occurs. Direct injection variants typically inject the fuel mist more directly in the cylinder, in a tighter time frame to the piston reaching its optimal position in the firing cycle, with the injector(s) generally placed in a position where they are not wasting as much fuel bathing valves and such, which can lead to carbon buildups that wouldn’t normally occur with more standard fuel injection systems.

To those that know much better than me, I apologize for butchering the explanation and do feel free to correct my poor explanation- no offense will be taken.

I have an F-150 EcoBoost and have been a lifelong gearhead. I was worried about carbon buildup on direct injection and spent some time researching the motor before buying (I bought a used 2015 in 2018, so lots of factory bulletins and long term maintenance feedback). It seems to not be too bad of an issue _but_ an additional mitigation step can be taken by installing a two stage oil separator inline to help capture the materials before they build up. It’s popular enough that there are direct fit products for many makes/models of autos with DI, as well as universal fit. I however, have seen no conclusive long term studies to the actual effectiveness of them long term.

That being said, I could see how it would be effective and after installing my collector kit I have seen no obvious negative consequences. Fuel mileage, perceived performance, objective dyno performance have all been the same or slightly (very slightly) better.

Yes, I did spend time (1 month) collecting before and after data, and I have access to a rear wheel dyno to collect as objective data as I could.
It's interesting that the reviews also touted the fact that a "your money back" guarantee was offered. ISTM that very few people would trust a money-back guarantee from a counterfeiter.
ASP.NET Core: Saturating 10GbE at 7M Rps
You just reminded me of a really good point. We already have "previous examples" of people trying to make CSS tooling in another language!

sass was written in ruby originally, and it sucked so much to manage and work with for many devs that they literally re-wrote the ENTIRE thing in Dart so they could gain the benefits of the JS ecosystem (like npm)!

It isn't a compiled language, but it is an example of someone having done this at least once, and ending up regretting it to the point that they spent multiple years rewriting it in a language that compiles to JS and deprecated the ruby version.
It’s not made up, Bloomberg acknowledges it.
https://www.businessinsider.com/bloomberg-reporters-compensa...

FTA:
We asked Bloomberg about the practice. A company spokesperson acknowledged it.

"It isn't news unless it's true. At Bloomberg News, the most important news is actionable. That means we strive to be first to report surprises in markets that change behavior and we put a premium on reporting that reveals the biggest changes in relative value across all assets."
They did train recovery scenario on simulator and know how plane should behave (based on old model knowledge) - now it behaves differently. All you wrote is they should ignore it as not important detail and stick to the checklist.

Unexpected situations are always extra cognitive burden.
The Moscow theater attack had 850 hostages in a wide-open area, guarded by 40 CRI terrorists. The gas pumped into the building was also rather violent, some Fentanyl derivative IIRC. That's not even remotely comparable.
I love the interactive nature of the Defcon unofficial hardware badges. https://hackaday.com/2018/08/14/all-the-badges-of-def-con-26...
When anything in a 737 moves the stabilizers, physical wheels in the cockpit loudly turn right next to the pilots. In the case of a stabilizer runaway, it's really obvious. (See https://www.youtube.com/watch?v=3pPRuFHR1co&t=154)

MCAS is just one of many different systems on a 737 that can automatically adjust the stabilizer. Because there are so many things that could be the cause of the problem, the checklist procedure for any runaway is just to cutout automatic control of the stabilizers.

Here is Boeing official update to all 737 MAX operators after the crash, which boils down to saying "follow the checklist, dummies".

http://www.avioesemusicas.com/wp-content/uploads/2018/10/TBC...
I used to love the Web and APIs. Still think it’s great.

But I think it’s far superior to download software (Merkle trees) onto your own computer automatically and run it in a sandbox with your own data, while doing end to end encryption. That way you don’t worry if the API goes down or starts charging more or the database is hacked and you don’t have to jump through holps to get 1000 keys for each new project. Also you can resell your project to regular people who can host it themselves without them jumping through all those hoops. And finally, hosting should consist of provisioning space in a giant abstract cloud that holds encrypted data, no need to set up Linux instances or whatever.

Which platforms are doing that?
Random hack: the most consistently good olive oil i’ve bought in the US has been Costco own label.
13 Things Mentally Strong People Don't Do by Amy Morin
I imagine that, at some point, any specialized management of a 'social feed' will be considered human experimentation that generally leaves the people consuming it to be worse off mentally and emotionally. We already know that Facebook has done what are considered experiments against the wellbeing of users, but there is no real gap between that and trying to adjust the behavior of users in order to keep them on the site. Once that adjustment has been made, then a closed-source curated social feed becomes illegal, as it should be, IMO.

I think that the only way to manage a social feed is for it to be really dumb: blocks, maybe best friends, etc. Of course, once you do that you've basically returned to email.
Import collections.OrderedDict as you would have done beforehand. There are still some differences between them.

(Dicts in 3.7 and ordered dicts)

https://stackoverflow.com/questions/50872498/will-ordereddic...
> “There are so many questions I would have liked to ask him,” said Wesley Gillespie, a Secret Service agent who chased Johnson for a year. “How did he learn to make these so well? Who taught him? Where is the bitcoin?”

The Dark Web is very educational

Its the real HackerNews
I'm not a LEO but it seems pretty obvious. Better to take him somewhere he's unprepared rather than somewhere he could potentially have laid traps or have an early warning system like cameras.
Making FR more 'perfect' will also allow the less desirable regimes to go after their dissidents in a more 'perfect' way, there are some historic implications that might have changed the balance completely. Now, of course there is such a thing as the distinction between the tool (say, a hammer) and its use (say, hammering a nail in), and the alternative uses that those tools are being used for.

The people at Google and Facebook are slowly figuring out that their data driven perfect future may not be one that they themselves (or their descendants) would like to live in. Face recognition for computers enables a whole pile of use cases that are downright scary and I would love for such tech to be stalled as long as possible.
Ok, we get it, “serverless” doesn’t mean “without a server.” its a misnomer. Can we all accept this now and talk about it underneath the semantics or does someone have the power to change it industry-wide?

Just feels like every discussion about this technology is hijacked by the stupid nameto the point it’s all some can focus on.
Doesn't work all that great on fleas. We had a bad flea infestation and it basically took my wife on her hands and knees with a can of Hot Shot flea killer. Bug bombs did nothing. Took us nearly 2 weeks of this to get the area clear, but it eventually worked.
This doesn't make any sense. FreeBSD never had a desktop environment, so how is Apple ripping them off by not giving them the one they made?
because the payment would be in bitcoin, can't counterfeit bitcoin.
Seems to me that perhaps this should be a Show HN since it's submitted by the creator.

Also, for me the main link won't actually display and I can't be bothered to track down why, but the Github source (https://github.com/gto76/python-cheatsheet) displays just fine.