jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
The article is an "ok" intro to the differences between Linux and BSD, but it stays at a pretty high level (and makes it clear that it wasn't intending to go into anything more detailed than "principles/design/philosophy"

The article is dated though - it predates GIT, and still refers to the odd/even devel/production numbering in linux, which went out of vogue a couple years ago (at least)

It is, of course, not entirely accurate when discussing BSD as consisting of a system that is designed with all its "core" components by the BSD system. Some of the "base" stuff in BSD is actually still from outside the tree. For example, rtadvd, the IPv6 Router-Ad daemon, originally came from the WIDE Hydrangea IPv6. The rtadvd.conf files, in Open BSD, aren't the elegant/simple OpenBSD standard, but instead use the termcap(5) format. OpenBSD's approach to situations like this is to use the software until someone is inspired to build an "OpenBSD from the ground up" version, rather than mess around too much with upstream contributions to make them look more "OpenBSDsh"

We use OpenBSD a lot where I work - its firewall, and routing configurations are rock solid. And configuring the systems is a dream. I far prefer the OpenBSD /etc/hostname.if approach to the various /etc/sysconfig/network-scripts approach that various RHEL releases have taken (and changed between releases).

For some reason, 95%+ of our deployed systems (around 500) and our target for application development, is Linux though. Probably because there is no equivalent of RHEL/SUSE in the OpenBSD world.
Sure, but this is a conference presentation.
not a transcript but some notes of his wishes and complaints for the language.

----------------------------------

wish: static interfaces for use in the context of generic type constraints

static interface ISummable<T>
{
T operator +(T arg1, T arg2);
}

which then lets you write

static T Sum<T>(IEnumerabel<T> source) where T : ISummable<T> { }

----------------------------------

gripe: array covariance (which the designers copied from java even though people knew it was a mistake even when java had it):

//the following is still valid and will happily compile and run
string[] strings = new string[5];
object[] objects = strings;
objects[0] = new Exception();

----------------------------------

wish: non-nullable references (ackowledges that it is a hard problem but "it would be nice to have")

----------------------------------

wish/gripe:
c# enums are labels for numbers which let you write things like:

enum Color {red = 0, green = 1, blue =2}
Color c = (Color) 5;
Color c2 = 0.0;

he wants to see java-like enums which enforce the idea that you're dealing with a restricted set of values.

----------------------------------

wish: Read-only keyword for auto-properties

.net 3 made it easy to tack mutable properties onto your class

string Name{get;set;}

Jon wants to see:

string Name{ readonly get; }

which tells the world that not only is Name immutable externally to your class, but internally as well.

string Name { get; private set; }

does not get you there, since the property is still fully mutable within your class.

----------------------------------

wish: sealing/unsealing classes

this was his self-proclaimed controversial point

he either wants to see classes sealed by default and then unsealed with an explicit 'unsealed' keyword
or he wants the default class template in Visual Studio to demand that the programmer pick one or the other

----------------------------------

gripe: object is bloated, cut Equals() and HashCode()

writing equals in a type hierarchy is a pain and gets messy when you drill down into the derived types

let authors "opt in" to equality

want a map of <T>? or a dictionary of <T>? you have to provide an equality comparer

"there doesn't have to be one canonical idea of equality for a type so why is it in object"?
We did (see http://www.youdevise.com and https://dev.youdevise.com) and we find the environment for our two product niches extremely friendly. You have to be willing to deal with the really Byzantine organisational structures of the banks, of course - I can understand why web startups would be more attractive and fun, but there really is a lot of money to be made in London finance if you figure out how to take care of the traders.

If anyone would like to talk more about this please get in touch with us (or just come see me at London Hacker News events, which we sponsor).
Do note that is actually supposed to be Cmd + ` (the same button as the ~, and not single quotation mark)
CG has always been and will always be a hack I think - debating the best CG is kind of like debating the 'most realistic miniature'. The more real elements you include (ie. real sunlight, real objects, photographed background plates) the less there is to offend your eye.

To me, the tools are getting so good (GI, HDRI lighting, MoCap) that 'seamless/not seamless' is soon going to be the only judging criteria. Of course along with visual aesthetic which will always occur in film whether you're using a physical camera or virtual.
See another discussion on the subject on a previously posted FreeBSD Quickstart Guide for Linux: http://news.ycombinator.com/item?id=1759761

This story was also posted in the comments.
Economic expansion is not a zero sum game. If China and India are training future engineers and scientist then great for them. We can hope to learn from them in the future and use there ideas in our own way. The article says something to the tune of: Indian companies taking knowledge from U.S. outsourcers and using that knowledge to start domestic firms. If Cina and India become leaders in the future for innovation the USA and the rest of the world will benefit in the same way.

This question has been answered several hundred years ago by David Ricardo, but others as well. This is not some crazy economic theory that is debatable today, its taken as fact by almost all economists. Economics makes takes no notice of national boundaries, they have no meaning.

I would encourage everyone to learn about some basic international economic theory, trade theory specifically. Knowledge shows that this article is total BS.

Xenophobia will not take us to the land of milk and honey.
Abruptly when he hit the bottom of the ravine.
Does Safari really use Readability? Any sources on that?
HN is not Craigslist.
That is actually my main reason for using PayPal.
As a brit I'd be more worried about them stealing my passport then giving me hassle directly :-)

(For those not aware: Israel got caught cloning passports of Brits travelling through their airports for identity theft purposes, despite the fact they had made an earlier promise not to do this again)
That is very much a good way to do it. However for 22 months, I was expecting a larger project than one with 45 php files.
An HMAC is a message authentication code, not a salted hash. It allows you to send a message over an insecure link and verify, by providing the secret key, that the message (and hash) was not tampered with.

Also, a salted hash is not a particularly good storage mechanism, ranking only above cleartext and naively-hashed storage. Once someone discovers the salt, then it's fairly easy to attack the password database in the same way that you'd attack an unsalted hash -- make a list of all possible passwords, hash them, and see what matches. Machines like the one mentioned in the article can make trillions of these in a second. The problem with hashes for protecting passwords is that they can be calculated very quickly; good for ensuring that every packet on your VPN arrived without errors, bad for ensuring that a bad guy can't make a list of passwords, hash them, and check the hashes against your database.

The best password storage mechanism is via the use of a "slow" hash function like bcrypt or scrypt. You set these up so that it takes a full second of CPU time to generate the hash from the message. Then instead of trying trillions of passwords a second, the attacker can only try one!

If you're using Perl, use Authen::Passphrase. It's a module that lets you easily use bcrypt for new passwords but your old method for older passwords. With an API like that, there's no excuse for endangering your users by using salted hashes!
I completely agree - PCI/DSS pretty much means that your network is designed by lawyers and auditors instead of network engineers/sysadmins. It's a very unpleasant state of affairs.

It certainly can't be said that all of the payment card industry's requirements definitely increase security.
I was just wondering if anyone's done something like this for Ruby.
Take a bit of blue Ford Mondeo...
They hire (i.e. elect) the people that hire them.
I've been involved in the selection & implementation of multiple systems like this, and there was a reasonable effort to include stakeholders from functional areas. After the RFP responses and selection of potential vendors, they each come in we had basically a week-long conference with sessions for functional areas, technical areas, implementation, etc before selecting the vendor. Even then, the problem wasn't lack of consideration for local needs: The problem was that pretty much every question asked of the vendor's demo team was "Sure we can do that, it's just a configuration!" or "That's a customization that a few of our customers have implemented, we can piggyback on their work to do the same for you!"

Then implementation comes along and what were claimed to be configurations are more like "You just rewrite this COBOL module, but updates will break it so you'll need to rewrite it for every update." And those shared customizations just never materialized. In one case the actual "built in" functionality shown via screenshot slides literally didn't exist in the actual product. ::ahem Oracle:: and resulted in a lawsuit for it, among other things like like deadlines they didn't meet and & refused to complete without being paid an additional exorbitant fee, even though it was a fixed-price contract.

Also yes, there are IT departments that take a request that's basically "Please create this database trigger" and run it through multiple layers of review & approval & business case justification, ROI, etc over the course of months for something that would take about 10 minutes to implement in a test environment, another hour to sufficiently test, and another hour to pass to UAT so they can confirm it's working as desired, and push to production.

So you're absolutely right: I missed a causal category for shadow systems. Honestly I don't even think shadow systems are inherently bad in some cases: I just think there should be formal documentation lodged with IT so there's institutional awareness of it, and the departure of a single employee who created it doesn't cripple a department. This crippling of a department is something I've actually seen.
I'd much rather have a million lines of Java. And I'm not a huge fan of Java.

It can be a bit tedious going down the AbstractWidgetInterfaceFactoryFactory rabbit holes, but at least I have a fighting chance.
The lack of privacy doesn't seem to bother you in regards to Bitcoin.

Bitcoin has been actively addressing privacy with Schnorr Signatures and Taproot: https://enegnei.github.io/This-Month-In-Bitcoin-Privacy/Octo...
That's the right mindset for an individual but not particularly helpful for an answer. Constant improvement is part of mastery but not a great yard stick.

I also have trouble believing you've been coding for so long and can't take pride in any of the code you've previously written.
A company is a collection of individuals. It wouldn't make sense to say an individual can determine X but 10 individuals voluntarily organizing together can't determine X.
Just because you don't like the truth doesn't mean you were "forced" into believing falsehoods.
I've been looking for something similar too. I've no experience with either, but currently eyeing Seafile https://www.seafile.com/en/home/ or OwnCloud https://owncloud.com. OwnCloud seems perfect, but quite pricey for a cloud-provided instance. Seafile looks good, but there's no cloud provided option unfortunately (i'd rather not self-host).
Yes. Better than no coffee for those who stress their liver at least or get cancer.

https://www.sciencedaily.com/releases/2014/04/140402095656.h...

https://www.coffeeandhealth.org/2013/01/coffee-consumption-a...

https://www.reuters.com/article/us-health-coffee-liver-cirrh...
> People should be held accountable for what they say on media platforms, and lies shouldn't be allowed.. but i can't see that even happening.

I've suggested to @dang that he tries implementing a kind of experimental discussion mode like that right here on HN, where for certain types of topics he could enable this mode and see what the effect would be on the human mind.

I don't know all the particulars of what changes should be included in such a mode (would be a good topic for a discussion), but the main one I would include is an additional guideline something along the lines of "Please exert some effort in restricting your statements to the discussion of reasonably conclusive true facts about physical reality."

This way, when people inevitably succumb to mistaking the virtual reality in their mind (where one has supernatural powers like omniscience, the ability to read minds at scale, predict the future with precise accuracy, completely understand infinitely complex indeterminate/chaotic systems, etc) for physical reality (where we do not have these powers), such comments could be flagged and reviewed a few days later (when cooler heads prevail) in a group Post Incident Review process of some sort (maybe a zoom meeting), where we could examine our behavior from a more metaphysical perspective, the goal being to increase awareness of the fact that inaccurate beliefs about reality are not something that only members of our personal outgroups suffer from, but rather something we all suffer from. It is simply a consequence of the same base software we all run in our minds.

Unfortunately, this idea seems to be rather unpopular (shocking!) - so, the beatings will continue until morale improves (or some variation of that), or until this never ending process comes to its natural conclusion. Mother Nature is a cruel mistress.

https://humorinamerica.wordpress.com/2014/05/19/the-morpholo...

https://www.youtube.com/watch?v=3MHExbJGIQs

https://youtu.be/smX2UtdJFq8 (not recommended for filthy casuals)
Most economists agree that a bubble can only be identified in hindsight. So the only true bubble is one that's been popped.
This is not satire:

A wake-up call’s mother is unfolding. At the other end is a bell, which is telling us we have built a house at the foot of a volcano. The volcano is spewing lava, which says move your house. The road will be long and rocky, but it will trigger a shift before it kicks. We can capture some of it. IF the Middle East was a collection of gas stations, Saudi Arabia would be a station. Iran, Kuwait , Bahrain, Egypt, Libya, Iraq, and the United Arab Emirates would all be stations. Guys, here’s the deal. Don’t hassle the Jews. You are insulated from history. History is back. Fasten your seat belts. Don’t expect a joy ride because the lid is blowing off. The west turned a blind eye, but the report was prophetic, with key evidence. Societies are frozen in time. No one should have any illusions. Root for the return to history, but not in the middle.

http://www.tnr.com/blog/jonathan-chait/84059/tom-friedmans-v...
Free to acquire users down the line is very different that free to gather feedback.

People who will pay you are typically very different than those who will use your product for free.

Feedback from people who won't pay is feedback you want to weed out.
There you go !

https://github.com/joshfire/corewarjs

I've got imps and a few other running :)
I'm not a Clojure programmer but I disagree on point 1. My advise (if it's a huge sticking point) would be to allow both forms.
Given the large number of people across both corporate bureaucracies that would be involved in negotiating the final deal (and in providing information that the negotiators would need), if they had tried to keep everything under wraps until the final agreement had been signed, there would have been no end of leaks. By pre-announcing the deal the CEO could at least put his own spin on what was going on.
Why wait? Do that today: use ecryptfs.
Other than jobs in academia, of course.
1. Say "we take reasonable precautions to protect your files, but we are capable of accessing their content at any time."
They could invest in their own servers/storage which would be high up front costs, but lower once amortized than using a middleman for storage...
It's hard to get a visa. The pay is bad and the hours are bad, but you can sometimes skip out early because you're the white guy. I don't think it's even possible to get a visa - I just worked under the table. You can't rent an apartment legally without a Japanese guy signing your lease. The scene is weird. If you're white you get lumped in with the gaijin weirdo underclass by default. You end up meeting a bunch of shady characters who you'd probably never have to deal with back in your home country. One interesting detail is that train fare for everyone with a job in Japan is paid for by their employer. But not you. At one point I was paying 3x as much for the train than I was paying in rent.

This is my experience working at a small firm. If you can work for somewhere like Morgan Stanley you'll have good hours, good pay, they'll find you an apartment, pay for your trains, and so forth. You'll still have to deal with the weirdo scene. However, the banking scene is filled with creeps everywhere, so it probably won't be much different people than back home.

My advice to any non-Japanese considering working in Japan is to skip it unless you're a "big in Japan" underground celebrity. It would be great to be a semi-famous DJ or artiste in Tokyo. Working a typical programming job... not so much.

That all said Japan is a really fun place to hang out. It's just not a really fun place to work.

Edit: this was 10 years ago.
What do you use to cache requests?
> I'm flabbergasted at the argument that a business should pay a potential employee whatever they demand, because that person "needs work". It flies in the face of all logic.

That wasn't the argument.
Yeah, loans sound like a way to help the loan giver out, rather than the business, and the stress it puts on their cash flow might end up stunting growth.
Well, some physicists
Yes minister rings a bell here.
The calculator market is controlled by TI. They push textbook makers to be TI-specific. TI is constrained largely by test security requirements, which vary a bit. For example in France TI had to add a blinking LED to indicate test mode, which disables some features. The ACT prohibits an algebra system, but the SAT allows it.

If not for that, and the disinterest TI has in doing cool stuff, imagine what could be done.

Architecturally, the calculator could be a PC with SVGA. It could run a clone CPU with features as recent as the Pentium III era without needing a patent license, though 8088 is adequate and it is likely that TI could get good pricing from AMD or Intel. Putting all the non-volatile storage in a MicroSD card that sticks out above the screen would allow some test security; if that gets pulled out then the calculator reboots into the built-in software.
What if you use random noise from a Cauchy distribution? It (interestingly enough) has no mean, so the amount of time the attacker thinks she has to subtract from her average depends on the number of samples that she takes, and does not converge as she increases the number of samples.
All these apps suck at doing what they're supposed to do because they need to generate money. As soon as you want to make money in this domain you will sacrifice the core feature.
Who do they think sold all of the pre-Common-Core textbooks and assessments? Pearson, obviously.
Sure... but... what is it? How will it do these things?
Even the famous "bad box art Mega Man" ( https://venturebeat.com/2011/03/21/mega-man-box-art-a-retros... ) was a sort of (poor) attempt to capture that same style and feel.
In Europe the WhatsApp alternatives are generally framed as tools for pedophiles and organized crime. Even installing them on your phone may alert LEO that you're suspect. This move by Facebook is highly troubling.

edit: mass downvote! here are the links.

this link talks specifically about signal protocol being used by organized crime https://www.volkskrant.nl/nieuws-achtergrond/waarom-criminel...

https://www.securityweek.com/telegram-rivaling-tor-home-crim...

https://nakedsecurity.sophos.com/2019/05/03/criminals-are-hi...

https://www.independent.co.uk/life-style/gadgets-and-tech/ne...
https://hn.algolia.com/?q=Whatsapp+founder Writing has been on the wall for a while.
Answering the likely rhetorical question: No.
I don't see how this is a straw man. This is the attribute that people care for. Sex.
If you don't have a relationship with the IPO's underwriter, you're not buying IPO shares. You're buying shares from the people who bought IPO shares.
As a kid, I walked right into the front doors of the US Capitol, down the hall, and into one of my representatives offices. (Without adult supervision too!) They were quite friendly.

The building has security, of course, but it’s not like some kind of off-limits private building.

https://www.visitthecapitol.gov/plan-visit/watching-congress...

That being said, I have never been more embarrassed and scared for politics in this country than I have been today. These people really had no clue about the kind of damage they did today. It is looking like misinformation is the biggest plague of the Information Age.
We need to end the app store monopoly and break up big tech. When people's voices are silenced violence becomes inevitable.
It honestly boggles the mind that capitol police announced the all-clear as soon as they did. I mean they found pipe bombs in the RNC and DNC headquarters. No way did the conduct the kind of thorough search that would ensure that nobody left a pipe bomb in an air vent or in a random filing cabinet.

And that goes double for mysterious flash drives randomly stuck in people's computers, or bugs hidden in planters etc. Just an absolute travesty.
I think the abstract does effectively say that: "these patterns are most consistent with the supply‐based hypothesis of unbacked digital money inflating cryptocurrency prices." And this point is made more forcefully in the paper.

FWIW, I don't have a strong opinion on the evidence presented in the paper -- the analyses seem sensible, but this isn't my field of expertise, so I'd be hard pressed to point out, for example, what alternative analyses they could / should have done.

Also, it's not even obvious to me that unbacked Tether causing the BTC price rallies is necessarily a reason to pull out; markets are weird.
As soon as I saw the first frame, I knew that was an Inigo Quilez video, very interesting work. His website inspired me to switch to an SDF approach to modeling for 3d printing: https://github.com/deadsy/sdfx.
Calorie counting is illuminating. I've been able to eat 4000 kcal of mostly carbs in one sitting and perhaps up to 7000 kcal in one day, and I need some effort to eat 2000 kcal of meat/fat in one sitting (about 1kg of steak).

In general I tend to overeat carbs and go above my daily calorie intake if I were to eat until satiety, whereas I tend to eat at or under my TDEE of meat/fat and have to sometimes force myself to reach my daily requirements.
Nah, just catching up with 2011, without the tooling.

https://youtu.be/UQiUP2Hd60Y
Unfortunately with modern day unions and minimum wage laws high unemployment doesn't translate into lower wages, at least not for craftsmen.
I am finally able to do regular workouts after recovering from a slipped disk. But, the weight I have put on in the intervening time is hard to work off, especially this time of year.

So I am going to try this and see if it improves my burn rate, or at least slows my girth rate. :-)
Works on Firefox 3.6.13 on WinXP.