skysight-inc/HackerNews huggingface dataset:
I’m with Linus Pauling, and his belief that an L-Ascorbic Acid deficiency is the cause of heart disease.
There's definitely a lot of syntax that makes the language look bigger than it is. When I realized Rust's oo-style dot notation/self/Self was just sugar for plain old function calls, suddenly a big chunk of the language I thought I hadn't learned yet turned out not to just not exist.
Continue your journey and walk the path of becoming the best person you can be. The further you're on it, the more people want to join you for a ride. It's not uncommon for men to start a family at 45, you have time; Face your emotions and wants head on & keep going!
Clever trick.
For what it is worth the situation in Finland is changing, and Uber will be back in some form:

https://metropolitan.fi/entry/uber-returns-to-finland-in-jul...
I think what you do is super helpful and I appreciate it. Maybe adding context or just saying it's a paywall workaround would prevent people from getting the wrong idea.
So when EnvKey fails or is under attack, you lost access (or give away MITM) to all your infra ?
Some are still board members, I believe.
Thanks for the kind words! I do have a blog with various writings about Rust (link in my profile), but I don't think publishing comments would be appropriate for me right now (at least, not without more work). :)
as the new version gets deployed and starts to take more traffic it doesnt keep up and is scaled up accordingly which establishes a new performance curve for the failover prediction system.
Hillel gave a pretty interesting talk on TLA+ at last year's StrangeLoop: https://youtu.be/_9B__0S21y8

If you are new to TLA+ and just want to get the basic idea and use cases, I recommend the talk.

Edit: I think he also brought home made granola or something. So attending his talks in person has benefits.
I usually don't defend Windows, but, rename not overwriting (without an argument) seems safer as a low level API, no? Given it takes a 2 line helper to achieve the same thing in C++ [1], doesn't seem that bad.

[1] https://gitlab.com/jeffreyrogers27/AtomicWrite/blob/master/A...
oh oops I guess mixed up the terms. I hope these apis stick around because they seem kind of niche and under-utilized right now.
The ITS operating system (at the MIT AI lab) had a system call called .RENWO -- "rename while open". Basically you could open a file, write into it (or read/write) and then in an atomic operation give it a new name and close it. So it was actually "atomic close and supercede"

It's really unfortunate the posix link() system call takes a pair of paths. It should really take an inode. Then you could open a temp file and immediately unlink it, and keep writing to it until you are finished (well, you can do this today as well). Then when you're done you could give it a name. If you crashed, you'd leave no detrietus behind.
It's not very obvious, to me at least, what your overall point is?

> If a man went out in public with 1/3 of the flesh of his penis showing, everyone would be cool with it? The reality is, he'd be arrested for indecent exposure. In this case, the equivalent of what women do on a regular basis is quite literally illegal.

I don't understand what the specific double-standard you're alluding to it? I don't think a woman with exposed genitals is going to escape an indecent exposure charge.

Upthread you liken men wearing revealing clothing to sexual assault, but I've never seen this as a talking point in the gender discourse.
How do we know?
The authors of Keccak / SHA-3 came up with Sakura[0], a hash tree construction that's provably as collision-resistant as the underlying hash function and very flexible.

If you're designing a new system using hash trees, you better use Sakura trees or have a good explanation for why not.

Edit: I also wrote some demo code[1] for this attack when arguing with one of the IPFS guys about why they really shouldn't use Bittorrent BEP 30-style Merkle Trees. In order to get security with Bittorrent-style trees, the [length, root] pair really needs to be your cryptographic identifier, and you need to make sure they're always properly handled as a pair. There are just too many caveats to usage and we have provably secure alternatives.

As a former LimeWire developer, it makes me sad that Gnutella's TigerTrees avoided this vulnerability long before bittorrent's BEP 30 was published, and yet Bittorrent got it wrong. It was a well-known vulnerability, and was covered as part of my interview at LimeWire.

[0]https://keccak.team/files/Sakura.pdf
[1]https://github.com/kmag/bad_examples/tree/master/bad_merkle_...
> Why does Cantor's method work well here? ...algorithms / programs are countably infinite, no?

It seems that A (computable functions that take an integer and return 0 or 1) are countably infinite but Q (all functions that take an integer and return 0 or 1) are uncountably infinite. As it turns out, there's a lot more stuff that we can't prove than stuff we can.
“The Case Against Education” by Bryan Caplan
I think having a daemon running on the OS that only syncs with an explicit ‘service envkey reload’ would work well.

If running php with nginx (via php-fpm), it’s still common for worker processes to come and go rather frequently. Imo, per-request pricing just won’t work well with php.

I would love to use your product, btw. Congratulations on launch.

-php dev
Preventing you from boarding your plane for starters
> It is well documented that there is no cell phone that cannot be unlocked.

Ok, probably true, but that doesn't necessarily mean that any unlock can happen quickly, or that the TSA has that capability broadly deployed to agents, or that the TSA even wants to unlock devices.
Trees v2 fireproof no watering needed
True, but the generation will never terminate (as the list is countably infinite). Your next argument might be "oh I just need to generate T until I hit f_i" -- which is true, but then I can introduce another function f_i_i which will bungle up your system again :) But this gets into the Second Incompleteness Theorem.
Your comment reminds me of Zorg's monologue from The 5th Element. :)

https://www.youtube.com/watch?v=6v8Qm10FwuM
Unlike cars, there is a finite supply of real property, most of which is enjoyed by its owners for whatever purpose they choose.

To borrow your car analogy, there will never be a "Toyota" housing unit built in Atherton, CA or a few blocks from Rockeffler Center in NYC.

The current issues have more to do with a glut of cash than a shortage of housing.
I'm sure they would reply with some number of times that evidence of evil was found by a laptop search (in completely unrelated circumstances).
I made nearly 100k flipping domain names when I was 19. My seed capital was my college tuition money for a semester (I delayed paying the fees and bought a domain name instead). So it's entirely possible
I've had multiple rising seniors as interns from top-tier universities who knew nothing about git. In one memorable conversation over lunch with one, I asked him how he got by without git; he used google sheets with classmates, and they also had shared a dropbox and only one person could work on it at a time. At first, I was dumbfounded that they had no instruction about it, but I realized its so dependant on your university and your coursework.
How hard is it to build in Silicon Valley?  one absurd example
There's a reason concrete isn't generally used for housing : it retains heat very well in the summer, and transmits cold in the winter just as well. A double shell or foamy concrete could solve this, however.
If you have the seed and the algorithm for the PRNG before the random number is drawn, then anyone can calculate it and pick the number.

The seed would have to be picked as the number is drawn if the system is public.
I have to admit, this is the first time in my life I've ever read that someone (a company, no less) switched from one software product to another because the one they switched to had emojis. I somehow feel my life is more complete, like I checked something off my bucket list. Thanks!
Because Bitcoin's Merkle tree is vulnerable to it as well :)

The fix came through a higher order property (duplicate TXs not allowed anyways).

https://bitcointalk.org/index.php?topic=102395.0
Would you seriously attempt to convince US government agents that your 512 GB hard drive contains only a 256 GB filesystem because you're a random noise enthusiast?
> I think it's disingenuous to try to classify Reddit as only a porn site

I completely agree, there are zillions of different experiences depending the subreddit and many of them can amaze you. For example, I have asked very specific questions in subreddits like sysadmin and networking on how AWS and Google Cloud handle layer 2 network protocol like Ethernet, and received the correct answers that I never received posting on the specific AWS or Google Cloud groups outside Reddit.
Internal hiring data from $big_corp disagrees with both 1) and 2).
Sure, I bet on coin flips, so why not? If you're willing to transact over XLM?

Let's say the bet comes due Nov 7, 2018(day after midterms)?

Also, please keep in mind that the point of my post is that it is unknown if Trump slept with Stormy Daniels, and even if he did, you still don't know what arrangement if any exists between Melania and Donald to be able to say that he is "completely devoid of ethics and morals"
"Tax-exempt" status is completely invented by the government, and carries no natural or Constitutional rights.

Being secure in your personal effects is a natural right and protected by the 4th Amendment.
Top Free Programming Course Sites
It was 7 lb (3.18 kg) of sesame brittle.

Indeed, an entertaining and practical talk on TLA+.
I like this part on the end

> App Store terms and conditions forbid distribution of Free Software that grants users freedom to use the program any way they want. You're not allowed to distribute this software with DRM applied to it.

Basically the essence of the GPL in one short paragraph.
Ask HN: Should I learn Python 3 or Python 2?
I plan to explore data science and machine learning. After looking into some MOOCs and other online learning resources I have come to the conclusion that a firm grasp of Python is essential. I am new to Python, so my question is should I learn Python 2 or Python 3?

Edit: Corrected a typo.
I submit to you, a subreddit I've found in the past week that is absolutely horrifying, and I think stands quite counter to the "variety of opinions" model you put forth.

This isn't anything visually graphic, but the opinions expressed in this subreddit make me believe that these people are preparing for a violent insurrection, full stop.

https://www.reddit.com/r/CBTS_Stream/

CBTS stands for the Calm Before The Storm. These people follow an anonymous online poster named "Q" who posts vague, short posts on some other site (not sure where), and then lots of other subscribers repost these and form general conspiracy theories that all revolve around the deep state, the NWO, and other nefarious groups colluding to remove Donald Trump from office. Its not your standard fare related to the ongoing investigations in congress or the special counsel, these people are the dangerous combination of paranoid, gullible, and angry. As an outsider just perusing, its obvious that this place is crawling with charlatans and con artists who understand that they are addressing a crowd of people who are more prone to believe an idea simply because of the tantalizing ramifications of if it turned out to be true. Anyone can spout out the most hairbrained idea, and three people will show up to give vague, outrageous stories that confirm the original idea.

I don't have an answer, but surely there must be a level of fomenting anger and general mob action that deserves some sort of modulation/regulation.
Where do you live? In most Europe public university is free and you can attend courses. I don’t know about US or other parts of the world.

If you just “show up one day”, you’ll be seen as pretty weird, but hey, it’s math, there will certainly be people more weird than you. My recommendation would be to introduce yourself to the teachers and be very careful/polite/diligent in attending the course. Some teachers can be very opinionated, just go with the flow.

Given your initial level, I’d recommend to focus on breadth instead of depth. It’s likely the case that you don’t know enough yet to make an informed decision.

For example, in my case I love algebraic geometry, number theory, and cryptography. And I hate calculus with a passion, including analytical number theory. None of this was clear to me until the 2nd-3rd year of university, foundamentally because what you learn in high school (liceo, in Italy) is kind ok fixed and biased towards calculus.
What I love about Zachtronics is the vast design space.
Definitely this one and also Algorithms + Data Structures = Programs by Niklaus Wirth.
Hello @danielrw7!

I’m a dev @cryptoinfluencers.io. Thanks for your including your browser & version. I’ve made some edits and it appears to be working again on Firefox 58.0.2!

If you see any more errors, please let us know! :)
I've been casually keeping an eye out for a 15" mid-2015 MBP and someone had mentioned in their ad that Apple still made them, and sure enough. If you're looking at 15", B&H has slightly cheaper offerings and they won't charge you tax.

Unfortunately I haven't seen anyone retailing the 13" 2015 MBP. If you're in the Bay Area, there's a fully loaded (3.1GHz i7 / 16GB / 1TB) 13" early-2015 covered by AppleCare until 2019.

https://sfbay.craigslist.org/eby/sys/d/2015-macbook-pro-13-i...

If you happen to go the second-hand route, I highly advise you to check if the machine is still under some device management (MDM) by running:

sudo /usr/libexec/mdmclient dep nag

More info: https://www.jamf.com/jamf-nation/discussions/24774/dep-naggi...
I've played both and loved both!
To an outsider this wouldn’t look that different to money laundering or some sort of large drug deal or arms trade.
Assuming a flawless CSRNG, 128 bits of entropy is more than enough to withstand current attack power. It's hard to predict the future -- quantum computers employing Grover's algorithm could conceivably have 2x or more attack power per unit energy -- but 256 bits should be adequate for a long time.

It's fine to use low-grade sources of entropy like timestamps as long as we have enough of it. I might only generate a few bits of actual entropy per second when I move my mouse in somewhat predictable arcs, but if I keep at it for a while, I'll generate 256 bits of entropy eventually.
Are you a white, casually-dressed male with an American-sounding name? If so, it is very unlikely your devices will be scrutinized at all. Outside of that, the probability increases (sometimes by a lot). Hacker News likes to see the long arm of the law reaching into their personal lives where it almost never does. This isn't to say we should like--nor even tolerate--when it does, but you can probably just pack all your usual travel items as you normally would for a domestic flight, and simply be on your way, unmolested.

Are you trying to bring 3 phones, 2 laptops, a tablet, 4 chargers, and assorted other electronics with you? Be prepared for the long arm to reach into your life because you're attracting suspicion. You would be attracting suspicion even without the current political climate, because that much equipment is outside the bounds of normal for your average traveller.

Be an average traveller and no one will give you a second glance.
This page has helped me a lot. I have used that alias table algorithm various times with very good results.
The post have been written by a women, which happens to be employed there.
How to Setup Your Own Web Hosting Server for 5$
Smells like a publicity stunt to me. Feels like Amazon's announcement of drone delivery where the product is vaporware.
As one of the been-there-done-that crowd, when we see these "new" tools coming out, many of us have this "here we go again" reaction. I'm not a religious person but by damn, the Christian Bible can be relevantly quoted here:

What has been will be again,
what has been done will be done again;
there is nothing new under the sun.

And it gets truer year after year. So much developer time is spent re-inventing wheel after wheel. This time in Java! This time in Python! This time in Electron! This time as a SaaS! This time in the browser! This time with emojis! I fully expect to turn 60 and read about the latest cool new text chat app on the front page of the 2038 version of HN.
> How could anyone be against the very concept of setting or codifying expectations?

“One of the great mistakes is to judge policies and programs by their intentions rather than their results.”

Yes, it sounds good on paper, but in my experience, a code of conduct is used as a veil of legitimacy on top of partisan decisions.

Even when a CoC exists, it is ignored or twisted to use as a justification for kicking someone out of a project based on their unconventional sex life (BDSM):
https://news.ycombinator.com/item?id=13935918

A frequently used code of conduct is explicitly used to invalidate others complaints. For example the Open Code of Conduct says: "We will not act on complaints regarding: ‘Reverse’ -isms, including ‘reverse racism,’ ‘reverse sexism,’ and ‘cisphobia’" I'm Asian and I hate that discrimination against Asians is still institutionalized behavior (https://news.ycombinator.com/item?id=16497551) and codes of conduct seek to silence any complaints.

We have situations like Opalgate where someone not associated with a project, dug through a contributors old tweets to find one instance where he said something politically contentious about trans people to try to get him kicked off the project. A code of conduct would encourage more behavior like this:
https://github.com/opal/opal/issues/941

In my own experience, I was participating in a computer science organization which had a code of conduct. A speaker went on stage and gave passionate speech about how Fascists are invading our city, and we need to resist and join Antifa.

I wrote an email to the organizer explaining how this goes against their code of conduct which states that they are to be inclusive to all people no matter their beliefs. I mentioned that the group the speaker was encouraging people to join would likely be engaging in violence against peaceful protesters. Of course it turned out as expected:
https://twitter.com/shane_bauer/status/901910682030882816
https://www.washingtonpost.com/news/morning-mix/wp/2017/08/2...

But of course the organizer ignores behavior that breaks the code of conduct as long as it suits them.
Two issues:

Your technique potentially changes the owner, group, and protection bits of the file, which may come as an unwelcome surprise to anyone trying to use it as a drop-in replacement for directly over-writing the old file. (Worse, there seems to be no way to completely fix this in Unix-land as of the last time I looked back in the 90’s, when we had to pull a feature in FrameMaker over this).

Also, be aware that (many? some?) disk controllers routinely lie about whether their internal caches are actually flushed to physical media, and there’s no way for fsync to be 100% sure that the data has really made it all the way to the spinning platter of rust. Try testing your code by putting it in a loop and repeatedly pulling the power plug out of the wall, and see if you always end up with an uncorrupted file. (Yes, people do this sort of testing on highly fault-tolerant systems.)
Is that because async is involved? I have minimal experience with async Rust code, but my experience with Rust compiler errors has been superb so far. The compiler always tells me exactly where things went wrong and the error messages are quite informative.
Python 3 for sure. Even if some major libraries are not yet supported is just a matter of time for them to be 3 compatible. And on top of that, you get a lot of goodies in python 3 specially around string manipulation and dictionaries. Take a look at this [0] post from the python community about python 3 vs 2.

0. https://wiki.python.org/moin/Python2orPython3
Don't care about the point of your post, and I made no value / moral / ethical judgment in my reply regardless.

You just agreed to a bet. I said "bet you a dollar he did" and you said "sure."
Brings back good memories. Pad your leaf and inner nodes with different bytes y’all.
Uhh. This is depressing.

I picked up Slackware and FreeBSD a long time ago and had so much fun plus found a career.

I finally through in the towel with Linux as my main machine a long time ago and went back to Windows as 7 was pretty good.

With Win10, I've tried to deal with both VMs and WSL, but once I got a MBP there was no turning back. I simply don't have the time or patience to deal with the issues Linux now has.

Don't know what the solution is. Perhaps dump Systemd and the rest of RedHat's decision.

Or maybe Redhat, Suse, or whover could just get one disto working perfectly on two or three hardware models a la Apple.

But not happy with how things have turned our with Linux on the desktop.
One thing I would like for the Zachtronics games is if the optimization mattered somehow other than just personal satisfaction. Such as you get achievements, special equipment, or get to unlock special stages for meeting certain optimization goals. Or since you are basically designing factories (or PCBs in the case of Shenzhen and TIS), maybe your creations earn profit based on their cost and efficiency? And maybe you have to earn enough profit to win the game, in which case would have to revisit less efficient designs to improve them.
IOTA Signatures, Private Keys and Address Reuse?
Here's how to do it: Let's say there are N parties who want to generate a random number between 0 and M-1. None of the N parties trust each other. Each party individually generates a random number r_1, r_2, ..., r_N and keeps it a secret. Each party generates a hash of this number plus a suitably large salt. These hashes are publicly announced so that everybody can see everybody else's hash. After this, the original random numbers r_1, ..., r_N are published. Add them together modulo M to get R, the resulting random number. All it takes is a single party to randomly generate their number to ensure that the result is random. For extra shits and giggles you can add in a Bitcoin block hash (provided that it's in an appropriate range in order to avoid bias).
That test aircraft looks very well developed. The article says it can fly 62 miles. I wonder how long it will take to recharge.
Lords often got their start in lording by building a bridge.
Hate to bother you, but could you point me to the exact model (eBay or whatever) you're talking about?

I'd love to find one damn laptop that we know works well.
Auto update.

If you have a desktop app that in any way interacts with your backend, you need to take into account active client versions before upgrading your backend. With web this problem basically disappears.
ContentDaDa – Content Writing Services and Online Content Marketplace
ContentDaDa is an Online Content Marketplace connecting Content Writers and Clients. We do Content Writing Services and Freelance writing services.

We do have many writers with experience in several fields.

We have writers in different categories like Basic, Premium, Hand Picked. The Prices will be different for each category.

Our Services are :

1. Content Writing
2. Copy Writing
3. Translation
4. eBook
5. Technical Writing
6. Product Reviews, etc.,

Our Key Points :

1. Pay only if you are 100% Satisfied with the Content.
2. Plagiarism Checker (Copyscape Integrated)
3. Automated Payments
4. No Direct Commission from Clients
5. 24*7 Support Team
6. Grammar Check (Grammarly)

See More @ contentdada.com