skysight-inc/HackerNews huggingface dataset:
> Look at a comp sci class in the last decade, and you'll see 1/2-2/3rds of them with MacBook Pros in their laps,

Perhaps in some countries, definitely not everywhere. At my university, there is only a single Mac across 40 or so laptops.

> because it compiles iOS apps

I doubt students buy Macs for that. iPhones are not nearly as popular outside the US.

> and it's a *nix

Students don’t care about its UNIX certification. Most don’t even know what that is when they start their undergrad.

> it easily runs most of the same tools as a linux webserver

No, it does not. Many important dev tools are not available, not even through brew.

> That's what WSL is about, trying to win back developers

Globally, the majority of developers are on Windows/Linux, not macOS.

> They're trying to make it feasible to target a linux webserver

I’d bet this is about avoiding Linux becoming the major platform for ML/DS/AI, rather than anything about macOS.
alwaysleg.com

dogdo.com

toiletchildren.com

mousetrapking.com

nevercompletely.com

lol
No way whatsoever.

NASA will get itself tied in politics and paperwork, NASA's contractors will take in as much money as possible, while doing not very much work, and Musk will 'aim' for 2024, but be closer to 2042.
Ask HN: Liquidation Preferences in Kiss
My startup is not going to survive. We still have cash in the bank. One of our investors has a 2x liquidation preference via a KISS note. Does that mean they get paid the 2x first before we return any money to to other investors?
> And it may eventually take down Oracle.

Oracle is basically a department of the NSA/CIA/FBI. Sales to companies are just cover for the real game. It will never go away.
Apple Gingerly Sets More Stores to Reopen
> For Sudoku, that's easy to verify.

I meant: For Sudoku, it's s easy to verify that a given solution is correct. (cannot edit)

Of course, being given the solution first in order to even try, can be a bit boring. For that, there exists "zero-knowledge proof" where one can reveal one knows an answer, without actually divulging it. Here is a writeup about someone doing that for Sudoku: https://manishearth.github.io/blog/2016/08/10/interactive-su...
I've never had an uber driver who used to be a taxi driver personally.

Also- taxis provided a god-awful service who's pricing was only sustainable because of government regulation
Let's concatenate strings.

a + b
f"{a}{b}"
"".join([a, b])
"{}{}".format(a, b)

If a == b, then you can also, which itself is a bit ridiculous:

a * 2

Is mentioning StringIO considered cheating?

I would feel the Zen if Python would have a separate concatenation operator, it could be even the same for strings and lists. Lack of the operator in popular languages is my pet peeve.
Oh, I thought it was the webplayer that the podcast site uses. If that is Spotify, shame on them for DRM.
I disagree. It's quite possible that this disagreement is particular to The Netherlands, but we're /steeped/ in US culture. We also 'hate' the US. It's complicated.

If you listen to a conversation any thirty- and probably twenty-something (and possibly teen?) has, it's steeped in references to US media. Friends, Arrested Development, Breaking Bad, etc.

We had Obama election parties back when we thought he was an actual change candidate. Among the more reading- or academically-inclined, we reference Twain, Poe, Wallace (D.F.), and so on.

Personally I'm not very Dutch, and so my alignment with US culture in the broadest sense is greater than most, but I'm constantly surprised by how much of my culture here is defined by the US. It properly eclipses anything home-made, anyways, at least when it comes to entertainment, which is what we spend most idle time on anyways.
I don't see what's misleading about it. AC vs. DC has nothing to do with which direction power is flowing, which is what they're talking about.

And feeding power to the "grid" is actually quite straightforward, at least for the customer's equipment. In effect, you can think of the 60Hz oscillations of AC voltage as being like an enormous rotating crankshaft that each customer is tightly coupled to. Correctly applying a "torque" to that system automatically distributes the energy where it's needed.

In contrast, de-coupling and re-coupling one house with the grid on demand is a lot more complex: you lose the stabilizing effect of the grid's enormous "inertia", and you have to carefully synchronize the phases when reestablishing the connection.
Can artificial intelligence learn to beat the stock market?
No worries at all! :-)
You can only buy it up and sell it at a profit if what is being sold is a good, not a service or licensed code with attached terms and conditions. And with the advent of small enough computers, nearly nothing is a pure good.
At first I read "Designing the Perfect Date" and missed the rest of the headline. Now I'm disappointed because I was hoping for tips on how to design the Perfect Date for my girlfriend. So, any tips?
https://www.webpagetest.org/lighthouse is one example.
What about the uber drivers who rent cars and still find it worthwhile?

Do the rental companies also not understand depreciation?
Wasn't it originally something like "Linux Subsystem for Windows" and there was some legal problem with the word "Linux" being first?
Tikz maybe?
I was going to add my mother-in-law to our Spotify account and Spotify wanted her to be at the address provided on the account. I didn't follow through because I assumed (didn't try) that they would do some sort of GeoIP lookup. She's close (8 miles) but Comcast instead of CenturyLink so definitely different IP range.
Senators Outrage at Hearing over Mnuchin Sneakiness with Taxpayers’ $500B
rip conway
With regard to Apple or Google recording the applications users install from the store I think there is indeed an opt in.

That is the comparison I was making with the new Windows package manager.
Could you explain to me what you think an Extinguish step would look like in that sequence? Because I don't think there is a realistic one, and I don't think Microsoft thinks so either.
While they may not have removed it entirely, they've severely damaged the existing taxi industry, which was slow to change and had tons of issues itself (like selling medallions that let you be a driver for hundreds of thousands of dollars and drivers no longer making enough to pay that back now that Uber is in town).

According to the article below, in 2013 a medallion in NYC reached a cost of $1.3 million, but has crashed as low as $240k since Uber and Lyft started operating. The drivers that bought it when they were expensive are probably really struggling right now.

Uber and Lyft have since made it clear that the medallion is an unnecessary expense, so in a way it's a good thing, but meanwhile the drivers that bought into it are screwed.

https://www.cbsnews.com/news/how-much-is-a-nyc-taxi-medallio...
I think you have a point.

However. Seriously. Who the heck needs 5 9s?
Who are dependent on only being able to hold their breaths for 60 milliseconds per week?
On the other hand, if Microsoft themselves are publishing this code as open source, on the open, on one of the most important projects out there, and are actively asking other experts from other companies to review it, I would imagine they are weakening their arguments on the potential litigation.
To be honest the cafe scene you described sounds like an over-the-top scene from a movie show as well, much like the one you posted.
Is NASA no longer an acronym or something?
> This is very far-reaching. We might also imagine, that, if only we sacrificed any and all redheads once they reach the age of eight to the volcano god, the world would be blessed by everlasting peace, wealth and bliss.

Sounds reasonable.

> But let's not do it just because we can imagine something.

Does this mean I need to take down that ad on Craigslist?
Why should my window manager dictate what programs are allowed to start it?
That's it. I'm learning Kdb.
The issue I see is that based on what I've seen with sites that offer both options, it would be $1 per article to push you towards taking the subscription.
Yeah. I worked at a large SV tech company (though not in SV), and sooooo many people left for Uber. Even at the time, I never really understood how they were going to become super-profitable.

In fact, when they reached out to me in 2017 with a really cool opportunity I declined as I couldn't understand how they were ever gonna make enough money to make the deal worthwhile.
> Actually it was more ridicule of you; I realize you didn't like my tone but I didn't like yours as well, normally I wouldn't have replied but character is situational and I'm in a bad enough mood the last week to respond. I believe the phrase tit for tat may apply here.

If you're in such a foul mood, don't let it make you write reams of nonsense. Go on Duolingo, read a book, or take it out on your text editor like the rest of us.
That's just macOS, not iOS, right?
To be fair, over the span of a few years; I spend more on team dinners.
They are not yet switching to GraalVM, much of the conversation is about how GraalVM doesn't solve the same problems that Scala Native solves.
Yup.

S390 (IBM mainframe arch) is first-class citizen for RHEL, Ubuntu as well as languages like Java and golang.
> What are the main costs of releasing a Linux version of a game when using Unity or Unreal? My limited experience with Unity has been "check the Linux box, click the build button". It even cross-compiles no problem. People I know tell me Unreal is similar.

For a simple game that uses the entire UE4 stack, you might be able to get away with that if none of your code is Windows-specific and works exactly the same on the Linux distribution you are targeting.
Once you start using your own middleware and libraries from outside of the default engine, you need to make sure every single one works across all the platforms you're targeting. Many won't have a Linux compatible version, and those that do may only work against specific distributions and hardware. Even then: Have they changed the window manager? What have else they customised?

There have been many issues with anti-cheat solutions over the years on Linux.

> It's not like they have to do a full run of play-testing for Linux. Just check if it starts, play for 10 minutes and release that.

For a simple game, you may get away with this. Anything larger will require significantly more testing. I've been a producer on large games, and the QA process starts very early on. You don't 'finish' a game and then QA starts - It's an ongoing process that consists of significantly more than just launching a game.

>We know we're a minority so we're willing to put up with bugs

Some people don't see it that way though. People who have paid for a product have the right for it to work properly. Tickets for Linux support are often higher [1], so the time investment against payback can be problematic.

GPU driver support on Linux can also still be problematic. From feature differences against Windows, to crashes. These all take additional development time.
Linux developers are often more difficult to acquire in the game dev world. QA even more so.

Game dev is really hard. Some of it is hidden by engines like UE4 on the surface, but as soon as you start digging down into serious development, it's difficult.

[1] https://twitter.com/bgolus/status/1080213166116597760
I think the real problem started in the early '10s, when mainstream journalists got lazy af and just started combing Facebook and Twitter for material rather than doing actual journalism. It started with "crowdsourced" journalism like photos and videos of actual notable events, but devolved into internet drama stuff pretty quickly.

Many people saw what was happening and started treating Twitter as a legitimate news source to try and 'scoop' the major news outlets. Once it was obvious that being on Twitter gave you an outsized voice, it attracted all sorts of bad actors.

The 2016 election really threw it into overdrive though. Part of me wonders if Trump's whole Twitter strategy is to rile up the left because most of his base is old people on Facebook or Nextdoor. The young edgelords who were already using Twitter didn't take any of it seriously because they were just using it to troll people with 4chan memes about using bleach as eyedrops anyway.
Intel Core I9-10900K Review: Ten Cores, 5.3 GHz, and Excessive Power Draw
What Happens If Something Goes Wrong During the SpaceX Crew Launch?
I'm struggling to fully understand the point. The author states that accumulation of capital led to this economy where investors are almost forced to lose money because they don't have enough good investment opportunities. That implies there is a transfer of wealth from those investor to the workers in those money-burning companies.
The author also states that this probably won't work for Uber to gain monopoly status anyway.
This really sounds like a redistribution mechanism naturally occurring in the market itself.
Then the author pushes for this to be regulated out of existence. What am I missing?
How to Add a Voice Assistant to Your Existing Application
I implied no such thing, relax.
The "for free" or "for cheap" is implied.

IBM doesn't exactly hand out VSE or z/OS licenses for peanuts...
There's a whole world of chess composition/problems. You can even be a grandmaster chess composer or solver. Some composers are legendary in the chess world, e.g. Troitzky, Sam Loyd, Kubbel. Chess problems come in various kinds, and are a bit like cryptic crosswords - they seem impossible at first but there are customs, tricks, conventions which make them easier with experience. "The role of aesthetic evaluation in the appreciation of chess problems is very significant, and indeed most composers and solvers consider such compositions to be an art form."

https://en.wikipedia.org/wiki/Chess_problem
AWK really ought to have the inverse of its 'split'. Yes I can do that with string concatenation in a loop but that's not ideal.
> Linux is ok for certain types of developers, it's still awful for normal users, abysmal for office work and obviously not a choice if you develop Windows software.

Don't want to get into an OS war here but merely stating your opinion as fact without supportive evidence is not in the spirit of HackerNews.

> it's still awful for normal users, abysmal for office work

For office work a lot of workload has moved to the web browser. Creating documents and working on spreadsheets for instance can now all be done online with Microsoft's Office offering and other competing products like Google Docs.

And why is it awful for normal users? ChromeOS for example is just linux, and that whole platform is targeted towards 'normal users'. I use linux on all of my personal devices and I use these devices to do very 'normal user' activities like watching YT, social media, blogging, etc. There are many communities that consist of 'normal users' like /r/Thinkpads or /r/LinuxOnThinkpad that are currently enjoying linux.

Precisely why do you think it's awful for normal users and office work?
> You only get to see the backup password ONCE. They create it for you, it's a giant bunch of numbers written in columns. They show you that the FIRST time you enable backups, which might be years away from the time you need them.

You can create a new backup if you forget or lose the encryption key, and considering it creates them periodically this doesn't even serve as an extra inconvenience for me. I don't see an obviously better alternative for creating an encrypted backup. Why would a password repeatedly be shown to a user?
Microsoft’s new Windows Package Manager is already better than the Windows Store
If you don't care about portability at all.. (regardless if it's just within linux or to *BSD).

And like I already mentioned in my previous post.. there are other alternatives around than just SysV-init..
Ye I think this is a good point. They use their cars as a credit card. I.e wear for 100USD to get a similar amount in cash.
I don't know the song "alone wearing earplugs". Who's it by?
I don't have numbers, but browsers must implement it as a Gaussian blur (because that's what the spec says) which is quite costly.
The Intel Comet Lake Core i9-10900K, i7-10700K, i5-10500K CPU Review
Notion actually announced new pricing hours before Microsoft announced this.
8 hour old account, with a one liner about "facts", and using the right wing "cuck" as a pejorative.
Tables are perfect for tabular data. They are the correct markup and should be used for that (so not avoided at all cost).

Tables are not the correct markup for positioning various items here and there to create a layout on a page.
Because gig economy businesses successfully lower the friction of getting a job.

By having an on demand workforce, they can fire (aka not schedule) much more easily. Consequently, they can also hire easily.

There's a non-negligible pool of people who hate job applications and interviews, but want a paycheck.
Once upon a time people would put applications delivered baked into AMIs as a deployment approach. Using a combination of CloudFormation metadata, Cloudwatch Alarms, cfn-init, and other tools applications could be deployed end to end with a single tool immutably. Many people are stuck with this rather coupled approach because trying to pull it apart would take more effort than is worth to the business.

In a lot of situations infrastructure deployment and configuration management is deeply coupled in the AWS ecosystem (DB changes, Serverless technically is changing your infrastructure definition as application changes).
1Password figured it out, and even wrote a paper about it. So it's a solvable problem. They even figured out a good model for helping recover lost passwords when my family members forget it.

https://1password.com/files/1Password-White-Paper.pdf

Don't work for Agile Bits, but have used 1P for a long time and couldn't live without it.
> I accidentally wound up managing a cafe about 25 hours a week for free, was that not work?

As long as the cafe pays taxes, follows the law like any other business, and claims you as an employee, sounds like work to me.

You could also be part of a nonprofit that holds mini-concerts in nursing homes, provided that all the appropriate tax paperwork gets filed.
According to Wikipedia: https://en.wikipedia.org/wiki/Timeline_of_the_far_future

The emergence of a Boltmann brain is on the scale of "all iron stars collapse via quantum tunnelling into black holes"

The next milestone is all matter decaying, and the universe being empty..
The reason AWK is so awesome is that it's only great for one case: working on a stream of lines
We used to blur content behind modals. When the modal animated in, it'd hit single digits fps on a MacBook pro. Ditched it for a more opaque scrim and fps was back at 60.
Pretty clever use of old tech. I think I probably would have tried embedding the raster image in an svg[1], then overlay shapes for hover or click events.

[1] https://css-tricks.com/lodge/svg/31-can-put-raster-images-sv...
Agreed - containers and VMs have made this approach even simpler these days.

Mainframes on the other hand are next to impossible to get in hardware and pretty much useless when emulated (what good is Hercules if you still can't get z/OS or VSE for it?).
Must-Have [Ruby] Gems for 2020 I use in almost every SaaS project
No she just has to enter the same postal address when asked. That’s it. Geoip wouldn’t work I think because what if you’re traveling or on a vpn etc
Given that the main use case is stuff like running machine learning tools, the only people directly targeting DX12 on WSL will probably be framework/library developers, who might want to add DX12 as one of the graphics systems they support. If that's the case, the vast majority of developers won't notice any difference other than more software supporting graphics acceleration when run in WSL (or, another way of looking at it, when Linux is running on the WSL "hardware"/"platform").

Sure, nothing stops you from targeting DX12 directly in your application code, but why would you do that? At that point, you'd just target Windows since your users would have to be running it anyway.
> The discussion is not about citizens.

It is about any person that would be caught in the wide spying net despite not being under any reasonable suspicion whatsoever. Blanket monitoring just means "more than one's warranted interest targets". If there are reasons for suspicion and they justify spying it will still happen.

> I am quite comfortable

Should the constitution enshrine the right to "the lowest thing one person is quite comfortable with"? Yes, plenty of people are quite comfortable taking a lot of crap as long as they can still brag about their rights and their constitution. Others would rather see those rights enforced. Do you want your constitution to protect more than your bragging rights? Than perhaps you should defend it an not just "be comfortable" with one more violation.
The most obvious retort -- the one that springs to mind first, is, "What makes you think that?" But that's not really the most useful question...

More usefully, I'd ask, "Why the Moon?"

The US has been there, the science is well known (which is not the same as saying the science is all done) and all you (the US) can do in a international consortium to "Moon" is give away the crown jewels in knowhow and tech. Add to that, it's a research mission down another gravity well. I'd think that Mars is a more attractive science target (if you're determined to get stuck with gravity wells), one of the Lagrange points more useful from an engineering/space exploration perspective as a way-station, the asteroids for science and potentially minerals/engineering/learning to build/do stuff in space and outside the Earth's magnetosphere, or the gas-giants' moons for science/the search for extraterrestrial life. And all of those are things that (for large values of `true`) only the US has the capability to do. Leave other nations to go back to the moon.

Do the stuff no-one else can do and that will hugely enhance US space capability over anyone else. (I say all this as a non-US person.)
I came to AWK via DTrace http://dtrace.org/blogs/about/

When processing event streams, it's very natural to express transformation as FILTER + ACTION rules.

AWK is an embodiment of this idea for the domain of text processing where events are lines (or multi-line records).

DTrace uses the paradigm to process low-level system events (like scheduling events, or (kernel) function calls).

It's a good paradigm, worth using.

However, it's easily replicated in every other language with a loop:

while true {
rec = read()
if( filter1(rec) ) { action1(rec) }
if( filter2(rec) ) { action2(rec) }
...
}

You don't need a special language to do event processing like this.
Click-and-hold/right click on the button and you should be able to resolve any "hijacking". I'm not sure why people complain about this, it's not hard to deal with.
Create Serverless Functions with OpenFaaS
https://en.wikipedia.org/wiki/Brendan_Eich
Free Pug and CSS Workshop with Jhey
I ran my whole little house+farm in Indiana off a 5kW (7.5kW surge) generator for a week, and then on and off during other power outages. It was 12+ years ago, so I don't remember exactly how much I spent, but I'm pretty cheap and didn't have much cash back then so I suspect it was about $500.

It was a small household, no AC, but well pumps, fridges etc and it ran just fine.
Portable to other systemd-using Linux distros.

sysv init scripts simply weren't portable between distros, leading to tons of non-standard, incompatible fragmentation.

Users simply couldn't simply take their own scripts over to another distro and expect them to just work, given said differences.

With systemd, unit files will simply just work between all systemd distros, given the standardized format.
I'm sure you see the problems with a rule that "follow the money" is ironclad and you'll never believe that someone acted badly unless they were paid to.