skysight-inc/HackerNews huggingface dataset:
> That's not how software development works ...

... in your setup. All shops are different. To each their own. There's no private/protected scaffolding in the Linux kernel to give the most obvious example.
Meanwhile, there is that Chinese Huawei Executive who is being held hostage in Canada as a trading chip in a trade war, waiting for her extradition to the US on the invented charges of having had traded with Iran (which is completely legal in China).

If anything, I'd say it is a wonder that China has not started taking US Americans and Canadians hostage for the crime of being US American and/or Canadian.
Obey. Obey. Obey. Obey
How would you structure such a call so that this candidate would be filtered out?
Vox article:

https://www.vox.com/the-highlight/2019/5/14/18520783/harvard...
It is a bit slow, but there's some exploration of keeping a hot pool of prexecuted kernels available. At the end of the day it's still 1 user 1 kernel though, and this is important for security/isolation reasons.
same for me. I see a black screen, seems like I can submit a doodle (i have no idea what it means) and that's all, I don't see anything else.
CO and CO2 are different.

Like you mentioned, CO is bad for us because of our hemoglobin. Otherwise I could imagine life using an otherwise chemically interesting molecule like CO (it can oxide further).

CO2... not so interesting. Aside from the reaction to make CaCO (?) and acidic when dissolved in water it’s quite limited being fully oxidized.

You need the ability to make things out of your molecules. Stuff at the ground state are boring!

Plants expand energy (otherwise wasted sunlight) to convert CO2 into O2 to make an interesting molecules, namely starch with which they can do something. If they had an endless supply of starches, they wouldn’t have bothered evolving with photosynthesis - just like we don’t care for photosynthesis since we have plants.
Thanks a lot for the correction. I blame the lack of coffee...
I have to use SaaS solutions for work, and the security situation terrifies me. I have to put my corporate password, with access to all sorts of important stuff, into a sketchy 3rd-party web site. This looks mighty bad.
Yes, in the standard it isn't defined, but on most--or maybe even all?--systems and compilers it's perfectly defined, since there is no reason why a compiler would layout two different empty structs in different ways; they're both empty anyways.

Edit: Actually, from reading some of the other comments in the thread, the standard apparently specifies that empty structs are 1 byte in size, so technically they would both be the same size, so casting between them should be fine.
By your command.
Funny thing is, if we discovered some ancient tomb or burial site with these messages we'd write it off as superstition and open it up anyway. I'm not sure some future civilization would be any different.
The homepage is gorgeous! I certainly trust it to make a good website. Good luck!
https://en.wikipedia.org/wiki/XOR_swap_algorithm is always a fun trick
Not able to access it. Nginx error - 502 Bad Gateway
> You can recover about 25% of the copper in a device

This is surprising to me, because it's all on the surface of the PCBs? Where does the other 75% "go"? I'd have thought if you incinerate the thing you'll get a puddle of gold-copper mix running out the bottom, and the rest of the rare elements and aluminium as oxides in the slag.
It's the fact that something like a "disciplinary council" exists, and that it was the first tactic the CIO went with that bothers me.

There's a reason they went around the CIO. I suspect if the CIO had met with this person they could have learned and helped.
Hammer: A file system with instant crash recovery and integrity checking
Because it's _my_ site and I don't want it archived.
Lev Termen is a legend. His work and inventions (as a young engineer; under Ioffe; in prison, etc) shows a huge breadth. Such coupling of talent in physics and engineering has always been rare.
Sonnet sells a rackmount case https://www.sonnettech.com/product/xmacminiservertb3.html
There is also the (Swatch) internet time (https://en.m.wikipedia.org/wiki/Swatch_Internet_Time) that divides a day into 1000 units. I haven't used either system, but I can see a few advantages:

- the .beat (a 1/1000th of a day) is equal to 1m26.4s, so it's enough to point at various points in time, rather than have 2 numbers

- if more precision is needed, "centibeats" (1/100th of a .beat) exist, and are very close to a second so it's easier to grasp (0.864s)

- taking a 1/1000th of a unit is the standard way of going up and down in units, rather than going 1/100th twice

- I don't know if the French decimal time has ever been adopted beyond amateurs, but internet time has been (for a very short time at least)
People were trying to find a way through the artic from the 16th century, 400 years before the first Geiger–Müller tube was made.
Thanks for the recommendation. For a more modern take, the chapter on "The Power Grid" in Brian Hayes' "Infrastructure" is tremendous as well: http://industrial-landscape.com
The differences could be due to environmental influence or a number of other factors. You are reaching to establish a wider gender narrative. Children have different interests for a wide variety of reasons not the least of which is role modeling and social pressure. Anecdotal evidence is not a reliable basis for conclusion-drawing, especially when the anecdotes occur within a similar cultural context. You are trying to find ground for an assumption based on little to no information. Let people be people and stop with the armchair sociology.
China has done precisely that:

https://www.theguardian.com/world/2019/may/16/canadians-deta...
async/await is right around the corner. Meaning few months give or take until it's on stable. The 1.37 goal [1] will most likely be missed though.

[1]: https://boats.gitlab.io/blog/post/await-decision-ii/
Ask them to write fizzbuzz over the phone?
Backup Kubernetes MySQL Database to DigitalOcean Spaces
It's clear that the floating windows paradigm is outdated and we need something better. But I'm not sure that floating WMs like you see on linux today are the answer (even ignoring their terrible usability for anyone but power users).

Personally, the situations where I actually want to have windows next to each other for any significant amount of time are basically a one in a million occurance. Usually I have multiple "complex" windows open that I switch between (browser, IDE and so on). It would be nice to have them visible next to each other all the time, but there is simply not enough screen space to do so, tiling or not. The other use case that happens very often is that I have a "complex" window open and need to quickly drag&drop a file from the file explorer into that window. Again, a tiling WM is not suitable for this because it would make both windows too small to use.

Many tiling WMs also lack the concept of minimizing. It's often the case that I have multiple windows (for example file explorers with different directories) where I only need one window at a time and the others are minimized for quite a while. But I do not want to close those windows because I will still need them later.
mypy supports comment-based annotations for Python 2. https://mypy.readthedocs.io/en/latest/python2.html
My favorite way is using the xor operator:

a = a ^ b

b = a ^ b

a = a ^ b

The above syntax works well in Python, but of course Python also had the much simpler tuple unpacking:

a, b = b, a
There is a famous Soviet joke about it.

Question to Armenian Radio:

- What is American embassy built from?

- Micro-concrete.

- What's Micro-concrete?

- 10% concrete, 90% microphones
Well, actually we know that.. It's called engineering.. And no, we can't guarantee that it will work for 10k years as there is too many things that could go wrong, but we can, based on our current knowledge predict that it should last that long based on all we know about engineering and science.
You're correct, but so is OP.

You're exceeding their expectations by providing less than they expected. That's easy to do when the user expects to be accosted by a slow loading page that comes onto his screen janky because of deferred stylesheets and 4 different Google fonts and 1.6mb worth of ads.
I sure hope not. That would allow execution for first-time-offender jaywalking.
Use a crypto-quality PRNG (/dev/urandom is fine) and you should be fine, especially since the time it takes to brute-force URL parameters is very high (network latency). Just about anything is better than sequential numbers here.
There is such a thing in CSS. Display: table, table-cell, etc. It's supposed to make content render exactly as if it were cast in an Html table.
You assumed that the process is done when you click that first Submit button, but it is not. There is an e-signing step that makes it clear what you are doing and what you are signing. [0]

https://i.snag.gy/tSf20W.jpg
Did you miss the line where it was written "before we started the program, we were losing revenue. Now we increased it by 1MM$ / month"?

It seems that the whole point of the article is that while IT thinks that it is serving the customer (the business), it actually lost track of what it was needed to: helping it succeed.
Amazon Plans to Donate $8M to Two Homelessness Groups
This was over a phone/internet call (first technical screen after a non-technical recruitment call). Or are you saying our non-technical recruiter should be asking potential candidates to write a fizzbuzz?
No, not really. It works quite well for large projects too. Just look at any open source that is C-based.

The only mechanism for safe-guarding access to private parts is using privately defined structs that are passed around in a form of opaque pointers. Some project use it (PGPphone did, the original SSH did, etc.), some don't, e.g. BSD and Linux kernels.

It's really more of a matter of developers exercising some basic thought when using other people's code. And it just happens so that there's more of them outside of the C++ group than in it.
Computational Quadrinitarianism (2018)
I have written code that swaps numbers as part of a larger function.
If you do not want to be part of internet history, you should not be part of the internet present.
It goes both ways. Is the business user taking inappropriate risks to get his own work done quicker? Or is IT denying access to vendors to minimize his personal responsibility?
There was an opinion poll in 2015 with a slim majority against reintroduction: https://www.bbc.co.uk/news/uk-32061822 , original report http://www.bsa.natcen.ac.uk/media-centre/archived-press-rele...

Shortly before the EU Referendum, support for remaining commanded a similarly small majority but then lost. Those supporting Leave ran a more effective campaign, including making use of data gathered online, targeted advertising via Facebook, and mostly emotional arguments. So I would be very concerned if a referendum were to be held on capital punishment.

MPs of all parties are overwhelmingly against reintroduction and there is no chance of it passing in a free vote in the House of Commons.
Unfortunely many prove that they aren't worthy of such trust and open the company to liability issues, data loss, lawsuits and other security issues.
Yeah - this is a very good point. At a certain point, the scale of economic activity has to bump up against the finite scale of ecological dynamics upon which it is dependent. As long as negative externalities are treated as such - something "external" - markets cannot be expected to efficiently allocate resources w.r.t. human welfare.

The idea of and faith in economic adaptation as described in the parent (price/demand dynamics) is greatly dependent on the assumption of underlying ecological stability (from which sufficient timeframes for adaption and resource alternatives are provided).
It’s hard for me to take this seriously. How can you ignore things like education and health costs skyrocketing? idgaf whether a tv is less expensive.

Yes we have made significant strides, but new times bring new problems - we’re not out of the woods yet.
So either you’re in a niche or someone is phone screening before your interview. Or we live in different worlds.
I've developed an alternative to captcha for blog comment/forum spam a while ago.

There are many methods that are easily dismissed with "but not all spam is like that" and "someone could work around it easily":

• blocking of links (if you don't need them, or in fields that are not for them).

• blocking of obviously spammy keywords (or bayesian filter)

• invisible fields and syntax to trip up dumb implementations

• requiring JS, properly-functioning cookies

• blocking of IP ranges that belong to VPS providers and a couple of 3rd world telecoms that allow spam

Each of them is surprisingly effective and combined they block 99.8%.

You really shouldn't flatter yourself thinking that a spammer will even look at your page. They have literally millions of sites to spam, and they couldn't care less if they get yours or not. A bot will find a 1000 other sites to spam quicker than it takes a human to click "View Source".

Most of spam is done by amateurs who take shitty off-the-shelf spam software, seed it with a target list copied off some forum, and run it on a couple of spam-friendly or incompetent VPS hosts. By volume, this is the vast majority and it's very easy to block.
in my (american academic) usage, “resume” is exactly one page and is a custom-made document to apply for a specific industry job. “CV” is “literally everything i’ve ever done since freshman year of undergrad”, and may run to 40 or more pages for senior researchers. A "biosketch" is a CV that is tabular and formatted according to semi-arcane rules laid out by funding agencies, normally the NIH.

I think of a resume as a targeted redaction of my CV.
I was using Postgres.
I’ve recently learned via a few interviews at tech companies that interviewing for tech companies is a completely different skill to working at one. I’m sticking to contracting for now I guess.
Maybe this is where Groot came from.
Yeah but there isn't any client that supports it. Or more importantly, easy-to-use libraries that allow me to use it in my projects.
1) Design the reports you want. Pay special attention to interactive elements like filters and drilldowns. List all dimensions and metrics you need. Think about privacy.

2) Find your visualisation tool of choice. This is more important than any architecture choice for the tracking because this makes your data useable. [1]

3) Select your main data storage that is compatible with your visualisation tool, data size, budget, servers, security, ... SQL is always better because it has a schema the vis tools can work with. For a low amount of data you might just want to use your existing database (if you have one) and not build up new infrastructure that has to be maintained.

4) If you need higher availability on the data ingress than your db can provide use a high availability streaming ingress [2] to buffer the data.

5) Design a schema to connect your db to the visualisation tool. Also think about how you will evolve this schema in the future. (Simplest thing in sql is: Add colunms.)

I hope this helps. If you have selected some tools it is fairly easy to search for blog posts and tech talks. But don't think to big (data). "A few thousands users" and "two dozen parameters" may be handled with postgres and metabase. Also in most enterprise enviroments there already exists a data analytics / data science stack that is covered by SLAs and accepted by privacy officers. Ask around.

[1] https://github.com/onurakpolat/awesome-bigdata#business-inte...
[2] https://github.com/onurakpolat/awesome-bigdata#data-ingestio...
Seems it would be possible to have it spin on its axis so that it reflects the light from the sun towards Earth in some kind of pulsing flashing manner. That would attract attention. No need for electronics. Of course encoding a message in the flash would be almost impossible, but it could serve as a beacon for a future civilisation to attempt to go up there and retrieve it.
Show HN: Slack Notifications for BitBucket and Gitlab
It's not a virtual environment wrapper... It's closer to an environment for coding in the browser.
Opera 11 could act as a server back in 2008 but nobody use it then so :/
There are people who don't run Javascript.
just use Erlang/BEAM[0]. I love Go but it's a poor[1] tool for building truly resilient distributed systems. the workaround suggested by F Campoy seems to be to wrap K8 around go to make it more like BEAM (see second video below ...)

[0] Erik Stenman - BEAM: What Makes Erlang BEAM - Code Mesh 2017 https://www.youtube.com/watch?v=FonRzASOkZE

[1] GOTO 2018 • The Robustness of Go • Francesc Campoy https://www.youtube.com/watch?v=ScE9TnoWltA&t=1437s
For comparison, I set myself up with a LaTeX CV about 20 years ago and have used it ever since. For those occasions that required Word I pasted it from the PDF. I also have a small Makefile to "build" it.

https://flatline.org.uk/cv.tex.txt

The trouble with this is resisting the temptation to make it look ""just right"" and instead go with minimally-altered defaults.
It sounds like the author recommends embracing the Agile philosophy of letting your teams choose their tools, then working with IT/Sec to make sure implementation is sound. I like that philosophy.
I don't think thats how most people mount a bicycle. You can easily get on it without touching the brakes. After all while you are still touching the ground you are breaking it.
Cars are ticketed or towed when not left in specifically designated areas.

Nobody is "littering" the streets with cars. You just don't agree with the specifics of how the government has allocated the physical space resources under its control so you see it that way.
It's the last place you'd expect, but the (Canadian) military actually has this in a certain measure. Unit commanders are only appointed for a limited term (usually 3 years), after which they're expected to move on to another unit.

In the Canadian Cadets program, we dont have that expectation, so corps commanders usually stay in the same corps and either mentor the new commander or take on a specific role if there's a need.

There's one "old" captain at my corps who has been mentoring many generations of officiers; I wasn't even born during his first term as commander.

That does mean that there isn't much room to grow past that, though. Luckily, teenagers (and activities offered to teenagers) change a lot through the years, so that forces us to always be innovating.
For all the vaunted talk about how the CCP plans in terms of centuries and how they are so much more far sighted than western politicians, the continual abuse of Hong Kong's special status seems extremely short sighted, because it is going to make peaceful re-unification of Taiwan completely impossible.
Making sure externalities are priced in is economic thinking.

Economic thinking: disposable consumer devices should have the cost of recycling and safe disposal priced in.

Ecological thinking: we shouldn't allow disposable consumer devices.
Show HN: Help me propose to my girlfriend
There's no such thing as a black and white case.

For a simple counter example, you can look up the Outreau case : 12 people were accused of raping and videotaping children, with multiple testimonies. And 5 years later, the majority of them were found to be actually innocent.

If death penalty was a thing in France, they would have got it for sure, as it was a very emotionnal case at the time.

You can also check the movie 12 Angry Men, which is a work of fiction obviously, but still very relevant on why counting on 'black and white cases with extreme evidence' is simply wishful thinking, and will lead to innocent people being killed
Yes, for code in languages that don't have it as a built-in library function. I've also written functions to swap strings, and implementations of various standard library functions.

Also: have you, as part of your day job, ever written code to solve a specific word puzzle? (Based on an actual interview question I've answered.) An interview question is supposed to be representative; that doesn't mean every interview question must come directly from a specific problem encountered in production code. You ask questions to prompt people and see how they think and how they communicate.
The assertion was that Apple does not have any computers for professionals that need a powerful machine, but not as powerful as a Mac Pro. This is obviously assuming they need or prefer macOS over Windows or Linux for whatever reason, otherwise they might as well just buy a regular PC.

The 'pile of cabled hardware' argument seems a little far-fetched by the way, since when do 'pro users' make a big deal out of having one or two external devices on their desk somewhere? Never heard anyone complain about that in real life.

I have this setup with a Mac Mini, the eGPU just sits behind the screen where I don't see it, and it's attached with a single TB cable + power that goes straight down into a socket. A nice benefit of this solution is that I can also use the GPU with my laptop if I would need to, by just plugging it in.

For external storage, if it doesn't get moved around you can e.g. attach it to the back of the screen, the screen I use has 4 USB-C ports at the back so I don't see why this would be worse than having the drive in a box under your desk. Or you could use a NAS with 10Gb ethernet. Plenty of options. There will always be someone who can't live with the fact that there isn't a box that has all the hardware under the desk, but that's hardly saying you cannot buy a decently powerful Mac at a small fraction of the cost of a Mac Pro.
I see this a lot in consulting. When a new CIO (or CEO or other C level) arrives, they want to make their mark with a digital transformation intiative. This usually just means that the new C level employee is coming into a medium to large business and would like to add a bullet point to their resume and get that new shiny object everyone is talking about. Tableau, Salesforce, Data lakes, blockchain, ERP, Identity Management and "cloud" projects are often the result. It seems to also stem from the new C level employee having a close relationship with a sales rep/partner/C level employee at the vendor. Left a project a couple years ago that had Hadoop interfaces from every system. The user count of all this data? exactly 0.

One somewhat disturbing trend I've seen at some of the largest corporations- cut/outsource IT support staff to near egregiously low levels to "save money". At the same time kick off 7-9 figure ERP/consulting projects that at best provide fractional value to the organization.

Of course there are counterpoints to this. One of Houston's major pipeline operators pulled off a digital transformation and actually ended up with well designed, highly integrated and easily maintained systems. It took about 5-7 years and had a few reboots, but it eventually landed. That brings me to my final point. These projects often have a timeline that is divorced from reality. Whatever time frame you think a major IT project will take. Double it. twice, then add 50% and you are close. It also seems that C level folks are hesitant to hire boutique/small shops that have industry experience and years of experience in favor of big consulting. Nobody every gets fired for hiring Accenture/Deloitte/PwC. What usually happens in the non trivial niches is that these big shops sleeve the boutiques through them to get things done...