skysight-inc/HackerNews huggingface dataset:
You call it government cronyism, I call it regulatory capture and legalized bribery by corporations.

When all you demand of business is that they seek to increase profits, but you demand of government that it protect everyone (including itself) from said businesses, enforce contracts, enact and enforce just laws, and provide all sorts of other services... of course you'll end up seeing business as perfect and government as flawed.
I'll try that.

I use python because is easy to make a script cross-platform and because python have "batteries included". I think it would be interesting to have a tool like this that depends only on python.
I've honestly never had a problem cross-compiling for the Raspberry Pi. I learned my lesson back when it first came out; I needed a new ntpd and it took 24 hours to build on the Pi. I then realized the settings were wrong and spent about 20 minutes setting up the cross-compilation machinery on my x86 Linux box instead of waiting another day. "apt-get install crossbuild-essential-armhf" and some configuration and your build is done in seconds. Well worth it.

Modern languages are even easier. I can build a Go binary for the Raspberry Pi by setting one or two environment variables; "GOARCH=arm GOOS=linux go build ./whatever". Wonderful.

The Raspberry Pi has improved since the original. I recently needed llvm compiled from source and it only took on the order of hours on a Pi 4. (GCC was unusable, though; uses too much memory. Had to use clang from the package manager to build a new LLVM. The efficiency was impressive.)
How can a company be libertarian? This doesn't make sense to me. A company is just an organization acting in some system. The system could be libertarian, or individuals could be prefer libertarianism, but not a company.

The companies could promote libertarianism, but given Mark Zuckerberg's public requests to have facebook regulated, I don't think facebook is an example of a large company that supports libertarianism, let alone anarcho-capitalism.

How many people do you think in Silicon Valley believe that individuals should have more power than any government? Or who believe that government is illegitimate? I don't feel I find very many of them.

I felt the previous generation of engineers and admin were more anti-authoritarian than they were libertarian.
ITT: People who would be surprised by the following bits from the Conclusion section of the fine article:

"As a political formula, the romantic libertarianism that the computer culture offers as an alternative is as powerful as it is wrong-headed."

"It needs to be made clear that the pleasant anarchy of the internet is not the just the product of an absence of control, but that it was built upon a foundation of support from nonprofit research universities and their costly and fragile culture of open intellectual exploration."

"Computer obsession bespeaks, I think, a fear of the political, of interconnectedness, a distorted wish to escape the unpredictability and unknowability of relations with others that comes from being social creatures."

I could hardly imagine a better display of the solipsistic assuredness of the denizens of HN, libertarian or otherwise, than that so many have just assumed that that the article sided with libertarianism and proceeded to discuss from there, apparently without even having skimmed.
Original: https://www.reddit.com/r/dataisbeautiful/comments/bol3rj/oc_...
Always relevant when discussing libertarianism: https://slatestarcodex.com/2017/02/22/repost-the-non-liberta...
I would recommend https://standardnotes.org/ after trying all other (OneNote, Boostnote, QOwnNotes, etc.) note taking SWs. Encrypted linked storage (S3, Dropbox, ...) for files, encrypted notes, multiplatform, multiple editors (code, 2FA, markdown, spreadsheets, your own!, ...) & can be self hosted. Easy (also encrypted) backups. I only miss the diagrams tool (like draw.io) or handwriting (touch/pen) support.
Why does it matter if I'm gonna execute it? The parsing doesn't need to be done in kernel space in either case.

Then again, the kernel already has such a gigantic attack surface that it doesn't matter if the ELF parser is part of it.
I wouldn't wish Perforce on anyone.
First-ever Ebola vaccine approved by European regulators
For those of us who can't speak Arabic, can you explain what Toosheh is?
Satellite is also relatively easy to jam, like GPS.
Farewell, Cortana
I think redteam physical security is a necessary practice, and it’s a fun career for people I know in the industry, but you wouldn’t ever be able to convince me to break into a facility with an armed response without first telling the actual security on site (in this case the police, and all of them at that) that there would be a red team test between a specific set of dates and NOT TO SHOOT. This could have gone much worse for the poor bastards who got arrested.

edit: not that that justifies at all the absurd response of the sheriff in this case.
DNS Proxy Server in Node.js with UI
I don’t know what else to say but that is just awesome.
So could two earth-sized planets be in resonant orbits around a sun that would otherwise intersect? If so, what does this mean for the definition of a planet as something which "clears the neighborhood"?
Pentesting can be about highlighting poor budgets and security practices - I’ve had clients basically hand me findings because they just want a report that says how crap they are.

I’m not a huge fan of physical breaches purely because they’re not a realistic threat model - maybe in the case of larger court houses that house evidence in cases where people might have the resources to do such a breach, but in most situations no decent attacker would risk their face on camera when malware.docx.exe would suffice
I've been looking at the ProseMirror as a way of building this meta-editor that could have plug-and-play components. The issue is, although the library is open-source, there hasn't been many open-sourced components that people have built. Ideally, we could go one step forward and abstract away the npm library; then everybody could build their custom editor by mixing components. One editor that sort of does this is StandardNotes but I haven't tried building something for it yet.

[1] https://prosemirror.net/
[2] https://standardnotes.org/extensions
The government and corporations can not be clearly separated.

People from the one go to work for the other regularly[1], often as a reward for serving one-another's interests. They constantly scratch each other's backs, such as politicians awarding fat contracts to corporations and then being rewarded with a high paying job at the same corporation when they retire, or just outright bribery in a variety of forms. Governments also regularly hire highly placed executive from corporations to regulate industries.

History is full of examples of the military used to protect private (including corporate) interests, which are often seen by the ruling class as virtually synonymous with national interests. Protecting oil in the Middle East is one obvious example, but so is protecting banana corporations in South America, nevermind older examples such as using the military for colonialism and to further the slave trade.

Media corporations have been highly complicit in provoking and defending war. The newspaper magnate William Randolph Hearst was infamous for boasting for his paper's ability to start wars, saying, "You furnish the pictures. I'll furnish the war." Later media magnates (like Fox News' Rupert Murdoch) and outlets have been no less influential.

Private individuals who've made their fortunes in corporations, like the Koch brothers and Peter Thiel, can also have an enormous influence on politics and the government through their donation, advocacy, and having the ear of powerful politicians.

The military-industrial complex is yet another good example where corporations and governments are deeply intertwined, to the point of corporate interests having massive influence on both domestic and national security policy. It is a truism that political representatives in many states can't vote against military spending for fear of getting kicked out of office by their constituency, who depends on this military spending for their jobs (and their profits). There's endless corruption, bribes, billions of dollars going "missing", and kickbacks in the military as well, to the benefit of private individuals and corporations. Many politicians also own a lot of stock in military contractors and companies like Halliburton which benefit from both military spending and then reconstruction spending after the wars they authorize. This is yet another massive conflict of interest.

So when you favor corporations over governments, don't be so sure they're not two heads of the same beast.

[1] - Trump himself is probably the most famous current example, since he's top corporate executive and business owner at the pinnacle of political power in the US while having massive conflicts of interest between his economic and corporate interests and those of his political office, but this happens all throughout government in every administration (though usually not quite so brazenly).
golang is too simple. Real projects are complex, and having a simplistic (dumb) language just pushes complexity to the programmer instead of having it built in to the language and compiler.

There is a balance to reach, and languages like Java do a much better job at this than golang.
To me, Go is "masturbation prevention" language. Meaning that certain deliberate design choices were made to prevent precisely the types of endless unproductive masturbation you see in some other languages. I.e. type masturbation in Haskell or OOP/IoC masturbation in Java (particularly egregious, Java is not a bad language otherwise), or metaprogramming mastrurbation in C++. The omission of these features is not a bug. It's a feature in itself.
What do people who also want Latex use? So far I haven’t found anything better than VSC.
Subsidies are not inherently bad; the public is allowed to decide if there’s something it genuinely wants to subsidize and thus have more of than would be dictated by pure market forces, even if that means paying extra. The problem with subsidies is that they are usually a) not decided on democratically and b) for things we don’t actually want more of, like fossil fuel production. But children are a perfectly reasonable thing to want to subsidize, since without them we go extinct.
> This is (or was) deliberate, with the rationale being that it makes O(n) blocks of code trivial to identify in review.

Like how

for (int i = 0; i < strlen(str); i++) { ... }

is O(n)?
While stipulating that there are exceptions to every rule, I have personal experience with some people who were home schooled and largely shielded from the outside world. Their young adult years have been pretty rough, as they try to learn enough to be safe and then successful with their lives.
With mortgage, that’s not unreasonable. After all, you will always be bearing some risk as your APR will never be below the risk-free rate. But for credit cards, if you just store the money in the risk-free rate (3 month T-notes), you will be strictly making more money without bearing any extra risk. In affect, it’s a free lunch: it is strictly superior. You could probably even program such a system and never have to think about it. Here’s an example using 1 credit card that charges interest after a month:

1. Initially, buy 3 month T-notes equal to your max credit limit.

2. At the end of the month, transfer the dollar amount of your current credit balance and pay off your card.

3. Top off your T-bills to maintain the max credit limit amount.

4. Profit!

You just scammed the credit card companies out of a month of interest! The strategy looks even better with cash back or airline miles or points or whatever.
I've gone to great lengths for this silence
This is so true. I say this all the time to my team. Given two choices, go with the one that produces less cognitive load.

I used to say "less complexity" but I've found that even for me, sometimes when I do something that seems simple and less complex, it ends up requiring more cognitive load (it's not descriptive enough, or it tries to do too much "magic", etc).
I'm not sure the best response to "I'm worried the cloud service I use might get bought and changed" is recommending another VC funded cloud service. But I've heard good things about Notion as a product too.
I started using (and subscribed to) Inkdrop[1] after recommendations here and have been very happy with it. Yes, it's $5 a month, but it automatically syncs (encrypted locally first), and has a way of doing full local directory backup that you could sync with github. The the editor is really nicely done (full github-flavor syntax highlighting too).

I'm using clients for Mac, Android and linux (manjaro) and all work well. There are also clients for the other major platforms.

One of the things I really like about it is I can do a screenshot on both Mac & linux, saving to the clipboard rather than a file, and paste it directly into an editor and inkdrop handles everything, including creating a file and corresponding markup. And that all syncs too.

[1] https://inkdrop.app/
With New APIs, Sony’s robot dog could be the smart home assistant
Similarly, macOS will enable NX unless you specify -allow_stack_execute to the linker when creating your program (fun fact: Apple apparently has a page on preventing buffer overflows at https://developer.apple.com/library/archive/documentation/Se...), and even that will be ignored on iOS or other OSes with code signing enforcement.
My physio's theory is that a heap of pain he treats (mostly back pain, but can extrapolate anywhere) is stress related (essentially psychosomatic); less about being under stress, more about not having an outlet for that stress. He says that Italians don't get back pain as they're always shouting at each other. Funny thing is the stress manifests itself in real physical problems, but mostly treating the physical problem will cause the symptom to move somewhere else. Was definitely the case for me (2 months after starting a new job, under high stress, had crippling should pain; worked itself out once I got the ropes and relaxed into it; obviously this is only an anecdote). His joking 'cure' is to go punch your boss in the face. More seriously, read some Dr John Sarno.
Looks like a fun project! Lots of pragmatic implementation choices to keep things simple.

I'd be very interested to see what the author comes up as a substitute for RealTalk.
I really like MacDown except that, every so often, it freezes and shows the spinning beach ball for ten seconds to a minute, and then proceeds.

I primarily use it for MathJax for math.stackexchange.com.

An alternative is moeditor.
Don't really disagree that older founders are generally going to be more competent/experienced, but is an alternate interpretation of the data that as people get older their appetite for doing risky things decreases?

Failure is less costly for 20-something entrepreneurs than 40-something with family and mortgage to pay. And so you get more "starts" by young entrepreneurs where failure basically doesn't cost a lot. And less "starts" by 40-somethings unless they really think they have something worth taking the risk on.
If what you describe had been done, this wouldn’t be news.

If I were the CIO or CISO of the state court, I would want to audit a few courts, and work with them to test those controls. That’s where you work with the county to test their controls - just like your scenario.

Then the test is a tool that can be used to get funds from the state, county and federal government to fix the problems.
>making a resilient, attack-resistant network

I'm curious how you can be resistant against a entity with a monopoly on violence.
As far as I know, Windows 10 does not support 16-bit segments at all, so Wine on Windows 10 would
be unable to execute 16-bit code. I don’t know to what extend 64-bit Windows supports segmentation at all.

Linux, in contrast, gives complete control of the LDT except that the LDT may not contain call gates, long mode segments, or anything with DPL != 3.

Making this work safely, especially on x86_64, is a real PITA, so I can’t really blame MS for declining to support it.
https://en.wikipedia.org/wiki/Toosheh. It's software for decoding a 1-6GB daily data dump broadcast over satellite TV.
Show HN: NIMP – Node-base image manipulation program
https://typora.io/
If you have any amount of Apple devices in your daily orbit, it's pretty amazing how useful Apple Notes is.
Anyone know how to get smaller docker images? I thought if I had all the previous layers in the docker registry that an upload would just be the size of the diff of the new layer, but this seems to never work.
I use tests when I need to debug certain sections of my code. It's faster in the overall development process.

Also most of my tests revolve around business logic, where I need to test multiple versions of data.

The best advice I could give would be test cases around errors.

That's usually where most bugs are found, when something doesn't return what you expect.
Guns are a lot more accepted in the us and its unlikely that a UK site would have any armed guards - places like Sellafield and other nuke sites do, but you would have an order of magnitude of difference in the sort of organisations that do hardcore (red) pentesting

But it does seem that the Sheriff is acting out the stereotype of the local and incompetent sheriff ala J.W. Pepper in the bond films.
> It really disappoints me that making fundamental improvements to the GNU/ELF/etc.-family programming model is so difficult. [...] There are tons of other systemic problems that nobody is interested in solving because the default response to every suggestion is "no".

The expertise of yourself and others on this subject might be welcome in upcoming Unix-like OSes that are being written like:

- https://www.redox-os.org/

- https://github.com/SerenityOS/serenity

I am involved in neither of those but I follow them both with interest.
https://knapsackforhope.org/
Additionally, at least in my experience, you don't ever want to just "reverse a list", you want to do something, like print it in a certain order. Writing the loops yourself makes it simpler to accomplish the task at hand, I find.
This sounds a lot like how imp_implementationWithBlock from the Objective-C runtime works, because it needs to run on iOS where executable stack is a big no-no: http://landonf.bikemonkey.org/code/objc/imp_implementationWi...
Layers exist in finance for the same reason layers exist in programming: because value is being provided. Or, at least, that’s what the Efficient Market Hypothesis would say. Maybe you can’t see the value as an outsider, but you know, Chesterton’s Fence. Only when you see the value of the current system should you be allowed to change it.

Using the example of mortgage backed securities, they were created to solve real problems. Mortgages carried risk, were too unique. Also money had a hard time reaching those who needed mortgages. Most mortgage providers were local and often there were too many people who wanted mortgages and not enough money, or the other way around. By packaging mortgages together, you could reduce risk and sell traunches nationwide.

TLDR: understanding is a prerequisite of change. And just like software, if you can’t find a reason for why something exists you should probably look harder. More likely than not, you are the one who doesn’t understand, not the person who created the thing in the first place.
Let's give them the benefit of the doubt, and consider that they meant that:

for (int i = 0; i < strlen(str); i++) { ... }

could be grepped and easily discerned from:

for (int i = 0; i < str_length; i++) { ... }

and generally, that every looping point could be easily identified.

After all, if you call functions inside the body, all bets are off as to what complexity the loop means anyway...
Building an open source mac app alternative to RescueTime
I have the complete opposite point of view. I never used @Cleanup but at least the @Data annotation makes it much more readable IMO.

There is tons of boilerplate in a simple Java bean, so when you have 3 pages of getters/setters, equals, hashcode, toString etc... and someone introduces something hacky it doesn't jump out at you.

To be fair, it doesn't have to be a hack, but it's doing something weird that's unexpected.

Then if I use @Data and I still see a Getter/Setter defined it calls it to my attention since odds are i'm doing something different.

ie. Oh, you're parsing a string get a numeric value and then setting it with a fallback value/exception. Okay good to know. If it screws up at least I know there is a special behavior here.

Lombok makes these patterns much easier to read though I prefer to only use it for repeat code. Saving one line so you can have @Cleanup doesn't seem worth it to me. It hides too much as you said above, but it varies on the use case.
I have the same question.

The problem is picking a company you can be confident in for both:

1. Competent security

2. Good support

Google meets 1. but fails at 2. Every time this topic comes up there are many suggestions meeting 2, but without any arguments or evidence that the suggestions also meet 1.

According to HN security guru tptacek the top three most secure companies are Google, Apple, and Microsoft. (Paraphrasing from memory, any errors are my own.)

Apple and Microsoft both have retail locations unlike Google, which could in principle be used as a last resort for recovery, but I don't know if they actually are. Without good process and training that could open a weakness from social engineering, similar to SIM jacking at cell phone shops.

Does anyone here know if Apple, Microsoft, or any other company meets both 1 & 2?

Does anyone here know if Apple or Microsoft account can be recovered at retail locations with an ID? And if that process is social engineering resistant?

Edit: the thing to consider with self hosting is that there is no such thing really. You have to register your domain somewhere. What is that provider using to authenticate you? Not saying you shouldn't have your own domain, just that it's also a thing that can be lost or attacked. You also have to run your VPS or server somewhere. Do you own a datacenter? Do you have a backup generator and redundant internet at your house? Not saying you must but there's always trade-offs.
Then, when Tesla owns the personal transportation market, they can raise prices to satisfy their stock valuation. It's brilliant!

:-)
Hey yeah in the study methodology they do a 7 question simple screener at the beginning. Those with poor scores do not take the questions you mention which are intended for people who definitely have basic literacy. They instead do a test involving someone sits with them and shows them photos of laundry detergent and asks what's the name of the brand. If it's Era and the person says Tide that's a half-credit, if they say Tide it's a full credit. And so on. It's to determine exactly how bad are things.

But even with the test you mention you and I would definitely score far far above the "Below Basic" level that is a comparable term to illiterate. Sure they can recognize their own name and the word cat and dog, but they can't read a sentence in any newspaper or make sense of it.
> I could hardly imagine a better display of the solipsistic assuredness of the denizens of HN, libertarian or otherwise, than that so many have just assumed that that the article sided with libertarianism and proceeded to discuss from there, apparently without even having skimmed.

There are currently 4 top-level comments (one of which is yours) and 25 total comments. None of the top level comments make such an assumption (some speak kindly of libertarianism, but do not claim that the article does), and as far as I can see neither the most (if any) of the non top-level ones.

What was it that you said about solipsism?