skysight-inc/HackerNews huggingface dataset:
Git please change stash
Normal git tooling creates different files
file.ORIG file.LOCAL file.REMOTE in case of conflicts.

However `git stash pop` manipulates your files directly resulting in lines like:

<<<<<<< Updated upstream

>>>>>>> Stashed changes

This can seriously corrupt files and workflows.

If it is «the user's fault» or negligence then at least I'm not the only one:

https://github.com/search?q=Stashed+changes&type=Code

300000 'idiots' might hint at a UX problem.
As someone who mostly works with a few dozen KVM instances and who will soon have to consider something like Kubernetes to facilitate growth, this was a very good read.
I'm a Pa-Kua[^1] student, one of the archery exercises is fast-shooting; 6 arrows in 30 seconds is achievable with a 2 hours/week class over a few years, so I don't see problems with 10-12/minute for someone who spends hours every day on archery.

[^1]: http://www.pakua.com/
Stock Market Q&A
GP seems like someone who has an axe to grid. Either against the author or against docker/kubernetes.

He seems to show up with disparaging remarks whenever there is thread linking to that domain

https://news.ycombinator.com/item?id=16104682
Sweden tried to drop Assange extradition in 2013
I think it's obvious that it doesn't offer anything different besides that it's another option than those sites. CL for example has palletes that aren't as easily copied and for the most part are used a lot inside their own system.
I could see someone like a Postmates making an investment in building one of these types of products
I find this page to be somewhat vague. For example, any data that revolves around dates or time may require some addition hoops to jump through since, as https://www.sqlite.org/datatype3.html points out, "SQLite does not have a storage class set aside for storing dates and/or times."

As much as I love SQLite, I find this little issue always adding an extra bit of work to deal with. Not a blocker, but useful to know. I've found that in some (rare) cases, H2 became a better solution (horrendous start time, slow data load, but ability to use real date and time types reduced errors and improved analyses).

Finally, knowing that SQLite is not right for a situation is great, but it wouldn't hurt for them to mention a potential alternative, if the devs or community know of one.
Because it's currently a genocide. Genocides should get media attention.
Why does this need to be centralized? This is like asking for the user's soul. For the good of everyone, services need to start thinking offline-first, smh. I would not use this service for the exact same reason I never used Facebook.
What Trump is doing and what Obama did to some extent is Retrenchment rather than Isolationism. US is hyper-extended and pulling back is pretty natural reaction after two decades of engagement in Middle East and Afghanistan.

That is not Isolationism, my rule of thumb is when US Navy vacates Diego Garcia (naval base in Indian Ocean), I will consider they are becoming Isolationist until then the talk of Isolationism just hot air.
Ah, thank you. Explains it perfectly.
Carbon footprint of flying is around 0.2kg CO2/mile, carbon footprint of commuting by car is around 0.4kg CO2/mile.

So a car commuter with a 20 mile commute emits 2 tonnes of CO2 per year; a digital nomad without a car commute would need to fly around 20,000 miles a year to get the same amount of carbon emission -- which is the equivalent of two return flights from London to Bangkok, or 10-11 return flights from London to Lisbon.

So they are roughly on the same order of magnitude as a suburban car commute, but could go substantially higher with weekly return flights...
And even if someone does find a tool of value there's the 'many small cuts' problem; I can't afford to give every creator $5 or even $1.
Deluge of astronomical data will soon hit South Africa
Christians are heavily persecuted globally, particularly in the Middle East, and their plight goes largely ignored relative to the Rohingya. Compare the number of HN search results for "Rohingya" and "Coptic"/"Copt".
Say Hello to GO Trace – Affiliate Link Testing and Monitoring Platform
I actually thought of the Battle of Cannae during the episode of Game of Thrones Battle of the Bastards.
Yeah, I'm in Thailand now, it's more expensive than 10 years ago, no doubt. But that's the nature of economies, Thailand is "tiger economy", it's been relatively stable and economically prosperous growing at decent rates for nigh on 20 years now (since the Asian financial crisis). It's no less immune from wealth concentrating in larger cities than the UK or the US is, rents in London, New York, <insert any other major city> have been going up over the same time period.

"Digital colonists" are a drop in the bucket compared to the forces driving that change.
What is a good tool on Linux for testing such attacks?
I wonder why s/he is not using his/her main account to 'contribute' to this thread:
user:	occidentalist
created:	29 minutes ago
Acquisition Framework Applied to Dating in the Digital Age
I don't think there's much point in spending lots of effort to validate the email for structural correctness because you can't anyways verify the email is really valid without sending a verification message (valid in the sense it works and belongs to the specific person).
Hey HackerNews! Thanks for all the.. uh. Tough love. Your message has been received loud and clear and I will definitely try to do better next time before being whiny.

You'll hear from me again!
I can only take it in doses, but it's invaluable from the perspective of if you wanted to represent the US as poorly as possible based on its own actions, how could you do it?

He's a guy you can't watch with your blinders on, but the raw amount of material there is, and the coverage of events like Iran in 53, Chile in 73 is a good counterpoint to anyone who wants to suggest the US cares particularly about democracy, or has only been a force for good, that kind of rhetoric.

Is there something similar that has less of a slant?
Management and the wealth of nations
It is an example of Doublethink [1].

"Doublethink is the act of simultaneously accepting two mutually contradictory beliefs as correct, often in distinct social contexts.."

I believe this site is also full of that all the time. From metered usage of all resources but internet, doctors vs bankers pay and so on.

1. https://en.wikipedia.org/wiki/Doublethink
I understand the frustration, but I can't relate. For me, routing the board is the most fun part. It's like a large puzzle that you have to solve, the result of which is useful to boot!

I keep wanting to design PCBs pretty much just so I can do the routing! That's for small, two-layer PCBs, though. If you had to do eight layers on a huge PCB, I can see how you wouldn't want to be bothered.
Esports Bar Conference Live Stream
With Slowloris there are no missing TCP packets and client sends the correct request but VERY slowly.
Can macOS tell how large a file really is?
I couldn't get past the first couple of sentences without a real eyebrow-raise:

"Primitive Technology: an oxymoron, perhaps a logical impossibility"

How exactly is this an oxymoron?
Intentionally impeding federal law enforcement from arresting and deporting illegal immigrants probably isn’t helping them on those metrics either. But until just recently, they were allowed to have non citizens counted in the census for representation, and of course there’s always potential future amnesty and birthright citizenship ensuring they produce more loyal Democratic voters.

Seems to me like CA doesn’t mind putting political power before the well-being of its citizens.
Yes, but it would make upgrades to the first version that uses it a major flag day. Which limits when it could be rolled out.
The Robots Are Coming
Thailand has been developing regions by selling travel experiences, girlfriend experiences and retirement to paradise to foreigners since before "digital nomads" were a thing, and there's no shortage of gentrified cafes and bars aimed squarely at Thais in areas Western bloggers and YouTubers don't venture. As more authentic an experience as it might have been when Ko Samui was an unspoilt island where you might be able to use your broken Thai to persuade a local fisherman to rent his hut to you, ultimately the Thais would rather not continue to be poor. And of all the problems with tourism in Thailand, digital nomads paying 250 baht for a flat white and veggieburger in some restored old building with neo-hippy decor in the tourist showpiece part of Chiang Mai has got to be very close to the bottom.
Good idea. I took the class "Concrete Mathematics" at Stanford using the book of the same name (in 1983?). It was memorable - every class was a fascinating look into another discrete topic. I'm not sure I could have read the first 100 pages alone and understood anything - it would be a whirlwind of new concepts. Definitely benefitted from being talked through each chapter by an expert. Not Knuth; it was a guest lecturer, as I recall involved somehow with the computer proof of the 4-color Map Theorem.
That's a valid observation, but the status of sqlite as a couple of ansi c file you can compile with or link to any damn thing is really what we're talking about here. And H2, awesome as it is, is no comparison.
V8 JavaScript Engine: Lazy Deserialization
Some tips for email validation:

* Just say no to CFWS. CFWS is not legal in an email address, and anyone who tells you otherwise is incapable of reading the standards. CFWS is legal to insert in the written representation of the email address in RFC 5322 and RFC 5321, but it is not a structural part of the email address (you get the email address by deleting all such instances).

* Everything to the right of the @ is either a domain name, an IPv4 address literal embedded in [], or an IPv6 address literal prefixed with IPv6: and embedded in [] (e.g., [IPv6:::1]).

* Enclosing a localpart in quotes does not change the email address. Ergo, you can require that people not use quoted localparts if they don't have to. Actually, in general, you can probably require that people not have quoted localparts at all.

* The only characters truly forbidden from email addresses are C0 (and maybe C1, although the EAI specs are hazy about that). In practice, though, any character that requires quoting to access can probably be excluded from valid email addresses.

* Sending someone an email and telling them to confirm that they received it (e.g., by making the next step be triggered from a link in the email) is the only way to validate that an email address actually works.
My least-experienced team member has 10 years of experience. The others have 20 years of experience.

Veterans make mistakes, just like all other humans. Sometimes they're sleepy or distracted or don't have enough time to think what they're doing through.

Also, veterans are more likely to have their own ideas about how to do things, and some aren't easy to compromise with.

Either way, why should I leave it up to chance when there are automated tools that prevent mistakes before they leave someone's desk?
That's real postcards, not electronic
recently, https://news.ycombinator.com/item?id=16315985
All the links I see seem to be around 9% of the budget goes to "safety net" programs.

https://www.cbpp.org/research/federal-budget/policy-basics-w...
Are you suggesting that there is a bias in Western media against Christians and in favour of Muslims? That would be the first time I've heard such an accusation.
That is Roam's entire value add. The large majority of digital nomads are looking to find likeminded individuals with the same constraints in the same foreign city as they are. Similar to hostels when backpacking.

If you want to be integrated into the communities of whom your traveling you want to be crashing on their couches or in the very least renting a local Airbnb.
Your crypto on autopilot
This should be higher. Optimize will eat the low end portion of the market just like Google analytics did.
"Technology" implies some sort of advancement, whereas primitive denies it. It's fair to point out it has more than a whiff of oxymoron about it in the natural reading.

But you might prefer "paradox"; an apparent contradiction. Like many other paradoxes, this paradox resolves itself once you learn more. But certainly at first there seems to be a contradiction in play, again, with the natural reading of the terms.
Sadly, in the browser SQLite has been kicked to the curb, replaced by IndexedDB.

It's deeply disappointing to not be able to use SQL on both client and server. Yes, there's Lovefield, which employs its own DSL that has nothing to do with SQL, so you can scrap everything on the server and redo it on the client.

Or just give up and go with NoSQL on client and server, that seems to be what the browser vendors are implicitly pushing developers toward.
Sure, state hires hackers that can break into Olympic systems, yet dumb enough not to hide their tracks and be easily identified as Russian. Genius.

The anti-Russian narrative and propaganda is getting old.
Buddhism has a fairly explicit prohibition against killing or even working for companies in the business (i.e. gunsmith.)

This goes even as far as not executing serial killers.

So this is unprecedented, which is part of why many are so shocked.
I agree with everything you said, except for " it doesn't matter what justification is used for killing". I think that we should strive to understand the reasoning and aspects of human psychology/sociology that make some such "justifications" more effective than others, so we could do better at promoting peace.
If you think validating email addresses is frustrating, then you should try sending actual email.
> * In coding, like in driving a car, there are times when common sense overrides traffic rules.*

Definitely. It's possible to override any of these things in our setup. Most of them can be overridden by the person doing the coding, but a few of them require the team leader's approval.

If the rules are overridden, it's logged in our issue-tracking system, and we can discuss whether it makes sense to keep the rule or get rid of it.
The Story of Elon Musk's First Company
Can you clarify on what CFWS is? I found what the acronym stands for, but not what it actually means.
To solve this problem in part, keybase exists. At its core it's a proof-of-identity service, with some fanciness on the side. Sure it doesn't fix the root of the username issue, but it helps a little bit, while having cool things like kbfs and kbp.
Indeed, it's entirely possible for people to take heroin at the weekends or similar, and put it down without problems, and I know several friends who do it irregularly without getting addicted - although only smoking, I've never heard of anyone injecting IV heroin who wasn't an addict...
Let me introduce you to the Rails ORM...
America’s Real Digital Divide
I got out between $30 and $40. I had a hard time reading the tea leaves on the Bezos reality distortion device. :)

On a positive note, the proceeds paid for my honeymoon and the balance went into Apple and Red Hat, both of which did good!
Can you name some examples?

I too wrote one and found lots of addresses that were valid but unusable (try using a "jacques m"@example.com and see how far you get). But I can't remember any that were usable in the wild but invalid according to my parser.
SQLite is fine with multiple processes as long as they are read mostly. And if you switch journal to WAL mode, it is as good any multiprocess DB without MVCC (which, depending on access patterns might be as good as it gets - although mist patterns do benefit immensely from MVCC)
Maybe he meant "Even if" ?
Nice. He built an overcomplicated algorithm that is wrong. FizzBuzz was created to also identify this kind of candidates apart from those that can't program at all.

Nevertheless, if I was an interviewer I would have several questions that were unanswered in this iamverysmart writeup:

1) Why did you choose to encode 1 dimensional input as 10 dimensional input with the binary encoding?

2) Do you think that one source of error could be using different underlying distribution for the training and testing dataset? You are basically trying to extrapolate the training dataset.

3) Since this problem can be easily visualized, plot the learned function.
Bulk loading a CSV or similar into SQLite for analysis with SQL statements is an incredibly productive technique. With a few lines of code you can load any log file, load and merge multiple logs by timestamp, whatever you like
Especially for Koreans. They are HUGE on saving face. They’d never admit. Given that they are being portrayed as tech savvy and advanced nation in terms of internet.
Do you actually think California is trying so hard to keep these people out of altruism? This is clearly just an electoral strategy. And there’s no way that with such large numbers of a very poor foreign population that it isn’t going to disrupt institutions and daily life in California.

And that isn’t a moral judgement of any of those individuals, it’s just a reality that negative social conditions have a big impact on schools in particular. The wealthier schools aren’t just doing better because they have more money per student, they’re doing better because the kids that go there have a better social environment. You could pour 5x the money into the worst schools in the country and you wouldn’t be able to make a big improvement because the schools are not the root cause of the terrible social conditions in those communities.
Google 'Embracing' Notch Design in 2018 Android Update
[Podcast] Using lean design research to get to 'the why' of your product
Yes, what is the point of validating them?

You don't know if they work anyway, until you successfully send email.
Adding Meaning to Primitive Types in Fsharp
The proper way seems to be: do your verification anyway, if the address appears to be invalid prompt the user once more to please check their email address and if they indicate it is ok then simply send the verification email assuming the user knows what they are doing. This will catch a very large chunk of accidentally mis-spelled email addresses and will allow the users to override the validator for strange edge cases.
The former battle.net (now Blizzard App) does what many games do and has the form "Username #XXXX", where the xs are digits. So you can be Frank #0001 and I can be Frank #0002. Steam allows you to tag people on your list with user created descriptions. There are definitely applications out there that make this kind of user experience a priority, I feel like the gaming world is ahead of the curve on this point.
Seal – blockchain powered product authentication and services platform
What is the appeal of "100% live coding in a Smalltalk style immersive environment"?
I think you are mistaken about Portugal or Thailand not having been culturally significant in decades, and I suggest taking a second look on the current state of the Balkans gentification (Croatia and Montenegro first, Albania next).

I suggest asking to locals where to find a bar for old people downtown, with cheap coffee/tea. When they'll tell you that such places do not exist anymore and were transformed in yet another hipster barbershop, burger bar or McDonald fast food parlor (looking at you Lisboa) maybe you'll agree it's not progress - it's whoring yourself to uninterested tourists.
1) Judgement

2) Prioritization

3) If non-urgent then take the time to make good decisions

4) Discussion in person is best, phone is second best, email is worst

5) Don't underestimate the work other people do, or their attitude to it
The author mentions CcmExec.exe a million times without explaining it. A bit of searching reveals that it's part of the Change and Configuration Management system in MS Systems Management Server (https://blogs.msdn.microsoft.com/jonathanh/2004/05/27/ccmexe...). That's why he alludes to most folks not seeing it unless they are on a corporate managed machine.
In all seriousness though, wouldn't sending a validation email that has them click a link suffice?
When logging in, how do you get that autoincremented ID column? Some more complex variant of "SELECT *.id WHERE username = $1". So functionally, yes the username is the root identifier that pulls the very first record that then allows other joins to occur. But you are right, the username column is not literally the key being joined on.

There is also the security issue that by having the login name also be the publicly displayed name lowers the bar for attempting to make a targeted attack on the site, as well as other sites where the attacker suspects the victim may be using the similar login name. This can particularly be true in cases of harassment across platforms, which while is not a computer science security issue, it is a personal psychological security issue.
Comment-folded whitespace. It's the little things in parentheses (e.g., the timezone name is usually included in a comment in the Date: header). It's also the bane of anyone who has ever implemented an email message parser.
It's been four years and I don't have access to the code or the testset (work for a customer), sorry. It would have been nice to have that bit open sourced though, jvde if you are reading this, hint!
Aspects of a good Go library
GitLab Pages Security Issue Notification
I use SQLite for logging data from a bunch of distributed sensors. The server (RPi) sends a measurement request over MQTT, the sensors reply and the server logs each response grouped by the request timestamp. Seems to work very well for 25 sensors on the same WLAN and for continuous monitoring (about 100 measurements per minute).

This can then be displayed to the user via a web server which has read-only access to the measurement db.
Reinventing Bookkeeping and Accounting (In Search of Certainty) »
Sure. I'm sure you think of it during most medieval show that has some sort of warfare, some variation of it is almost always featured, though as far as I know tactics similar to that had been used long before that particular battle.
Apple's iPhone X Has Serious New Problems
Subliminal Messaging Experiment on Al Sharpton's Brother
Oh please. Enough of your DARE rhetoric.

I've been on hydromorphone. It's 8x more potent than morphine on a gram basis. Heroin is only 3x more powerful than morphine. I was on hydromorphone for 4 months, and then went DOWN to oxycodone for another 6 months. After 6 months, went on hydrocodone. By all measurements of addition, I was 100% addicted.

Yeah, it felt good having the drugs. But I also quit taking them sooner because I felt my mind fogging up. I didn't like that, and took more pain to be able to think clearly. But no, your assertions that people will just drop everything to get it is blatantly false.

Homeless people will go after heroin, if they can afford it. But those that choose this route are trying to numb the fact that people don't care about their condition, and that they have very little chance to raise themselves up. It's a social reason - if I cant have a better life, I can check out with drugs.
I think it's valid considering it's usually parents who pay for their children's schooling if it wasn't free. The benefit here is monetary, not academic.
This StackOverflow replay happens to answer this question exactly, the actual definition of "CFWS" is near the bottom of the text:

https://stackoverflow.com/a/42193413/544779

It's just an excerpt of the spec, but I link to it instead of to the spec because I think it's easier to read (formatting/colors) and it has links to the spec anyway.
Essentially people get used to a more modern, fresh approach that they feel they get with Mail.app etc and look for something similar with Thunderbird.