skysight-inc/HackerNews huggingface dataset:
After he started outlining his solution, I was disappointed he didn't go on to say "gotcha! I'm describing Git with signed commits! Hahaha!"
Not that I completely agree with the extent of the punishment, but if you only ever charge the person the amount you would have made from the sale, and don’t provide any other punishment (eg fine on top, conviction, community service etc) then there is little to no incentive for anyone to pay for them.
Catenary
How Rust’s standard library was vulnerable for years and nobody noticed
Well, in the good ol' USA, gov't seems to be increasingly shifting to Twitter these days. That's more than a little disconcerting.
The page says that this archive has 4,782,131,719 source files and 4,188,748,858 directories. Isn't that weird? These numbers suggest that every 4 directories have less than 5 files on average. I would expect the first number to be much higher than the second one.
Zzz boring, no substance, I would simply not respond or shut the phone
Yeah, I get that they're right. I just wanted to share my surprise that curl changes this "convention", though I guess it's to be expected because curl doesn't really take input anyways.
This makes sense. If both parties benefit then we should start an economy that consists of only a stock market. Get rid of farmers, factories and other products. Just have this market of people trading certificates representing Corporations.

According to your logic every time a transaction happens both parties benefit and the economy grows! Thus we can continuously grow an economy just by trading paper! Obviously this doesn't make sense....

Utility and value is not a concept that is solely tied to human opinion or imagination. It is not just your opinion that shapes the value of something... your opinion does not change the fact that you need food to survive, try as hard as you might to change your opinion on the value of food, you cannot reduce the utility of food to zero, you cannot change the fact that it is required sustenance for us to survive...

Value and utility are intrinsically tied to physical matter and physical energy, it is less abstract than you think. All things of value and all things that have utility are actually things with reduced entropy. I can't say that all things of reduced entropy have value, but all things of value absolutely have reduced entropy.

Reduced entropy can be exchanged, moved and created when you input more energy into the system. It is also constantly running out. Because of this it is by far better to think of value and utility from a natural resource perspective, the same way we view energy oil and mined products.
Make sure you start posting more sample code for these tools. Most windows devs are not aware of the command line or find it "unprofessional".
But what’s the difference between you and your brain?

;)
Great article about a wonderful honorable man who didn't let Washington DC corrupt or change him.
Haven’t tried it yet but my favorite part is that it’s embeddable in your own programs.
I'd want to see the rate of inheriting tax status versus reassessing the tax status on sale or transfer. If this is somewhere even in the double digit range I'd consider it a substantial issue that may snowball over time. The government discrimination by the government due to an individuals' ancestry is generally regarded to be unacceptable - the times we've done this in the post have mostly been remembered as immoral and wrong.
would love 8088 vs nec V20 analysis
I've seen this sentiment repeated a lot.

I recently learned that OpenBSD has a kernel-level debugger. That's really nice, and something that I've wished Linux would have had for a long time. I mean it makes so much sense - "the system's panicked, here, poke the hardware registers!" versus "and here we have a module that borrows 114 bytes from your real-time clock to write a hash of where the boot process is up to (and here's the accompanying tool that bruteforces what the hash even means), and over here we have some code that tries to print a QR code to the screen, oh and this module configures a TTY over the EHCI debug port, and over here we can set up early consoles over Ethernet, and...", and in the end you just give up and order/find legacy-compliant machines with RS232 headers hiding on the motherboard.

On that note, that reminds me, OpenBSD is probably going to keep X hanging around for a long time. But that doesn't say much about driver support going forward.

Hmm, I just poked around looking for licensing info for the Intel "Linux" drivers. They appear to be MIT (!), reading random files from

https://cgit.freedesktop.org/mesa/mesa/tree/src/intel/Makefi...

https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/...

https://cgit.freedesktop.org/mesa/drm/tree/intel/intel_debug...

And, conversely, I was very fascinated to see that this liberal license has already lead to exactly the kind of thing I'd have hoped for - perusing the history of a randomly picked file, https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/dr..., I see:

> Update inteldrm(4) to code based on Linux 4.4.70.

...

> Update inteldrm to the code from Linux 3.14.52 ...

...

> Make use of recent drm_linux.h additions to further reduce the
diff to linux.

...

> use linux style memory allocations in shared drm code

...

> Switch generic drm modesetting code over to Linux-style negative errno return values.

That's very very cool. GPL was never that productive. :P

With OpenBSD's Xenocara fork, X'll still be around for a while. (Uh, as an aside, shortening "X will" is weird, lol.)
Article on HN: "The government shouldn't be trying to do this, we need encryption, decentralized services"

Article on Reddit: "Delete Facebook! Fuck Zuckerberg."
Dueling with swords, until first blood, ought to be leagal. Not to decide guilt, but as a way of settling slights. Of course I fence, so I’m slightly biased.
The whole point is it's not about the individual home owners. It's about the trusts and businesses that own huge amounts of property and which pay easentially zero property tax because they were covered under prop 13.
Having spent years working with numpy and Cython, then switching to Scala for years as well, I much prefer dynamic typing.

Strong type safety is mostly just a waste of time.
BTW - a tiny bit of python to keep /dev/urandom fed post 4.8 - useful if you have a hardware RNG (either an external one or the one in your CPU):

#! /usr/bin/python
#
# OneRNG /dev/urandom tickler
# (C) Copyright Paul Campbell Moonbase Otago 2018
# Released under a GPL 3.0 license
#
import time

with open("/dev/random", 'rb') as r:
while True:
with
open("/proc/sys/kernel/random/entropy_avail", 'r') as e:
iv = e.read()
print(iv)
if iv > 1500:
x= r.read(1000)
e.close()
time.sleep(1)
Visual studio and visual studio code are two very different products. Visual studio doesn't even run on Linux.
Don’t forget that he’s taking ambien to sleep...

This isn’t going to end well if he doesn’t slow down.
Well, perhaps you have a better answer to my question than forest's answer, to which I awarded the bounty. For my money, I think that's one of the finest and most balanced pieces of writing on this topic available on the internet today.

> I don't think you're going to find too many cryptography engineers recommending that you use...the blocking variant of getrandom(2).

It depends on what you mean by "the blocking variant". To quote Cory Benfield:

> Can we please try to be clear about what kind of blocking we mean? getrandom(flags=0) absolutely can block: that's what the original issue was all about. To ensure it never blocks you need to call getrandom(GRND_NONBLOCK): that's why the flag exists.

It may (or may not) surprise you to learn that PEP 524, which uses this (sometimes blocking) variant of getrandom, has been accepted.

Here's a discussion of the matter featuring several reputable, kickass security-minded python people discussing the matter and indeed endorsing the sometimes-blocking (flags=0) variant of getrandom:

https://bugs.python.org/issue27266

For full transparency: I read your post on this topic before I posted my question and found that, as far as I was able to read, it added nothing new to the public discourse on this topic. It does not seem to overcome the very real and well-sourced concerns raised by forest in his answer to my question.

Anyway, I'm not sure what you mean by "the wrong stack overflow boards" - can you tell me which are right and which are wrong?

The link which you've provided, which of course I had already read thoroughly, as I pointed out in my question, is not from Stack Overflow, but from Security StackExchange, just like my question.

I haven't yet marked an answer correct, so if you actually have something substantive to add that you think is better than forest's answer, it's possible that you can grab the check.
Yup, well aware of your team's efforts. I think it's a great step forward, and from the little I've used it I think it's pretty cool.
Thank you for this! Wow! Just Wow!
As a Linux person that uses Windows on a daily basis, a few things have impressed me lately; Chocolatey[0], VS Code[1] especially w/ Azure integrations[2], and Windows Subsystem for Linux[3]. Things have come a long way....

[0] https://chocolatey.org/

[1] https://code.visualstudio.com/

[2] https://code.visualstudio.com/docs/azure/extensions

[3] https://docs.microsoft.com/en-us/windows/wsl/about
I feel let down, GAWK would have been a great name.
Want to know a really good way to increase the power of a separatist group? Build internment camps. Congratulations, you played yourself.
I really appreciate your work, it's made my day to day so much better.

You have a true once in a life time opportunity with how badly Apple is screwing the hardware pooch, if your hardware division could put out a laptop to rival the retina Macbook pro with up to date hardware and an excellent command line ecosystem you could very well shift an entire generation away from OsX.

Thanks for all the hard work I'm using Linux for windows right now.
This is beautiful. I really love that awk has numerous implementations running around.
On FreeBSD, at least, you can tinker with the sshd to switch between PAM, to get "Password: " and some other sshd-internal mechanism, which prints "<whatever login you just typed>'s password: " instead. Kind of cute.

And you can always run strace -f on whatever handles login (getty, logind, systemd, etc), drop to a TTY and login, to see all the stuff that gets loaded.
Taken by GNU already.
Ha. I was just thinking how useful it would be to have the awk programming language available in a tool that natively understood csv files. Suddenly that seems a lot more doable!
*a different department of the US government. We already know that the NSA wiretaps Messenger at will extrajudicially via PRISM and other programs.
To be clear, the issue being raised here is the manner in which some of the pieces are being returned: through theft. Regardless of morality, past deeds, and rightful ownership, it’s unacceptable to take matters like this into one’s own hands. Keep in mind that cars were lit on fire as a distraction: innocent people who had nothing to do with the original lootings were harmed.

If we’re going to avoid grouping the Chinese together as a giant monolith, then we must do the same for the West: it’s not acceptable to set fire to cars so you can reclaim art.
There was a time when Musk could accomplish more with a tweet than GM or Ford could with a multi-million dollar ad campaign.
Custom built VPS server hosting. As little as $200/yr
I don't think you understand. It's a thing we all pay for. It's a publicly funded service that defends the country. It's not about who gets in, it's about how it's paid for. We all pay together for something that is not explicitly for profit that we believe to be for the good of the country. This is socialism.

But also, to your point, colleges would still reject students based on grades. This happens in countries with free college education. Standards are still maintained but it doesn't depend on how much money you have. We would get the best candidates based on merit instead of their parents income.
It really depends on the team coding conventions. Our team uses 'c' for sql.Connection, 'rs' for sql.ResultSet, and 'txn' for our ORMs transactions, and we do this absolutely everywhere. The short variable names absolutely increase readability. But without the solid conventions it isn't as much of a win.
Righting the Wrongs of Amazon HQ2
> You have a true once in a life time opportunity with how badly Apple is screwing the hardware pooch, if your hardware division could put out a laptop to rival the retina Macbook pro with up to date hardware and an excellent command line ecosystem you could very well shift an entire generation away from OsX.

Surface?
Both reasonable reactions, just different takes.
and we will soon find out whether feeding the evening news cycle is enough of an accomplishment to keep a car company going that keeps burning money like nothing else. I'm not sure what Musk 'accomplishes' with these tweets.
avoiding criminal charges is a pretty big incentive for most people
This is an amazing lecture!
Having to occasionally work with Windows (or more accurately, support people using Windows for tasks that would much better be suited by Linux) makes me aghast at how bad its CLIs are at very basic interface things.

People who work extensively in Windows environments tell me that Powershell is very, well, powerful, and I'm sure it is for certain select use cases of interacting with Windows' internals. But it's baffling, however, how completely incapable it is of handling basic things like sane, well-explained escaping behavior.

I've attempted to find explanations for how people using Powershell should properly escape JSON (either for sending to HTTP APIs or for setting JSON environment variables when using Docker for Windows) and have concluded that it's basically impossible, as the escaping behavior is so different from *nix shells and appears to be documented nowhere.

Supporting it is further complicated by lack of readily available test environments: even if I wasn't running Linux myself, spinning up a VM is free because there's no software license. This isn't the case with OS X, but I can at least assume that OS X bash works the same as Linux bash for 99% of things. Powershell is completely alien and I know of no free way to try it--maybe Azure provides some variant on their free tier, but I haven't looked into it much (my overall experience trying out Azure was that it was a dumpster fire to be avoided at all costs unless you need cloud AD, in which case it's probably amazing).
It's called procrastination. Musk should come over to HN - there's the noprocrast feature, and dang will keep his comments in check.
We do. We send our tax dollars to help support the impoverished red states. ;-)
Native Android APIs for Processing Word, Excel, PDF, PPT, Barcode and Outlook
> That's _all_ there to support the POWER memory model in some scenarios.

Hmm. I’m ignorant of the actual history of the standardization process, but these days wouldn’t memory_order_consume benefit ARM systems equally (that is, if compilers were able to actually implement it)? The ARM architecture similarly provides an ordering guarantee for loads whose address depends on previous loads, in what is otherwise a weak memory model.
I spend half my waking hours staring at Xcode, so believe me, I do know when command line tools are lacking ;)
Wow this is interesting. I never knew a tool like this existed. Seeing all the alternatives in the comments here is great too. It's like getting a solution to a problem I never knew I had! Super excited to use this on my next project!
It’s a lot more definitive than you make it out to be. Two wrongs don’t make a right. Ten wrongs don’t make a right. This is why wars continue for generations: peoples hold grudges against each other.

In no reality is it morally acceptable to go around setting cars belonging to innocent people ablaze because you’re upset with violence carried out by other people.

I am strongly opposed to the concept of inherited grudges and misdeeds. Children are not responsible for the decisions of their parents.

If China wants to reclaim the art, they should attempt to do so diplomatically. If they are denied, tough cookies: it’s not worth endangering lives to reclaim historical artifacts. I would sooner see the artifacts destroyed than lives put at risk as countries steal from each other. I would personally burn all of my family heirlooms if it meant protecting people who are alive today. I am honoring my ancestors more by preserving the lives they’ve created than by protecting their former belongings, no matter how sentimental they may be. And I am certain generations of ancestors would agree with me on that.

There were people who wronged my ancestors. We’ve all been wronged in one way or another. I forgive them. I don’t forgive their descendants, as their descendants have done nothing wrong, and I can’t forgive if nothing has been done wrong. I hold no grudges for the misdeeds of past generations.
> [The shifter is] bidirectional (with buffers/drivers on both sides), so you put the bits through one way to shift left and the other way to shift right.

Wait, really? I'm used to seeing mux circuits like the following, which incur a wee bit of gate delay per stage.

http://www.vlsitechnology.org/html/cells/vsclib013/mxi2.html
http://www.vlsitechnology.org/html/cells/vsclib013/mxn2.html
If you know about the Linux tools things aren't that bad with Windows. My complaint is that a lot of windows devs aren't aware of the command line and its power.
Not at all. This is what you get if you demand a leader have terrible work/life balance.
On my phone I literally just post it to my facebook under "only me" privacy and then click it from there. On my laptop i've got a chrome extension that I made a rule to add that header whenever i'm on certain sites.
A record pager built with YAD
httpie lacks a complete feature set in some cases, though day-to-day it's much nicer. I'll trade cURL's (admittedly clunky) --resolve, which is still necessary in some situations, for having native JSON pretty printing most of the time

I also like that it's Python and I can probably change something in its source more easily and quickly than I can with cURL.
gawker might have been even better ;)
They are naïve if they think it wasn’t luck that got them safely through.
I think you are missing a crucial point. I as a consumer really do not care in the least if someone hacks my device. Worst comes to worst I either do some sort of factory reset or just throw it out, I was probably looking to buy the shinier version anyways. Who cares?

I really dont care if my tea kettle is part of some botnet. I cant even imagine a reason why I should care. I guess it sorta sucks for the people getting ddosed :/

For instance, my router cost me $20. It is probably full of security holes. I dont care. To buy a router that was secure I would have to pay more than $20. I would not feel any benefit for spending that extra money. So I don't do it.

On the other hand, as a developer I'm always thinking about security because it is fun and I feel a sense of responsibility for the things I make.
The current treatment is strict dietary exclusion of all protein from wheat, barley, rye and other related grains. It’s conceivable that wheat could be modified to produce proteins that are not immunogenic to celiac sufferers.
Does first blood count if you just chuck your sword at the other person like a spear?
Spotify Labs: Managing Time Bound IAM Conditions in Google Cloud Platform
Sorry for the shameless plug but check out what we're doing at Emerge. (Savinghealthcare.net)

We are offering better, cleaner amd aggregated patient data at the point of care. We use ML not to predict patient outcome or progress but to make sense of the data.
> So if you demonstrated through a preponderance of the evidence that the historical figure behind a religion wasn't serious, it would retroactively change its status?

Possibly, though in practice I think it would be unwise to revoke the status of an already legally recognized religion, especially if it has a large and genuine following. But I would argue that Scientology and the Church of Satan should never have been legally recognized in the first place, precisely because their founders were not sincere.

Mormonism I'm not so sure about--your comment seems to imply that it's an established fact that Joseph Smith founded the LDS church in bad faith, but it is not. There's plenty of room for debate on that subject.

One could argue that if enough of a religion's adherents are sincere, the religion takes on a "life of its own" independent of its founder's intentions, and should therefore be considered sincere. That argument could be used in favor of Scientology's legitimacy, for example. However, that is clearly not the case with Pastafarianism, so it doesn't apply to this court decision.

This is all really quite simple: the difference between a sincere religion and a parody religion is that one is sincere and the other is a parody. Stated another way, any "religion" that exists solely to be a parody of religion is, by definition, not a religion. That is what the Dutch court recognized. The willful blindness to this obvious fact on the part of the FSM crowd is amusing. They're appalled that a court doesn't take their "religion" seriously when they've publicly stated that they don't take it seriously themselves.
Sure. Though that would be a delope.

https://en.m.wikipedia.org/wiki/Deloping
From a standards perspective that’s pretty much right AFAIK. From a practical perspective, it’s also explicitly endorsed in the GCC manual, so I don’t think there’s much risk of popular compilers breaking it in the foreseeable future:

> The practice of reading from a different union member than the one most recently written to (called “type-punning”) is common. Even with -fstrict-aliasing, type-punning is allowed, provided the memory is accessed through the union type. So, the code above works as expected.

https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
Beyond the Basics of Recycling in Australia – Mega Skips
this isn't new but I am glad its reported as I had completely forgotten about it. Will give it a try on next CLI project for sure.