skysight-inc/HackerNews huggingface dataset:
I might be off-base, but when I hear someone talk about running GUI tools in a container, I think about being able to effectively fork application configs/intallations and environments. I run an extremely minimal arch installation on my production machine. It's... nice, I guess. I'd love to experiment with it more and make something even more customized, but I can't risk any downtime.

And a large portion of my computer is command line tools, sure. But I'm also running EXWM, I'm also running Firefox, I'm also running Tiled, and Blender, and so on, and so on. I don't want to get rid of my command-line tools, but I'm not only running command line tools. I want to be able to download a game, put it in a container, mess around with my drivers until it runs well, and then delete the container when I'm done and know 100% all of the customization just went away.

This was what originally got me excited about Docker, until I dug into it and realized Docker kind of didn't work particularly well for that.

My understanding is if I sat down and did the research, I could build something like that with regular Linux tools, but it's time consuming and as interested as I am in the underlying tech, I just know very, very little about how this stuff works.

But I always perk up whenever I hear someone talking about running graphical applications in containers, because in the back of my head I'm mapping that to some kind of fictional computing utopia where I can have complete isolation between processes and treat my computer like a Git repo.
Good for them...

But my first thought before clicking was- please don't be ad/marketing/SEO biz.
I go through periods of intensive reading, then downtimes. These both span for months.

Problem is a lot of it is dreck.

Some books draw out a story for 1100 pages then stuff all the cool stuff in the last 200 pages. It feels dishonest.

A lot of classics aren't.

A lot of pulp is captivating and fast paced.

I tried reading infinite jest - I had to return it.

I finished fear an loathing in las vegas in a day.

It's a crap shoot.
Nah, uBO is fantastic. The problem is nearly all other purported adblockers. Some of them are ok/mediocre; most (like most browser extensions) are just outright crap or malware.

The moral dilemma here seems to be that Google is unwilling to privilege a good-citizen adblocker like uBO over other extensions; they're an ad company and any explicit step towards promoting an adblocker probably is hard to explain at shareholder meetings, even if the engineers want to.
I downvoted you because that's not what's happening here at all. These are all short term loans, mostly overnight. No one is giving away money.
You can get close by purchasing tax credits in some states - see for example https://www.capfin.net/blog/a-powerful-charitable-donation-o...
"You see, these guys hit this boulder , and they still ride their 60-ton battle tank! Why should I not try the same with my car?"

See also: survivor bias.
There's a middle ground.

Micro ORMs.
Big deal; it’s a bus with wings. My seven seat SUV gets 210 passenger mpg.

But if I vacation with my SUV, I’ll go 600 mi. away as an absolute maximum or about a days worth of driving. That’s 7.5 gal per person for my family of four

If I take a plane, I’ll stick to a 24 hr travel limit. Which will get me a third the way across the world, or 83 gal for every member of my family.

In scenario 1, I’m a redneck with a family in Virginia Beach.

In scenario 2 I’m an enlightened cosmopolitan in Machu Pichu
Yeah they have two things not going for them. Limited range and battery degradation issues.

Also EV's tend to have rebates and tax write offs that reduce their actual purchase price significantly. Which probably also depresses resale prices.
Something like jOOQ?

https://www.jooq.org
They’re also flown very far away.
Paywall. But I got as far as to see there are signs of deep subsurface water.
You like the touchscreen now that you don't have to use it?

So in your case it wouldn't matter whether there is a touchscreen or not, because you admit to not using it.

There's no reason a car can't have physical buttons and voice control
That was actually one of the goals with this system.

From https://design.lyft.com/re-approaching-color-9e604ba22c88

"Using our algorithm, we made our color lightness-to-darkness consistent across color hues, so that every color 0–50 is accessible (4.5:1) on black, and every color 60–100 is accessible (4.5:1) on white."
None of my projects in python suffer from performance issues, because it's fast enough. Albeit I just work in the automation space. I do use C for embedded but only because we just don't have the memory capacity for python to run multiple daemons on my IoT projects, it's not because of performance.
Requirementsascode: Kissing the state machine goodbye (2018)
My theory is that many Electron apps don't really need Electron - they just need secure, constrained local file system access.

Electron has massive potential security issues. Chrome with native file system access could make it possible for many of those Electron apps to simply be browser apps, making them vastly more secure and bringing them back into the domain of the ordinary web app.

It's a hugely important new feature.
I really don't get why people feel like non-ORMs cause boilerplate. I write the same amount of code using Micro ORMS. Type safe. No SQL. Very happy.
Why, it would just have some synapses marked unsafe, compared to the conventional brain which is unsafe everywhere!
This is correct. Money becomes slightly leveraged. If your tax rate is 37%, you effectively get spend to $1.37 for every $1 you remove from your taxable income.

There's also estate taxes where you can create a foundation for large estates to avoid the ~16% tax rate. These are often used to fund political goals.
Once I tried a tool like this, but just realized, there is already a method of that: the ~/bin folder.

You can write bash scripts, or scripts in any programming language with the proper shebang line, you can download other people's scripts, and you don't need bash history to keep them. Listing all of them is just an ls. I tend to not put file extensions of them and use good naming, so you can see everything without looking into them.
How It's Made: 1950's Televisions
It's a rapidly shrinking majority. There's a network effect here where people learn about things and share with their friends.

You're probably not wrong that there will not be a rapid initial migration. Maybe more over a longer time period. Maybe not.
Yeah regression to the mean of the past would be a bad idea. But integrating knowledge or self-knowledge of the things we have exiled can be useful.
A power law distribution is roughly as easy to work with here as exponential. The blog post contains the power law results for this case, which are fairly easily obtained through a conditional average (conditioning on t > t_0).

The important question you bring up is which is more accurate, which I don't have an answer for. But perhaps a reader has data on this. I will note that I compared exponential against some FOIA request processing data while back and thought it was okay, though I don't remember anything quantitative; see here: https://news.ycombinator.com/item?id=21032750

I think it's likely that something with more parameters like a log-normal distribution would be better than either, but intuitively I doubt you'd be able to get simple equations for the mean remaining time out of that.

One problem with the power law model is that the expected duration at t = 0 is 0. The exponential model does not have that problem. You could fix this for a power law by not having power law behavior for short times.
It's been some years since I used SQL heavily. And I don't recall ever hearing about ORMs.

But I certainly hated writing boilerplate. So I often used Excel and/or SQL to write my SQL.

And I should add that I was using SQL for data forensics, in a very ad hoc way.

Edit: Now I use Calc and bash to write my bash ;)
That's, no doubt, an amazing experience. And there's likely countless wonderful experiences you have had / could have right in your home city.

The suggestion of the comment I responded to was about learning. Traveling, on its own, doesn't do anything to help people learn anything substantial. It's still ultimately a consumerism-centric activity. The travel industry has done an amazing job of convincing people otherwise.
Don't worry, that lesson has been learned. Now, the plan is to rebuild the world for the comfort of robot cars.
Prepare for people to tell you that you're not a real programmer because you aren't using their language of choice. I've fallen in love with Rust lately, but I'm not going to beat you up because you like Python
I have four questions related to SQL

1. PostgreSQL or MySQL? And why?

2. Is it possible to build a hybrid database schema? For example, SQLite+JSON?

3. Is it possible to convert XML(XMI) schema to SQLite schema automatically?

4. Is it possible to build a custom file format based on SQLite or hybrid one based on SQLite+JSON?
If you’re running an airline, yes that’s the relevant metric. If you’re comparing an urban elite with a poor bloke with his truck, no.

Mr. Loves-his-truck drives, at the insane most, 20 000 miles a year. That’s a round trip Thai vacation.
Ask HN: Are there examples of web/digital agencies going IPO?
I want to know if there are some digital agencies that are "true startup", that is, they have the intention to expand business to go IPO sometime in the future, or at least become acquired by a larger company.

All the digital agencies I'm familiar with are small-ish, and many have a "startup vibe" with the work culture. But I won't consider them startups since they don't have an intention to IPO. But is it possible to take such an agency to IPO? Or is there something inherent in the nature of digital agencies that will make them difficult or impossible to scale to that point?
> Investors are far more interested in new customer acquisition than retention

Good investors (I.e, the ones who make investments that turn out to be successful) care a lot about retention, as it’s the strongest indicator that the product/service being offered has enduring value/appeal.
The title looks like spam/ad/fishing funny for a SEO company unless and$ is a currency. the company is Slovakia currency is euro
Firefox preexists Chrome by like, six years (2002, 2008).

Firefox stems from Mozilla (1998) stems from Netscape Navigator (1994, originally).

Chrome stems from Blink stems from Webkit (Apple's thing, 2001ish) stems from KHTML (KDE, 1998).

Amusingly, all the historical parts of the Chrome stack are basically still around. You can install recent versions of Safari and use Webkit, or install recent versions of Konqueror and browse the web with KHTML (although development has lagged since 2016).
The speculation is that NachoAnalytics (they let you "spy" on your competitor's traffic) does something similar -> using lots of general purpose extensions to collect data.
Nah I normally defend Facebook but too little too late as far as I'm concerned.
Those don't work if it's especially cold. Even if cold-weather mitts had capacitive ability, they don't allow enough dexterity to do anything other than mash your hands all over a screen.

I wear these mitts in the winter: https://www.blackdiamondequipment.com/en_CA/mens-gloves/merc...
> Aye, my mother regularly took us to the biggest public library within driving distance. Every few weeks. And we didn't just grab and go, we would spend some time browsing the stacks.

I have very fond memories of spending time at the library growing up. My mom is an avid reader. I just never picked it up. I remember as a kid thumbing through mostly reference books to imagine up projects I didn't have the money or resources to carry out. Maybe I just never got into fiction and reference books were only as-needed?
More money would not generate better outcomes. period.
more money would not generate "better" outcomes. period.
I am the odd duck libertarian who believes we need a minimum income welfare safety net and health care as a right. However, I scoff at giving the government more power in the areas of surveillance and police power. I just do not understand people backing up the government in taking away civil rights and personal freedom in the name of "making us safer". Honestly we are far safer than even as recent as the 90s, let alone the 1890s. People will always find things to clutch their pearls over, and it's all relative.
The 7nm Ryzen parts should have double the avx2 as the older parts. Zen1 has half the throughput per cycle (or twice the reciprocal throughput) when using ymm (256 bit) registers vs xmm (128 bit) in general

https://www.agner.org/optimize/instruction_tables.pdf

If you want to look at `vmov`s or arithmetic like `vadd` or `vmul`. Particularly glaring is that for moves between memory and (xmm vs ymm) Zen1 has a recirpical throughput of (1 vs 2), ie that on average it is able to complete an xmm-memory move once per cycle, and a 256-bit move one every two cycles.
Skylake-X instead has 0.5 for xmm/ymm/zmm-memory. That is, it can move up to 512-bits between a register and memory twice per cycle. That is 8-times the throughput.

Arithmetic isn't as bad, but Zen1's reciprocal throughput goes from 0.5 to 1 on xmm to ymm, while Intel stays at 0.5 independent of vector size.

I haven't seen data on the 7nm Ryzen parts, but their marketing claimed it was supposed to have full width avx2, so I imagine things are different now, and that 7nm Ryzen will do just as well for avx workloads per core and clock as all the Intel parts without avx512.

EDIT: Some instructions on Intel get slower with wider vectors, like vdiv, vsqrtpd, vgather...
tl;dr: The InSight lander, which touched down in Nov'18 has found that the planet's magnetic field sometimes starts to pulsate in ways that have never before been observed, e.g usually at local midnight. The cause is currently unknown.

If you want to dive deeper here's the paper: https://meetingorganizer.copernicus.org/EPSC-DPS2019/EPSC-DP...
Sure, if indeed the InfoSec arm is just for show and not the thrust of the organization, then they were chartered in such a way as to be incapable of cultivating goodwill, and incapable of existing in a just and free society.

And as such, the NSA (along with the CIA and perhaps, looking forward, the ONI, MIC, etc) are subject to deprecation.

In order for peace to come to earth in the information age, we must mature beyond a perceived need to have state agencies keeping secrets on the public dime and fomenting reasonable paranoia among the populous.
https://outline.com/nWDzNS
Simply brilliant. Making bash easier
It was below 3 in 2016.
Just use a Micro ORM from the get-go.

It's the perfect type-safe abstraction on top of raw SQL.

https://github.com/ServiceStack/ServiceStack.OrmLite

https://github.com/CollaboratingPlatypus/PetaPoco

Any errors you get are likely a result of the underlying database/provider (foreign key constraints, etc).

You should never write raw SQL (if possible). You don't need an ORM to achieve that.
Learn maybe. But its easy to construct 3d information from 2d observations. See structure from motion, shape from shadow, Voxel carving, and even orbit determination.
The Patriot Act has done far more damage to our democracy than 9/11 did. It's actually quite sad. It can't be considered Ironic because any idiot can see it's an arrow into the heart of a healthy democracy that is leery of government overreach.
No I'm implying that it allows landlords to collude on pricing without needing to actually meet and discuss it. I can't predict the future of the market so my safe bet is to raise rent each year, because in the event that I desperately need to at some point in the future, I won't be able to.
> Tesla will be fine, for several reasons

Tesla will be fine as a niche manufacturer. Jaguar's been around for a long time and they've always been a low volume manufacturer. Tesla can be the same.

> 1. They're way ahead of everyone else in terms of energy efficiency.

The Hyundai Kona, Kia Niro EV, and the Kia Soul EV all achieve good range at a lower price point than Tesla offers.

> 2. Super chargers - other manufacturers have to rely on really spotty networks of third-party charging stations that are unreliable

Ionity in Europe is a joint venture between many manufacturers. Hyundai just recently joined: https://www.cnet.com/roadshow/news/hyundai-kia-ionity-electr...

Electrify America, EVgo, and ChargePoint now have roaming agreements which simplify charging for their users and makes the separate CCS networks act more like one large CCS network: https://www.cnet.com/roadshow/news/evgo-electrify-america-ch...

Mercedes in Europe has agreements with the European charging networks to allow all charging billing to be done through the owner's Mercedes Me account.

At this point it would be much better if Tesla switched their chargers and cars to CCS instead of persisting with a proprietary plug. If Tesla is interested in promoting EV usage (which they claim is their mission) then they will also allow all EVs to charge at their chargers, just like Teslas can charge at CCS chargers today.

> 3. Tesla actually wants to sell EVs.

Volkswagen has invested more money into EVs than anyone: https://www.reuters.com/article/us-volkswagen-electric-insig...
Probably a year or more ago I compared some data on FOIA request processing times reported by US government agencies against an exponential distribution (not power law). I used the given mean and compared the predicted median against the actual median. Was acceptable as far as I was concerned, though I'd have to redo the analysis to actually get quantitative.

With a power law there's no mean or median starting at t = 0, so this sort of comparison isn't possible given the FOIA request data available. I'd be interested in seeing the data on the tails to see if those are power law distributed.

Edit: I'll do a quick quantitative check. Using data from the CIA's 2018 FOIA report (p. 18): https://www.cia.gov/library/readingroom/foia-annual-report

Simple track:

Mean: 32.21 days

Median: 12 days (exponential prediction: 22.33 days, 86% error)

Complex track:

Mean: 368.49 days

Median: 306 days (exponential prediction: 255.42 days, 17% error)

Not the best fit but could be worse.
Even with all of the content of the Internet, I often still look for a book when I'm digging into a new topic and need to be shown the basics A-Z. It's just too hard to get a complete picture from the tiny snippets people organized for free online. Books paid someone to write something with a specific audience in mind. Often, for things like gardening or pottery, a recent book isn't necessarily more relevant than an old book. Libraries are amazing for things like this.
You literally need the same piece of knowledge to to avoid that n+1 problem in both Raw SQL and ORMs: you have to use a join.

Developers have been making n+1 mistakes with Raw SQL for years before ORMs became popular.

It doesn't matter if the "DBA or experienced developer" makes a select query that is better than the ORM. If this select query is inside a loop then all bets are off already.
10x programmer: I used a tool and it did all the work and now I can move on to the next thing
Ultimately the freedom to decide what code a person runs on their own hardware has to be left up to the user. The users who install every random extension they see are the same ones who download every app and click on every link in the spam they get. You can't protect users from themselves, but you can empower them to better protect themselves.

Downloading a sketchy browser extension takes deliberate action on the part of the user. Just loading CNN.com can (and has) caused computers to become infected automatically because of ads. Limiting the ability to block ads is not protecting anyone.
That's a serious and damning accusation to level against a volunteer contributor to an open source project, and in very bad taste if indeed you have no evidence (or even a reasoned narrative of the hows and whys).
This is really cool, I remember a similar effort being posted here a few years ago: https://news.ycombinator.com/item?id=7121268

I really like this implementation!
Does it also work in zsh?
I wouldn't call this an operator since it isn't operating other applications.

It's a controller which is configured by Kubernetes Custom Resources that extends Kubernetes as you say.
It's not really an anti-tech ruling; more a pro-consumer one.
TypeORM is great, until you realize you have to use Typescript which is not that great if you've ever used a real type based language
It's always weird to see a study reporting a hypothesis you'd always assumed to have been established as common knowledge.

It's exploitable, too. Health concerns aside, it seems like if someone needs to crack some really hard problem, then they might:

1. Prepare by deep sleeping until the mind's a blank slate.

2. Start working on the problem while avoiding deep sleep (to avoid wipes) and extraneous information (to avoid junk that'd force you to get sleep).

3. Upon completing the problem, thoroughly document (the mental copy's about to get shredded), then sleep it off.
I agree there is nothing at all constitutional about them, just like the Patriot Act.
Yeah the Bernie campaign sends me what seems like 10 texts per week since I donated, I honestly don’t understand it because it must really fatigue most people. Maybe it optimized donations over some small A/B test but I will absolutely find a way to get off this mailing list ASAP if it continues. Every single ask for more money has some seemingly urgent reason for it but you can’t use that repeatedly over long durations! It reminds me of the story someone once posted here where every task was a P0 for the PM and eventually they started calling things P-1, P-2, etc

Even once a week sounds like a lot but averaging more than one per day is just ridiculous.
Learn to sculpt! For me, a few hours making faces from clay was all it took to teach my mind the mapping from 3d to 2d. This forces you to think from 2d to 3d by taking an image you have in your mind and forcing you to build 3d support for it.

Then, do still life sketches of what you sculpt, no matter how bad. This seemed to reinforce the other direction for me.

That and play Descent 2.
That argument was lost 11 years ago when the iPhone came out, and yet, people still can't get enough of them.
Personally I’d like to understand how other developed economies solve the many problems underlying the US’s homeless situation. Money alone will not solve mental health issues, addiction, etc.

EDIT: Yes healthcare, but especially for mental health and addiction. Solving these is pretty far beyond simply implementing medicare for all
MyBatis has _some_ similarities, notably the defining entities in xml part. But it diverges after that.

Think about it more like MyBatis meets Spring Data JPA. Define that entity in XML the run a code gen which gives you the CrudRepository class but also generates a controller that exposes an API with pretty good good ability to specify adhoc queries. Plus view models.

I think it worked because it both reasonably well designed and hyper opinionated.
Yeah exactly. Kubernetes has some good built in tools for resource checking (and pods in general imo). I've found this most useful for asserting rules on ingress and services to control exposing of services to the public.
Just not true.

And regardless, why should we develop things that only "experienced devs" can work with without blowing a hole in their face? Junior and intermediate devs are often in larger projects.
The content block lists will get updated frequently just like the ad block lists. And, sure, it’s a cat and mouse game just like it is with the add blockers. But at least this way is more performant and secure.

In the end, as has been said by others, if you don’t like it then use Firefox. That’s what’s great about the browser ecosystem we have right now. There are some really great options in browsers.
As far as I understand it cons just creates pairs (which can be interpreted as lists). It doesn't impose order.