skysight-inc/HackerNews huggingface dataset:
Norton definitely had the right idea, having made the DOS command line so practical and able. Most of the Utilities were groundbreaking. Defragging in Windows was never so much fun to watch.

I still use mc (Midnight Commander, a clear Norton Commander clone) for certain types of repetitive tasks, even if it looks so dated and the colours for most of the skins are a tad obnoxious.

Mc provided one of very few ways to transfer common cli behaviours between two extremely different OSs. Thankfully there are nostalgic developers out there.
It includes $500m in stock based compensation this quarter under R&D. IDK if this is a one time thing or what though.
>now Trump want the juices to flow both ways.

I'm not sure what to tell you from Europe other than; Ewww...
Ah yes! Pleasantly surprised you'd follow up on here.

Does Estonia offer any anonymity through its e-residency program?

A lot of us have stereotypes towards EU regulations as being restrictive, wonder if you could address this one glaring fear in the back of our minds (ex. GPDR).

What should folks on HN know a thing or two about Estonia? I've literally only heard of the country 4 years ago when I played Arma: Cold War with an Estonian gamer, which ironically is a military simulation of gorilla warfare against a USSR invasion of the Baltics..... (see OF: Resistance)
(I'm the Flutter TL.)

According to today's benchmark numbers, we're at 4414KB on Android and 8572KB on iOS (IIRC, iOS encrypts before compressing so it can't get as good a compression).

This is for our Hello World test app (https://github.com/flutter/flutter/blob/master/examples/hell...), which is more or less the smallest app you can imagine building with Flutter unless you bypass the entire framework and only use the engine directly.
There's no reason to bother with websocket stuff, you can just call out to native code via platform channels ( https://flutter.dev/docs/development/platform-integration/pl... )

Just that once you do that you're no longer a portable cross-platform app, and there's limits to what you can do with that pipe in terms of data marshaling and the overhead from that.
Users dependent on accessibility will also know the difference.
It does seem odd that browsers don’t preload images for hover effects. I guess in practice most hover effects just use colors? Otherwise there’d be a noticeable lag the first time you hover or something.
A tectonic plate may have peeled apart
I cannot wait to switch from having to use a compile-to-JS toolchain to a compile-to-Dart-to-JS toolchain in order to get a language with a good type system.

I'm hopeful Dart will get better given what I've seen and what a member of the Dart team mentioned in a thread a few weeks ago, but right now it's still nothing that gets close to the ancient ML. Would be nice if they learnt a few things from Facebook or Microsoft.
I don't think Apple ever had a mouse with truly discrete left & right mouse buttons. Ever since the mighty mouse, they've used a single switch for both buttons but used touch sensors to differentiate between left and right clicks.
Any reason as to why you'd single me out? I have read On the Nature of Things but what would make you question if I have? We can all contribute opinions, just as the author cannot read Lucretius' mind as to why he would choose to write the way he did
FB has egregiously harmed consumers

If that were true, you'd see consumers quitting en masse—yet that's not what we see, no? https://jakeseliger.com/2018/11/14/is-there-an-actual-facebo...
Doesn’t Qualcomm protect their modems with a giant firewall of patents? I’d wager it’s hard to make a good modem without violating (or being forced to license) at least a few of their patents.
Unreal Engine 4 is a fresh codebase I believe; not a descendant of UE3.
Google Is Turning Off the Works-with-Nest API
Hello friend. I did not call you a Nazi. I asked for some detail and examples, then said what assumptions I start making in the face of vague complaints of political correctness (or dismissal of entire sections of academia based on the same).
Isn’t that just an AST? That still has to be parsed and compiled. It just makes parsing a bit faster.
Maybe you keep your place cleaner than many of us do...?

They probably perform quite well in a dust free environment.
pgadmin? https://www.pgadmin.org/screenshots/#9
I dont know about the cheap part. When I travel in the US I stay in hotels that normally run about $150/night, and they are usually pretty nice. When I look at comparable AirBnB rentals they are the same price or even more with those cleaning fees.

For the most part I stick with hotels.
I use plenty of apps on both iOS and Android that do not use native controls such as Kindle and I really don't care as long as performance is good.
In 1998, 'Jagged Alliance' Developers Threatened a Walkout–and It Worked
See, there's the problem. The FTC lacks the authority to fine Facebook for "10 years of selling ads", or really, anything outside of behavior they can prove violated Facebook's consent decree. The distinction here is behavior that we disapprove of and behavior the FTC does (or should) have the ability to sanction.

If the FTC can fine Facebook $5B† for a (comparatively) minor violation as a way of expressing the agency's disapproval for all the rest of Facebook's business practices, it can do that to anyone. It can, for instance, fine Apple tens of billions for minor, provable violations as a way of coercing them into cooperating with law enforcement to unlock phones.

Again, I do not like Facebook, broadly agree with 'idlewords testimony before the Senate today that his necktie is more tightly regulated than our industry, and want that to change. I do not think the FTC should be able to make up the rules as it goes, especially not as a way for politicians to showboat.

† or whatever you think the appropriate number is; I'm happy to stipulate that $3-5B is the appropriate range for the fine
For a toy project I used Postgres to generate JSON objects for me and a helper function in ruby (db_helper) that parses the JSON into ruby data structures so that the OP example can be written with much less boilerplate code as:

def db_all_posts_in_tag(tag_id)
db_helper("
SELECT json_agg(r)
FROM (
SELECT post.post_id, post.published, post.title, post.content
FROM post
INNER JOIN post_tag ON post.post_id = post_tag.post_id
WHERE post_tag.tag_id = $1
) AS r;
", [tag_id])
end
Supercharge Your Webapp
I agree with your general sentiment, but if it were that easy, we wouldn't even be having the discussion. Nation states going after a campaign are likely to succeed, it's limiting the exposure if they do. To your point, there are a number of no-brainer processes or technologies to make those compromises difficult or severely limit the damage and many do not require much to put in place. You do need someone on-staff though constantly monitoring and enforcing best practices.
Correct. This is how Mailchimp and other similar services can tell if you opened an email.
> market development will be unnaturally stymied.

I understand where you are coming from, but markets are created by the rules of the government. Some governments (The Netherlands, CA) say that selling marijuana is OK. Some say that it is ok for some people to buy marijuana (medical) and others can't. Some US states say that no one can buy marijuana. Which is the "natural" market?

I understand that you are saying that the Chinese government is causing distortions and there is a fairer way to "trade" but that's something for the Chinese state and political actors to decide. This is the same as the way that the USA has decided that trucks are different than cars and should have a different set of import limitations--in both cases this is a political consideration.
https://master-api.flutter.dev/flutter/dart-io/WebSocket-cla...
So don't map DB records to objects, then. DB records are records, and their proper typing in your business logic is as records—chunks of plain old data, strongly-typed, that your (OO or otherwise) code can declare DB-side interfaces against. The only responsibilities of the module/class that owns the record type, should be getting things converted into and out of that record type.

Plain-old-data DB record types (and their respective owner modules) are to ORMs, as code-gen'ed wire record types (and their respective owner modules) are to ProtoBuf-like wire-format codec libraries. They're the containers you put data into and take it out of, to ensure it's in the right types when being sent to, or received from, your DB. No more than that.

And, corollary to this idea: the POD record-type MyDB.FooTable shouldn't be taken as a type to use to stuff in the results from any random query you run against the DB table `foo`. It should be taken to represent the specific row type that the DB table `foo` has—the one you get when you `SELECT * from foo`. If you do an SQL query, and the result of that SQL query has fewer or extra or differently-typed columns, then the resulting row-set will have a different record type, and so you should have a separate POD data-type that does match these records. (Example: if you join two tables with a query, you don't need the ORM to spit out two records objects with a fancy OO-style relationship between them; you just need one record type that represents the resulting joined rows, without any particular idea that it happens to be an amalgamation of data from two tables.)

For an example of this approach to ORM, see Elixir's https://github.com/elixir-ecto/ecto.
Looking at the changes and fixes in recent releases of the Closure library, it sure doesn't look abandoned or even practically abandoned. I think I understand what you mean though. The Closure library looks good at what it does, but doesn't have a big ecosystem around it like React or Angular.

I remember looking at the Closure library back in 2010 and decided against using it, but from what I can see it still looks pretty decent. It doesn't look as nice to use as Angular or React, but it's been around a lot longer than either of them and probably has to remain backward-compatible with some pretty old code.
To expand on external source of 'ought': I saw a thought experiment somewhere -- what if you found the True Objective Source of Morality and it said something you don't like -- for example that murdering every 14th stranger you meet is justifiable. Thus are the moral laws of Universe.

Society would then promptly adjust the laws to follow suit (it is a true source of morality after all). Would you then consider murdering 14th stranger you meet today if that brings you some benefit (outweighing the risk, etc)?

If not, why not?

(Any similarities to religious texts is intentional)
Wait, what is your first place then?
Well, not new. They take features of regular toolkits like gtk and qt, claiming them as new, paradigm shifting, bigger than sliced bread things.

Except it is still a very early stage product and feature set of one tenth of what QT or GTK would have provided.
There's not a lot of biodiversity on the streets anyways, so that's not a big deal. but the little wild creatures do appreciate less light in the woods, which is what you get from less light pollution.
String operations of C look so much cleaner and complete than those "algorithmic and templating" ones of C++. And C++ can quickly become difficult to read after overloading various operators on classes or after using fancier less-known features. I personally find C++ too complex and confusing. I know Google dictates some reasonable subset of C++ for Fuchia and that is good. Btw also the dependency management is sometimes really pain with C/C++ - then they had to use crazy compilation tools like GN or Basel to get it compile in various environments and platforms... Programming in go/c# allows to quickly focus to get the work done.
It is supported by LineageOS, at least[1]. I have been using one as a daily driver for the past week, and though the hardware is nice otherwise, the band support in the US is poor.

1: https://download.lineageos.org/beryllium
Sorry for being off topic but is there an ORM or any other tool that can rewrite messy SQL, ideally replacing right joins with left ones at the same time?
I have several hundred of these that I am afraid to touch.
These aren't offers. These are letters of inquiry. They tend to be automated and based on key words. So you have key words that generated interest.
This reminds me of one of my favourite Ayn Rand quotes: after being asked to shorten John Galt's (interminable, 70-odd-page, tiny print) speech in Atlas Shrugged - "Would you cut the Bible?"!
You actually can use make instead of the Arduino IDE many times. For the ESP, check out https://github.com/plerup/makeEspArduino. It works reasonably well.
And break navigation on half of the nav bars on the web?
Given our architecture, it doesn't cost us any more performance to look like the OEM widgets than a bespoke widget set, and indeed it shouldn't cost us any more to look like the OEM widgets than it should cost the OEM widgets themselves to look like the OEM widgets, because we're targeting the GPU directly.
Intel have a fork of Redis that uses Optane storage instead of RAM. The end result is a persistent DB that can operate at the speed of Redis.
This was a big deal in Tucson for a while. It used to be that there was a city ordinance that mandated public outdoor lighting was all sodium lamps because it was super easy for the local observatory to filter out that one frequency of light.
I don't care about bezels or absurd amounts of RAM.

All I care about in a phone is the camera and headphone jack, so I ordered one. Good move Google. I wasn't expecting to buy a phone for another 6 months or so.
Top 100 Economics Blogs Of 2019
Here is the letter.

https://www.blumenthal.senate.gov/imo/media/doc/5.6.19_Lette...

The proposal from these two senators seems reasonable:

"The FTC should propose long-term limits on Facebook's collection and use of personal information. It should consider setting rules of the road on what Facebook can do with consumers' private information, such as requiring the deletion of tracking data, restricting the collection of certain types of information, curbing advertising practices, and imposing a firewall on sharing private data between different products, including Facebook's ad platform."

Placing hard limits on data collection and usage seems clearer and more workable than requiring "user consent" as we saw in the last consent decree.

Sen. Blumenthal's office seems to be one of the few that is willing to call BS on the type of shenanigans often discussed here on HN.

https://www.blumenthal.senate.gov/imo/media/doc/01.31.2018%2...
Pixel 3a also lacks the Pixel Visual Core that shipped in Pixel 2 and 3, which also may explain some of the discrepancy.
The primary impetus for the TSA was that people were afraid and it made them feel safer. The TSA actually accomplishes virtually nothing to prevent hijacking compared with the addition of armored cockpit doors and cockpit approach monitoring procedures.

The TSA does theoretically screen for bad actors and explosives, both of which are still relevant to rail travel, even if they're potentially less threatening there.
This is complicated by the fact that the temperature of the LED materially influences its electronic properties.

As a result you generally need to wire them in series rather than in parallel so that the current can’t differentially select the LED of least resistance and cause thermal runaway. Series wiring in turn cranks up the voltage requirements necessary to drive lots of power, requiring more costly components.

Oh, forgot to mention, different color LEDs have different forward current requirements, so have fun building a good and cheap driver for 100W RGBW.
Why? There are people who would report something they know about if it didn't entail using the phone, email or whatever other trivially-traced technology.
Google has shut down too many projects lately.

So much so that I'm now nervous using Photos, Keep for notes and even Drive (it was replaced with One--although I can't figure out what changed.

Does anyone feel the same?
In fairness to the salesperson, they would've been right for typical internet usage. Late 90s and early 00s was the era of the internet toolbar; Windows users never left home without having at least 5 search bars and emoticon buttons!

And all the CPU-consuming adware and malware that came with them.
Its not clickbait. They gave him no explanation for the ban. They required a video call. It is reasonable to speculate that his appearance could have been a factor.
Why is this even a question?
HotFix is a technique like code push, I had asked Flutter developer before. Flutter not support it right now.
Nominal wages have risen enough over the past 1, 2, 3, 4, and 5 decades such that real wages have remained roughly flat across that time (and in last 2 decades real wages have risen in general).

https://www.pewresearch.org/fact-tank/2018/08/07/for-most-us...
Do you give a warranty on the average? I doubt it.

A 10 year warranty probably means the average is longer than 10 years.
When I started out in the 90s there were cisc wintel PCs, cisc macs, and risc/unix workstations like Sun. The idea that Apple would be selling a risc/unix workstation would been laughed at. And of course that didn't last long, they blew everyones minds again by switching to Intel a few years later.
Outside of a select few cities, getting anything more than 100 mbps down is literally impossible unless you have the budget to pay a company to run fiber to your home (at least tens or hundreds of thousands). And outside of major cities, 10 mbps might be the best you can get.

Not to mention there are a thousand situations even inside of the major cities where a few mbps (if that) is all you can muster.

I for one hate pages that take minutes to load... and it happens a lot more than you’d hope.
Try importing `flutter/animation` — footprint goes WAY off the deep end. `animation.ddc.js` is 4.4MB alone (unminified), never mind the rest of the runtime AND userland application code.

You can see this in the flutter_web/examples/gallery example. [`webdev build` failed for me in examples/gallery, so I'd love to see what a successfully minified version of that example looks like — I'm currently deeply skeptical.]

Compared to React/Vue/Angular and friends, this appears to be a monstrous outlier.
Wait what?

Wouldn’t the infrared reflectivity of the parabola concentrate heat energy in to the focal point?
I am considering laying off the ganja for a while. but I need it to meet deadlines, to do the work the market demands at the best possible time to the best possible consumer, I am the invisible hand that keeps pushing me, in this struggling and character building times. thanks for the advice 친구!
Mailchimp analytics would outright not work if it was the latter, so it's probably the former.
I'm just not convinced the game of chicken can be won. We should actually be investing this effort in out competing, not hoping we win this idiotic game. The only real resolution I see is a return to normalcy or a dissolution of US and Chinese trade, which simply hurts us both in the long run. You act like jobs that aren't in China will come to the us when theres no guarantee of that and you're ignoring jobs lost because if this.
We're not quite there yet unless you have a high tolerance for pain, but in the coming year we should in a good place to support that kind of thing.
Get on My Email List – Laura Loomer Official
Good lord, tl,dr. And I'm a dev. Client sure as hell wouldn't read all that. And I know this because at the start of my career I wrote those kind of long-winded explanations before I realized that nobody was reading them.

Brevity is a virtue.

"Dear client, the change itself took very little time but making sure that this change did not have unintended ripple effects took a lot more. We are careful and deliberate when deploying changes to your production application because in this mission critical application, downtime and errors are not acceptable. If you'd like more detail I can provide it during our next regularly scheduled catch-up."
“The group found that their negative illumination diode generated about 64 nanowatts per square meter”

64 nanowatts * 1,000,000 = 0.064 watts so I assume some of those numbers are simply wrong.
They can issue bonds. Although they’ll probably pay a much bigger risk premium than Netflix or Tesla. It would likely tank the stock price further though. They’ll need non trivial bonds to merit additional quarters of operations- and in the event of bankruptcy creditors get preference over shareholders
> there are a fair amount of companies that are openly shitty to women

How much is "fair amount"? Of all the companies that exist. And where are you getting this data from?
That "security engineer" appears to imply we use rand() to create crypto keys. I am not sure what he has been smoking. We don't. He appears to be just somebody who doesn't research very well...

And no. We do no generate "keys" from either rand(), nor from RDRAND. We use RDRAND for uuid generation, and rand() for seeding hash tables if there's no better source of entropy. That's all.

Jeezuz christ.

I mean, if we seed hash tables, which options do we have? getrandom()? that either blocks (sometimes very long in virtualized envs) or fails during early boot (and systemd runs in earliest boot being the first process to launch), when the random pool is not initialized. /dev/urandom? That logs loudly about any use when the pool is not initialized. So yeah, we opted to first use RDRAND if available, then fall back to getrandom() with GRND_NONBLOCK, and finally to plain rand() if neither of that works. That has everything we need: doesn't delay boot forever. Doesn't cause log messages about us using a non-initialized pool. It potentially gives us crappy seeds for the hashtable initially, but given that we reseed when we see too many collisions and then getrandom() actually works correctly, we should be fine.

Anyway, you can stick that "security engineer" somewhere, that smug, unresearched bitching on Twitter is just annoying.

Lennart
Just using the various APIs
Yeah, I didn't know that existed but I created my own make environment a while back. My arduinos have been gathering dust for about 5 years, ever since I discovered the ST nucleo64 line ... 80MHz, 1M flash, 256K sram, 4 UARTs, 4 SPI, 4 I2C, 20+ GPIO, 4 ADCs for under US$15 ... I pretty much stopped using Arduino everything.
The ones I've talked to are generally quite happy with their gigs with Uber and Lyft. (That should not be surprising, given how easy it is to drop out if they are unhappy with the deal, conditions, or other aspects of the task.)
System is even worse in a cold environment.
There is something creepy about that Succeed Socially site, IMO. Perhaps it's just the somewhat inevitably bland normative nature of the advice—"white bread"—as they say. But there is also quite a high ratio of "don'ts" to "dos". The author really gets going enthusiastically when describing all the ways someone's personal hygiene can fail to meet expectations. This isn't balanced by an acknowledgement of how mentally ill people, for example, struggle with personal hygiene. The bland and normative tone seems to be accompanied by an injunction to "conform or lose". The author lives in a "Leave it to Beaver" world, apparently.
Because you aren't really the audience for that post, and they can safely assume you'll dig deeper anyways?
pain: bugs or performance, or both? ;-)