skysight-inc/HackerNews huggingface dataset:
The visa-regime borders are not mutually exclusive with migration either. Actually, it ensures, that the country gets the well-driven ones.

If you want to see, how to destroy a country fast, have look at the UN Global Compact for Migration. Social service-wise, it binds the countries to provide more for immigrants (even those entering illegally) than for their own citizens!
It's really hard. And strangely it can be easier to estimate a new project (that's similar to something you've done before) than optimization or bug fix projects. Known unknowns vs. unknown unknowns and all that.

Estimates in general are hard - I've had clients break everything down into micro chunks and estimate to the hour, and come up with a total ~100 hours. When I try to gently remind them that the last similar project took three months, there's generally push back. But if nothing changes in the approach, it generally takes about the same time.
Yep! As mentioned in the comments, the logic you get this way isn't exactly the same as Thompson's, but it's very close. You're welcome.

FWIW I drafted a lot of variations while messing with this: https://github.com/darius/sketchbook/tree/master/regex (some of this code is incorrect) and https://github.com/darius/sketchbook/tree/master/lex.
Excel for entering all the estimates. I write down tasks, one-offs (eg license purchase) and subscription costs. For the tasks I add columns for different roles, because the rates differ. The fixed costs are also entered. Some tables are made based on this data, and added to a written word document.

It might seem old school, but a lot can differ based on project basis (e.g cooperation with other companies, 1 month vs 2 year projects). Word and excel are just flexible and easy enough for me.
> There’s a vast chasm between the government being used as a tool for collective action and government being used as a tool for control.

Doesn't matter how deep. It's a short jump. The former is a characterization of the latter. They achieve the same goals and someone is awaiting their turn to use that tool.
Startup Lanetix Pays $775,000 to Software Engineers Fired for Union Organizing
https://www.youtube.com/watch?v=Rf2tz7_-2NI&feature=youtu.be...
The digital epidemic killing Indians – BBC – Video
Mandatory; account recovery.
One could hope this kind of thread was not a place for whataboutism and pain metering.
Advertising is actively creating and perpetuating the information bottleneck.
Vox:)
Using a completely oversimplified estimation method and 2017 revenue numbers, they're losing about $1300 every second their website is down.
Very similar for me but with 1Password instead of LastPass.

My only complaint about Bitwarden is that the desktop app on macOS does not have support for Touch ID which is a shame. It has been a requested feature for a long time but no progress seems to have been made.

The desktop Bitwarden app is Electron based so I don't know if that is an issue or not.

Overall for £10/year for Premium or legitimately free if you don't need the Premium features you are a fool to not use it imho.
The SEC has no authority to prosecute criminal complaints and cannot put anyone in jail.
> And if they don't act, regulate them out of existence.

Sounds easy but doesn't work IRL. The service providers don't build the units and rely on the supplier. The supplier might have patched it but wants money, the ISP doesn't want to pay. Maybe the patch breaks something else and the ISP don't want to put that on all their users.

Also, not all vulnerabilities are equal. Some are more serious than others and require patching urgently, others less so.

And not all ISPs can push a patch so how do you tell everyone to update and what happens when it doesn't work and 1M people are calling Customer Support?
Show HN: Circuit Design
naivety is a convenient point of view when you're not the one being exploited, @adamc
In the US iOS has a 40% market share.

https://www.statista.com/statistics/266572/market-share-held...

But in Mexico it's probably between 10% and 20%. I can't seem to find any recent stats.
Just about anything sounds like it would be an improvement on that. It sounds trite, but do whatever you need to do to find another job. Maybe you need to be very thrifty for a while to save up a cushion first. But make a plan to get out, and then get out.

Life's too short.
You're correct that farming is likely better than factory work. It might even be more rewarding writing code 9-5. The problem with subsistence farming is that you might starve to death if a drought, flood, or disease kills half your crops.
You might want to familiarize yourself with how errno works.

It is not used for reporting. Rather, various functions in C and POSIX return an indication that some exceptional situation has occurred. Then errno holds a value which classifies the cause of that situation. It doesn't report the error.

(In the case of portable ISO C, we can't even depend on that; we must set errno to zero before calling most library functions. If that function fails, then if errno is nonzero, it has a value pertaining to that function.)

Some newer functions in POSIX return the errno value, like pthread_mutex_lock. That makes sense when the return value has no other purpose like "bytes processed" or whatever. The errno values are positive, so they combine poorly with in-band signaling.

Anyway, optimizing is possible based on the return value: like putting the expected success case into the hot code path or whatever.
I made the transition from writing native QT applications in C++ to javascript front ends (generally React) a few years ago. In my experience, writing robust front-end applications was much harder in C++ than it is in javascript. The memory management in QT can get pretty complicated for large applications, and a single mistake can get you a segfault crash. Not to mention that it's much easier to hot-patch a javascript file on the server and then ask everyone to please hit CTRL-R on their browsers than it is to recompile and redistribute a binary to all my clients. At this point, all of the UI components at my company are js based and I couldn't be happier.
You can make the environment less of a snowflake.

Nix, to automate software installs and per-directory (per-git repo) environments. NixOS, to do the same for your OS.

Gradle, for automated IDEA setup. Or check the config into git. Cachix, to ensure your build artifacts remain available.

These problems are solvable, and the solutions already exist.
Yeah, I noticed the change in LastPass' behavior. It turns out that it actually DOES save the random passwords it generates... it's just very well hidden. If you generate a random password for a site, register your account, and LastPass does not catch it and doesn't prompt you to save the account info, it's not lost. If you open the 'Generate secure password' page by itself from the context menu extension, you'll get a new random password. BUT, if you click the down arrow to the right of it, it will drop down a list of the prior generated random passwords for at least that browser session.

Utter madness, but it saved me a couple times.
Who maintains this server in a family with no IT people? Who fixes it when it's down? Who maintains it when you are busy? What happens when its attacked and you're too busy to respond?
Came here to ask for this. Thank you very much.
Why SQL at all? Are there so many relations in the database, that a relational model is a need? Since it has a "social" component, it may be, but I just wanted to place a quick question, without analyzing the project.

Thank you.
> (As an aside, I also used to have ~no money, and can't really say I required ad-based sites to learn. I just pirated it all, used sites without advertising, used IRC, etc. I think this idea that everything has to be ad-supported is quite a modern phenomenon.)

A lot of the best content on the Internet is hosted by its own creators, paid out of their own pocket, out of willingness to share the knowledge.
Working in a modern factory and living in a dorm vs living in a rice paddy with no power, no running water, no transportation other than walking.
From EU:

Facebook Platform is Healthy
Since October 23 at 4:10 PM
First off: awesome work!

Correctly reading the data from XLSX is a lot more complex than described or implemented here, mostly because Excel is so robust in reading files and there are many sloppy writers. If you're interested, there's a many-thousand page ECMA-376 specification: https://www.ecma-international.org/publications/standards/Ec...

- to correctly get the first worksheet, you actually need to parse the workbook.xml file and look into the sheets array to find the corresponding relationship IDs. This is explained in section 18.2.20 (page 1579 in the part 1 PDF). iOS Numbers used to write worksheets in the opposite order, which messes up the naive attempt to read the relationships file in order.

- the attribute "s" in a cell is an index into the styles table, while the cell type "s" corresponds to the shared string table. If you're curious, its in section 18.1.3.4 (page 1604 in the part 1 PDF)

PS: We build and maintain parsers and writers for spreadsheets in JavaScript (https://github.com/SheetJS/js-xlsx/ is our most popular project), including a CLI script to convert files to CSV. Some of our users use JSC in the context of Swift applications, ingesting data in JS and returning a CSV for further processing in Swift.
Four ways the internet changed the midterm elections
Pretty much all of the above.
I found spreadsheets broke down once I started working on multiple projects at different rates (sometimes with the same client). Freshbooks has been awesome for me, and saved a whole bunch of headaches around tracking time and invoices. Totally worth it.
I only use it for autofilling my CC and it works fine. A couple of sites don't play well with setting the expiry month via dropdown menus but otherwise it is solid.
Well, everyone is free to adapt the font size to their needs but those fonts are pretty huge.
Maybe the books from Axel Rauschmayer are what you’re looking for.

http://exploringjs.com
They want the oil to not be transported at all.

Switching to truck or train would reduce the profitability of using tar sands. https://www.eia.gov/todayinenergy/detail.php?id=7270 says (for Bakken oil) "Shipping oil by rail costs an average $10 per barrel to $15 per barrel nationwide, up to three times more expensive than the $5 per barrel it costs to move oil by pipeline". It looks like oil is about $70/barrel, so that adds about 10% to the cost.

https://www.investopedia.com/ask/answers/012015/what-average... says "the average net profit margin for the oil and gas drilling industry is 6.1%." Tar sands oil is already pretty expensive to produce, so I'll guess there already isn't as much profitability.

There are enough people in the environmental movement that many approaches can be done at the same time.

Plus, as the Wired piece quotes:

> This is really the dirtiest oil on earth, in carbon terms,” McKibben says by phone from Vermont. It’s a mixture of bitumen and sand about as gooey as peanut butter. “In many cases you have to burn natural gas to heat the ground to get the stuff to actually flow, even before you burn it in somebody’s car and produce more carbon. If you set out to build a machine to wreck the climate, it would look like the Alberta tar sands.”

I think it's easy to compare it to attempts in California to reduce smog. One method is to require strict emissions control. Another is to start a vehicle buy-back program to get "clunkers" off the streets. These can work together.
Well, yes and no. His voice changed because it was electronically slowed down. In reality, probably by slowing down a tape machine, but that's not the same thing as having a baritone voice, though I might be nit-picking.
I look forward to testing it.

I was using the ruby version, but I didn't know a rust one existed as well.

https://github.com/jcs/rubywarden
Switched to Lastpass half a year ago and it's been a rocky move (I didn't have a password manager before). It's consistently been painful to use. For example, my work email transfers between different domains for log in versus viewing and I think even a third. Lastpass never manages to suggest the password at the right time because of this and I always forget where to find it. The mobile app routinely makes me type my long passphrase in twice in a row which is painful because it's easy to typo it. I also don't trust it saving randomized passwords it generates so I always have to copy them to clipboard and confirm that the account was added properly. I have had problems where data did not sync; I could see it in Mobile but not desktop or vice versa. It had been in my account for weeks at that point. Maybe I should try bitwarden.
I've been a paying LastPass user for over 8 years. I switched to Bitwarden a few months ago. It's so much nicer to use than LP.

LP's extensions and mobile app have gotten slow and clunky. Bitwarden's software is fast. Unlocking LP in Firefox would take me 10+ sec. Bitwarden takes about a second.

The only downside I've found so far is that Bitwarden doesn't have an inactivity logout, only timeout. This makes me log in more frequently than I'd prefer.
seeing it span across multiple subdomains including their developer portal
It could work then. We had the same setup. Also, we store everything on S3 but there is a lambda function that pushes new objects to Google Cloud storage too. We figured, storage is cheap so we can duplicate things and it will make moving to GCP a lot easier.

This was a while back though. Now we depend on a lot more AWS stuff.
Show HN: HomelabOS – Ansible scripts to deploy self hosted cloud services
==The pie hasn’t grown for four decades [1], and the middle class has been hollowed out [2]. The existing system must be fixed before more burden is placed on it.==

Your first chart doesn't show a stagnant pie, looking at GDP numbers disproves that theory. The pie has absolutely grown, corporations have just chosen to keep more of it.

The problem is that you are connecting these things directly to immigration and there isn't much evidence to back that up. You are taking a real problem (stagnating wages and fewer corporate profits going to workers) and shoehorning in an ideological belief to explain it. Your sources provide no evidence that immigration is to blame for either of these phenomena. They simple show that the phenomena exists.

==We don't throw our hands up when we can't find workers to clean up nuclear waste accidents. We build robots for the job.==

Wasn't your entire point that we are just hiring immigrants to do this work instead of building robots (your Wisconsin dairy example)?
In a song with 49 million plays on Spotify alone, Kanye West said "Nike, Nike treat employees just like slaves
Gave LeBron a billi' not to run away," right around the time when Nike was getting serious heat from its labor conditions overseas

The share price did not move.
While interesting, it is suicidal.
A counter-argument to this is that all files you need are stored in 'the cloud' and performing searches/indexing/refactoring would happen _faster_ than on your workstation because it can take advantage of a lot more 'cloud' resources.
Different data center, looks like the outage is US-based.
> But that seems like it's just an iteration on the status quo rather than leap frogging to a post-IDE world.

I think the fact that you'd have a globally accessible, pay-as-you-go, zero-setup, multiplayer programming tools is surely a different beast from the IDE. However, it does go further than this and most of the innovation to this end aren't coming from us but from our users and how they (an)use the system. I can try to predict what the post-IDE world looks like, but it's better to discover it.
TLDR : Fake news of children kidnappers roaming in India circualting on WhatsApp led to 2 young men passing by getting lynched.

The Crowd: A Study of the Popular Mind [1] comes to mind. It only takes one person to spark the masses.

1 https://en.wikipedia.org/wiki/The_Crowd:_A_Study_of_the_Popu...
> Working to make the world better shouldn't be mutually exclusive to understanding advertising, but often seems to be.

From what I've observed, working to make the world better isn't mutually exclusive with understanding advertising, but is strongly anticorrelated with wanting to do it. People who think about making the world better tend to understand that advertising is a cancer on society.
Why Drupal's Layout Builder is so powerful and unique
I use and like Bitwarden but their iOS app feels a bit slow especially when I need to search the Vault.
After tapping the search icon it takes somewhere around five seconds (sometimes even longer) of loading time until I can enter my query. Has anyone else experienced this or is it just me?
Not Facebook.com, the platform that Facebook apps are built on I think.
Regular login down too.
It's more about the style of editing. Ie, right now I massively prefer Kakoune style editing. I choose that over Vim, despite Vim having much wider support.

When compared to Vim, it's not about one specific "feature" that vim lacks, it's Vim, it has just about everything - it's about my editing UX, and vastly preferring how Kakoune does it.

Now would I choose IntelliJ if it could perfectly replicate how Kakoune does editing? Without a doubt I'd choose IntelliJ. Yet I massively doubt that's even possible.

Fwiw, I've been dying to use a GUI editor, but I cannot give up first class implementation of my text editing methodology of choice, be it vim, Kakoune, etc. It's not about "is it possible to do X", it's possible to do nearly everything in Notepad.
I thought the same thing when he went to "let's regulate for privacy". How is piling laws on not building an authoritarian state (regardless of the kind)? Regulations over time tend to favor those with the money and power to influence politics, so this is not a solution.

I think the only real answer is to educate people. Educate them about the value of their personal information, what can happen if it gets into the wrong hands, and how to practice infosec self defense.
Today's media landscape is more diverse and independent than ever before. This is why I can read 16 reviews about a video game then watch 50 more.

All individual actors have agendas and flaws. Maybe a harsher review is produced on a bad day, but that doesn't inherently mean the reviewer is on the take.

Don't confuse media, the obvious medium, with journalism, the content, that is how propaganda is mislabeled and spread.

Examples 1 and 2 could be raw opinion rooted in fact that the reader disagrees with or could be propaganda. Heavily dependent on the context and source.

Examples 3 and 5 are stated in the negative and perceived as propaganda, but where does rightful reporting end and 'unneeded context' start? When the reader begins to disagree? Again heavily dependent on the context and source.

Example 4 is a paid endorsement, exactly what should be expected in a capitalist system.

Also news isn't based on an acronym for cardinal directions. https://www.snopes.com/fact-check/news-etymology/
According to downdetector.com impacted area seems to be restricted to East Coast. I'm in Boston, MA and facebook.com is down right now. Is it really down in other areas too?

EDIT: It's up right now and is functional. I think it's been down for ~20 minutes. Boston, MA here.
Apple designer Jony Ive dreams up an all-diamond ring
Don't let the lack of a degree hold you back. I'm a college dropout, and I've done just fine (better actually than most of those who graduated.) So has my brother, who also dropped out. Some of the most successful people I know don't have a degree - but they did all have to learn to hustle and do things differently. Many did not have a conventional career.

Yeah it's a disadvantage, but that doesn't mean you have zero possibilities - but you will have to try harder and be more creative in searching for a career for yourself than those with a degree.
I'm not sure why we would accept that assumption. Isn't it just as likely that one scooter rider is one less bus rider, train passenger or walker? In those cases, overall road congestion increases.
I wrote another essay on how Lisp got a lot of things right but we ended up where we are today because Unix, aka the New Jersey approach, aka worse is better approach, had won over: https://amasad.me/disintegrated
In my experience estimates are off more often than not (or I'm really bad at this).

What I do is this:

- Split the project up in phases and split each phase into work chunks

- Conservatively estimate the time each chunk will take

- Estimate and add all project overhead (project management, meetings,...)

- Add time/budget for all known unknowns (design iterations, testing, bugfixes, deployment,...)

- Multiply the sum with a factor for unexpected things (things taking longer than expected, technical issues, anything unforseen). Depending on the absolute amount of hours budgeted and on what you know about the project and client this factor could be anywhere between 1.1 (everything should be straight forward) to 2 or even more.

- Multiply the total sum with your hourly/daily rate

- "Round" up the total number, depending on the client (smaller or larger company). This could mean to change 16.789$ to 20.000$ or 6.407$ to 7.000$

This helped me getting away from a pure hourly rate to flat-rate prices, whereas the estimation error should always be heavily on your side.
Elephants, Horses, and the Proportions of Paradise
See the last paragraph of this page: https://lkesteloot.github.io/alice/alice4/
it's down in Arkansas
But does it?
The C language is finished and great as it is.

Many programmers like myself have no problem with it whatsoever.

Change in a key infrastructural component like this is only destabilizing.

The ISO C people should have the decency to disband and work on their pet language research projects in private.
Unrelated to OP, but did Google ever release a postmortem for the YouTube outage a few weeks back? Was interested to hear the cause of that one.
It's a useful interrogation technique, but only if the public believes it works.

Example in fiction: https://www.youtube.com/watch?v=DgrO_rAaiq0
Maybe read the first line or two of the article and it will enlighten you.
Cool, maybe this will kill Instagram.
Well, the forum costs $250-300+/month. Ads on the same forum used to give me $3,000/mo back in the day which bought me time to enrich the forum. Now they only cover $200/mo at best, so I'm left paying $100+/mo out of pocket. It's not just server costs, but database costs and ancillary services like S3 hosting/bandwidth, $20/mo to CloudFlare, and more. And, most of all, the amount of my own time that I expend to run it all. Not to mention the constant anxiety of "is it still online" I always have in the back of my head.

Everyone's charity has a limit. I consider shutting it down all the time but it becomes hard when I browse my own forum watching people connecting and writing. And losing money on this forum over the years is one of the sacrifices I've made which accelerated my return from the beaches of Thailand. Sometimes I look at that with regret. The forum cost more than my rent.

Using off-the-shelf software like vBulletin/Xenforo is expensive. You end up throwing money at scaling issues because it's essentially a black box.

I ended up migrating to my own software to wrestle control over costs. But it was an incredible amount of work to rebuild a popular forum from scratch. I could do it because I was in my mid-20s living off savings in Thailand. But I'm not, anymore, and I'm left throwing money at scaling issues again because it's hard to commit serious engineering work to something that isn't a profitable venture. The opportunity cost is huge.
Yes. This Wired piece is tracking the progress and success of a technique for climate activism, based on the necessity defense. And it seems that it has had some success.
Ideally it would never come back up.