skysight-inc/HackerNews huggingface dataset:
This looks cool, a common workflow of mine is `cmd --blah --blah ` ah damn I don't know the value for blah, okay, fzf ` --blah=(blahgen | fzf) ` oh I'm also missing [...]

This seems like it can help do the same thing more quickly, so I'm keen to give it a go.

I do like shell history though, a shame to just have a bunch of `navi` entries - I wonder if it could be faked; populated with the chosen command afterwards?
Thanks for releasing that Denis.

Combining both cheatsheets and a better UX is brilliant.
Wish I had this years ago when trying to wrap my head around the shell.
Try http://p3rl.org/DBIx::Class in perl sometime.

If you're on your own using a view of all the simple shit, you're using an awful and pointless ORM.
Clustering in Machine Learning – Google Developers
I don't think that's unusually bad. I'm especially annoyed once they seem to have spent more than I gave them just on postage to me. I don't understand it.
Human-in-the-Loop Learning of Qualitative Preference Models
Actually Manning (regardless of first name) was not really good friends with Adrian.
My guess is your machine was compromised before clicking on a 13-G filing, or possibly during depending on the website you were on.

Consider your machine compromised, at the least. Try to pull down a virus scanner, malware scanner and see if it will find anything. You may also have recent browser extensions that could have been compromised.
Packages on Nvidia's Ubuntu repo appearing signed by an unknown private key
Uber is good only for Uber itself and (temporarily till the collapse) the customers. It is a SCAM for drivers and investors.

caveat emptor.
> My contention with ORMs is that, if you need to know SQL, just use SQL since it prevents the need to know how non-SQL gets translated to SQL.

I feel the same way about Wiki syntax as ORMs.

While SQLAlchemy is great for getting the DDL done, my SQL-fu is such that I wind up just using SQLAlchemy as a glorified connection manager while I construct the SQL strings directly rather than muddy up a sophisticated query by translating it into Python.

The same holds true for Wiki syntax. If I'm already proficient at HTML, it buys me precious little to use this 'easier' syntax if sometimes I'm in Redmine, sometimes I'm in Confluence, or wherever else I land.

Just let me code the page already!
Intel 7 nm ~= TSMC 5 nm.

TSMC is definitely in the lead; maybe Samsung is #2.

https://en.wikichip.org/wiki/7_nm_lithography_process
Yes, yes, yes.

Why is this the case?

1. If you are doing anything interesting, people are going to ask questions about what you are doing, and the best way to answer those questions is going to be by querying your database.

2. One day you might want to rewrite some of your service/s, split them into microservice/s, etc. At that point, there will be a minimum of two services talking to your datastore: the legacy service and whatever you're replacing it with. I suspect any alternative to this arrangement will be an even worse idea, e.g. taking a deliberate outage to perform a likely-irreversible migration.
“Huawei's latest flagship smartphones unveiled this week will not come with Google services or apps, although they still function like Android phones as they run on the open-source version of the operating system.”
Try to use Firewall to protect your computer
It appears that he deleted a listing from RubyGems, a (the?) package distribution platform for Ruby. Yes they probably have several copies, but now Bundler won't work until they re-host & re-register the gem. Deleting from RubyGems was probably more impactful than removing it from Github.

I'm unfamiliar with how Chef works, but I wouldn't be surprised if a `bundle install` was part of the workflow. Maybe someone else with more experience here can fill in some gaps.
In terms of wiki syntax, HTML is just so damned noisy that I'm fine with Markdown--but mostly because Markdown is fairly standardized and I don't have to learn a totally different syntax for everything.
i upvoted them to counteract your own superficial knee-jerk judgement and ignorant hypocrisy.
The leadership has definitely shifted to Taiwan. TSMC 7nm is roughly equivalently to intel 10nm. At leastTSMC first version of 7nm. But TSMC is now well in to ramping their 2nd/3rd iterations of 7nm. And ramping 5nm soon-ish, now this news on 3nm.And Intel has stumbled badly on 10nm, they are now years behind where they wanted to be. Intel are still launching new high end skus on 14nm through 2020. They are shipping 10nm in some volume, but with evident problems still on frequency binning and yield.
And people were asking what good parameterizing over all instances of Functor or Applicative can do.
Can’t you just remove the sim?
As a note - I've done a lot of SQL in C#, and Stack Overflow's Dapper[0] library is _fantastic_ for dealing with that. You can pass in all the SQL you like, or a stored procedure, and it deals with virtually all of the query parameterization and boilerplate around getting results out of the DB. It's saved me hours of tedium and typing.

It's the perfect micro-ORM. Eliminates boilerplate, gets out of the way otherwise.

[0] https://github.com/StackExchange/Dapper
Google Says It's Achieved Quantum Supremacy, a World-First: Report
Maybe a good time to discuss the importance of software licenses, particularly copyleft? It's funny somehow folks running businesses always talk about applying proprietary licensing for their outputs assuming they have perfect control over their inputs.
Cool tools to leverage human effort in effective ways.
I’d love to see a “smells like homework” tag or review queue
to catch the questions that sound a lot like homework assignments from first courses in programming, so willing respondents can more readily draw out the querent’s understanding. (“print the squares of the first 10 integers”, “swap the first & last line of the input”,
and similar)
I had a similar experience and finally just asked them to stop texting me and take me off their list, which they did.
The people pushing the message of "evil ICE" know that it's actually about personal responsibility. That's not the point, though; the point is advancing the progressive no-borders agenda.

You know how I keep my kids protected? By not crossing multiple countries' borders with my children, ignoring international asylum law (must seek asylum in the first country you come to), and obeying the law in my jurisdiction.
I'm a novice in color theory yet I understand the importance of colour palettes for my projects. I've used a bunch of palette generators over the years. With my basic skill level I can typically create a decent 'original' palette in around ten minutes.

I just tried Colorbox and I managed to produce several good palettes and very few bad ones. Perhaps the UX and algorithm is nicely geared to users like me. But I'm sold.
Composible ORMs (for me, AR+Arel, this was about 4 yrs back) let me write some of the most magical, legible query code I have ever seen. I could create and reason about subqueries with highly dynamic filter options and pass them around and wrap them with outer queries, all in. perfectly readable code. Glorious.

Of course, for complex analysis like in specific periodic data reports, where the filter parameters are mostly known and don’t change constantly with the model, there are diminishing returns to this.

However, when you start writing code that writes other code using string concatenation, big-picture wise I think you are doing it wrong. Look at HTML and how it has developed towards client heavy apps as other example. Encoding is hard, dangerous stuff, and having a library do it for you (like the w3c DOM APIs, or higher abstractions like react) can be invaluable and can make the difference between spaghetti code and gorgeously understandable functional statements.
The interest earned on that $100B of destroyed money is not destroyed.
I think even intelligent people become deluded by emotion and politics devoid of reason sometimes.

Especially given that political posturing has if anything hindered efforts to improve conditions for illegal migrants being held at the border.
Generally speaking, yes. Most government projects locally mirror dependencies (and source) if available, as having to do a few tweaks now and again isn't unheard of. So taking your code down really isn't quite doing much more than virtue signaling.

Even less so in fact, as they'd just have someone grab it through whatever alternative distribution method you'd utilize for everyone else and bring it in.

You'd have to explicitly revoke license for everyone to do with your library as they please. I.e. become non-open source to effectively restrict access in any meaningful way.
Ask HN: Is there any free open source Cannabis seed to sale software?
Googling is almost impossible due to predatory SEO from companies looking to make a killing from Cannabis businesses. It seems odd that no one has made this software, even in a rudimentary form.
I think if you’re going to extrapolate a fictional ID.3 by backing out the VAT, the least you could do is compare against an SR- at $35,000 to get $137. Or alternatively the LR at 348mi WLTP range (+12.25%) for $47,990 = $138.

Of course range per dollar is a funny metric because it’s like saying it’s the only thing you are paying for.
The argument is that ICE doesn’t treat its detainees humanely, because the institutional culture within ICE is pervasively rotten beyond repair.

The hope is that by disbanding ICE and handing its responsibilities over to new management with a better track record, we might get a better outcome.

I don’t think the proponents of this plan would support simply rebadging current ICE employees without some kind of filtering process.

(I don’t have a strong opinion on the matter, just restating the arguments as I understand them.)
A micro ORM is just an ORM, written well and modularly. It isn't a middle ground - it's choosing to use a well written library.

A lot of people conflate ORM's leaking because of poor designed library with ORM being a bad abstraction in general.
I think you're wrong. I'm a huge fan of green tech but its precisely your "talking about where progress needs to be made is bikeshedding" attitude that set so many people off, and justifiably get a reputation of shouting people down for not being visibly loyal.

Your performative loyalty isn't going to build a better future. Relentless progress will.
If I was starting from scratch I would probably use an micro ORM like dapper or in my case I have experience with Petapoco.

There are so many "gotchas" to using EF that I'm not sure if was worth using to begin with (for a complex project at least). 8 years into developing and maintaining a huge ecommerce platform built on EF I think if I started over I would probably not use EF.
254 vs 240mi for SR+ but 348 vs 310mi for the LR.
$db->employees->update({
salary => $Q{salary} + $Q{salary} * $Q{merit}{percentage}
});

Not that much simpler in that case, but at least lets you define the JOIN once rather than repeating it per-query.
Mubert – generative music for unique people
Bloomberg is fake news.
They are so compromised by advertising telling them what to write it's sickening.
On top of that, they hate the USA and love China.
> You can mix and match perfectly fine.

Thank you!

This seems like one of those topics where people often feel the need to pick a side for some reason. I've often heard criticism to the effect of, "people only use ORMs because they don't know SQL. Learn SQL!" It's seemingly impossible to convince these people that ORMs are fantastic for reducing boilerplate code and they can coexist right next to raw SQL for problems gnarlier than "select all foo where bar equals baz."
Some usual questions that come to mind...

Are the individual metrics/incentives aligned with progress on the project? Is anyone panicking? Is anyone trying to appease someone else who's panicking, by giving an inaccurate appearance of progress/work? Is anyone stalling for time, while they try to move elsewhere?

Is there a project plan with work breakdown (and interdependencies, and preferably resource allocations) that shows what you've done, and what you still have to do? Are the incomplete tasks broken down to the resolution of 1-2 days, or to hours? Is the plan complete, or is there substantial work to do that doesn't appear in the plan? Is the completion on the plan accurate? How frequently is slippage being checked, and how does that happen? Does anyone have incentive for the plan be inaccurate at this point?

Are people working on unimportant things because they're blocked on important things by dependencies on other people, but don't want to say it?

Is everyone still putting in full effort, and committed to the project success? Or have some given up on the project, and are focused on shielding their careers?

(Even if the project effectively isn't working from a plan, has bad morale and panicking, there are conflicts of interest, etc... it might not be too late for a good manager to rally everyone around an achievable new plan, possibly including revisiting the requirements. Given that the project is in trouble, I suspect it would need believable buy-in from upper management and the "customer" for this project, or people will still feel doomed, rather than focused on making it work.)
For sure. Merge is the most basic primitive for creating metadata. If you are familiar with RDF, which uses Subect-Object-Predicate triples that's more similar to Chomsky's original X-bar theory which calls these triples Head-Complement-Specifier. The difference is that Merge sees the triple as a derivative of the merge primitive and X-bar sees the triple as the primitive.
Both are about the fundamental nature of metadata or data linkage/relationships and how meaning is derived. Both can be applied mostly successfully down the layers of the language stack - semantics -> syntax -> morphology -> phonology -> phonetics.
Humor from the unexpected juxtaposition of an expository style usually used to describe something rare and unfamiliar with the commonness of the thing being described (plus the implication that reading is becoming unfortunately less common today - or at least acknowledging the fear that it may be so).

I found it cute. :)
Views are another way to gain reuse.
Excellent, US government putting my money to work!
Transistor (FINFET) width should be around 7nm for the 7nm process (https://en.wikichip.org/wiki/7_nm_lithography_process) but you are right that transistor pitch isn't scaling nearly as fast so transistor density is not going up as fast. Cost per transistor was actually flat (maybe even going up) at the 7nm node.
I love how well connected HN to tech world.
Did you see that by chance or do you have some kind of an alert system set up ?
Ask HN: Anyone ever come back _to_ strongly typed languages?
I'm originally a C# developer, back in 2005.

I moved to Rails a long time ago, and recently (4 years ago) moved to Elixir.

With dotnet core, I gave it a shot and it was pretty refreshing and comforting to have the safety of types in my language again.

Has anyone here moved back to a typed language successfully? I'm seriously flirting with C# dotnet core.
Offline mode is important too, but of course you can do this on the web just fine nowadays.
Maybe stop banhammering newbies simply because you think their question about obscure arcane algorithm #44462 is too similar to an even more arcane question 10 years ago about algorithm #783429 and its immediately obvious to a regular with a pH.D in quantum statistics.

The only major support site I'm aware of with a 'stupid questions' punishment policy. Which isn't a bad thing in and of itself except its implemented in such a draconian and nontransparent way. Demerits never seem to expire, even after years of no 'stupid' posts and theres no explanation where they come from.

The bizarre thing is even with this and newbies banned left and right it seems the admin is on another planet running some other website as all they want to talk about is social justice and how evil heteronormative SO users somehow can psychically tell who is a woman or minority and supposedly harassing them to epidemic proportions but nobody somehow ever sees this.

Maybe get a handle on a few real basic problems before you start crowing about your geewhiz new bot.
https://github.com/WICG/native-file-system/blob/master/EXPLA...
ORM is like a regex. When you use it, you've got two problems. The problem with having two problems is that we love solving problems! Yay OCD! So if an ORM doesn't let us do something, instead of just getting the work done with a couple of quoted SQL strings, we try bending the ORM to our will. I know I've done this with the entity framework. And when we do that, the perpetual debate starts all over again.
Show HN: Boringcodecompany – because someone has to do the boring dev work
Antonio Brown discharged: Patriots 'welcome the diligent work'
> I would pay for my car to NEVER update without my express approval.

In case you were wondering, you opt-in to the updates from Tesla and can totally disable all connectivity if you so choose.

Virtually no one does this, because the upgrades are extremely valuable to Tesla owners and make the car accelerate quicker, brake faster, safer (constantly improving things like AEB and lane departure warning), longer range, more comfortable (suspension upgrades), and better in many other ways from minor usability tweaks (position of the phone icon in the launcher) to major functional upgrades.

OTA updates are also the only responsible way to deliver autonomous functionality.

It’s a huge asset and differentiator for Tesla. That’s not to say it won’t have detractors. E.g. Some people prefer driving stick.
As always, follow the money.

Linux (no matter what it may be called at the time, or who is its current poster boy) is now too big to be nailed down by any one company or even any one country.

Microsoft may, in fact, end up owning the name 'Linux' and proclaim that it is the 'one, true owner'. That will not stop Linux from being forked into another cloned project with a different name and letting 'Linux (TM)' wither on the vine.
Even so, ICE should strive to enforce the border more humanely.
Goldman Sachs says the market is about to get wild in October
Why do I have two problems if I use a regex? "Programming Perl" and "Mastering Regular Expressions" were what drew me into programming in the early 2000s. Whilst ORMs are optional regular expressions are not so I don't get your point.
But I'm agreeing with you in all those points, like the sibling post said. I actually used OrmLite myself in some projects.
I hate to be That Guy, but I found the massive overuse of exclamation points to be very distracting. I'm not quite at the level of those people who claim that using exclamation points is like laughing at your own jokes, but they should not be a default punctuation choice.
Why buy a Bolt, then? Surely cheaper cars exist that can still take you from point A to point B
What's life without striking oranges and reds, or beautiful yellow and green shades?
I’m not sure about how to think about the file system API. On one hand, is great to see that secure file system access is possible in-browser, which allows most electron apps be converted into PWAs. That’s great, I no longer need to run 5 different chromium instances.

On the other hand, I’m really not sure if I like the future of editing Microsoft office documents in the browser. I heavily believe that apps should have an integrated UX (with appropriate OS-specific widgets), because it allows coherency and familiarity.
> incoming JSON requests

import json
data_from_json_request = json.loads(*request body*)

> easily serialize queries back to JSON

import pymysql
import json

conn = pymysql.connect(*connection details*,
cursorclass = pymysql.cursors.DictCursor)

cur = conn.cursor()
cur.execute(*query*)
json_query_result = json.dumps(cur.fetchall())

I don't feel that a ORM is better than this personally. I know exactly what this is doing at all times. No magic, no guess work about the philosophy of the software. This is probably faster as well.
Your version only works as long as there is only one browser.
Shipping pollution is not completely unconcerning, but suggesting that it is a bigger concern than cars is just staggeringly wrong.
DUI/DWI is a felony in most places in the US.

Crossing the border illegally is a misdemeanor. Seeking asylum in the US is not a crime.

If it were about "personal responsibility", people wouldn't be hyperventilating about brown people coming to work for shit pay. People like you wouldn't be devising rationalizations not to feel responsible for their government separating children from parents and keeping those children and parents in cages while denying them sufficient medical care and basic hygiene supplies.
Well, a human alert system, a friend saw my name and sent me the link :)
ok ok ... back in the cage
This isn’t how it works for the rich.

If you donate appreciated assets, you don’t pay taxes on the appreciation, so in the best case scenario (e.g. you bought bitcoin at a penny) you donate $100, but it is the equivalent of $80 after tax.

Additionally, you get to write that $100 donation off your income. If you’re in the highest tax bracket, that means you’re saving $39 off your tax bill.

You’ve effectively given $100 in exchange for the cost of $41.
it's obvious. ORMs are result of those OO people who want to make even their carpet Object Oriented.
It's one cat and millions of mice that multiply rapidly. Ads networks that use random unpredictable domains are intractable by the static blacklist approach. Not only that: ads networks can watch the public blacklist and adjust their domains accordingly. If declarative API was about security, Apple would rather block network access for adblockers.

Agreed about Firefox. My goal here is to call out the hypocrisy of the declarative API. So I want to repeat myself that the declarative API is about giving ads networks an easy way to not get blocked, while using performance and security as false arguments that impress only those who know nothing about performance and security.
And often repeated entry cost without new content. With a subscription service, you never own the content in any meaningful way, you just get temporary access, and if you stop paying, you typically lose access to the content.

Steam isn't a subscription service because you purchase a la carte and only get access to the specific content you choose. I would love a subscription service where I could play other games with a flat monthly cost, but that's not how
Steam operates.
Disclosing vulnerabilities.
A fashionable young Chinese lady traveling in the US is not your average Chinese person.

They’re clearly upper to upper middle class and they’re clearly going to enjoy different “hobbies” abroad.
Plenty of people don't pay me money _all of the time._ Most of them aren't even making a decision to do this, it just never would occur to them to pay me money.
Please avoid personal attacks and/or libel.
> because that way lies tin foil hats

I wonder why we're so collectively afraid of being labeled 'conspiracy theorists'. What is so wrong with supposing that bad things are being done intentionally?
It gives me a lot of satisfaction that I said several years ago in a post on one of the social media that the tight cluster of cases at a singular worksite suggested that it was some form of occupational injury rather than malicious activity.
I don't want an orm to keep from learning SQL, I want one to save me from having to write reams of boilerplate code copying fields one at a time from an SQL result to my language objects/structs/etc and then back again when I want to save them to the DB.