skysight-inc/HackerNews huggingface dataset:
Before standards happen, creative developers are free to use their imagination and come up with useful features. Then someone makes up a standard, and from thereon progress is halted. The only way you grow new features and functionality is through design-by-committee, if people aren't making extensions that would one day make it to the next revision. I think it is ridiculous.

Tools should improve, and standards should eventually catch up & pick up the good parts.

People who need to work with legacy systems can just opt not to use those extensions, but one day they too will benefit. Others benefit immediately.
Morals are also subjective. Take something pretty far on the other end of the spectrum, killing kids. Now compare to abortion. Lots of different people with lots of different views. What one sees as evil another would see the ban of it as evil.
For massively parallel even with async, I still think Go is better than NodeJS. I still don't know how to do bounded parallelism in NodeJS but really easy in Go.
Offline attacks for a motivated adversary, like NSA, are trivial on low strength security measures, like a standard PIN, numeric only PIN, or pattern. Only a strong passphrase would really help you.
Isn't Android at this point a more secure OS? The price for zero days at least is signaling that.
Rust has quite C-like syntax IMHO, with a few important fixes. Types are easier to write and don't have typedef parsing gotcha. Array of 10 functions returning functions in Rust is `[fn() -> fn(); 10]`. I'd faint trying to write such type in C.

if (foo) bar();

is

if foo {bar();}

Same length, but without possibility of "goto fail" error.

Rust may look ugly, especially with generics, but on the technical level there isn't much wrong with the syntax. It's quite readable once you know it. And you can grep function definitions!
The Long Leaf Pine Slate – To Take Back North Carolina
You've been asserting this for a while now, without really describing what you mean by "Zig's approach." What features are you thinking of here, and why would we expect them do any better than existing tools in C++ (or even C)? For example, "modern C++" is also often described as having similar benefits to safety.
The rust community is it's own worst enemy.

Very toxic, non inclusive. If you object in anyway you get a stream of "but muh coc"
I did, first for any search that might include political bias, due to results' censorship, but then I accidentally discovered that programming related searches and other technical searches are often better in Bing too.
How to (Not) Get a Job in Science
no, because it's currency under section 988

no court in the world is going to find that a bank account denominated in dollars is not "currency" just because you're not holding actual canvas bags with dollar signs on them.

"we see a lot of programmers here..." https://xkcd.com/1494/
There was quite a bit of change over the centuries. But they were among the first organs brought back to the baroque ideals and the original state as much as possible. There is a lot of information about these efforts, but mostly in German. Basically the Cosmae organ is now like it was in 1688. This was finished in 1975 and influenced a lot of other instruments to be brought back as close as possible to their original state.

https://www.organartmedia.com/de/hus-arp-schnitger

http://www.orgelbits.de/huss-schnitger.html
Can I run natively on Linux Windows 10 games? That's the Wine I want to taste! :D
This is a broad over-simplification of compiler engineering. LLVM IR is a very leaky abstraction, and there are plenty of optimization passes which make sense for one but not the other. Plenty of optimization passes can and do assume that the LLVM IR is "roughly clang-shaped".
Awesome thanks!!!
And not Spanish banks. It was some spanish "cajas", not banks. Can seem similar, but falls in a different category.
Potted plants don't improve indoor air quality: https://news.ycombinator.com/item?id=21464423
Best 3D Printer Resins You Can Buy for SLA/DLP Printers
Oh I'd go for Transcendental Processing Storage - that way could get a TPS report from the OS ;).
Does anyone know how StackOverflow measures "love" towards a language?
In my city I often hear people joking that they'll "move to Canada" if politics gets too annoying for them e.g. Trump is re-elected. I imagine for them, spending a few minutes with Greenwald's principles would be a 2001: A Space Odyssey-level of alien environment.
What if the task is one-off? would you still care to write a proper utility?

As an example, you have some data you need to fix as input to some program. you incrementally try to fix it with perl:

1) run program with data, observe errors, infer what needs fixing ->

2) write perl to fix data, modify data ->

3) repeat from (1) until no errors

You have no expectation you'll ever need to fix data corrupted in the same way ever again.
The nice part about Rust is that if you don't want to use a given feature, you can just ignore it. You can totally write Rust in a struct + functions style, just like C.

If you want higher level abstraction only in some parts of your codebase, you can do that too. It's easy to mix-and-match.
I'd say it's because it's just a feature to Apple that incentivizes owning Macs and iPhones. For Dropbox it's their whole business -- they can't afford to subsidize the cost.
> That sounds positive. In contrast, a similar situation at Berkeley had a disastrous outcome -- all Berkeley's historical non-captioned videos of lectures were taken down.

It's worth re-iterating that it didn't have to happen this way: Berkeley could have captioned the videos; but there's no indication that they seriously considered this option. In fact, I cannot find any indication that Berkeley tried to find any sort of compromise with the DOJ - despite the letter from the DOJ strongly urging Berkeley to work with the department towards a solution.

The DOJ letter is also worth a read, in that they find the management of UC Berkeley did not seriously attempt to enforce any sort of compliance with accessibility standards.

It would have been expensive, sure. But it's wise to keep in mind that the UC system operates with a yearly budget exceeding nine billion dollars - and as much as we want to worry about the cost of transcribing those old courses, at the end of the day it is a drop in the bucket of their overall expenditures.
The seminal "Trusting Trust" paper, by Ken Thompson, in 1984, is remarkable for being as relevant today as ever, and should be required reading. https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_Ref...
Another good resource is "Why you should learn just a little Awk: An Awk tutorial by Example"[0]

[0] https://gregable.com/2010/09/why-you-should-know-just-little...
MLFlow
Thanks for the kind words. I would say that subpar errors fall in one of two camps: incredibly uncommon (so we haven't "exercised" that muscle to clean them up) or incredibly hard to deal with. I monitor the issue tracker so if you do encounter a confusing error, file a ticket, we treat them seriously.
And that would be structuring which the exchange will note and report to the IRS and will end with you in a court room and/or jail cell.
this was great - thank you
You're probably correct, but I think Rust is probably fitting a solid place of making developers used to higher level languages actually -look- at embedded programming. It's an entry point.

Now, for those who get involved enough in it, they might find issues with the language, and that will provide them incentive to get comfortable with C. Or maybe they won't; maybe they'll get turned off at that point, or maybe they'll find making Rust work a better option, or they'll find still another language that is even closer to C, without the holes.

But either way, providing a way to move in that direction without having to immediately accept all the baggage C brings seems like a good thing. It certainly has moved my mindset from "screw embedded unless it's beefy enough I can run Erlang" to "well, maybe; Rust looks interesting". And I figure if I get comfortable enough with looking into the space, I either
As far as I know the consensus is still that iOS is more secure. Of course there are different definitions of that. Certainly Android is more ripe for abuse by apps downloaded from the store, for example; they can run freely in the background and do things like draw UX over other apps.

Also, privacy != security. iOS is absolutely in a better position on privacy, even after this new development.
Instead, learn fex:

https://www.mankier.com/1/fex
Having an ice cream with your kids and enjoying it is only meaningful due to the cultural symhols and context present in the scenario.

Otherwise, you're just hijacking short term reward systems and facilitating the consumption of empty calories to the (health) detriment of all parties involved.

There's no inherent meaning in the scenario.

Sounds like you are conflating meaning with the felt quality of immediate experience.
sort of (if i'm reading you right), the $200 doesn't apply to the basis you bough things at, but the capital gain. So your purchase price is irrelevant.

If you bought 3 at 100 and sold them at 150, you would have a net capital gain of 3x(150-100) = 150 and wouldn't have to report it.

If you sold them at 1100 gain is 3x(1100-100) = 3000 and you would report as capital gain on your taxes. Right now you have to do this for any amount.

Structuring is a separate issue. Typically that would mean that you can't break up a large gain into a bunch of < 200 gains to take advantage of this.

Note that the language is pretty specific though, and I don't think it applies to any transaction.
You're right! I was thinking about directives here since this was about the copyright directive.

Another point is that even when it comes to regulations it generally falls onto the member states themselves to enforce those regulations.
Couple of reasons I can think of:

1. Most people want cars to run 10+ years, even in America (I live in California). Capital, environmental implications, not many new features etc. are valid reasons.

2. Higher quality cars are better to ride in 5 years than lesser quality cars. I would rather drive first 5 years of a car than the only 5 years of a car.
I've complained about many companies that are devoting even more resources to buybacks on this very forum, including Chevron, Texas Instruments, Google and Oracle. Google in particular has been the trendsetter, everyone else is trying to keep up with their buybacks.

This news story is about Boeing, so yes I'm going to talk about Boeing here.

Do you work in defense or aerospace? You seem to be taking this personally for some reason.
> Rust-the-language doesn't know anything about allocations

AIUI, Rust knows more about allocations than it should, since it's still limited to a single global allocator, and Box<> (which relies on that global allocator) is implemented via compiler magic and cannot be supplemented by equivalent library code. If Rust supported "pluggable" allocators in some fashion, fancy features (including heap compaction, although I find that a bit dubious TBH) might become easier to implement.
I worry for my data. If I invest a lot of time to build a repository of information, how can I archive it, extract it out of the platform. It is in early release, and they seem to avoid the question about pricing.
another day, another reason I am glad I only know some C++ idioms. If I had a byte-oriented block of data, it would never occur to me to use std::fill() ... because it would never occur to me use std::fill() for anything at all ! :)
I encourage you to consider how your statement, "I don't trust Microsoft," sounds to a higher level exec or department head. I don't mean this as a criticism -- I notice there's a tendency for ICs to state their opinions in such a way that hurts their perception.

Namely, if you were to state to a higher level manager that you "don't trust Microsoft", you will come across as a crank. Or a developer who doesn't see the bigger picture.

To improve perception, folks should try to reframe their personal preferences ("I don't trust MS") as risks to the business - "I worry that MS will lock us in to their platform and jack up prices". The former is reputation-harming; the latter is being a savvy 2nd order thinker, who looks beyond just what the MS salesman says.
Are we arguing semantics or whether or not climate change is occurring or ice is melting?
I hear Duck Duck Go is pretty good these days. I tried their image search after Google removed a feature I liked and it had a feature I didn't even realize I wanted.
I agree with your point, although I don't think "slightly unexpected" is fair in this case. For non-locals, Vancouver and the region was hit with pretty heavy snowfall, ice and wind that week.

Sources

Footage of conditions in the city:
https://www.youtube.com/watch?v=Ek8dN9AoGbo

Hydro woes and 150km/h winds in the region:
https://vancouversun.com/news/local-news/snow-day-highway-al...

Transit status snapshot:
https://www.vancourier.com/news/metro-vancouver-snow-results...

School closures, Blizzard warning:
https://vancouversun.com/news/local-news/snow-day-highway-al...

Interviews about the ice buildup:
https://www.youtube.com/watch?v=FWgx99k585s

Finally, a bit of fun; how Canadians deal with weather:
https://bc.ctvnews.ca/video-shows-people-skiing-snowboarding...
I've been using Inkdrop, mostly because I like my notes E2EE. It's worth a look: https://docs.inkdrop.app/security
Since a counterfeit power supply can kill you (a British study showed out of 400 tested chargers, 398 could not safely handle power surges), this is literally a life-and-death issue.

The thing is, the commingled stickerless inventory program is only supposed to apply to items sold by Amazon, not to third parties like AnkerDirect, so the hypothesis it's fulfilled-by-Amazon that screwed the pooch is more likely.
Apple EULA used to (still does?) prohibit virtualization of macOS on non-Apple hardware, so this setup could get flaky (need to patch around new hardware detection mechanisms when upgrading the OS).
> The counterargument here is that the officers of the company can make most of their income not from being paid oodles of cash, but from being given oodles of stock that they later sell back to the company, which is now capital gains and not ordinary income.

Unless the stock option gains value (which is capital gains), no, the option itself is treated the same as if they had been paid cash.

> In general, the tax treatment for stock received as compensation for your services -- that is, stock in lieu of pay -- is the same as for regular pay. You must pay income taxes on the fair market value of the stock you received. Say an employer gave you 100 shares of stock in lieu of pay, and on the day you received the shares, the stock was trading at a price of $40. You've received the equivalent of $4,000 in income, so you'll be responsible for paying taxes on $4,000 in income. How much that tax will be depends on your tax bracket.

https://finance.zacks.com/tax-stock-lieu-pay-11287.html
Body-You will say anything to get what it wants, including “We don’t have time.” I’m calling it Body-You but, at least for me, it’s really a collection of parts of my mind that are against the action.

As for the “lying”, Body-You knows it is not a lie but doesn’t care. If You believes You is lying, Body-You is more than happy to use that as yet another excuse.
It does not. Compare:

$ echo ' 1 2 3' | cut -f2
1 2 3
$ echo ' 1 2 3' | cut -f2 -d' '

$ echo ' 1 2 3' | awk '{print $2}'
2

"-f [...] Output fields are separated by a single occurrence of the field delimiter character."
I don't think so. I think they're referring to cut's ability to select an arbitrary range of columns, e.g. `cut -f 2-7` to select the 2nd through 7th columns, while awk requires you to explicitly enumerate all desired columns, i.e. `awk '{print $2, $3, $4, $5, $6, $7}'
I didn't say syncing was a backup. That's the opposite of what I'm saying.

I'm saying that my phone becomes the synced copy. The cloud is the canonical version (backed up separately elsewhere) and my phone becomes a device I can lose or break and not worry about anything so I don't need to back it up. As soon as I create any content on my phone I upload it to the cloud.

Take my phone from my hand at any moment and as long as I've had signal in the last few minutes I've lost nothing.
The simple fact for Boeing to continue "operating as usual" without real consequences dis-aligns incentives that have been present until now in air travel making it so safe. The precedence it creates can ripple so that e.g. Airbus also slacks on safety to stay competitive if this is the new normal...
Regarding #1: iCloud in China is operated by a mainland Chinese company and subject to that company's terms and conditions. So you can pretty much assume iCloud data is completely accessible by the government.

Source: https://support.apple.com/en-us/HT208351
How long has it been since you've used LibreOffice?

If lacking a ribbon interface makes you feel like someone chopped off your hands...take your hands off the mouse and put them on the keyboard, haha
Oh my god, that page is going to disappear soon now.
It requires sign-in for me.

> To keep reading this story, create a free account.
There are like 50,000 L1 visas total, and similarly few OPT visas.

So you're looking at half a million out of an industry of 4+ million.

When you overstate the impact by a factor of 3, it's easy to create a Boogeyman.
> sound static analysis tools that guarantee no undefined behavior of C code, but AFAIK, such tools can at best only work on a subset of C++, because of its complexity.

What tools are these, and why haven't they been deployed across every C codebase to prevent memory safety bugs?
There are a few possible approaches. I figured they're using b2.
I'm pretty sure Synology has builtin tools to mirror to it. Backblaze will backup external drives that are attached to the computer, but if they are disconnected for 30+ days the data is deleted. While network drives aren't backed up there are ways to have them appear as local drives (which I hear are a pain to deal with).
It has the highest wealth inequality in Europe though (iirc, it is as high or higher than the US). In absolute terms, Germany's average net financial wealth per capita is slightly less than Greece...and in Germany, they have a substantial number of billionaires (usually very old money that got rich through govt aid/subsidised loans...or, unf, something much worse) which they don't in Greece.

Btw, the IMF actually produced a special report on inequality in Germany. It is a very serious problem and probably more serious than in the US (a trade surplus is just an excess of savings over investment: Germany industrialised through subsidised loans to politically connected companies, this meant very low interest rates...they are basically China, btw China copied Japan's model and Japan copied Germany...insolvent banks, very high inefficient saving rates, very low wealth, very weak savings system, low wages, very concentrated/vulnerable economically, non-functioning capital markets...it goes on and on).
It could be signalling one is a far more attractive target to exploit, because e.g. harden shell, soft interior (M&M architecture). Or maybe Apple patches quicker and gets them out quicker, so exploit lifetime is shorter. Just to be clear, I don't know if that's true, but it's equally plausible explanation for the exploit price
> Okay, for the sake of argument, let's accept your worldview where good and evil are subjective and therefore irrelevant.

How did you make that giant leap? Subjective doesn’t mean irrelevant, it means everyone has their own opinion on it which makes it quite relevant.

Your tangent was difficult to follow on the sole basis that Google is no different than any other entity. The US government is evil because we don’t share the same goals. Vegans are evil because we don’t share the same goals. Football players are evil because we don’t share the same goals. I can go on but you should get the picture by now.

At the end of the day, you should understand that businesses exist solely to make money. If they didn’t make money, they wouldn’t have investors. Without investors, most businesses would not exist. Without those businesses, we would be objectively worse off.
FAA didn't fire anybody for their role in the deaths of hundreds
Make the right side of the function call a list or a dict.

myListOfInts foldLeft (0, +)

or if you make : to be right associative cons function

myListOfInts foldLeft 0 : +

or using dict

myListOfInts foldLeft (zero: 0, op: +)
Ask HN: Do I need to learn CSS?
I am learning Python for Web dev. Do I need to learn CSS?

Please suggest which CSS framework is the best, and resources to learn CSS.
Er, what? It is an IBA official cocktail.
There's the lightweight approach of just deleting all your bookmarks and trusting you will be able to answer any future question for yourself. This is similar to choosing to live without a long-term todo list, trusting that anything that needs attention will present itself to your attention.

The latter has never really worked for me, so the heavyweight approach is to have a why-justified system. If you're going to save a bookmark, it had better be referred to in some checklist or documentation attached to a long-term project that you are actively working on, and that you've sufficiently justified as being a necessary part of your long term goals or values. In other words, any bookmark worth saving should be able to be attached to some sort of actionable tactic.

And as part of that, all of these projects (and bookmarks) need to be actively reviewed. If you aren't regularly reviewing them, then just delete them.
Badass Google Chrome SEO Extensions for 2020
Not if the columns are separated by variable number of spaces. By default, the delimiter is 1 tab. You can change it to 1 space, but not more and not a variable number.

In my experience, most column based output uses variable number of spaces for alignment purposes. Tabs can work for alignment, but they break when you need more than 8 spaces for alignment.
Institutions don’t die only because they are sick, sometimes certain things need to have certain scale or environment to function.

The silicon valley tech giants wouldn’t have enjoyed the same success if the US was not what it is.
They botched the original Windows Phone through a failure of management

This. I had some Windows Phones besides my iPhones, because I liked very much what they were doing. Windows Phone 7, despite being technically weak (it was based on Windows CE), had an awesome UI. Nokia had some really affordable phones that were really well-built for the price and Windows Phone was getting traction. Quite a few friends/colleagues bought a Windows Phone, because it was the hip thing after the iPhone. The development story was also great, they used .NET and XAML (IIRC), which also made it possible to demo applications on web pages through Silverlight.

Then they screwed over all the early adopters by completely deprecating Windows Phone 7, doing one final release (7.8). None of the Windows Phone 7 devices were upgraded to Windows Phone 8. Most of the traction they had up till that point was lost and they were basically starting over with Windows Phone 8. Windows Phone 7 was already late to the market, the hard WP8 cut set them back even more years. And then it was simply too late.

There were technical reasons for WP7 -> WP8 (such as moving to the NT kernel, adding multi-processing support). But the hard cut was a catastrophical mistake. Either they should have started with the NT kernel in the first release or they should have had a gradual migration route from WP7 to WP8.